:root{
  --bg:#f6f3ee;
  --panel:#fff;
  --ink:#171717;
  --muted:#6c6a66;
  --line:#dedad2;
  --accent:#6c4cff;
  --accent2:#ff5f56;
  --radius:22px;
  --shadow:0 18px 60px rgba(35,28,18,.10);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 5% 0,#fff 0,transparent 28%),var(--bg);color:var(--ink)}
button,input,textarea,select{font:inherit}
button,a{touch-action:manipulation}
a{color:inherit}
.site-shell{max-width:1380px;margin:0 auto;padding:0 24px}
.site-header{max-width:1380px;margin:0 auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;text-decoration:none}
.brand-logo{display:block;height:44px;width:auto;max-width:min(320px,52vw)}
.site-nav{display:flex;align-items:center;gap:18px;font-size:14px}
.site-nav a{text-decoration:none}
.nav-cta,.btn.btn-primary,.btn-primary{background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important}
.plus-pill{background:#fff2c5;border:1px solid #e2c04b;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}
.hero{padding:34px 0 0}
.hero-home{display:block}
.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:800;color:var(--accent)}
h1{font-size:clamp(46px,7vw,92px);line-height:.9;letter-spacing:-.065em;margin:12px 0 20px;max-width:900px}
.hero p{font-size:clamp(18px,2vw,24px);line-height:1.45;color:#45423e;max-width:760px;margin:0}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.section{padding:56px 0}
.hero-builder{padding-top:20px}
.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}
.section h2{font-size:clamp(32px,4vw,54px);letter-spacing:-.04em;margin:0}
.section-heading p{max-width:570px;color:var(--muted);margin:0}
.set-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.set-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:12px;min-height:220px}
.set-card .category{text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--accent)}
.set-card h3{font-size:22px;margin:0;letter-spacing:-.03em}
.set-card p{color:var(--muted);margin:0;line-height:1.5;flex:1}
.panel{padding:22px;background:rgba(255,255,255,.96);border:1px solid rgba(215,209,198,.9);border-radius:var(--radius);box-shadow:var(--shadow)}
.panel h2{margin:0 0 8px;letter-spacing:-.03em}
.panel p.helper{margin:0 0 18px;color:var(--muted);font-size:14px}
.field{display:flex;flex-direction:column;gap:7px;margin:15px 0}
.field input,.field textarea{padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#fff}
.question-editor{width:100%;min-height:340px;border:1px solid var(--line);border-radius:16px;padding:16px;resize:vertical;line-height:1.55;background:#fff}
.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;align-items:center}
.toolbar .btn{padding:10px 14px}
.btn{border:1px solid var(--line);border-radius:999px;padding:13px 18px;background:#fff;color:var(--ink);font-weight:750;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .15s ease,background .15s ease,border-color .15s ease,color .15s ease}
.btn:hover{transform:translateY(-1px)}
.icon-button{padding:10px 14px}
.wheel-app{position:relative;min-height:760px;padding-bottom:24px}
.drawer-handle{position:absolute;left:18px;top:18px;z-index:12;box-shadow:0 18px 40px rgba(0,0,0,.18)}
.wheel-app.editor-open .drawer-handle{opacity:0;pointer-events:none}
.editor-panel{position:absolute;left:0;top:0;bottom:24px;width:min(420px,90vw);z-index:14;overflow:auto;padding:22px;transform:translateX(calc(-100% - 22px));transition:transform .28s ease,box-shadow .28s ease}
.wheel-app.editor-open .editor-panel{transform:translateX(0)}
.editor-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:start}
.settings-panel{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.settings-heading h3{margin:0 0 6px;font-size:18px;letter-spacing:-.03em}
.settings-heading p{margin:0 0 14px;color:var(--muted);font-size:14px;line-height:1.45}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.settings-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:750}
.settings-field select{padding:11px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:#171717}
.toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.toggle-card{display:flex;gap:12px;align-items:start;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff;cursor:pointer}
.toggle-card input{margin-top:3px}
.toggle-card strong{display:block;font-size:14px}
.toggle-card small{display:block;color:var(--muted);font-size:12px;line-height:1.35;margin-top:3px}
.panel-scrim{position:absolute;inset:0;z-index:13;border:0;background:rgba(14,11,25,.28);opacity:0;pointer-events:none;transition:opacity .25s ease;border-radius:26px}
.wheel-app.editor-open .panel-scrim{opacity:1;pointer-events:auto}
.wheel-stage{min-height:760px;padding:24px;position:relative;overflow:hidden;background:var(--panel);border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow);transition:.35s ease}
.wheel-stage:before,.wheel-stage:after,.theme-backdrop{content:"";position:absolute;pointer-events:none}
.wheel-stage:before{inset:12px;border-radius:18px;border:1px solid rgba(255,255,255,.45)}
.wheel-stage.theme-classic{background:radial-gradient(circle at top left,rgba(255,255,255,.95),rgba(255,255,255,.8) 35%,rgba(238,232,224,.82) 100%)}
.wheel-stage.theme-classic .theme-backdrop{inset:auto -5% -20% auto;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(108,76,255,.18),transparent 65%)}
.wheel-stage.theme-game_show{background:radial-gradient(circle at 50% 8%,#5f4bc4 0,#25155b 36%,#0b0916 86%);color:#fff;border-color:#3a2a87;box-shadow:inset 0 0 130px rgba(255,211,78,.06),var(--shadow)}
.wheel-stage.theme-game_show .theme-backdrop{inset:auto -8% -8% -8%;height:42%;background:radial-gradient(ellipse at center,#5b2d75 0,rgba(91,45,117,.2) 45%,transparent 72%)}
.wheel-stage.theme-game_show:after{left:18px;right:18px;top:18px;bottom:18px;border-radius:18px;box-shadow:inset 0 0 0 2px rgba(247,196,62,.58),0 0 30px rgba(247,196,62,.12)}
.wheel-stage.theme-retro_arcade{background:radial-gradient(circle at top,#27195d 0,#120f30 50%,#090813 100%);color:#f8f5ff;border-color:#4f41a4;box-shadow:inset 0 0 80px rgba(39,242,255,.08),var(--shadow)}
.wheel-stage.theme-retro_arcade .theme-backdrop{left:0;right:0;bottom:0;height:48%;background:linear-gradient(to top,rgba(51,231,255,.14),transparent 55%),repeating-linear-gradient(to right,transparent 0 39px,rgba(255,255,255,.04) 39px 40px),repeating-linear-gradient(to top,transparent 0 39px,rgba(255,255,255,.04) 39px 40px);transform:perspective(500px) rotateX(68deg);transform-origin:bottom center}
.wheel-stage.theme-party{background:linear-gradient(135deg,#fff7f3,#f3edff 48%,#edfdf7);border-color:#e6d9ff}
.wheel-stage.theme-party .theme-backdrop{inset:0;background:radial-gradient(circle at 12% 14%,rgba(255,151,87,.18),transparent 20%),radial-gradient(circle at 86% 18%,rgba(108,76,255,.16),transparent 22%),radial-gradient(circle at 72% 82%,rgba(33,199,138,.18),transparent 20%),radial-gradient(circle at 22% 75%,rgba(46,156,230,.12),transparent 18%)}
.wheel-stage.theme-classroom{background:#1f5b44;color:#fff;border-color:#164635;box-shadow:inset 0 0 0 10px #9c6a3e,inset 0 0 0 20px #744c2d,var(--shadow)}
.wheel-stage.theme-classroom .theme-backdrop{inset:34px;background:repeating-linear-gradient(0deg,transparent 0 39px,rgba(255,255,255,.05) 39px 40px),radial-gradient(circle at 18% 18%,rgba(255,255,255,.08),transparent 18%),radial-gradient(circle at 72% 74%,rgba(255,255,255,.05),transparent 20%)}
.stage-lights{display:none;position:absolute;inset:-30% -20%;pointer-events:none}
.theme-game_show .stage-lights{display:block}
.stage-lights:before,.stage-lights:after{content:"";position:absolute;width:22%;height:130%;left:18%;top:-10%;background:linear-gradient(to bottom,rgba(255,255,255,.38),transparent 65%);transform:rotate(20deg);filter:blur(12px);animation:sweep 3.8s ease-in-out infinite alternate}
.stage-lights:after{left:auto;right:18%;transform:rotate(-20deg);animation-delay:-1.7s}
.stage-badge{position:relative;z-index:2;display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;background:rgba(255,255,255,.78);backdrop-filter:blur(8px)}
.theme-game_show .stage-badge,.theme-retro_arcade .stage-badge,.theme-classroom .stage-badge{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.18)}
.wheel-wrap{position:relative;display:grid;place-items:center;margin:18px auto 14px;width:min(100%,650px);aspect-ratio:1;z-index:2}
.pointer{position:absolute;top:-4px;z-index:4;width:0;height:0;border-left:18px solid transparent;border-right:18px solid transparent;border-top:38px solid #161616;filter:drop-shadow(0 3px 2px rgba(0,0,0,.25))}
.theme-game_show .pointer,.theme-retro_arcade .pointer,.theme-classroom .pointer{border-top-color:#fff}
#wheelCanvas{width:100%;height:100%;display:block}
.spin-button{position:absolute;width:106px;height:106px;border-radius:50%;border:8px solid rgba(255,255,255,.82);background:#171717;color:#fff;font-weight:950;font-size:20px;letter-spacing:.04em;cursor:pointer;box-shadow:0 12px 40px rgba(0,0,0,.25)}
.spin-button:disabled{opacity:.5;cursor:not-allowed}
.theme-game_show .spin-button{background:#ffcd31;color:#1b133b;box-shadow:0 0 40px rgba(255,215,67,.55)}
.theme-retro_arcade .spin-button{background:#0df2ff;color:#141328;border-color:rgba(255,255,255,.4)}
.result-card{min-height:126px;border-radius:22px;border:1px solid var(--line);background:rgba(255,255,255,.92);color:#171717;padding:18px 22px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:3;backdrop-filter:blur(6px);overflow:hidden;transform-origin:center center}
.result-card:before{content:"";position:absolute;inset:-30% auto auto -20%;width:40%;height:180%;background:linear-gradient(to right,rgba(255,255,255,0),rgba(255,255,255,.55),rgba(255,255,255,0));transform:translateX(-160%) rotate(18deg)}
.result-card.revealed{animation:resultPop .7s cubic-bezier(.2,.85,.2,1)}
.result-card.revealed:before{animation:resultShimmer .9s ease-out}
.result-burst{position:absolute;left:50%;top:55%;width:180px;height:180px;border-radius:50%;transform:translate(-50%,-50%) scale(.6);opacity:0;z-index:2;pointer-events:none;background:radial-gradient(circle,rgba(255,255,255,.7),rgba(255,255,255,0) 68%)}
.result-burst.active{animation:burstFade .9s ease-out}
.theme-game_show .result-card,.theme-retro_arcade .result-card{background:rgba(20,18,34,.78);color:#fff;border-color:rgba(255,255,255,.18)}
.theme-party .result-card{background:rgba(255,255,255,.84)}
.theme-classroom .result-card{border:8px solid #9c6a3e;background:#173f31;color:#fff}
.result-label{font-size:11px;text-transform:uppercase;letter-spacing:.15em;font-weight:850;color:var(--muted)}
.theme-game_show .result-label,.theme-retro_arcade .result-label,.theme-classroom .result-label{color:rgba(255,255,255,.72)}
.result-question{font-size:clamp(22px,3vw,36px);line-height:1.12;font-weight:850;letter-spacing:-.03em;margin-top:7px}
.stage-toolbar{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:14px;position:relative;z-index:3}
.theme-game_show .stage-toolbar .btn,.theme-retro_arcade .stage-toolbar .btn,.theme-classroom .stage-toolbar .btn{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.18)}
.history{margin-top:16px;font-size:13px;color:var(--muted);position:relative;z-index:3}
.theme-game_show .history,.theme-retro_arcade .history,.theme-classroom .history{color:rgba(255,255,255,.74)}
.history ol{margin:7px 0 0;padding-left:20px}
.confetti-piece{position:absolute;z-index:9;width:10px;height:20px;top:-25px;pointer-events:none;animation:confettiFall var(--fall,2.7s) linear forwards}
.flash{animation:flash .55s ease-out}
.auth-shell{max-width:560px;margin:70px auto}
.auth-card{padding:28px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
.auth-card h1{font-size:46px;line-height:1;margin:0 0 8px}
.notice{padding:12px 14px;border-radius:12px;background:#fff5ce;border:1px solid #ead27a;margin-bottom:16px}
.wheels-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.wheel-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}
.wheel-card h3{margin:0 0 6px}.wheel-card p{margin:0 0 14px;color:var(--muted);font-size:13px}
.site-footer{max-width:1380px;margin:0 auto;padding:30px 24px 46px;color:var(--muted);font-size:13px;display:flex;justify-content:space-between;gap:20px}
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;place-items:center;padding:20px;z-index:50}.modal-backdrop.open{display:grid}.modal{width:min(520px,100%);background:#fff;color:#171717;border-radius:22px;padding:24px;box-shadow:0 35px 100px rgba(0,0,0,.35)}.modal h2{margin-top:0}
.presenting .site-header,.presenting .site-footer,.presenting .editor-panel,.presenting .drawer-handle,.presenting .panel-scrim{display:none!important}
.presenting .site-shell{max-width:none;padding:0}.presenting .wheel-app{display:block;padding:0;min-height:100vh}.presenting .wheel-stage{min-height:100vh;border:0;border-radius:0;display:flex;flex-direction:column;justify-content:center;padding:32px}.presenting .wheel-wrap{width:min(72vh,760px)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@keyframes sweep{from{transform:translateX(-45%) rotate(20deg)}to{transform:translateX(65%) rotate(38deg)}}
@keyframes confettiFall{to{transform:translate3d(var(--drift,0),105vh,0) rotate(880deg)}}
@keyframes flash{0%{filter:brightness(1)}35%{filter:brightness(1.45)}100%{filter:brightness(1)}}
@keyframes resultPop{0%{transform:translateY(12px) scale(.96);box-shadow:0 0 0 rgba(0,0,0,0)}55%{transform:translateY(-4px) scale(1.02);box-shadow:0 18px 40px rgba(0,0,0,.14)}100%{transform:translateY(0) scale(1);box-shadow:0 0 0 rgba(0,0,0,0)}}
@keyframes resultShimmer{0%{transform:translateX(-180%) rotate(18deg)}100%{transform:translateX(360%) rotate(18deg)}}
@keyframes burstFade{0%{opacity:0;transform:translate(-50%,-50%) scale(.35)}30%{opacity:.9;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.4)}}
@media(max-width:920px){
  .set-grid,.wheels-grid{grid-template-columns:1fr 1fr}
  .site-nav a:not(.nav-cta){display:none}
  .section-heading{flex-direction:column;align-items:flex-start}
  .wheel-stage{min-height:700px}
}
@media(max-width:760px){
  .site-shell,.site-header{padding-left:14px;padding-right:14px}
  .brand-logo{height:38px;max-width:65vw}
  h1{font-size:54px}
  .settings-grid,.toggle-grid,.set-grid,.wheels-grid{grid-template-columns:1fr}
  .editor-panel{width:min(94vw,420px)}
  .wheel-stage{padding:16px;min-height:620px}
  .spin-button{width:86px;height:86px;font-size:17px}
  .question-editor{min-height:240px}
  .site-footer{flex-direction:column}
  .site-nav{gap:12px}
  .site-nav .nav-cta{padding:10px 12px}
  .hero{padding-top:20px}
  .result-question{font-size:24px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition:none!important}}

/* 2.0.4 editor clarity + ad placements */
.editor-fieldset{border:1px solid var(--line);border-radius:16px;padding:12px;margin:14px 0;background:rgba(255,255,255,.72)}
.editor-fieldset legend{padding:0 8px;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.editor-fieldset>input{width:100%;padding:12px 13px;border:0;outline:0;background:transparent;color:var(--ink);font-size:16px}
.question-fieldset{padding:0 0 0;margin-top:16px;overflow:hidden}
.question-fieldset legend{margin-left:12px}
.question-editor-wrap{position:relative;min-height:320px;background:#fff}
.question-line-numbers{position:absolute;z-index:2;left:0;top:0;bottom:0;width:48px;padding:12px 0;background:#f4f1eb;border-right:1px solid var(--line);overflow:hidden;pointer-events:none;color:#8a867f;font-size:12px;font-weight:800;text-align:center;line-height:2.15rem}
.question-line-numbers span{display:block;height:2.15rem}
.question-fieldset .question-editor{display:block;min-height:320px;margin:0;border:0;border-radius:0;padding:12px 14px 12px 62px;line-height:2.15rem;background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(2.15rem - 1px),#eeeae3 calc(2.15rem - 1px),#eeeae3 2.15rem);outline:0}
.editor-actions{margin-top:12px}
.ad-slot{display:grid;place-items:center;border:1px dashed #c9c3b8;border-radius:16px;background:rgba(255,255,255,.48);color:#9a958c;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:800}
.ad-slot-banner{min-height:92px;margin:10px 0 38px}
.ad-slot-inline{min-height:140px;margin:0 0 44px}
.presenting .ad-slot{display:none!important}
@media(max-width:760px){
  .question-editor-wrap,.question-fieldset .question-editor{min-height:260px}
  .question-line-numbers{width:42px;font-size:11px}
  .question-fieldset .question-editor{padding-left:54px}
  .editor-actions .btn{flex:1 1 auto}
  .ad-slot-banner{min-height:72px;margin-bottom:24px}
  .ad-slot-inline{min-height:100px}
}
/* Game Show alternate Big Wheel layout */
.game-show-only{display:none}
.wheel-app.game-show-theme .game-show-only{display:flex}
.theme-game_show.big-wheel-mode .wheel-wrap{filter:drop-shadow(0 28px 42px rgba(0,0,0,.46))}
.theme-game_show.big-wheel-mode .wheel-wrap:before{content:"";position:absolute;z-index:-1;bottom:-30px;width:46%;height:54px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,205,49,.34),rgba(255,205,49,0) 70%);filter:blur(2px)}
.theme-game_show.big-wheel-mode .pointer{top:-13px;border-left-width:24px;border-right-width:24px;border-top-width:50px;border-top-color:#ffcd31;filter:drop-shadow(0 5px 3px rgba(0,0,0,.45))}
.theme-game_show.big-wheel-mode .pointer:after{content:"";position:absolute;left:-8px;top:-47px;width:16px;height:24px;border-radius:8px 8px 4px 4px;background:#e23b34;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.theme-game_show.big-wheel-mode .spin-button{width:92px;height:92px;border-color:#f6d767;background:#171328;color:#ffdf67;box-shadow:0 0 0 5px rgba(255,205,49,.18),0 14px 40px rgba(0,0,0,.38)}
.theme-game_show.big-wheel-mode .stage-badge:after{content:" · BIG WHEEL";color:#ffdf67}
@media(max-width:760px){
  .theme_game_show.big-wheel-mode .pointer,.theme-game_show.big-wheel-mode .pointer{top:-8px;border-left-width:20px;border-right-width:20px;border-top-width:42px}
  .theme-game_show.big-wheel-mode .spin-button{width:78px;height:78px;font-size:15px}
}

/* 2.0.6 account identity, structured question editor and wheel metadata */
.brand-logo{height:52px;max-width:min(300px,55vw)}
.user-chip{display:inline-flex;align-items:center;max-width:190px;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.editor-panel{width:min(470px,92vw)}
.question-editor-source{display:none!important}
.question-fieldset{padding:0 0 12px;overflow:visible}
.question-list-editor{display:flex;flex-direction:column;max-height:390px;overflow:auto;background:#fff;border-radius:0 0 14px 14px}
.question-row{display:grid;grid-template-columns:42px minmax(0,1fr) 36px;align-items:start;min-height:54px;border-bottom:1px solid #ece7df;background:#fff}
.question-row:last-child{border-bottom:0}
.question-row-number{display:grid;place-items:start center;min-height:100%;padding-top:14px;background:#f4f1eb;color:#77726a;font-size:12px;font-weight:900;border-right:1px solid var(--line)}
.question-row-input{display:block;width:100%;min-height:42px;max-height:160px;padding:12px 12px;border:0;outline:0;resize:none;overflow:auto;background:#fff;color:var(--ink);font:500 15px/1.42 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.question-row-input:focus{background:#fffdf8;box-shadow:inset 3px 0 0 var(--accent)}
.question-row-input[readonly]{background:#fbfaf7;color:#48443e}
.question-row-remove{align-self:start;margin:8px 6px 0 0;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#9a958c;font-size:21px;line-height:1;cursor:pointer}
.question-row-remove:hover{background:#f2eee7;color:#171717}
.question-list-editor[data-readonly="1"] .question-row{grid-template-columns:42px minmax(0,1fr)}
.add-question-button{margin:12px 12px 0;padding:9px 13px!important;font-size:13px}
.wheel-meta{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.wheel-meta h3{margin:0 0 10px;font-size:15px;letter-spacing:-.02em}
.wheel-meta dl{margin:0;display:grid;gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.wheel-meta dl>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;padding:9px 11px;border-bottom:1px solid #eeeae3;font-size:12px;line-height:1.35}
.wheel-meta dl>div:last-child{border-bottom:0}
.wheel-meta dt{font-weight:800;color:#7a756d}
.wheel-meta dd{margin:0;color:#27241f;overflow-wrap:anywhere}
.mono-meta{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px}
@media(max-width:760px){
  .brand-logo{height:42px;max-width:58vw}
  .user-chip{max-width:135px;padding:6px 9px}
  .editor-panel{width:min(96vw,470px)}
  .question-list-editor{max-height:44vh}
  .question-row{grid-template-columns:36px minmax(0,1fr) 34px}
  .question-list-editor[data-readonly="1"] .question-row{grid-template-columns:36px minmax(0,1fr)}
  .question-row-number{padding-top:13px}
  .question-row-input{font-size:16px;padding:11px 10px}
  .wheel-meta dl>div{grid-template-columns:90px minmax(0,1fr)}
}

/* 2.0.7: always-numbered wheel, stable question row dividers, true edge-on Big Wheel */
.question-row{position:relative;border-bottom:0;align-items:stretch}
.question-row::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#ece7df;pointer-events:none}
.question-row:last-child::after{display:none}
.question-row-number{align-self:stretch;min-height:0;height:auto;padding-top:14px}
.question-row-input{align-self:stretch}
.question-row-remove{align-self:start}

.theme-game_show.big-wheel-mode .wheel-wrap{filter:drop-shadow(0 30px 44px rgba(0,0,0,.52))}
.theme-game_show.big-wheel-mode .wheel-wrap:before{content:"";position:absolute;z-index:-1;left:22%;right:22%;bottom:4%;height:10%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,205,49,.28),rgba(255,205,49,0) 72%);filter:blur(4px)}
.theme-game_show.big-wheel-mode .pointer{top:50%;right:2%;left:auto;width:0;height:0;transform:translateY(-50%);border-top:21px solid transparent;border-bottom:21px solid transparent;border-left:0;border-right:54px solid #e23b34;filter:drop-shadow(0 5px 4px rgba(0,0,0,.48))}
.theme-game_show.big-wheel-mode .pointer:after{content:"";position:absolute;left:30px;top:-11px;width:22px;height:22px;border-radius:4px;background:#ffcd31;box-shadow:inset 0 0 0 3px rgba(255,255,255,.3),0 0 12px rgba(255,205,49,.5)}
.theme-game_show.big-wheel-mode .spin-button{width:auto;height:auto;min-width:118px;padding:14px 24px;border-radius:999px;border:3px solid #f6d767;left:50%;bottom:0;top:auto;transform:translateX(-50%);background:#171328;color:#ffdf67;box-shadow:0 0 0 5px rgba(255,205,49,.14),0 14px 40px rgba(0,0,0,.38)}
.theme-game_show.big-wheel-mode .stage-badge:after{content:" · BIG WHEEL";color:#ffdf67}

@media(max-width:760px){
  .question-row-number{padding-top:13px}
  .theme-game_show.big-wheel-mode .pointer{right:-2px;border-top-width:17px;border-bottom-width:17px;border-right-width:42px}
  .theme-game_show.big-wheel-mode .pointer:after{left:24px;top:-9px;width:18px;height:18px}
  .theme-game_show.big-wheel-mode .spin-button{min-width:96px;padding:11px 18px;font-size:14px}
}

/* 2.0.8 polish */
.user-menu{position:relative}
.user-menu summary{list-style:none;display:inline-flex;align-items:center;gap:7px;max-width:210px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.user-menu summary::-webkit-details-marker{display:none}
.user-menu summary:after{content:"▾";font-size:10px;color:var(--muted)}
.user-menu[open] summary{background:#f7f3ec}
.user-menu-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:80;min-width:170px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 44px rgba(0,0,0,.16)}
.user-menu-popover a{display:block;padding:10px 11px;border-radius:9px;font-weight:750}
.user-menu-popover a:hover{background:#f4f1eb}
.user-menu-label{padding:5px 11px 8px;color:var(--muted);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}

/* Question rows use the text area's content height directly, avoiding the
   occasional extra blank band between one- and multi-line questions. */
.question-row{min-height:0;align-items:stretch;overflow:hidden}
.question-row::after{left:0;right:0;background:#e9e4dc}
.question-row-number{display:flex;align-items:flex-start;justify-content:center;padding:10px 4px 0;line-height:1.35}
.question-row-input{min-height:0!important;max-height:128px;padding:9px 12px 10px;line-height:1.38;overflow:hidden}
.question-row-remove{margin-top:6px}

.wheel-meta-admin{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}
.wheel-meta-admin>summary{cursor:pointer;color:#817b72;font-size:12px;font-weight:800;list-style:none}
.wheel-meta-admin>summary::-webkit-details-marker{display:none}
.wheel-meta-admin>summary:after{content:" +"}
.wheel-meta-admin[open]>summary:after{content:" –"}
.wheel-meta-admin dl{margin-top:10px}

/* Cleaner standard wheel: the canvas now provides only wedge separators,
   edge numbers and a single hub. */
.theme-classic .wheel-wrap{filter:drop-shadow(0 18px 28px rgba(42,35,27,.16))}

/* Make the edge-on Game Show wheel feel like a large physical object. */
.theme-game_show.big-wheel-mode .wheel-wrap{width:min(100%,700px);filter:drop-shadow(0 34px 48px rgba(0,0,0,.56))}
.theme-game_show.big-wheel-mode .wheel-wrap:before{left:25%;right:25%;bottom:5%;height:9%;background:radial-gradient(ellipse at center,rgba(255,205,49,.30),rgba(255,205,49,0) 74%)}
.theme-game_show.big-wheel-mode .pointer{right:0;border-right-width:60px;border-top-width:23px;border-bottom-width:23px}
.theme-game_show.big-wheel-mode .pointer:after{left:34px;top:-12px;width:24px;height:24px;border-radius:50%;background:#ffcd31;box-shadow:inset 0 0 0 3px rgba(255,255,255,.42),0 0 18px rgba(255,205,49,.72)}
.theme-game_show.big-wheel-mode #wheelCanvas{filter:contrast(1.03) saturate(1.05)}

.result-label{transition:opacity .15s ease}

@media(max-width:920px){
  .site-nav{gap:12px}
  .user-menu summary{max-width:135px}
}
@media(max-width:760px){
  .user-menu summary{max-width:105px;padding:7px 9px}
  .user-menu-popover{right:0;min-width:150px}
  .question-row-number{padding-top:9px}
  .question-row-input{padding:8px 9px 9px;line-height:1.34}
  .theme-game_show.big-wheel-mode .pointer{right:-2px;border-right-width:44px;border-top-width:18px;border-bottom-width:18px}
  .theme-game_show.big-wheel-mode .pointer:after{left:24px;top:-9px;width:18px;height:18px}
}
@media(max-width:920px){
  .site-nav a[href="/mywheels.php"]{display:inline-flex!important}
  .site-nav a[href="/plus.php"],.site-nav a[href="/#question-sets"]{display:none!important}
}

/* 2.0.9: editor spacing, stable spinning result, cannon fanfare, admin tools */
.question-list-editor{max-height:none!important;overflow:visible!important}
.question-row{min-height:54px!important;align-items:stretch!important;overflow:hidden}
.question-row-number{padding:14px 5px 0!important;line-height:1.45!important}
.question-row-input{min-height:48px!important;max-height:none!important;padding:12px 12px 13px!important;line-height:1.45!important;overflow:hidden!important}
.question-row-remove{margin-top:10px!important}
.question-fieldset{overflow:visible!important}

.result-card.is-spinning{height:132px!important;min-height:132px!important;max-height:132px!important}
.result-card.is-spinning .result-question{font-size:clamp(18px,2.2vw,28px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.result-question.result-question-long:not(.is-spinning *){font-size:clamp(19px,2.4vw,30px)}
.result-question.result-question-xlong:not(.is-spinning *){font-size:clamp(17px,2vw,25px)}

.confetti-cannon-piece{position:absolute!important;z-index:24!important;width:9px;height:18px;top:auto;pointer-events:none;border-radius:2px;animation:confettiCannon var(--cannon-time,2.6s) cubic-bezier(.15,.72,.25,1) forwards!important;box-shadow:0 1px 1px rgba(0,0,0,.15)}
@keyframes confettiCannon{
  0%{transform:translate3d(0,0,0) rotate(0deg) scale(.65);opacity:1}
  58%{transform:translate3d(var(--cannon-x),var(--cannon-y),0) rotate(var(--cannon-r)) scale(1);opacity:1}
  100%{transform:translate3d(var(--cannon-x2),var(--cannon-y2),0) rotate(calc(var(--cannon-r) + 420deg)) scale(.9);opacity:0}
}

.menu-form{margin:0}
.user-menu-popover .menu-form button{display:block;width:100%;padding:10px 11px;border:0;border-radius:9px;background:transparent;color:var(--ink);font:inherit;font-weight:750;text-align:left;cursor:pointer}
.user-menu-popover .menu-form button:hover{background:#f4f1eb}
.impersonation-bar{max-width:1380px;margin:0 auto 8px;padding:9px 24px;display:flex;align-items:center;justify-content:center;gap:10px;color:#5c4410;background:#fff2c5;border-top:1px solid #ead27a;border-bottom:1px solid #ead27a;font-size:13px}
.impersonation-bar form{margin:0}.impersonation-bar button{border:0;background:transparent;text-decoration:underline;font-weight:800;cursor:pointer;color:inherit}

.admin-shell{max-width:1180px;margin:0 auto}
.admin-search{margin-bottom:18px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:16px}
.admin-search>label{display:block;font-weight:800;margin-bottom:8px}.admin-search>div{display:flex;gap:8px;flex-wrap:wrap}.admin-search input{min-width:min(420px,100%);padding:12px 13px;border:1px solid var(--line);border-radius:12px}
.admin-table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.admin-table{width:100%;border-collapse:collapse;min-width:760px}.admin-table th,.admin-table td{padding:13px 14px;border-bottom:1px solid #eeeae3;text-align:left;vertical-align:middle}.admin-table th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.admin-table tr:last-child td{border-bottom:0}.admin-actions form{margin:0}.admin-slug{margin-top:4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.muted{color:var(--muted)}
.admin-form-shell{max-width:980px}.admin-editor-form{padding:24px}.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-form-grid label,.admin-wide-field{display:flex;flex-direction:column;gap:7px;font-weight:800;font-size:13px}.admin-form-grid input,.admin-form-grid select,.admin-wide-field textarea{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}.admin-wide-field{margin-top:15px}.admin-wide-field small{color:var(--muted);font-weight:600}.admin-checkboxes{display:flex;gap:20px;flex-wrap:wrap;margin:15px 0}.notice-error{background:#ffe3df;border-color:#f0a39a;color:#7a241b}

@media(max-width:760px){
  .question-row{min-height:52px!important}
  .question-row-number{padding-top:13px!important}
  .question-row-input{min-height:46px!important;padding:11px 10px 12px!important;line-height:1.45!important}
  .result-card.is-spinning{height:118px!important;min-height:118px!important;max-height:118px!important}
  .impersonation-bar{padding:8px 14px;flex-wrap:wrap;text-align:center}
  .admin-form-grid{grid-template-columns:1fr}
}
.result-question.result-question-long{font-size:clamp(19px,2.4vw,30px)}
.result-question.result-question-xlong{font-size:clamp(17px,2vw,25px)}
.result-card.is-spinning .result-question,.result-card.is-spinning .result-question.result-question-long,.result-card.is-spinning .result-question.result-question-xlong{font-size:clamp(18px,2.2vw,28px)}

/* Plus comparison + PayPal checkout */
.plus-page{padding-bottom:42px}
.plus-hero{padding:54px 0 24px;max-width:900px}
.plus-hero h1{max-width:980px}
.plus-hero p{font-size:clamp(18px,2vw,24px);line-height:1.45;color:#45423e;max-width:760px}
.plus-active-notice{margin-top:22px}
.plus-compare{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch;padding:24px 0 28px}
.plan-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.plus-plan{border-color:#c9bdfc;box-shadow:0 22px 70px rgba(76,54,178,.14)}
.plus-plan-banner{position:absolute;right:20px;top:18px;padding:6px 10px;border-radius:999px;background:#171717;color:#fff;font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:850}
.plan-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:850;color:var(--accent)}
.plan-card h2{font-size:clamp(30px,3.5vw,48px);letter-spacing:-.045em;margin:8px 0 10px}
.plan-price{font-size:42px;font-weight:900;letter-spacing:-.05em;margin:4px 0 0}
.plan-price small{font-size:16px;font-weight:700;letter-spacing:0;color:var(--muted)}
.plan-alt-price{color:var(--muted);font-size:14px;margin-top:3px}
.feature-list{list-style:none;padding:0;margin:24px 0;display:grid;gap:13px;flex:1}
.feature-list li{display:flex;gap:10px;align-items:flex-start;line-height:1.4}
.feature-check{width:22px;height:22px;flex:0 0 22px;display:grid;place-items:center;border-radius:50%;background:#e9f8ef;color:#1d7d4e;font-size:13px;font-weight:900;margin-top:1px}
.feature-muted{width:22px;height:22px;flex:0 0 22px;display:grid;place-items:center;color:#999}
.upgrade-login{display:flex;gap:10px;flex-wrap:wrap}
.paypal-choice{display:grid;gap:14px;margin-top:4px}
.paypal-plan-option{border:1px solid var(--line);border-radius:18px;padding:14px;background:#fbfaf7}
.paypal-plan-option.recommended-plan{border-color:#b7a8fa;background:#f7f4ff}
.paypal-plan-copy{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:10px}
.paypal-plan-copy strong{font-size:19px}
.paypal-plan-copy span{font-size:12px;color:var(--muted)}
.paypal-status{min-height:24px;margin-top:12px;font-size:14px;font-weight:700;color:var(--muted)}
.paypal-status.success{color:#137846}.paypal-status.error{color:#b72a24}
.payment-note{font-size:12px;line-height:1.45;color:var(--muted);margin:8px 0 0}
.plus-footnote{padding:18px 0 54px;max-width:820px}.plus-footnote h2{font-size:32px;letter-spacing:-.035em;margin:0 0 8px}.plus-footnote p{color:var(--muted);line-height:1.55}
@media(max-width:820px){.plus-compare{grid-template-columns:1fr}.plus-plan-banner{position:static;align-self:flex-start;margin-bottom:14px}.plan-card{padding:22px}}

/* 2.0.11: admin-managed feature flags */
.feature-flag-panel{max-width:860px;padding:8px 22px 22px}
.feature-flag-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid var(--line)}
.feature-flag-row:last-of-type{border-bottom:0}
.feature-flag-copy{display:grid;gap:6px;min-width:0}
.feature-flag-copy strong{font-size:18px;letter-spacing:-.02em}
.feature-flag-copy small{display:block;max-width:650px;color:var(--muted);font-size:13px;line-height:1.45}
.feature-switch{position:relative;display:inline-flex;flex:0 0 auto}
.feature-switch input{position:absolute;opacity:0;pointer-events:none}
.feature-switch span{display:block;width:52px;height:30px;border-radius:999px;background:#cbc6be;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);transition:.18s ease;position:relative;cursor:pointer}
.feature-switch span:after{content:"";position:absolute;width:24px;height:24px;border-radius:50%;left:3px;top:3px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.22);transition:.18s ease}
.feature-switch input:checked + span{background:#171717}
.feature-switch input:checked + span:after{transform:translateX(22px)}
.plus-disabled-plan{opacity:.82}
@media(max-width:620px){.feature-flag-row{align-items:flex-start}.feature-flag-panel{padding-left:16px;padding-right:16px}}

/* 2.0.12: persistent panel close, saved-wheel picker, palette controls, admin bulk tools */
.editor-panel-head{
  position:sticky;
  top:0;
  z-index:20;
  margin:-22px -22px 16px;
  padding:18px 22px 12px;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid rgba(222,218,210,.92);
  backdrop-filter:blur(10px);
}
.editor-panel-head .icon-button{flex:0 0 auto}

.saved-wheel-picker{margin:24px 0 8px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:22px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.saved-wheel-picker strong{display:block;margin-top:4px;font-size:18px;letter-spacing:-.02em}
.saved-wheel-picker-form{display:flex;align-items:center;gap:10px;min-width:min(620px,60%)}
.saved-wheel-picker-form select{min-width:0;flex:1;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-weight:700}

.custom-colors-panel{margin-top:16px;padding:15px;border:1px solid var(--line);border-radius:16px;background:#fbfaf7}
.custom-colors-panel .settings-heading h4{margin:0 0 4px;font-size:15px;letter-spacing:-.02em}
.custom-colors-panel .settings-heading p{margin:0 0 12px}
.custom-color-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.custom-color-slot{display:grid;grid-template-columns:auto 42px minmax(0,1fr);align-items:center;gap:8px;padding:9px 10px;border:1px solid #e5dfd6;border-radius:12px;background:#fff;font-size:12px;font-weight:800;transition:.15s ease}
.custom-color-slot>span{white-space:nowrap}
.custom-color-slot input[type="color"]{width:38px;height:32px;padding:2px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}
.custom-color-slot input[type="text"]{min-width:0;width:100%;padding:8px 9px;border:1px solid var(--line);border-radius:8px;font:700 12px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase}
.custom-color-slot.is-unused{opacity:.42}

.admin-bulk-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}
.admin-bulk-bar>label{font-size:13px;font-weight:800;display:flex;align-items:center;gap:7px}
.admin-bulk-bar .muted{font-size:12px;flex:1 1 300px}
.admin-danger{border-color:#d79088!important;color:#9d2d25!important;background:#fff7f5!important}
.admin-danger:not(:disabled):hover{background:#ffe9e5!important}
.admin-danger:disabled{opacity:.45;cursor:not-allowed}
.admin-check-col{width:62px;text-align:center!important}
.admin-sort-link{text-decoration:none;color:inherit;white-space:nowrap}
.admin-sort-link:hover{text-decoration:underline}

@media(max-width:760px){
  .editor-panel-head{top:0}
  .saved-wheel-picker{align-items:stretch;flex-direction:column;gap:12px}
  .saved-wheel-picker-form{min-width:0;width:100%;flex-direction:column;align-items:stretch}
  .custom-color-grid{grid-template-columns:1fr}
}

/* 2.0.13 onboarding / account-save cues */
.account-nudge{margin:16px 0 2px;padding:14px 16px;border-radius:16px;background:#f4f1ff;border:1px solid #ddd5ff;color:#3f3860;font-size:13px;line-height:1.45}
.account-nudge strong{display:block;color:#171717;font-size:14px;margin-bottom:2px}
.account-nudge span{display:block;margin-bottom:6px}
.account-nudge a{font-weight:800;color:#4f3bc0}
@media(max-width:760px){.saved-wheel-picker-form .btn{width:100%}.account-nudge{font-size:14px}}

/* 2.0.14: simpler, cleaner Classic presentation */
.theme-classic.wheel-stage{
  background:linear-gradient(180deg,#fbfaf7 0%,#f4f0e9 100%);
  border-color:#ddd6cc;
  box-shadow:0 18px 55px rgba(42,35,27,.10);
}
.theme-classic .theme-backdrop{display:none}
.theme-classic .stage-badge{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(23,23,23,.08);
  color:#4d4943;
  box-shadow:none;
}
.theme-classic .wheel-wrap{
  filter:drop-shadow(0 22px 30px rgba(42,35,27,.18));
}
.theme-classic .pointer{
  border-top-color:#22201d;
  filter:drop-shadow(0 3px 3px rgba(0,0,0,.20));
}
.theme-classic .spin-button{
  background:#171717;
  color:#fff;
  border-color:#fff;
  box-shadow:0 10px 28px rgba(23,23,23,.22);
}
.theme-classic .result-card{
  background:rgba(255,255,255,.88);
  border-color:#ddd6cc;
  box-shadow:0 10px 26px rgba(42,35,27,.07);
}

/* 2.0.15: cleaner panel chrome, inline title editing, centered wheel title */
.editor-panel{
  padding:0 22px 22px;
  background:#fff;
}
.editor-panel-head{
  top:0;
  margin:0 -22px 16px;
  padding:18px 22px 14px;
  background:#fff;
  border-bottom:1px solid #e6e0d7;
  box-shadow:0 8px 18px rgba(31,27,22,.06);
  backdrop-filter:none;
}
.editor-panel-head-main{min-width:0;flex:1 1 auto}
.editor-title-row{display:flex;align-items:center;gap:8px;min-width:0;margin-top:3px}
.editor-title-row h2{min-width:0;margin:0;overflow-wrap:anywhere}
.title-edit-button{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#777168;
  cursor:pointer;
}
.title-edit-button:hover,.title-edit-button:focus-visible{background:#f1ede6;color:#171717;outline:none}
.title-edit-button svg{width:17px;height:17px;fill:currentColor}
.title-edit-input{
  display:none;
  min-width:0;
  width:100%;
  padding:7px 9px;
  border:1px solid #cfc7bc;
  border-radius:9px;
  background:#fff;
  color:var(--ink);
  font:850 clamp(22px,2.5vw,31px)/1.08 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:-.03em;
}
.editor-title-row.is-editing h2,.editor-title-row.is-editing .title-edit-button{display:none}
.editor-title-row.is-editing .title-edit-input{display:block}

.stage-badge{
  display:block;
  width:100%;
  max-width:900px;
  margin:0 auto;
  padding:4px 72px 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  color:#292621;
  text-align:center;
  text-transform:none;
  letter-spacing:-.03em;
  font-size:clamp(22px,2.2vw,32px);
  line-height:1.08;
  font-weight:850;
}
.theme-classic .stage-badge,.theme-party .stage-badge{background:transparent;border:0;color:#292621;box-shadow:none}
.theme-game_show .stage-badge,.theme-retro_arcade .stage-badge,.theme-classroom .stage-badge{background:transparent;border:0;color:#fff;box-shadow:none}
.theme-game_show.big-wheel-mode .stage-badge:after{
  content:"BIG WHEEL";
  display:block;
  margin-top:5px;
  color:#ffdf67;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.16em;
}
@media(max-width:760px){
  .editor-panel{padding-left:16px;padding-right:16px}
  .editor-panel-head{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
  .stage-badge{padding-left:42px;padding-right:42px;font-size:clamp(20px,6vw,28px)}
}

/* 2.0.17: full-screen layered confetti cannon fanfare */
.confetti-layer{position:fixed;inset:0;z-index:9998;overflow:hidden;pointer-events:none;contain:layout paint}
.confetti-fanfare-piece{position:absolute;display:block;pointer-events:none;opacity:0;transform-origin:center;will-change:transform,opacity;animation:confettiFanfare var(--confetti-time,2.8s) cubic-bezier(.16,.72,.24,1) var(--confetti-delay,0s) forwards;box-shadow:0 1px 1px rgba(0,0,0,.12)}
.confetti-fanfare-piece.confetti-rect{width:9px;height:18px;border-radius:1.5px}
.confetti-fanfare-piece.confetti-square{width:11px;height:11px;border-radius:1px}
.confetti-fanfare-piece.confetti-circle{width:10px;height:10px;border-radius:50%}
.confetti-fanfare-piece.confetti-streamer{width:5px;height:26px;border-radius:999px}
@keyframes confettiFanfare{
  0%{opacity:1;transform:translate3d(0,0,0) rotate(0deg) scale(.65)}
  36%{opacity:1;transform:translate3d(var(--confetti-x1),var(--confetti-y1),0) rotate(calc(var(--confetti-r) * .48)) scale(var(--confetti-scale,1))}
  72%{opacity:1}
  100%{opacity:0;transform:translate3d(var(--confetti-x2),var(--confetti-y2),0) rotate(var(--confetti-r)) scale(.92)}
}
@media(prefers-reduced-motion:reduce){.confetti-layer{display:none!important}}

/* 2.0.17 suggestion box + footer */
.footer-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.footer-links a{color:inherit;font-weight:800;text-decoration:none}.footer-links a:hover{text-decoration:underline}
.suggestion-shell{max-width:720px}.suggestion-card>p{color:var(--muted);font-size:16px;line-height:1.55}
.suggestion-form{display:grid;gap:9px;margin-top:20px}.suggestion-form textarea{width:100%;resize:vertical;min-height:180px;padding:14px 15px;border:1px solid var(--line);border-radius:14px;font:inherit;line-height:1.5;color:var(--ink);background:#fff}.suggestion-form textarea:focus{outline:2px solid rgba(84,66,198,.18);border-color:#8d7ee2}.suggestion-form-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.suggestion-form-foot span{font-size:12px;color:var(--muted)}
.suggestion-thanks{background:#eaf8ef;border-color:#b8dfc5;color:#1d633f}.suggestion-login{margin-top:20px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fbfaf7}.suggestion-login p{margin-top:0;color:var(--muted)}
.suggestion-admin-list{display:grid;gap:12px}.suggestion-admin-card{padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(42,35,27,.05)}.suggestion-admin-card p{margin:12px 0 0;line-height:1.55}.suggestion-admin-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:12px}.suggestion-admin-meta strong{color:var(--ink)}
@media(max-width:760px){.footer-links{justify-content:flex-start}.suggestion-form-foot{align-items:stretch;flex-direction:column}.suggestion-form-foot .btn{width:100%}}
.confetti-cannon-flash{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,#fff 0 9%,#ffe47a 10% 28%,rgba(255,143,55,.72) 29% 43%,rgba(255,143,55,0) 70%);filter:blur(.2px);animation:cannonFlash .62s ease-out forwards}
@keyframes cannonFlash{0%{opacity:0;transform:scale(.25)}18%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(2.2)}}

/* 2.0.18 round completion, question-list spacing and footer polish */
.question-fieldset{padding-top:10px!important;padding-bottom:12px!important}
.question-fieldset .question-list-editor{margin-top:2px}
.question-row:last-child::after{display:block!important}
.add-question-button{margin-top:14px!important}

.session-complete{margin-top:16px;padding-top:14px;border-top:1px solid rgba(23,23,23,.12);display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left}
.session-complete[hidden]{display:none!important}
.session-complete>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.session-complete strong{font-size:15px;letter-spacing:-.01em}
.session-complete span{font-size:13px;line-height:1.4;color:var(--muted)}
.result-card.is-complete{min-height:168px}
.theme-game_show .session-complete,.theme-retro_arcade .session-complete,.theme-classroom .session-complete{border-top-color:rgba(255,255,255,.18)}
.theme-game_show .session-complete span,.theme-retro_arcade .session-complete span,.theme-classroom .session-complete span{color:rgba(255,255,255,.72)}

.footer-copy{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.footer-version{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.62);font-size:10px;font-weight:850;letter-spacing:.06em;color:#817b72}
.made-in-michigan{display:block;width:80px;height:50px;object-fit:contain}
.footer-links{align-items:center}

@media(max-width:760px){
  .question-fieldset{padding-top:9px!important}
  .session-complete{align-items:stretch;flex-direction:column}
  .session-complete .btn{width:100%}
}


/* 2.0.19 title-edit form, question-list framing, wheel-local fanfare, admin copy */
.title-edit-input{
  min-height:44px;
  padding:10px 12px;
  border:1px solid #bfb7ab;
  border-radius:10px;
  background:#fff;
  box-shadow:0 0 0 3px rgba(108,76,255,.07);
  color:var(--ink);
  font:650 16px/1.35 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:0;
}
.title-edit-input:focus{outline:2px solid rgba(108,76,255,.22);border-color:#8d7ee2}
.question-fieldset .question-list-editor{border-top:1px solid #e9e4dc}

.wheel-meta dd.wheel-id-meta{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.wheel-meta .wheel-id-value{overflow-wrap:anywhere}
.copy-meta-button{padding:5px 9px!important;font-size:11px!important;line-height:1!important;min-height:28px}

/* Confetti is now anchored to the wheel stage instead of the browser viewport. */
.confetti-layer{position:absolute;inset:0;z-index:25;overflow:hidden;pointer-events:none;contain:layout paint;border-radius:inherit}
.confetti-fanfare-piece.confetti-rect{width:11px;height:22px}
.confetti-fanfare-piece.confetti-square{width:13px;height:13px}
.confetti-fanfare-piece.confetti-circle{width:12px;height:12px}
.confetti-fanfare-piece.confetti-streamer{width:6px;height:32px}
.confetti-cannon-flash{width:64px;height:64px;margin:-32px 0 0 -32px}
.presenting .confetti-layer{border-radius:0}

/* 2.0.20: tighter known-user home, explicit title editing, admin UX, fixed feedback footer */
body{padding-bottom:72px}
.hero-home-known{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding-top:22px;padding-bottom:2px}
.hero-home-known h1{font-size:clamp(34px,4.4vw,58px);line-height:.96;max-width:760px;margin:8px 0 10px;letter-spacing:-.052em}
.hero-home-known p{font-size:16px;line-height:1.45;max-width:650px}
.hero-home-known .hero-actions{margin:0 0 6px;flex:0 0 auto}

.editor-title-row.is-editing{align-items:center;flex-wrap:wrap}
.editor-title-row.is-editing .title-edit-input{display:block;flex:1 1 220px;width:auto}
.title-edit-actions{display:none;align-items:center;gap:6px;flex:0 0 auto}
.editor-title-row.is-editing .title-edit-actions{display:flex}
.title-edit-actions .btn{padding:8px 11px;font-size:12px;min-height:38px}
.title-edit-save{background:#171717!important;color:#fff!important;border-color:#171717!important}

.admin-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-8px 0 22px;padding:7px;background:#eee9e1;border:1px solid #ddd6cb;border-radius:14px;width:max-content;max-width:100%}
.admin-nav a{padding:8px 12px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:800;color:#5d5851;white-space:nowrap}
.admin-nav a:hover{background:rgba(255,255,255,.72);color:#171717}
.admin-nav a.is-current{background:#171717;color:#fff;box-shadow:0 3px 10px rgba(23,23,23,.14)}

.admin-users-table-wrap{overflow-x:auto}
.admin-users-table{min-width:0!important;table-layout:fixed}
.admin-users-table .admin-check-col{width:54px;text-align:center}
.admin-users-table .admin-user-col{width:19%}
.admin-users-table .admin-email-col{width:24%}
.admin-users-table .admin-wheels-col{width:82px;text-align:center}
.admin-users-table .admin-login-col{width:160px}
.admin-users-table .admin-user-actions-col{width:220px}
.admin-cell-ellipsis{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-user-badges{display:flex;gap:4px;margin-top:5px;flex-wrap:wrap}
.admin-user-badges .plus-pill{font-size:10px;padding:2px 6px}
.admin-user-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}
.admin-user-actions form{margin:0}
.admin-user-actions .btn{padding:8px 11px;font-size:12px}

.site-footer{position:fixed;left:0;right:0;bottom:0;z-index:60;max-width:none;margin:0;padding:8px 18px;background:rgba(250,248,244,.96);border-top:1px solid #ded8cf;box-shadow:0 -7px 28px rgba(42,35,27,.08);backdrop-filter:blur(10px);color:var(--muted)}
.site-footer-inner{max-width:1380px;margin:0 auto;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.site-footer .footer-copy{font-size:12px}
.site-footer .made-in-michigan{width:58px;height:36px}
.footer-suggestion-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border-radius:999px;background:#171717;color:#fff!important;font-size:12px;font-weight:850;text-decoration:none!important;box-shadow:0 5px 16px rgba(23,23,23,.16)}
.footer-suggestion-button:hover{transform:translateY(-1px);box-shadow:0 7px 20px rgba(23,23,23,.22)}
body.presenting{padding-bottom:0}

/* Move the fanfare origins toward the wheel's center and make the pieces read bigger. */
.confetti-fanfare-piece.confetti-rect{width:13px;height:26px}
.confetti-fanfare-piece.confetti-square{width:15px;height:15px}
.confetti-fanfare-piece.confetti-circle{width:14px;height:14px}
.confetti-fanfare-piece.confetti-streamer{width:7px;height:38px}
.confetti-cannon-flash{width:78px;height:78px;margin:-39px 0 0 -39px}

@media(max-width:900px){
  .hero-home-known{align-items:flex-start;flex-direction:column;gap:12px}
  .hero-home-known .hero-actions{margin:0}
  .admin-users-table .admin-user-col{width:20%}
  .admin-users-table .admin-email-col{width:22%}
  .admin-users-table .admin-user-actions-col{width:190px}
  .admin-user-actions{flex-direction:column;align-items:stretch;gap:5px}
  .admin-user-actions .btn{width:100%}
}
@media(max-width:760px){
  body{padding-bottom:74px}
  .site-footer{padding:7px 12px}
  .site-footer-inner{min-height:58px;gap:10px}
  .site-footer .footer-copy{font-size:10px;line-height:1.25;max-width:52%}
  .site-footer .made-in-michigan{display:none}
  .footer-suggestion-button{min-height:36px;padding:7px 11px}
  .admin-users-table-wrap{overflow-x:auto}
  .admin-users-table{min-width:700px!important}
  .admin-nav{width:100%;overflow-x:auto;flex-wrap:nowrap}
  .editor-title-row.is-editing .title-edit-actions{width:100%}
}


/* 2.0.21: consolidated wheel flow, edit tab, eight-color palette and tighter stage chrome */
.wheel-app{padding-bottom:0}
.editor-panel{bottom:0}
.drawer-handle{
  position:absolute;
  left:0;
  top:50%;
  z-index:12;
  transform:translateY(-50%);
  min-height:44px;
  padding:10px 12px 10px 10px;
  border:1px solid #d7d0c6;
  border-left:0;
  border-radius:0 12px 12px 0;
  background:rgba(255,255,255,.96);
  color:#504b44;
  box-shadow:0 8px 22px rgba(32,28,22,.10);
  font:750 12px/1.1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:0;
  cursor:pointer;
  transition:background .15s ease,color .15s ease,box-shadow .15s ease,opacity .15s ease;
}
.drawer-handle:hover,.drawer-handle:focus-visible{background:#171717;color:#fff;outline:none;box-shadow:0 10px 26px rgba(23,23,23,.18)}
.wheel-app.editor-open .drawer-handle{opacity:0;pointer-events:none}
.add-question-button{display:flex!important;width:max-content;margin:14px 12px 0 auto!important}
.session-complete{margin-top:12px;padding-top:10px;justify-content:flex-start}
.session-complete>div{gap:2px}
.session-complete strong{font-size:13px}
.session-complete span{font-size:12px}
.result-card.is-complete{min-height:142px}
.stage-toolbar{padding-top:2px}
@media(max-width:760px){
  .drawer-handle{top:46%;padding:9px 10px;font-size:11px}
}

.saved-wheel-secondary-actions{display:flex;justify-content:flex-end;margin-top:8px}
.text-danger-action{border:0;background:transparent;padding:4px 0;color:#9d3c34;font:750 12px/1.2 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(157,60,52,.35);text-underline-offset:3px}
.text-danger-action:hover{color:#7e241d;text-decoration-color:currentColor}

/* 2.0.22: return-user hero actions removed; behavior toggles precede color controls in wheel settings. */

/* 2.0.23: quieter editor chrome, Okabe-Ito palette support, feedback cue, auth polish */
.btn,.spin-button,.footer-suggestion-button,.text-danger-action,.user-menu button{ text-transform:lowercase; }
.editor-title-row h2{font-size:22px!important;line-height:1.15!important;letter-spacing:-.025em!important;margin:0!important;font-weight:800;}
.editor-panel-head{align-items:flex-start;gap:10px;}
.editor-panel-head-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto;}
.editor-panel-head-actions .btn{padding:9px 12px;min-height:38px;font-size:12px;}
.save-status{display:block;min-height:14px;margin:6px 2px 0;color:var(--muted);font-size:11px;text-align:right;}
.question-fieldset-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #e9e4dc;}
.question-fieldset-actions .add-question-button{margin:0!important;}
.settings-panel.editor-fieldset{margin-top:18px;padding:14px 12px 12px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.58);}
.settings-panel.editor-fieldset>legend{padding:0 7px;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:850;color:#6c6963;}
.settings-panel.editor-fieldset .settings-grid:first-of-type{margin-top:1px;}
.saved-wheel-secondary-actions{margin:14px 3px 2px;justify-content:flex-end;}
.stage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.stage-toolbar-left,.stage-toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.stage-toolbar-left{margin-right:auto;}
.stage-toolbar .btn{padding:10px 14px;font-size:13px;}
.wheel-app.editor-open .stage-toolbar-left{visibility:hidden;}
.footer-links{margin-left:auto;justify-content:flex-end;}
.footer-suggestion-button{transform-origin:85% 50%;}
.footer-suggestion-button.suggestion-attention{animation:woqSuggestionWiggle 1.35s cubic-bezier(.36,.07,.19,.97) both;}
@keyframes woqSuggestionWiggle{0%,100%{transform:rotate(0) translateY(0)}12%{transform:rotate(-5deg) translateY(-1px)}24%{transform:rotate(5deg) translateY(-1px)}36%{transform:rotate(-4deg)}48%{transform:rotate(4deg)}60%{transform:rotate(-2deg)}72%{transform:rotate(2deg)}84%{transform:rotate(0)}}
.auth-secondary{margin-top:10px!important;font-size:13px;}
.auth-inline-form{margin-top:12px;}
.text-link-button{border:0;background:transparent;padding:0;color:var(--ink);font:750 13px/1.3 inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
@media(max-width:760px){
  .editor-panel-head{flex-wrap:wrap;}
  .editor-panel-head-actions{width:100%;justify-content:flex-end;}
  .stage-toolbar{align-items:stretch;}
  .stage-toolbar-left,.stage-toolbar-right{width:auto;}
  .stage-toolbar-right{margin-left:auto;justify-content:flex-end;}
}
.nav-cta,.text-link-button{text-transform:lowercase}
.presenting .stage-toolbar-left{display:none!important}
