
:root{color-scheme:dark;--pink:#fa2baa;--blue:#2ea7ff;--gold:#f8c96a;--ink:#070711;--muted:#c7c0d6;--stroke:#4d3c72;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:var(--ink);color:white}
*{box-sizing:border-box}
html,body{width:100%;max-width:100%;margin:0;overflow-x:clip}
body{background:radial-gradient(ellipse at 24% 0%,#4d1b5b72,transparent 36%),radial-gradient(ellipse at 100% 35%,#142e7869,transparent 45%),#070711;min-height:100vh}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.45}
a{color:#99dcff}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #67cfff;outline-offset:2px}
[hidden]{display:none!important}
.sitebar{max-width:1100px;margin:auto;padding:18px clamp(16px,4vw,30px);display:flex;align-items:center;justify-content:space-between;gap:10px}
.sitebar img{max-width:150px;width:36vw;max-height:62px;object-fit:contain}
.sitebar a{font-size:13px;text-decoration:none;color:#e8e2fa;font-weight:800}
.sitebar .back{border:1px solid #6a4982;padding:10px 13px;border-radius:12px}
main{max-width:1100px;margin:0 auto;padding:10px clamp(16px,4vw,30px) 84px}
.hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:26px;min-height:420px;margin:2px 0 24px}
.eyebrow{font-weight:900;color:#ff8acb;letter-spacing:.17em;font-size:12px;text-transform:uppercase}
.hero h1{font-size:clamp(42px,7.5vw,78px);font-weight:950;letter-spacing:-.075em;line-height:.99;margin:14px 0 16px}
.hero h1 .hot{color:var(--pink)}.hero h1 .cool{color:var(--blue)}
.hero p{font-size:clamp(15px,1.65vw,19px);line-height:1.5;color:#e1dceb;margin:0 0 14px;max-width:505px}
.hero .mini{font-weight:700;font-size:12px;color:#bfb1d0;letter-spacing:.03em}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:23px 0 10px}
.primary,.secondary,.ghost{border-radius:14px;border:1px solid transparent;min-height:49px;padding:12px 18px;font-size:14px;line-height:1.2;font-weight:900;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;text-align:center;gap:7px}
.primary{background:linear-gradient(105deg,#f124a0,#a638f1 55%,#267bff);color:#fff;box-shadow:0 12px 26px #c326a930}
.secondary{background:#111935;color:#ecf5ff;border-color:#4b87d8}
.ghost{background:#1b1331;color:#f2deff;border-color:#6a4b86}
.hero-poster{position:relative;border-radius:26px;min-height:430px;overflow:hidden;border:1px solid #774ba3;background:radial-gradient(ellipse at 75% 32%,#2447b077,transparent 52%),radial-gradient(ellipse at 30% 56%,#93269a66,transparent 45%),#0a0819;box-shadow:0 28px 60px #0006;padding:22px}
.poster-top{color:#ffcc77;text-align:center;font-size:12px;font-weight:950;letter-spacing:.12em}
.poster-title{text-align:center;font-weight:950;font-size:clamp(18px,2.5vw,27px);line-height:1.15;letter-spacing:-.025em;margin:14px auto}
.poster-pair{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px auto 12px}
.poster-figure{position:relative;width:46%;height:216px;border-radius:120px 120px 25px 25px;overflow:hidden;background:radial-gradient(ellipse at 60% 15%,#3b3d70aa,transparent 55%);border-bottom:3px solid #573c7f}
.poster-figure:first-child{filter:drop-shadow(0 0 14px #e72ca044)}.poster-figure:last-child{filter:drop-shadow(0 0 15px #298aff55)}
.poster-figure:before{content:"";position:absolute;left:34%;top:18px;width:34%;height:98px;border-radius:55% 55% 48% 48%;background:linear-gradient(105deg,#3e405c,#111323 50%,#0a1020);box-shadow:inset 3px 0 2px #a266ce88,inset -4px 0 3px #258aff6b}
.poster-figure:after{content:"";position:absolute;left:3%;bottom:-30px;width:94%;height:136px;border-radius:47% 47% 5px 5px;background:linear-gradient(125deg,#313451,#10131f 52%,#111524);box-shadow:inset 3px 5px 0 #9a4eb966,inset -4px 4px 0 #3379ed77}
.poster-vs{position:absolute;top:55%;left:50%;transform:translate(-50%,-50%);z-index:1;background:#101126;border:1px solid #c684ed;border-radius:100px;padding:10px;color:#fff;font-weight:950;box-shadow:0 0 27px #eb39b744}
.poster-footer{text-align:center;font-size:17px;font-weight:950;color:#91dfff;letter-spacing:.06em}
.section-card{background:linear-gradient(155deg,#1b1031ee,#101328ed);border:1px solid var(--stroke);border-radius:24px;box-shadow:0 12px 42px #0005;padding:clamp(17px,3vw,29px);min-width:0}
.workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
.section-heading{font-size:clamp(22px,3vw,32px);font-weight:950;line-height:1.12;letter-spacing:-.04em;margin:2px 0 8px}
.subline{font-size:13px;color:#d6cce4;line-height:1.5;margin:0 0 17px}
.preview{position:relative;min-width:0}
.preview-intro{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap}
.preview-pill{color:#ebcfff;background:#3e1b58;border:1px solid #9d4bd2;font-size:10px;font-weight:950;letter-spacing:.08em;padding:7px 10px;border-radius:99px}
.mystery-live-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:14px 0}
.avatarcard{min-width:0;background:radial-gradient(ellipse at 50% 32%,#38417e85,transparent 78%),#090e21;border:1px solid #65509b;border-radius:18px;padding:9px 5px 12px;text-align:center;overflow:hidden}
.avatarcard:first-child{border-color:#c046a8}.avatarcard:last-child{border-color:#347bd8}
.avatarcard svg{width:100%;height:auto;max-height:210px;display:block;margin:0 auto;filter:drop-shadow(0 6px 12px #0009)}
.avatarcard h3{font-size:13px;color:#fff;font-weight:950;margin:2px 0 5px}
.avatarcard .detail{font-size:12px;color:#f1d3ff;line-height:1.4;min-height:38px;padding:0 4px;overflow-wrap:anywhere}
.avatarcard .detail:empty{min-height:10px}
.watermark{text-align:center;font-weight:950;color:#71d8ff;letter-spacing:.07em;font-size:14px;margin:10px 0}
.canvas-block{margin-top:22px;border-top:1px solid #4b3566;padding-top:22px}
.canvas-holder{background:#090b18;border:1px solid #50317b;border-radius:16px;display:flex;justify-content:center;align-items:center;padding:10px;min-height:220px}
#frameCanvas{display:block;max-height:530px;width:auto;max-width:100%;height:auto;aspect-ratio:9/16;border-radius:9px;box-shadow:0 10px 40px #000b}
.frame-nav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}
.frame-nav button{font-size:19px;min-width:47px;min-height:43px;border:1px solid #64559b;border-radius:11px;background:#1b2141;color:white}
#frameIndex{font-size:12px;font-weight:900;color:#b9d9ff;min-width:95px;text-align:center}
.builder{min-width:0}.builder h2{margin-top:0}
.progress{display:flex;gap:8px;margin:15px 0 22px}.progress span{flex:1;height:5px;background:#373048;border-radius:9px}.progress span.active{background:linear-gradient(90deg,var(--pink),var(--blue))}
.step{min-width:0}
.step[hidden]{display:none}
.step h3{font-size:21px;letter-spacing:-.025em;margin:6px 0 8px}
.step .step-label{color:#f6a1d8;font-size:12px;font-weight:950;letter-spacing:.08em;margin-bottom:8px}
.step p{font-size:13px;color:#d0c3e0;line-height:1.47}
.step-person{border:1px solid #534268;border-radius:17px;padding:15px 12px;margin:14px 0;background:#130f27}
.step-person.a{border-color:#813f81}.step-person.b{border-color:#2b5785}
.step-person h4{font-size:16px;margin:0 0 14px;color:#fff}
label{display:block;font-size:13px;font-weight:800;color:#f1e8fb;margin-bottom:6px}
input,select{display:block;min-width:0;max-width:100%;width:100%;min-height:48px;border-radius:12px;color:#fff;background:#0b1024;border:1px solid #766392;padding:12px 13px;margin-bottom:11px;font-size:16px}
input[type=date]{width:100%;min-width:0;max-width:100%;min-height:53px;appearance:none;-webkit-appearance:none}
input[type=date]::-webkit-date-and-time-value{text-align:left}
input::placeholder{color:#a89cbb}
.twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:13px}
.twocol>div{min-width:0}
.hint{font-size:12px!important;color:#afaac9!important;line-height:1.45;margin:6px 0 14px}
.step-buttons,.buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
.step-buttons>.primary:only-child,.buttons>.primary:only-child{grid-column:1/-1}
.step-buttons>* ,.buttons>*{min-width:0;white-space:normal}
.step-buttons .primary{grid-column:1/-1}
.step-buttons .ghost{grid-column:1/-1}
.step-continue{width:100%}
.suggestions{background:#13192f;border:1px solid #6570b2;box-shadow:0 12px 28px #0009;border-radius:12px;padding:5px;max-height:224px;overflow-y:auto;position:relative;z-index:20;margin:-5px 0 10px}
.suggestions[hidden]{display:none}
.suggestion{background:none;border:none;color:#fff;text-align:left;padding:11px 13px;font-size:15px;width:100%;border-radius:7px}
.suggestion:focus,.suggestion:hover{background:#283360}
.status{font-size:13px;color:#a7ecff;font-weight:800;line-height:1.4;min-height:22px;margin:15px 0 0;overflow-wrap:anywhere}
.status.error{color:#ff9cbe}
.privacy-note{background:#19142a;border-left:3px solid #ff58b0;border-radius:8px;padding:11px 13px;font-size:12px;color:#dcd1e8;line-height:1.5;margin:12px 0}
#published{background:#081f35;border:1px solid #367bbb;padding:15px;border-radius:16px;margin:18px 0}
#published strong{color:#aff7ff;font-size:16px}
#published p{font-size:12px;line-height:1.5;color:#bed2e2}
#published .buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.media-export{margin-top:20px;padding-top:20px;border-top:1px solid #4b3566}
.export-heading{font-size:18px!important}
.media-export .buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
#shareVideo{grid-column:1/-1}
.media-export input[type=file]{height:auto;padding:13px;font-size:13px}
.media-export input[type=checkbox]{width:21px;min-height:21px;margin:0 8px 0 0;display:inline;vertical-align:middle;accent-color:#ff2cba}
.consent{font-size:13px;line-height:1.5}
.warning{font-size:12px;color:#e6d5a5;line-height:1.4;margin:8px 0 14px}
#privateHistory{margin-top:18px}
#privateHistory details{border-top:1px solid #45385d;padding:13px 0}
#privateHistory summary{font-weight:850;cursor:pointer}
#historyItems{max-height:350px;overflow:auto}
#historyItems details p{font-size:12px;color:#e2d8f0}
#historyItems details button{font-size:12px;margin-top:10px}
#viewer{max-width:750px;margin:20px auto}
#viewer h2{font-size:30px}
#viewer .twocol{max-width:600px;margin:15px auto}
#publicScores{background:linear-gradient(140deg,#2d1240,#0b2947);border:1px solid #7850a4;padding:20px;border-radius:18px;font-size:19px;font-weight:800;line-height:1.5}
footer{padding:40px 10px 20px;text-align:center;font-size:12px;color:#aaa0c0}
@media(max-width:800px){
 .sitebar{padding:14px 17px}
 .hero{grid-template-columns:1fr;gap:8px;min-height:0}
 .hero h1{font-size:clamp(39px,11vw,58px)}
 .hero-poster{min-height:0;padding:15px 22px 12px;max-width:500px;width:100%;margin:7px auto 15px}
 .poster-figure{height:170px}
 .poster-title{margin:9px auto}
 .poster-pair{margin:0 auto}
 .poster-figure:before{height:76px}
 .poster-figure:after{height:106px}
 .poster-footer{font-size:13px}
 .workspace{grid-template-columns:1fr}
 .preview{order:0}
 .builder{order:1}
 .section-card{padding:17px}
 .hero-actions{margin-top:15px}
 .mystery-live-pair{gap:8px}
 .avatarcard svg{max-height:160px}
 #frameCanvas{max-height:430px}
 .twocol{grid-template-columns:minmax(0,1fr)}
 .step-person{margin:12px 0}
}
@media(max-width:390px){main{padding:10px 13px 60px}.primary,.secondary,.ghost{font-size:13px;padding:12px}.hero-poster{padding:14px}.section-card{padding:14px}.avatarcard .detail{font-size:11px}}

/* Approved BYP mystery balloon replaces the anonymous silhouette poster. */
.poster-figure{background:#000 url('/assets/icon/missing-photo.svg') center/contain no-repeat;border-radius:18px;border:1px solid #403252}
.poster-figure:before,.poster-figure:after{display:none!important}


/* Audit Challenge — founder-approved screensaver: displayed whole, NEVER cropped. */
.hero-poster.approved-art-frame{display:flex;align-items:center;justify-content:center;padding:10px;background:#000;min-height:0;border-color:#a456d3;overflow:hidden;isolation:isolate}
.approved-saver-art{display:block;width:100%;height:auto;max-height:455px;object-fit:contain;object-position:center;filter:none;aspect-ratio:auto}
@media(max-width:800px){
 .hero-poster.approved-art-frame{padding:8px}
 .approved-saver-art{max-height:360px}
}
.creator-play-controls,.preview-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 7px}
.creator-play-controls>*,.preview-actions>*{min-width:0;white-space:normal}
.canvas-holder.is-expanded{position:fixed;inset:0;z-index:9000;border:none;border-radius:0;background:rgba(3,4,15,.98);padding:58px 12px 25px;min-height:0;display:flex;align-items:center;justify-content:center}
.canvas-holder.is-expanded #frameCanvas{height:calc(100dvh - 100px);height:calc(100vh - 100px);max-height:calc(100vh - 100px);max-width:calc(100vw - 24px);width:auto;object-fit:contain;box-shadow:0 0 30px #862d9166}
.preview-close{position:fixed;top:15px;right:18px;z-index:9001;background:#271241;border:1px solid #e77ce1;color:#fff;border-radius:12px;padding:10px 15px;font-size:14px;font-weight:900}
body.preview-open{overflow:hidden}
#frameCanvas{max-height:680px}
.avatarcard .detail{min-height:55px;text-wrap:balance;line-height:1.5}
@media(max-width:800px){
 #frameCanvas{max-height:min(75dvh,600px)}
 .creator-play-controls,.preview-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.prop,.avatarcard,.poster-figure{animation:none!important;transition:none!important}}

/* One anchor person, multiple numbered and private relationship comparisons. */
#comparisonCount{border-color:#ff67d1;box-shadow:inset 0 0 0 1px #c750b34d;font-weight:850}
#comparisonEntries{display:grid;gap:12px;margin:18px 0 10px;min-width:0}
.comparison-entry{background:linear-gradient(130deg,#1d112d,#0e1a37);border:1px solid #70559b;border-radius:17px;padding:15px;min-width:0}
.comparison-entry:nth-child(even){border-color:#337cc1}
.comparison-entry h4{color:#ffb3e4;letter-spacing:.05em;font-size:15px;font-weight:900;margin:0 0 14px}
.comparison-entry label{font-size:12px}
.comparison-entry select,.comparison-entry input{max-width:100%;min-width:0}
.comparison-progress{padding:12px 13px;border-radius:12px;background:#121f35;border:1px solid #3684c4;color:#c1eaff;font-size:13px;line-height:1.5;font-weight:850;margin-bottom:15px}
.extra-clues{margin:10px 0;padding:12px;border-radius:13px;background:#170e2d;border:1px solid #7752a3}
.extra-clues summary{cursor:pointer;font-size:13px;font-weight:900;color:#ffd0ef;line-height:1.45}
.extra-clues[open] summary{margin-bottom:12px}
.pattern-review{background:linear-gradient(155deg,#1d1236,#0d2440);border:1px solid #725bba;border-radius:17px;padding:16px;margin:15px 0;min-width:0}
.pattern-review h3{font-size:16px;letter-spacing:.045em;margin:0 0 8px;color:#ffb1e7;line-height:1.3}
.pattern-review p{font-size:13px;line-height:1.48}
.pattern-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}
.pattern-card{min-width:0;padding:12px;border:1px solid #4b8bbb;border-radius:13px;background:#0b1428}
.pattern-card:nth-child(even){border-color:#ac539a}
.pattern-card strong{display:block;font-size:12px;color:#d6eaff;letter-spacing:.05em}
.pattern-card .pattern-score{font-size:12px!important;line-height:1.7;font-weight:780;overflow-wrap:anywhere;color:#fff}
.pattern-insights{padding:15px;background:#241137;border-radius:13px;border:1px solid #b258b5;margin-top:14px}
.pattern-insights strong{display:block;font-size:14px;color:#ffca89;letter-spacing:.05em}
.pattern-insights p{color:#f4ebff;overflow-wrap:anywhere}
@media(max-width:800px){
 .pattern-cards{grid-template-columns:minmax(0,1fr)}
 #comparisonEntries{gap:11px}
 .comparison-entry{padding:13px}
 .pattern-review{padding:13px}
}

/* Zero-pressure nickname flow: eight quick choices, all 50 on demand. */
.nickname-picker{border:1px solid #654b90;background:#10132c;border-radius:16px;padding:14px;margin:13px 0;min-width:0}
.nickname-heading{display:block;font-size:14px;color:#ffc1e6;letter-spacing:.035em;margin-bottom:5px}
.nickname-choices{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 13px}
.nickname-choice{border:1px solid #765c99;border-radius:99px;background:#21133c;color:white;min-height:40px;padding:8px 12px;font-size:13px;font-weight:750;max-width:100%;overflow-wrap:anywhere}
.nickname-choice.picked{border-color:#ff58b3;background:#842672;color:white;box-shadow:0 0 0 1px #ff58b366}
.nickname-actions{display:flex;flex-wrap:wrap;gap:7px}
.nickname-action{min-height:41px;font-size:12px;padding:8px 10px;flex:1 1 auto}
.nickname-preview{font-size:13px!important;font-weight:850;color:#9ee7ff!important;margin:10px 0 0!important}
.nickname-error{display:block;font-size:12px;color:#ff9cbe}
.nickname-picker input{margin-top:12px;margin-bottom:6px}
@media(max-width:390px){.nickname-choice{font-size:12px;padding:8px 10px}.nickname-action{font-size:11px}}

/* One-to-many: no legacy selection screen, main person always neutral. */
.legacy-hidden{display:none!important}
#batchForm [hidden],#batchForm .step[hidden],#batchForm button[hidden]{display:none!important}
#batchForm .step{min-width:0}
#batchForm .step-label{font-size:12px;letter-spacing:.04em}
#batchForm input[type=date],#batchForm select{width:100%;max-width:100%;box-sizing:border-box;min-height:52px}
#batchForm .batch-connection{border:1px solid #6c538e;background:#15102c;border-radius:16px;padding:13px;margin:13px 0;min-width:0}
#batchForm .batch-connection h4{margin:0 0 10px;color:#ffb7e6;letter-spacing:.025em;font-size:15px}
#batchForm .nickname-choices{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0}
#batchForm .nickname-choice{border:1px solid #785493;border-radius:30px;background:#221439;color:#fff;font-size:12px;font-weight:750;padding:9px 12px;min-height:40px}
#batchForm .nickname-choice.picked{background:#8c2878;border-color:#ff62b9}
#batchForm .nickname-actions{display:flex;gap:7px;flex-wrap:wrap}
#batchForm .nickname-action{min-height:40px;flex:1 1 auto;padding:7px;font-size:12px}
#batchForm .nickname-preview{font-size:13px;color:#94e6ff;font-weight:800;margin:12px 0 0}
#batchForm .nickname-error{display:block;color:#ffa5cc}
#batchForm .batch-cost-summary{border:1px solid #584487;border-radius:16px;padding:14px;background:#12132c;margin:14px 0}
#batchForm .batch-verdict{color:#a1eaff;font-weight:800}
#batchForm .batch-summary-items{display:grid;gap:5px;margin-top:12px}
#batchForm .batch-summary-items>div{font-size:13px;border-top:1px solid #4f3765;padding:8px 0}
#batchForm .batch-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0}
#batchForm .batch-offer{border-radius:12px;border:1px solid #b45dd4;background:#191633;color:#fff;padding:12px 7px;min-height:52px;font-weight:800;overflow-wrap:anywhere}
#batchForm .batch-offer.picked{border-color:#ff3cac;background:#74305d}
#batchForm #batchPayElement{min-height:150px;background:#fff;border-radius:14px;padding:13px;margin:12px 0}
#batchForm #batchCreate{width:100%;margin:15px 0}
#batchForm #batchStatus{max-width:100%;overflow-wrap:anywhere}
@media(max-width:440px){#batchForm .batch-offers{grid-template-columns:1fr}#batchForm .batch-connection{padding:12px}#batchForm .nickname-choice{font-size:11px}}

/* The Audit Challenge is a main-person-to-many experience, not two balloons. */
.roster-overview{border:1px solid #7a4c9e;border-radius:17px;background:linear-gradient(145deg,#1c1034,#0a142a);padding:15px;min-width:0;margin:14px 0 18px}
.roster-overview-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.roster-overview-heading strong{font-size:15px;letter-spacing:.08em;color:#fff}
.roster-overview-heading span{font-size:12px;font-weight:900;color:#94dbff;border:1px solid #397dd5;border-radius:99px;padding:6px 9px}
.roster-guidance{margin:10px 0!important;font-size:13px!important}
.roster-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.roster-entry{display:flex;align-items:center;text-align:left;gap:8px;min-width:0;border-radius:12px;min-height:66px;padding:10px;border:1px solid #775487;background:#21143a;color:#fff;cursor:pointer}
.roster-entry:nth-child(even){background:#142448;border-color:#3966a1}
.roster-entry.selected{box-shadow:0 0 0 2px #ff48ad;border-color:#ff79c5}
.roster-entry .roster-letter{flex:0 0 31px;height:31px;line-height:31px;border-radius:50%;text-align:center;background:#f12da9;color:#fff;font-weight:950;font-size:15px}
.roster-entry:nth-child(even) .roster-letter{background:#2683e4}
.roster-entry-body{display:block;min-width:0;overflow-wrap:anywhere}
.roster-entry-body strong{display:block;font-size:13px;line-height:1.25}
.roster-entry-body small{display:block;font-size:10px;color:#cfcae0;line-height:1.4;margin-top:4px;overflow-wrap:anywhere}
#previewConnectionStatus{color:#99e8ff;font-weight:900;font-size:12px;margin:9px 0}
.batch-confirmation{background:linear-gradient(140deg,#27143e,#0a2945);border:2px solid #3ba2ed;border-radius:15px;padding:15px;margin:12px 0}
.batch-confirmation h3{color:#fff;font-size:21px;margin:2px 0 10px}
.batch-confirmation p{font-size:14px;color:#e5e4ff;line-height:1.45}
.batch-confirmation .primary{width:100%}
.batch-confirmation.error{border-color:#fc6a9f;background:#311328}
.batch-confirmation.error h3{color:#ffb4d4}
@media(max-width:560px){.roster-grid{grid-template-columns:1fr}.roster-entry{min-height:58px}}

/* Owner-approved 2026 video displays: prominent, fast, legible, gold reserved for highest Harmony. */
.display-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0 17px}
.display-mode{min-height:95px;border:1px solid #6c4e97;border-radius:15px;background:linear-gradient(150deg,#211333,#0d1d35);color:#fff;font-size:14px;font-weight:950;padding:12px 8px;line-height:1.2;box-shadow:inset 0 0 0 1px #100c29}
.display-mode small{display:block;font-size:11px;line-height:1.35;color:#e9cfff;margin-top:9px;font-weight:650}
.display-mode.selected{background:linear-gradient(140deg,#861269,#29389e);border:2px solid #ff67c3;box-shadow:0 0 18px #fa28a558,inset 0 0 12px #ffffff14}
.display-mode[data-display-mode="full"].selected{border-color:#48bdff;box-shadow:0 0 18px #25b4ff62}
.display-mode[data-display-mode="winner"].selected{border-color:#ffda73;box-shadow:0 0 22px #f7a9286b}
#mediaExport .buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
.public-spotlight{border-radius:23px;border:2px solid #ffc34a;background:radial-gradient(ellipse at 70% 18%,#70391f 0%,transparent 48%),linear-gradient(135deg,#251333,#0c1731);box-shadow:0 0 28px #ffa92360,inset 0 0 40px #ffce4115;margin:25px 0;padding:25px;text-align:center}
.public-spotlight .spotlight-eyebrow{font-size:14px;font-weight:950;color:#ffcf6b;letter-spacing:.08em;text-transform:uppercase}
.public-spotlight .spotlight-lead{font-size:clamp(20px,4vw,34px);font-weight:950;margin:15px 0;color:#fff}
.public-spotlight .spotlight-value{font-size:clamp(44px,9vw,82px);font-weight:1000;color:#ffce5e;text-shadow:0 0 22px #ffb84380;line-height:1.1;margin:10px 0}
.public-spotlight .spotlight-value span{font-size:clamp(15px,3vw,28px);display:block;letter-spacing:.05em;color:#fff}
.public-spotlight .spotlight-description{font-size:15px;line-height:1.4;color:#e1e6ff;max-width:580px;margin:14px auto}
.public-spotlight .spotlight-host{display:block;width:min(340px,75%);max-height:250px;object-fit:contain;border-radius:17px;margin:14px auto}
#publicPattern .pattern-card{min-width:0;line-height:1.4}
#publicPattern .pattern-card:first-child{border-color:#ef6cbc}
#viewer .buttons a{font-size:15px;min-height:60px}
@media(max-width:620px){.display-modes{grid-template-columns:1fr}.display-mode{min-height:57px;text-align:left;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:8px}.display-mode small{margin-top:0;text-align:right;font-size:10px;max-width:160px}.public-spotlight{padding:18px 12px}}

/* Compact, creator-first iPhone flow. Full artwork retained without cropping. */
@media(max-width:800px){
 .workspace{display:flex;flex-direction:column;gap:12px}
 .workspace>.builder{order:0;width:100%}
 .workspace>.preview{order:1;width:100%}
 .hero{gap:6px;margin-bottom:10px;min-height:0}
 .hero h1{font-size:clamp(35px,9.1vw,49px);line-height:1.03;margin:9px 0}
 .hero-copy>p:not(.mini){font-size:15px;line-height:1.42;margin:8px 0}
 .hero-copy>.mini{font-size:11px;line-height:1.3;margin:6px 0}
 .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
 .hero-actions>a{min-height:48px;padding:8px 7px;font-size:12px;letter-spacing:0}
 .hero-poster.approved-art-frame{min-height:0;max-height:170px;padding:5px;margin:6px auto 7px;width:100%;overflow:hidden}
 .approved-saver-art{max-height:160px;max-width:100%;width:auto;object-fit:contain}
 .section-card{padding:15px}
 .builder .subline,.preview>.subline{font-size:14px;line-height:1.4}
 .roster-guidance{font-size:12px;line-height:1.2;margin:4px 0}
 .roster-entry{min-height:52px;padding:8px}
 .display-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:7px 0 9px}
 .display-mode{min-height:47px;padding:9px 4px;border-radius:12px;font-size:12px;text-align:center;display:block;letter-spacing:0}
 .display-mode small{display:none}
 #previewExplainer{font-size:12px;line-height:1.25;margin:5px 0 12px}
 #previewConnectionStatus:empty{display:none}
 .preview .canvas-block>.section-heading{font-size:21px;margin:12px 0 8px}
 .preview-intro .section-heading{font-size:24px}
 #batchForm .step>h3{font-size:20px;line-height:1.18;margin:10px 0}
 #batchForm .step-label{font-size:11px}
 #batchForm .progress{margin:8px 0 12px}
 #batchForm label{font-size:13px;margin:8px 0 5px}
}
@media(max-width:385px){
 .hero-actions>a{font-size:11px}
 .display-mode{font-size:11px}
}

/* iOS can visually show today's date before the user has selected one.
   A clear prompt overlays only the invalid/empty native date input. */
.birthday-field{position:relative;min-width:0}
.birthday-field input[type=date]{width:100%;margin-bottom:11px;position:relative}
.birthday-prompt{position:absolute;left:15px;top:50%;transform:translateY(-59%);font-size:15px;font-weight:780;color:#e5c7f2;background:#0b1024;padding:0 8px 0 0;pointer-events:none;max-width:calc(100% - 72px)}
.birthday-field input[type=date]:valid + .birthday-prompt{display:none}

/* A selected date must never be hidden behind the iPhone calendar placeholder. */
.birthday-field.has-value .birthday-prompt,
.birthday-field .birthday-prompt[hidden],
.birthday-field:focus-within .birthday-prompt{display:none!important}
.birthday-field input[type="date"]{color:#fff;opacity:1}
.birthday-field input[type="date"]::-webkit-datetime-edit{color:#fff}
.birthday-field input[type="date"]::-webkit-datetime-edit-fields-wrapper{color:#fff}
/* Before the first connection, there is no one-person film or imaginary roster. */
#preview #framePreview[hidden],#preview #batchPreviewEmpty[hidden],
#preview #batchPreviewOverview[hidden]{display:none!important}
.preview.is-empty .watermark{display:none}
.preview-empty{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;
 border:1px solid #654b90;border-radius:17px;padding:22px 20px;margin:16px 0 6px;
 background:linear-gradient(145deg,#211132,#0c1e38)}
.preview-empty-mark{width:64px;height:64px;border:2px solid #ff46b7;border-radius:50%;
 display:flex;align-items:center;justify-content:center;font-size:44px;line-height:1;color:#fff;
 background:linear-gradient(145deg,#e21fa1,#267dfe);box-shadow:0 0 22px #e92ba55e;margin:0 0 13px}
.preview-empty h3{font-size:21px;line-height:1.1;letter-spacing:.04em;color:#fff;margin:0 0 9px}
.preview-empty p{font-size:14px;line-height:1.45;max-width:340px;color:#e5daef;margin:0 0 9px}
.preview-empty .preview-empty-small{color:#8ee1ff;font-size:12px;font-weight:800;margin:0}
@media(max-width:800px){.preview-empty{padding:17px 12px}.preview-empty-mark{width:54px;height:54px;font-size:34px}}

/* Spotlight + readable podium/count pattern. No color-only interpretation. */
.challenge-podium{border:1px solid #9c6c35;border-radius:20px;padding:17px;margin:18px 0;
 background:radial-gradient(ellipse at 50% 0%,#633c1a 0%,transparent 72%),linear-gradient(150deg,#211133,#091a36)}
.challenge-podium h4,.challenge-count-pattern h4{font-size:clamp(17px,2.5vw,24px);line-height:1.2;margin:0 0 15px;color:#ffd66f;letter-spacing:.025em}
.challenge-place{display:grid;grid-template-columns:75px minmax(0,1fr) minmax(125px,150px);gap:10px;align-items:center;
 background:#12152e;border:1px solid #3984cc;border-radius:15px;padding:12px 15px;margin:8px 0;min-height:72px}
.challenge-place.place-1{background:linear-gradient(125deg,#4a2a14,#1f1233);
 border:2px solid #ffce55;box-shadow:0 0 17px #ffc45150;min-height:90px}
.challenge-place.place-3{border-color:#ea389f}
.place-rank{font-size:clamp(18px,2.3vw,25px);color:#ffd86c}
.place-2 .place-rank,.place-2 .place-total{color:#64c0ff}
.place-3 .place-rank,.place-3 .place-total{color:#ff76bd}
.place-nickname{font-size:clamp(14px,1.9vw,19px);font-weight:850;overflow-wrap:anywhere;color:#fff}
.place-total{font-size:clamp(24px,3.5vw,36px);font-weight:950;color:#ffe08d;text-align:right;min-width:0}
.place-total small{display:block;white-space:nowrap;font-size:clamp(12px,1.4vw,15px);line-height:1.4;letter-spacing:0}
.place-total span{display:block;font-variant-numeric:tabular-nums}
.challenge-count-pattern{padding:18px;border:1px solid #864b9e;border-radius:18px;
 background:linear-gradient(140deg,#1c1032,#101e39);margin:16px 0}
.count-row{margin:13px 0 19px}
.count-head{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:clamp(13px,1.8vw,18px)}
.count-head strong{font-weight:950;color:#ff7bc8}.count-row:nth-child(3) .count-head strong{color:#62beff}
.count-row:nth-child(4) .count-head strong{color:#cf9bff}.count-row:nth-child(5) .count-head strong{color:#ffd36d}
.count-head span{color:#fff;font-weight:850;text-align:right;font-variant-numeric:tabular-nums}
.count-marks{display:flex;gap:5px;margin-top:9px}
.count-marks span{background:#463c64;border-radius:5px;flex:1;height:15px;min-width:0}
.count-marks .hit{background:linear-gradient(90deg,#ff32b5,#b869ff);box-shadow:0 0 9px #fa30a94a}
.count-row:nth-child(3) .count-marks .hit{background:linear-gradient(90deg,#2790ef,#4cdbff)}
.count-row:nth-child(4) .count-marks .hit{background:linear-gradient(90deg,#8c54df,#d19cff)}
.count-row:nth-child(5) .count-marks .hit{background:linear-gradient(90deg,#d59a22,#ffe392)}
.challenge-score-details{border:1px solid #71568c;border-radius:15px;padding:12px;margin-top:16px}
.challenge-score-details>summary{cursor:pointer;color:#d9ebff;font-weight:950;font-size:15px;letter-spacing:.03em;list-style-position:inside}
.challenge-score-details>.pattern-cards{margin-top:14px}
@media(max-width:560px){
 .challenge-podium,.challenge-count-pattern{padding:12px}
 .challenge-place{grid-template-columns:50px minmax(0,1fr);padding:11px 12px;gap:8px}
 .challenge-place .place-total{grid-column:2;display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:6px 13px;text-align:left;font-size:24px}
 .challenge-place .place-total small{font-size:14px;white-space:normal;overflow:visible}
 .place-rank{font-size:15px}.place-total{font-size:24px}.place-nickname{font-size:14px}
 .count-head{font-size:13px}.count-marks{gap:3px}
 .count-marks span{height:13px}
}

/* POPLIGHT is a BYP feature name, not a required membership status. */
#batchStep1 .poplight-title{
 font-size:clamp(25px,3.3vw,37px);font-weight:950;letter-spacing:-.018em;line-height:1.13;
 background:linear-gradient(90deg,#fff 0%,#ff4abc 42%,#51baff 100%);
 color:transparent;-webkit-background-clip:text;background-clip:text;
 text-shadow:0 0 22px #f9287a34;margin:6px 0 12px
}
#batchStep1 .poplight-help{font-size:13px;line-height:1.45;margin:0 0 12px;color:#dbe7ff}
@media(max-width:560px){#batchStep1 .poplight-title{font-size:29px}#batchStep1 .poplight-help{font-size:12px}}

/* Empty relationship selection is a prompt, never a silently chosen Romance. */
#batchContext:invalid{color:#cdb9df}
#batchContext:valid{color:#fff}
#batchContext option{color:#fff;background:#101329}
#batchContext option[value=""]{color:#cdb9df}

/* Saved Challenges — recognizable cards instead of reference-code accordions. */
#privateHistory{margin-top:22px}
#historyItems.saved-challenge-list{display:grid;gap:14px;max-height:none;overflow:visible}
.saved-challenge-card{padding:19px 21px;border-radius:18px;border:1px solid #7355a6;
 background:radial-gradient(ellipse at top right,#1f3267 0%,transparent 48%),linear-gradient(145deg,#1d1032,#0c162d)}
.saved-challenge-head{display:flex;justify-content:space-between;gap:8px 22px;align-items:center;flex-wrap:wrap}
.saved-challenge-title{font-size:clamp(18px,2vw,25px)!important;line-height:1.22;color:#fff;margin:0;font-weight:950}
.saved-challenge-date{font-size:14px;color:#c7d8fb;margin:0}
.saved-challenge-nicknames{color:#8ce2ff;font-weight:750;font-size:14px;line-height:1.45;margin:12px 0 16px;overflow-wrap:anywhere}
.saved-challenge-open{display:block;min-height:51px;width:100%;border-radius:12px;font-size:15px;font-weight:950;margin-top:14px;
 background:linear-gradient(100deg,#ec23b0,#347aff);box-shadow:0 6px 18px #e925a536}
.saved-private-details{border-top:1px solid #624778;padding-top:12px;margin-top:16px;color:#dbccea}
.saved-private-details summary{font-size:13px;font-weight:800;color:#e5d1fc;cursor:pointer}
.saved-private-details p{font-size:13px;line-height:1.5;color:#e7dff6;margin:10px 0;overflow-wrap:anywhere}
.saved-private-ref{color:#91cfff!important}
@media(max-width:560px){
 .saved-challenge-card{padding:16px 14px}
 .saved-challenge-head{display:block}
 .saved-challenge-date{margin:5px 0 0}
 .saved-challenge-open{min-height:54px}
}


/* Consistent owner-approved alternating contestant identities across ALL rosters. */
.roster-entry:nth-child(odd){background:linear-gradient(115deg,#421134,#1d0b31);border:2px solid #ff32b5;box-shadow:inset 0 0 15px #ff32b526,0 0 14px #ff32b51a}
.roster-entry:nth-child(even){background:linear-gradient(115deg,#102e58,#101a38);border:2px solid #23aeff;box-shadow:inset 0 0 15px #23aeff29,0 0 14px #23aeff19}
.roster-entry:nth-child(odd) .roster-letter{background:linear-gradient(135deg,#ff69d1,#d40083);box-shadow:0 0 11px #ff32b566}
.roster-entry:nth-child(even) .roster-letter{background:linear-gradient(135deg,#56d6ff,#006bdc);box-shadow:0 0 11px #23aeff66}
.roster-entry.selected{outline:3px solid #ffdc71;outline-offset:1px}
.pattern-card:nth-child(odd){border:2px solid #ff32b5;background:linear-gradient(125deg,#29102e,#120e27)}
.pattern-card:nth-child(even){border:2px solid #23aeff;background:linear-gradient(125deg,#101d39,#0d1129)}
.pattern-card:nth-child(odd)>strong{color:#ff9fe4}
.pattern-card:nth-child(even)>strong{color:#9dddff}
