@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Tajawal:wght@400;500;600;700;800&display=swap');

:root{--purple:#7860d7;--purple-dark:#6048bd;--purple-soft:#f0ecfa;--ink:#292834;--muted:#93919e;--line:#eeedf2;--bg:#f8f9fc;--green:#3c9c78;--shadow:0 5px 25px #2c254405;--radius:18px;font-family:'Tajawal','DM Sans',Tahoma,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{border:0}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #b6a4ee;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #b6a4ee;outline-offset:1px}input,textarea,select{width:100%;border:1px solid #e4e2eb;background:white;border-radius:10px;padding:12px 14px;color:var(--ink)}textarea{resize:vertical;min-height:82px}input::placeholder,textarea::placeholder{color:#aaa7b4}h1,h2,h3,h4,p{margin:0}svg.icon{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .18s,box-shadow .18s,transform .18s}button:hover{filter:brightness(.98)}.btn{border-radius:10px;padding:12px 20px;font-weight:700;min-height:44px;white-space:nowrap}.btn-primary{background:var(--purple);color:white;box-shadow:0 4px 10px #7860d71a}.btn-primary:hover{background:var(--purple-dark)}.btn-secondary{background:white;border:1px solid #e4dfee;color:#69558e}.btn-soft{background:var(--purple-soft);color:var(--purple-dark)}.btn-danger{background:#fff0f0;color:#c65c61;border:1px solid #f4d7d9}.btn-text{background:none;color:var(--purple);padding:8px;font-size:14px}.icon-btn{width:38px;height:38px;border-radius:10px;background:white;color:#8e899d;border:1px solid var(--line)}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1px;color:var(--purple)}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:6px;font-size:12px;padding:5px 9px;white-space:nowrap;line-height:1.3}.pill.green{background:#edf8f2;color:#3b9b76}.pill.purple{background:#f0ecfb;color:#8c70cd}.pill.gray{background:#f2f3f6;color:#9493a1}.pill.orange{background:#fff4e8;color:#c78d4d}.dot{width:6px;height:6px;background:currentColor;display:inline-block;border-radius:50%}.sidebar{position:fixed;inset-block:0;inset-inline-start:0;width:246px;background:white;border-inline-end:1px solid var(--line);z-index:30;display:flex;flex-direction:column;padding:34px 20px 20px}.brand{display:flex;align-items:center;gap:11px;padding-inline:16px}.brand-mark{width:40px;height:42px;border-radius:13px;background:var(--purple);display:inline-flex;align-items:center;justify-content:center;color:white;font-size:35px;font-weight:800;line-height:1;box-shadow:0 5px 12px #7860d720;padding-bottom:5px}.brand-name{font-size:27px;font-weight:800;line-height:1}.brand-en{color:#a29aaa;font-family:'DM Sans',sans-serif;letter-spacing:2px;font-size:9px;margin-top:5px}.nav-label{font-size:10px;letter-spacing:1.2px;color:#b8b3c2;margin:49px 18px 12px}.nav{display:flex;flex-direction:column;gap:7px}.nav a{display:flex;align-items:center;gap:13px;min-height:47px;padding:13px 18px;font-size:14px;color:#8a8796;border-radius:10px;font-weight:500}.nav a:hover{background:#f8f6fc}.nav a.active{color:var(--purple);background:#f0ecfa;font-weight:700}.nav a.active:after{content:'';width:5px;height:5px;border-radius:50%;background:var(--purple);margin-inline-start:auto}.sidebar-bottom{margin-top:auto}.sidebar-promo{margin:25px 5px 20px;background:#f8f7fc;border:1px solid #efebf7;border-radius:14px;padding:17px;text-align:center}.promo-icon{display:inline-flex;width:35px;height:35px;background:#eae4fa;border-radius:11px;align-items:center;justify-content:center;color:var(--purple);margin-bottom:10px}.sidebar-promo strong{font-size:13px;display:block}.sidebar-promo p{font-size:11px;color:#aaa3b6;line-height:1.8;margin:7px 0 12px}.sidebar-promo .btn{width:100%;font-size:12px;padding:9px;min-height:34px}.sidebar-foot{border-top:1px solid var(--line);padding:18px 12px 0;display:flex;align-items:center;gap:9px;color:#aaa4b5;font-size:10px}.sidebar-foot .dot{color:#82b399}.sidebar-foot span:last-child{margin-inline-start:auto}.main{margin-inline-start:246px;min-height:100vh}.topbar{height:83px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:15px}.breadcrumb{font-size:13px;display:flex;align-items:center;gap:10px;color:#aaa5b5}.breadcrumb span:last-child{color:#5d586b}.breadcrumb .icon{width:16px;height:16px}.top-actions{display:flex;align-items:center;gap:20px}.live-status{font-size:11px;display:flex;align-items:center;gap:7px;color:#8b8797}.live-status .dot{color:#76b696}.lang-btn{background:none;color:#767080;font-family:'DM Sans','Tajawal',sans-serif;font-size:12px;gap:7px}.lang-btn .icon{width:16px;height:16px}.user-menu{border-inline-start:1px solid var(--line);padding-inline-start:20px;display:flex;gap:10px;align-items:center}.avatar{width:36px;height:36px;border-radius:12px;background:#f1ebfb;color:#8260bd;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0}.user-name{font-size:12px;font-weight:700}.user-role{font-size:10px;color:#aaa3b6;margin-top:3px}.content{max-width:1390px;margin:auto;padding:36px 40px 32px}.page-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-intro h1{font-size:26px;font-weight:800;line-height:1.6;letter-spacing:-.5px}.page-intro p{color:#9a95a5;font-size:13px;margin-top:5px;line-height:1.7}.page-intro .intro-actions{display:flex;gap:10px}.hero{background:#f0ecfa;border:1px solid #eae4f6;min-height:223px;border-radius:18px;position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden;padding:32px 35px;margin-bottom:25px}.hero-copy{position:relative;z-index:2;max-width:57%}.hero .eyebrow{font-size:11px;letter-spacing:0;display:flex;gap:6px;align-items:center;margin-bottom:13px}.hero h2{font-size:27px;font-weight:800;line-height:1.55;color:#4d3d73;letter-spacing:-.5px}.hero p{font-size:13px;color:#a197b2;line-height:1.9;margin:8px 0 20px;max-width:440px}.hero .btn{font-size:12px;min-height:39px;padding:10px 16px}.hero-art{width:310px;height:204px;position:absolute;inset-inline-end:24px;bottom:5px}.hero-art svg{width:100%;height:100%}html[dir=ltr] .hero-art{transform:scaleX(-1)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:30px}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:19px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:var(--shadow)}.stat-label{font-size:12px;color:#9e97ac;line-height:1.6}.stat-value{font-family:'DM Sans','Tajawal',sans-serif;font-size:28px;font-weight:650;line-height:1.4;margin-top:7px;display:flex;align-items:baseline;gap:7px}.stat-value small{font-size:11px;font-weight:400;color:#a49db0}.stat-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon.purple{background:#f1ecfc;color:#9175cf}.stat-icon.peach{background:#fff2e9;color:#d8a06c}.stat-icon.green{background:#edf7f3;color:#73ac94}.stat-icon.blue{background:#edf3ff;color:#7c9ccf}.grid-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.panel-head{padding:22px 23px 17px;display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-head h2{font-size:16px;font-weight:800}.panel-head p{font-size:11px;color:#aaa2b5;line-height:1.6;margin-top:5px}.panel-head .btn-text{font-size:11px;padding:5px}.tabs{display:flex;gap:20px;padding:0 23px;border-bottom:1px solid var(--line)}.tab{background:none;border-radius:0;color:#aaa2b4;padding:13px 0 14px;font-size:12px;position:relative;gap:6px;white-space:nowrap}.tab.active{color:var(--purple);font-weight:700}.tab.active:after{content:'';position:absolute;bottom:-1px;inset-inline:0;height:2px;background:var(--purple);border-radius:4px}.tab .count{background:#f3f0f8;border-radius:5px;font-size:10px;padding:2px 5px;color:#a192b6;min-width:18px}.session-row{display:flex;align-items:center;gap:13px;padding:20px 23px;border-bottom:1px solid #f3f1f7}.session-row:last-child{border-bottom:0}.session-symbol{width:43px;height:45px;background:#f2edfb;color:#9277ce;display:flex;align-items:center;justify-content:center;border-radius:12px;flex-shrink:0}.session-row:nth-child(3n) .session-symbol{background:#edf4fa;color:#83a0bc}.session-row:nth-child(3n + 1) .session-symbol{background:#fdf2e9;color:#cfa16e}.session-text{flex:1;min-width:0}.session-title{font-size:13px;font-weight:700;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-meta{display:flex;gap:13px;flex-wrap:wrap;font-size:10px;color:#b1aabb;margin-top:9px;align-items:center}.session-meta span{display:flex;align-items:center;gap:4px}.session-meta .icon{width:12px;height:12px}.session-row .btn{padding:8px 12px;min-height:32px;font-size:10px;flex-shrink:0}.session-row>.pill{margin-inline:3px}.empty-state{text-align:center;padding:42px 20px}.empty-state .empty-icon{height:62px;width:62px;background:#f7f4fc;border:1px solid #eee8f8;border-radius:21px;margin:0 auto 17px;display:flex;align-items:center;justify-content:center;color:#b2a0d6}.empty-state .empty-icon .icon{width:27px;height:27px}.empty-state h3{font-size:15px;margin-bottom:9px}.empty-state p{font-size:12px;color:#a49cad;line-height:1.9;max-width:320px;margin:0 auto 18px}.empty-state .btn{font-size:12px;min-height:36px}.side-stack{display:flex;flex-direction:column;gap:20px}.quick-join{padding:23px;background:linear-gradient(145deg,#faf8ff,#f0ecfa);border-color:#e9e2f6}.quick-join>.icon{color:#a18cce;width:27px;height:27px;margin-bottom:12px}.quick-join h3{font-size:16px}.quick-join p{font-size:11px;color:#a095b1;line-height:1.9;margin:8px 0 17px}.join-inline{display:flex;gap:8px}.join-inline input{min-width:0;direction:ltr;text-align:center;letter-spacing:3px;font-size:13px;padding:10px 5px;border-color:#e5dff1}.join-inline .btn{padding:10px 12px;min-height:38px}.how-panel{padding:22px}.how-panel h3{font-size:14px;margin-bottom:20px}.how-step{display:flex;gap:11px;margin-bottom:21px;position:relative}.how-step:last-child{margin-bottom:0}.how-step:not(:last-child):after{content:'';position:absolute;inset-inline-start:12px;top:29px;height:25px;border-inline-start:1px dashed #e4dced}.step-number{width:26px;height:26px;border:1px solid #e8e0f5;border-radius:8px;color:#a28cc5;display:flex;align-items:center;justify-content:center;font-size:11px;background:#fbf9ff;flex-shrink:0}.how-step strong{font-size:11px}.how-step p{font-size:10px;line-height:1.8;color:#aaa2b5;margin-top:3px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:29px 0 17px}.section-heading h2{font-size:16px;font-weight:800}.section-heading p{font-size:11px;color:#aaa3b5;margin-top:6px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.template-card{border:1px solid var(--line);background:white;border-radius:14px;padding:21px;position:relative;transition:transform .2s,box-shadow .2s}.template-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #39275808}.template-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.template-icon{height:37px;width:37px;border-radius:11px;background:#fff4e9;color:#d1a16d;display:flex;align-items:center;justify-content:center}.template-card:nth-child(2) .template-icon{color:#7caa97;background:#edf7f2}.template-card:nth-child(3) .template-icon{color:#9d85c8;background:#f3effb}.template-tag{font-size:9px;border:1px solid #eeebf2;padding:4px 7px;border-radius:5px;color:#b0a6bb}.template-card h3{font-size:13px;font-weight:700}.template-card p{font-size:10px;color:#b0a7b9;line-height:1.9;margin-top:7px}.template-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f4f2f7;margin-top:16px;padding-top:11px}.template-bottom span{font-size:10px;color:#aaa1b5}.template-bottom .btn-text{font-size:10px;padding:3px}.page-footer{margin-top:29px;display:flex;justify-content:space-between;gap:10px;color:#bbb5c3;font-size:10px;padding:0 3px;line-height:1.8}.footer-brand{display:flex;gap:5px;align-items:center}.footer-brand .icon{width:12px;height:12px}.searchbox{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:white;max-width:260px}.searchbox input{border:0;padding:10px 0;font-size:12px;outline:none}.searchbox .icon{width:16px;color:#b1a9bb}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 23px}.list-toolbar .tabs{border:0;padding:0}.list-toolbar .tab{padding:10px 0}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}.form-panel{padding:26px;margin-bottom:20px}.form-panel h2{font-size:16px;margin-bottom:23px}.field{display:block;margin-bottom:20px}.field>span{display:block;font-size:12px;font-weight:700;margin-bottom:9px}.field small{display:block;color:#aca4b5;font-size:11px;margin-top:7px;line-height:1.7}.field:last-child{margin-bottom:0}.form-panel input,.form-panel textarea,.form-panel select{font-size:13px}.question-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.question-number{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:700}.question-number>span{width:28px;height:28px;border-radius:9px;display:flex;justify-content:center;align-items:center;background:var(--purple-soft);color:var(--purple);font-family:'DM Sans',sans-serif;font-size:12px}.question-head .icon-btn{width:29px;height:29px;border:0;background:#faf8fc}.question-head .icon{width:15px;height:15px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.option-edit{display:flex;align-items:center;gap:10px;margin:10px 0}.option-edit input[type=radio]{appearance:none;width:20px;height:20px;padding:0;border:1.5px solid #d9d2e4;border-radius:50%;flex-shrink:0;cursor:pointer}.option-edit input[type=radio]:checked{border:5px solid var(--purple);background:white}.option-edit input[type=text]{font-size:12px;padding:10px 12px}.option-edit .option-letter{height:20px;min-width:20px;display:flex;justify-content:center;align-items:center;font-size:12px;color:#aaa0b9}.question-help{font-size:11px;line-height:1.8;color:#a79aaf}.add-question{border:1px dashed #d9cdee;background:#f5f1fc;border-radius:13px;padding:19px;width:100%;color:#9478c3;font-size:13px;font-weight:700}.sticky-summary{position:sticky;top:24px}.summary-line{display:flex;justify-content:space-between;margin:20px 0;font-size:12px;color:#a49aac}.summary-line strong{color:#71617e}.sticky-summary .btn{width:100%;font-size:13px}.note{padding:15px;border-radius:10px;background:#f7f5fb;color:#9a8ba9;font-size:11px;line-height:1.9;margin-top:18px}.join-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.join-visual{background:#f0ecfa;display:flex;align-items:center;justify-content:center;padding:50px;position:relative;overflow:hidden}.join-visual:after{content:'';position:absolute;width:500px;height:500px;border-radius:50%;border:1px solid #e2d9f2;bottom:-290px;inset-inline-start:-180px}.join-visual-content{max-width:430px}.join-visual .hero-art{position:relative;inset:auto;transform:none;width:350px;height:250px;margin:20px auto}.join-visual h2{font-size:35px;color:#5c437b;line-height:1.6}.join-visual p{font-size:14px;line-height:2;color:#a18bb6;margin-top:16px}.join-main{display:flex;justify-content:center;align-items:center;padding:55px 30px;position:relative}.join-main .lang-btn{position:absolute;top:30px;inset-inline-end:30px}.join-box{width:100%;max-width:370px}.join-box .brand{padding:0;margin-bottom:45px}.join-box h1{font-size:26px;margin-bottom:11px}.join-box>p{font-size:13px;color:#a297ad;line-height:1.9;margin-bottom:30px}.join-box .btn{width:100%}.code-input{direction:ltr;text-align:center;font-family:'DM Sans',sans-serif;font-size:24px;letter-spacing:12px;max-width:100%}.join-box .back-home{display:block;text-align:center;font-size:12px;color:#aa9ab7;margin-top:25px}.join-box .back-home:hover{color:var(--purple)}.room-header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:25px}.room-header h1{font-size:23px;margin-top:8px}.room-header p{font-size:12px;color:#a296ae;margin-top:7px}.room-controls{display:flex;gap:10px;align-items:center}.room-controls .btn{font-size:12px}.lobby{padding:42px 25px;text-align:center}.lobby-illustration{width:92px;height:92px;background:#f3eefb;border-radius:28px;display:flex;align-items:center;justify-content:center;color:#a68acb;margin:0 auto 23px;transform:rotate(-5deg)}.lobby-illustration .icon{width:43px;height:43px;transform:rotate(5deg)}.lobby h2{font-size:24px}.lobby>p{font-size:13px;color:#aa9cb5;line-height:1.9;margin:12px auto 24px;max-width:480px}.room-code{font-family:'DM Sans',sans-serif;letter-spacing:12px;font-size:48px;font-weight:650;color:#8061b5;direction:ltr;display:inline-block;background:#f8f5fd;border:1px dashed #d9cbed;border-radius:14px;padding:14px 27px 14px 39px;margin:8px 0 14px;line-height:1.3}.share-link{display:flex;align-items:center;justify-content:center;gap:12px;max-width:570px;margin:0 auto 26px}.share-url{direction:ltr;color:#9d8bb0;background:#faf8fd;border:1px solid #eee7f7;border-radius:8px;font-size:11px;padding:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.participant-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:20px auto;max-width:650px}.participant-chip{display:flex;align-items:center;gap:8px;background:#f9f7fc;padding:7px 12px;border-radius:20px;font-size:12px;color:#9683aa}.participant-chip .avatar{width:23px;height:23px;font-size:9px;border-radius:50%}.live-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}.question-stage{padding:32px}.stage-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px;font-size:12px;color:#9c8dab}.timer{width:53px;height:53px;border-radius:50%;border:3px solid #e7dff4;display:flex;align-items:center;justify-content:center;color:var(--purple);font-family:'DM Sans',sans-serif;font-size:19px;font-weight:700;position:relative}.timer.urgent{color:#ce7966;border-color:#f5d5cb}.timer-label{display:flex;gap:12px;align-items:center;font-size:11px}.question-stage h2{font-size:25px;line-height:1.8;max-width:660px;margin:15px 0 30px;overflow-wrap:anywhere}.answer-options{display:grid;grid-template-columns:1fr 1fr;gap:13px}.answer-option{display:flex;align-items:center;justify-content:flex-start;text-align:start;border:1.5px solid #eee8f4;background:#fff;border-radius:13px;padding:18px 16px;position:relative;gap:13px;overflow:hidden;min-height:75px;font-size:14px;line-height:1.7}.answer-option>span{position:relative;z-index:1}.answer-option .letter{display:inline-flex;justify-content:center;align-items:center;width:29px;height:29px;border:1px solid #e9e1f4;background:#f8f5fc;color:#a089ba;border-radius:8px;font-size:12px;flex-shrink:0}.answer-option:hover:not(:disabled){border-color:#bca5db;background:#faf7fe}.answer-option.selected{border-color:#a285d5;background:#f5effe}.answer-option.correct{border-color:#9acbb2;background:#f1faf5;color:#4c9071}.answer-option.correct .letter{background:#dff1e6;border-color:#d0e7db;color:#589a76}.answer-option.wrong.selected{border-color:#e4bab7;background:#fff6f5}.answer-option:disabled{opacity:1;cursor:default}.option-bar{position:absolute!important;inset-inline-start:0;inset-block:0;background:#ece4f7;opacity:.6;transition:width .6s;width:var(--bar)}.correct .option-bar{background:#d9eddf}.answer-count{margin-inline-start:auto;font-size:12px;font-family:'DM Sans',sans-serif}.stage-bottom{border-top:1px solid var(--line);margin-top:30px;padding-top:22px;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;font-size:12px;color:#aa9db7}.stage-bottom .btn{font-size:12px}.progress-line{height:5px;border-radius:5px;background:#f0eaf8;margin-top:22px;overflow:hidden}.progress-line>span{height:100%;display:block;background:#ae98d2;transition:width .25s;max-width:100%}.live-side{padding:23px}.live-side h3{font-size:14px;margin-bottom:19px}.live-side .room-code{font-size:25px;letter-spacing:7px;padding:10px 15px 10px 22px;width:100%;text-align:center;margin:0 0 15px}.live-side>.btn{width:100%;font-size:11px}.mini-stat{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px;color:#a796b3}.mini-stat strong{color:#766184;font-family:'DM Sans',sans-serif}.live-side .note{font-size:10px}.connection-banner{background:#fff6e9;color:#b3823e;border:1px solid #f4e4c7;font-size:12px;padding:12px 18px;border-radius:10px;margin-bottom:20px}.result-message{background:#eff9f3;color:#62967b;padding:13px 17px;border-radius:10px;margin-top:20px;font-size:12px;display:flex;align-items:center;gap:8px}.result-message.neutral{background:#f4effb;color:#9980bb}.results-hero{text-align:center;padding:37px 25px}.results-hero .trophy{font-size:43px;margin-bottom:12px}.results-hero h2{font-size:26px}.results-hero p{font-size:13px;color:#a092ac;margin-top:10px;line-height:1.8}.results-metrics{display:flex;justify-content:center;gap:50px;margin-top:25px}.results-metrics strong{font-family:'DM Sans',sans-serif;display:block;font-size:26px;color:#8066a1}.results-metrics span{font-size:11px;color:#a898b5;display:block;margin-top:5px}.results-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.leader-row{display:flex;align-items:center;gap:12px;padding:15px 23px;border-top:1px solid var(--line)}.rank{width:23px;color:#a99ab6;font-family:'DM Sans',sans-serif;font-size:13px}.leader-name{font-size:13px;flex:1;overflow-wrap:anywhere}.leader-score{font-family:'DM Sans',sans-serif;font-size:14px;font-weight:600;color:#9677b4}.leader-row.me{background:#f8f3fe}.question-result{padding:19px 23px;border-top:1px solid var(--line)}.question-result h4{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.question-result-meta{font-size:10px;color:#b0a0bb;display:flex;justify-content:space-between;margin-top:9px}.question-result .progress-line{margin-top:10px}.help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.help-card{padding:28px}.help-card>.stat-icon{margin-bottom:20px}.help-card h2{font-size:17px;margin-bottom:15px}.help-card p{font-size:13px;color:#a698af;line-height:2.2}.faq{padding:25px;margin-top:24px}.faq h2{font-size:17px;margin-bottom:22px}.faq details{border-top:1px solid var(--line);padding:18px 0}.faq summary{cursor:pointer;font-size:14px;color:#8c769e}.faq details p{font-size:13px;color:#aa9cb3;line-height:2;padding:14px 0 0}.modal-overlay{position:fixed;inset:0;z-index:100;background:#2a203d65;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:25px;animation:fade .2s}.modal{background:white;border-radius:22px;box-shadow:0 25px 100px #23133433;padding:32px;width:100%;max-width:430px;max-height:90vh;overflow:auto;position:relative}.modal-close{position:absolute;top:20px;inset-inline-end:20px;background:#f8f5fc;border:0;width:29px;height:29px}.modal-close .icon{width:15px;height:15px}.modal .brand{padding:0;margin-bottom:30px}.modal h2{font-size:23px;margin-bottom:10px}.modal>.muted{font-size:12px;line-height:1.9;margin-bottom:22px}.modal .field>span{font-size:12px}.modal .btn-primary{width:100%;margin-top:3px}.auth-switch{font-size:12px;color:#aa98b6;text-align:center;margin-top:20px}.auth-switch button{font-size:12px;padding:3px}.form-error{font-size:12px;line-height:1.8;color:#c06872;background:#fff1f3;border-radius:9px;padding:11px 14px;margin-bottom:17px;display:none}.form-error:not(:empty){display:block}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#3b304e;color:white;border:1px solid #594569;border-radius:12px;padding:14px 24px;font-size:13px;box-shadow:0 10px 40px #30203a26;z-index:200;max-width:90vw;line-height:1.7;animation:fade .2s}.toast.error{background:#9c5363}.mobile-menu{display:none}.mobile-backdrop{display:none}.initial-loader{display:flex;align-items:center;justify-content:center;min-height:100vh;gap:15px;color:var(--purple)}.initial-loader p{font-size:20px}.loading-panel{min-height:240px;display:flex;align-items:center;justify-content:center;color:#b0a1bf;font-size:14px}.spinner{border:2px solid #e7ddf5;border-top-color:var(--purple);border-radius:50%;width:19px;height:19px;animation:spin .6s linear infinite;display:inline-block;margin-inline-end:10px}.participant-view{max-width:860px;margin:0 auto;padding:30px 25px}.participant-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:35px}.participant-header .brand{padding:0}.participant-header .brand-name{font-size:23px}.participant-header .brand-mark{width:33px;height:35px;font-size:29px}.participant-header-right{display:flex;align-items:center;gap:15px}.participant-view .room-header h1{font-size:18px}.participant-view .question-stage{padding:35px}.participant-view .lobby{margin-top:20px}.participant-view .room-code{font-size:30px}.full-width{grid-column:1/-1}.reports-summary{margin-bottom:22px}.account-box{max-width:600px}.account-box .btn{margin-inline-end:10px}.subtle-rule{border:0;border-top:1px solid var(--line);margin:22px 0}.save-indicator{font-size:11px;color:#aaa0b6;display:flex;align-items:center;gap:6px}.save-indicator .icon{height:14px;width:14px}.mobile-only{display:none}html[dir=ltr]{font-family:'DM Sans','Tajawal',Tahoma,sans-serif}html[dir=ltr] .hero h2{font-size:27px}html[dir=ltr] .hero p{font-size:12px}html[dir=ltr] .session-row .btn{font-size:11px}html[dir=ltr] .session-meta{gap:10px}html[dir=ltr] .sidebar-promo p{font-size:11px}html[dir=ltr] .how-step p{font-size:10px;line-height:1.7}html[dir=ltr] .page-intro h1{font-size:25px}html[dir=ltr] .nav a{font-size:13px}.auth-note{font-size:10px;color:#b3a7bd;text-align:center;line-height:1.9;margin-top:15px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade{from{opacity:0}to{opacity:1}}
@media(min-width:1550px){.content{padding-top:45px}.hero{min-height:245px}.hero-art{width:350px;height:225px;inset-inline-end:45px}.hero h2{font-size:31px}.grid-dashboard{grid-template-columns:minmax(0,1fr) 320px}.template-card{padding:24px}.empty-state{padding:58px 20px}}
@media(max-width:1200px){.sidebar{width:216px;padding-inline:14px}.main{margin-inline-start:216px}.content{padding:30px 26px}.topbar{padding-inline:26px}.hero-art{width:255px;inset-inline-end:12px}.hero-copy{max-width:60%}.hero h2{font-size:24px}.stats{gap:12px}.stat{padding:16px 14px}.stat-icon{width:35px;height:35px}.stat-label{font-size:11px}.stat-value{font-size:25px}.grid-dashboard{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.session-row{padding-inline:17px;gap:10px}.session-row>.pill{display:none}.quick-join,.how-panel{padding:19px}.template-grid{gap:12px}.template-card{padding:17px}.hero{padding:28px}.template-card p{min-height:38px}.form-layout{grid-template-columns:minmax(0,1fr) 245px}.live-layout{grid-template-columns:minmax(0,1fr) 230px}.answer-options{gap:10px}.answer-option{padding:15px 12px;font-size:12px}.question-stage{padding:25px}.question-stage h2{font-size:22px}}
@media(max-width:980px){.sidebar{width:190px;padding-inline:10px}.main{margin-inline-start:190px}.brand{padding-inline:12px}.nav a{padding-inline:13px}.sidebar-promo{padding:13px}.grid-dashboard{grid-template-columns:1fr}.side-stack{display:grid;grid-template-columns:1fr 1fr}.how-panel h3{margin-bottom:15px}.how-step{margin-bottom:12px}.how-step:not(:last-child):after{height:15px}.hero-art{opacity:.85;width:235px;inset-inline-end:-8px}.hero-copy{max-width:65%}.hero h2{font-size:22px}.hero p{font-size:12px}.top-actions{gap:15px}.live-status{display:none}.user-menu{padding-inline-start:15px}.stats{grid-template-columns:repeat(2,1fr)}.template-grid{grid-template-columns:repeat(3,1fr)}.template-card h3{font-size:12px}.template-bottom{flex-wrap:wrap;gap:8px}.form-layout,.live-layout{grid-template-columns:1fr}.sticky-summary{position:static}.help-grid{grid-template-columns:1fr}.live-side{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:center}.live-side h3,.live-side .note{grid-column:1/-1;margin:0}.live-side .room-code{margin:0}.live-side .mini-stat{padding:10px}.join-visual{padding:25px}.join-visual .hero-art{width:270px;height:210px;opacity:1}.join-visual h2{font-size:28px}.join-visual p{font-size:13px}.page-intro .intro-actions .btn-secondary{display:none}.results-layout{grid-template-columns:1fr}.room-header{align-items:flex-start}.room-controls{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:720px){.sidebar{transform:translateX(100%);width:245px;transition:transform .2s}.sidebar.open{transform:translateX(0)}html[dir=ltr] .sidebar{transform:translateX(-100%)}html[dir=ltr] .sidebar.open{transform:translateX(0)}.sidebar.open~.mobile-backdrop{display:block;position:fixed;inset:0;background:#24193450;z-index:25}.main{margin-inline-start:0}.topbar{height:68px;padding-inline:20px}.mobile-menu{display:flex;border:0;background:#f6f2fc}.breadcrumb{display:none}.top-actions{margin-inline-start:auto;gap:14px}.user-menu{border:0;padding:0}.user-role{display:none}.user-name{font-size:11px}.content{padding:25px 20px}.page-intro{gap:12px;margin-bottom:22px}.page-intro h1{font-size:23px}.page-intro p{font-size:11px}.page-intro .btn{font-size:11px;padding:11px 13px}.page-intro .btn .icon{width:16px;height:16px}.hero{min-height:219px;padding:23px;align-items:flex-start}.hero-copy{max-width:75%}.hero h2{font-size:23px}.hero p{font-size:11px;max-width:240px;margin-bottom:16px}.hero-art{width:180px;height:150px;bottom:3px;inset-inline-end:-28px;opacity:.55}.hero .eyebrow{font-size:10px}.hero .btn{font-size:11px}.stats{gap:12px;margin-bottom:23px}.stat{padding:16px}.stat-value{font-size:26px}.stat-label{font-size:11px}.stat-icon{width:37px;height:37px}.panel-head{padding:20px}.panel-head h2{font-size:15px}.tabs{padding-inline:20px;gap:23px}.tab{font-size:11px}.session-row{padding:18px 17px}.session-title{font-size:12px}.session-row .btn{font-size:10px;padding:7px 9px}.session-meta{font-size:9px;gap:7px}.session-symbol{width:36px;height:39px}.side-stack{grid-template-columns:1fr 1fr;gap:15px}.quick-join,.how-panel{padding:18px}.quick-join h3{font-size:14px}.quick-join p{font-size:10px}.how-panel h3{font-size:13px}.how-step{gap:8px}.how-step p{font-size:9px}.how-step strong{font-size:10px}.template-grid{grid-template-columns:1fr}.template-card{padding:20px}.template-card h3{font-size:15px}.template-card p{font-size:12px;min-height:0}.template-tag{font-size:10px}.template-bottom span,.template-bottom .btn-text{font-size:11px}.template-top{margin-bottom:12px}.section-heading h2{font-size:15px}.section-heading .btn-text{font-size:11px}.page-footer{font-size:9px}.list-toolbar{flex-wrap:wrap;padding:17px}.list-toolbar .tabs{gap:20px}.searchbox{width:100%;max-width:none}.form-panel{padding:21px}.two-columns{gap:12px}.form-panel select{padding:11px 9px;font-size:12px}.join-layout{grid-template-columns:1fr}.join-visual{display:none}.join-main{min-height:100vh;padding:70px 28px}.join-box .brand{margin-bottom:45px}.join-box h1{font-size:28px}.room-header{flex-wrap:wrap}.room-header h1{font-size:21px}.room-controls{width:100%;justify-content:flex-start}.room-controls .btn{flex:1}.lobby{padding:32px 19px}.lobby h2{font-size:21px}.lobby>p{font-size:12px}.room-code{font-size:38px;letter-spacing:9px;padding:13px 21px 13px 30px}.share-url{font-size:10px}.share-link{gap:8px}.share-link .btn{font-size:11px;padding:10px 13px}.question-stage,.participant-view .question-stage{padding:23px}.question-stage h2{font-size:21px;margin-bottom:24px}.answer-options{grid-template-columns:1fr}.answer-option{min-height:65px;font-size:13px;padding:15px}.stage-top{font-size:11px}.timer-label{font-size:10px;gap:8px}.timer{width:44px;height:44px;font-size:16px}.stage-bottom{margin-top:24px;font-size:11px}.participant-view{padding:25px 18px}.participant-header{margin-bottom:25px}.participant-header-right{gap:10px}.participant-header-right .pill{font-size:10px}.participant-view .room-header{margin-bottom:18px}.results-metrics{gap:24px}.results-metrics strong{font-size:23px}.results-metrics span{font-size:10px}.results-hero{padding:30px 15px}.results-hero h2{font-size:23px}.modal{padding:28px 23px}.help-card{padding:24px}.empty-state{padding:34px 20px}.mobile-only{display:block}.save-indicator{font-size:10px}.save-indicator .icon{display:none}}
/* Secondary copy stays readable on small screens and projectors. */
.hero-art img{width:100%;height:100%;object-fit:contain}.approval-notice{display:flex;align-items:flex-start;gap:12px;border:1px solid #eadbbf;background:#fff9ef;color:#94713c;border-radius:12px;padding:17px;margin-top:22px;font-size:13px;line-height:1.8}.approval-notice strong{font-size:13px}.approval-notice p{font-size:12px;margin-top:5px}.approval-notice .icon{margin-top:3px}.question-stage .stage-bottom>.btn{white-space:normal;line-height:1.7;text-align:center}.field input[type=number]{direction:ltr;text-align:start}
:root{--muted:#81798d}
.page-intro p,.hero p,.stat-label,.panel-head p,.session-meta,.template-card p,.template-bottom>span,.quick-join p,.how-step p,.empty-state p,.field small,.question-help,.sessionDescription,.save-indicator,.question-result-meta,.participant-view .page-footer,.stage-bottom,.join-box>p,.auth-note{color:#84798f}
.nav a,.breadcrumb,.user-role,.live-status,.how-step strong{color:#81788e}
.stat-label,.session-meta,.template-card p,.template-bottom>span,.quick-join p,.how-step p,.panel-head p{font-size:12px}
.how-step strong{font-size:12px}.nav-label{color:#91869d}.hero .eyebrow .icon{height:16px;width:16px}.page-footer{color:#8e8399}.template-tag{color:#8e7e9d}.session-meta .icon{width:13px;height:13px}.stage-bottom{line-height:1.8}.session-row .session-title{line-height:1.8}
@media(max-width:720px){.page-intro p,.hero p,.stat-label,.session-meta,.template-card p,.quick-join p,.how-step p{font-size:12px}.how-panel{padding:16px}.how-step p{font-size:11px}.page-footer{font-size:10px}.hero-art{opacity:.4}.session-meta{font-size:10px}.participant-view .page-footer{align-items:center;gap:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
