.reviews-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 128px 0 56px;
}

body.has-header-account .reviews-shell {
  padding-top: 146px;
}

.reviews-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.reviews-hero > * {
  min-width: 0;
}

.reviews-hero h1 {
  margin: 4px 0 14px;
  color: var(--cream);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(56px, 12vw, 132px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0;
}

.reviews-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #d9d6ca;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
}

.reviews-hero-ledger {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 240px;
  border: 1px solid rgba(242, 215, 160, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(242, 106, 33, 0.14), rgba(17, 16, 14, 0.92) 46%),
    repeating-linear-gradient(90deg, rgba(255, 244, 220, 0.045) 0 1px, transparent 1px 18px);
  padding: 22px;
  box-shadow: var(--shadow);
}

.reviews-hero-ledger span,
.reviews-hero-ledger small {
  color: #bdb7ab;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reviews-hero-ledger strong {
  color: var(--cream);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.9;
}

.review-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(170px, 220px));
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 16, 14, 0.78);
}

.review-tools label,
.reviews-shell .page-size-control {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-tools input,
.review-tools select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 244, 220, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 7, 6, 0.8);
  color: var(--cream);
  padding: 11px 12px;
  outline: none;
}

.review-tools select {
  appearance: none;
  color-scheme: dark;
  background-color: rgba(7, 7, 6, 0.8);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--flame) 50%),
    linear-gradient(135deg, var(--flame) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 50%,
    calc(100% - 13px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 42px;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.reviews-layout--right {
  grid-template-columns: minmax(0, 1fr) 270px;
}

.reviews-layout--right .reviews-sidebar-column {
  order: 2;
}

.reviews-layout--right .reviews-main-column {
  order: 1;
}

.reviews-layout--disabled {
  grid-template-columns: 1fr;
}

.reviews-layout--disabled .reviews-sidebar-column {
  display: none;
}

.reviews-sidebar-column {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.reviews-sidebar,
.review-note-block {
  border: 1px solid rgba(255, 244, 220, 0.14);
  border-radius: 8px;
  background: rgba(17, 16, 14, 0.78);
  padding: 16px;
}

.reviews-sidebar h2 {
  margin: 0 0 12px;
  color: var(--cream);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.review-type-filter {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #e7dfd0;
  padding: 11px 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.review-type-filter:hover,
.review-type-filter.is-active {
  border-color: rgba(242, 106, 33, 0.44);
  background: rgba(242, 106, 33, 0.12);
  color: var(--cream);
}

.review-note-block strong {
  display: block;
  color: var(--garlic);
  margin-bottom: 8px;
}

.review-note-block p {
  margin: 0;
  color: #c8c1b3;
  line-height: 1.65;
}

.reviews-main-column {
  min-width: 0;
}

.review-count {
  min-height: 26px;
  color: #a9a196;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.reviews-layout--disabled .review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-empty-state {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(45, 38, 30, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(249, 245, 235, 0.96), rgba(231, 240, 232, 0.92)),
    url("../review-default.png") center/cover;
  background-blend-mode: screen;
  color: #1e211b;
}

.review-empty-state span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(30, 33, 27, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-empty-state h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 0.98;
}

.review-empty-state p {
  max-width: 560px;
  margin: 0;
  color: rgba(30, 33, 27, 0.72);
}

.review-grid.is-refreshing .review-card {
  animation: recipePageIn 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.review-grid.is-refreshing .review-card:nth-child(2n) {
  animation-delay: 45ms;
}

.review-grid.is-refreshing .review-card:nth-child(3n) {
  animation-delay: 90ms;
}

.review-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(255, 244, 220, 0.14);
  border-radius: 8px;
  background: #11100e;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.review-open {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.review-card:hover,
.review-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(242, 106, 33, 0.55);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(242, 106, 33, 0.08);
}

.review-card-media {
  position: relative;
  min-height: 238px;
  background: #24211b center / cover no-repeat;
}

.review-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.review-card-topline,
.review-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.review-card-topline > span:first-child {
  display: inline-flex;
}

.review-meta-badge {
  --badge-accent: var(--garlic);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 244, 220, 0.14);
  border-radius: 999px;
  background: rgba(255, 244, 220, 0.055);
  color: #cfc8ba;
  padding: 6px 8px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.review-meta-badge svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.review-meta-badge--type-place {
  --badge-accent: #7ca4d7;
  border-color: rgba(124, 164, 215, 0.3);
  background: rgba(124, 164, 215, 0.09);
  color: #c6ddfb;
}

.review-meta-badge--type-product {
  --badge-accent: #9ac267;
  border-color: rgba(154, 194, 103, 0.32);
  background: rgba(154, 194, 103, 0.12);
  color: #d9ebb5;
}

.review-meta-badge--type-food {
  --badge-accent: #d79af2;
  border-color: rgba(215, 154, 242, 0.3);
  background: rgba(215, 154, 242, 0.11);
  color: #efd0fb;
}

.review-meta-badge--category {
  border-color: rgba(242, 215, 160, 0.26);
  background: rgba(242, 215, 160, 0.08);
  color: var(--garlic);
}

.review-meta-badge--location {
  border-color: rgba(124, 164, 215, 0.28);
  background: rgba(124, 164, 215, 0.1);
  color: #c6ddfb;
}

.review-meta-badge--price-cheap {
  border-color: rgba(112, 194, 126, 0.34);
  background: rgba(112, 194, 126, 0.12);
  color: #cbefcf;
}

.review-meta-badge--price-medium {
  border-color: rgba(242, 215, 160, 0.34);
  background: rgba(242, 215, 160, 0.1);
  color: var(--garlic);
}

.review-meta-badge--price-high {
  border-color: rgba(242, 153, 86, 0.36);
  background: rgba(242, 153, 86, 0.13);
  color: #ffc08e;
}

.review-meta-badge--price-premium {
  border-color: rgba(255, 110, 110, 0.36);
  background: rgba(255, 110, 110, 0.13);
  color: #ffb5b5;
}

.review-card-topline > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--garlic);
  font-size: 0.8rem;
  font-weight: 900;
}

.review-card-body strong[data-review-card-title] {
  color: var(--cream);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.review-summary {
  color: #cec8ba;
  line-height: 1.62;
}

.review-verdict-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 6px;
  padding: 8px 10px;
  color: #120d08;
  background: #f0bd68;
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.review-verdict-chip--great {
  background: linear-gradient(135deg, #ffd36b, #f26a21);
}

.review-verdict-chip--solid {
  background: linear-gradient(135deg, #d7c66a, #6f7b3c);
  color: #151208;
}

.review-verdict-chip--average {
  background: linear-gradient(135deg, #e8b56a, #9b7440);
  color: #17100a;
}

.review-verdict-chip--disappointing {
  background: linear-gradient(135deg, #d16b48, #8d3d2b);
  color: #fff4dc;
}

.review-verdict-chip--avoid {
  background: linear-gradient(135deg, #bd453c, #511914);
  color: #fff4dc;
}

.review-verdict-chip--exceptional {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background:
    linear-gradient(135deg, #fff9e8 0%, #d9dce2 34%, #f7d38b 66%, #f8fbff 100%);
  color: #11100e;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(242, 215, 160, 0.28);
}

.review-verdict-chip--bad {
  background: linear-gradient(135deg, #bd453c, #511914);
  color: #fff4dc;
}

.review-verdict-chip--warn {
  background: linear-gradient(135deg, #d16b48, #8d3d2b);
  color: #fff4dc;
}

.review-verdict-chip--good {
  background: linear-gradient(135deg, #d7c66a, #6f7b3c);
  color: #151208;
}

.review-verdict-chip--dynamic {
  border: 1px solid var(--review-tone-border, rgba(255, 244, 220, 0.18));
  background: linear-gradient(135deg, var(--review-tone-end, #f0bd68), var(--review-tone-start, #f26a21));
  color: var(--review-tone-text, #120d08);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 18px var(--review-tone-glow, rgba(242, 106, 33, 0.22));
}

.review-featured-badge {
  width: max-content;
  border: 1px solid rgba(242, 106, 33, 0.42);
  border-radius: 999px;
  background: rgba(242, 106, 33, 0.12);
  color: var(--garlic);
  padding: 5px 9px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-feature-button,
.review-edit-button,
.review-delete-button {
  z-index: 2;
}

.review-detail-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 142px 0 64px;
}

body.has-header-account .review-detail-page {
  padding-top: 158px;
}

.review-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.review-detail-image {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 62vw, 620px);
  border: 1px solid rgba(255, 244, 220, 0.16);
  border-radius: 8px;
  background: #15130f;
}

.review-detail-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.review-card-media .review-verdict-chip {
  top: auto;
  right: 12px;
  bottom: 12px;
}

.review-detail-image .review-verdict-chip {
  top: 14px;
  right: 14px;
  bottom: auto;
}

.review-detail-intro {
  display: grid;
  align-content: center;
  gap: 18px;
  border: 1px solid rgba(255, 244, 220, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(242, 106, 33, 0.08), transparent 40%),
    rgba(17, 16, 14, 0.62);
  padding: clamp(18px, 3vw, 32px);
}

.review-detail-intro h1 {
  margin: 0;
  color: var(--cream);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.92;
  text-transform: uppercase;
}

.review-detail-intro p:not(.eyebrow) {
  margin: 0;
  color: #ddd6c8;
  line-height: 1.75;
  white-space: pre-line;
}

.review-detail-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.review-detail-rating {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(242, 215, 160, 0.3);
  border-radius: 8px;
  background: rgba(242, 215, 160, 0.08);
  padding: 12px 14px;
  color: var(--garlic);
  font-size: 1.05rem;
  font-weight: 900;
}

.review-detail-summary {
  color: #eee2d0;
  font-size: 1.03rem;
  font-weight: 750;
}

.review-detail-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 244, 220, 0.12);
  padding-top: 16px;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 220, 0.035), transparent) top / 100% 1px no-repeat;
}

.review-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.review-info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 244, 220, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 244, 220, 0.07), transparent 58%),
    rgba(255, 244, 220, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 244, 220, 0.08);
  padding: 13px 14px 12px;
}

.review-info-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(242, 215, 160, 0.42);
}

.review-info-card--subject::before {
  background: #f26a21;
}

.review-info-card--category::before {
  background: #f2d7a0;
}

.review-info-card--location::before {
  background: #7ca4d7;
}

.review-info-card--cuisine::before {
  background: #d79af2;
}

.review-info-card--date::before {
  background: #9e9a90;
}

.review-info-card--price-cheap {
  border-color: rgba(112, 194, 126, 0.28);
  background:
    linear-gradient(135deg, rgba(112, 194, 126, 0.13), transparent 58%),
    rgba(112, 194, 126, 0.045);
}

.review-info-card--price-medium {
  border-color: rgba(242, 215, 160, 0.28);
  background:
    linear-gradient(135deg, rgba(242, 215, 160, 0.12), transparent 58%),
    rgba(242, 215, 160, 0.045);
}

.review-info-card--price-high {
  border-color: rgba(242, 153, 86, 0.32);
  background:
    linear-gradient(135deg, rgba(242, 153, 86, 0.14), transparent 58%),
    rgba(242, 153, 86, 0.045);
}

.review-info-card--price-premium {
  border-color: rgba(255, 110, 110, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 110, 110, 0.14), transparent 58%),
    rgba(255, 110, 110, 0.045);
}

.review-info-card--price-cheap::before {
  background: #70c27e;
}

.review-info-card--price-medium::before {
  background: #f2d7a0;
}

.review-info-card--price-high::before {
  background: #f29956;
}

.review-info-card--price-premium::before {
  background: #ff6e6e;
}

.review-info-grid small {
  display: block;
  margin-bottom: 5px;
  color: #9e9a90;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-info-grid strong {
  color: var(--cream);
  line-height: 1.25;
}

.review-action-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  border: 1px solid rgba(255, 244, 220, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(242, 106, 33, 0.13), rgba(255, 244, 220, 0.035)),
    rgba(17, 16, 14, 0.72);
  padding: 16px;
}

.ad-slot-review-detail {
  margin: 28px 0 24px;
}

.ad-slot-review-detail .site-ad-card {
  min-height: 128px;
  border-radius: 18px;
}

.review-action-panel h2 {
  margin: 0;
  color: var(--cream);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.review-action-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.review-action-button {
  display: grid;
  gap: 4px;
  min-height: 62px;
  align-content: center;
  border: 1px solid rgba(255, 244, 220, 0.14);
  border-radius: 8px;
  background: rgba(7, 7, 6, 0.34);
  color: var(--cream);
  padding: 12px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.review-action-button span {
  color: #a9a196;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-action-button strong {
  color: var(--garlic);
}

.review-action-button:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 106, 33, 0.42);
  background: rgba(242, 106, 33, 0.12);
}

.review-detail-body {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
  align-items: start;
  padding-top: 28px;
}

.review-detail-body--solo {
  grid-template-columns: 1fr;
}

.review-items-section {
  min-width: 0;
}

.review-route-card,
.review-story-card {
  border: 1px solid rgba(255, 244, 220, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(242, 106, 33, 0.08), rgba(255, 244, 220, 0.026)),
    rgba(17, 16, 14, 0.68);
  padding: clamp(18px, 3vw, 28px);
}

.review-notes-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.review-notes-sidebar .review-route-card,
.review-notes-sidebar .review-story-card {
  padding: 18px;
}

.review-story-card p:last-child,
.review-route-card p:last-child {
  max-width: none;
  margin: 0;
  color: #d8d0c3;
  line-height: 1.75;
}

.review-section-head {
  margin-bottom: 16px;
}

.review-section-head h2 {
  margin: 4px 0 0;
  color: var(--cream);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
}

.review-item-card {
  display: grid;
  grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(255, 244, 220, 0.14);
  border-radius: 8px;
  background: rgba(17, 16, 14, 0.74);
  padding: 14px;
  margin-bottom: 14px;
}

.review-item-card > div:last-child {
  display: grid;
  align-content: center;
  gap: 8px;
}

.review-item-card span {
  color: var(--flame);
  font-size: 0.72rem;
  font-weight: 1000;
}

.review-item-card h3 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.review-item-card p {
  margin: 0;
  color: #d2ccbe;
  line-height: 1.7;
}

.review-plate-gallery {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 6px;
  background: #24211b;
}

.review-plate-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 680ms ease, transform 900ms ease;
  transform: scale(1.03);
}

.review-plate-gallery img.is-active {
  opacity: 1;
  transform: scale(1);
}

.review-plate-gallery:not(.has-slider) img {
  opacity: 1;
  transform: none;
}

.review-admin-modal .settings-card {
  margin: 0 0 14px;
}

.review-kind-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.review-context-fields {
  display: grid;
  gap: 14px;
}

.review-item-row {
  align-items: stretch;
}

.review-item-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-item-image-preview span {
  position: relative;
  overflow: hidden;
  width: 82px;
  height: 72px;
  border: 1px solid rgba(255, 244, 220, 0.16);
  border-radius: 6px;
  background: #15130f;
}

.review-item-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-item-image-preview button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 7, 6, 0.78);
  color: var(--cream);
  cursor: pointer;
}

.page-visibility-list {
  display: grid;
  gap: 12px;
}

.page-visibility-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 244, 220, 0.14);
  border-radius: 8px;
  background: rgba(255, 244, 220, 0.04);
  padding: 14px;
}

.page-visibility-row strong {
  display: block;
  color: var(--cream);
}

.page-visibility-row small {
  display: block;
  color: #aaa397;
  line-height: 1.45;
}

.page-visibility-roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.page-visibility-roles label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 244, 220, 0.13);
  border-radius: 6px;
  padding: 10px;
  color: #ddd6c8;
  font-size: 0.78rem;
  font-weight: 900;
}

.page-visibility-roles input:disabled + span {
  color: var(--garlic);
}

.reviews-shell {
  background: transparent;
}

.reviews-hero {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  align-items: center;
}

.reviews-hero-ledger {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 172px;
  align-content: center;
  justify-items: start;
  border-color: rgba(242, 106, 33, 0.32);
  background:
    linear-gradient(145deg, rgba(32, 20, 12, 0.92), rgba(17, 16, 14, 0.88)),
    repeating-linear-gradient(0deg, rgba(255, 244, 220, 0.055) 0 1px, transparent 1px 22px);
  padding: 18px 18px 18px 24px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    inset 4px 0 0 rgba(242, 106, 33, 0.68);
}

.reviews-hero-ledger::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(242, 215, 160, 0.14);
  border-radius: 6px;
  pointer-events: none;
}

.reviews-hero-ledger strong {
  font-size: clamp(3rem, 7vw, 5.6rem);
  color: var(--garlic);
}

.review-tools {
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 16, 14, 0.78);
  padding: 12px;
}

.review-tools .search-box input,
.review-tools input,
.review-tools select {
  min-height: 44px;
  border-color: rgba(255, 244, 220, 0.14);
  background-color: rgba(7, 7, 6, 0.8);
  color: var(--cream);
}

.review-tools label > span {
  color: var(--steel);
}

.review-tools input:focus,
.review-tools select:focus {
  border-color: rgba(242, 106, 33, 0.75);
  box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.18);
}

.review-tools select option {
  background: #11100e;
  color: var(--cream);
}

.review-tools select option:checked {
  background: linear-gradient(90deg, rgba(242, 106, 33, 0.35), rgba(17, 16, 14, 0.95));
  color: var(--garlic);
  font-weight: 800;
}

.reviews-sidebar,
.review-note-block {
  border-color: var(--line);
  border-radius: var(--radius);
  background: rgba(17, 16, 14, 0.78);
}

.reviews-sidebar h2 {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 244, 220, 0.11);
  color: var(--garlic);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.reviews-sidebar h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, var(--flame), transparent);
}

.review-type-filter {
  min-height: 44px;
  margin-bottom: 7px;
  padding: 9px 12px;
  color: var(--ash);
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.review-type-filter:hover {
  transform: translateX(3px);
}

.review-note-block {
  margin-top: 12px;
  border-color: rgba(242, 106, 33, 0.18);
  background:
    linear-gradient(135deg, rgba(242, 106, 33, 0.12), rgba(111, 123, 60, 0.06)),
    rgba(7, 7, 6, 0.36);
}

.review-grid.is-empty .admin-review-card {
  grid-column: 1 / -1;
}

.admin-review-card {
  grid-column: 1 / -1;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.review-star {
  position: relative;
  display: inline-block;
  color: rgba(255, 244, 220, 0.22);
  font-size: 1rem;
  line-height: 1;
}

.review-star::before {
  content: "\2605";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 0%);
  overflow: hidden;
  color: var(--garlic);
}

.review-rating-field {
  gap: 8px;
}

.review-rating-field > span {
  color: #bdb7ab;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-rating-entry {
  display: grid;
  grid-template-columns: minmax(84px, 0.28fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.review-rating-entry input[type="number"] {
  min-height: 48px;
  text-align: center;
  font-weight: 1000;
}

.review-rating-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 244, 220, 0.12);
  border-radius: 10px;
  background: rgba(7, 7, 6, 0.34);
  padding: 10px 12px;
}

.review-rating-stars {
  display: inline-flex;
  gap: 5px;
  cursor: pointer;
  touch-action: none;
}

.review-rating-stars span {
  position: relative;
  display: inline-block;
  width: 24px;
  color: rgba(255, 244, 220, 0.18);
  font-size: 1.45rem;
  line-height: 1;
}

.review-rating-stars span::after {
  content: "\2605";
}

.review-rating-stars span::before {
  content: "\2605";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 0%);
  overflow: hidden;
  color: var(--garlic);
}

.review-rating-picker output {
  min-width: 42px;
  border-radius: 999px;
  background: rgba(242, 106, 33, 0.13);
  color: var(--garlic);
  font-weight: 1000;
  text-align: center;
  padding: 6px 8px;
}

.price-range-field {
  gap: 8px;
}

.price-range-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.review-items-fieldset {
  border-color: rgba(242, 106, 33, 0.18);
  background:
    linear-gradient(135deg, rgba(242, 106, 33, 0.08), transparent 46%),
    rgba(17, 16, 14, 0.82);
}

.review-item-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(240px, 1.2fr);
  gap: 10px;
  border: 1px solid rgba(255, 244, 220, 0.12);
  border-radius: 10px;
  background: rgba(7, 7, 6, 0.3);
  padding: 12px;
}

.review-item-row .image-upload-field,
.review-item-row .review-item-image-preview,
.review-item-row .row-actions {
  grid-column: 1 / -1;
}

.review-item-row .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-item-row .remove-row,
.review-taxonomy-row .remove-row {
  min-height: 34px;
  border-radius: 999px;
}

.review-item-row .topic-move {
  width: 32px;
  height: 34px;
  border-radius: 7px;
  background: rgba(242, 106, 33, 0.1);
  font-size: inherit;
}

.review-item-row .topic-move::before {
  content: none;
}

.review-taxonomy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.review-taxonomy-panel {
  min-width: 0;
  border: 1px solid rgba(255, 244, 220, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(242, 106, 33, 0.075), rgba(255, 244, 220, 0.025)),
    rgba(7, 7, 6, 0.26);
  padding: 16px;
}

.review-taxonomy-panel .taxonomy-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.review-taxonomy-panel .taxonomy-header strong {
  color: var(--garlic);
}

.review-taxonomy-row {
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.review-taxonomy-row .topic-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-star-label-list {
  gap: 10px;
  margin-top: 14px;
}

.review-star-label-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.85fr) minmax(82px, 0.22fr) minmax(82px, 0.22fr) minmax(270px, 1.15fr) auto;
  gap: 10px;
  align-items: stretch;
  border: 1px solid rgba(255, 244, 220, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(242, 106, 33, 0.06), rgba(255, 244, 220, 0.025)),
    rgba(7, 7, 6, 0.28);
  padding: 10px;
}

.review-star-label-row label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.review-star-label-row label > span {
  color: var(--steel);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.review-star-label-row input,
.review-star-label-row select {
  width: 100%;
  min-width: 0;
}

.review-star-label-row .custom-select,
.review-star-label-row .review-tone-picker {
  min-width: 0;
}

.review-star-label-actions {
  align-self: end;
}

.review-star-label-row .remove-row {
  min-height: 42px;
  border-radius: 999px;
}

.review-tone-picker {
  display: grid;
  gap: 8px;
  border: 1px solid var(--review-tone-border, rgba(255, 244, 220, 0.14));
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(242, 106, 33, 0.09), transparent),
    rgba(7, 7, 6, 0.34);
  padding: 9px;
}

.review-tone-picker-head,
.review-tone-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-tone-picker-head {
  justify-content: space-between;
}

.review-tone-picker-head span {
  color: var(--steel);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.review-tone-picker-head strong {
  color: var(--cream);
  font-size: 0.74rem;
  font-weight: 950;
  text-align: right;
  text-transform: uppercase;
}

.review-tone-preview {
  width: max-content;
  max-width: 100%;
  border: 1px solid var(--review-tone-border, rgba(255, 244, 220, 0.18));
  border-radius: 999px;
  background: linear-gradient(135deg, var(--review-tone-end, #f0bd68), var(--review-tone-start, #f26a21));
  color: var(--review-tone-text, #120d08);
  box-shadow: 0 0 18px var(--review-tone-glow, rgba(242, 106, 33, 0.2));
  font-size: 0.68rem;
  font-weight: 1000;
  line-height: 1;
  padding: 7px 9px;
  text-transform: uppercase;
}

.review-tone-controls input[type="range"] {
  flex: 1 1 auto;
  min-width: 120px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  appearance: none;
  background: linear-gradient(90deg, #511914 0%, #bd453c 15%, #d16b48 30%, #e8b56a 45%, #d7c66a 62%, #ffd36b 80%, #f8fbff 100%);
  cursor: pointer;
  padding: 0;
}

.review-tone-controls input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 244, 220, 0.9);
  border-radius: 999px;
  appearance: none;
  background: linear-gradient(135deg, var(--review-tone-end, #f0bd68), var(--review-tone-start, #f26a21));
  box-shadow: 0 0 0 4px rgba(7, 7, 6, 0.82), 0 0 18px var(--review-tone-glow, rgba(242, 106, 33, 0.25));
}

.review-tone-controls input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 244, 220, 0.9);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--review-tone-end, #f0bd68), var(--review-tone-start, #f26a21));
  box-shadow: 0 0 0 4px rgba(7, 7, 6, 0.82), 0 0 18px var(--review-tone-glow, rgba(242, 106, 33, 0.25));
}

.review-tone-controls input[type="number"] {
  flex: 0 0 72px;
}

.management-recipes-panel,
.management-reviews-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.management-reviews-panel .management-recipe-tools {
  grid-template-columns: minmax(220px, 1fr) minmax(145px, 0.42fr) minmax(170px, 0.48fr) auto;
}

.management-review-table .management-recipe-row {
  grid-template-columns:
    42px
    minmax(300px, 1.4fr)
    minmax(112px, 0.38fr)
    minmax(220px, 0.78fr)
    minmax(150px, 0.48fr)
    minmax(360px, auto);
}

.page-visibility-row {
  background:
    linear-gradient(135deg, rgba(242, 106, 33, 0.06), transparent 48%),
    rgba(7, 7, 6, 0.26);
}

.page-visibility-role {
  position: relative;
  min-height: 42px;
  background: rgba(7, 7, 6, 0.34);
}

.page-visibility-role input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-card.is-deleting,
.management-review-table .management-recipe-row.is-deleting {
  pointer-events: none;
  animation: reviewCardDelete 330ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes reviewCardDelete {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    filter: blur(2px);
  }
}

.page-visibility-role span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-visibility-role span::before {
  content: "";
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border: 1px solid rgba(255, 244, 220, 0.28);
  border-radius: 5px;
  background: rgba(255, 244, 220, 0.06);
  color: #160904;
  line-height: 1;
}

.page-visibility-role input[type="checkbox"]:checked + span::before {
  content: "\2713";
  border-color: var(--flame);
  background: var(--flame);
  font-size: 0.84rem;
  font-weight: 1000;
}

.page-visibility-role:has(input[type="checkbox"]:checked) {
  border-color: rgba(242, 106, 33, 0.32);
  background: rgba(242, 106, 33, 0.1);
}

.page-visibility-role input[type="checkbox"]:disabled + span::before {
  border-color: rgba(242, 215, 160, 0.46);
  background: rgba(242, 215, 160, 0.42);
}

@media (max-width: 900px) {
  .reviews-shell,
  .review-detail-page {
    width: min(100% - 22px, 760px);
    max-width: 760px;
    padding-top: 106px;
    overflow-x: hidden;
  }

  body.has-header-account .reviews-shell,
  body.has-header-account .review-detail-page {
    padding-top: 126px;
  }

  .reviews-hero p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .reviews-hero,
  .reviews-layout,
  .review-detail-hero,
  .review-detail-body,
  .review-item-card,
  .review-action-panel,
  .review-item-row,
  .page-visibility-row {
    grid-template-columns: 1fr;
  }

  .reviews-layout--right .reviews-sidebar-column,
  .reviews-layout--right .reviews-main-column {
    order: initial;
  }

  .reviews-sidebar-column {
    position: static;
  }

  .reviews-hero-ledger {
    display: none;
  }

  .review-notes-sidebar {
    position: static;
  }

  .reviews-sidebar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .reviews-sidebar h2 {
    grid-column: 1 / -1;
  }

  .review-tools,
  .review-taxonomy-grid,
  .review-kind-grid,
  .page-visibility-roles {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-taxonomy-row,
  .review-star-label-row {
    grid-template-columns: 1fr;
  }

  .reviews-layout--disabled .review-grid,
  .review-action-row,
  .review-rating-entry {
    grid-template-columns: 1fr;
  }

  .review-info-grid {
    grid-template-columns: 1fr;
  }

  .management-reviews-panel .management-recipe-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .management-review-table .management-recipe-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .reviews-shell,
  .review-detail-page {
    width: min(100% - 22px, 760px);
  }

  .reviews-sidebar {
    grid-template-columns: 1fr;
  }

  .review-card-media {
    min-height: 210px;
  }

  .review-detail-image {
    min-height: 300px;
  }

  .review-detail-rating {
    width: 100%;
    justify-content: center;
  }
}
