/* Site shell around the card renderer. Cards keep their own 1080x1920 styles. */
html, body { overflow: auto; overflow-x: hidden; background: #1a0730; }
body { min-height: 100vh; color: #fff; font-family: "BC", system-ui, sans-serif;
  background: radial-gradient(120% 70% at 50% 0%, #ff3d8b 0%, #8a2a8f 38%, #2a0b4a 70%, #1a0730 100%) fixed; }
#app { max-width: 560px; margin: 0 auto; padding: 28px 16px 40px; }
.view { display: none; }
.view.on { display: block; }

.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.9; }
h1 { font-weight: 900; font-size: clamp(56px, 16vw, 92px); line-height: 0.88; text-transform: uppercase; margin: 14px 0 12px; text-shadow: 0 6px 30px rgba(60, 0, 80, 0.5); }
h2 { font-weight: 900; font-size: 40px; line-height: 0.95; text-transform: uppercase; margin: 28px 0 10px; }
.lede { font-weight: 600; font-size: 20px; line-height: 1.25; opacity: 0.95; }
.steps { margin: 22px 0 22px 22px; font-weight: 600; font-size: 18px; line-height: 1.35; }
.steps li { margin: 6px 0; }
.checklist { margin: 0 0 22px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.checklist p { margin: 2px 0 10px; opacity: 0.95; }
.ck-h { font-weight: 900; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.steps b { font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; }

.panel-ui { background: rgba(26, 7, 48, 0.55); border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.fld input { font: 600 20px/1.2 "BC", system-ui, sans-serif; letter-spacing: 0.02em; text-transform: none; color: #fff; background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 12px; padding: 10px 12px; min-width: 0; width: 100%; }
.fld input:focus { outline: none; border-color: #fff; }
.fld.missing input { border-color: #ffd27a; background: rgba(255, 210, 122, 0.18); }
.drop { position: relative; display: block; border: 2px dashed rgba(255, 255, 255, 0.6); border-radius: 16px; padding: 26px 12px; text-align: center; font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.btn { display: block; width: 100%; text-align: center; text-decoration: none; font: 900 24px/1 "BC", system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #c42a6b; background: #fff; border: 0; border-radius: 999px; padding: 16px 20px 13px; cursor: pointer; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.ghost { color: #fff; background: transparent; border: 2px solid rgba(255, 255, 255, 0.7); }
.fine { font-weight: 600; font-size: 14px; line-height: 1.3; opacity: 0.75; }
.err { color: #ffd27a; font-weight: 800; font-size: 18px; margin-top: 12px; min-height: 1em; }

.meter { height: 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.2); overflow: hidden; margin: 18px 0 12px; }
.meter b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff3d8b, #ffa14a); transition: width 0.3s; }

.grp { font-weight: 800; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; margin: 10px 0 2px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
details summary { font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; padding: 6px 0; }

.player-wrap { display: flex; justify-content: center; }
.frame { position: relative; width: min(100%, calc((100vh - 120px) * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 60px rgba(20, 0, 40, 0.6); background: #1a0730; cursor: pointer; }
.frame #stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.hint { text-align: center; font-weight: 600; font-size: 14px; opacity: 0.7; margin-top: 8px; }
.shares { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.shares button { padding: 0; border: 0; background: none; cursor: pointer; color: #fff; font: 800 14px "BC", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.shares img { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; display: block; margin-bottom: 6px; background: rgba(255, 255, 255, 0.08); }
.row-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

.site-foot { max-width: 560px; margin: 0 auto; padding: 0 16px 28px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; line-height: 1.3; opacity: 0.7; }
.site-foot a { color: #fff; }
#offstage { position: fixed; left: -20000px; top: 0; width: 1080px; height: 1920px; font-family: "BC", sans-serif; color: #fff; }

/* Backdrops are pre-baked at build (tools/sync-site.mjs): the duotone is already in the image. */
.bg img { filter: none; }
.bg .tint, .bg .shade, .bg .glow { display: none; }
[hidden] { display: none !important; }
.prose { font-family: system-ui, sans-serif; font-size: 17px; line-height: 1.5; }
.prose p { margin: 0 0 14px; }
.prose a { color: #fff; }
