
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root{--bg:#f8f9fc;--ink:#28313d;--muted:#959ca5;--brand:#5695ed;--border:#ebeef2;--font:"DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible{outline:3px solid #a6c7f6;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:none;border-color:#80aded!important;box-shadow:0 0 0 3px #5695ed12}input::placeholder,textarea::placeholder{color:#b0b6be}svg{flex-shrink:0}h1,h2,h3,.brand{font-family:"Manrope",var(--font)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:600;font-size:13px;padding:12px 18px;border-radius:9px;line-height:20px;transition:background .2s,box-shadow .2s,transform .2s;white-space:nowrap}.button:hover:not(:disabled){transform:translateY(-1px)}.primary{background:var(--brand);color:white;box-shadow:0 4px 9px #5695ed1c}.primary:hover:not(:disabled){background:#4584dd;box-shadow:0 5px 15px #5695ed32}.secondary{border:1px solid #dee4ed;background:white;color:#516a8e}.secondary:hover{background:#f2f7ff}.light{background:#fff;color:#43628e}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;border-radius:7px}.icon-button:hover{background:#5695ed0c}.text-button{display:inline-flex;gap:6px;align-items:center;color:#5685c8;font-size:12px;font-weight:600}.full-width{width:100%}.muted{color:var(--muted)}.fine{font-size:12px;line-height:1.7}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:35px 20px 0;z-index:20}.brand{display:flex;gap:10px;align-items:center;font-weight:800;font-size:23px;letter-spacing:-1px;white-space:nowrap}.brand-symbol{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--brand);color:white;box-shadow:0 4px 12px #5695ed24}.brand-light{font-weight:500}.brand i{font-style:normal;color:var(--brand);font-size:30px;line-height:0}.sidebar>.brand{padding-left:7px}.workspace-label{font-size:9px;letter-spacing:1.4px;color:#a8aeb7;font-weight:600;margin:46px 13px 17px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 13px;width:100%;font-size:12px;font-weight:500;color:#828a96;text-align:left;border-radius:8px}.nav-item svg{width:18px;height:18px}.nav-item span{flex:1}.nav-item:hover{background:#f6faff}.nav-item.selected{color:#5695ed;background:#ecf3fd;font-weight:650}.nav-item b{font-size:10px;min-width:21px;padding:3px;border-radius:5px;background:#f3f5f8;color:#a5adb8;text-align:center;font-weight:500}.nav-item.selected b{background:#ddeafb;color:#5695ed}.sidebar-bottom{margin-top:auto}.sidebar-tip{margin:90px 3px 20px;padding:17px 15px;background:linear-gradient(135deg,#f1f6fd,#f9fbfe);border:1px solid #e9f0fa;border-radius:11px}.tip-icon{display:flex;width:31px;height:31px;align-items:center;color:#7b9ac6;margin-bottom:8px}.sidebar-tip strong{display:block;font-size:11px;font-weight:650;letter-spacing:-.15px}.sidebar-tip p{font-size:10px;line-height:1.8;color:#909bab;margin:8px 0 13px}.sidebar-tip a{display:flex;align-items:center;gap:6px;color:#6485b4;font-size:10px;font-weight:600}.help-button{margin-bottom:16px;font-size:11px}.help-button>svg:last-child{width:13px}.user-profile{margin:0 -20px;padding:21px 21px;display:flex;align-items:center;gap:10px;border-top:1px solid var(--border)}.avatar{display:flex;align-items:center;justify-content:center;border:3px solid #fff;box-shadow:0 0 0 1px #e5eaf1;border-radius:50%;width:35px;height:35px;background:#e6effc;color:#6e92c4;font-size:10px;font-weight:600;flex-shrink:0}.user-profile>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.user-profile strong{font-size:11px;overflow:hidden;text-overflow:ellipsis}.user-profile small{font-size:10px;color:#a5acb5}.user-profile a{color:#a9b1bd}.main-shell{margin-left:246px;flex:1;min-width:0}.topbar{height:78px;border-bottom:1px solid var(--border);background:#ffffffa6;padding:0 43px;display:flex;align-items:center;gap:18px}.breadcrumb{display:flex;align-items:center;gap:15px;font-size:10px;color:#a0a8b2}.breadcrumb strong{color:#5f6a79;font-weight:500}.topbar-note{margin-left:auto;color:#a0a7b0;display:flex;gap:7px;align-items:center;font-size:10px}.topbar-note i{width:5px;height:5px;background:#a0aec2;border-radius:50%}.small-avatar{width:28px;height:28px;font-size:9px}.dashboard{max-width:1530px;padding:38px 43px 0;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{color:#9ba2ad;font-size:8px;font-weight:600;letter-spacing:1.65px;margin-bottom:9px}.page-heading h1{font-size:27px;font-weight:750;letter-spacing:-1.05px;line-height:1.4}.page-heading p{font-size:11px;color:#939ba5;margin-top:7px}.new-draw{font-size:11px;padding:11px 17px;border-radius:8px}.welcome-banner{position:relative;background:#e9f1fb;border:1px solid #e0eaf7;border-radius:15px;overflow:hidden;min-height:275px;display:flex;align-items:center}.welcome-banner:before{content:"";position:absolute;width:600px;height:600px;top:-210px;right:-180px;border-radius:50%;background:radial-gradient(ellipse,#dbe8fb 0,#dbe8fb00 70%)}.banner-content{padding:28px 34px 31px;position:relative;z-index:2}.banner-tag{display:flex;align-items:center;gap:6px;letter-spacing:.9px;font-size:7px;color:#7893b9;font-weight:650}.banner-content h2{font-size:29px;line-height:1.3;font-weight:750;letter-spacing:-1.05px;margin:13px 0;color:#3a5273}.banner-content p{font-size:10px;line-height:1.85;color:#8595ab}.banner-content .button{margin-top:20px;font-size:9px;padding:9px 12px;box-shadow:0 2px 5px #5678a709;border:1px solid #dce5f1;border-radius:7px;gap:19px}.banner-caption{position:absolute;right:25px;bottom:18px;display:flex;align-items:center;gap:5px;font-size:6px;letter-spacing:1.15px;color:#93a4bb}.banner-caption>span{width:4px;height:4px;border-radius:50%;background:#a0b6d5}
.wheel-art{position:absolute;right:6%;top:15px;width:295px;height:250px}.art-wheel{position:absolute;left:45px;top:22px;width:205px;height:205px;border:9px solid #fff;border-radius:50%;box-shadow:0 9px 0 #bfd0e8,0 14px 25px #6282af20;transform:rotate(-15deg);background:conic-gradient(#719edc 0deg 45deg,#d9e7fa 45deg 90deg,#a6c4ed 90deg 135deg,#f7fafe 135deg 180deg,#719fdf 180deg 225deg,#cddef6 225deg 270deg,#9dbce8 270deg 315deg,#f7fafe 315deg);z-index:2}.wheel-lines{position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(#ffffffa0 0deg 1deg,transparent 1deg 45deg)}.wheel-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:57px;height:57px;background:#fff;box-shadow:0 2px 10px #7c9ac333;border:5px solid #f0f5fd;border-radius:50%;color:#90abd0;display:flex;align-items:center;justify-content:center}.wheel-pointer{position:absolute;right:35px;top:99px;width:25px;height:27px;background:#6491cf;clip-path:polygon(100% 0,100% 100%,0 50%);transform:rotate(-15deg);z-index:4;filter:drop-shadow(0 2px 2px #6283b266)}.wheel-shadow{position:absolute;bottom:12px;left:60px;width:170px;height:12px;border-radius:50%;background:#87a4cd20;filter:blur(8px)}.orbit{position:absolute;inset:7px 0 0;border:1px solid #b9cce742;border-radius:50%;transform:rotate(-30deg)}.orbit-two{inset:-15px -20px -12px;transform:rotate(40deg);border-style:dashed;opacity:.6}.float-badge{position:absolute;display:flex;align-items:center;justify-content:center;z-index:3}.badge-star{top:29px;left:13px;background:#f9fcff;width:44px;height:44px;color:#9cb0cc;font-size:26px;border-radius:12px;transform:rotate(-15deg);box-shadow:0 8px 13px #7191bd12}.badge-ball{bottom:14px;right:8px;width:54px;height:54px;font-size:19px;font-weight:700;color:#6b8ebf;background:radial-gradient(circle at 30% 20%,#fff,#e0eaf9);border-radius:50%;transform:rotate(16deg);box-shadow:0 6px 8px #7191bd18;border:2px solid #f5f9ff}.art-spark{position:absolute;color:#94b2db}.s1{right:0;top:13px;font-size:26px}.s2{left:23px;bottom:20px;font-size:23px}.art-dot{position:absolute;background:#a6bcdb;width:5px;height:5px;border-radius:50%}.d1{left:3px;top:138px}.d2{right:16px;top:71px;width:3px;height:3px}
.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:22px 0 33px}.stat-card{display:flex;justify-content:space-between;padding:20px 20px 18px;background:#fff;border:1px solid var(--border);border-radius:11px;gap:10px}.stat-card>div{display:flex;flex-direction:column}.stat-card>div>span{font-size:10px;font-weight:500;color:#9098a2}.stat-card strong{font-family:"Manrope",var(--font);font-size:27px;line-height:1.3;font-weight:700;margin-top:8px;letter-spacing:-1px}.stat-card small{font-size:8px;color:#a7adb6;margin-top:5px}.stat-icon{width:36px;height:36px;border-radius:10px;background:#eef4fc;color:#8ba7ce;display:flex;justify-content:center;align-items:center}.stat-users{background:#edf5f5;color:#94b6b5}.stat-trophy{background:#fcf5e9;color:#c8b48d}.section-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}.section-top h2{font-size:15px;font-weight:700;letter-spacing:-.35px;display:flex;align-items:center;gap:7px}.section-top p{font-size:9px;color:#a4acb6;margin-top:6px}.count-badge{font-size:9px;min-width:20px;padding:3px 6px;background:#ebeff4;color:#909aa8;text-align:center;border-radius:5px;font-family:var(--font);font-weight:500}.list-controls{display:flex;gap:9px}.search-field{border:1px solid #e6eaef;border-radius:7px;display:flex;align-items:center;padding:0 10px;gap:7px;background:#fff;color:#b0b9c6}.search-field input{border:0;background:none;padding:9px 0;width:140px;outline:0;box-shadow:none!important;font-size:9px;color:#646f7e}.list-controls select{border:1px solid #e6eaef;padding:8px 9px;border-radius:7px;background:#fff;font-size:9px;color:#929caa}.events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.event-card{border-radius:11px;border:1px solid var(--border);background:#fff;min-width:0;transition:box-shadow .2s}.event-card:hover{box-shadow:0 8px 25px #23365109}.event-cover{height:133px;border-radius:10px 10px 0 0;background:color-mix(in srgb,var(--event-color) 10%,#fff);position:relative}.cover-globe{background:color-mix(in srgb,var(--event-color) 8%,#fff)}.cover-suspense{background:color-mix(in srgb,var(--event-color) 16%,#fff)}.status-chip{position:absolute;top:13px;left:13px;z-index:2;display:flex;align-items:center;gap:4px;font-size:7px;border-radius:4px;background:#ffffffd9;padding:5px 7px;color:#8694a7}.status-chip i{width:4px;height:4px;border-radius:50%;background:#a5bea8}.status-drawn i{background:#a2b6d3}.cover-menu{position:absolute;right:8px;top:7px;color:#9ba7b8;z-index:5}.card-cover-art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--event-color)}.card-cover-art>.mini-wheel{width:85px;height:85px;border-width:5px;box-shadow:0 4px 0 #b6c9e3;transform:rotate(-18deg)}.single-ball{display:flex;align-items:center;justify-content:center;width:65px;height:65px;border-radius:50%;font-size:22px;font-weight:600;color:#7188a7;background:radial-gradient(circle at 35% 20%,#fff,#dbe5f2);border:2px solid #fff;box-shadow:0 7px 14px #687f9f17}.cover-countdown{font-size:51px;letter-spacing:4px;color:var(--event-color);opacity:.65}.event-card-body{padding:17px}.event-card-body h3{font-size:13px;font-weight:750;letter-spacing:-.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-slug{display:flex;align-items:center;gap:5px;color:#a7b1c0;font-size:8px;margin-top:6px;padding:0;max-width:100%}.event-slug>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-slug svg:last-child{opacity:0;margin-left:3px}.event-slug:hover svg:last-child{opacity:1}.event-meta{display:flex;gap:15px;margin:21px 0 16px}.event-meta span{display:flex;align-items:center;gap:5px;color:#a1aab7;font-size:8px}.event-card-actions{display:flex;gap:8px;border-top:1px solid #eff2f6;padding-top:13px}.event-start{font-size:9px;background:#f0f5fc;color:#7195c8;flex:1;padding:6px 9px;border-radius:6px;font-weight:550}.event-start>svg:last-child{margin-left:auto;width:13px}.event-start>svg:first-child{width:11px}.link-copy{border:1px solid #e9eef5;color:#9aa8bb;min-width:31px;min-height:30px}.link-copy svg{width:14px}.menu-dismiss{position:fixed;inset:0;z-index:3;cursor:default}.dropdown-menu{position:absolute;right:8px;top:38px;z-index:5;padding:5px;background:#fff;border:1px solid var(--border);box-shadow:0 7px 25px #2e3e5421;border-radius:8px;min-width:140px}.dropdown-menu button{display:flex;align-items:center;gap:9px;font-size:11px;width:100%;padding:10px;border-radius:5px;text-align:left;color:#818e9f}.dropdown-menu button:hover{background:#f1f6fc}.empty-events{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:29px 20px 31px;border:1px dashed #d9e1ed;border-radius:11px;background:#ffffff8f;color:#a5b3c6;min-height:210px}.empty-events h3{font-size:13px;margin-top:13px;color:#737f8f;font-weight:650}.empty-events p{font-size:10px;line-height:1.9;margin-top:7px;color:#a0aab7}.empty-events .button{font-size:10px;margin-top:18px;padding:8px 13px}.empty-event-icon{background:#eef3fb;padding:9px;border-radius:13px}.loading-state{height:150px;display:flex;align-items:center;justify-content:center;gap:10px;color:#a4aebc;font-size:12px}.templates-section{margin-top:34px}.templates-section .text-button{font-size:9px}.templates-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.template-card{padding:0;border:1px solid var(--border);border-radius:10px;background:#fff;text-align:left;overflow:hidden;transition:transform .2s,border-color .2s}.template-card:hover{transform:translateY(-3px);border-color:#c5d7f1}.template-art{height:105px;background:#ebf1f9;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.template-wheel .template-art{background:#eaf1fa}.template-globe .template-art{background:#edf2f1}.template-suspense .template-art{background:#f4eee6}.template-open{position:absolute;bottom:8px;right:9px;color:#9caec8;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff80;background:#ffffff60;width:22px;height:22px;border-radius:50%}.template-info{display:flex;flex-direction:column;padding:13px}.template-info strong{font-size:11px;font-weight:650}.template-info small{font-size:8px;color:#a1a9b5;margin-top:5px;line-height:1.5}.mini-wheel{width:76px;height:76px;border:5px solid #fff;border-radius:50%;background:conic-gradient(#9ab7df 0deg 60deg,#e3edfb 60deg 120deg,#b0c7e8 120deg 180deg,#f7fafe 180deg 240deg,#88a9d7 240deg 300deg,#d1e0f5 300deg);position:relative;box-shadow:0 3px 0 #c0cfe5;transform:rotate(-15deg)}.mini-wheel:before{content:"";position:absolute;width:20px;height:20px;left:50%;top:50%;transform:translate(-50%,-50%);border:4px solid #eff4fc;border-radius:50%;background:#fff;box-shadow:0 1px 3px #587caf30}.mini-wheel:after{content:"";position:absolute;top:-10px;left:calc(50% - 5px);width:10px;height:16px;background:#97aece;clip-path:polygon(0 0,100% 0,50% 100%)}.classic-art{display:flex;flex-direction:column;align-items:center;gap:6px;color:#8a9fbd}.classic-art span{font-size:25px;line-height:30px}.classic-art strong{font-size:12px;font-weight:500}.ball-art{position:relative;width:135px;height:70px}.ball-art span{position:absolute;display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:50%;background:radial-gradient(circle at 25% 20%,#fff,#d6e1df);box-shadow:0 7px 10px #7b9a8e19;color:#99b0a7;font-size:14px;font-weight:600;border:1px solid #ffffffb0}.ball-art span:first-child{left:3px;top:20px;transform:rotate(-18deg)}.ball-art span:nth-child(2){left:46px;top:0;z-index:2}.ball-art span:last-child{right:2px;top:26px;transform:rotate(20deg)}.countdown-art{font-family:"Manrope",var(--font);font-size:48px;color:#c4b395;font-weight:600;letter-spacing:5px}.countdown-art>span{color:#d8ccba}.dashboard-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding:22px 0;margin-top:31px;font-size:8px;color:#aeb5bf;gap:10px}.dashboard-footer>span:last-child{display:flex;gap:5px;align-items:center}.results-panel{padding-top:12px}.history-list{background:#fff;border:1px solid var(--border);border-radius:11px}.history-row{display:flex;align-items:center;gap:15px;padding:20px;border-bottom:1px solid var(--border)}.history-row:last-child{border-bottom:0}.history-trophy{display:flex;justify-content:center;align-items:center;width:36px;height:36px;background:#faf4e6;color:#bbaa80;border-radius:9px}.history-row>div{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.history-row strong{font-size:13px}.history-row small{font-size:10px;color:#98a1ae}.history-row time{font-size:10px;color:#a0a8b4}.history-row>.icon-button{color:#a3adbb}.error-box{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;line-height:1.7;padding:12px 15px;border:1px solid #f2d9d9;background:#fff5f5;color:#b26c73;border-radius:8px;margin:12px 0}.error-box button{text-decoration:underline;font-weight:600}.toast{position:fixed;z-index:100;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:13px 20px;background:#37414e;color:#fff;font-size:12px;border-radius:10px;box-shadow:0 7px 30px #2b354230;max-width:calc(100% - 28px)}
.modal-backdrop{position:fixed;inset:0;background:#202a3969;backdrop-filter:blur(5px);z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}.modal{background:#fff;width:510px;max-width:100%;border:1px solid #e6ecf5;border-radius:17px;position:relative;box-shadow:0 20px 80px #1c2d4621;max-height:calc(100dvh - 48px);overflow:auto;padding:32px}.modal-wide{width:720px;padding:0}.modal-close{position:absolute;right:18px;top:16px;color:#95a0b0;z-index:2}.modal-intro{margin:3px 0 24px}.modal-intro h2{font-size:23px;font-weight:750;letter-spacing:-.6px;margin-top:16px}.modal-intro p{font-size:12px;color:#97a1ae;margin-top:7px}.large-icon{display:flex;justify-content:center;align-items:center;color:#8aa6ce;background:#edf3fc;width:46px;height:46px;border-radius:13px}.help-steps{counter-reset:item;list-style:none;padding:0;margin:0 0 18px;display:flex;flex-direction:column;gap:19px}.help-steps li{position:relative;padding-left:38px;counter-increment:item}.help-steps li:before{content:counter(item);position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:8px;background:#ebf2fb;color:#7c9ac4;font-size:11px}.help-steps strong{font-size:12px}.help-steps p{font-size:11px;line-height:1.8;color:#949faf;margin-top:3px}.help-steps+.fine{margin:16px 0}.editor-header{padding:29px 32px 24px}.editor-label{display:flex;align-items:center;gap:5px;color:#8a9fbd;font-size:8px;font-weight:600;letter-spacing:1px}.editor-header h2{font-size:24px;letter-spacing:-.8px;margin:12px 0 7px;font-weight:750}.editor-header p{color:#98a2b0;font-size:11px}.editor-tabs{display:flex;border-top:1px solid #edf1f7;border-bottom:1px solid #e5eaf1;padding:0 32px;gap:26px}.editor-tabs button{padding:15px 0;font-size:11px;color:#a5afbc;position:relative}.editor-tabs button>span{font-size:8px;border:1px solid #e1e7f0;padding:3px;border-radius:4px;margin-right:6px}.editor-tabs button[aria-selected=true]{color:#698dc0;font-weight:600}.editor-tabs button[aria-selected=true]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#7199d0}.editor-body{padding:25px 32px 24px;min-height:400px}.field{display:flex;flex-direction:column;gap:9px;font-size:11px;font-weight:550;margin-bottom:21px;color:#647184;position:relative}.field>input,.field>select,.field>textarea{width:100%;border:1px solid #e1e7ef;background:#fff;padding:11px 12px;color:#677487;font-weight:400;font-size:12px;border-radius:7px;min-width:0}.field input:disabled,.field textarea:disabled{background:#f8fafc;color:#a8b3c2;cursor:not-allowed}.field>small{font-size:9px;color:#a4aebd;font-weight:400;line-height:1.6}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.slug-input{display:flex;border:1px solid #e1e7ef;border-radius:7px;overflow:hidden;align-items:center}.slug-input>span{background:#f6f9fc;color:#a1adbd;font-size:11px;padding:12px;border-right:1px solid #e7ecf4}.slug-input>input{min-width:0;flex:1;width:100%;border:0;padding:11px 12px;font-weight:400;font-size:12px;color:#7694bd}.type-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.type-options button{border:1px solid #e1e7f0;border-radius:9px;padding:16px 13px;text-align:left;position:relative;display:flex;align-items:flex-start;flex-direction:column;gap:7px;color:#9babc2}.type-options strong{font-size:11px;font-weight:600;color:#808d9f}.type-options small{font-size:8px;font-weight:400;color:#acb6c4}.type-options button.selected{border-color:#a4bee3;background:#f6faff;box-shadow:0 0 0 1px #a4bee31a}.type-options button.selected strong{color:#6687b5}.type-check{position:absolute;top:11px;right:11px;background:#96afd1;color:#fff;width:15px;height:15px;border-radius:50%;display:flex;align-items:center;justify-content:center}.label-row{display:flex;justify-content:space-between;gap:10px;align-items:center}.label-row .text-button{font-size:9px}.participants-field textarea{resize:vertical;line-height:1.85;min-height:125px;max-height:300px}.list-summary{padding:10px 12px;border-radius:6px;background:#f4f7fc;display:flex;align-items:center;gap:7px;color:#8a9eb9;font-size:10px;margin-top:-9px}.list-summary span{margin-left:auto;color:#a7b5c8;font-size:9px}.list-summary button{color:#aa7892;text-decoration:underline}.import-note{font-size:10px;color:#8393aa;margin-bottom:12px}.info-box{display:flex;align-items:flex-start;gap:10px;background:#f5f8fb;border:1px solid #e9eef5;padding:13px;border-radius:7px;color:#94a0b1;font-size:10px;line-height:1.8;margin-bottom:20px}.info-box svg{color:#a0afc3;margin-top:2px}.visual-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.visual-options button{padding:0;border:1px solid #e4eaf2;border-radius:8px;overflow:hidden;position:relative;text-align:left}.visual-sample{display:flex;height:88px;align-items:center;justify-content:center;background:#eef3fb;color:#93aacb}.visual-sample .mini-wheel{height:58px;width:58px;border-width:3px}.visual-sample .single-ball{height:50px;width:50px;font-size:17px}.sample-globe{background:#f0f4f1}.sample-suspense{background:#f6f0e8;color:#c5b190;font-size:35px;font-family:"Manrope",var(--font)}.visual-options strong{display:block;padding:12px 9px;font-size:10px;color:#8d9cb2;font-weight:500}.visual-options button.selected{border-color:#a0bce4;box-shadow:0 0 0 1px #a0bce421}.radio-indicator{width:12px;height:12px;border-radius:50%;border:1px solid #cbd7e8;position:absolute;bottom:12px;right:9px;display:flex;align-items:center;justify-content:center}.radio-indicator i{width:6px;height:6px;background:#88a4cc;border-radius:50%}.optional{font-size:8px;color:#b3bdcb;position:absolute;right:0;top:2px}.color-options{display:flex;align-items:center;gap:10px}.color-options>button{width:29px;height:29px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;border:3px solid #fff;box-shadow:0 0 0 1px #ebeff4}.color-options>button.chosen{box-shadow:0 0 0 2px #b0c4e1}.custom-color{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px dashed #c9d4e4;border-radius:50%;color:#9dafc9;position:relative;overflow:hidden;cursor:pointer}.custom-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.toggle-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-top:1px solid #ecf0f6;gap:14px;cursor:pointer}.toggle-row strong{display:block;font-size:11px;color:#828e9f;font-weight:550}.toggle-row small{display:block;font-size:9px;color:#a5b1c1;margin-top:5px}.toggle-row input{appearance:none;background:#dce3ec;border-radius:99px;width:32px;height:19px;position:relative;cursor:pointer;transition:background .2s}.toggle-row input:before{content:"";position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:#fff;transition:transform .2s}.toggle-row input:checked{background:#829fc8}.toggle-row input:checked:before{transform:translateX(13px)}.toggle-row+.info-box{margin-top:9px;margin-bottom:0}.editor-footer{border-top:1px solid #e7ecf4;background:#fbfdff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 28px;border-radius:0 0 17px 17px}.editor-footer>.button{font-size:10px;padding:9px 13px}.editor-footer>span{font-size:8px;color:#aab6c8}.editor-footer>.text-button{color:#9baabf}
.stage{--event-color:#5695ed;min-height:100dvh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 46%,color-mix(in srgb,var(--event-color) 4%,#fff) 0,#fafbfd 70%);position:relative;overflow:hidden}.stage-header{height:84px;padding:0 36px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;position:relative;z-index:2}.stage-back{display:flex;align-items:center;gap:9px;font-size:10px;color:#a0aab9;width:max-content}.brand-small{font-size:20px}.brand-small .brand-symbol{width:31px;height:31px;border-radius:10px;background:var(--event-color)}.brand-small .brand-symbol svg{width:18px}.stage-controls{display:flex;align-items:center;justify-content:flex-end;gap:13px;color:#9ba7b9}.stage-fullscreen{font-size:10px;border:1px solid #e1e7f0;border-radius:7px;padding:8px 12px;background:#ffffff90;color:#98a7bd}.stage-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 22px 40px;z-index:1}.stage-event-label{font-size:8px;letter-spacing:2.1px;color:#a2b0c3;display:flex;align-items:center;gap:7px;font-weight:500}.stage-event-label>span{background:#acbbd0;width:4px;height:4px;border-radius:50%}.stage-content>h1{font-size:clamp(22px,3vw,40px);letter-spacing:-1.2px;color:#546172;font-weight:650;line-height:1.4;margin-top:13px;overflow-wrap:anywhere;max-width:95%}.stage-prize{display:flex;align-items:center;gap:7px;font-size:11px;color:#a0aec1;margin-top:12px}.stage-play-area{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 0 20px;width:100%}.classic-display{margin-bottom:17px;position:relative}.classic-emblem{width:117px;height:117px;border:1px solid color-mix(in srgb,var(--event-color) 12%,#fff);border-radius:34px;display:flex;align-items:center;justify-content:center;color:color-mix(in srgb,var(--event-color) 45%,#bac6d6);background:linear-gradient(150deg,#fff,color-mix(in srgb,var(--event-color) 5%,#fff));box-shadow:0 9px 30px #7991b307,inset 0 0 0 7px #ffffff88;transform:rotate(-7deg)}.classic-emblem>svg{transform:rotate(7deg)}.classic-star{position:absolute;top:-14px;right:-24px;font-size:20px;color:#b3c2d6}.classic-display.shuffling{min-height:117px;display:flex;align-items:center;justify-content:center;color:var(--event-color);font-size:38px;padding:15px;overflow-wrap:anywhere}.classic-display.shuffling .classic-star{display:none}.stage-prompt h2{font-size:19px;font-weight:550;letter-spacing:-.6px;color:#8597af}.stage-prompt p{font-size:10px;color:#a9b5c7;margin-top:9px}.stage-action{display:flex;flex-direction:column;align-items:center;gap:13px;min-height:88px}.draw-button{min-width:250px;background:var(--event-color);border-radius:11px;color:white;padding:16px 25px;font-size:13px;font-weight:550;box-shadow:0 7px 20px color-mix(in srgb,var(--event-color) 18%,transparent)}.draw-button>svg:last-child{margin-left:12px}.draw-button:hover:not(:disabled){box-shadow:0 9px 25px color-mix(in srgb,var(--event-color) 27%,transparent)}.keyboard-hint{font-size:8px;color:#b4c0d0}.keyboard-hint kbd{font-family:var(--font);padding:2px 5px;border:1px solid #e0e8f2;border-radius:3px;background:#fff;margin-left:3px}.stage-meta{margin-top:18px;display:flex;align-items:center;gap:15px;font-size:9px;color:#a5b3c6;flex-wrap:wrap;justify-content:center}.stage-meta>span,.stage-meta>button{display:flex;align-items:center;gap:6px}.stage-meta>i{width:2px;height:2px;background:#b7c1d0;border-radius:50%}.stage-footer{margin:0 36px;padding:19px 0;border-top:1px solid #e5eaf2;display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#b5bfce;gap:12px;z-index:1}.stage-footer>span:last-child{display:flex;gap:5px;align-items:center}.stage-footer .text-button{font-size:8px;color:#9baec9}.demo-strip{margin:0 36px;border:1px solid #e3ebf5;background:#f2f6fc;border-radius:9px;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;color:#99abc4;font-size:9px;gap:15px;z-index:2}.demo-strip>span,.demo-strip>a{display:flex;align-items:center;gap:5px}.demo-strip>div{display:flex;align-items:center;gap:3px;background:#e6ecf5;border-radius:5px;padding:3px}.demo-strip button{font-size:8px;padding:5px 10px;border-radius:4px}.demo-strip button.active{background:#fff;color:#7c95b9;box-shadow:0 1px 3px #3d577b10}.stage-wheel .stage-play-area{padding-top:27px;min-height:350px}.live-wheel-container{position:relative;margin:5px 0 22px;width:230px;height:230px}.live-wheel{width:100%;height:100%;border:8px solid white;border-radius:50%;box-shadow:0 5px 0 #ccd9ea,0 10px 24px #7894bb1c;position:relative;transition:transform var(--spin-duration) cubic-bezier(.14,.65,.16,1)}.live-wheel-pointer{position:absolute;left:calc(50% - 10px);top:-10px;width:20px;height:30px;clip-path:polygon(0 0,100% 0,50% 100%);background:color-mix(in srgb,var(--event-color) 60%,#b9c9e0);z-index:3}.live-wheel-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:5px solid #eff6ff;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#abbdd6;width:53px;height:53px;z-index:2;box-shadow:0 1px 6px #5a769d18}.wheel-name{position:absolute;left:50%;top:2%;width:40px;transform-origin:50% 100%;display:flex;align-items:flex-start;justify-content:center;padding-top:8px}.wheel-name>span{font-size:8px;color:#445a78;writing-mode:vertical-rl;font-weight:500;max-height:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-result{animation:result-in .6s ease-out;width:100%;max-width:900px;padding:6px 0 2px}.winner-eyebrow{display:flex;align-items:center;justify-content:center;gap:7px;font-size:8px;letter-spacing:1.6px;color:#96accb}.winner-names{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px 25px;margin:12px 0 9px;max-height:24vh;overflow:auto;padding:4px 15px}.winner-names h2{font-size:clamp(27px,4vw,55px);font-weight:750;color:var(--event-color);letter-spacing:-1.4px;overflow-wrap:anywhere;max-width:100%}.winner-names:has(h2:nth-child(3)) h2{font-size:clamp(20px,2.7vw,34px)}.stage-result>p{font-size:11px;color:#a5b4c8}.has-result.stage-wheel .live-wheel-container{width:170px;height:170px;margin-bottom:15px}.has-result.stage-wheel .wheel-name>span{max-height:43px;font-size:6px}.has-result.stage-wheel .live-wheel-hub{width:43px;height:43px;border-width:4px}.has-result.stage-wheel .live-wheel-hub svg{width:20px}.has-result.stage-globe .globe-container{transform:scale(.8);margin:-20px 0 -10px}.has-result.stage-classic .classic-emblem{width:77px;height:77px;border-radius:24px}.has-result.stage-classic .classic-emblem>svg{width:35px}.stage-error{font-size:10px;max-width:600px;margin-bottom:16px}.audience-label{display:flex;align-items:center;gap:9px;background:#ebf0f8;border:1px solid #dfe7f1;padding:14px 20px;border-radius:9px;color:#9dacc1;font-size:11px}.audience-label>span{width:5px;height:5px;background:#a2b6a1;border-radius:50%;animation:pulse 2s infinite}.stage-loading{align-items:center;justify-content:center;gap:50px;text-align:center;padding:30px}.stage-loading>div{display:flex;align-items:center;flex-direction:column;gap:15px;color:#a4b3c9}.stage-loading h1{font-size:24px}.stage-loading p{font-size:13px}.globe-container{position:relative;width:210px;height:210px;border:5px solid #ffffff;border-radius:50%;background:radial-gradient(ellipse at 30% 20%,#ffffffb0,#e1eaf670);box-shadow:0 7px 0 #d2dbe8,inset 0 0 0 2px #dee6f1;margin:5px 0 37px}.globe-line{position:absolute;inset:0 35px;border:1px solid #ffffffa0;border-radius:50%}.globe-ball{position:absolute;display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:50%;background:radial-gradient(circle at 25% 20%,#fff,#d7e1ef);border:1px solid #ffffff;box-shadow:0 5px 10px #738aab1b;font-size:14px;font-weight:650;color:#98a9c1}.ball-0{bottom:10px;left:66px}.ball-1{bottom:20px;left:108px}.ball-2{bottom:46px;left:38px}.ball-3{bottom:56px;left:86px}.ball-4{bottom:58px;left:133px}.ball-5{bottom:8px;left:24px}.ball-6{bottom:95px;left:65px}.globe-pedestal{position:absolute;bottom:-25px;left:38px;width:125px;height:24px;border-radius:4px 4px 16px 16px;transform:perspective(90px) rotateX(20deg);background:linear-gradient(#c1cee1,#d9e3f0);box-shadow:0 9px 14px #9bafca22}.mixing .globe-ball{animation:mix 1s ease-in-out infinite alternate}.mixing .globe-ball:nth-child(odd){animation-delay:.3s;animation-direction:alternate-reverse}.suspense-display{margin-bottom:22px;color:#a2b6d2;display:flex;align-items:center;justify-content:center;width:160px;height:160px}.suspense-display strong{font-family:"Manrope",var(--font);font-size:126px;font-weight:550;letter-spacing:-7px;color:var(--event-color);opacity:.65;animation:count-in .3s ease-out}.has-result .suspense-display{height:95px;margin-bottom:5px}.confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:5}.confetti i{position:absolute;top:-15px;width:6px;height:10px;border-radius:1px;animation:confetti-fall 3s ease-out forwards;opacity:.7}.stage-history{display:flex;flex-direction:column;gap:12px;max-height:45vh;overflow:auto;margin-bottom:20px}.stage-history>div{padding:13px;background:#f6f9fd;border:1px solid #e6ecf5;border-radius:8px}.round-label{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#a5b5cb}.round-label time{font-size:8px}.stage-history strong{display:block;font-size:15px;color:#809abf;margin-top:10px}.stage-history small{display:block;font-size:8px;margin-top:7px;color:#a9b6c8}
@keyframes result-in{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{opacity:.3}}@keyframes mix{to{transform:translate(10px,-60px) rotate(200deg)}}@keyframes count-in{from{opacity:.3;transform:scale(.9)}to{opacity:.65;transform:scale(1)}}@keyframes confetti-fall{to{top:105%;transform:rotate(720deg) translateX(70px);opacity:0}}
@media(min-width:1600px){.dashboard{padding-top:45px}.welcome-banner{min-height:310px}.banner-content h2{font-size:35px}.banner-content p{font-size:12px}.banner-tag{font-size:8px}.wheel-art{right:10%;transform:scale(1.12);top:30px}.stats-grid{margin:25px 0 35px}.event-cover{height:155px}.template-art{height:125px}.page-heading h1{font-size:32px}.topbar,.dashboard{padding-left:55px;padding-right:55px}.section-top h2{font-size:17px}.empty-events{min-height:225px}}
@media(max-width:1180px){.sidebar{width:212px;padding-left:14px;padding-right:14px}.sidebar>.brand{padding-left:4px;font-size:21px}.sidebar .brand-symbol{width:33px;height:33px}.workspace-label{font-size:8px;letter-spacing:.9px}.nav-item{font-size:11px;padding-left:10px;gap:9px}.user-profile{margin:0 -14px;padding:17px 16px}.main-shell{margin-left:212px}.dashboard{padding:30px 28px 0}.topbar{padding:0 28px;height:70px}.banner-content{padding-left:27px}.banner-content h2{font-size:26px}.banner-content p{font-size:9px}.wheel-art{right:0;transform:scale(.88);transform-origin:right center}.banner-content{max-width:65%}.banner-tag{font-size:6px;letter-spacing:.5px}.stats-grid{gap:12px}.stat-card{padding:17px 13px}.stat-card>div>span{font-size:9px}.stat-icon{width:31px;height:31px}.stat-icon svg{width:18px}.events-grid{gap:13px}.event-card-body{padding:13px}.event-meta{gap:10px}.event-meta span{font-size:7px}.templates-grid{gap:12px}.template-info{padding:11px 9px}.template-info small{font-size:7px}.list-controls .search-field input{width:103px}.template-art{height:95px}.page-heading h1{font-size:25px}}
@media(max-width:960px){.sidebar{width:190px;padding:28px 11px 0}.sidebar>.brand{font-size:19px;gap:7px}.sidebar .brand-symbol{width:31px;height:31px;border-radius:9px}.sidebar .brand-symbol svg{width:20px}.workspace-label{font-size:7px;margin-top:37px}.nav-item{font-size:10px;gap:8px}.nav-item svg{width:16px}.sidebar-tip{margin-top:60px;padding:12px}.sidebar-tip strong{font-size:10px}.sidebar-tip p{font-size:9px}.sidebar-tip a{font-size:8px}.main-shell{margin-left:190px}.user-profile{margin:0 -11px;padding:17px 13px}.user-profile strong{font-size:10px}.dashboard{padding-left:22px;padding-right:22px}.topbar{padding-left:22px;padding-right:22px}.welcome-banner{min-height:255px}.banner-content{padding-left:23px}.banner-content h2{font-size:24px}.banner-content p{font-size:8px}.wheel-art{right:-10px;transform:scale(.72)}.banner-content .button{font-size:8px}.banner-caption{font-size:5px;right:16px}.stat-icon{width:27px;height:27px}.stat-card>div>span{font-size:8px}.stat-card small{font-size:7px}.stat-card strong{font-size:25px}.section-top{align-items:flex-start}.section-top h2{font-size:13px}.section-top p{font-size:8px}.list-controls select{font-size:8px;padding:8px 6px}.list-controls .search-field input{width:87px;font-size:8px}.search-field{padding:0 8px;gap:4px}.search-field svg{width:13px}.events-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.event-card-body h3{font-size:12px}.templates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-info small{font-size:8px}.template-art{height:110px}.templates-section .section-top{align-items:center}.dashboard-footer{font-size:7px}.event-meta span{font-size:8px}.stage-header{padding:0 24px}.stage-fullscreen{font-size:9px}.stage-back{font-size:9px}.demo-strip{margin:0 24px}.stage-content{padding-top:28px}.stage-play-area{min-height:230px}.stage-wheel .stage-play-area{min-height:320px}.stage-footer{margin:0 24px}.stage-content>h1{font-size:28px}}
@media(max-width:720px){.app-shell{display:block}.sidebar{position:relative;width:100%;padding:18px 20px 0;border-right:0;border-bottom:1px solid var(--border)}.sidebar>.brand{font-size:23px}.sidebar .brand-symbol{width:33px;height:33px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;margin-top:18px;gap:2px;overflow:auto;padding-bottom:10px}.nav-item{white-space:nowrap;width:auto;font-size:10px;flex-shrink:0;padding:10px;gap:7px}.nav-item b{font-size:8px;min-width:16px}.nav-item svg{width:15px;height:15px}.main-shell{margin-left:0}.topbar{height:48px;padding:0 21px}.breadcrumb{font-size:9px;gap:10px}.topbar-note{font-size:8px}.small-avatar{width:24px;height:24px}.dashboard{padding:27px 20px 0}.page-heading{gap:12px;margin-bottom:23px}.page-heading h1{font-size:25px}.page-heading p{font-size:10px;max-width:250px;line-height:1.6}.eyebrow{font-size:6px;letter-spacing:1.3px}.new-draw{font-size:9px;padding:9px 12px;gap:5px}.new-draw svg{width:15px}.welcome-banner{min-height:255px}.banner-content{padding:25px;max-width:68%}.banner-content h2{font-size:26px}.banner-tag{font-size:5px}.banner-content p{font-size:9px}.wheel-art{right:-5px;transform:scale(.76)}.stats-grid{margin:17px 0 27px;gap:9px}.stat-card{padding:14px 10px;position:relative}.stat-icon{position:absolute;right:9px;top:40px;width:23px;height:23px;border-radius:7px}.stat-icon svg{width:14px}.stat-card strong{font-size:24px;margin-top:9px}.stat-card small{font-size:6px}.stat-card>div>span{font-size:7px}.stat-card>div{min-width:0}.section-top{flex-wrap:wrap;gap:15px}.section-top h2{font-size:14px}.section-top p{font-size:9px}.list-controls{width:100%;justify-content:space-between}.search-field{flex:1}.list-controls .search-field input{width:100%;font-size:10px;padding:11px 0}.list-controls select{font-size:9px}.search-field svg{width:16px}.events-grid{gap:12px}.event-meta{gap:9px}.event-meta span{font-size:8px}.event-meta svg{width:12px}.event-slug{font-size:8px}.templates-section .text-button{font-size:8px}.templates-section .section-top{flex-wrap:nowrap}.template-info strong{font-size:12px}.template-info small{font-size:8px}.empty-events{padding:28px 15px}.empty-events h3{font-size:13px}.empty-events p{font-size:10px}.dashboard-footer{line-height:1.6;font-size:7px;gap:15px}.dashboard-footer>span:last-child{text-align:right;justify-content:flex-end}.history-row{padding:15px;gap:10px;flex-wrap:wrap}.history-row strong{font-size:12px}.history-row time{margin-left:46px;width:calc(100% - 90px);font-size:9px}.history-row>.icon-button{margin-top:-36px}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px);padding:26px}.modal-wide{padding:0}.editor-header{padding:25px 23px 22px}.editor-header h2{font-size:21px;max-width:90%;line-height:1.4}.editor-header p{font-size:10px}.editor-label{font-size:7px}.editor-tabs{padding:0 23px;gap:20px}.editor-tabs button{font-size:10px}.editor-body{padding:23px}.editor-footer{padding:16px 20px}.editor-footer>span{display:none}.type-options{gap:8px}.type-options button{padding:13px 9px;gap:7px}.type-options strong{font-size:10px}.type-options small{font-size:7px}.type-check{top:8px;right:8px;width:12px;height:12px}.type-options svg{width:19px}.field-row{gap:12px}.visual-options{gap:8px}.visual-sample{height:72px}.visual-options strong{font-size:9px;padding:12px 7px}.radio-indicator{right:6px;width:10px;height:10px;bottom:12px}.label-row .text-button{font-size:8px}.field{font-size:10px}.field>small{font-size:8px}.list-summary{font-size:9px}.list-summary span{font-size:8px}.stage-header{height:69px;padding:0 17px;grid-template-columns:1fr auto 1fr;gap:12px}.stage-back span{display:none}.stage-controls{gap:5px}.brand-small{font-size:19px;gap:8px}.stage-controls .icon-button{min-width:28px;min-height:30px}.stage-controls .icon-button svg{width:17px}.stage-fullscreen{min-width:32px;min-height:31px;padding:6px}.stage-fullscreen span{display:none}.stage-content{padding:30px 18px}.stage-content>h1{font-size:26px;letter-spacing:-.8px;max-width:100%}.stage-event-label{font-size:7px;letter-spacing:1.7px}.stage-prize{font-size:9px;line-height:1.5;max-width:90%;text-align:center}.stage-play-area{padding:30px 0 24px}.stage-prompt h2{font-size:18px}.stage-prompt p{font-size:9px}.stage-meta{font-size:8px;gap:9px;margin-top:18px}.stage-meta>i{display:none}.stage-meta>span:last-of-type{width:100%;justify-content:center;order:3}.stage-footer{margin:0 18px;gap:10px;font-size:7px;flex-wrap:wrap;padding:15px 0}.stage-footer>span:first-child{display:none}.stage-footer .text-button{font-size:8px}.stage-result>p{font-size:10px}.winner-names h2{font-size:34px}.winner-names{max-height:28vh;gap:8px}.winner-names:has(h2:nth-child(3)) h2{font-size:25px}.demo-strip{flex-wrap:wrap;justify-content:center;padding:10px;gap:10px;margin:0 17px;font-size:8px}.demo-strip>span{width:100%;justify-content:center}.demo-strip>a{font-size:8px}.demo-strip>div button{padding:5px 9px;font-size:7px}.live-wheel-container{width:210px;height:210px}.stage-wheel .stage-play-area{min-height:320px}.globe-container{width:200px;height:200px}.draw-button{font-size:12px;min-width:245px;padding:15px 22px}.modal-intro h2{font-size:22px}.error-box{font-size:10px}.toast{font-size:10px}}
@media(max-width:380px){.dashboard{padding-left:14px;padding-right:14px}.sidebar{padding-left:14px;padding-right:14px}.nav-item{font-size:8px;gap:5px;padding:9px}.nav-item b{display:none}.page-heading p{font-size:9px}.page-heading h1{font-size:23px}.new-draw{font-size:8px;padding:8px}.banner-content{padding-left:19px;max-width:73%}.banner-content h2{font-size:23px}.banner-content p{font-size:8px}.wheel-art{transform:scale(.61);right:-18px;top:20px}.banner-tag{font-size:4px}.events-grid{grid-template-columns:1fr}.event-cover{height:145px}.stat-card>div>span{font-size:6px}.stat-card small{font-size:5px}.stat-icon{width:20px;height:20px;right:6px}.stat-card strong{font-size:22px}.dashboard-footer>span:first-child{display:none}.dashboard-footer{justify-content:center}.type-options small{font-size:6px}.visual-options strong{font-size:8px}.editor-tabs{gap:13px;padding:0 18px}.editor-tabs button{font-size:9px}.editor-body{padding:20px 18px}.stage-content>h1{font-size:23px}.stage-event-label{font-size:6px}.brand-small{font-size:17px}.brand-small .brand-symbol{width:27px;height:27px}.stage-controls .icon-button{min-width:25px}.stage-header{gap:8px}.stage-prize{font-size:8px}}
@media(max-height:760px) and (min-width:721px){.stage-header{height:65px}.stage-content{padding-top:17px;padding-bottom:22px}.stage-content>h1{font-size:28px;margin-top:9px}.stage-prize{font-size:10px;margin-top:7px}.stage-event-label{font-size:7px}.stage-wheel .stage-play-area{min-height:280px;padding-top:23px;padding-bottom:17px}.live-wheel-container{width:180px;height:180px;margin-bottom:17px}.wheel-name>span{max-height:47px;font-size:6px}.live-wheel-hub{width:43px;height:43px}.stage-prompt h2{font-size:17px}.stage-play-area{min-height:220px;padding:20px 0}.classic-emblem{width:100px;height:100px}.draw-button{padding:12px 22px;font-size:12px}.stage-action{min-height:75px}.stage-meta{margin-top:12px}.stage-footer{padding:16px 0}.globe-container{transform:scale(.82);margin:-10px 0 10px}.has-result.stage-globe .globe-container{transform:scale(.65);margin:-30px 0 -20px}.has-result.stage-wheel .live-wheel-container{width:135px;height:135px;margin-bottom:10px}.has-result.stage-wheel .wheel-name>span{max-height:28px;font-size:5px}.has-result .stage-play-area{min-height:225px}.winner-names h2{font-size:40px}.demo-strip{padding:7px 12px}.suspense-display{width:130px;height:130px;margin-bottom:17px}.suspense-display strong{font-size:100px}.stage-result>p{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}

@media(max-height:850px) and (min-width:721px){.sidebar-tip{margin-top:25px}.sidebar{padding-top:26px}.workspace-label{margin-top:30px}.sidebar-tip p{font-size:9px}.user-profile{padding-top:16px;padding-bottom:16px}}

/* Palette based on the requested Matrícula Aberta reference. */
:root{--bg:#f4f7fb;--ink:#19324d;--muted:#60758b;--brand:#082656;--accent:#f3d236;--border:#dce4ee}
body{font-size:16px}
.button{font-size:14px}
.primary,.draw-button{background:var(--accent);color:var(--brand);box-shadow:0 4px 12px #08265614}
.primary:hover:not(:disabled),.draw-button:hover:not(:disabled){background:#e6c32b;box-shadow:0 6px 18px #08265624}
.secondary{color:var(--brand);border-color:#c7d5e6;background:white}
.secondary:hover{background:#edf3fb}
.text-button{color:#123c91;font-size:14px}
.sidebar{background:linear-gradient(165deg,#082656,#123c91);border-color:#082656}
.sidebar .brand,.stage-header .brand{color:white}
.sidebar .brand-symbol,.stage-header .brand-symbol{color:#082656;background:#f3d236;box-shadow:none}
.sidebar .brand i,.stage-header .brand i{color:#f3d236}
.workspace-label{color:#b8cbe5}
.sidebar .nav-item{color:#d2e0f8}
.sidebar .nav-item:hover{background:#ffffff12}
.sidebar .nav-item.selected{background:#f3d236;color:#082656}
.sidebar .nav-item b{background:#ffffff15;color:#d2e0f8}
.sidebar .nav-item.selected b{color:#082656;background:#08265612}
.sidebar-tip{background:#ffffff0d;border-color:#ffffff26}
.sidebar-tip strong,.sidebar-tip a{color:#f3d236}
.sidebar-tip p,.sidebar-tip .tip-icon{color:#d2e0f8}
.sidebar .user-profile{border-color:#ffffff26}
.sidebar .user-profile strong{color:white}
.sidebar .user-profile small,.sidebar .user-profile a{color:#d2e0f8}
.avatar{color:#082656;background:#e7eef8;box-shadow:0 0 0 1px #c7d5e6}
.topbar{background:#082656;border-color:#24467d}
.breadcrumb,.topbar-note{color:#d2e0f8}
.breadcrumb strong{color:white}
.topbar-note i{background:#f3d236}
.eyebrow{color:#4f6680}
.welcome-banner{background:linear-gradient(140deg,#082656,#123c91);border-color:#123c91;border-top:4px solid #f3d236}
.welcome-banner:before{background:radial-gradient(ellipse,#ffffff0f,transparent 70%)}
.banner-content h2{color:white}
.banner-content p{color:#d2e0f8}
.banner-tag{color:#f3d236}
.banner-content .button{background:#f3d236;color:#082656;border-color:#f3d236}
.banner-caption{color:#d2e0f8}
.banner-caption>span{background:#f3d236}
.welcome-banner .orbit{border-color:#b7d0f345}
.welcome-banner .art-spark{color:#f3d236}
.welcome-banner .art-dot{background:#f3d236}
.welcome-banner .wheel-pointer{background:#f3d236}
.art-wheel{background:conic-gradient(#123c91 0deg 45deg,#d2e0f8 45deg 90deg,#f3d236 90deg 135deg,#fff 135deg 180deg,#123c91 180deg 225deg,#d2e0f8 225deg 270deg,#f3d236 270deg 315deg,#fff 315deg);box-shadow:0 9px 0 #90a8ce,0 14px 25px #00000020}
.wheel-center,.badge-star,.badge-ball{color:#123c91}
.stat-grid,.stat-icon{color:#123c91}
.stat-icon{background:#e8effa}
.stat-trophy,.history-trophy{background:#fff8d6;color:#927706}
.page-heading p,.section-top p,.stat-card>div>span,.stat-card small,.template-info small,.empty-events p,.event-meta span,.event-slug,.dashboard-footer{color:#60758b}
.event-card-body h3,.empty-events h3,.section-top h2{color:#19324d}
.status-chip{color:#24467d}
.status-chip i{background:#2e8568}
.status-drawn i{background:#123c91}
.event-start{background:#e7eff9;color:#082656}
.event-start:hover{background:#d9e6f7}
.link-copy,.cover-menu,.dropdown-menu button{color:#365e8b}
.dropdown-menu button:hover{background:#edf3fb}
.search-field input,.list-controls select{color:#47647f}
.template-art,.template-wheel .template-art{background:#e7eff9}
.template-globe .template-art{background:#edf3f9}
.template-suspense .template-art{background:#fff8d6}
.classic-art,.template-open{color:#123c91}
.countdown-art,.countdown-art>span{color:#927706}
.mini-wheel{background:conic-gradient(#123c91 0deg 60deg,#e5edf9 60deg 120deg,#f3d236 120deg 180deg,#fff 180deg 240deg,#123c91 240deg 300deg,#b7cdee 300deg);box-shadow:0 3px 0 #a2b9d8}
.mini-wheel:after{background:#082656}
.mini-wheel:before{border-color:#edf3fb}
.empty-events{background:#ffffffb0;border-color:#c6d4e6;color:#607b9b}
.empty-event-icon{background:#e7eff9;color:#123c91}
.count-badge{background:#e7eff9;color:#365e8b}
.modal{border-color:#dce4ee}
.modal-intro p,.editor-header p{color:#60758b}
.editor-label,.modal-close,.editor-tabs button,.editor-footer>.text-button{color:#47698e}
.editor-header h2,.modal-intro h2{color:#082656}
.large-icon{background:#e7eff9;color:#123c91}
.editor-tabs{border-color:#dce4ee}
.editor-tabs button[aria-selected=true]{color:#082656}
.editor-tabs button[aria-selected=true]:after{background:#f3d236;height:3px}
.editor-body .field,.field>span,.field>label{color:#19324d;font-size:14px}
.field>input,.field>textarea,.field>select,.slug-input>input{color:#19324d;border-color:#c7d5e6;font-size:16px}
.field>small,.slug-input>span{color:#60758b;font-size:13px}
.field input:disabled,.field textarea:disabled{background:#f4f7fb;color:#6c8199}
.type-options button{border-color:#cbd8e8;color:#123c91}
.type-options button.selected{border-color:#123c91;background:#edf3fb;box-shadow:0 0 0 1px #123c911a}
.type-options strong,.type-options button.selected strong{color:#082656;font-size:14px}
.type-options small{font-size:12px;color:#60758b}
.type-check{background:#123c91}
.visual-sample{background:#e7eff9;color:#123c91}
.sample-suspense{background:#fff8d6;color:#927706}
.visual-options strong{color:#19324d;font-size:14px}
.visual-options button.selected{border-color:#123c91;box-shadow:0 0 0 1px #123c9121}
.radio-indicator{border-color:#90a9ca}
.radio-indicator i{background:#123c91}
.list-summary{background:#edf3fb;color:#24467d;font-size:14px}
.list-summary span{font-size:12px;color:#60758b}
.info-box{background:#edf3fb;color:#47647f;border-color:#dce4ee;font-size:14px}
.info-box svg{color:#123c91}
.toggle-row strong{font-size:14px;color:#19324d}
.toggle-row small{font-size:13px;color:#60758b;line-height:1.5}
.toggle-row input{background:#c7d5e6}
.toggle-row input:checked{background:#123c91}
.editor-footer{background:#f4f7fb;border-color:#dce4ee}
.editor-footer>.button{font-size:14px}
.editor-footer>span{color:#60758b;font-size:12px}
.editor-tabs button{font-size:14px}
.color-options>button.chosen{box-shadow:0 0 0 2px #123c91}
.label-row .text-button{font-size:12px}
.range-description{font-size:14px;color:#47647f;line-height:1.6;margin:-8px 0 20px}
.range-error{font-size:14px;color:#b04646;margin:-6px 0 20px}
.multi-prize-toggle{margin-bottom:18px;border:1px solid #c7d5e6;border-radius:8px;padding:15px;background:#f4f7fb}
.prize-list-field textarea{line-height:1.8;resize:vertical}
.prize-summary{margin-bottom:18px}
input:focus,textarea:focus,select:focus{border-color:#123c91!important;box-shadow:0 0 0 3px #123c911a}
button:focus-visible,a:focus-visible{outline-color:#e0bb1d}
.stage{background:radial-gradient(ellipse at 50% 46%,#fff,#f4f7fb)}
.stage-header{background:#082656;border-bottom:3px solid #f3d236}
.stage-back,.stage-controls{color:#d2e0f8}
.stage-fullscreen{background:none;color:#f3d236;border-color:#f3d23666}
.stage-event-label,.stage-prompt h2{color:#123c91}
.stage-content>h1{color:#082656}
.stage-prize{color:#082656;background:#fff8d6;padding:9px 15px;border-radius:8px;font-size:16px;font-weight:600}
.stage-prize svg{color:#927706}
.stage-prompt p,.stage-result>p,.stage-meta,.stage-footer,.keyboard-hint{color:#60758b}
.stage-fullscreen,.stage-back,.stage-meta{font-size:14px}
.stage-footer,.stage-footer .text-button,.keyboard-hint{font-size:12px}
.stage-event-label,.winner-eyebrow{font-size:12px}
.winner-eyebrow{color:#927706}
.draw-button{font-size:16px}
.demo-strip{background:#edf3fb;color:#47647f;border-color:#dce4ee}
.demo-strip>div{background:#dce8f8}
.demo-strip button.active{color:#082656}
.stage-history>div{background:#f4f7fb;border-color:#dce4ee}
.stage-history strong{color:#123c91}
.stage-history small,.round-label,.round-label time{color:#60758b;font-size:12px}
.history-prize{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:14px;color:#082656}
.prize-progress,.next-prize-label{color:#47647f;font-size:14px;line-height:1.6}
.prize-progress{margin-top:10px}
.next-prize-label{max-width:90vw}
.history-row small{color:#60758b}
@media(max-width:720px){
 .sidebar{background:#082656}.sidebar .nav-item{font-size:12px}
 .page-heading p,.section-top p,.empty-events p{font-size:13px}
 .new-draw{font-size:13px}.banner-content p{font-size:12px}
 .banner-tag{font-size:8px}
 .stats-grid{grid-template-columns:1fr}
 .stat-card{padding:17px}.stat-card>div>span{font-size:14px}.stat-card small{font-size:12px}
 .stat-icon{position:static;width:36px;height:36px}
 .field-row{gap:12px}.editor-body .field{font-size:14px}
 .type-options{gap:7px}.type-options button{padding:12px 8px}
 .type-options strong{font-size:12px}.type-options small{font-size:11px}
 .visual-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .editor-tabs button{font-size:13px}.editor-footer>.button{font-size:13px}
 .stage-prize{font-size:15px}.stage-meta{font-size:12px}
 .stage-fullscreen{min-width:32px}.stage-footer{font-size:12px}
}

/* Access, users and RBAC. */
.auth-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:36px 20px;background:#f4f7fb}
.auth-card{display:grid;grid-template-columns:1fr 1fr;width:1040px;max-width:100%;border:1px solid #dce4ee;border-radius:18px;overflow:hidden;box-shadow:0 12px 40px #0826560b;background:white}
.auth-intro{background:linear-gradient(140deg,#082656,#123c91);color:white;padding:40px;display:flex;flex-direction:column;border-top:4px solid #f3d236}
.auth-intro .brand{color:white;font-size:26px}
.auth-intro .brand-symbol{background:#f3d236;color:#082656}
.auth-intro .brand i{color:#f3d236}
.auth-kicker{font-size:12px;letter-spacing:1.7px;color:#f3d236;margin:48px 0 18px}
.auth-intro h1{font-size:32px;line-height:1.35;letter-spacing:-.8px;color:white}
.auth-intro>p{color:#d2e0f8;font-size:16px;line-height:1.8;margin-top:24px}
.auth-role-note{display:flex;align-items:center;gap:12px;color:#d2e0f8;font-size:14px;line-height:1.7;margin-top:60px}
.auth-form{padding:54px 40px}
.auth-form h2{color:#082656;font-size:28px;letter-spacing:-.7px}
.auth-form>p{font-size:16px;color:#60758b;margin:10px 0 30px}
.auth-form .field{font-size:14px;color:#19324d}
.auth-form>small{display:block;color:#60758b;font-size:13px;line-height:1.8;margin:25px 0 20px}
.auth-form>.button{font-size:16px}
.auth-password{background:white;border:1px solid #dce4ee;border-top:4px solid #f3d236;border-radius:15px;width:500px;max-width:100%;padding:35px}
.auth-password h1{font-size:27px;color:#082656;margin-top:30px}
.auth-password>p{font-size:15px;line-height:1.8;color:#60758b;margin:12px 0 25px}
.auth-password .field{font-size:14px}
.auth-password .button+.button{margin-top:12px}
.sidebar{overflow-y:auto}
.user-profile>.icon-button{color:#d2e0f8}
.user-list{background:#fff;border:1px solid #dce4ee;border-radius:12px;overflow:hidden}
.user-row{display:flex;align-items:center;padding:22px;gap:15px;border-bottom:1px solid #dce4ee}
.user-row:last-child{border-bottom:0}
.user-row>div{min-width:0;flex:1}
.user-row strong{font-size:16px;color:#19324d}
.user-row small{display:block;font-size:13px;color:#60758b;margin-top:6px;line-height:1.6}
.role-badge{background:#edf3fb;color:#365e8b;padding:7px 10px;border-radius:6px;font-size:12px}
.role-badge.superadmin{background:#fff8d6;color:#6c5808}
.rbac-super{display:flex;align-items:flex-start;gap:18px;background:#082656;color:white;border-top:4px solid #f3d236;padding:25px;border-radius:12px;margin-bottom:24px}
.rbac-super>svg{color:#f3d236}
.rbac-super h3{font-size:20px}
.rbac-super p{margin-top:9px;font-size:15px;line-height:1.8;color:#d2e0f8}
.permission-panel{padding:26px;background:white;border:1px solid #dce4ee;border-radius:12px}
.permission-panel h3{font-size:22px;color:#082656}
.permission-panel>p{font-size:15px;line-height:1.7;color:#60758b;margin-top:9px}
.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:25px 0}
.permission-grid label{display:flex;align-items:center;gap:10px;font-size:14px;color:#19324d;line-height:1.6;cursor:pointer}
.permission-grid input{accent-color:#123c91;width:17px;height:17px;flex-shrink:0}
.permission-panel>.button{margin-top:22px}
.users-section .section-top p{font-size:14px;line-height:1.7}
@media(max-width:900px){.user-row{flex-wrap:wrap}.user-row>.role-badge{margin-left:48px}.auth-intro,.auth-form{padding:32px}.auth-intro h1{font-size:27px}}
@media(max-height:900px) and (min-width:721px){.sidebar-tip{display:none}.sidebar-bottom{margin-top:auto}.help-button{margin-top:20px}}
@media(max-width:720px){.auth-page{padding:18px}.auth-card{grid-template-columns:1fr}.auth-intro{padding:26px}.auth-intro h1{font-size:25px}.auth-kicker{margin-top:25px}.auth-intro>p{display:none}.auth-role-note{margin-top:22px;font-size:13px}.auth-form{padding:30px 26px}.auth-password{padding:26px}.user-row{padding:17px;gap:12px}.user-row>div{flex-basis:calc(100% - 52px)}.user-row>.role-badge{margin-left:0}.user-row>.button{margin-left:auto}.permission-grid{grid-template-columns:1fr}.permission-panel{padding:20px}.stage-header:has(.stage-controls a){height:auto;min-height:75px;grid-template-columns:auto 1fr;gap:10px;padding:12px 17px}.stage-header:has(.stage-controls a)>.brand{justify-self:end}.stage-header:has(.stage-controls a)>.stage-controls{grid-column:1/-1;justify-content:center}.stage-controls a>span{display:inline;font-size:12px}}

/* Numeric presentation: leading zeros and sequential digit reels. */
.number-range-fields input,.number-digits-field select,.digit-preview{font-variant-numeric:tabular-nums}
.number-range-fields input{font-family:"Manrope",var(--font);letter-spacing:.12em}
.number-digits-field{margin-top:23px}
.digit-preview{display:inline-flex;align-items:center;gap:5px;font-family:"Manrope",var(--font);font-size:30px;letter-spacing:5px;font-weight:750;color:#123c91;border:1px solid #c5d6ed;border-radius:8px;padding:10px;background:#f8fbff}
.sample-numbers{background:#e7eff9}
.sample-numbers .digit-preview{font-size:21px;letter-spacing:3px;padding:7px;border-radius:5px}
.template-numbers .template-art{background:linear-gradient(140deg,#082656,#123c91)}
.template-numbers .digit-preview{color:#f3d236;background:#ffffff08;border-color:#ffffff30}
.cover-numbers{background:linear-gradient(140deg,#082656,#123c91)}
.cover-numbers .digit-preview{color:#f3d236;background:#ffffff08;border-color:#ffffff30}
.cover-numbers .cover-menu{color:#d2e0f8}
.visual-options{grid-template-columns:repeat(5,minmax(0,1fr))}
.visual-options .digit-preview{font-size:20px;letter-spacing:1px}
.visual-options button:disabled{opacity:.35}
.number-reels-board{display:flex;flex-direction:column;align-items:center;gap:18px;width:100%;max-height:47vh;overflow:auto;padding:18px 10px 22px}
.number-reels{--reel-size:clamp(18px,calc((90vw - (var(--digit-count) - 1)*10px)/var(--digit-count)),94px);display:flex;justify-content:center;gap:clamp(3px,1vw,10px);max-width:100%}
.number-reel{width:var(--reel-size);height:calc(var(--reel-size)*1.45);background:linear-gradient(160deg,#123c91,#082656);border:2px solid #31588a;border-radius:clamp(5px,1vw,13px);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 7px 0 #041b3c,0 14px 26px #08265618;flex-shrink:0}
.number-reel strong{font-family:"Manrope",var(--font);font-size:clamp(16px,calc(var(--reel-size)*.84),80px);line-height:1;font-weight:750;letter-spacing:-.05em;font-variant-numeric:tabular-nums;color:white;position:relative;z-index:2}
.number-reel i{position:absolute;left:0;right:0;top:50%;height:1px;background:#ffffff08;z-index:3}
.reel-neighbor{position:absolute;font-family:"Manrope",var(--font);font-size:calc(var(--reel-size)*.72);color:#ffffff13;line-height:1;font-variant-numeric:tabular-nums;pointer-events:none}
.reel-neighbor:first-child{top:calc(var(--reel-size)*-.45)}
.reel-neighbor:nth-of-type(2){bottom:calc(var(--reel-size)*-.45)}
.number-reel.is-spinning strong{animation:digit-roll .09s linear infinite;filter:blur(.6px);opacity:.85}
.number-reel.is-locked{border-color:#f3d236;box-shadow:0 6px 0 #041b3c,0 0 0 3px #f3d23612}
.number-reel.is-locked strong{color:#f3d236}
.number-reel.is-idle{opacity:.7}
.number-reel.is-locked .reel-neighbor,.number-reel.is-idle .reel-neighbor{opacity:0}
.reels-result-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.stage-numbers .stage-play-area{padding-top:32px;min-height:280px}
.stage-numbers .stage-result{margin-top:9px}
.stage-numbers.is-drawing .stage-prompt{margin-top:15px}
@keyframes digit-roll{from{transform:translateY(-15%)}to{transform:translateY(15%)}}
@media(max-width:720px){.visual-options{grid-template-columns:repeat(2,minmax(0,1fr))}.number-reels-board{padding-top:14px}.stage-numbers .stage-play-area{min-height:230px}.stage-numbers .stage-prompt h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.number-reel.is-spinning strong{animation:none;filter:none}}

/* Focused presentation and responsive number cards. */
.stage{--reel-max:13.5rem;--stage-chrome:24rem}
.stage.is-fullscreen{--reel-max:15rem;--stage-chrome:18rem}
.stage.is-fullscreen .stage-header,.stage.is-fullscreen .keyboard-hint,.stage.is-fullscreen .demo-strip{display:none}
.fullscreen-exit{position:fixed;z-index:30;top:max(.75rem,env(safe-area-inset-top));right:max(.75rem,env(safe-area-inset-right));width:2.75rem;height:2.75rem;display:flex;align-items:center;justify-content:center;border:1px solid #08265630;border-radius:.75rem;background:#ffffffed;color:#082656;box-shadow:0 3px 14px #0826560f;opacity:0;pointer-events:none;transition:opacity .2s ease}
.fullscreen-exit.is-visible,.fullscreen-exit:focus-visible{opacity:1;pointer-events:auto}
.fullscreen-exit:focus-visible{outline:3px solid #f3d236;outline-offset:3px}
.number-reels-board{container-type:inline-size;max-height:60svh;min-width:0;padding:1rem .5rem 1.5rem}
.number-reels{--reel-gap:clamp(.2rem,.8vw,.875rem);--reel-size:min(var(--reel-max),calc((100cqw - 1rem - (var(--digit-count) - 1)*var(--reel-gap))/var(--digit-count)),max(1.25rem,calc((100svh - var(--stage-chrome) - var(--brand-chrome,0px))/1.45)));gap:var(--reel-gap);flex-shrink:0;max-width:100%;min-width:0}
.number-reel strong{font-size:calc(var(--reel-size)*.94)}
.stage-numbers .stage-play-area{min-height:0;padding-top:1rem;padding-bottom:1rem}
.stage-numbers .stage-content{padding-left:clamp(.75rem,2vw,2.25rem);padding-right:clamp(.75rem,2vw,2.25rem)}
.stage.is-fullscreen .stage-content{padding-top:1.5rem;padding-bottom:1.5rem}
.winner-names h2{font-size:clamp(2.25rem,7vw,7rem)}
.classic-display.shuffling{font-size:clamp(2.25rem,7vw,7rem);max-width:100%;overflow-wrap:anywhere}
.reset-draw-section{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #d8e2f0;display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between}
.reset-draw-section strong{color:#082656;font-size:1rem}
.reset-draw-section p{font-size:.875rem;color:#60758b;line-height:1.6;margin-top:.35rem}
.reset-draw-button{color:#123c91;border:1px solid #bccde6;background:#f4f7fb;flex-shrink:0}
.reset-draw-button:disabled{opacity:.5}
.reset-draw-confirm{width:100%;padding:1rem;border-radius:.75rem;border:1px solid #eadba5;background:#fffdf5}
.reset-draw-confirm p{margin:0;color:#344966}
.reset-draw-confirm small{display:block;color:#60758b;font-size:.8125rem;line-height:1.6;margin-top:.5rem}
.reset-draw-confirm>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.75rem;margin-top:1rem}
.reset-confirm-button{background:#082656;color:white}
@media(max-width:600px){
 .stage{--stage-chrome:25rem}
 .stage.is-fullscreen{--stage-chrome:19rem}
 .stage-meta{font-size:.8125rem;gap:.6rem;margin-top:.75rem}
 .stage-action .draw-button{min-width:0;max-width:100%;padding:.875rem 1rem}
 .stage-content{padding-top:1.25rem;padding-bottom:1.25rem}
 .stage-footer{margin:0 .875rem;flex-wrap:wrap;justify-content:center}
 .reset-draw-section{align-items:stretch}
 .reset-draw-button{width:100%;justify-content:center}
}
@media(max-height:500px) and (orientation:landscape){
 .stage{--stage-chrome:14.5rem}
 .stage.is-fullscreen{--stage-chrome:10rem}
 .stage-header{height:3.5rem;min-height:0}
 .stage-content,.stage.is-fullscreen .stage-content{padding:.5rem .875rem}
 .stage-content>h1{font-size:1.4rem;margin-top:0}
 .stage-event-label,.stage-footer,.stage-prompt p,.stage-result>p{display:none}
 .stage-prize{margin-top:.25rem}
 .number-reels-board{padding:.4rem .25rem .75rem;max-height:66svh}
 .stage-numbers .stage-play-area{padding:.25rem 0}
 .stage-action{min-height:0;gap:.35rem}
 .draw-button{padding:.6rem 1rem}
 .stage-meta{margin-top:.5rem}
 .stage-numbers .stage-result{margin-top:0;padding:0}
}
.pre-draw-countdown{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;width:100%;padding:1rem 0}
.pre-draw-countdown>span{font-size:clamp(.875rem,1.5vw,1.125rem);color:#60758b}
.pre-draw-countdown>strong{font-size:min(26svh,42vw,17rem);line-height:1;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.05em;color:#123c91}
.pre-draw-countdown>small{font-size:1rem;color:#60758b}
@media(max-height:500px) and (orientation:landscape){.pre-draw-countdown{padding:.25rem 0;gap:.25rem}.pre-draw-countdown>strong{font-size:25svh}.pre-draw-countdown>span,.pre-draw-countdown>small{font-size:.75rem}}

/* Keep the full-screen draw controls inside short desktop viewports. */
.stage.is-fullscreen{--stage-chrome:25rem}
.stage.is-fullscreen .stage-event-label,.stage.is-fullscreen .stage-footer,.stage.is-fullscreen .stage-prompt p,.stage.is-fullscreen .stage-result>p{display:none}
.stage.is-fullscreen .stage-content{padding-top:1rem;padding-bottom:1rem}
.stage.is-fullscreen .stage-play-area{padding-top:.5rem;padding-bottom:.5rem}
.stage.is-fullscreen .number-reels-board{padding-top:.5rem;padding-bottom:1rem}
@media(max-height:500px) and (orientation:landscape){.stage.is-fullscreen{--stage-chrome:10rem}.stage.is-fullscreen .stage-content{padding:.5rem .875rem}.stage.is-fullscreen .stage-play-area{padding:.25rem 0}.stage.is-fullscreen .number-reels-board{padding:.4rem .25rem .75rem}}

@media(max-height:500px) and (orientation:landscape){
 .stage.is-fullscreen{--stage-chrome:12rem}
 .stage.is-fullscreen .stage-meta,.stage.is-fullscreen .prize-progress,.stage.is-fullscreen .stage-prompt,.stage.is-fullscreen .winner-eyebrow,.stage.is-fullscreen .next-prize-label{display:none}
}

/* Identity managed by the superadministrator, shown only in fullscreen. */
.branding-editor-intro{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:1.5rem;color:#123c91}
.branding-editor-intro h3{font-size:1.125rem;color:#082656;margin:0}
.branding-editor-intro p,.branding-caption,.branding-empty{color:#60758b;font-size:.875rem;line-height:1.6}
.branding-editor-intro p{margin-top:.35rem}
.branding-upload-section{padding:1.25rem 0;border-top:1px solid #d8e2f0}
.branding-upload-section>.label-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.branding-upload-section>.label-row>strong{font-size:.9375rem;color:#082656}
.branding-upload-section .button{font-size:.8125rem;padding:.625rem .875rem}
.branding-empty{padding:1rem;background:#f4f7fb;border:1px dashed #bdcee6;border-radius:.625rem;margin-top:.875rem}
.branding-caption{margin:.75rem 0}
.institution-logo-preview{display:flex;align-items:center;gap:1rem;margin-top:1rem;padding:.75rem;border:1px solid #d8e2f0;border-radius:.75rem;background:#f8fafd}
.institution-logo-preview img{width:7rem;height:5rem;object-fit:contain;background:white;border-radius:.375rem}
.institution-logo-preview .field{flex:1;min-width:0;margin:0}
.sponsor-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:1rem}
.sponsor-editor-card{min-width:0;border:1px solid #d8e2f0;border-radius:.75rem;padding:.625rem;background:#f8fafd}
.sponsor-editor-card>img{width:100%;height:5rem;object-fit:contain;background:white;border-radius:.375rem}
.sponsor-editor-card>input{width:100%;min-width:0;border:1px solid #bdcee6;border-radius:.375rem;padding:.4rem;font-size:.8125rem;color:#082656;margin-top:.5rem}
.sponsor-editor-card>div{display:flex;justify-content:flex-end;gap:.25rem;margin-top:.5rem}
.branding-editor button:disabled{opacity:.45}
.editor-tabs{flex-wrap:wrap}
.fullscreen-branding-top{--brand-logo-width:clamp(6rem,18vw,21rem);display:grid;grid-template-columns:1fr;align-items:center;gap:clamp(.5rem,1.5vw,2rem);width:100%;padding:clamp(.75rem,2svh,1.75rem) clamp(.75rem,2vw,2rem);flex:0 0 auto;position:relative;z-index:1}
.fullscreen-branding-top.with-institution-logo{grid-template-columns:var(--brand-logo-width) minmax(0,1fr) var(--brand-logo-width)}
.fullscreen-institution-logo:empty{display:none}
.fullscreen-institution-logo{display:flex;align-items:flex-start;justify-content:flex-start;min-width:0}
.fullscreen-institution-logo img{width:100%;max-height:clamp(3.75rem,14svh,10rem);object-fit:contain;object-position:left center}
.fullscreen-headline{text-align:center;color:#082656;font-size:clamp(1.375rem,2.8vw,3.5rem);font-weight:750;line-height:1.16;letter-spacing:-.025em;overflow-wrap:anywhere;white-space:pre-line;margin:0;min-width:0}
.fullscreen-sponsors{--sponsor-columns:var(--sponsor-columns-desktop);--sponsor-rows:var(--sponsor-rows-desktop);--sponsor-logo-height:clamp(1.125rem,calc(16svh / var(--sponsor-rows)),5.25rem);flex:0 0 auto;width:100%;padding:.5rem clamp(.75rem,2vw,2rem) max(.75rem,env(safe-area-inset-bottom));position:relative;z-index:1;border-top:1px solid #d8e2f0;background:#ffffff80}
.fullscreen-sponsors>h2{font-size:.8125rem;font-weight:500;letter-spacing:.08em;text-align:center;color:#60758b;margin:0 0 .5rem}
.fullscreen-sponsor-grid{display:grid;grid-template-columns:repeat(var(--sponsor-columns),minmax(0,1fr));gap:.5rem 1rem;align-items:center;justify-items:center}
.fullscreen-sponsor-logo{display:flex;align-items:center;justify-content:center;width:100%;height:var(--sponsor-logo-height);min-width:0}
.fullscreen-sponsor-logo img{display:block;max-width:min(100%,14rem);max-height:100%;width:auto;height:auto;object-fit:contain}
.stage.is-fullscreen.has-fullscreen-branding{--stage-chrome:15rem}
.stage.is-fullscreen.has-fullscreen-branding .stage-content{min-height:0;padding-top:.5rem;padding-bottom:.5rem}
.stage.is-fullscreen.has-fullscreen-branding .stage-play-area{min-height:0;padding-top:.25rem;padding-bottom:.25rem}
.stage.is-fullscreen.has-fullscreen-branding .stage-meta{margin-top:.5rem}
.stage.is-fullscreen.has-fullscreen-branding .live-wheel-container{width:min(230px,max(4rem,calc(100svh - var(--brand-chrome,0px) - 15rem)));height:min(230px,max(4rem,calc(100svh - var(--brand-chrome,0px) - 15rem)))}
.stage.is-fullscreen.has-fullscreen-branding .pre-draw-countdown>strong{font-size:min(22svh,35vw,max(3rem,calc(100svh - var(--brand-chrome,0px) - 15rem)))}
@media(max-width:600px){
 .sponsor-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .institution-logo-preview{flex-wrap:wrap;gap:.75rem}
 .institution-logo-preview img{width:5rem;height:4rem}
 .fullscreen-branding-top.with-institution-logo{grid-template-columns:4.75rem minmax(0,1fr)}
 .fullscreen-headline{font-size:clamp(1.125rem,5vw,1.5rem);letter-spacing:-.02em}
 .fullscreen-institution-logo img{max-height:5rem}
 .fullscreen-sponsors{--sponsor-columns:var(--sponsor-columns-mobile);--sponsor-rows:var(--sponsor-rows-mobile)}
 .fullscreen-sponsor-grid{gap:.375rem .5rem}
 .stage.is-fullscreen.has-fullscreen-branding .stage-content>h1{font-size:1.5rem}
}
@media(max-height:500px) and (orientation:landscape){
 .stage.is-fullscreen.has-fullscreen-branding{--stage-chrome:10rem}
 .fullscreen-branding-top{padding:.25rem .75rem;--brand-logo-width:6rem;gap:.75rem}
 .fullscreen-headline{font-size:1.125rem}
 .fullscreen-institution-logo img{max-height:2.75rem}
 .fullscreen-sponsors{padding:.25rem .75rem .375rem;--sponsor-logo-height:clamp(1rem,calc(11svh / var(--sponsor-rows)),2.5rem)}
 .fullscreen-sponsors>h2{font-size:.6875rem;margin-bottom:.25rem}
 .fullscreen-sponsor-grid{gap:.25rem .5rem}
 .stage.is-fullscreen.has-fullscreen-branding .stage-content{padding:.25rem .75rem}
 .stage.is-fullscreen.has-fullscreen-branding .stage-prize{padding:.25rem .5rem;margin-top:0}
}

.branding-count{font-size:.8125rem;font-weight:400;color:#60758b;margin-left:.25rem}

/* Event tabs and drawn participants. */
.event-stage-tabs{display:flex;justify-content:center;gap:.5rem;padding:.75rem 1rem;border-bottom:1px solid #d8e2f0;background:#ffffffa8;flex-shrink:0}
.event-stage-tabs>button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.65rem 1.25rem;color:#60758b;font-size:.9375rem;border-radius:.65rem;border:1px solid transparent}
.event-stage-tabs>button[aria-selected=true]{background:#eaf1fb;border-color:#bdcee6;color:#123c91;font-weight:650;box-shadow:inset 0 -3px 0 #f3d236}
.event-stage-tabs>button>span{padding:.1rem .45rem;border-radius:1rem;background:#d8e5f7;color:#123c91;font-size:.8125rem}
.event-stage-tabs>button:focus-visible{outline:3px solid #f3d236;outline-offset:2px}
.stage-draw-panel{display:flex;flex-direction:column;flex:1;min-height:0}
.stage-draw-panel[hidden],.stage-results-panel[hidden]{display:none}
.stage-results-panel{flex:1;min-width:0}
.event-results-content{width:min(1100px,100%);margin:auto;padding:2rem 1.5rem 3rem}
.event-results-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.event-results-kicker{font-size:.75rem;letter-spacing:.1em;font-weight:600;color:#60758b}
.event-results-heading h1{font-size:clamp(1.5rem,3vw,2rem);color:#082656;margin:.4rem 0}
.event-results-heading p{font-size:.875rem;color:#60758b}
.event-results-heading .button{font-size:.875rem}
.drawn-results-search{display:flex;align-items:center;gap:.6rem;padding:.75rem 1rem;background:white;border:1px solid #bdcee6;border-radius:.75rem;color:#60758b;margin-bottom:1.25rem;max-width:28rem}
.drawn-results-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#082656;font:inherit;font-size:.9375rem}
.drawn-results-search:focus-within{outline:3px solid #f3d236;outline-offset:2px}
.drawn-results-list{display:flex;flex-direction:column;gap:.75rem;list-style:none;padding:0;margin:0}
.drawn-results-list>li{display:grid;grid-template-columns:4.5rem minmax(0,1.8fr) minmax(0,1.4fr) minmax(10rem,1fr);gap:1rem;align-items:center;background:white;border:1px solid #d8e2f0;border-radius:.875rem;padding:1rem;box-shadow:0 3px 12px #08265604}
.drawn-results-list small{display:block;font-size:.75rem;color:#60758b;margin-bottom:.3rem;font-weight:400}
.drawn-round{display:block;padding:.5rem;text-align:center;background:#edf3fc;border-radius:.625rem;color:#123c91}
.drawn-round strong{font-size:1.25rem}
.drawn-winner strong{font-size:clamp(1.25rem,2.5vw,1.8rem);font-weight:750;color:#123c91;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.drawn-prize>span{color:#344966;font-size:.9375rem;overflow-wrap:anywhere}
.drawn-results-list time{font-size:.8125rem;color:#60758b;line-height:1.5}
.drawn-results-empty{text-align:center;padding:3.5rem 1.25rem;border:1px dashed #bdcee6;border-radius:.875rem;background:#ffffff90;color:#60758b}
.drawn-results-empty>svg{margin:0 auto 1rem;color:#90a8c8}
.drawn-results-empty h2{font-size:1.125rem;color:#082656;font-weight:600;margin-bottom:.5rem}
.drawn-results-empty p{font-size:.875rem;line-height:1.6}
.demo-animation-select{display:flex;align-items:center;gap:.5rem;white-space:nowrap;font-size:.8125rem}
.demo-animation-select select{min-width:0;border:1px solid #bdcee6;padding:.35rem .5rem;border-radius:.375rem;background:white;color:#123c91;font:inherit}
/* Three result-reveal choices. */
.reveal-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.reveal-options>label{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.5rem;border:1px solid #bdcee6;border-radius:.75rem;padding:.75rem .5rem;cursor:pointer;position:relative;min-width:0;background:white}
.reveal-options>label.selected{background:#edf3fc;border-color:#123c91;box-shadow:0 0 0 2px #f3d236}
.reveal-options input{position:absolute;opacity:0;width:1px;height:1px}
.reveal-options>label:has(input:focus-visible){outline:3px solid #f3d236;outline-offset:3px}
.reveal-options strong{color:#082656;font-size:.875rem}
.reveal-options small{font-size:.75rem;color:#60758b;line-height:1.5}
.reveal-sample{display:flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;border-radius:50%;background:#edf3fc;color:#123c91}
.reveal-sample-confetti{background:conic-gradient(from 30deg,#f3d23640,#90b4e640,#f3d23640)}
.reveal-sample-glow{background:radial-gradient(circle,#f3d23688,#f3d23610 65%);box-shadow:0 0 0 3px #f3d23620}
.reveal-sample-zoom{background:#123c91;color:#f3d236;box-shadow:0 0 0 4px #edf3fc}
.celebration-layer{position:fixed;inset:0;z-index:4;pointer-events:none;overflow:hidden}
.celebration-glow>i{position:absolute;left:50%;top:45%;width:min(62vw,62svh);aspect-ratio:1;border:3px solid #f3d23688;border-radius:50%;background:radial-gradient(circle,#f3d23600 45%,#f3d23616 65%,#f3d23600 73%);transform:translate(-50%,-50%);animation:reveal-halo 2s ease-out both}
.celebration-glow>i:nth-child(2){animation-delay:.35s}
.celebration-glow>i:nth-child(3){animation-delay:.7s}
.is-celebrating.reveal-glow .number-reels,.is-celebrating.reveal-glow .winner-names{animation:reveal-glow-result 2.4s ease-out both}
.celebration-zoom>i{position:absolute;left:50%;top:45%;height:clamp(.8rem,3vw,2.5rem);width:.3rem;border-radius:1rem;background:#f3d236;opacity:0;animation:reveal-ray .9s ease-out both;animation-delay:var(--ray-delay)}
.is-celebrating.reveal-zoom .number-reels,.is-celebrating.reveal-zoom .winner-names{animation:reveal-zoom-result .8s cubic-bezier(.2,.75,.25,1.1) both;transform-origin:center}
@keyframes reveal-halo{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}20%{opacity:.75}100%{opacity:0;transform:translate(-50%,-50%) scale(1.5)}}
@keyframes reveal-glow-result{0%,100%{filter:drop-shadow(0 0 0 #f3d23600)}35%{filter:drop-shadow(0 0 22px #f3d236aa)}}
@keyframes reveal-ray{0%{opacity:0;transform:translate(-50%,-50%) rotate(var(--ray-angle)) translateY(4rem) scaleY(.2)}25%{opacity:.9}100%{opacity:0;transform:translate(-50%,-50%) rotate(var(--ray-angle)) translateY(min(42vw,42svh)) scaleY(1.1)}}
@keyframes reveal-zoom-result{0%{transform:scale(.72);opacity:.45}65%{transform:scale(1.025);opacity:1}100%{transform:scale(1);opacity:1}}
@media(max-width:600px){.event-results-content{padding:1.25rem .875rem 2rem}.drawn-results-list>li{grid-template-columns:3.5rem minmax(0,1fr);gap:.6rem .75rem;padding:.875rem}.drawn-prize,.drawn-results-list time{grid-column:2}.drawn-results-list time small{display:inline;margin-right:.35rem}.drawn-round{align-self:start}.event-stage-tabs>button{padding:.65rem 1rem}.reveal-options{gap:.5rem}.reveal-options>label{padding:.625rem .35rem}.reveal-options small{font-size:.6875rem}.demo-strip{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.result-celebration{display:none!important}.is-celebrating .number-reels,.is-celebrating .winner-names{animation:none!important;filter:none!important;transform:none!important}}
