:root{--ink:#25233d;--muted:#77768c;--purple:#6648e8;--deep:#4f34d2;--line:#eae8f1;--bg:#f8f8fc;--green:#21a37c}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:"DM Sans",sans-serif}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.page{min-height:100vh;display:flex;flex-direction:column}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;max-width:1300px;width:100%;margin:auto;padding:0 56px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-family:Outfit,sans-serif;font-size:23px;font-weight:800;letter-spacing:-1px;line-height:1}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:var(--purple);color:white;font-size:25px;box-shadow:0 5px 12px #6648e83b}.brand-purple{color:var(--purple)}.brand small{display:block;color:#9c9aae;font:700 8px "DM Sans",sans-serif;letter-spacing:2px;margin-top:5px}.top-actions{display:flex;align-items:center;gap:35px}.top-note{font-size:12px;color:#77768b;font-weight:600}.online-dot{display:inline-block;width:7px;height:7px;background:#48c895;border-radius:50%;margin-right:7px}.link-button{border:0;background:none;color:#514e68;font-size:13px;font-weight:700;padding:10px 0}.link-button span{color:var(--purple);margin-left:5px}main{flex:1}.landing{max-width:1210px;margin:27px auto 55px;padding:0 56px}.hero{background:#eeebff;border-radius:26px;min-height:388px;display:grid;grid-template-columns:1.04fr .96fr;overflow:hidden;position:relative}.hero-copy{padding:57px 0 50px 62px;position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#5f48ce;background:#fff9;border:1px solid #fff;border-radius:100px;padding:8px 12px;font-size:10px;letter-spacing:1.5px;font-weight:800}.eyebrow:before{content:"✦";font-size:14px}.hero h1{font:800 clamp(38px,4.2vw,58px)/1.07 Outfit,sans-serif;letter-spacing:-2.3px;margin:23px 0 17px}.hero h1 em{font-style:normal;color:var(--purple)}.hero-copy p{font-size:15px;line-height:1.7;color:#77718f;max-width:380px;margin:0}.hero-detail{display:flex;align-items:center;gap:10px;margin-top:29px;font-size:12px;font-weight:700;color:#5a536e}.avatars{display:flex;padding-left:4px}.avatars span{width:26px;height:26px;margin-left:-4px;display:grid;place-items:center;border:2px solid #eeebff;border-radius:50%;font-size:12px;background:#ffca9d}.avatars span:nth-child(2){background:#b4d7fe}.avatars span:nth-child(3){background:#fbbac9}.hero-art{position:relative;min-height:350px}.art-circle{position:absolute;width:280px;height:280px;border-radius:50%;background:#dfd9ff;top:48px;left:50%;transform:translateX(-50%)}.art-circle:before,.art-circle:after{content:"";position:absolute;border:1px solid #cfc5ff;border-radius:50%;inset:-25px}.art-circle:after{inset:-53px;opacity:.5}.art-card{position:absolute;top:79px;left:50%;transform:translateX(-50%) rotate(-7deg);width:208px;background:white;border-radius:17px;padding:18px;box-shadow:0 20px 50px #6955bd30}.art-card .tiny{font-size:9px;color:#a6a2b3;font-weight:700;letter-spacing:1px}.art-card .art-title{font:700 16px Outfit,sans-serif;margin:12px 0}.art-line{height:28px;border-radius:6px;margin-top:6px;background:#f0edff}.art-line:nth-child(4){background:#ffedf1}.art-line:nth-child(5){background:#e8f7f2}.art-line:nth-child(6){background:#fff5e0}.art-line:before{content:"";display:inline-block;width:10px;height:10px;border-radius:3px;background:#8d79ef;margin:9px}.art-line:nth-child(4):before{background:#ec849c}.art-line:nth-child(5):before{background:#48c6a0}.art-line:nth-child(6):before{background:#f4ba4e}.float-icon{position:absolute;display:grid;place-items:center;background:white;border-radius:16px;box-shadow:0 12px 30px #7766bd25}.star{top:68px;right:13%;width:59px;height:59px;font-size:29px;color:#ffc857;transform:rotate(12deg)}.bolt{bottom:51px;left:13%;width:56px;height:56px;font-size:27px;color:#7a60ef;transform:rotate(-12deg)}.spark{position:absolute;color:#a38ff7;font-size:24px}.spark.one{top:53px;left:22%}.spark.two{bottom:45px;right:17%;font-size:16px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:41px 0 20px}.section-heading h2{font:700 24px Outfit,sans-serif;letter-spacing:-.6px;margin:0 0 5px}.section-heading p{color:var(--muted);font-size:13px;margin:0}.section-label{font-size:10px;letter-spacing:1.4px;color:#aaa9b9;font-weight:700}.cards{display:grid;grid-template-columns:1.05fr .95fr;gap:20px}.card{background:white;border:1px solid #eeedf4;border-radius:18px;box-shadow:0 8px 30px #29214d08;padding:25px 27px}.card-top{display:flex;align-items:center;gap:13px}.icon-box{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#eeeaff;color:var(--purple);font-size:21px;font-weight:800}.icon-box.peach{background:#fff1e5;color:#e3a34c}.card h3{font:700 18px Outfit,sans-serif;margin:0 0 3px}.card-top p,.card-description{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.card-description{margin:17px 0}.join-form{display:grid;grid-template-columns:1fr 1fr auto;gap:9px;margin-top:20px}.field{width:100%;border:1px solid #e8e7ef;background:#fafafe;border-radius:9px;padding:13px 12px;color:var(--ink);outline:none;min-width:0}.field:focus{border-color:#9c8cf3;box-shadow:0 0 0 3px #eeeaff}.field::placeholder{color:#aaa9b9}.primary,.secondary{border:0;border-radius:9px;padding:13px 20px;font-weight:700;font-size:13px}.primary{background:var(--purple);color:white;box-shadow:0 5px 13px #6648e82c}.primary:hover{background:var(--deep)}.secondary{background:#f1eeff;color:var(--purple)}.secondary:hover{background:#e5e0ff}.card-bottom{margin-top:16px;font-size:11px;color:#a19fac}.card-bottom b{color:#6e6a80}.host-card .secondary{width:100%;margin-top:3px}.features{display:flex;justify-content:center;gap:48px;margin-top:35px;color:#8d8b9b;font-size:11px;font-weight:600}.features span b{color:var(--purple);font-size:15px;margin-right:6px}footer{border-top:1px solid #eeedf3;display:flex;justify-content:space-between;gap:15px;padding:22px max(56px,calc((100vw - 1098px)/2));font-size:11px;color:#a4a2b1}.footer-separator{margin:0 7px}.heart{color:#ee849c}.loading{text-align:center;padding:100px;color:var(--muted)}
.workspace{max-width:1000px;margin:30px auto 70px;padding:0 24px}.back{background:none;border:0;color:#77748d;padding:0;font-size:13px;font-weight:700;margin-bottom:24px}.workspace-title{font:800 36px Outfit,sans-serif;letter-spacing:-1px;margin:0 0 8px}.subtitle{color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 25px}.narrow{max-width:480px;margin:30px auto 70px}.form-stack{display:grid;gap:13px}.form-stack label{font-size:12px;font-weight:700;color:#625f77}.form-stack label .field{margin-top:7px}.form-stack .primary{margin-top:7px}.game-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.pill{display:inline-flex;gap:8px;align-items:center;border-radius:100px;padding:8px 12px;background:#eeeaff;color:var(--purple);font-size:11px;font-weight:800}.pin{font:800 32px Outfit,sans-serif;letter-spacing:4px;color:var(--purple)}.game-card{text-align:center;padding:38px}.game-card h2{font:800 30px Outfit,sans-serif;letter-spacing:-.7px;margin:12px 0}.game-card p{color:var(--muted);line-height:1.6;font-size:14px}.game-card .primary{margin-top:15px}.player-list{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:25px 0}.player-chip{padding:9px 14px;border:1px solid var(--line);border-radius:100px;font-size:13px;font-weight:700;background:#fafafe}.empty{color:#aaa9b9;font-size:13px}.question-head{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:13px;font-weight:700}.timer{display:grid;place-items:center;border:5px solid #e8e3ff;border-top-color:var(--purple);border-radius:50%;width:62px;height:62px;color:var(--purple);font:800 22px Outfit,sans-serif}.question-title{font:800 30px/1.2 Outfit,sans-serif;text-align:center;margin:24px 0 30px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer{border:0;border-radius:12px;text-align:left;color:white;min-height:82px;padding:16px;font-weight:700;font-size:15px;display:flex;align-items:center;gap:13px}.answer:nth-child(1){background:#ef6686}.answer:nth-child(2){background:#6887ee}.answer:nth-child(3){background:#edb34d}.answer:nth-child(4){background:#4cb898}.answer:not(:disabled):hover{filter:brightness(.94)}.answer .shape{font-size:22px}.answer.correct{outline:4px solid #23a678;outline-offset:3px}.answer.dim{opacity:.5}.answer:disabled{cursor:default}.game-actions{text-align:center;margin-top:26px}.game-actions p{font-size:13px;color:var(--muted)}.board{max-width:520px;margin:25px auto 0;text-align:left}.board-row{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--line);font-size:13px}.board-row .rank{width:24px;color:var(--purple);font-weight:800}.board-row .name{flex:1;overflow-wrap:anywhere}.board-row strong{color:var(--purple)}.notice{margin:18px 0 0;padding:13px;border-radius:10px;background:#f1eeff;color:#6252b5;font-size:13px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#342d4b;color:white;padding:13px 18px;border-radius:10px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:10;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:750px){.topbar{height:75px;padding:0 22px}.top-note{display:none}.brand{font-size:20px}.brand-mark{width:38px;height:38px}.top-actions{gap:0}.link-button{font-size:11px}.landing{margin:10px auto 35px;padding:0 18px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:35px 28px 15px}.hero h1{font-size:42px}.hero-art{min-height:235px;transform:scale(.75);transform-origin:center top;margin-bottom:-55px}.art-circle{top:0}.art-card{top:30px}.star{top:5px}.bolt{bottom:0}.section-heading{margin-top:33px}.section-label{display:none}.cards{grid-template-columns:1fr}.join-form{grid-template-columns:1fr 1fr}.join-form .primary{grid-column:span 2}.features{gap:15px;flex-wrap:wrap;margin-top:25px}.features span{font-size:10px}footer{padding:20px 22px;flex-direction:column}.game-card{padding:25px 18px}.workspace-title{font-size:30px}.question-title{font-size:25px}.answer{min-height:76px;font-size:13px;padding:12px;gap:8px}.game-header{align-items:flex-start}.pin{font-size:25px}}
.admin-page{max-width:1210px;margin:20px auto 70px;padding:0 56px}.admin-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.admin-welcome h1,.editor-page h1{font:800 36px/1.1 Outfit,sans-serif;letter-spacing:-1px;margin:14px 0 8px}.admin-welcome p,.admin-section-head p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}.admin-header-actions{display:flex;align-items:center;gap:20px;margin-top:48px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:30px 0 42px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;display:flex;align-items:center;gap:14px;box-shadow:0 8px 25px #29214d06}.stat-icon{display:grid;place-items:center;flex:none;width:47px;height:47px;border-radius:13px;font-size:22px;font-weight:700}.stat-icon.purple{color:#7156e8;background:#eeeaff}.stat-icon.orange{color:#d79542;background:#fff2e2}.stat-icon.green{color:#36a781;background:#e6f8f0}.stat-icon.blue{color:#6388e3;background:#eaf0ff}.stat-card span:not(.stat-icon){display:block;color:var(--muted);font-size:11px;font-weight:600}.stat-card strong{display:block;font:800 26px Outfit,sans-serif;margin-top:3px}.admin-section{margin-top:38px}.admin-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-kicker{font-size:10px;letter-spacing:1.5px;font-weight:800;color:var(--purple)}.admin-section-head h2{font:700 25px Outfit,sans-serif;letter-spacing:-.6px;margin:7px 0 4px}.quiz-list,.question-list{display:grid;gap:11px}.quiz-card,.question-item{background:white;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;gap:16px;padding:18px 20px}.quiz-card-icon{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:14px;background:#eeeaff;color:var(--purple);font-size:25px}.quiz-card-body,.question-body{flex:1;min-width:0}.quiz-card h3,.question-item h3{font:700 16px Outfit,sans-serif;margin:0 0 5px;overflow-wrap:anywhere}.quiz-card p{color:var(--muted);font-size:12px;margin:0}.quiz-actions{display:flex;gap:8px}.quiz-actions button{white-space:nowrap}.admin-empty{padding:34px;text-align:center;border:1px dashed #dedbe9;border-radius:15px;color:var(--muted);font-size:13px;background:#fff}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:white}table{width:100%;border-collapse:collapse;text-align:left;min-width:700px}th{background:#fafafe;color:#aaa9b9;font-size:10px;letter-spacing:1px;padding:15px 20px}td{padding:16px 20px;border-top:1px solid #f1f0f5;font-size:12px;color:#77768c;vertical-align:middle}td strong{display:block;color:var(--ink);font-size:13px}td small{display:block;color:#a6a4b4;margin-top:4px}td:last-child{white-space:nowrap}.status{border-radius:100px;font-size:10px;font-weight:800;padding:7px 10px}.status.active{background:#fff4df;color:#bc812d}.status.finished{background:#e8f8f0;color:#279673}.table-link{padding:7px;border:0;background:none;color:var(--purple);font-size:12px;font-weight:700}.danger-link{color:#dc6478}.editor-page{max-width:1000px}.editor-title{margin-top:24px}.title-form{display:flex;align-items:end;gap:12px}.title-form label,.field-label{flex:1;font-size:12px;font-weight:700;color:#625f77}.title-form .field,.field-label .field{display:block;margin-top:8px}.title-form button{white-space:nowrap}.danger-button{border:1px solid #f2d9de;background:white;color:#d65d74;border-radius:9px;padding:12px 16px;font-weight:700;font-size:12px}.danger-button:hover{background:#fff2f4}.question-item{align-items:flex-start}.question-number{display:grid;place-items:center;background:#f1eeff;color:var(--purple);width:35px;height:35px;border-radius:10px;font-weight:800;font-size:13px;flex:none}.question-actions{display:flex;gap:4px}.option-preview{display:flex;gap:7px;flex-wrap:wrap}.option-preview span{background:#f7f7fa;border-radius:7px;padding:6px 9px;color:#8a889a;font-size:11px;overflow-wrap:anywhere}.option-preview .right-option{background:#eaf9f2;color:#279673;font-weight:700}.count-badge{font:700 12px "DM Sans",sans-serif;background:#eeeaff;color:var(--purple);border-radius:100px;padding:5px 9px;vertical-align:middle}.question-form{margin:0 0 16px;border-color:#dcd4ff;box-shadow:0 8px 30px #6648e812}.form-heading{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:18px}.form-heading h3{font:700 19px Outfit,sans-serif;margin:0 0 5px}.form-heading p{color:var(--muted);font-size:12px;margin:0}.question-form textarea{resize:vertical;min-height:80px}.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.option-field{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:5px 9px}.option-field input[type=radio]{accent-color:var(--purple);width:17px;height:17px}.option-field .field{border:0;background:transparent;padding:10px 4px}.option-field .field:focus{box-shadow:none}.option-letter{font-size:12px;font-weight:800;color:#aaa9b9}.editor-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.game-quiz-title{font-size:12px;color:var(--muted);margin-top:8px;font-weight:600}
@media(max-width:750px){.admin-page{margin:12px auto 45px;padding:0 18px}.admin-heading{display:block}.admin-welcome h1,.editor-page h1{font-size:29px}.admin-header-actions{margin-top:18px}.stat-grid{grid-template-columns:1fr 1fr;gap:9px;margin:24px 0 32px}.stat-card{padding:14px 10px;gap:9px}.stat-icon{width:38px;height:38px;font-size:18px}.stat-card strong{font-size:22px}.stat-card span:not(.stat-icon){font-size:10px}.admin-section-head{align-items:flex-start}.admin-section-head h2{font-size:22px}.admin-section-head .primary,.danger-button{padding:11px;font-size:11px}.quiz-card{flex-wrap:wrap}.quiz-card-body{flex-basis:calc(100% - 70px)}.quiz-actions{width:100%}.quiz-actions button{flex:1}.title-form{display:grid}.question-item{flex-wrap:wrap;gap:10px}.question-body{flex-basis:calc(100% - 50px)}.question-actions{margin-left:42px}.option-grid{grid-template-columns:1fr}.editor-form-actions button{flex:1}}
.answer:nth-child(4n+1){background:#ef6686}.answer:nth-child(4n+2){background:#6887ee}.answer:nth-child(4n+3){background:#edb34d}.answer:nth-child(4n+4){background:#4cb898}.answer .shape{font-size:16px;white-space:nowrap}.game-question-image{display:block;max-width:100%;max-height:300px;object-fit:contain;margin:0 auto 24px;border-radius:12px}.question-thumbnail{display:block;max-width:160px;max-height:100px;object-fit:contain;border-radius:8px;margin:10px 0}.image-input{margin-top:16px}.image-input p,.import-card p{color:var(--muted);font-size:12px;line-height:1.6;margin:7px 0}.image-preview{display:block;max-width:240px;max-height:160px;object-fit:contain;margin:12px 0;border-radius:8px}.hidden{display:none}.remove-image{display:block;margin:10px 0;font-size:12px;color:#625f77}.option-controls{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}.import-card{margin-bottom:16px;background:#faf9ff;border-color:#ebe6ff;display:flex;justify-content:space-between;align-items:flex-start;gap:22px}.import-card h3{margin:0}.import-card details{font-size:12px;color:var(--purple);margin-top:10px}.import-card summary{cursor:pointer;font-weight:700}.import-card pre{white-space:pre-wrap;background:white;border:1px solid var(--line);border-radius:8px;padding:12px;color:#625f77;line-height:1.5}.import-form{display:grid;gap:9px;min-width:250px}.import-form .field{display:block;margin-top:7px;padding:8px;font-size:12px}.import-form .import-error{color:#c4465e;font-weight:700;margin:0}.import-form .import-error:empty{display:none}
@media(max-width:750px){.import-card{display:block}.import-form{margin-top:16px;min-width:0}.game-question-image{max-height:220px}.answer .shape{font-size:13px}}
.question-title{overflow-wrap:anywhere}.answer{min-width:0}.answer span:last-child{min-width:0;overflow-wrap:anywhere}
