:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#171713;background:#f4f1e8;font-synthesis:none;--ink:#171713;--paper:#f4f1e8;--card:#fff;--yellow:#efc53f;--muted:#68665f;--line:#ddd8ca;--red:#a1261b;--green:#247a43}*{box-sizing:border-box}html{min-height:100%;background:var(--paper)}body{margin:0;min-height:100vh;background:radial-gradient(circle at top right,#f4cf59 0,transparent 38%),var(--paper);color:var(--ink)}button,input,textarea,select{font:inherit}a{color:inherit}.topbar{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(100% - 28px,1180px);margin:auto;padding:18px 0}.brand{display:flex;align-items:center;gap:11px;text-decoration:none}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--ink);color:var(--yellow);font-weight:950;letter-spacing:-.08em}.brand strong,.brand small{display:block}.brand small{color:var(--muted)}.admin-nav{display:flex;align-items:center;gap:7px}.admin-nav>a,.link-button{padding:9px 12px;border:0;border-radius:11px;background:transparent;color:var(--ink);text-decoration:none;font-weight:800}.admin-nav>a:hover,.link-button:hover{background:#fff}.admin-nav form{margin:0}.shell{width:min(100% - 28px,980px);margin:auto;padding:26px 0 70px}.admin-shell{width:min(100% - 28px,1180px)}.narrow{width:min(100% - 28px,720px)}.card{padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--card);box-shadow:0 16px 50px #39382e12}.eyebrow{margin:0 0 9px;color:#8a6500;font-size:.75rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}h1{margin:0;font-size:clamp(2rem,6vw,3.5rem);line-height:1}h2{margin:0 0 18px}h3{margin:8px 0}.muted{color:var(--muted);line-height:1.55}.empty{color:var(--muted);text-align:center;padding:20px}form{display:grid;gap:16px;margin-top:24px}label{display:grid;gap:7px;font-weight:800}label small{color:var(--muted);font-weight:500}input,textarea,select{width:100%;padding:13px 14px;border:1px solid #c9c4b7;border-radius:13px;background:#faf9f5;color:var(--ink);font-size:1rem}input:focus,textarea:focus,select:focus{outline:3px solid #efc53f66;border-color:#9c7200}button,.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:13px;padding:13px 17px;background:var(--ink);color:#fff;text-decoration:none;font-weight:850;cursor:pointer}button:hover,.button:hover{background:#3a3931}.primary{background:var(--yellow);color:var(--ink)}.primary:hover{background:#f4d45f}.secondary{border:1px solid #c9c4b7;background:#fff;color:var(--ink)}.danger{background:#a72c22}.big{min-height:56px;font-size:1.05rem}.login-card{width:min(100%,430px);margin:7vh auto}.landing{display:grid;gap:16px;min-height:calc(100vh - 95px);align-content:center}.hero-card{overflow:hidden;position:relative;padding:clamp(25px,6vw,60px);border:1px solid var(--line);border-radius:30px;background:#fff;box-shadow:0 25px 80px #17171316}.hero-card:after{content:"?";position:absolute;right:-20px;top:-70px;color:#efc53f33;font-size:19rem;font-weight:950;line-height:1;transform:rotate(8deg);pointer-events:none}.hero-card>*{position:relative;z-index:1}.hero-card h1 em{color:#a1261b;font-style:normal}.hero-card>p:not(.eyebrow){max-width:570px;color:var(--muted);font-size:1.12rem}.hero-card form{max-width:520px}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.feature-strip span{padding:15px;border:1px solid var(--line);border-radius:16px;background:#fff;text-align:center;font-weight:800}.dashboard-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.stat{display:grid;gap:8px;min-height:136px;padding:20px;border-radius:20px;background:var(--ink);color:#fff}.stat strong{font-size:2.8rem}.stat small{color:#d6d3c8}.stat.yellow{background:var(--yellow);color:var(--ink)}.stat.yellow small{color:#584606}.quiz-list{display:grid;gap:12px}.quiz-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border:1px solid var(--line);border-radius:20px;background:#fff}.quiz-card p{margin:0;color:var(--muted)}.actions,.control-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.actions form{margin:0}.pill{display:inline-flex;padding:5px 9px;border-radius:999px;background:#e9e6dc;font-size:.72rem;font-weight:900}.editor-grid,.live-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);gap:16px;align-items:start}.editor-grid aside,.live-columns aside{display:grid;gap:16px;position:sticky;top:12px}.editor-grid aside .card+ .card{margin-top:16px}.question-row,.live-row,.team-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #e5e1d7;text-decoration:none}.question-row:last-child,.live-row:last-child,.team-row:last-child{border-bottom:0}.question-row>span:nth-child(2),.live-row>span:first-child,.team-row>span{display:grid;flex:1;gap:3px}.question-row small,.live-row small,.team-row small{color:var(--muted)}.question-no{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:var(--yellow);font-weight:900}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.media-current{padding:10px;border-radius:10px;background:#f4f1e8}.live-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:18px;padding:25px 30px;border-radius:24px;background:var(--ink);color:#fff}.live-hero .eyebrow{color:var(--yellow)}.join-code{margin:16px 0 5px;color:var(--yellow);font-size:clamp(2.6rem,10vw,5rem);font-weight:950;letter-spacing:.15em}.qr-placeholder{display:grid;place-items:center;width:150px;height:150px;border-radius:16px;background:#fff;color:var(--ink)}.control-card{margin-bottom:16px}.control-buttons button{flex:1 1 170px}.answer-row{display:grid;grid-template-columns:minmax(0,1fr) 80px auto;align-items:center;gap:8px;margin:0;padding:10px 0;border-bottom:1px solid #e5e1d7}.answer-row span{display:grid}.answer-row em{color:var(--muted);font-style:normal}.answer-row input{padding:10px}.toast-static{width:min(100% - 28px,980px);margin:4px auto 0;padding:12px 15px;border-radius:13px;background:#dff5e6;color:#176333;font-weight:800}.toast-static.error{background:#ffe3de;color:#8b261b}.play-shell{display:grid;grid-template-rows:auto 1fr auto;min-height:calc(100dvh - 88px);width:min(100%,760px);margin:auto;padding:0 14px 14px}.connection{justify-self:center;padding:5px 11px;border-radius:999px;background:#fff8dc;color:#725600;font-size:.75rem;font-weight:900}.connection.online{background:#e4f5e8;color:#176333}.connection.offline{background:#ffe3de;color:#8b261b}.play-stage{display:grid;place-items:center;padding:15px 0}.waiting-card,.question-card,.score-card{width:100%;padding:clamp(22px,7vw,45px);border:1px solid var(--line);border-radius:28px;background:#fff;text-align:center;box-shadow:0 20px 70px #17171318}.pulse-logo{display:grid;place-items:center;width:90px;height:90px;margin:0 auto 18px;border-radius:28px;background:var(--ink);color:var(--yellow);font-size:2rem;font-weight:950;animation:pulse 2s infinite}.question-card .round{color:#8a6500;font-size:.78rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.question-card h1{font-size:clamp(1.8rem,7vw,3.4rem);line-height:1.08}.question-card .body{white-space:pre-line;color:#4d4b45;font-size:clamp(1rem,3.8vw,1.3rem);line-height:1.5}.question-media{display:block;max-width:100%;max-height:42vh;margin:20px auto;border-radius:18px}.timer{display:grid;place-items:center;width:70px;height:70px;margin:18px auto;border:6px solid var(--yellow);border-radius:50%;font-size:1.45rem;font-weight:950}.answer-form{margin-top:18px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choice{min-height:55px;border:1px solid var(--line);background:#fff;color:var(--ink)}.choice.selected{border-color:var(--ink);background:var(--yellow)}.submitted{padding:14px;border-radius:14px;background:#e4f5e8;color:#176333;font-weight:850}.reveal{margin-top:20px;padding:18px;border-radius:17px;background:#fff8dc}.reveal strong{display:block;font-size:1.35rem}.score-list{display:grid;gap:7px;text-align:left}.score-line{display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:9px;padding:12px;border-radius:13px;background:#f4f1e8}.score-line.me{outline:3px solid var(--yellow);background:#fff8dc}.team-bar{display:flex;align-items:center;justify-content:space-between;padding:13px 17px;border-radius:17px;background:var(--ink);color:#fff}.team-bar div{display:grid}.team-bar small{color:#c7c4bb}.team-bar strong{font-size:1.1rem}.team-bar div:last-child{text-align:right}.team-bar div:last-child strong{color:var(--yellow);font-size:1.45rem}@keyframes pulse{50%{transform:scale(1.04);box-shadow:0 0 0 15px #efc53f28}}@media(max-width:800px){.admin-nav>a{display:none}.stats{grid-template-columns:1fr 1fr}.editor-grid,.live-columns{grid-template-columns:1fr}.editor-grid aside,.live-columns aside{position:static}.live-hero{align-items:flex-start}.qr-placeholder{width:110px;height:110px}.quiz-card{align-items:flex-start;flex-direction:column}.actions{width:100%}.actions>*{flex:1}.dashboard-head{align-items:flex-end}}@media(max-width:520px){.topbar{align-items:flex-start}.brand small{font-size:.72rem}.shell{width:min(100% - 20px,980px);padding-top:14px}.card{padding:18px}.hero-card{border-radius:22px}.feature-strip{grid-template-columns:1fr}.stats{gap:9px}.stat{min-height:105px;padding:15px}.stat strong{font-size:2rem}.form-grid,.choice-grid{grid-template-columns:1fr}.live-hero{padding:20px}.qr-placeholder{display:none}.answer-row{grid-template-columns:1fr 65px}.answer-row button{grid-column:1/-1}.question-row{align-items:flex-start}.question-row .button{padding:9px}.dashboard-head{align-items:flex-start;flex-direction:column}.dashboard-head .button{width:100%}}

