/* Strong, separate group/topic cards; a calm shared screen on small phones. */
.planning-heading{text-align:center;margin:8px 0 20px}
.planning-eyebrow{display:inline-block;background:#ffe6a8;color:#593a18;padding:7px 13px;border-radius:99px;font-size:.78rem;font-weight:800;letter-spacing:.06em}
body.experience-page .planning-heading h2{font-size:clamp(1.55rem,5.8vw,2rem);margin:14px 0 8px}
.planning-heading p{font-size:1rem;line-height:1.5;margin:0;color:#655164}
.planning-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left}
.planning-choice{min-width:0;border-radius:19px;padding:17px 15px;border:2px solid;box-shadow:0 4px 0 #35203f0b;position:relative}
.planning-group{background:#e4f3e9;border-color:#96c7ae;color:#194f40}
.planning-topic{background:#f1e5f7;border-color:#c3a0d1;color:#53265d}
.planning-choice-label{display:flex;align-items:center;gap:8px;font-size:.76rem;font-weight:850;letter-spacing:.055em;margin-bottom:10px}
.planning-choice-label b{font-size:1.45rem;line-height:1}
.planning-choice strong{display:block;font-size:1.35rem;line-height:1.25;overflow-wrap:anywhere}
.planning-choice small{display:block;margin-top:9px;font-size:.82rem;line-height:1.35;color:inherit}
body.experience-page .planning-choice select{width:100%;margin:0;background:#ffffffb8;border-color:currentColor;color:inherit;font-size:1.06rem;font-weight:800;padding:11px 26px 11px 9px;min-height:48px}
.planning-meta{font-weight:750;text-align:center;font-size:.92rem;line-height:1.5;margin:16px 0 8px}
.planning-live{font-size:.88rem;line-height:1.4;color:#38614d;text-align:center;min-height:1.4em;margin:12px 0}
.planning-error{color:#a12640;font-weight:750}
.planning-host-options{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;margin:16px 0 8px;text-align:left}
.planning-host-options label{font-weight:750;font-size:.87rem;min-width:0}
.planning-host-options select{width:100%;min-height:44px;margin-top:6px}
.planning-check{display:flex;align-items:center;gap:9px;text-align:left;font-size:.95rem;padding:8px 0;line-height:1.4}
.planning-check input{width:21px;height:21px;flex-shrink:0;accent-color:#60336d}
.planning-consent{background:#fff0d6;padding:12px;border-radius:12px}
.planning-catalog{border:1px solid #d8c5bc;border-radius:15px;text-align:left;background:#fffaf3;margin:16px 0}
.planning-catalog summary{cursor:pointer;font-size:.95rem;font-weight:800;padding:15px;min-height:48px;color:#55334e}
.planning-catalog-section{margin:0 12px 12px;padding:12px;border-radius:12px}
.planning-catalog-groups{background:#e4f3e9}.planning-catalog-topics{background:#f1e5f7}
.planning-catalog h3{font-size:1rem;margin:0 0 10px}
.planning-chips{display:flex;flex-wrap:wrap;gap:7px}
.planning-chips span{display:inline-block;background:#fffaf8;border:1px solid #d5c6d2;border-radius:12px;padding:7px 10px;font-size:.87rem;line-height:1.35;overflow-wrap:anywhere}
.planning-chips .is-chosen{background:#52315f;color:white;border-color:#52315f;font-weight:800}
.planning-chips .is-chosen:before{content:'✓ ';font-weight:900}
.planning-catalog-note{font-size:.85rem;line-height:1.45;padding:0 16px 12px;margin:0;color:#655164}
.planning-people{font-size:.88rem;line-height:1.6;text-align:center;overflow-wrap:anywhere;color:#655164;margin:20px 0 12px}
.planning-wait{display:flex;gap:8px;align-items:center;justify-content:center;font-weight:800;font-size:1rem;margin:12px 0 5px}
.planning-wait span{width:8px;height:8px;border-radius:50%;background:#9363a2;animation:planning-pulse 2s ease-in-out infinite}
.planning-foot{font-size:.85rem;line-height:1.5;color:#655164;text-align:center;margin:8px 0 14px}
.planning-begin{width:100%;margin-top:4px}
#host-planning{border-top:2px dashed #d9c3b8;margin:20px 0;padding-top:14px}
.lobby-card.is-planning .lobby-invite-zone{display:grid;grid-template-columns:1fr 124px;column-gap:12px;text-align:left;align-items:center}
.lobby-card.is-planning .lobby-invite-zone .eyebrow,.lobby-card.is-planning .lobby-kicker{grid-column:1;margin:0;font-size:.72rem}
.lobby-card.is-planning .lobby-invite-zone .room-code{grid-column:1;font-size:1.8rem;margin:5px 0;letter-spacing:.08em}
.lobby-card.is-planning .lobby-invite-zone p:not(.lobby-kicker){grid-column:1;font-size:.82rem;line-height:1.4;margin:5px 0}
.lobby-card.is-planning .lobby-invite-zone .qr-wrap{grid-column:2;grid-row:1/5;width:124px;padding:6px;margin:0}
.lobby-card.is-planning .lobby-invite-zone .qr-wrap img{width:110px;height:110px;max-width:100%}
.planning-updated .planning-choices{animation:planning-appear .28s ease-out}
@keyframes planning-appear{from{transform:translateY(4px);opacity:.65}to{transform:translateY(0);opacity:1}}
@keyframes planning-pulse{50%{opacity:.35}}
@media(max-width:460px){.planning-choices{grid-template-columns:1fr;gap:10px}.planning-choice{padding:14px 15px}.planning-choice-label{margin-bottom:8px}.planning-choice small{margin-top:6px}.planning-heading{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.planning-wait span,.planning-updated .planning-choices{animation:none}}

/* Both host transitions stand out only when they are available. */
body.experience-page .btn.host-go-button{white-space:normal;line-height:1.35;min-height:58px;font-size:1.08rem;font-weight:850;padding:15px 18px;border-radius:17px}
body.experience-page .btn.host-go-button:not(:disabled){background:linear-gradient(115deg,#ffd66c,#ffb94f);border:2px solid #a76419;color:#432600;box-shadow:0 4px 0 #a7641930;animation:host-go-pulse 2.6s ease-in-out infinite}
body.experience-page .btn.host-go-button:not(:disabled):hover{background:#ffe196}
body.experience-page .btn.host-go-button:focus-visible{outline:3px solid #53315f;outline-offset:5px}
body.experience-page .btn.host-go-button:disabled{animation:none;box-shadow:none}
@keyframes host-go-pulse{0%,100%{box-shadow:0 4px 0 #a7641930,0 0 0 0 #e9a13b00}50%{box-shadow:0 4px 0 #a7641930,0 0 0 5px #e9a13b35}}
@media(prefers-reduced-motion:reduce){body.experience-page .btn.host-go-button:not(:disabled){animation:none}}

/* Two equally selectable cards, with a clear current choice. */
body.experience-page .mode-section-heading{padding:20px;background:linear-gradient(120deg,#faf5ff,#f4e9fb)}
.mode-section-heading h2{margin:5px 0 8px;font-size:24px}
.mode-section-heading p{margin:5px 0;font-size:14px;line-height:1.5}
.mode-section-heading .setup-step{font-size:12px;font-weight:800;color:#745091}
body.experience-page .mode-choice-title{font-size:18px;margin:22px 0 8px}
.mode-choice-intro{font-size:14px;line-height:1.6;margin:0 0 16px;color:#65546c}
body.experience-page .mode-choice-grid{display:grid;grid-template-columns:1fr;gap:14px}
body.experience-page .mode-choice-grid .mode-card>span{position:relative;border:2px solid #d6cadf;border-radius:20px;padding:18px;background:#fff;box-shadow:none;transition:border-color .18s,background .18s}
body.experience-page .mode-choice-grid .mode-card input:checked+span{border:3px solid #70408c;padding:17px;background:#f5edfc;box-shadow:0 4px 14px #70408c16}
body.experience-page .mode-choice-grid .mode-card b{font-size:21px;padding-right:25px}
body.experience-page .mode-choice-grid .mode-card .mode-tagline{display:block;font-size:15px;margin:7px 0 3px;color:#55356b}
body.experience-page .mode-choice-grid .mode-card small{font-size:14px;line-height:1.6;margin:4px 0 10px}
body.experience-page .mode-choice-grid .mode-card em{font-size:13px;line-height:1.6}
.mode-recommend{display:table;font-style:normal;font-size:12px;font-weight:800;padding:5px 10px;border-radius:20px;background:#ffe5ac;color:#694213;margin-bottom:10px}
.mode-state{display:block;font-style:normal;font-size:13px;font-weight:800;margin-top:12px;color:#695872}
.mode-state:after{content:'Tik om te kiezen'}
.mode-card input:checked+span .mode-state:after{content:'✓ Gekozen';color:#653780}
.mode-choice-grid .mode-card>span:before{content:'';position:absolute;right:18px;top:20px;width:20px;height:20px;border:2px solid #a894b5;border-radius:50%;background:#fff}
.mode-choice-grid .mode-card input:checked+span:before{background:#70408c;box-shadow:inset 0 0 0 4px #fff;border-color:#70408c}
.mode-extras{margin:16px 0;border-top:1px solid #e6daed;padding-top:14px}
.mode-extras>summary{cursor:pointer;color:#694580;font-size:14px;font-weight:750;padding:8px 0}
body.experience-page .mode-extras .prediction-option,body.experience-page .mode-extras .surprise-option{margin-top:12px}
body.experience-page .setup-confirmation small{text-align:left;font-size:14px}
.planning-host-options label small{display:block;font-size:13px;line-height:1.5;font-weight:500;margin-top:7px}
@media(min-width:650px){body.experience-page .mode-choice-grid{grid-template-columns:1fr 1fr}.mode-choice-grid .mode-card>span{height:100%}}

/* Keep both alternatives in view together, including on narrow phones. */
body.experience-page .mode-choice-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
body.experience-page .mode-choice-grid .mode-card{min-width:0;display:flex}
body.experience-page .mode-choice-grid .mode-card>span{display:flex;flex-direction:column;width:100%;height:100%;padding:13px 10px;border-radius:17px}
body.experience-page .mode-choice-grid .mode-card input:checked+span{padding:12px 9px}
body.experience-page .mode-choice-grid .mode-card b{font-size:17px;line-height:1.3;padding:0;min-height:44px;margin-top:8px}
body.experience-page .mode-choice-grid .mode-card small{font-size:13px;line-height:1.5;margin:6px 0 10px}
.mode-icon{font-style:normal;font-size:25px;line-height:1.25}
.mode-choice-grid .mode-card>span:before{width:18px;height:18px;right:10px;top:15px}
.mode-choice-grid .mode-recommend{font-size:10px;line-height:1.4;padding:4px 5px;border-radius:8px;margin:0 0 10px;align-self:flex-start}
.mode-choice-grid .mode-state{margin-top:auto;padding-top:6px;font-size:12px;line-height:1.5}
.mode-choice-grid .mode-state:after{content:'Kies dit spel'}
.mode-detail{border-radius:14px;background:#f5edfb;padding:15px;margin-top:12px;border-left:4px solid #8055a0}
.mode-detail>strong{font-size:16px;line-height:1.5;color:#533064}
.mode-detail p{font-size:14px;line-height:1.6;margin:7px 0}
.mode-detail em{font-size:13px;font-style:normal;font-weight:750;line-height:1.6;color:#67427d}
body.experience-page .mode-choice-title{background:#f4e5bc;border-radius:12px;padding:12px;color:#5a3a17;font-size:17px}

/* A short optional choice before the invitation, without lengthening setup. */
body.experience-page .extra-choice-dialog{box-sizing:border-box;width:calc(100% - 28px);max-width:420px;max-height:calc(100dvh - 32px);overflow:auto;border:2px solid #d6bfdf;border-radius:24px;background:#fffaf4;color:#493353;padding:24px;box-shadow:0 18px 70px #321b4c40}
.extra-choice-dialog::backdrop{background:#24142e88;backdrop-filter:blur(3px)}
.extra-choice-icon{font-size:32px;line-height:1.2;margin-bottom:12px}
body.experience-page .extra-choice-dialog h2{font-size:24px;line-height:1.25;margin:0 0 18px;color:#513264;outline:none}
.extra-choice-preview{padding:15px;border-radius:16px;background:#f1e7f8;border-left:4px solid #9364ae}
.extra-choice-preview strong{display:block;font-size:17px;line-height:1.5}
.extra-choice-preview p{font-size:15px;line-height:1.6;margin:8px 0 0}
.extra-choice-note{font-size:13px;line-height:1.5;margin:16px 0;color:#76617b}
body.experience-page .extra-choice-dialog .btn{display:block;width:100%;min-height:50px;white-space:normal;line-height:1.4;font-size:15px;margin:10px 0}
body.experience-page .extra-choice-dialog .btn.secondary{border:2px solid #b59ac6;background:white;color:#5b3a6e}
.extra-choice-dialog .text-button{display:block;width:100%;margin:14px 0 0;font-size:13px}

.same-answer-note{display:block;margin-top:7px;font-size:14px;font-weight:600;line-height:1.5;color:#664577}
.surprise-voter-chips span,.surprise-names,.answer-text,.chosen-person,.name-choice{overflow-wrap:anywhere}
body.experience-page .mode-choice-grid .mode-recommend{font-size:12px}
#continue-interlude{margin:18px 0 8px;white-space:normal;line-height:1.5}
