/* V47R4 distributed carnival restore and expansion */
body.amanda-record-page .am-satire-section.am-satire-hook{padding-top:64px;padding-bottom:70px}
body.amanda-record-page .am-satire-section.am-satire-mid,
body.amanda-record-page .am-satire-section.am-satire-finale{padding-top:58px;padding-bottom:64px}
body.amanda-record-page .am-satire-section .am-carnival-split-grid,
body.amanda-record-page .am-satire-section .am-carnival-hook-grid,
body.amanda-record-page .am-satire-section .am-carnival-finale-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
body.amanda-record-page .am-satire-section .am-carnival-booth,
body.amanda-record-page .am-satire-section .am-carnival-side-stack,
body.amanda-record-page .am-satire-section .am-wheel-card,
body.amanda-record-page .am-satire-section .am-key-game-card{
  min-width:0;
}
body.amanda-record-page .am-satire-section .am-key-game-card,
body.amanda-record-page .am-satire-section .am-wheel-card,
body.amanda-record-page .am-satire-section .am-clown-lab,
body.amanda-record-page .am-satire-section .am-carnival-copycard{
  border:1px solid rgba(255,255,255,.24);
  background:rgba(10,8,12,.82)!important;
  box-shadow:0 22px 55px rgba(0,0,0,.34);
}
body.amanda-record-page .am-satire-section .am-carnival-copycard{padding:24px 22px 24px;border-top:7px solid var(--satire-gold)}
body.amanda-record-page .am-satire-section .am-carnival-copycard h3{margin:0 0 10px;font-size:clamp(28px,3vw,40px)}
body.amanda-record-page .am-satire-section .am-carnival-copycard p{margin:0 0 14px;font-size:16px;line-height:1.65}
body.amanda-record-page .am-satire-section .am-carnival-copycard .am-satire-punch{margin:0;padding-top:12px;border-top:1px solid rgba(255,255,255,.18);font-weight:700;color:#fff!important}
body.amanda-record-page .am-satire-section .am-satire-key-hero .am-satire-key-copy{align-items:start}
body.amanda-record-page .am-satire-section .am-satire-key-hero .am-satire-key-copy p{font-size:17px}
body.amanda-record-page .am-satire-section .am-satire-rails{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:24px;
}
body.amanda-record-page .am-satire-section .am-rail-card{
  padding:16px 16px 18px;
  border:1px solid rgba(210,166,74,.35);
  background:rgba(255,255,255,.04);
}
body.amanda-record-page .am-satire-section .am-rail-card h4{margin:0 0 8px;font-size:18px;color:var(--satire-ink)!important}
body.amanda-record-page .am-satire-section .am-rail-card p{margin:0;font-size:14px;line-height:1.55;color:var(--satire-copy)!important}
body.amanda-record-page .am-satire-section .am-key-game-card{padding:22px;border-top:7px solid var(--satire-red)}
body.amanda-record-page .am-satire-section .am-game-overline{display:inline-block;margin-bottom:10px;font-family:Arial,Helvetica,sans-serif;font-size:10px;font-weight:900;letter-spacing:.15em;text-transform:uppercase;color:var(--satire-gold)!important}
body.amanda-record-page .am-satire-section .am-key-game-card h3,
body.amanda-record-page .am-satire-section .am-wheel-card h3{margin:0 0 10px;font-size:clamp(25px,2.5vw,34px)}
body.amanda-record-page .am-satire-section .am-key-game-card p,
body.amanda-record-page .am-satire-section .am-wheel-card p{font-size:15px;line-height:1.58}
body.amanda-record-page .am-satire-section .am-mini-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0 12px}
body.amanda-record-page .am-satire-section .am-mini-btn{appearance:none;border:0;border-radius:999px;padding:10px 16px;background:var(--satire-red);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 10px 24px rgba(176,0,32,.22)}
body.amanda-record-page .am-satire-section .am-mini-btn.secondary{background:#2b2a33;box-shadow:none;border:1px solid rgba(255,255,255,.22)}
body.amanda-record-page .am-satire-section .am-mini-btn:hover{transform:translateY(-1px)}
body.amanda-record-page .am-satire-section .am-mini-status{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:700;color:var(--satire-gold)!important;min-height:20px}
body.amanda-record-page .am-satire-section .am-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}
body.amanda-record-page .am-satire-section .am-mini-stat{padding:12px 10px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);text-align:center}
body.amanda-record-page .am-satire-section .am-mini-stat strong{display:block;font-size:26px;line-height:1;color:var(--satire-ink)!important}
body.amanda-record-page .am-satire-section .am-mini-stat span{display:block;margin-top:6px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--satire-copy)!important}
body.amanda-record-page .am-satire-section .am-key-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.amanda-record-page .am-satire-section .am-keyhole{appearance:none;position:relative;padding:18px 12px 20px;border:1px solid rgba(210,166,74,.48);background:linear-gradient(180deg,rgba(111,45,134,.22),rgba(176,0,32,.12));color:#fff;min-height:118px}
body.amanda-record-page .am-satire-section .am-keyhole::before{content:"☠";display:block;font-size:24px;margin-bottom:10px;color:var(--satire-gold)}
body.amanda-record-page .am-satire-section .am-keyhole span{display:block;font-size:13px;line-height:1.25;font-weight:700}
body.amanda-record-page .am-satire-section .am-keyhole em{display:block;margin-top:7px;font-style:normal;font-size:11px;color:var(--satire-copy)}
body.amanda-record-page .am-satire-section .am-keyhole.revealed-good{background:linear-gradient(180deg,rgba(32,145,95,.36),rgba(13,109,73,.22))}
body.amanda-record-page .am-satire-section .am-keyhole.revealed-bad{background:linear-gradient(180deg,rgba(176,0,32,.36),rgba(111,45,134,.18))}
body.amanda-record-page .am-satire-section .am-carnival-divider{margin:24px 0 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);font-size:13px;color:#cbbfac!important}
body.amanda-record-page .am-satire-section .am-carnival-mid-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:start}
body.amanda-record-page .am-satire-section .am-mid-stack{display:grid;gap:22px}
body.amanda-record-page .am-satire-section .am-finale-grid{align-items:start}
body.amanda-record-page .am-satire-section .am-clown-lab{display:flex;flex-direction:column;overflow:hidden}
body.amanda-record-page .am-satire-section .am-clown-stage{position:relative;background:#050406}
body.amanda-record-page .am-satire-section .am-clown-stage img{display:block;width:100%;height:auto}
body.amanda-record-page .am-satire-section .am-clown-mouth{position:absolute;left:50%;bottom:11.5%;transform:translateX(-50%);width:30%;height:18%;display:flex;align-items:center;justify-content:center;pointer-events:none}
body.amanda-record-page .am-satire-section .am-clown-jaw{position:relative;width:100%;height:100%;transform-origin:50% 22%;transition:transform .18s ease}
body.amanda-record-page .am-satire-section .am-clown-mouth.is-rattling .am-clown-jaw{animation:amClownJaw .16s linear 8}
body.amanda-record-page .am-satire-section .am-clown-teeth{position:absolute;left:12%;right:12%;bottom:18%;display:grid;grid-template-columns:repeat(8,1fr);gap:4px}
body.amanda-record-page .am-satire-section .am-clown-teeth span{display:block;height:22px;border-radius:0 0 8px 8px;background:#f8fafc;border:2px solid #d4d4d8;box-shadow:0 2px 0 rgba(0,0,0,.16)}
body.amanda-record-page .am-satire-section .am-clown-mouth.is-rattling .am-clown-teeth span:nth-child(odd){animation:amToothShake .11s linear 10}
body.amanda-record-page .am-satire-section .am-clown-mouth.is-rattling .am-clown-teeth span:nth-child(even){animation:amToothShakeReverse .12s linear 9}
body.amanda-record-page .am-satire-section .am-clown-readout{padding:20px 22px 24px;border-top:7px solid var(--satire-plum)}
body.amanda-record-page .am-satire-section .am-clown-readout h3{margin:0 0 8px;font-size:clamp(28px,3vw,40px)}
body.amanda-record-page .am-satire-section .am-clown-line{margin-top:14px;padding:14px 16px;border:1px dashed rgba(210,166,74,.46);background:rgba(255,255,255,.04);font-size:16px;color:#fff!important}
body.amanda-record-page .am-satire-section .am-wheel-card{padding:22px;border-top:7px solid var(--satire-gold)}
body.amanda-record-page .am-satire-section .am-wheel-stage{display:grid;place-items:center;margin:10px 0 16px}
body.amanda-record-page .am-satire-section .am-wheel-pointer{width:0;height:0;border-left:16px solid transparent;border-right:16px solid transparent;border-top:28px solid var(--satire-gold);margin-bottom:-6px;position:relative;z-index:2}
body.amanda-record-page .am-satire-section .am-wheel{width:min(100%,320px);aspect-ratio:1;border-radius:50%;border:8px solid rgba(255,255,255,.18);position:relative;background:conic-gradient(from 0deg,#b00020 0 45deg,#6f2d86 45deg 90deg,#d2a64a 90deg 135deg,#0d3b66 135deg 180deg,#b00020 180deg 225deg,#6f2d86 225deg 270deg,#d2a64a 270deg 315deg,#0d3b66 315deg 360deg);box-shadow:0 14px 38px rgba(0,0,0,.28);transition:transform 2.8s cubic-bezier(.17,.89,.32,1.28)}
body.amanda-record-page .am-satire-section .am-wheel::after{content:"";position:absolute;inset:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;background:#111;border:5px solid rgba(255,255,255,.18)}
body.amanda-record-page .am-satire-section .am-wheel-labels{position:absolute;inset:0;font-family:Arial,Helvetica,sans-serif;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#fff}
body.amanda-record-page .am-satire-section .am-wheel-labels span{position:absolute;left:50%;top:50%;transform-origin:0 0;white-space:nowrap}
body.amanda-record-page .am-satire-section .am-wheel-result{padding:14px 16px;border:1px solid rgba(210,166,74,.45);background:rgba(255,255,255,.04);font-size:15px;color:#fff!important;min-height:54px}
body.amanda-record-page .am-satire-section .am-wheel-result strong{color:var(--satire-gold)!important}
@keyframes amClownJaw{0%,100%{transform:rotate(0deg) translateY(0)}25%{transform:rotate(2deg) translateY(2px)}50%{transform:rotate(-2deg) translateY(5px)}75%{transform:rotate(1deg) translateY(2px)}}
@keyframes amToothShake{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(-1px,1px) rotate(-2deg)}50%{transform:translate(1px,-1px) rotate(2deg)}75%{transform:translate(-1px,0) rotate(-1deg)}}
@keyframes amToothShakeReverse{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(1px,-1px) rotate(2deg)}50%{transform:translate(-1px,1px) rotate(-2deg)}75%{transform:translate(1px,0) rotate(1deg)}}
@media (max-width:1024px){
  body.amanda-record-page .am-satire-section .am-carnival-mid-grid,
  body.amanda-record-page .am-satire-section .am-carnival-hook-grid,
  body.amanda-record-page .am-satire-section .am-carnival-finale-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  body.amanda-record-page .am-satire-section .am-satire-rails{grid-template-columns:1fr}
  body.amanda-record-page .am-satire-section .am-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  body.amanda-record-page .am-satire-section .am-key-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.amanda-record-page .am-satire-section .am-clown-mouth{width:34%;bottom:10%}
  body.amanda-record-page .am-satire-section .am-clown-teeth span{height:16px}
}
