/* AM1CO V20.30.7 — KAMĒR GAIDI / AM1CO POP — state-driven top-row refill */
.wait-game-promo{
  grid-column:1/-1;
  position:relative;
  min-height:220px;
  overflow:hidden;
  border:1px solid rgba(70,42,22,.18);
  border-radius:24px;
  background:
    radial-gradient(circle at 78% 26%,rgba(220,164,88,.20),transparent 31%),
    linear-gradient(135deg,#21130d 0%,#4a2a16 58%,#7b4b1f 100%);
  color:#fff;
  box-shadow:0 16px 36px rgba(49,30,16,.09);
  isolation:isolate;
}
.wait-game-promo__copy{
  position:relative;
  z-index:2;
  display:grid;
  align-content:center;
  gap:8px;
  min-height:220px;
  width:min(62%,720px);
  padding:30px 34px;
}
.wait-game-promo__copy small{
  width:max-content;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  color:#f0c27a;
  font-size:.68rem;
  font-weight:950;
  letter-spacing:.12em;
}
.wait-game-promo__copy strong{
  font-size:clamp(2rem,4vw,3.6rem);
  line-height:.98;
  letter-spacing:-.04em;
}
.wait-game-promo__copy span{max-width:42ch;color:rgba(255,255,255,.84);line-height:1.45}
.wait-game-promo__copy b{margin-top:5px;font-size:.94rem}
.wait-game-promo__bubbles{position:absolute;inset:0 0 0 56%;z-index:1;pointer-events:none}
.wait-game-promo__bubble{
  position:absolute;
  width:clamp(44px,6vw,82px);
  aspect-ratio:1;
  border-radius:50%;
  border:3px solid rgba(255,255,255,.7);
  box-shadow:inset -10px -12px 18px rgba(0,0,0,.18),0 9px 24px rgba(0,0,0,.17);
}
.wait-game-promo__bubble:nth-child(1){left:9%;top:18%;background:#e0a74e}
.wait-game-promo__bubble:nth-child(2){left:29%;top:48%;background:#d75691}
.wait-game-promo__bubble:nth-child(3){left:48%;top:13%;background:#72b5bd}
.wait-game-promo__bubble:nth-child(4){left:67%;top:50%;background:#9c74d7}
.wait-game-promo__bubble:nth-child(5){left:82%;top:18%;background:#e97855}
.wait-game-promo:hover,.wait-game-promo:focus-visible{box-shadow:0 22px 44px rgba(49,30,16,.18);border-color:rgba(220,164,88,.65)}
.wait-game-promo:focus-visible{outline:3px solid var(--primary);outline-offset:3px}

.wait-pop-page{padding:24px 0 56px;background:linear-gradient(180deg,#fffaf2 0%,#fbf1df 100%)}
.wait-pop-page .site-container{max-width:1180px}
.wait-pop-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;margin-bottom:18px}
.wait-pop-intro__copy{min-width:0}
.wait-pop-intro .eyebrow{margin-bottom:8px}
.wait-pop-intro h1{font-size:clamp(2.6rem,6vw,5.2rem);line-height:.94;letter-spacing:-.055em;margin:0}
.wait-pop-intro p:last-child{max-width:48ch;margin:12px 0 0;color:var(--muted);line-height:1.5}
.wait-pop-intro__facts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:390px}
.wait-pop-intro__facts span{padding:8px 11px;border:1px solid rgba(108,69,28,.18);border-radius:999px;background:#fff;font-size:.82rem;font-weight:800}

.wait-pop-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(230px,300px);
  gap:18px;
  align-items:start;
  padding:18px;
  border:1px solid rgba(108,69,28,.18);
  border-radius:28px;
  background:rgba(255,255,255,.78);
  box-shadow:0 22px 50px rgba(73,44,20,.10);
}
.wait-pop-main{min-width:0}
.wait-pop-scorebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}
.wait-pop-stat{padding:10px 12px;border:1px solid rgba(108,69,28,.14);border-radius:16px;background:#fff}
.wait-pop-stat span{display:block;color:#785a42;font-size:.66rem;font-weight:950;letter-spacing:.1em}
.wait-pop-stat strong{display:block;margin-top:2px;font-size:1.25rem}
.wait-pop-board-wrap{
  position:relative;display:flex;justify-content:center;min-width:0;
  touch-action:none;
  overscroll-behavior:none;
  -webkit-user-select:none;
  user-select:none;
}
.wait-pop-canvas{
  display:block;
  width:min(100%,600px,calc((100vh - 230px) * .7894737));
  height:auto;
  max-height:none;
  border:3px solid #2b1a12;
  border-radius:22px;
  background:#fffaf2;
  touch-action:none;
  overscroll-behavior:none;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
  -webkit-user-drag:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4),0 12px 28px rgba(58,34,17,.12);
}
.wait-pop-overlay{
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  z-index:4;
  width:min(82%,390px);
  padding:18px 20px;
  border-radius:18px;
  background:rgba(33,19,13,.90);
  color:#fff;
  text-align:center;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
  pointer-events:none;
}
.wait-pop-overlay h2{margin:0 0 6px;font-size:1.35rem}
.wait-pop-overlay p{margin:0;color:rgba(255,255,255,.82)}
.wait-pop-side{display:grid;gap:12px;position:sticky;top:12px}
.wait-pop-card{padding:16px;border:1px solid rgba(108,69,28,.16);border-radius:18px;background:#fff}
.wait-pop-card h2,.wait-pop-card h3{margin:0 0 8px;font-size:1.05rem}
.wait-pop-card p{margin:0;color:#6f5a4b;line-height:1.46;font-size:.92rem}
.wait-pop-next{display:flex;align-items:center;gap:12px;margin-top:10px}
.wait-pop-next__bubble{width:46px;aspect-ratio:1;border-radius:50%;border:3px solid rgba(43,26,18,.35);box-shadow:inset -8px -9px 12px rgba(0,0,0,.16)}
.wait-pop-actions{display:grid;gap:8px}
.wait-pop-actions button,.wait-pop-actions a{min-height:46px;width:100%}
.wait-pop-message{min-height:2.9em;color:#6c451c;font-weight:800;line-height:1.35}
.wait-pop-privacy{font-size:.78rem!important;color:#88715f!important}

@media(max-width:900px){
  .wait-pop-shell{grid-template-columns:1fr}
  .wait-pop-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .wait-pop-side .wait-pop-card:last-child{grid-column:1/-1}
  .wait-pop-canvas{width:min(100%,600px,calc((100vh - 300px) * .7894737))}
}
@media(min-width:901px) and (max-height:800px){
  .wait-pop-page{padding-top:8px;padding-bottom:24px}
  .wait-pop-intro{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:8px}
  .wait-pop-intro .eyebrow{display:none}
  .wait-pop-intro h1{font-size:clamp(2rem,3.4vw,3.1rem)}
  .wait-pop-intro__copy>p:last-child{display:none}
  .wait-pop-intro__facts span{padding:6px 9px;font-size:.72rem}
  .wait-pop-shell{padding:10px;gap:12px}
  .wait-pop-scorebar{margin-bottom:6px}
  .wait-pop-stat{padding:7px 9px}
  .wait-pop-canvas{width:min(100%,600px,calc((100vh - 210px) * .7894737))}
  .wait-pop-card{padding:11px}
  .wait-pop-card p{font-size:.82rem}
}
@media(max-width:720px){
  .wait-game-promo{min-height:245px}
  .wait-game-promo__copy{width:100%;min-height:245px;padding:24px 22px 98px}
  .wait-game-promo__bubbles{inset:auto 0 0 0;height:105px;opacity:.9}
  .wait-game-promo__bubble{width:54px}
  .wait-game-promo__bubble:nth-child(1){left:8%;top:22%}
  .wait-game-promo__bubble:nth-child(2){left:26%;top:44%}
  .wait-game-promo__bubble:nth-child(3){left:46%;top:12%}
  .wait-game-promo__bubble:nth-child(4){left:64%;top:45%}
  .wait-game-promo__bubble:nth-child(5){left:82%;top:16%}
  .wait-pop-page{padding-top:16px}
  .wait-pop-intro{grid-template-columns:1fr;gap:12px;margin-bottom:12px}
  .wait-pop-intro__facts{justify-content:flex-start}
  .wait-pop-shell{padding:10px;border-radius:20px}
  .wait-pop-scorebar{gap:5px}
  .wait-pop-stat{padding:8px 9px;border-radius:13px}
  .wait-pop-stat strong{font-size:1.08rem}
  .wait-pop-side{grid-template-columns:1fr}
  .wait-pop-side .wait-pop-card:last-child{grid-column:auto}
  .wait-pop-canvas{width:min(100%,600px,calc((100vh - 250px) * .7894737));max-height:none}
}
@media(max-width:390px){
  .wait-pop-intro h1{font-size:2.65rem}
  .wait-pop-intro__facts span{padding:7px 9px;font-size:.76rem}
  .wait-pop-shell{padding:7px}
  .wait-pop-stat span{font-size:.59rem}
  .wait-pop-stat strong{font-size:1rem}
}


/* V20.30.7 — six-card hub: AM1CO POP promo is the sixth card in every responsive layout */
.situations-page--v206a .visit-choice-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.situations-page--v206a .visit-choice-card--featured,
.situations-page--v206a .visit-choice-card--school,
.situations-page--v206a .visit-choice-card--standard{
  grid-column:auto;
  min-height:320px;
}
.wait-game-card{
  background:
    radial-gradient(circle at 80% 18%,rgba(255,255,255,.12),transparent 28%),
    linear-gradient(145deg,#28150e 0%,#5a3218 58%,#8a5627 100%);
}
.wait-game-card__visual{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:0;
}
.wait-game-card__visual i,
.wait-game-card__shot{
  position:absolute;
  display:block;
  aspect-ratio:1;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.72);
  box-shadow:inset -8px -10px 16px rgba(0,0,0,.20),0 10px 22px rgba(0,0,0,.18);
}
.wait-game-card__visual i:nth-child(1){width:68px;right:15%;top:11%;background:#72b5bd}
.wait-game-card__visual i:nth-child(2){width:60px;right:31%;top:23%;background:#d75691}
.wait-game-card__visual i:nth-child(3){width:64px;right:6%;top:31%;background:#e0a74e}
.wait-game-card__visual i:nth-child(4){width:56px;right:23%;top:44%;background:#9c74d7}
.wait-game-card__visual i:nth-child(5){width:50px;right:43%;top:43%;background:#72b5bd}
.wait-game-card__visual i:nth-child(6){width:52px;right:9%;top:56%;background:#d75691}
.wait-game-card__visual i:nth-child(7){width:45px;right:35%;top:62%;background:#e0a74e}
.wait-game-card__shot{width:56px;right:46%;bottom:13%;background:#f2c267;outline:7px solid rgba(255,250,242,.18)}
.wait-game-card__visual::before{
  content:"";
  position:absolute;
  right:20%;bottom:20%;
  width:38%;height:2px;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.92) 0 8px,transparent 8px 16px);
  transform:rotate(-39deg);
  transform-origin:right center;
  opacity:.72;
}
.wait-game-card__shade{
  background:
    linear-gradient(90deg,rgba(17,9,5,.94) 0%,rgba(17,9,5,.80) 43%,rgba(17,9,5,.28) 72%,rgba(17,9,5,.12) 100%);
}
.wait-game-card .visit-choice-card__copy{max-width:78%}
.wait-game-card .visit-choice-card__copy>span{max-width:34ch}
.wait-game-card:hover .wait-game-card__visual,
.wait-game-card:focus-visible .wait-game-card__visual{filter:saturate(1.08) brightness(1.03)}

/* V20.26 — calmer, more polished play surface */
.wait-pop-shell{
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(255,248,235,.88));
  border-color:rgba(108,69,28,.15);
}
.wait-pop-canvas{
  border-color:#3b2416;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.64),0 16px 34px rgba(58,34,17,.14);
}
.wait-pop-stat{
  background:linear-gradient(180deg,#fff,#fffaf2);
  box-shadow:0 6px 16px rgba(64,38,20,.05);
}
.wait-pop-card{
  background:linear-gradient(180deg,#fff,#fffaf4);
  box-shadow:0 8px 20px rgba(60,37,20,.05);
}
.wait-pop-next__bubble{box-shadow:inset -8px -9px 12px rgba(0,0,0,.16),0 5px 14px rgba(57,34,17,.10)}

@media(max-width:1040px){
  .situations-page--v206a .visit-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .situations-page--v206a .visit-choice-card--featured,
  .situations-page--v206a .visit-choice-card--school,
  .situations-page--v206a .visit-choice-card--standard{min-height:300px}
}
@media(max-width:720px){
  .situations-page--v206a .visit-choice-grid{grid-template-columns:1fr}
  .situations-page--v206a .visit-choice-card--featured,
  .situations-page--v206a .visit-choice-card--school,
  .situations-page--v206a .visit-choice-card--standard{min-height:270px}
  .wait-game-card .visit-choice-card__copy{max-width:92%}
  .wait-game-card__visual{opacity:.86}
  .wait-game-card__visual i{transform:scale(.84)}
}

/* V20.30.7 ordering: the game promo is always the sixth card. */
.situations-page--v206a .visit-choice-grid > .visit-choice-card{order:4}
.situations-page--v206a .visit-choice-grid > .visit-choice-card:nth-child(1){order:1}
.situations-page--v206a .visit-choice-grid > .visit-choice-card:nth-child(2){order:2}
.situations-page--v206a .visit-choice-grid > .wait-game-card{order:6}

/* ============================================================
   AM1CO POP V20.27 — visual polish + friendly gameplay depth
   ============================================================ */
.wait-pop-page{
  background:
    radial-gradient(circle at 13% 12%,rgba(220,164,88,.10),transparent 28rem),
    radial-gradient(circle at 87% 72%,rgba(114,181,189,.08),transparent 30rem),
    linear-gradient(180deg,#fffaf2 0%,#f8edda 100%);
}
.wait-pop-shell{
  border:1px solid rgba(90,54,27,.18);
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(252,242,224,.90));
  box-shadow:0 24px 60px rgba(62,35,16,.12);
}
.wait-pop-board-wrap::before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:20px;
  pointer-events:none;
  box-shadow:inset 0 0 50px rgba(239,184,88,.08);
  z-index:1;
}
.wait-pop-canvas{
  border:2px solid rgba(67,39,23,.88);
  background:#241710;
  box-shadow:
    0 18px 40px rgba(44,25,13,.20),
    0 0 0 1px rgba(255,255,255,.32),
    inset 0 0 40px rgba(255,224,171,.04);
}
.wait-pop-stat{
  position:relative;
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.wait-pop-stat::after{
  content:"";
  position:absolute;
  inset:auto 12px 0;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg,transparent,#dca458,transparent);
  opacity:.42;
}
.wait-pop-stat.is-pop{
  transform:translateY(-2px) scale(1.025);
  border-color:rgba(220,164,88,.48);
  box-shadow:0 10px 26px rgba(106,66,28,.13);
}
.wait-pop-overlay{
  border:1px solid rgba(245,205,139,.30);
  background:linear-gradient(145deg,rgba(28,16,11,.95),rgba(72,42,22,.94));
  backdrop-filter:blur(8px);
  box-shadow:0 22px 50px rgba(0,0,0,.28);
}
.wait-pop-overlay h2{color:#f4c778}
.wait-pop-card{
  border-color:rgba(105,66,32,.14);
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,248,236,.96));
}
.wait-pop-next__bubble{
  display:grid;
  place-items:center;
  color:#fff;
  font-size:1.25rem;
  font-weight:950;
  text-shadow:0 1px 4px rgba(0,0,0,.45);
  transition:transform .2s ease,box-shadow .2s ease;
}
.wait-pop-next__bubble.is-rainbow{
  background:conic-gradient(#e5ae4f 0 25%,#db6b9f 25% 50%,#68b9c3 50% 75%,#9b7add 75% 100%)!important;
  box-shadow:inset -8px -9px 12px rgba(0,0,0,.14),0 0 0 5px rgba(255,255,255,.62),0 7px 18px rgba(82,48,24,.16);
}
.wait-pop-next__bubble.is-burst{
  background:radial-gradient(circle at 34% 30%,#fff7cd 0 10%,#f3c04d 24%,#e87a2f 70%,#7a2e19 100%)!important;
  box-shadow:inset -8px -9px 12px rgba(0,0,0,.16),0 0 18px rgba(233,132,47,.38);
}
.wait-pop-mission{
  --mission-progress:0%;
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:2px 12px;
  margin-top:14px;
  padding:11px 12px 13px;
  overflow:hidden;
  border:1px solid rgba(108,69,28,.14);
  border-radius:14px;
  background:#fffaf1;
}
.wait-pop-mission::after{
  content:"";
  position:absolute;
  left:0;bottom:0;
  width:var(--mission-progress);
  height:4px;
  background:linear-gradient(90deg,#dca458,#e7ba72);
  transition:width .28s ease;
}
.wait-pop-mission span{
  grid-column:1/-1;
  color:#8a6b50;
  font-size:.61rem;
  font-weight:950;
  letter-spacing:.11em;
}
.wait-pop-mission strong{font-size:.88rem;color:#3b2618}
.wait-pop-mission b{font-size:.86rem;color:#6c451c}
.wait-pop-message{min-height:3.7em}

@media (prefers-reduced-motion: reduce){
  .wait-pop-stat,.wait-pop-next__bubble,.wait-pop-mission::after{transition:none}
}


/* ============================================================
   AM1CO POP V20.28 — tactical living field
   ============================================================ */
.wait-pop-tactical{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(108,69,28,.14);
}
.wait-pop-tactical span{
  min-width:0;
  padding:7px 6px;
  border-radius:11px;
  background:#fff8ec;
  color:#6c451c;
  font-size:.72rem;
  text-align:center;
  line-height:1.2;
}
.wait-pop-tactical span b{display:block;font-size:.61rem;letter-spacing:.07em;text-transform:uppercase;color:#8a705d;margin-bottom:3px}
.wait-pop-tactical small{grid-column:1/-1;color:#7d6857;line-height:1.35;font-weight:700}
.wait-pop-next__bubble[role="button"]{cursor:pointer;outline:none;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}
.wait-pop-next__bubble[role="button"]:hover,.wait-pop-next__bubble[role="button"]:focus-visible{transform:scale(1.07);box-shadow:0 0 0 4px rgba(220,164,88,.22),inset -8px -9px 12px rgba(0,0,0,.16)}
.wait-pop-next__bubble.is-swap-locked{opacity:.68;cursor:not-allowed}
@media(max-width:720px){
  .wait-pop-tactical{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .wait-pop-tactical span{font-size:.68rem;padding:6px 4px}
  .wait-pop-tactical small{font-size:.72rem}
}


/* V20.29 DUEL — tactical status has more counters */
.wait-pop-tactical{gap:6px!important}
.wait-pop-tactical span{white-space:nowrap}
@media(max-width:520px){.wait-pop-tactical{grid-template-columns:repeat(2,minmax(0,1fr))!important}.wait-pop-tactical small{grid-column:1/-1}}


/* V20.30 — planning/readability refinements */
.wait-pop-card--next .wait-pop-next{align-items:center}
.wait-pop-card--next .wait-pop-next__bubble{outline:1px solid rgba(108,69,28,.10);outline-offset:3px}


/* V20.30.1 — during an active aim gesture the game owns the gesture.
   Do not freeze the body: only the game surface is locked, so normal page
   scrolling returns immediately when aim ends/cancels. */
.wait-pop-shell.is-aim-locked,
.wait-pop-shell.is-aim-locked .wait-pop-main,
.wait-pop-shell.is-aim-locked .wait-pop-board-wrap,
.wait-pop-shell.is-aim-locked .wait-pop-canvas{
  touch-action:none!important;
  overscroll-behavior:none!important;
}

/* V20.30.7 — copy deduplication: player instructions live in the dedicated help card.
   The canvas and dynamic status areas do not repeat the full 4/3 rule. */

.wait-pop-page{overflow-anchor:none}
.wait-pop-shell [hidden]{display:none!important}
.wait-pop-playbar{display:flex;align-items:center;gap:10px;margin-bottom:8px;min-width:0}
.wait-pop-playbar .button{min-height:44px;flex-shrink:0}
.wait-pop-shell .wait-pop-canvas{box-sizing:border-box;width:min(100%,600px);height:auto;max-height:none}
.wait-pop-shell[data-pop-play-state="idle"] .wait-pop-board-wrap,
.wait-pop-shell[data-pop-play-state="idle"] .wait-pop-canvas{touch-action:pan-y pinch-zoom;overscroll-behavior:auto}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-canvas{touch-action:none;overscroll-behavior:none}
.wait-pop-shell[data-pop-play-state="idle"] [data-pop-next]{opacity:.55;cursor:default}
.wait-pop-playbar .button:focus-visible,.wait-pop-shell [data-pop-next]:focus-visible{outline:3px solid #8b4e11;outline-offset:3px}
@media(orientation:portrait) and (max-width:720px){
  .wait-pop-playbar{flex-wrap:wrap}
}
@media(orientation:landscape){
  .wait-pop-page .site-container{max-width:1180px}
  .wait-pop-shell{box-sizing:border-box;grid-template-columns:minmax(0,1fr) minmax(180px,260px);gap:12px;padding:8px;border-radius:16px;align-items:stretch;grid-template-rows:auto minmax(0,1fr);height:var(--pop-shell-height,calc(100svh - 88px));min-height:0}
  .wait-pop-main{display:contents}
  .wait-pop-playbar{grid-column:2;grid-row:1;margin:0;gap:8px;flex-shrink:0;align-self:start}
  .wait-pop-playbar .button{min-height:40px;padding:8px 12px;font-size:.84rem}
  .wait-pop-scorebar{grid-column:1;grid-row:1;margin:0;gap:4px;flex-shrink:0;align-self:start}
  .wait-pop-stat{padding:3px 7px;border-radius:9px}
  .wait-pop-stat span{font-size:.55rem}
  .wait-pop-stat strong{font-size:1rem;margin-top:0}
  .wait-pop-board-wrap{grid-column:1;grid-row:2;min-height:0;align-items:center}
  .wait-pop-shell .wait-pop-canvas{width:min(100%,600px,calc(var(--pop-board-height,200px) * .7894736842));border-width:2px;border-radius:12px;flex-shrink:0}
  .wait-pop-shell .wait-pop-side{grid-column:2;grid-row:2;position:static;min-height:0;display:flex;flex-direction:column;gap:8px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;scrollbar-gutter:stable}
  .wait-pop-card{padding:10px;border-radius:12px}
  .wait-pop-card h2,.wait-pop-card h3{font-size:.92rem;margin-bottom:5px}
  .wait-pop-card p{font-size:.8rem}
  .wait-pop-shell .wait-pop-overlay{max-height:90%;overflow:auto;padding:8px 12px;font-size:.8rem}
  .wait-pop-overlay h2{font-size:1rem}
}

.wait-pop-start-layer{position:absolute;inset:0;z-index:3;display:grid;place-items:center;pointer-events:none}
.wait-pop-start{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;max-width:min(230px,calc(100% - 20px));min-width:0;min-height:64px;padding:12px 20px;border:3px solid #f7d999;border-radius:999px;background:radial-gradient(ellipse at 24% 9%,#fff1bd 0%,#fff1bd00 52%),linear-gradient(160deg,#f3c361,#daa04a 58%,#bb772e);color:#3b210e;font:900 18px/1.15 system-ui,sans-serif;letter-spacing:.01em;box-shadow:inset 0 2px 1px #fff9, inset 0 -4px 0 #8f491f55, 0 0 0 2px #3f241dcc,0 8px 22px #0007;cursor:pointer;pointer-events:auto;touch-action:manipulation;transition:transform .12s,filter .12s}
.wait-pop-start__mark{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;border:1px solid #fff8;background:radial-gradient(circle at 28% 20%,#fff9,transparent 55%),linear-gradient(145deg,#df9d35,#a65b24);box-shadow:inset 0 -2px 3px #72391044,0 1px 2px #fff6;font-size:16px;color:#fff8d7;text-shadow:0 1px 2px #693314}
.wait-pop-start:hover{filter:brightness(1.06)}
.wait-pop-start:active{transform:translateY(2px) scale(.98)}
.wait-pop-start:focus-visible{outline:3px solid #68b9c3;outline-offset:5px}
.wait-pop-start-layer [data-pop-start-label]{min-width:0;text-align:center}
.wait-pop-shell .wait-pop-message:empty{display:none}
.wait-pop-shell .wait-pop-next{justify-content:flex-start}
.wait-pop-shell .wait-pop-message{min-height:0;font-size:.8rem}
.wait-pop-help summary{cursor:pointer;font-weight:800;font-size:.9rem}
.wait-pop-help p{margin-top:9px}
.wait-pop-shell [data-pop-combo]{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(orientation:landscape){
  .wait-pop-start{max-width:min(230px,calc(100% - 20px),calc(var(--pop-board-height,200px) * .7894736842 - 20px))}
}
@media(orientation:landscape) and (max-height:480px){
  .wait-pop-start{gap:6px;min-height:48px;padding:9px 8px;border-width:2px;font-size:13px}
  .wait-pop-start__mark{width:24px;height:24px;flex-basis:24px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.wait-pop-start{transition:none}.wait-pop-start:active{transform:none}}

@media(orientation:landscape) and (max-height:480px){
  .wait-pop-page{padding-top:8px}
  .wait-pop-intro{display:block;margin-bottom:8px}
  .wait-pop-intro .eyebrow,.wait-pop-intro__facts{display:none}
  .wait-pop-intro h1{font-size:1.55rem;line-height:1.05}
}

@media (pointer:coarse) and (max-width:1024px){
body.am1co-pop-flow-playing .site-header{position:relative!important;top:auto!important}
.wait-pop-shell[data-pop-play-state="active"]{
  position:relative;height:var(--pop-shell-height,100dvh);max-height:none;
  box-sizing:border-box;margin:0;
  padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));
  display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto;
  gap:6px;align-items:stretch;
}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-main{display:contents}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-scorebar{grid-column:1;grid-row:1;margin:0;gap:4px;align-self:center}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-stat{padding:3px 7px;border-radius:9px}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-stat span{font-size:.55rem}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-stat strong{font-size:1rem;margin-top:0}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-playbar{grid-column:2;grid-row:1;margin:0;align-self:center}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-playbar .button{min-height:44px;padding:8px 12px;font-size:.85rem}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-board-wrap{grid-column:1/-1;grid-row:2;min-height:0;min-width:0;overflow:hidden;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom;overscroll-behavior:auto}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-canvas{width:min(100%,calc(var(--pop-board-height,400px) * .7894736842));height:auto;max-height:none;border-width:2px;border-radius:12px;flex-shrink:0}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-side{grid-column:1/-1;grid-row:3;position:static;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;min-height:44px;overflow:auto;scrollbar-gutter:auto;touch-action:pan-y pinch-zoom;overscroll-behavior:auto}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-card{padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-card h3,
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-message,
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-help{display:none}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-next{margin:0;gap:0}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-next__bubble{width:34px;height:34px;margin:0}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-actions{display:flex;gap:8px}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-actions .button{min-height:44px;margin:0;padding:8px 12px;font-size:.85rem}
.wait-pop-shell[data-pop-play-state="active"] .wait-pop-overlay{max-height:90%;overflow:auto;padding:8px 12px;font-size:.8rem}
@media (orientation:landscape){
  .wait-pop-shell[data-pop-play-state="active"]{grid-template-columns:minmax(70px,1fr) min(calc(var(--pop-board-height,300px) * .7894736842),calc(100% - 160px)) minmax(70px,1fr);grid-template-rows:minmax(0,1fr) auto minmax(0,1fr)}
  .wait-pop-shell[data-pop-play-state="active"] .wait-pop-board-wrap{grid-column:2;grid-row:1/-1}
  .wait-pop-shell[data-pop-play-state="active"] .wait-pop-scorebar{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:6px;justify-self:center;max-width:100%;align-self:center}
  .wait-pop-shell[data-pop-play-state="active"] .wait-pop-stat{width:100%;box-sizing:border-box;text-align:center}
  .wait-pop-shell[data-pop-play-state="active"] .wait-pop-playbar{grid-column:1;grid-row:3;justify-self:center;align-self:start;margin-top:6px}
  .wait-pop-shell[data-pop-play-state="active"] .wait-pop-side{grid-column:3;grid-row:2;flex-direction:column;justify-self:center;align-self:center;max-width:100%;overflow:visible}
  .wait-pop-shell[data-pop-play-state="active"] .wait-pop-actions{flex-direction:column}
}

}

.wait-pop-shell[data-pop-play-state] .wait-pop-actions > .button,
.wait-pop-shell[data-pop-play-state] .wait-pop-playbar > .button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  flex:0 0 auto;width:auto;min-width:0;min-height:44px;height:auto;
  padding:10px 16px;box-sizing:border-box;border-radius:999px;
  white-space:nowrap;word-break:normal;overflow-wrap:normal;text-align:center;
  font-weight:850;line-height:1.15;letter-spacing:.01em;text-decoration:none;
  transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s;
}
.wait-pop-shell[data-pop-play-state] .wait-pop-actions > .button--primary{
  border:1px solid #c38a38;color:#3b210e;
  background:radial-gradient(ellipse at 28% 0%,#ffe6a9aa,transparent 65%),linear-gradient(145deg,#efc478,#dcab5a 60%,#ce9848);
  box-shadow:inset 0 1px 0 #fff6,0 2px 6px #784b171a;
}
.wait-pop-shell[data-pop-play-state] .wait-pop-actions > .button--ghost,
.wait-pop-shell[data-pop-play-state] .wait-pop-playbar > .button{
  border:1px solid #c7b39a;color:#61442e;
  background:linear-gradient(180deg,#fffdf8,#f6edde);
  box-shadow:inset 0 1px 0 #fff,0 2px 6px #684a2210;
}
.wait-pop-shell[data-pop-play-state] .wait-pop-actions > .button:hover,
.wait-pop-shell[data-pop-play-state] .wait-pop-playbar > .button:hover{border-color:#a77a43;box-shadow:inset 0 1px 0 #fff6,0 3px 9px #684a2222}
.wait-pop-shell[data-pop-play-state] .wait-pop-actions > .button:active,
.wait-pop-shell[data-pop-play-state] .wait-pop-playbar > .button:active{transform:translateY(1px)}
.wait-pop-shell .wait-pop-actions > .button svg{display:block;flex:0 0 16px;width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.wait-pop-shell .wait-pop-actions > .button span{white-space:nowrap}
.wait-pop-shell .wait-pop-actions > .button:focus-visible{outline:3px solid #68b9c3;outline-offset:3px}
@media (pointer:coarse) and (max-width:360px){.wait-pop-shell[data-pop-play-state] .wait-pop-actions > .button{padding-inline:12px;gap:6px}}
@media (prefers-reduced-motion:reduce){.wait-pop-shell[data-pop-play-state] .wait-pop-actions > .button,.wait-pop-shell[data-pop-play-state] .wait-pop-playbar > .button{transition:none}}
