/* =========================
   Hidden Cask – ui-results.css
========================= */

/* ==== Ice vs Neat insight ==== */
.serve-style-wrap {
  margin: 22px 0 18px;
  padding: 14px;
  background: #fffaf0;
  border: 1px solid #ead8bd;
  border-radius: 12px;
}

.serve-style-head {
  margin-bottom: 10px;
}

.serve-style-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2b1a0c;
}

.serve-style-note {
  margin-top: 3px;
  font-size: 0.9rem;
  opacity: 0.75;
}

.serve-style-summary {
  margin: 10px 0 12px;
  padding: 10px 12px;
  background: #f3eee7;
  border-radius: 10px;
  font-weight: 600;
  color: #2b1a0c;
  line-height: 1.4;
}

.serve-style-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.serve-style-table th:last-child,
.serve-style-table td:last-child {
  min-width: 115px;
  white-space: nowrap;
}

.serve-style-table th,
.serve-style-table td {
  padding: 8px;
  border-bottom: 1px solid #ead8bd;
  text-align: center;
}

.serve-style-table th {
  background: #f3eee7;
  color: #2b1a0c;
}

.serve-style-table td:first-child,
.serve-style-table th:first-child {
  text-align: left;
}

.serve-style-table small {
  font-size: 0.72rem;
  opacity: 0.7;
}

.serve-style-table .serve-win {
  font-weight: 500;
  color: #8b4513;
}

/* ==== Duplicate bottle / blind consistency insight ==== */
.duplicate-results-wrap {
  margin: 22px 0 18px;
  padding: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
}

.duplicate-results-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #7c2d12;
  margin-bottom: 4px;
}

.duplicate-results-note {
  font-size: 0.9rem;
  opacity: 0.78;
  margin-bottom: 12px;
}

.duplicate-result-card {
  background: #fff;
  border: 1px solid #f3d4b5;
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
}

.duplicate-result-head {
  font-size: 1rem;
  color: #2b1a0c;
  margin-bottom: 8px;
}

.duplicate-result-head span {
  font-weight: 800;
  color: #8b4513;
}

.duplicate-result-verdict {
  background: #f3eee7;
  border-radius: 8px;
  padding: 9px 10px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #2b1a0c;
}

.duplicate-result-table {
  width: 100%;
  border-collapse: collapse;
}

.duplicate-result-table th,
.duplicate-result-table td {
  padding: 8px;
  border-bottom: 1px solid #ead8bd;
  text-align: center;
}

.duplicate-result-table th {
  background: #f3eee7;
  color: #2b1a0c;
}

.duplicate-result-table td:first-child,
.duplicate-result-table th:first-child {
  text-align: left;
}

.duplicate-result-diff {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #2b1a0c;
}

/* ==== Results actions ==== */
.results-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

.results-actions .btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.04s ease, opacity 0.15s ease;
}

.results-actions .btn:active {
  transform: translateY(1px);
}

.results-actions .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.results-actions .btn-primary {
  background: #1f6feb;
  color: #fff;
}

.results-actions .btn-secondary {
  background: #666;
  color: #fff;
}

.results-actions .btn-dark {
  background: #000;
  color: #fff;
}

.results-actions .btn-success {
  background: #2c7a2c;
  color: #fff;
}

.results-actions .btn-ghost {
  background: #f3eee7;
  color: #2b1a0c;
}

.results-actions .btn:hover {
  filter: brightness(1.05);
}

/* ==== Winner blocks ==== */
table td.score-win {
  background: #f3eee7;
  font-weight: 700;
}

.winner-wrap {
  margin: 10px 0 16px;
}

.winner-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 4px;
  padding: 12px 16px;
  background: #f3eee7;
  border-radius: 10px;
  font-size: 1.05rem;
  color: #2b1a0c;
  text-align: left;
  margin-bottom: 6px;
  font-weight: 400;
}

.winner-head .winner-title b.accent-bottle {
  color: var(--game-brown, #8b4513);
  font-weight: 700;
}

.winner-title {
  font-weight: 600;
  line-height: 1.2;
}

.winner-note {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
}

.winner-subhead {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  line-height: 1.3;
}

.winner-head b {
  color: #000;
  font-weight: 700;
}

.winner-head .sub {
  font-weight: 400;
  opacity: 0.7;
  margin-left: 6px;
}

.draw-tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 8px;
  background: #eee;
  margin-left: 6px;
}

.winner-tiles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 6px 0;
}

.winner-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 30%;
  max-width: 32%;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  padding: 10px;
  cursor: pointer;
  color: #222 !important;
}

.winner-tile .tile-text {
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  color: #2b2b2b !important;
  word-break: break-word;
}

.winner-tile .tile-sub {
  font-size: 12px;
  opacity: 0.75;
  color: #2b2b2b !important;
}

.winner-tile .tile-info {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 14px;
  opacity: 0.8;
  color: #555 !important;
}

.winner-empty {
  opacity: 0.6;
  padding: 10px;
}

/* ==== Bottle info modal ==== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.modal {
  background: #fff;
  width: min(860px, 95vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal-x {
  position: absolute;
  right: 16px;
  top: 12px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 28px;
  height: 28px;
  font-size: 16px;
  cursor: pointer;
  line-height: 28px;
  text-align: center;
}

.modal-body {
  display: flex;
  gap: 16px;
  padding: 22px 48px 18px 22px;
}

.modal-left {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-left img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #eee;
}

.modal-left .noimg {
  font-size: 72px;
  opacity: 0.6;
}

.modal-right {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
}

.modal-right .modal-title {
  margin: 0 0 4px 0;
  font-size: 18px;
  line-height: 1.25;
}

.modal-right .modal-status {
  margin: 0 0 10px 0;
  font-size: 13px;
  opacity: 0.75;
}

.modal-right .kv {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}

.modal-right .kv span {
  width: 120px;
  opacity: 0.7;
  font-size: 13px;
}

.modal-right .kv b {
  font-weight: 600;
  font-size: 14px;
}

.modal-right .desc {
  margin-top: 10px;
  white-space: pre-wrap;
  font-size: 14px;
}

.modal-right .src {
  margin-top: 10px;
  font-size: 13px;
}

/* ==== Mobile ==== */
@media (max-width: 700px) {
  .serve-style-wrap,
  .duplicate-results-wrap {
    padding: 10px;
  }

  .serve-style-table,
  .duplicate-result-table {
    font-size: 0.86rem;
  }
  
.serve-style-table th:last-child,
.serve-style-table td:last-child {
  min-width: 95px;
  white-space: nowrap;
}

  .serve-style-table th,
  .serve-style-table td,
  .duplicate-result-table th,
  .duplicate-result-table td {
    padding: 7px 5px;
  }

  .winner-tile {
    max-width: 100%;
    min-width: 100%;
  }

  .modal-body {
    flex-direction: column;
    padding: 48px 18px 18px;
  }

  .modal-left {
    flex: none;
  }
}

/* =========================
   Hidden Cask - Great Reveal
========================= */

.great-reveal-wrap {
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(245,238,226,.94));
  border: 1px solid rgba(139, 69, 19, .16);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.great-reveal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.great-reveal-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #8b4513;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.great-reveal-head h3 {
  margin: 0 0 4px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  color: #161616;
}

.great-reveal-head p {
  margin: 0;
  color: #4b4037;
  font-size: 15px;
}

.great-reveal-notice {
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.great-reveal-notice-duplicate {
  background: #fff4d8;
  border: 1px solid rgba(180, 114, 22, .28);
  color: #4a3214;
}

.great-reveal-notice-joint {
  background: #eef6ff;
  border: 1px solid rgba(37, 99, 235, .22);
  color: #1f355e;
}

.great-reveal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.great-reveal-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  align-items: stretch;
  width: 100%;
  min-height: 255px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(139, 69, 19, .14);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(250,246,240,.96));
  box-shadow: 0 8px 22px rgba(0,0,0,.09);
  cursor: default;
  text-align: left;
  color: #171717;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

/* Prevent global button hover styles bleeding into reveal cards */
.great-reveal-card:hover,
.great-reveal-card:focus,
.great-reveal-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(139, 69, 19, .35);
  box-shadow: 0 14px 30px rgba(0,0,0,.13);
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(250,246,240,.96));
  color: #171717;
  text-decoration: none;
  outline: none;
}

.great-reveal-card.rank-first {
  border-color: rgba(196, 147, 45, .62);
  background:
    linear-gradient(135deg, rgba(255,250,232,.98), rgba(255,255,255,.96));
}

.great-reveal-card.rank-first:hover,
.great-reveal-card.rank-first:focus,
.great-reveal-card.rank-first:focus-visible {
  background:
    linear-gradient(135deg, rgba(255,250,232,.98), rgba(255,255,255,.96));
}

.great-reveal-card.rank-second {
  background:
    linear-gradient(135deg, rgba(246,246,246,.98), rgba(255,255,255,.96));
}

.great-reveal-card.rank-second:hover,
.great-reveal-card.rank-second:focus,
.great-reveal-card.rank-second:focus-visible {
  background:
    linear-gradient(135deg, rgba(246,246,246,.98), rgba(255,255,255,.96));
}

.great-reveal-card.rank-third {
  background:
    linear-gradient(135deg, rgba(255,242,226,.98), rgba(255,255,255,.96));
}

.great-reveal-card.rank-third:hover,
.great-reveal-card.rank-third:focus,
.great-reveal-card.rank-third:focus-visible {
  background:
    linear-gradient(135deg, rgba(255,242,226,.98), rgba(255,255,255,.96));
}

.great-reveal-card.rank-fourth {
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(250,246,240,.96));
}

.great-reveal-card.rank-fourth:hover,
.great-reveal-card.rank-fourth:focus,
.great-reveal-card.rank-fourth:focus-visible {
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(250,246,240,.96));
}

.great-reveal-title-row {
  min-height: 54px;
  padding-left: 74px;
  padding-right: 28px;
  display: flex;
  align-items: center;
}

.great-reveal-title-row h4 {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
  color: #171717;
}

.great-reveal-content-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.great-reveal-bottle-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.great-reveal-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  min-height: 148px;
  padding: 12px 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
}

.great-reveal-image img {
  display: block;
  max-width: 100%;
  max-height: 134px;
  object-fit: contain;
}

.great-reveal-bottle-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3eee8;
  color: #4d2b13;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.great-reveal-stats-side {
  min-width: 0;
}

.great-reveal-placeholder {
  transform: scale(1.6);
  opacity: .75;
}

/* Star position badge */
.great-reveal-rank-star {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 4;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #211400;
  font-weight: 1000;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.18));
}

.great-reveal-rank-star::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #b98919, #f2cf66);
  clip-path: polygon(
    50% 0%,
    61% 28%,
    91% 18%,
    73% 45%,
    100% 62%,
    68% 66%,
    79% 96%,
    50% 78%,
    21% 96%,
    32% 66%,
    0% 62%,
    27% 45%,
    9% 18%,
    39% 28%
  );
}

.great-reveal-rank-star::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}

.great-reveal-rank-star span {
  position: relative;
  z-index: 2;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -.03em;
}

.rank-second .great-reveal-rank-star {
  color: #171717;
}

.rank-second .great-reveal-rank-star::before {
  background: linear-gradient(135deg, #747474, #dedede);
}

.rank-third .great-reveal-rank-star {
  color: #251706;
}

.rank-third .great-reveal-rank-star::before {
  background: linear-gradient(135deg, #9b5524, #dc9454);
}

.rank-fourth .great-reveal-rank-star {
  color: #fff;
}

.rank-fourth .great-reveal-rank-star::before {
  background: linear-gradient(135deg, #7c3f16, #a45a22);
}

.rank-fourth .great-reveal-rank-star::after {
  background: rgba(0,0,0,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.great-reveal-score {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(139, 69, 19, .08);
}

.great-reveal-score span {
  font-size: 13px;
  color: #5c5048;
  font-weight: 800;
}

.great-reveal-score strong {
  font-size: 25px;
  line-height: 1;
  color: #6f3510;
}

.great-reveal-mini-scores {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  margin: 0 0 12px;
  white-space: nowrap;
}

.great-reveal-mini-scores span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f3eee8;
  color: #4d4038;
  font-size: 12px;
  font-weight: 800;
}

.great-reveal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.great-reveal-badges span,
.great-reveal-badges button,
.great-reveal-award-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 8px 12px 8px 34px;
  border-radius: 999px;
  background: #1f2937;
  color: #fff;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 4px 10px rgba(0,0,0,.14);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.great-reveal-badges span::before,
.great-reveal-badges button::before,
.great-reveal-award-pill::before {
  content: "";
  position: absolute;
  left: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 25%, transparent 27%),
    conic-gradient(
      from 0deg,
      rgba(255,255,255,.95) 0 12deg,
      rgba(255,255,255,.25) 12deg 24deg,
      rgba(255,255,255,.95) 24deg 36deg,
      rgba(255,255,255,.25) 36deg 48deg,
      rgba(255,255,255,.95) 48deg 60deg,
      rgba(255,255,255,.25) 60deg 72deg,
      rgba(255,255,255,.95) 72deg 84deg,
      rgba(255,255,255,.25) 84deg 96deg,
      rgba(255,255,255,.95) 96deg 108deg,
      rgba(255,255,255,.25) 108deg 120deg,
      rgba(255,255,255,.95) 120deg 132deg,
      rgba(255,255,255,.25) 132deg 144deg,
      rgba(255,255,255,.95) 144deg 156deg,
      rgba(255,255,255,.25) 156deg 168deg,
      rgba(255,255,255,.95) 168deg 180deg,
      rgba(255,255,255,.25) 180deg 192deg,
      rgba(255,255,255,.95) 192deg 204deg,
      rgba(255,255,255,.25) 204deg 216deg,
      rgba(255,255,255,.95) 216deg 228deg,
      rgba(255,255,255,.25) 228deg 240deg,
      rgba(255,255,255,.95) 240deg 252deg,
      rgba(255,255,255,.25) 252deg 264deg,
      rgba(255,255,255,.95) 264deg 276deg,
      rgba(255,255,255,.25) 276deg 288deg,
      rgba(255,255,255,.95) 288deg 300deg,
      rgba(255,255,255,.25) 300deg 312deg,
      rgba(255,255,255,.95) 312deg 324deg,
      rgba(255,255,255,.25) 324deg 336deg,
      rgba(255,255,255,.95) 336deg 348deg,
      rgba(255,255,255,.25) 348deg 360deg
    );
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}

.great-reveal-badges span:hover,
.great-reveal-badges button:hover,
.great-reveal-award-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.great-reveal-badges span:focus-visible,
.great-reveal-badges button:focus-visible,
.great-reveal-award-pill:focus-visible {
  outline: 2px solid rgba(139, 69, 19, 0.45);
  outline-offset: 3px;
}

.great-reveal-badges span.badge-overall,
.great-reveal-badges button.badge-overall,
.great-reveal-award-pill.badge-overall {
  background: linear-gradient(135deg, #a96f05, #e2b541);
  color: #211400;
}

.great-reveal-badges span.badge-palate,
.great-reveal-badges button.badge-palate,
.great-reveal-award-pill.badge-palate {
  background: linear-gradient(135deg, #7c2d12, #b45309);
  color: #fff;
}

.great-reveal-badges span.badge-nose,
.great-reveal-badges button.badge-nose,
.great-reveal-award-pill.badge-nose {
  background: linear-gradient(135deg, #1f2937, #475569);
  color: #fff;
}

.great-reveal-badges span.badge-controversial,
.great-reveal-badges button.badge-controversial,
.great-reveal-award-pill.badge-controversial {
  background: linear-gradient(135deg, #4c1d95, #7e22ce);
  color: #fff;
}

.great-reveal-badges span.badge-duplicate,
.great-reveal-badges button.badge-duplicate,
.great-reveal-award-pill.badge-duplicate {
  background: linear-gradient(135deg, #92400e, #b45309);
  color: #fff;
}

.results-table-bottle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.results-table-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 42px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
  vertical-align: middle;
}

.results-table-thumb img {
  max-width: 100%;
  max-height: 38px;
  object-fit: contain;
}

.results-table-thumb.image-missing {
  border: 0;
  background: transparent;
  width: auto;
  height: auto;
}

/* tablet */
@media (max-width: 900px) {
  .great-reveal-card {
    min-height: 245px;
  }

  .great-reveal-content-row {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .great-reveal-image {
    width: 108px;
    min-height: 138px;
  }

  .great-reveal-image img {
    max-height: 122px;
  }

  .great-reveal-title-row h4 {
    font-size: 16px;
  }

  .great-reveal-mini-scores {
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* mobile */
@media (max-width: 700px) {
  .great-reveal-wrap {
    padding: 14px;
  }

  .great-reveal-grid {
    grid-template-columns: 1fr;
  }

  .great-reveal-card {
    min-height: 0;
    padding: 18px 15px 16px;
    gap: 12px;
  }

  .great-reveal-title-row {
    min-height: 48px;
    padding-left: 68px;
    padding-right: 24px;
  }

  .great-reveal-title-row h4 {
    font-size: 16px;
  }

  .great-reveal-content-row {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 13px;
  }

  .great-reveal-rank-star {
    width: 52px;
    height: 52px;
    top: 11px;
    left: 11px;
  }

  .great-reveal-rank-star span {
    font-size: 14px;
  }

  .great-reveal-image {
    width: 96px;
    min-height: 126px;
  }

  .great-reveal-image img {
    max-height: 110px;
  }

  .great-reveal-bottle-number {
    min-width: 78px;
    font-size: 12px;
  }

  .great-reveal-score {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .great-reveal-score strong {
    font-size: 21px;
  }

  .great-reveal-mini-scores {
    flex-wrap: wrap;
    white-space: normal;
    gap: 5px;
  }

  .great-reveal-mini-scores span,
  .great-reveal-badges span,
  .great-reveal-badges button {
    font-size: 11px;
  }

  .great-reveal-badges {
    gap: 7px;
  }

  .great-reveal-badges span,
  .great-reveal-badges button {
    padding: 7px 9px 7px 31px;
  }
}

.great-reveal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.great-reveal-rounds-pill {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-width: 9.2rem;
  padding: 0.72rem 1rem 0.68rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(127, 83, 45, 0.18);
  box-shadow: 0 8px 20px rgba(60, 36, 18, 0.07);
  color: #5a351d;
  white-space: nowrap;
  transform: translateY(-0.05rem);
  text-align: center;
}

.great-reveal-rounds-pill span {
  font-size: 0.66rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  color: rgba(90, 53, 29, 0.68);
}

.great-reveal-rounds-pill strong {
  font-size: 1.18rem;
  line-height: 1.05;
  font-weight: 900;
  color: #7a3f1d;
}

.great-reveal-rounds-pill em {
  font-style: normal;
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 800;
  color: rgba(90, 53, 29, 0.62);
}

.great-reveal-rounds-pill.is-incomplete {
  border-color: rgba(155, 74, 38, 0.38);
  background: rgba(255, 246, 239, 0.92);
}

@media (max-width: 720px) {
  .great-reveal-head {
    flex-direction: column;
    align-items: stretch;
  }

  .great-reveal-rounds-pill {
    align-items: center;
    width: fit-content;
    min-width: 8.5rem;
    transform: none;
  }
}

.great-reveal-info,
.js-bottle-info {
  position: absolute;
  left: 18px;
  bottom: 14px;
  top: auto;
  right: auto;
  z-index: 5;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;

  color: #171717;
  font-size: 15px;
  line-height: 1;
  opacity: 0.72;

  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  box-shadow: none;
}

.great-reveal-info:hover,
.js-bottle-info:hover {
  opacity: 1;
  background: rgba(139, 69, 19, 0.08);
}

.great-reveal-image,
.great-reveal-bottle-number {
  cursor: pointer;
}

.bottle-stats-modal {
  max-width: 760px;
}

.bottle-stats-body {
  display: block;
}

.bottle-stats-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.bottle-stats-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #8a4a24;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.bottle-stats-summary {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  background: rgba(127, 83, 45, 0.08);
  color: #4d3528;
  font-weight: 700;
}

.bottle-stats-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.8rem 0 1rem;
}

.bottle-stats-mini-grid div {
  padding: 0.65rem;
  border-radius: 0.9rem;
  background: rgba(247, 241, 234, 0.9);
  text-align: center;
}

.bottle-stats-mini-grid span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(69, 49, 36, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.bottle-stats-mini-grid strong {
  font-size: 1.15rem;
  color: #6c3b1f;
}

.bottle-stats-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0 1rem;
}

.bottle-stats-table th,
.bottle-stats-table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid rgba(80, 52, 32, 0.12);
  text-align: center;
}

.bottle-stats-table th:first-child,
.bottle-stats-table td:first-child {
  text-align: left;
}

@media (max-width: 720px) {
  .bottle-stats-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bottle-stats-legend {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: -0.25rem 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(69, 49, 36, 0.68);
}

.bottle-stats-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.bottle-stats-legend span::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 0.22rem;
}

.bottle-stats-legend .legend-high::before {
  background: rgba(226, 181, 65, 0.36);
  border: 1px solid rgba(196, 147, 45, 0.35);
}

.bottle-stats-legend .legend-low::before {
  background: rgba(124, 45, 18, 0.14);
  border: 1px solid rgba(124, 45, 18, 0.18);
}

.bottle-stats-table td.score-cell-high {
  background: rgba(226, 181, 65, 0.24);
  color: #6c3b1f;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(196, 147, 45, 0.28);
}

.bottle-stats-table td.score-cell-low {
  background: rgba(124, 45, 18, 0.10);
  color: #7c2d12;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(124, 45, 18, 0.14);
}