/* Shared controls: one type scale, consistent targets and clear focus. */
.profile-gate{max-width:700px;margin:36px auto;padding:36px}.profile-gate h1{font-size:32px}.profile-gate p{line-height:1.8;color:#aac0cf}.server-profile-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.server-profile-summary>div{padding:20px;border:1px solid #304e5f;border-radius:12px;background:#132a39}.server-profile-summary span{display:block;font-size:12px;color:#91acbd}.server-profile-summary strong{display:block;font-size:27px;margin-top:8px;overflow-wrap:anywhere}.server-profile-entry{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid #2d495b}.server-profile-entry:last-child{border-bottom:0}.server-profile-entry h3{font-size:19px;margin:10px 0;overflow-wrap:anywhere}.server-profile-entry p{font-size:12px;color:#9eb6c6;line-height:1.8}.profile-entry-status{font-size:11px;color:#a9c5d4}.is-winner .profile-entry-status,.profile-entry-prize{color:#b2f39c}.profile-entry-action{display:grid;gap:12px;flex:none;text-align:right}.profile-entry-prize{font-size:25px}.profile-empty{padding:24px 0}.profile-empty h2{font-size:25px}.profile-empty p{color:#9eb6c6;line-height:1.8}.server-user-card{display:grid;grid-template-columns:1.1fr 1fr 1fr .6fr;gap:24px;padding:22px 0;border-top:1px solid #2d495b;overflow-wrap:anywhere}.server-user-card h3{margin:0 0 6px;font-size:16px}.server-user-card small{display:block;color:#8fabbc;margin-bottom:8px}.server-user-card strong,.server-user-card a{font-size:13px;font-weight:500}#server-contacts aside p{font-size:13px;line-height:1.8;color:#a5bdcc}#viewer-name{overflow-wrap:anywhere;font-size:32px}#contact-status{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.profile-heading #profile-refresh{margin-left:auto}
@media(max-width:640px){.server-profile-summary{grid-template-columns:1fr 1fr;gap:10px}.server-profile-summary>div{padding:16px}.server-profile-summary strong{font-size:23px}.server-profile-entry{display:block}.profile-entry-action{margin-top:16px;text-align:left}.profile-entry-action .button{width:100%}.server-user-card{grid-template-columns:1fr 1fr;gap:18px}.server-user-card>div:first-child{grid-column:1/-1}#viewer-name{font-size:24px}.profile-heading{flex-wrap:wrap}.profile-gate{padding:24px}.profile-gate h1{font-size:26px}}
.event-empty-state.event-empty-with-sanya{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:24px;padding:0 36px 0 48px;min-height:360px;text-align:left;overflow:hidden;background:radial-gradient(ellipse at 85% 90%,#2e61431a,transparent 50%),linear-gradient(130deg,#142b3b,#0f202e)}
.event-empty-copy{padding:40px 0;position:relative;z-index:1;min-width:0}.event-empty-with-sanya h1{max-width:600px;font-size:32px;line-height:1.3}.event-empty-with-sanya p{margin:0;max-width:540px;font-size:14px}.event-empty-with-sanya .event-empty-actions{justify-content:flex-start;gap:12px;margin-top:26px}.event-empty-with-sanya .event-empty-actions .button{font-size:13px;padding:12px 18px}
.event-empty-portrait{align-self:end;min-width:0;max-width:560px;width:100%;justify-self:center;line-height:0}.event-empty-portrait img{width:100%;height:auto;display:block;mask-image:linear-gradient(#000 86%,transparent 100%)}
@media(max-width:960px){.event-empty-state.event-empty-with-sanya{padding:0 24px;gap:12px}.event-empty-with-sanya h1{font-size:27px}.event-empty-copy{padding:30px 0}.event-empty-with-sanya .event-empty-actions{flex-direction:column;align-items:flex-start}}
@media(max-width:640px){.event-empty-state.event-empty-with-sanya{display:flex;flex-direction:column;gap:0;padding:18px 20px 26px;text-align:center;min-height:0}.event-empty-portrait{order:-1;align-self:center;width:270px;max-width:100%;margin:0 auto 6px}.event-empty-copy{padding:0;width:100%}.event-empty-with-sanya h1{font-size:24px;margin-bottom:12px}.event-empty-with-sanya p{font-size:13px;margin:auto}.event-empty-with-sanya .event-empty-actions{margin-top:20px;align-items:stretch}.event-empty-with-sanya .event-empty-actions .button{width:100%;font-size:13px;min-height:46px}}
.first-event-empty .button.primary .icon{color:#10230d}
.new-preview-note{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 0;color:#9eb8c9;font-size:11px}.new-preview-note a{color:#c6dfbc}.first-event-empty{height:100%;display:flex;align-items:center;gap:24px;padding:32px;background:linear-gradient(120deg,#152e3b,#102230);border:1px solid #304e5f;border-radius:13px}.first-event-mark{display:grid;place-items:center;width:58px;height:58px;flex:none;border:1px solid #61ee4433;border-radius:16px;background:#61ee4409}.first-event-mark .icon{width:28px;height:28px;color:#b2cbaa}.first-event-label{font-size:10px;letter-spacing:.1em;color:#93b5a4}.first-event-empty h2{font-size:26px;margin:10px 0 12px;letter-spacing:-.03em}.first-event-empty p{max-width:560px;font-size:14px;line-height:1.8;color:#a8bfcd;margin:0 0 20px}.first-event-empty .button{font-size:13px}.first-summary{padding:10px 0 18px;position:relative}.first-summary h3{font-size:17px;line-height:1.5;font-weight:500;margin:6px 0 12px}.first-summary p{color:#a0b9c8;font-size:13px;line-height:1.9;max-width:340px}.first-summary>span{display:block;border-top:1px solid #304b5c;padding-top:16px;margin-top:26px;color:#819ead;font-size:11px}
@media(max-width:640px){.first-event-empty{display:block;padding:24px 20px}.first-event-mark{margin-bottom:22px;width:48px;height:48px}.first-event-empty h2{font-size:23px}.first-event-empty .button{white-space:normal;width:100%;font-size:12px;padding:12px}.first-event-empty p{font-size:13px}.new-preview-note{padding:12px 0;gap:6px}}
.header .brand img,.header .brand:hover img{filter:grayscale(1) brightness(1.45)}
.header .brand:after{opacity:1;background:#61ee44;transition:background-color .2s ease}
.header .brand:hover:after,.header .brand:focus-visible:after{opacity:1;background:#ffffff}
@media(prefers-reduced-motion:reduce){.header .brand:after{transition:none}}
.events-section .total-card>p{width:auto}
body:has(.hero) .header{border-bottom-color:transparent}
body:has(.hero) .header:after{display:none}
.hero{border:1px solid #253d5380;border-radius:13px;overflow:hidden}
svg.nav-arrow{display:inline-block;width:18px;height:18px;flex:0 0 18px;vertical-align:-4px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.text-button .nav-arrow,.history-open .nav-arrow{margin-left:4px}
.social-bar>a>.ux-social-arrow{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid #7799ae33;border-radius:9px;background:#8db5ce08;color:#a8c4d4}
.social-bar>a:hover .ux-social-arrow{border-color:#61ee4455;color:#b7eea4;background:#61ee440a}
.hero .partner>span>span[aria-hidden]{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-left:9px;vertical-align:middle;border:1px solid #6c91a447;border-radius:8px;background:linear-gradient(145deg,#8bbfd010,#8bbfd003);color:#c3d8e3;transition:border-color .2s,background .2s,color .2s}
.hero .partner .nav-arrow{width:17px;height:17px;flex-basis:17px;vertical-align:middle;margin:0;stroke-width:1.7}
.hero .partner:hover>span>span[aria-hidden]{border-color:#61ee4455;background:#61ee440d;color:#b6eea4}
.events-section .event-row .status{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 8px;margin:0 0 8px;border:1px solid #61ee4429;border-radius:6px;background:#61ee440b;color:#b7d9ac;font-size:10px;font-weight:500;line-height:1.4;vertical-align:top}
.events-section .event-row .status:before{content:'';width:5px;height:5px;border-radius:50%;flex:none;background:#61ee44}
/* Gentle visual cues for the three community panels. */
.community-grid{margin-top:48px;margin-bottom:48px}
@media(max-width:640px){.community-grid{margin-top:32px;margin-bottom:32px;row-gap:22px}}
.community-grid>.panel{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 100% 110%,#589ec01a,transparent 65%),linear-gradient(150deg,#142a3a,#0e1e2d 75%);border-color:#304a5b;min-width:0}
.community-grid>.panel:after{content:'';position:absolute;z-index:-1;pointer-events:none;width:148px;height:120px;right:-16px;bottom:-24px;background:url('/assets/casino-chips-bg.svg') center/contain no-repeat;opacity:.045;transform:rotate(-8deg)}
.community-grid>.panel:nth-child(2){background:radial-gradient(ellipse at 100% 110%,#61ee4412,transparent 65%),linear-gradient(150deg,#142a3a,#0e1e2d 75%)}
.community-grid>.panel:nth-child(2):after{background-image:url('/assets/casino-sevens-bg.svg');width:156px;height:88px;right:-12px;bottom:-22px;transform:rotate(-12deg)}
.community-grid>.panel.faq:after{background-image:url('/assets/casino-dice-bg.svg');width:140px;height:114px;bottom:-32px;right:-12px;transform:none}
.community-grid .panel-title{gap:12px;min-height:38px;margin-bottom:22px}
.community-grid .panel-title .section-art{width:40px;height:40px;padding:3px;border:1px solid #648ea66e;background:#8cbad51a;border-radius:10px;opacity:1;filter:brightness(1.25)}
.community-grid>.panel:nth-child(2) .section-art{border-color:#61ee4433;background:#61ee440b}
.community-grid .sample{margin-left:50px;color:#8ba7ba}
.community-grid .result{padding:14px 12px;background:linear-gradient(110deg,#193344,#152b3b);border-color:#355366;gap:10px}
.community-grid .result .mini-icon{display:flex;align-items:center;justify-content:center;width:30px;height:34px;flex:none;border-radius:7px;background:#8fcdeb0d}
.community-grid .result .mini-icon .icon{width:18px;height:18px;color:#9cbfd2}
.community-grid .result>span:nth-child(2){min-width:0}.community-grid .result strong{font-size:14px}.community-grid .result small{font-size:12px}
.community-grid .result b{flex:none;padding:5px 8px;background:#61ee440d;border:1px solid #61ee4426;border-radius:7px;color:#c0eab5;font-size:13px;white-space:nowrap}
.community-grid .ranking-leader{background:linear-gradient(110deg,#203c37,#182e3c);border-color:#51795270;padding:17px 14px;gap:12px}
.community-grid .leader-place{display:grid;place-items:center;flex:none;width:30px;height:34px;border:1px solid #92d87855;border-radius:9px;background:linear-gradient(145deg,#61ee441c,#61ee4405);font-size:12px;font-weight:600;color:#bbefa9}
.community-grid .ranking-leader .win-count b{color:#bcf2a9}.community-grid .ranking-leader small{color:#9db9ae}
.community-grid .ranking-runner{gap:12px}.community-grid .ranking-runner>span:first-child{width:30px;text-align:center}
.community-grid .faq summary{position:relative;padding-right:36px;line-height:1.6;min-height:46px;display:flex;align-items:center}
.community-grid .faq summary:after{position:absolute;right:0;top:50%;margin-top:-12px;display:grid;place-items:center;width:24px;height:24px;background:#8bb9d00b;border:1px solid #47647766;border-radius:7px;color:#a8c4d3;font-size:14px;line-height:1;transform:none}
.community-grid .faq details[open] summary:after{background:#61ee4412;border-color:#61ee4445;color:#b8f5a7;transform:none}
.community-grid .faq details[open] summary{color:#d7edcf}.community-grid .faq details>p{color:#a8becb;line-height:1.75}
@media(max-width:640px){.community-grid .result{padding:12px 10px;gap:8px}.community-grid .result .mini-icon{width:24px}.community-grid .result strong{font-size:13px}.community-grid .result small{font-size:11px}.community-grid .result b{font-size:12px;padding:5px 6px}.community-grid .panel-title h2{font-size:17px}.community-grid .sample{font-size:10px}}
.events-section .total-card{isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;padding:26px 28px;min-width:0;min-height:240px;border:1px solid #61ee44a6;border-radius:16px;background:radial-gradient(ellipse at 100% 0,#61ee4460,transparent 65%),radial-gradient(ellipse at 0 120%,#61ee4430,transparent 60%),linear-gradient(135deg,#183a37,#102432 70%);box-shadow:inset 0 1px 0 #a5ff79b3,0 0 20px #61ee4418,0 8px 32px #0003}
.events-section .total-card:before{content:'';position:absolute;top:0;left:24px;right:24px;height:3px;background:linear-gradient(90deg,transparent,#61ee44 22%,#61ee44 78%,transparent);box-shadow:0 0 12px #61ee44a6,0 0 24px #61ee4466}
.events-section .total-card:after{content:'';position:absolute;z-index:-1;width:180px;height:180px;right:-80px;bottom:-90px;border:1px solid #a2ff7133;border-radius:50%;box-shadow:0 0 0 22px #a2ff7108,0 0 0 45px #a2ff7106;pointer-events:none}
.events-section .total-card .total-art{position:absolute;z-index:-1;right:12px;top:13px;bottom:auto;width:86px;height:86px;opacity:1;transform:rotate(8deg);filter:drop-shadow(0 8px 10px #041c2270);pointer-events:none}
.events-section .total-card>p{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:#e4ffda;background:#8eff6412;border:1px solid #a2ff7133;border-radius:6px;padding:6px 9px;margin:0 0 28px}
.events-section .total-card>p:before{content:'';width:5px;height:5px;flex:none;background:#8aff62;border-radius:50%;box-shadow:0 0 10px #61ee44}
.events-section .total-card>strong{font-size:49px;font-weight:700;line-height:1.08;letter-spacing:-.055em;color:#efffe8;white-space:nowrap;text-shadow:0 2px 20px #91ff5526}
.events-section .total-card>strong span{font-size:22px;letter-spacing:-.03em;color:#9cf777;opacity:1}
.events-section .total-card>span{font-size:13px;color:#c4d9d2;margin:8px 0 0}
.events-section .total-card>small{width:100%;border-top:1px solid #c6ffad26;padding-top:12px;margin:20px 0 0;color:#99b9ac;font-size:10px}
.events-section .total-card:hover{border-color:#61ee44;box-shadow:inset 0 1px 0 #a5ff79b3,0 0 26px #61ee4426}
.events-section .total-card:hover .total-art{transform:rotate(8deg)}
@media(max-width:1250px) and (min-width:1001px){.events-section .total-card{padding:22px}.events-section .total-card>strong{font-size:42px}.events-section .total-card .total-art{right:4px;width:70px;height:70px}}
@media(max-width:1000px){.events-section .total-card{padding:24px;min-height:230px}.events-section .total-card .total-art{right:24px;top:28px;width:140px;height:140px}.events-section .total-card>small{max-width:320px}}
@media(max-width:640px){.events-section .total-card>strong{font-size:46px}.events-section .total-card .total-art{right:10px;top:14px;width:84px;height:84px}.events-section .total-card>p{margin-bottom:28px}}
.event-manager{margin-bottom:24px}
@media(min-width:761px){.events-section .event-row{display:grid;grid-template-columns:54px minmax(0,1fr) 88px 180px;gap:20px;align-items:center}.events-section .event-row .event-copy{min-width:0}.events-section .event-row .prize{min-width:0;margin:0;padding-left:20px}.events-section .event-row .button{width:180px;min-height:48px;padding:12px 10px;font-size:13px}.events-section .event-row .art{width:54px}}
.history-winner>small,.history-winner>strong{display:block}.history-winner>small{margin-bottom:5px}
#custom-event{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:24px;align-items:start}#custom-event>.breadcrumbs{grid-column:1/-1}#custom-event>.event-public{grid-column:2;grid-row:2}#custom-event>.event-manager{grid-column:1;grid-row:2;margin:0}#custom-event .event-public h1{font-size:28px}
@media(max-width:960px){#custom-event{display:block}#custom-event>.event-manager{margin-top:24px}}
.history-search select{width:100%;min-height:46px;border:1px solid #3c586c;border-radius:9px;background:#0b1d2a;color:#e5f0f7;padding:12px;font:inherit}.history-winner small{white-space:nowrap}.member-row{padding:14px 8px;border-bottom:1px solid #294658;overflow-wrap:anywhere;font-size:13px}
:root{--control-height:48px;--control-radius:10px;--control-font:14px}
.button{min-height:var(--control-height);border-radius:var(--control-radius);font-size:var(--control-font);font-weight:600;line-height:1.4;box-shadow:none;padding:12px 20px}.button.primary{box-shadow:none}.button:disabled{opacity:.6;cursor:wait}.text-button{min-height:40px}.button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #61ee44;outline-offset:3px}
[hidden]{display:none!important}.auth-page{padding:48px 0}.auth-card{max-width:520px;margin:auto;padding:32px}.auth-card h1{font-size:30px;margin:12px 0}.auth-card>p{color:#a9bdcc;font-size:14px;line-height:1.7}.auth-card form button{width:100%}.inline-check{display:flex!important;align-items:center;gap:10px}.inline-check input{width:18px!important;min-height:18px!important;margin:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px}.settings-grid label{display:grid;gap:8px;font-size:13px}.settings-grid input,.settings-grid textarea,.quality-toolbar input,.quality-toolbar select{width:100%;min-width:0;min-height:46px;border:1px solid #3c586c;border-radius:9px;background:#0b1d2a;color:#e5f0f7;padding:12px;font:inherit}.settings-grid textarea{min-height:90px;resize:vertical}.settings-save{grid-column:1/-1;display:flex;align-items:center;gap:16px}.settings-save span{font-size:13px}.settings-access{border-top:1px solid #294658;margin-top:28px;padding-top:24px}.settings-access p{font-size:13px;line-height:1.8;color:#a9bdcc}.admin-exit{margin-left:auto;font-size:12px}.site-announcement{margin:18px auto;padding:16px 20px;background:#18312d;border:1px solid #426b45;border-radius:9px;color:#d3e8cf;font-size:14px;overflow-wrap:anywhere}
.quality-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0}.quality-toolbar label{display:grid;gap:6px;font-size:12px;color:#b6cad8;flex:1;min-width:160px}.quality-toolbar button{font-size:12px}.quality-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;font-size:12px;color:#aac0cf}.quality-pagination button{font-size:12px;padding:10px 14px}.prediction-table tr.my-prediction{background:#214333;outline:1px solid #527d46;outline-offset:-1px}.quality-status{font-size:12px;color:#a7bfce;line-height:1.7}.quality-error{padding:16px;border:1px solid #9b6253;border-radius:9px;background:#392b29;color:#f2c3b2}.quality-confirm{border:1px solid #4d7645;background:#1b352c;border-radius:10px;padding:16px;margin:16px 0}.quality-confirm strong{color:#b8ffa6}.quality-confirm p{font-size:12px;margin:8px 0;color:#c1d6ca}.event-manager{margin-top:24px}.managed-card{border:1px solid #355164;border-radius:12px;padding:20px;margin:14px 0;background:#112535}.managed-card h3{margin:0 0 10px;overflow-wrap:anywhere}.managed-card p{color:#a9bdcc;font-size:13px}.managed-actions{display:flex;flex-wrap:wrap;gap:10px}.managed-actions .button{font-size:12px}.event-public{padding:28px}.event-public h1{font-size:32px;overflow-wrap:anywhere}.event-public p{line-height:1.8;color:#afc5d4}.event-public form{max-width:520px}.history-controls{flex-wrap:wrap}.history-record-name,.history-winner{min-width:0;overflow-wrap:anywhere}.admin-tabs{flex-wrap:wrap;overflow:visible!important}
@media(max-width:640px){.button{font-size:13px}.auth-page{padding:24px 0}.auth-card{padding:22px}.settings-grid{grid-template-columns:1fr}.settings-save{align-items:stretch;flex-direction:column}.settings-save button{width:100%}.quality-toolbar{gap:8px}.quality-toolbar label{min-width:120px}.quality-pagination{flex-wrap:wrap}.quality-pagination button{min-height:44px}.quality-pagination span{order:-1;flex:1 0 100%}.event-public{padding:20px}.event-public h1{font-size:26px}.admin-tabs a{font-size:12px!important}.managed-actions .button{width:100%}.sanya-quote p{opacity:1!important}}
/* Stable history columns and readable, matching filters. */
.history-controls .history-search{max-width:none;display:grid;gap:8px}.history-search>span{font-size:12px;color:#acc2d2}.history-controls input,.history-controls select{font-family:inherit!important;font-weight:400!important;padding-left:16px}.history-controls input::placeholder{color:#829eaf;opacity:1}.history-winner{margin-left:0!important}.history-winner strong{font-weight:500}
.history-search select,.quality-toolbar select{appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23adc4d3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.history-controls{display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(200px,300px);align-items:end;gap:24px}.history-controls .history-search{width:auto;min-width:0}.history-controls input,.history-controls select{height:48px;min-height:48px;font-size:14px;font-weight:500}.history-record{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(220px,1fr) 110px 80px;gap:24px;align-items:center}.history-winner strong{line-height:1.7;overflow-wrap:anywhere}.history-winner small{white-space:nowrap}.history-record-name{min-width:0}
.manager-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.manager-tabs{display:flex;flex-wrap:wrap;margin:18px 0}.manager-tabs button{min-height:44px}.manager-tabs button[aria-pressed=true]{background:#294356;color:#edfff0}.legacy-demo{margin:24px 0}.legacy-demo>div{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.audit-list{list-style:none;padding:0;max-height:650px;overflow:auto}.audit-list li{display:grid;grid-template-columns:170px 180px 1fr;gap:14px;padding:16px 0;border-bottom:1px solid #304b5d;font-size:12px;overflow-wrap:anywhere}.audit-list time,.audit-list span{color:#aac1d0}.event-manager{min-width:0}
@media(max-width:1000px){.history-controls{grid-template-columns:1fr 1fr}.history-controls .filters{grid-column:1/-1}.history-record{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 90px}.history-open{grid-column:1/-1}.audit-list li{grid-template-columns:1fr;gap:5px}}
@media(max-width:640px){.history-controls{grid-template-columns:1fr;gap:16px}.history-controls .filters{grid-column:1}.history-record{grid-template-columns:minmax(0,1fr) 85px;padding:18px;gap:14px}.history-record-name{grid-column:1;grid-row:1}.history-prize{grid-column:2;grid-row:1}.history-winner{grid-column:1/-1;grid-row:2;display:block}.history-open{grid-column:1/-1;grid-row:3;display:block!important}.legacy-demo>div{grid-template-columns:1fr}.manager-heading h2{font-size:20px}}

.button .action-icon{width:20px;height:20px;flex:none;color:inherit;stroke:currentColor;opacity:1}
/* Server-backed home cards accommodate long titles, names and prize totals. */
#server-home-results .result{display:grid;grid-template-columns:30px minmax(0,1fr) auto;width:100%;text-align:left}
#server-home-results .result strong,#server-home-results .result small{white-space:normal;overflow-wrap:anywhere}
.community-grid .ranking-list .ranking-leader,.community-grid .ranking-list .ranking-runner{grid-template-columns:30px minmax(0,1fr) auto}
.community-grid .ranking-list .ranking-leader>div{min-width:0}
.community-grid .ranking-list strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-grid .ranking-list .win-count{display:flex;flex-direction:column;align-items:flex-end;gap:0;min-width:44px}
@media(max-width:640px){#server-home-results .result{grid-template-columns:24px minmax(0,1fr)}#server-home-results .result>b{grid-column:2;justify-self:start;margin:0}#server-home-results .result>.mini-icon{align-self:start}}

/* Consistent spacing for real catalog empty states. */
#event-list .first-event-empty{width:100%;align-items:center}
#event-list .first-event-empty>div{width:100%}
#event-list .event-empty-actions{justify-content:flex-start;flex-wrap:wrap;margin-top:24px;gap:14px}
[data-event-catalog] .panel.profile-empty{padding:30px 32px}
[data-event-catalog] .panel.profile-empty h2{margin:0 0 16px}
[data-event-catalog] .panel.profile-empty p{margin:0;max-width:850px}
[data-event-catalog] #catalog-last:not(:empty){margin-top:24px}
[data-event-catalog] .event-row .event-copy{min-width:0;overflow-wrap:anywhere}
[data-event-catalog] .event-empty-state h2{font-size:32px;line-height:1.3;margin:0 0 20px}
@media(max-width:640px){[data-event-catalog] .panel.profile-empty{padding:24px 20px}[data-event-catalog] .event-empty-state h2{font-size:24px}#event-list .event-empty-actions{align-items:stretch;width:100%}#event-list .event-empty-actions .button{width:100%;white-space:normal}}

/* Balance the hero description; keep compound words together. */
.hero-content .intro{max-width:560px;text-wrap:balance;hyphens:none;line-height:1.75}
@media(max-width:640px){.hero-content .intro{max-width:420px;line-height:1.7}}

.manager-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.manager-summary>div{padding:18px 20px;border:1px solid #304b5c;border-radius:11px;background:#132b3a}.manager-summary span{font-size:11px;color:#a2bdcb}.manager-summary strong{display:block;font-size:28px;font-weight:600;margin-top:8px}.manager-summary>div:nth-child(2) strong{color:#61ee44}.manager-summary>div:nth-child(3) strong{color:#e7ce95}.manager-search{margin:20px 0 8px}.manager-search label{max-width:420px}.manager-search>span{margin-left:auto;padding-bottom:12px}.managed-card .hunt-status{padding:5px 9px;border-radius:6px;background:#223849;border:1px solid #385566;font-size:10px;margin-bottom:12px}.managed-card .hunt-status[data-stage=open]{color:#a6f290;background:#61ee4412;border-color:#61ee4440}.managed-card .hunt-status[data-stage=waiting]{color:#e8cc94;background:#d1ad5512;border-color:#d1ad5540}.managed-card .hunt-status[data-stage=finished]{color:#b7d3e4}.managed-card .manager-card-detail{color:#c0d3de;font-size:12px}.manager-prepared{padding:10px 12px;border:1px solid #cdb57940;border-radius:7px;color:#d8c797!important;background:#cdb57909}.manager-empty{padding:18px 0}.manager-empty h3{font-size:21px}.manager-empty p,.manager-search-empty{font-size:13px;color:#a2bdcb;line-height:1.8}.managed-card .managed-actions{padding-top:10px}.manager-heading h2{font-size:24px}
@media(max-width:640px){.manager-summary{grid-template-columns:1fr 1fr;gap:10px}.manager-summary>div{padding:15px}.manager-summary strong{font-size:24px}.manager-search>span{width:100%;margin:0;padding:0}.manager-heading h2{font-size:20px}.managed-card .managed-actions .button{flex:1;white-space:normal;min-width:120px}}

#ux-create-panel{padding:30px}.editor-intro{color:#a5bdcd;font-size:13px;line-height:1.8;max-width:720px}.editor-state{color:#a4d49b;font-size:11px;min-height:18px;margin:14px 0 24px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:32px;align-items:start}.editor-layout .admin-form{margin:0;gap:24px}.editor-section{border:1px solid #304b5e;border-radius:11px;padding:24px;margin:0;min-width:0;display:grid;gap:18px}.editor-section legend{font-size:17px;font-weight:600;padding:0 8px}.editor-section>p{font-size:12px;color:#92adbf;margin:0;line-height:1.7}.editor-hint,.editor-counter{display:block;font-size:10px;font-weight:400;line-height:1.7;color:#8fabbf}.editor-counter{justify-self:end}.editor-section textarea{min-height:110px}.editor-section .form-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-section .ux-giveaway-budget{padding:14px;border-radius:9px;border:1px solid #61ee4433;background:#61ee4409;color:#bcdbb8;font-size:12px;line-height:1.8;margin:0}.editor-footer{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.editor-footer>.fine-print,.editor-footer>p[role=status]{flex-basis:100%;margin:0}.editor-footer>p[role=status]:empty{display:none}.editor-footer>.text-button{display:none}.editor-preview{position:sticky;top:24px;min-width:0}.editor-eyebrow{display:block;font-size:9px;letter-spacing:.1em;color:#86a5b9;margin-bottom:16px}.editor-preview-card{border:1px solid #38596b;border-radius:12px;background:linear-gradient(135deg,#1a3544,#102332);padding:24px}.editor-preview-card>span{display:inline-block;font-size:10px;border:1px solid #61ee4438;border-radius:6px;padding:5px 9px;color:#b5e0a9}.editor-preview-card h3{font-size:23px;line-height:1.35;margin:18px 0 12px;overflow-wrap:anywhere}.editor-preview-card>p{white-space:pre-line;overflow-wrap:anywhere;font-size:12px;color:#9cb7c8;line-height:1.8}.editor-preview-prize{border-top:1px solid #355365;margin-top:22px;padding-top:18px}.editor-preview-prize small{display:block;color:#9cbbac;font-size:11px}.editor-preview-prize strong{display:block;color:#61ee44;font-size:34px;margin:6px 0;overflow-wrap:anywhere}.editor-preview-card dl{margin:18px 0 0}.editor-preview-card dl>div{display:flex;justify-content:space-between;gap:14px;margin-top:12px;font-size:11px;line-height:1.7}.editor-preview-card dt{color:#8eacbc}.editor-preview-card dd{margin:0;text-align:right;overflow-wrap:anywhere}.editor-preview-note{font-size:11px;line-height:1.8;color:#8faabd;margin-top:16px}
@media(max-width:1000px){.editor-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.editor-section{padding:18px}.editor-preview-card{padding:20px}}
@media(max-width:740px){#ux-create-panel{padding:20px}.editor-layout{grid-template-columns:minmax(0,1fr);gap:26px}.editor-preview{position:static}.editor-section .form-pair{grid-template-columns:1fr}.editor-section{padding:18px 14px}.editor-footer .button{width:100%;white-space:normal}.editor-preview-card h3{font-size:22px}}

.workspace-admin .editor-layout #admin-create{grid-template-columns:minmax(0,1fr);gap:24px}.editor-footer>.fine-print{order:-2}.editor-footer>p[role=status]{order:-1}.editor-footer .button{min-height:48px}
.managed-result-dialog{width:min(760px,calc(100% - 32px));max-height:90dvh;overflow:auto;padding:30px}.managed-result-dialog h3{font-size:23px;line-height:1.4;overflow-wrap:anywhere;margin:14px 0 22px}.managed-result-step{font-size:10px;letter-spacing:.1em;color:#8fb2a0}.managed-result-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:20px 0}.managed-result-facts>div{padding:16px;border:1px solid #345363;border-radius:10px;background:#132b3a;min-width:0}.managed-result-facts span{font-size:11px;color:#9eb8c9}.managed-result-facts strong{display:block;font-size:24px;font-weight:600;margin-top:8px;overflow-wrap:anywhere}.managed-result-note{font-size:12px;color:#a2bcca;line-height:1.8}.managed-result-winners{max-height:340px;overflow:auto;border-top:1px solid #304e5c}.managed-result-winners article{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid #304e5c}.managed-result-winners article>span{color:#88a9b9;font-size:11px}.managed-result-winners strong{font-size:18px;overflow-wrap:anywhere}.managed-result-winners p{font-size:12px;color:#acc5d4;line-height:1.8;margin:8px 0}.managed-result-winners small{color:#8eaabc;font-size:10px}.managed-result-winners b{font-size:23px;color:#61ee44;overflow-wrap:anywhere}.managed-result-warning{padding:16px;border:1px solid #61ee4433;border-radius:10px;background:#61ee440a;font-size:12px;color:#bdd3bd;line-height:1.8;margin:20px 0}.managed-result-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.managed-result-actions .button{font-size:13px;white-space:normal}.managed-result-error{font-size:12px;line-height:1.8;color:#f1b7a9}.managed-result-error:empty{display:none}
@media(max-width:640px){.managed-result-dialog{padding:24px 18px;max-height:94dvh}.managed-result-dialog h2{font-size:22px;padding-right:28px}.managed-result-dialog h3{font-size:19px}.managed-result-facts{grid-template-columns:1fr}.managed-result-facts>div{padding:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.managed-result-facts span{max-width:48%}.managed-result-facts strong{font-size:21px;margin-top:0}.managed-result-winners article{grid-template-columns:22px minmax(0,1fr);gap:10px}.managed-result-winners b{grid-column:2}.managed-result-actions .button{width:100%}.managed-result-step{font-size:9px}}

.settings-maintenance{grid-column:1/-1;padding:24px;border:1px solid #365143;border-radius:12px;background:#61ee4406}.settings-maintenance h3{margin-top:0}.settings-maintenance p{max-width:760px;line-height:1.7;color:#a8bdca}.settings-maintenance .inline-check{display:flex;align-items:center;gap:12px}.settings-maintenance input[type=checkbox]{width:20px;height:20px;accent-color:#61ee44}

/* Signed-in account: the name makes identity distinct from a login action. */
.header a.login.account-link{background:#132736;border:1px solid #365566;color:#edf5fa;min-height:52px;padding:8px 12px;gap:10px;max-width:230px;text-align:left}
.header a.login.account-link:hover{background:#183341;border-color:#61ee4470;color:#fff}
.header .account-link .account-chip-mark{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;background:#61ee4412;border:1px solid #61ee442b}
.header .account-link .account-chip-mark .icon{color:#61ee44;width:18px;height:18px}
.header .account-link .account-chip-copy{display:grid;gap:1px;min-width:0;line-height:1.3}
.account-chip-copy strong{overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:650}
.account-chip-copy small{color:#9eb4c3;font-size:10px;font-weight:500}
.account-chip-arrow{width:15px;height:15px;flex:none;fill:none;stroke:#a3bac9;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin-left:4px}
@media(max-width:700px){.header a.login.account-link{min-height:40px;max-width:148px;padding:5px 8px;gap:7px}.header .account-link .account-chip-mark{width:25px;height:25px;border-radius:7px}.header .account-link .account-chip-mark .icon{width:15px;height:15px}.account-chip-copy strong{font-size:12px}.account-chip-copy small,.account-chip-arrow{display:none}}
@media(max-width:360px){.header a.login.account-link{max-width:126px}}

.manager-summary>button{display:grid;gap:8px;text-align:left;background:#132b3b;color:#e8f0f6;border:1px solid #345466;border-radius:10px;padding:16px;cursor:pointer;font:inherit}.manager-summary>button:hover,.manager-summary>button:focus-visible{border-color:#61ee44;background:#183442}.manager-summary>button strong{font-size:25px}.manager-summary>button span{color:#a9bfce;font-size:12px}.manager-next-step{color:#a6bdcc;font-size:13px;line-height:1.6}.managed-card .managed-actions{gap:12px}
.header .live-button[data-state=live] .live-copy strong{font-family:Montserrat,sans-serif;font-size:11px;font-weight:500;letter-spacing:0;line-height:1.5;color:#edf1f5}.header .live-button[data-state=live] .live-copy small{font-size:10px;font-weight:400;color:#b9c6d1}.header .live-button[data-state=live]{border-color:rgba(255,107,126,.22);background:linear-gradient(120deg,rgba(100,40,54,.30),rgba(25,30,43,.75));box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.header .live-button[data-state=live]:hover{border-color:rgba(255,107,126,.40);background:rgba(76,35,49,.42)}
.mfa-panel{margin:24px 0;padding:24px;border:1px solid #345466;border-radius:12px;background:#0b1e2b}.mfa-panel h3{margin-top:0}.mfa-form{max-width:480px}.mfa-qr{width:220px;max-width:100%;padding:12px;background:white;border-radius:10px;margin:20px 0}.mfa-qr svg{display:block;width:100%;height:auto}.mfa-secret{display:block;overflow-wrap:anywhere;padding:12px;background:#132b3b;user-select:all}.mfa-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0;max-width:650px}.mfa-codes code{padding:10px;background:#152f40;border-radius:6px;overflow-wrap:anywhere;font-size:13px;user-select:all}.mfa-actions{display:flex;flex-wrap:wrap;gap:12px}.mfa-message{color:#b9d0dd}.mfa-panel details{padding:12px 0}.mfa-panel .button{white-space:normal}@media(max-width:600px){.mfa-panel{padding:16px}.mfa-codes{grid-template-columns:1fr}.mfa-actions .button{width:100%}}
/* Account workspace and sign-in rhythm */
.auth-card #admin-login-form{gap:20px;margin:28px 0 0}.auth-card #login-error{margin:0;font-size:12px;line-height:1.7;min-height:0}.auth-card #login-error:empty{display:none}.auth-card>.text-button{display:flex;align-items:center;justify-content:center;gap:8px;margin:22px 0 0;padding:16px 0 0;border-top:1px solid #294253;min-height:44px}.auth-card .inline-check{font-size:12px}.auth-card #admin-login-form>.button{margin-top:4px}
.profile-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start;margin-top:28px}.profile-main,.profile-side{min-width:0}.profile-main .ux-profile-tabs{margin-top:0}.profile-side .panel{padding:26px}.profile-side h2{font-size:22px;margin:14px 0}.profile-side p{font-size:13px;line-height:1.8;color:#a5bdcd}.profile-side small{display:block;font-size:11px;line-height:1.7;color:#8da9bc;margin-top:16px}.profile-side-eyebrow{font-size:10px;font-weight:600;letter-spacing:.08em;color:#9ab6c8}.profile-contact-checks{margin:24px 0}.profile-contact-checks>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #294253;font-size:12px}.profile-contact-checks strong{font-weight:500;color:#8da9bc}.profile-contact-checks .is-complete{color:#61ee44}.profile-contact-card .button{width:100%}.profile-next-guide{padding:24px 12px}.profile-next-guide h3{font-size:15px}.profile-next-guide ol{list-style:none;padding:0;margin:20px 0 0}.profile-next-guide li{display:flex;gap:16px;margin:20px 0}.profile-next-guide li>span{font-size:11px;color:#61ee44;padding-top:3px}.profile-next-guide strong{font-size:12px}.profile-next-guide p{font-size:11px;margin:5px 0}.server-profile-summary>button{font:inherit;text-align:left;color:inherit;padding:22px;border:1px solid #304e5f;border-radius:12px;background:linear-gradient(120deg,#142b3a,#10212f);cursor:pointer;min-width:0;transition:border-color .2s,background .2s}.server-profile-summary>button:hover,.server-profile-summary>button:focus-visible{border-color:#61ee4480;background:#183142}.server-profile-summary small{display:block;font-size:10px;color:#91acbd;margin-top:10px;line-height:1.6}.server-profile-summary .profile-prize-summary{border-color:#61ee4440;background:linear-gradient(125deg,#183d30,#10252a)}.profile-prize-summary strong{color:#61ee44}.profile-empty{text-align:center;max-width:610px;margin:auto;padding:32px 16px}.profile-empty-art{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 24px;border-radius:18px;border:1px solid #61ee4433;background:#61ee440a}.profile-empty-art img{width:32px;height:32px}.profile-empty h2{margin:16px 0;font-size:26px;line-height:1.4}.profile-empty p{font-size:14px}.profile-empty-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:26px}.profile-main #server-contacts{grid-template-columns:1fr}.profile-main #server-contacts>aside{display:none}.profile-main #server-activity{padding:28px}.profile-heading .account-mark{overflow:hidden}.profile-heading .account-mark img,.account-chip-mark img{width:100%;height:100%;object-fit:cover}.account-chip-mark{overflow:hidden}.profile-entry-prize{color:#61ee44}
@media(max-width:1000px){.profile-dashboard{grid-template-columns:minmax(0,1fr) 290px;gap:18px}.server-profile-summary>button{padding:16px}.profile-side .panel{padding:20px}}
@media(max-width:760px){.profile-dashboard{grid-template-columns:1fr}.profile-side{display:grid;grid-template-columns:1fr}.profile-main #server-activity{padding:20px}.profile-empty{padding:20px 0}.profile-empty h2{font-size:23px}.profile-empty-actions{flex-direction:column}.profile-empty-actions .button{width:100%}.profile-next-guide{padding-bottom:0}.profile-main .ux-profile-tabs{gap:18px}.profile-main .ux-profile-tabs a{font-size:12px}.server-profile-summary strong{font-size:24px}.server-profile-summary small{font-size:10px}.profile-heading #profile-refresh{margin-left:0}.auth-card h1{font-size:26px}}

.account-chip-mark,.profile-heading .account-mark{position:relative}.account-chip-mark img,.profile-heading .account-mark img{position:absolute;inset:0}

.settings-grid{grid-template-columns:1fr}.settings-section{min-width:0;margin:0;padding:24px;border:1px solid #304b5e;border-radius:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-section legend{font-size:18px;font-weight:600;padding:0 8px}.settings-section>p{grid-column:1/-1;margin:0;color:#96b2c4;font-size:12px;line-height:1.7}.settings-section label:has(textarea){grid-column:1/-1}.settings-maintenance{grid-column:1/-1}.settings-save{padding-top:18px;border-top:1px solid #294253}.settings-access{padding:26px;border:1px solid #304b5e;border-radius:12px;background:#0b1e2b}.admin-tabs{gap:8px!important;flex-wrap:wrap}.admin-tabs a{padding:13px 18px!important;border-radius:8px 8px 0 0}.admin-tabs a[aria-current=page]{background:#61ee4409}.settings-access .mfa-panel{margin-top:24px}@media(max-width:640px){.settings-section{grid-template-columns:1fr;padding:18px}.settings-access{padding:18px}.admin-tabs a{padding:11px 12px!important}}
@media(max-width:760px){.profile-heading{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:24px 0}.profile-heading .account-mark{width:48px;height:48px}.profile-heading .account-identity{min-width:0}.profile-heading .account-identity h1{margin:7px 0;font-size:23px}.profile-heading .account-identity p{font-size:11px;line-height:1.6}.profile-heading #profile-refresh{grid-column:2;justify-self:start}.server-profile-summary>button{padding:15px}.server-profile-summary small{display:none}.server-profile-summary strong{margin-top:10px}.profile-next-guide li{margin:14px 0}.profile-empty{padding:16px 0}}
.editor-type-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.editor-type-choices button{font:inherit;text-align:left;color:#e5f0f7;background:#102330;border:1px solid #355368;border-radius:12px;padding:20px;cursor:pointer}.editor-type-choices button[aria-pressed=true]{border-color:#61ee44;background:#61ee440b}.editor-type-choices strong{display:block;font-size:17px;margin-bottom:10px}.editor-type-choices span{display:block;font-size:12px;color:#9eb7c7;line-height:1.7}.editor-type-choices button[aria-pressed=true] strong{color:#61ee44}.manager-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:24px 0;gap:12px}.manager-steps li{display:flex;gap:8px;align-items:center;font-size:11px;color:#708c9f;border-top:2px solid #263e4e;padding-top:12px;line-height:1.5}.manager-steps li span{font-size:10px}.manager-steps .is-current{color:#e5f0f7;border-color:#61ee44}.manager-steps .is-done{color:#9fca98;border-color:#61ee4450}.manager-notice:empty{display:none}.manager-notice:not(:empty){padding:14px 18px;background:#61ee4409;border:1px solid #61ee4430;border-radius:9px;font-size:13px;color:#bce4b2;line-height:1.7}.manager-confirm-copy{line-height:1.8;color:#aec1ce}.manager-confirm-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.managed-card .managed-actions{gap:12px}.manager-steps+.managed-actions{margin-top:20px}@media(max-width:640px){.editor-type-choices{grid-template-columns:1fr}.editor-type-choices button{padding:16px}.manager-steps{grid-template-columns:1fr 1fr;gap:16px}.manager-confirm-actions{flex-direction:column}.manager-confirm-actions .button{width:100%}}
/* A single working surface: list or editor, never two stacked workspaces. */
.workspace-admin .ux-admin-layout{display:block!important;grid-template-columns:none!important;margin-top:0}.workspace-admin .ux-admin-layout>.event-manager,.workspace-admin #ux-create-panel{width:100%;max-width:none;margin:0}.workspace-admin:has(#ux-create-panel:not([hidden])) .event-manager,.workspace-admin:has(#ux-create-panel:not([hidden]))>.inner-heading{display:none!important}.workspace-admin .breadcrumbs{margin:18px 0 12px}.workspace-admin .admin-tabs{margin-top:12px;margin-bottom:0}.workspace-admin>.inner-heading{margin:22px 0 24px;gap:16px}.workspace-admin>.inner-heading .page-kicker{display:none}.workspace-admin>.inner-heading h1{font-size:30px;margin:0 0 8px}.workspace-admin>.inner-heading p{font-size:13px}.workspace-admin .manager-heading h2{font-size:18px;margin:0}.workspace-admin .manager-summary{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.workspace-admin .manager-summary>button{display:flex;align-items:center;gap:12px;padding:10px 15px;min-height:44px;flex:1;background:#102532}.workspace-admin .manager-summary strong{font-size:20px;margin:0}.workspace-admin .manager-summary span{font-size:12px}.workspace-admin .manager-empty{padding:38px 20px;text-align:center}.workspace-admin .manager-empty h3{font-size:24px;margin:0 0 12px}.workspace-admin .manager-empty p{max-width:570px;margin:0 auto;line-height:1.8}.workspace-admin #ux-create-panel{margin-top:22px;padding:28px}.workspace-admin .editor-back{display:inline-flex;min-height:40px;align-items:center;margin:0 0 14px;padding:0;color:#adc5d3}.workspace-admin #editor-heading{margin:0;font-size:27px}.workspace-admin .editor-intro{margin:10px 0}.workspace-admin .editor-state{margin:12px 0 20px}.workspace-admin .editor-layout{grid-template-columns:minmax(0,1fr) 340px;gap:28px}.workspace-admin .event-manager{padding:24px}.workspace-admin .manager-tabs{width:auto}.workspace-admin .manager-search{margin:20px 0}.workspace-admin .admin-exit{margin-top:0}@media(max-width:800px){.workspace-admin .editor-layout{grid-template-columns:1fr}.workspace-admin .manager-summary>button{flex:1 1 40%;justify-content:space-between}.workspace-admin #ux-create-panel{padding:20px}.workspace-admin>.inner-heading{margin:18px 0}.workspace-admin .event-manager{padding:20px}.workspace-admin .manager-empty{padding:26px 0}.workspace-admin .manager-empty h3{font-size:21px}}
.type-icon{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;float:right;margin:0 0 12px 16px;color:#91adbd}.editor-type-choices [aria-pressed=true] .type-icon{color:#61ee44}.stats-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.stats-tools>span{font-size:12px;color:#9bb4c5}.stats-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;padding:32px 36px;border-radius:14px;border:1px solid #61ee4460;background:radial-gradient(ellipse at top right,#61ee4426,transparent 65%),linear-gradient(120deg,#173b2c,#102734)}.stats-eyebrow{font-size:10px;letter-spacing:.12em;color:#b0d8ac}.stats-hero h2{font-size:20px;margin:18px 0 10px}.stats-hero strong{font-size:clamp(36px,5vw,62px);color:#61ee44;letter-spacing:-.04em;overflow-wrap:anywhere}.stats-hero p{font-size:12px;color:#b0c8be;line-height:1.7;margin-bottom:0}.stats-hero>svg{width:100px;height:100px;fill:none;stroke:#61ee44;stroke-width:1.2;opacity:.5;flex:none;margin-left:24px}.stats-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 28px}.stats-metrics .panel{padding:22px}.stats-metrics span{font-size:12px;color:#a1bbcc}.stats-metrics strong{display:block;font-size:32px;margin-top:14px}.stats-metrics p{font-size:11px;color:#8da9bc;line-height:1.7;margin-bottom:0}.stats-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.stats-columns>.panel{padding:26px;min-width:0}.stats-section-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:22px;align-items:center}.stats-section-heading h2{font-size:20px;margin:0}.stats-section-heading>span,.stats-section-heading>a{font-size:11px;color:#91adbf}.stats-type,.stats-leader,.stats-latest{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #2a4556}.stats-type span,.stats-leader small,.stats-latest small{display:block;font-size:11px;color:#95afbf;margin-top:7px}.stats-type b{font-size:23px;color:#61ee44}.stats-type strong,.stats-leader strong,.stats-latest strong{font-size:14px;overflow-wrap:anywhere}.stats-current{display:flex;flex-wrap:wrap;gap:14px;margin:22px 0;font-size:11px;color:#a6bdcc}.stats-current b{color:#e6eff6;margin-left:6px}.stats-note{font-size:11px;color:#8da9bc;line-height:1.8;margin:18px 0 0}.stats-rank{color:#61ee44;font-size:12px}.stats-leader>div{flex:1;min-width:0}.stats-leader b,.stats-latest b{font-size:14px;white-space:nowrap}.stats-leader:first-child{background:#61ee4408;padding-left:12px;padding-right:12px;border-radius:8px}.stats-empty{padding:24px 0;color:#9fb8c8;font-size:14px;line-height:1.8}.stats-month{margin:18px 0}.stats-month>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:8px}.stats-month meter{display:block;width:100%;height:10px}.stats-month meter::-webkit-meter-bar{background:#1b3344;border:0;border-radius:8px}.stats-month meter::-webkit-meter-optimum-value{background:#61ee44;border-radius:8px}.stats-latest>div{min-width:0}.stats-latest:hover strong{color:#61ee44}@media(max-width:900px){.stats-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-columns{grid-template-columns:1fr}}@media(max-width:500px){.stats-hero{padding:24px}.stats-hero>svg{display:none}.stats-metrics{gap:10px}.stats-metrics .panel{padding:16px}.stats-columns>.panel{padding:20px}.stats-type b{font-size:20px}.stats-leader,.stats-latest{gap:10px}.stats-leader b,.stats-latest b{font-size:12px}}
.workspace-admin .ux-admin-layout[hidden]{display:none!important}
.stats-period-control{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.stats-range{font-size:12px;color:#a4bdce}.stats-period button[aria-pressed=true]{background:#274354;color:#edf7ff}.stats-now-label{flex-basis:100%;color:#c7d7e2}.stats-tools{flex-wrap:wrap}@media(max-width:600px){.stats-period-control{gap:12px}.stats-period button{padding:10px 12px}.stats-range{width:100%;line-height:1.6}}
/* Private contact history and approved-rule action forms. */
.server-user-card>details{grid-column:1/-1;min-width:0;overflow-wrap:anywhere}.server-user-card>details p{font-size:12px;line-height:1.7;color:#a4bdce}#rule-action textarea{min-height:90px;max-width:100%}#rule-action label:has(input[type=checkbox]){display:flex;align-items:center;gap:12px}#rule-action input[type=checkbox]{width:18px;height:18px;flex:none}
/* Required profile reminder: a distinct action card, separate from site announcements. */
.profile-required-notice{display:flex;align-items:center;gap:20px;margin-top:24px;margin-bottom:24px;padding:22px 26px;border:1px solid #61ee4433;border-radius:14px;background:linear-gradient(110deg,#15312d 0%,#102332 65%);box-shadow:0 8px 24px #00000012}.profile-required-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border:1px solid #61ee4430;border-radius:13px;background:#61ee440c;color:#61ee44}.profile-required-icon svg{width:25px;height:25px}.profile-required-copy{flex:1;min-width:0}.profile-required-copy h2{margin:0 0 7px;font-size:16px;font-weight:600;line-height:1.4;color:#edf5f9}.profile-required-copy p{margin:0;max-width:850px;font-size:12px;line-height:1.75;color:#adc2cd}.profile-required-action{flex:none;gap:14px;white-space:nowrap;min-height:46px;font-size:12px;padding:13px 20px}.profile-required-action span{font-size:18px;line-height:1}@media(max-width:700px){.profile-required-notice{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:18px;margin-top:18px;margin-bottom:18px;border-radius:12px;align-items:start}.profile-required-icon{width:38px;height:38px;border-radius:10px}.profile-required-icon svg{width:21px;height:21px}.profile-required-copy h2{font-size:14px;margin-bottom:6px}.profile-required-copy p{font-size:11px;line-height:1.75}.profile-required-action{grid-column:1/-1;justify-content:center;width:100%;margin-top:2px}}
.notification-bell{position:relative;display:grid;place-items:center;width:44px;height:44px;flex:none;padding:10px;border:1px solid #345165;border-radius:12px;background:#142b3a;color:#b8ccd7;cursor:pointer;margin-left:12px}.notification-bell:hover{color:#61ee44}.notification-bell svg{width:23px;height:23px}.notification-bell>span{position:absolute;top:-5px;right:-5px;min-width:18px;padding:2px 4px;border-radius:9px;background:#61ee44;color:#09131f;font-size:10px;font-weight:700}.notification-bell>span[hidden]{display:none}.notification-dialog{width:min(460px,calc(100vw - 24px));max-height:85dvh;padding:24px;border:1px solid #304d60;border-radius:18px;background:#102332;color:#e8f1f6;box-shadow:0 24px 80px #0009}.notification-dialog::backdrop{background:#030c16b3;backdrop-filter:blur(4px)}.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.notification-heading h2{margin:6px 0;font-size:23px}.notification-heading button{width:34px;height:34px;border:1px solid #345165;border-radius:50%;background:transparent;color:#d4e2ea;font-size:23px;cursor:pointer}.notification-item{padding:18px;margin:14px 0;border:1px solid #294456;border-radius:12px;overflow-wrap:anywhere}.notification-item.is-unread{border-color:#61ee4455;background:#61ee4408}.notification-item>small{font-size:9px;letter-spacing:.08em;color:#61ee44}.notification-item h3{font-size:15px;margin:10px 0}.notification-item p,.notification-empty p{font-size:12px;line-height:1.8;color:#acc2cf}.notification-item strong{color:#61ee44}.notification-item time{font-size:10px;color:#8eaabb}.notification-actions,.notification-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px}.notification-actions a,.notification-actions button{font-size:11px;color:#61ee44}.notification-actions button{border:0;background:transparent;cursor:pointer}.notification-empty{padding:30px 0}.notification-empty h3{font-size:18px}.notification-feedback{font-size:12px;color:#b4c9d5}.notification-footer button{font-size:11px}@media(max-width:700px){.header .notification-bell{width:34px;height:36px;border-radius:10px;padding:6px;margin-left:0}.header .notification-bell svg{width:20px;height:20px}.notification-dialog{padding:18px}.notification-heading h2{font-size:20px}}
/* Refined notification dialog controls and empty state. */
.notification-dialog{border:0;padding:26px;background:linear-gradient(150deg,#142c3b,#0d1f2d);box-shadow:0 24px 90px #0009}.notification-heading{padding-bottom:20px;border-bottom:1px solid #aac9dd14}.notification-heading h2{font-size:21px;font-weight:600;letter-spacing:-.02em}.notification-dialog .notification-heading [data-close]{display:grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;padding:9px;margin:0;border:1px solid #8eb0c32b;border-radius:50%;background:#aac9dd06;color:#a3bdcd;box-shadow:none;line-height:1;cursor:pointer}.notification-heading [data-close] svg{width:16px;height:16px}.notification-heading [data-close]:hover{color:#edf5fa;background:#aac9dd12;border-color:#8eb0c366}.notification-dialog button:focus-visible,.notification-dialog a:focus-visible{outline:2px solid #61ee44;outline-offset:4px}.notification-feedback:empty{display:none}.notification-empty{text-align:center;padding:34px 12px 30px}.notification-empty-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 20px;border:1px solid #61ee4426;border-radius:20px;background:radial-gradient(circle at 35% 25%,#61ee4418,#61ee4403);color:#61ee44}.notification-empty-icon svg{width:28px;height:28px}.notification-empty h3{margin:0 0 10px;font-size:18px;font-weight:600}.notification-empty p{max-width:310px;margin:0 auto;font-size:12px;line-height:1.85;color:#94afc0}.notification-footer{border-top:1px solid #aac9dd14;padding-top:16px;margin-top:0;justify-content:flex-end}.notification-dialog .notification-refresh{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;width:auto;min-height:38px;padding:8px 12px;border:0;border-radius:9px;background:transparent;box-shadow:none;color:#9cb7c7;font-family:inherit;font-size:12px;font-weight:500;cursor:pointer}.notification-refresh svg{width:16px;height:16px;flex:none}.notification-dialog .notification-refresh:hover{background:#aac9dd0b;color:#61ee44}.notification-footer [data-read-all]{margin-right:auto;order:-1;font-size:11px}@media(max-width:500px){.notification-dialog{padding:20px}.notification-heading{padding-bottom:16px}.notification-heading h2{font-size:19px}.notification-empty{padding:28px 0}.notification-empty p{font-size:11px}.notification-footer{gap:8px}}
/* Aligned header account actions, without a shared frame. */
.header .account-controls{display:flex;align-items:center;gap:8px;flex:none;margin-left:12px;padding:0;border:0;background:none}
.header .account-controls .notification-bell{display:flex;align-items:center;justify-content:center;width:52px;height:52px;min-height:52px;margin:0;padding:0;line-height:0;border:1px solid #355164;border-radius:12px;background:#132735;color:#a8c1cf;box-shadow:none}
.header .account-controls .notification-bell:hover{background:#193341;color:#61ee44;border-color:#527767}
.header .account-controls a.login.account-link{display:flex;align-items:center;min-height:52px;height:52px;margin:0;padding:7px 13px 7px 9px;border:1px solid #355164;border-radius:12px;background:#132735;gap:10px;box-shadow:none}
.header .account-controls a.login.account-link:hover{background:#193341;border-color:#527767}
.header .account-controls .account-chip-mark{width:34px;height:34px;border-radius:8px;overflow:hidden}
.header .account-controls .account-chip-copy{gap:2px}.header .account-controls .account-chip-copy strong{font-size:13px;font-weight:600}.header .account-controls .account-chip-copy small{font-size:10px;color:#8faabb;font-weight:400}.header .account-controls .account-chip-arrow{width:13px;height:13px;margin-left:8px;color:#8faabb}
.header .account-controls .notification-bell>span{line-height:1.2;top:-4px;right:-4px;min-width:16px;padding:1px 4px;font-size:9px;border:2px solid #0c1a26}
@media(max-width:700px){.header .account-controls{gap:6px;margin-left:0;min-width:0;flex:0 1 auto}.header .account-controls .notification-bell{width:36px;height:40px;min-height:40px;padding:0;border-radius:10px}.header .account-controls a.login.account-link{min-height:40px;height:40px;padding:5px 7px;gap:6px;min-width:0;border-radius:10px}.header .account-controls .account-chip-mark{width:26px;height:26px;flex:none;border-radius:7px}.header .account-controls .account-chip-copy{min-width:0;max-width:64px}.header .account-controls .account-chip-copy strong{font-size:10px}.header .account-controls .account-chip-copy small,.header .account-controls .account-chip-arrow{display:none}}
@media(max-width:360px){.header .account-controls .account-chip-copy{max-width:44px}}

.header .account-controls .notification-bell>svg{display:block;flex:none;width:24px;height:24px;margin:0;transform:translateY(-.5px)}@media(max-width:700px){.header .account-controls .notification-bell>svg{width:21px;height:21px}}
.notification-dialog .notification-refresh svg{display:block;width:20px;height:20px;stroke-width:1.8;transform:none;filter:none;shape-rendering:geometricPrecision}.notification-dialog .notification-refresh{line-height:20px;gap:8px}
body[data-staff-role=moderator] [data-admin-section=settings],body[data-staff-role=moderator] a[href="/admin?section=settings"],body[data-staff-role=moderator] .workspace-settings{display:none!important}.user-role-controls{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:12px;border-top:1px solid #294456}.user-role-controls>span{font-size:12px;color:#61ee44}.user-role-controls button{font-size:12px}.staff-entry{font-size:12px}
/* Moderator shortcut: rendered only after a server role check. */
.header .moderator-header-entry{display:flex;align-items:center;justify-content:center;gap:9px;height:52px;flex:none;padding:0 12px;border:1px solid #365d48;border-radius:12px;background:#142e29;color:#61ee44;line-height:1.35;font-size:11px;font-weight:600}
.header .moderator-header-entry svg{display:block;width:20px;height:20px;flex:none}
.header .moderator-header-entry:hover{background:#1b3b30;border-color:#61ee44}
@media(max-width:1450px){.header .moderator-header-entry{width:44px;padding:0}.header .moderator-header-entry span{display:none}}
@media(max-width:700px){.header .moderator-header-entry{width:34px;height:40px;border-radius:10px}.header .moderator-header-entry svg{width:18px;height:18px}}
/* Users directory: compact rows with explicitly centered icons. */
.users-directory .quality-toolbar{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(160px,1fr) minmax(150px,1fr) auto;gap:12px;align-items:end}
#server-users-list{display:grid;gap:10px}
.user-card-v2.server-user-card{display:grid;grid-template-columns:minmax(250px,1fr) minmax(360px,1.4fr);gap:12px 24px;padding:16px 18px;border:1px solid #294657;border-radius:12px;background:#102331;min-width:0}
.user-card-v2 .user-card-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:0;padding:0;min-width:0}
.user-card-v2 .user-identity{display:flex;align-items:center;gap:10px;min-width:0}.user-identity>div{min-width:0}
.user-card-v2 .user-avatar{position:relative;display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:10px;background:#1a3645;color:#61ee44;font-weight:600;overflow:hidden;margin:0}.user-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.user-name-line{display:flex;align-items:center;gap:8px;min-width:0}.user-card-v2 .user-name-line h3{font-size:14px;margin:0;overflow-wrap:anywhere;line-height:1.4}
.user-card-v2 .user-mod-icon{display:flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;margin:0;color:#61ee44}.user-mod-icon svg{display:block;width:22px;height:22px}
.user-card-v2 .user-meta{display:flex;gap:7px;flex-wrap:wrap;margin:3px 0 0;font-size:10px;color:#8faab9;line-height:1.5}.user-meta>span{color:#4b6879}
.user-stats{display:flex;gap:12px;color:#8faab9;font-size:10px}.user-stats strong{display:inline!important;margin:0 3px 0 0!important;color:#edf4f8;font-size:12px}
.user-card-v2 .user-contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-width:0;grid-column:auto}
.user-card-v2 .user-contact{display:flex;align-items:center;gap:10px;min-width:0;margin:0;padding:4px 0 4px 16px;border:0;border-left:1px solid #294657;background:none;border-radius:0}.user-contact>div{min-width:0}
.user-card-v2 .user-contact small{display:block;color:#8faab9;font-size:10px;margin:0 0 3px;line-height:1.5}.user-card-v2 .user-contact strong,.user-card-v2 .user-contact a{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere;line-height:1.5;min-height:0;margin:0}.user-contact a:hover{color:#61ee44}.user-contact a>span{margin-left:4px;color:#8ca7b8}
.user-card-v2 .user-contact-icon{display:flex;align-items:center;justify-content:center;align-self:center;flex:0 0 36px;width:36px;height:36px;padding:0;margin:0;line-height:0}.user-contact-icon svg{display:block;width:22px;height:22px;margin:0}.user-card-v2 .user-telegram{color:#8eb9cd}.user-stake img{display:block;width:36px;height:24px;object-fit:contain;margin:0}.user-card-v2 .user-missing{color:#8faab9;font-weight:400}
.user-card-v2 .user-card-footer{grid-column:1/-1;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-top:1px solid #263f50;padding:10px 0 0;margin:0;min-height:0}.user-card-footer details{flex:1;min-width:0;border:0;margin:0;padding:0}.user-card-footer summary{display:flex;align-items:center;gap:7px;padding:8px 25px 8px 0;font-size:11px;color:#a4bac8;min-height:32px}.user-card-footer summary:after{top:6px}.user-history-count{font-size:10px;padding:1px 5px;border-radius:4px;background:#1d3545;color:#a4bac8}.user-history-list p{display:flex;flex-direction:column;gap:4px;padding-left:12px;border-left:2px solid #355344;font-size:12px}.user-history-list time{font-size:10px;color:#8faab9}
.user-card-v2 .user-role-controls{border:0;padding:0;margin:7px 0 0;display:block;flex:none}.user-card-v2 .user-role-controls button{font-size:10px;min-height:32px;padding:6px 10px;background:transparent;border-color:#355064;gap:7px}.user-role-controls svg{display:block;width:18px;height:18px;flex:none}
@media(max-width:1000px){.user-card-v2.server-user-card{grid-template-columns:1fr}.user-card-v2 .user-contact{padding:0;border:0}.users-directory .quality-toolbar{grid-template-columns:1fr 1fr}.users-directory .quality-toolbar>label:first-child{grid-column:1/-1}}
@media(max-width:540px){.user-card-v2.server-user-card{padding:14px;gap:12px}.users-directory .quality-toolbar{grid-template-columns:1fr}.users-directory .quality-toolbar>label:first-child{grid-column:auto}.user-card-v2 .user-contact-grid{grid-template-columns:1fr;gap:10px}.user-card-v2 .user-card-footer{flex-wrap:wrap;gap:6px}.user-card-footer details{flex-basis:100%}.user-card-v2 .user-role-controls button{white-space:normal}.user-card-v2 .user-contact-icon{flex-basis:40px;width:40px}.user-stats{padding-left:50px}}
