.bottle-sample {
  --sample-cream: #fff4da;
  --sample-gold: #ffcf68;
  display: grid;
  grid-template-columns: minmax(235px, .85fr) minmax(0, 1.3fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 56px);
  margin: 0 0 clamp(54px, 7vw, 90px);
  padding: clamp(20px, 4vw, 46px);
  border: 2px solid #294636;
  border-radius: 24px;
  background: #174637;
  color: var(--sample-cream);
  box-shadow: 0 6px 0 #0c3024;
  scroll-margin-top: 18px;
}
.sample-game { min-width: 0; align-self: center; }
.sample-game h2 { margin: 6px 0; color: var(--sample-cream); font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1; }
.sample-game .sample-instructions { margin: 12px 0 18px; color: #f3e2bd; }
.sample-meter { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .8rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: var(--sample-gold); }
.sample-dots { display: inline-flex; gap: 5px; }
.sample-dots i { width: 11px; height: 5px; border-radius: 3px; border: 1px solid #c1ab76; }
.sample-dots i:first-child, .sample-dots .visited { background: var(--sample-gold); }
.sample-visual.mystery {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: center;
  justify-items: center;
  gap: 10px;
  align-self: center;
  min-width: 0;
  height: 285px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid #c99d54;
  border-radius: 16px;
  background: repeating-linear-gradient(155deg,#cfaa6b12 0 2px,transparent 2px 12px), #f5e2bd;
  color: #2e4337;
}
.sample-visual.mystery::after { display: none; }
.sample-frame {
  display: grid;
  place-items: center;
  align-self: center;
  width: 195px;
  height: 195px;
  border: 6px double #ad884b;
  border-radius: 50%;
  background: radial-gradient(ellipse, #413c31 3%, #332f28 78%);
  box-shadow: 0 3px 7px #513d2740;
}
.sample-visual.mystery img {
  display: block;
  width: auto;
  height: auto;
  max-width: 131px;
  max-height: 129px;
  border-radius: 3px;
  opacity: 1;
  filter: none;
}
.sample-visual.mystery:not(.revealed) img { width: 131px; object-fit: contain; }
.sample-visual.revealed .sample-frame { background: radial-gradient(ellipse, #fef6e4 9%, #eccb90 85%); }
.sample-visual.revealed img { width: 100%; height: 210px; max-width: 150px; max-height: 210px; object-fit: contain; }
.sample-caption { margin: 0; text-align: center; color: #364337; font-weight: 900; line-height: 1.2; }
.sample-answers.quiz-choices { margin: 14px 0 0; }
.sample-answers.quiz-choices button { position: relative; min-height: 45px; padding: 9px 24px; border: 1px solid #f8e3b6; border-radius: 10px; background: #fff3d7; color: #183b30; font: inherit; font-weight: 850; line-height: 1.22; }
.sample-answers.quiz-choices button:hover:enabled { background: #ffe4a5; }
.sample-answers.quiz-choices button:disabled { opacity: .76; }
.sample-answers.quiz-choices button.correct { background: #bfe6a3; color: #23432b; border-color: #bfe6a3; opacity: 1; }
.sample-answers.quiz-choices button.incorrect { border-color: #ffc4b4; background: #ffdac9; color: #6e2b22; opacity: 1; }
.sample-answers .answer-mark { position: absolute; left: 9px; }
.sample-outcome { margin: 16px 0 3px; color: var(--sample-gold); font-size: 1.15rem; font-weight: 950; }
.sample-outcome:empty { margin: 0; }
.sample-game [data-quiz-fact] { margin: 0; }
.sample-game [data-quiz-feedback][hidden] { display: none; }
.sample-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; margin: 17px 0 12px; }
.sample-actions .btn { min-height: 44px; border: 0; border-radius: 10px; padding: 10px 16px; background: var(--sample-gold); color: #213c2e; box-shadow: 0 3px 0 #0c2e20; }
.sample-actions .sample-next { border: 1px solid #96b7a4; background: transparent; color: #fff5dc; }
.sample-beer-link { display: inline-block; padding-block: 6px; color: #f7e1b6; font-size: .9rem; }
.beer-share-url { display: grid; gap: 4px; flex: 1 0 100%; font-size: .88rem; }
.beer-share-url input { width: 100%; min-width: 0; padding: 8px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.bottle-sample :focus-visible { outline: 3px solid #ffe2a1; outline-offset: 3px; }
@media (max-width: 700px) {
  .bottle-sample { grid-template-columns: 1fr; gap: 20px; }
  .sample-visual.mystery { width: 100%; height: 185px; padding: 10px; gap: 4px; }
  .sample-frame { width: 132px; height: 132px; border-width: 4px; }
  .sample-visual.mystery:not(.revealed) img { max-width: 87px; max-height: 90px; }
  .sample-visual.revealed img { width: 95px; height: 142px; max-height: 142px; }
}
@media (prefers-reduced-motion: no-preference) {
  .sample-visual.revealed img { animation: bottle-appear .22s ease-out; }
  @keyframes bottle-appear { from { opacity: .2; transform: scale(.93); } }
}
