.account-page [hidden]{display:none!important}.account-page{padding-top:18px}.account-top-tabs{background:var(--surface-2);border-radius:12px;align-items:center;gap:6px;width:fit-content;max-width:100%;margin:0 0 20px;padding:5px;display:flex}.account-top-tabs button{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-weight:800;transition:background-color .16s ease-out,color .16s ease-out;display:flex}.account-top-tabs button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.account-top-tabs svg{width:19px;height:19px}.account-top-tabs button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.profile-management{gap:22px;display:grid}.profile-management>h2{margin:0;font-size:22px}.game-profile-card.profile-editor-row{border:0;border-block-end:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0;padding:16px 0;display:block}.game-profile-card.profile-editor-row>header{flex-direction:row;align-items:center;gap:10px;margin-bottom:10px;display:flex}.profile-editor-row>header .cc-game-mark{max-width:180px}.profile-editor-row .game-profile-actions button{background:var(--surface-2);border:0;border-radius:8px;width:44px;height:44px}.game-profile-card.profile-editor-row .game-profile-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.game-profile-card.profile-editor-row .game-profile-fields .character-picker{grid-column:1/-1}.profile-skin-editor{margin-top:12px}.profile-skin-editor summary{cursor:pointer;width:fit-content;min-height:44px;padding:10px 0;font-size:13px;font-weight:800;display:list-item}.profile-skin-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:8px 16px;display:grid}.profile-skin-row{grid-template-columns:44px minmax(50px,.6fr) minmax(0,1.4fr);align-items:center;gap:8px;min-width:0;display:grid}.artwork-select{align-items:center;gap:4px;min-width:0;display:flex}.artwork-select .cc-select-trigger{flex:1;min-width:0;padding-inline:7px;font-size:12px}.artwork-select .cc-select-value{text-overflow:ellipsis;overflow:hidden}.profile-skin-row img{object-fit:contain;width:44px;height:44px}.profile-skin-row strong{overflow-wrap:anywhere;font-size:13px}.profile-skin-row .cc-select-trigger{width:100%;min-width:0}.square-game-icon .ssbu-square-mark{filter:invert();-webkit-mask-image:none;mask-image:none}:root[data-theme=light] .square-game-icon .ssbu-square-mark{filter:none}.player-map-game-select .map-game-selector{background:0 0;border:0;width:auto;min-width:100px;max-width:180px;padding:5px 8px}.player-map-game-menu.player-map-game-popover{--map-border:var(--line);--map-canvas:var(--surface);--map-text:var(--ink);--map-land:var(--surface-raised,var(--surface));z-index:220;max-height:var(--radix-popover-content-available-height);position:relative;inset:auto;overflow-y:auto}.player-map-game-select>button .square-game-icon{flex-basis:36px;width:36px;height:36px}.map-game-selector .game-option-label>span:last-child{display:none}.map-game-selector .game-option-logo{width:90px}@media (max-width:580px){.account-page{padding-top:12px}.account-top-tabs{width:100%;margin-bottom:16px}.account-top-tabs button{flex:1;padding-inline:10px}.game-profile-card.profile-editor-row .game-profile-fields{gap:8px}.profile-editor-row>header .cc-game-mark{max-width:140px}.profile-skin-list{grid-template-columns:1fr}.player-map-game-select .map-game-selector{max-width:120px}}@media (prefers-reduced-motion:reduce){.account-top-tabs button{transition:none}}html{background:var(--surface);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;scrollbar-color:var(--accent) var(--surface-2)}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body{background:var(--surface);color:var(--ink)}.cc-route-stage{min-height:40vh}@media (prefers-reduced-motion:no-preference){.cc-route-stage{animation:.24s cubic-bezier(.16,1,.3,1) both cc-route-enter}@keyframes cc-route-enter{0%{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:none}}}::selection{background:var(--accent);color:var(--on-accent)}*{scrollbar-width:thin;scrollbar-color:var(--accent) var(--surface-2)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--surface-2)}::-webkit-scrollbar-thumb{background:var(--accent);border:3px solid var(--surface-2)}.header{z-index:70;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(14px)saturate(120%);backdrop-filter:blur(14px)saturate(120%);max-width:none;height:76px;padding:0 max(4vw,50vw - 695px);position:sticky;top:0}.brand>span{color:var(--ink);font-family:Smiley Sans,sans-serif}.brand>span>span,.brand>svg,.brand>.cc-mark,.cc-mark-accent{color:var(--accent)}.cc-mark-ink{color:var(--ink)}.brand small{color:var(--muted)}.nav{gap:clamp(16px,2.1vw,32px)}.nav a,.nav a:hover,.nav .active{color:var(--ink)}.nav .active:after{background:var(--accent);height:5px;bottom:-3px;transform:skew(-18deg)}.header .primary,.hero-cta,.discovery-status,.status,.stage-options button[aria-pressed=true],.creation-choices button[aria-pressed=true]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.button.primary{box-shadow:none;clip-path:polygon(7px 0,100% 0,calc(100% - 7px) 100%,0 100%)}.button.primary:hover{background:var(--accent-strong);transform:translateY(-1px)}.theme-toggle{border:1px solid var(--line);background:var(--surface-2);width:44px;height:44px;color:var(--ink);border-radius:10px;flex:0 0 44px;place-items:center;padding:0;display:inline-grid;position:relative;overflow:hidden}.theme-toggle:hover{border-color:var(--accent);background:var(--surface-3)}.theme-toggle svg{grid-area:1/1;transition:transform .26s cubic-bezier(.16,1,.3,1),opacity .16s}:root[data-theme=dark] .theme-sun{opacity:1;color:var(--accent);transform:rotate(0)scale(1)}:root[data-theme=dark] .theme-moon{opacity:0;transform:rotate(-25deg)scale(.55)}:root[data-theme=light] .theme-sun{opacity:0;transform:rotate(30deg)scale(.55)}:root[data-theme=light] .theme-moon{opacity:1;transform:rotate(0)scale(1)}.main{max-width:1390px;padding:0 24px 68px}.hero{isolation:isolate;border:1px solid var(--line);background:var(--surface) url(/brand/hero-graffiti-dark.webp) center / cover no-repeat;border-radius:0;grid-template-columns:minmax(320px,.82fr) minmax(320px,1.18fr);min-height:clamp(420px,38vw,535px);margin:18px 0 14px;padding:clamp(38px,6vw,82px) clamp(24px,4.7vw,68px);position:relative;overflow:hidden}:root[data-theme=light] .hero{background-image:url(/brand/hero-graffiti-light.webp)}.hero:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(90deg, color-mix(in srgb, var(--surface) 98%, transparent) 0 34%, color-mix(in srgb, var(--surface) 58%, transparent) 50%, transparent 69%);position:absolute;inset:0}.hero-copy{z-index:2;align-self:center;max-width:590px;position:relative}@font-face{font-family:Zhuote Street;src:url(/fonts/zhuote-yuedonghei/ZhuoteYuedonghei.ttf)format("truetype");font-display:swap}.hero h1{max-width:8ch;color:var(--ink);letter-spacing:-.04em;text-wrap:balance;margin:0 0 22px;font-family:Zhuote Street,Smiley Sans,Noto Sans SC,sans-serif;font-size:clamp(54px,6.2vw,92px);font-weight:950;line-height:.98}.hero .brush-word{color:var(--ink);display:block}.hero .brush-word:after{background:var(--accent);height:9px;bottom:-5px;transform:skew(-18deg)rotate(-1deg)}.hero p{color:var(--ink);margin:0 0 26px;font-size:clamp(15px,1.25vw,18px);font-weight:650;line-height:1.55}.hero-subtitle{gap:3px;max-width:48ch;display:grid}.hero-subtitle span,.hero-subtitle strong{display:block}.hero-subtitle strong{margin-top:3px;font-weight:950}.hero-cta{min-height:50px;font:inherit;cursor:pointer;clip-path:polygon(8px 0,100% 0,calc(100% - 9px) 100%,0 100%);border:0;align-items:center;gap:18px;padding:12px 22px;font-weight:950;display:inline-flex}.hero-cta:hover{background:var(--accent-strong);gap:24px}.hero-graffiti{align-self:stretch;min-height:260px;position:relative}.hero-inputs,.hero-community{color:color-mix(in srgb, var(--ink) 80%, transparent);letter-spacing:.06em;font-weight:900;position:absolute;transform:rotate(-3deg)}.hero-inputs{font-size:clamp(18px,2vw,29px);bottom:2%;right:4%}.hero-punch-icon{vertical-align:-.16em;width:1.05em;height:1.05em;display:inline-block}.event-load-more{justify-items:center;gap:8px;margin:22px 0 32px;display:grid}.event-load-more .button{min-width:160px;min-height:44px}.event-load-more p{color:var(--muted);margin:0;font-size:13px}.auth-shell{border:1px solid var(--line);background:var(--surface-2);grid-template-columns:minmax(0,.9fr) minmax(360px,1fr);max-width:970px;min-height:520px;margin:34px auto 56px;display:grid}.auth-intro{color:#f7f4e8;background:#11120f;flex-direction:column;padding:clamp(28px,4vw,52px);display:flex}.auth-brand{color:#f7f4e8;letter-spacing:-.02em;font-size:18px;font-weight:900}.auth-brand>span,.auth-brand:first-letter{color:var(--accent)}.auth-intro h1{letter-spacing:-.025em;margin:auto 0 20px;font-size:clamp(34px,3.4vw,48px);font-weight:950;line-height:1.2}.auth-intro>p{color:#c9c7bd;max-width:29ch;margin:0;font-size:15px;line-height:1.75}.auth-panel{flex-direction:column;justify-content:center;min-width:0;padding:clamp(28px,4vw,52px);display:flex}.auth-panel-header h2{margin:0;font-size:clamp(28px,2.5vw,34px);font-weight:900;line-height:1.2}.auth-panel-header p{color:var(--muted);margin:10px 0 0;font-size:14px;line-height:1.6}.auth-switch{border:1px solid var(--line);background:var(--surface-3);border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;margin:28px 0 26px;padding:4px;display:grid}.auth-switch button{min-height:44px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;font-weight:800}.auth-switch button[aria-pressed=true]{background:var(--surface);color:var(--ink)}.auth-switch button:focus-visible,.auth-secondary-action:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.auth-form fieldset{border:0;min-width:0;margin:0;padding:0}.auth-form .field{margin-bottom:18px}.auth-form input{border:1px solid var(--line);background:var(--surface-3);width:100%;min-height:48px;color:var(--ink);font:inherit;border-radius:10px;padding:11px 14px;font-size:15px}.auth-form input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.auth-form .button{width:100%;margin-top:10px}.auth-form-note,.auth-password-note{color:var(--muted);margin:-2px 0 16px;font-size:13px;line-height:1.55}.auth-form .notice,.auth-form .form-error{margin:14px 0 0}.auth-secondary-action{min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-end;align-items:center;gap:5px;margin-top:12px;padding:6px 0;font-size:13px;font-weight:750;display:inline-flex}.auth-secondary-action:hover{color:var(--accent)}.auth-secondary-action:disabled{color:var(--muted);cursor:not-allowed}.auth-code-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 18px;display:flex}.auth-code-actions .auth-form-note{flex-basis:100%;margin:0}@media (max-width:700px){.auth-shell{grid-template-columns:1fr;min-height:0;margin:10px auto 32px}.auth-intro{padding:24px 24px 22px}.auth-intro h1{margin:30px 0 12px;font-size:32px}.auth-intro>p{max-width:34ch;font-size:13px}.auth-panel{padding:26px 24px 30px}.auth-switch{margin:22px 0}}.hero-community{text-align:right;font-size:clamp(11px,1vw,14px);line-height:1.12;top:8%;right:2%}.hero-fold-toggle,.hero-collapsed-summary{display:none}.event-filterbar{grid-template-columns:minmax(240px,1.45fr) repeat(3,minmax(150px,.75fr));align-items:end;gap:12px;margin:26px 0 18px;scroll-margin-top:96px;display:grid}.game-ribbon{border-block:1px solid var(--line);grid-template-columns:minmax(170px,.75fr) repeat(4,minmax(150px,1fr));align-items:stretch;margin:10px 0 20px;display:grid}.game-ribbon button{border:0;border-right:1px solid var(--line);min-width:0;min-height:68px;color:var(--ink);background:0 0;place-items:center;padding:10px 16px;display:grid}.game-ribbon button:last-child{border-right:0}.game-ribbon button:first-child{gap:10px;font-weight:900;display:flex}.game-ribbon button:hover{background:var(--surface-2)}.game-ribbon button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.cc-game-mark{background:0 0;border:0;width:100%;min-width:0;min-height:0;padding:0}.cc-game-mark[data-game=tekken8],.cc-game-mark[data-game=ssbu]{background:0 0;border:0}.cc-game-mark img{object-fit:contain;filter:drop-shadow(0 0 1px #fff9);width:min(160px,86%);max-width:none;height:38px;max-height:none;display:block}:root[data-theme=light] .cc-game-mark img{filter:drop-shadow(0 0 1px #0000008c)}:root:not([data-theme=light]) .cc-game-mark:is([data-game=ssbu],[data-game=ggst]) img{filter:drop-shadow(0 0 .7px #fff)drop-shadow(0 0 1.5px #ffffffbf)}.game-ribbon .cc-game-mark{background:0 0;border:0;width:100%;height:100%}.game-ribbon .cc-game-mark img{width:min(170px,88%);height:46px}.cc-select-item .cc-game-mark{justify-content:flex-start;min-height:42px}.cc-select-item .cc-game-mark img{width:min(170px,84%);height:36px}.game-option-label{text-align:left;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:14px;width:100%;min-height:42px;display:grid}.cc-select-item>span:has(>.game-option-label){width:100%}.game-option-logo{justify-content:center;align-items:center;width:104px;height:34px;display:flex}.game-option-logo .cc-game-mark{justify-content:center;width:100%;min-height:0}.game-option-logo .cc-game-mark img{width:100%;height:32px}.game-option-label>span:last-child{font-size:13px;line-height:1.4}@media (max-width:480px){.game-option-label{grid-template-columns:76px minmax(0,1fr);gap:10px}.game-option-logo{width:76px}}.event-filterbar>.field{width:auto;min-width:0}.event-search{position:relative}.event-search>svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.event-search input{width:100%;padding-left:42px}.field-label{color:var(--muted);letter-spacing:.04em;font-size:12px;font-weight:800}.field input,.field select,.live-form input,.live-form textarea,.live-form select,.cc-select-trigger,.cc-select-content,.cc-city-content{background:var(--surface-3);color:var(--ink);border-color:var(--line)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}.event-grid{gap:14px}.event-card,.panel,.live-match,.match-dialog,.sync-dialog,.owned-tournament-card,.game-profile-card{background-color:var(--surface-2);color:var(--ink);border-color:var(--line);box-shadow:none}.match-dialog.match-dialog{border:1px solid var(--line);background:var(--surface-2);overflow-x:hidden;box-shadow:0 22px 52px #00000057}.match-dialog .match-dialog-heading{border-top:3px solid var(--accent);border-bottom:1px solid var(--line);background:linear-gradient(125deg, color-mix(in srgb, var(--accent) 12%, var(--surface-3)), var(--surface-3) 68%);margin:-14px -18px 13px;padding:15px 56px 14px 18px}.match-dialog .match-dialog-context{color:var(--muted);flex-wrap:wrap;align-items:center;gap:5px 8px;margin-bottom:5px;font-size:11px;font-weight:800;display:flex}.match-dialog .match-dialog-context span:first-child{color:var(--on-accent);background:var(--accent);border-radius:3px;padding:1px 7px}.match-dialog .match-dialog-context span:last-child{overflow-wrap:anywhere}.match-dialog .match-dialog-heading h2{text-align:left;letter-spacing:-.025em;margin:0;padding:0;font-size:clamp(19px,3.5vw,24px);font-weight:900;line-height:1.18}.match-dialog .match-number{color:var(--muted);text-align:left;font-variant-numeric:tabular-nums;letter-spacing:.08em;margin:5px 0 0;font-size:11px;font-weight:800}.match-dialog .match-close{z-index:1;top:12px;right:12px}.match-dialog .match-scoreboard{gap:5px;margin-bottom:11px;display:grid}.match-dialog .match-scoreboard>div{border:1px solid var(--line);background:var(--surface-3);border-radius:5px;grid-template-columns:55px minmax(0,1fr) 48px;align-items:center;gap:10px;min-height:54px;padding:6px 6px 6px 11px;display:grid}.match-dialog .match-scoreboard>div.won{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 9%, var(--surface-3))}.match-dialog .match-scoreboard-side{color:var(--muted);font-size:11px;font-weight:800}.match-dialog .match-scoreboard strong{min-width:0;color:var(--ink);overflow-wrap:anywhere;font-size:16px;font-weight:850;line-height:1.25}.match-dialog .match-scoreboard b{background:var(--surface-2);min-height:40px;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:3px;place-items:center;font-size:21px;font-weight:950;display:grid}.match-dialog .match-scoreboard .won b{background:var(--accent);color:var(--on-accent)}.match-dialog .match-edit-scoreboard{border:1px solid var(--line);background:var(--surface-3);border-radius:5px;margin-bottom:11px}.match-dialog .match-actions{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px 0}@media (max-width:600px){.match-dialog .match-dialog-heading{margin:-9px -8px 10px;padding:12px 52px 12px 10px}.match-dialog .match-close{top:7px;right:7px}.match-dialog .match-scoreboard>div{grid-template-columns:45px minmax(0,1fr) 38px;gap:6px;min-height:47px;padding:5px}.match-dialog .match-scoreboard strong{font-size:14px}.match-dialog .match-scoreboard b{min-height:35px;font-size:18px}}.discovery-card{border-radius:10px;min-height:245px;overflow:hidden}.discovery-status{clip-path:polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%);width:fit-content;padding:4px 9px;line-height:1.2}.discovery-status.status-registration{background:var(--accent);color:var(--on-accent)}.discovery-status.status-running{background:var(--live);color:#fff;align-items:center;gap:6px;width:fit-content;display:inline-flex}.discovery-status.status-running .discovery-live-dot{background:var(--live);border-radius:50%;flex:none;width:8px;height:8px;box-shadow:0 0 0 1.5px #fff}.discovery-status.status-completed{background:var(--ink);color:var(--surface)}.discovery-status.status-unknown{background:var(--surface-3);color:var(--muted);border:1px solid var(--line)}.discovery-badges{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:8px;display:flex}.event-source-badge{width:16px;height:20px;color:var(--ink);background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}.event-source-badge img,.event-source-badge>svg{object-fit:contain;flex:none;width:16px;height:16px;display:block}.event-source-badge .cc-mark-accent{color:var(--accent)}.event-source-badge .cc-mark-ink{color:var(--ink)}.event-overview-badges{flex-wrap:wrap;align-self:flex-start;align-items:center;gap:6px;display:flex}.event-bracket-draft-note{border-left:3px solid var(--accent);background:var(--surface-2);color:var(--ink);margin:10px 0;padding:9px 12px;font-size:13px;line-height:1.5}.discovery-badges .discovery-status{margin-bottom:0}.discovery-mode{border:1px solid var(--line);background:color-mix(in srgb,var(--surface-2) 86%,transparent);min-height:24px;color:var(--ink);border-radius:10px;align-items:center;gap:5px;padding:3px 7px;font-size:11px;font-weight:850;display:inline-flex}.discovery-card:before{background:linear-gradient(100deg, color-mix(in srgb, var(--surface) 98%, transparent) 0 30%, color-mix(in srgb, var(--surface) 80%, transparent) 58%, color-mix(in srgb, var(--surface) 44%, transparent) 100%)}:root[data-theme=light] .discovery-card:before{background:linear-gradient(100deg, color-mix(in srgb, var(--surface) 98%, transparent) 0 30%, color-mix(in srgb, var(--surface) 84%, transparent) 58%, color-mix(in srgb, var(--surface) 50%, transparent) 100%)}.discovery-art{filter:saturate(.82)contrast(1.08);transition:transform .5s cubic-bezier(.16,1,.3,1),filter .3s;transform:scale(1.01)}.discovery-art.is-default{background-image:url(/brand/hero-graffiti-dark.webp);background-position:68%}:root[data-theme=light] .discovery-art.is-default{background-image:url(/brand/hero-graffiti-light.webp)}.discovery-card:hover .discovery-art{filter:saturate()contrast(1.12);transform:scale(1.045)}.discovery-card:hover{border-color:var(--accent);transform:translateY(-3px)}.discovery-card h3{color:var(--ink);font-weight:950}.discovery-meta,.discovery-games,.discovery-formats{color:var(--muted)}.discovery-arrow{color:var(--accent);transition:transform .24s cubic-bezier(.16,1,.3,1)}.discovery-card:hover .discovery-arrow{transform:translate(4px,-4px)}.panel,.owned-tournament-card,.game-profile-card{border-radius:10px}.outline{background:var(--surface-3);color:var(--ink);border-color:var(--line)}.outline:hover,.ghost:hover,.icon-button:hover{background:var(--surface-2)}.live-account{color:var(--ink);border-color:var(--line)}.startgg-bind-card{color:var(--ink);background:var(--surface-2);border-color:var(--line);box-shadow:none}.startgg-bind-icon,.game-profile-add-icon{color:var(--on-accent)}.notice,.empty{color:var(--ink)}.page-heading .eyebrow{display:none}footer{color:var(--muted);border-color:var(--line)}.footer-brand{color:var(--ink)}.footer-brand svg{color:var(--accent)}.cc-request-bar>span,.sync-progress>span,.cc-loading-line:after{background-color:var(--accent)}.cc-click-spark{border-color:var(--accent)}.cc-loading-mark{border-color:var(--line);border-top-color:var(--accent)}.button[data-busy=true]:after{background:var(--on-accent)}@media (prefers-reduced-motion:no-preference){.hero:before{content:"";z-index:1;pointer-events:none;background:var(--accent);transform-origin:100%;animation:.72s cubic-bezier(.16,1,.3,1) both cc-poster-open;position:absolute;inset:0}@keyframes cc-poster-open{0%{clip-path:polygon(0 0,100% 0,100% 100%,0 88%);transform:scaleX(1)}to{clip-path:polygon(94% 0,100% 0,100% 100%,100% 100%);transform:scaleX(0)}}}@media (max-width:960px){.header{padding-inline:20px}.hero{background-position:58%;grid-template-columns:minmax(0,1fr);min-height:480px}.hero-copy{max-width:530px}.hero-graffiti{pointer-events:none;position:absolute;inset:0}.event-filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}.game-ribbon{grid-template-columns:repeat(5,minmax(110px,1fr));overflow-x:auto}}@media (max-width:700px){.header{gap:8px;height:66px;padding-inline:14px}.brand>span{font-size:19px}.brand small{display:none}.header-actions{gap:7px}.header-actions>.button{width:44px;min-width:44px;padding:0;font-size:0}.header-actions>.button:after{content:"+";color:var(--on-accent);font-size:24px}.theme-toggle{flex-basis:42px;width:42px;height:42px}.main{padding-inline:12px}.mobile-menu[open] .mobile-nav{top:100%}.live-account.is-authenticated{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.live-account.is-authenticated .account-mobile-label{display:none}.hero{background-position:62%;align-items:end;min-height:410px;margin-top:10px;padding:28px 20px}.hero:after{background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 42%, transparent), color-mix(in srgb, var(--surface) 96%, transparent) 63%)}.hero-copy{align-self:end}.hero h1{max-width:7ch;font-size:clamp(52px,16vw,70px)}.hero p{max-width:32ch;font-size:13px;line-height:1.48}.hero-community{display:none}.hero-inputs{top:20px;bottom:auto;right:16px}.hero-fold-toggle{z-index:3;border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--ink);cursor:pointer;border-radius:10px;place-items:center;display:grid;position:absolute;bottom:10px;right:10px}.hero-fold-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.hero.is-collapsed{background-position:100%;align-items:center;min-height:66px;padding:10px 64px 10px 16px;display:flex}.hero.is-collapsed:before{display:none}.hero.is-collapsed:after{background:linear-gradient(90deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 88%, transparent) 68%, transparent)}.hero.is-collapsed .hero-copy,.hero.is-collapsed .hero-graffiti{display:none}.hero.is-collapsed .hero-collapsed-summary{z-index:2;color:var(--ink);font-size:17px;font-weight:900;display:block;position:relative}.event-filterbar{grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.game-ribbon{display:none}.event-filterbar>.field:first-child,.event-filterbar>.field:nth-child(2){grid-column:1/-1}.event-grid{gap:10px}.discovery-card{min-height:190px}.discovery-card:before{background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 52%, transparent), color-mix(in srgb, var(--surface) 97%, transparent) 66%)}.discovery-content{justify-content:end}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
.event-admin-module{border-bottom:1px solid var(--line);scroll-margin-top:160px}.event-admin-module>h2{margin:0}.event-admin-module>h2>button{text-align:left;width:100%;min-height:64px;color:var(--ink);cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:20px 4px;font-size:19px;font-weight:700;line-height:1.4;display:flex}.event-admin-module>h2 svg{stroke-width:1.7px;flex-shrink:0;width:21px;height:21px}.event-admin-module>h2 span{flex:1}.event-admin-module .event-admin-chevron{width:16px;height:16px;transition:transform .16s ease-out}.event-admin-module[data-open=true] .event-admin-chevron{transform:rotate(90deg)}.event-admin-module>h2>button:hover{color:var(--accent-strong)}.event-admin-module>h2>button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.event-admin-module-body{padding:4px 0 22px;animation:.14s ease-out admin-module-reveal}.event-admin-module-body[hidden]{display:none}.event-admin-module-body h2,.event-admin-module-body h3{font-size:16px;font-weight:650;line-height:1.5}.event-admin-module-body .panel{box-shadow:none}.event-admin-module.danger>h2>button{color:var(--ink)}.event-admin-module.danger>h2 svg:first-child{color:#dd5353}@keyframes admin-module-reveal{0%{opacity:.8}to{opacity:1}}@media (max-width:700px){.event-admin-module>h2>button{gap:10px;min-height:60px;padding:16px 0;font-size:17px}.event-admin-module>h2 svg{width:19px;height:19px}.event-admin-module-body{padding-bottom:16px}}@media (prefers-reduced-motion:reduce){.event-admin-module-body{animation:none}.event-admin-module .event-admin-chevron{transition:none}}.local-event-label-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.local-event-label-row>button{min-height:36px;padding:6px 10px;font-size:13px}.local-event-label-row>button svg{width:16px;height:16px}
@font-face{font-family:SettlementSaira;src:url(/tsh/fonts/Saira/Saira_Condensed-Bold.ttf)format("truetype");font-weight:700;font-display:swap}.settlement{--text:var(--ink);min-width:0}.settlement .event-admin-module-body{padding:14px}:root[data-theme=light] .settlement .event-admin-module>h2>button:hover,:root[data-theme=light] .settlement .event-admin-module[data-open=true]>h2>button{color:var(--ink)}.settlement-workspace{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);align-items:start;gap:16px;display:grid}.settlement-settings,.settlement-preview{min-width:0}.settlement-options{flex-wrap:wrap;align-items:end;gap:8px;margin-bottom:12px;display:flex}.settlement label{color:var(--muted);gap:4px;font-size:13px;display:grid}.settlement-options>label{flex:92px}.settlement-options .settlement-title{flex:100%}.settlement :is(input,textarea,.cc-select-trigger){min-width:0;max-width:100%;color:var(--text);font:inherit}.settlement input:not([type=checkbox]):not([type=color]),.settlement textarea{background:var(--surface);border:1px solid var(--line);border-radius:8px;width:100%;padding:9px 11px}.settlement input[type=color]{background:var(--surface);border:1px solid var(--line);border-radius:8px;width:100%;height:40px;padding:3px}.settlement input[type=checkbox]{accent-color:var(--accent)}.settlement .settlement-check{min-height:40px;color:var(--text);align-items:center;display:flex}.settlement-upload,.settlement-character-actions,.settlement-output-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.settlement-upload{margin-bottom:12px}.settlement button,.settlement-upload-button,.settlement-output-actions a{border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--text);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:7px 10px;text-decoration:none;display:inline-flex}.settlement .settlement-upload-button{color:var(--text);cursor:pointer;font-size:14px;display:inline-flex}.settlement-upload-button input{opacity:0;width:1px;height:1px;position:absolute}.settlement-upload-button:focus-within{outline:2px solid var(--accent);outline-offset:3px}.settlement-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-bottom:14px;display:grid}.settlement-filter>input{grid-column:1/-1}.settlement-roster{border-top:1px solid var(--line)}.settlement-player{border-bottom:1px solid var(--line);padding:4px 0}.settlement-player :is(header,summary){min-height:42px;color:var(--text);align-items:center;gap:10px;list-style:none;display:flex}.settlement-player summary{cursor:pointer}.settlement-player summary::-webkit-details-marker{display:none}.settlement-player summary>svg{flex-shrink:0;margin-left:auto;transition:transform .16s ease-out}.settlement-player[open] summary>svg{transform:rotate(180deg)}.settlement-player-name{overflow-wrap:anywhere;flex:1;min-width:0;font-size:15px}.settlement-player-name small{color:var(--muted);margin-left:8px;font-size:11px;display:inline}.settlement-rank{min-width:28px;color:var(--text);font:700 24px/1 SettlementSaira,sans-serif}.settlement-modified{color:var(--muted);white-space:nowrap;font-size:11px}.settlement-characters{gap:6px;padding-top:9px;display:grid}.settlement-character{grid-template-columns:minmax(90px,1fr) 88px 32px;align-items:center;gap:6px;display:grid}.settlement-character img{object-fit:contain;width:32px;height:32px}.settlement-character>button{min-height:32px;padding:0}.settlement .cc-select-trigger{width:100%;min-height:36px;font-size:13px}.settlement-character-actions{margin-top:3px}.settlement .character-picker{border:0;min-width:0;margin:0;padding:0}.settlement .character-picker legend{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.settlement .character-trigger{width:100%;min-height:36px;padding:4px 7px}.settlement .character-trigger-icons img{width:26px;height:26px}.settlement-character-actions .character-picker{width:125px}.settlement-character-actions>.cc-select-trigger{width:auto;min-width:125px}.settlement-character-actions button{min-height:34px;font-size:12px}.settlement-player-extra{grid-template-columns:minmax(0,1fr) 120px;gap:10px;margin-top:8px;display:grid}.settlement-player-extra textarea{resize:vertical;min-height:64px}.settlement-preview{position:sticky;top:180px}.settlement-output-actions{margin-bottom:14px}.settlement button.settlement-generate{background:var(--accent);color:#141510;border-color:var(--accent);font-weight:700}.settlement button:disabled{opacity:.5;cursor:wait}.settlement-preview>img{border-radius:12px;width:100%;height:auto;display:block}.settlement-preview-empty{background:var(--surface-2);border-radius:12px;justify-content:center;align-items:center;min-height:160px;display:flex;position:relative;overflow:hidden}.settlement-preview-empty img{opacity:.3;width:100%;height:auto}.settlement-preview-empty span{color:var(--text);font-family:SmileySans,sans-serif;font-size:22px;position:absolute}.settlement-progress{font-variant-numeric:tabular-nums;align-items:center;gap:10px;margin-bottom:14px;display:flex}.settlement-progress progress{width:100%;height:7px;accent-color:var(--accent);border:0}.settlement-progress progress::-webkit-progress-bar{background:var(--surface-2);border-radius:8px}.settlement-progress progress::-webkit-progress-value{background:var(--accent);border-radius:8px}.settlement-empty{color:var(--muted);padding:20px 0}@media (max-width:850px){.settlement .character-trigger{min-height:44px}.settlement-workspace{grid-template-columns:1fr}.settlement-preview{position:static}.settlement .event-admin-module-body{padding:10px}.settlement-player-extra{grid-template-columns:minmax(0,1fr) 106px}.settlement button,.settlement .cc-select-trigger,.settlement-upload-button,.settlement-output-actions a{min-height:44px}.settlement-character{grid-template-columns:minmax(70px,1fr) 82px 44px}}@media (max-width:360px){.settlement-character{grid-template-columns:minmax(70px,1fr) 80px 44px;gap:4px}.settlement-character img{width:25px;height:25px}.settlement-player-extra{grid-template-columns:1fr}.settlement-character-actions button{padding:5px}.settlement-modified{font-size:10px}}@media (prefers-reduced-motion:reduce){.settlement *{transition:none!important}}
.site-footer{border-top:1px solid var(--line);background:var(--surface-2);max-width:none;color:var(--ink);margin:0;padding:0;font-size:14px;display:block}.site-footer-inner{width:min(100%,1440px);margin:0 auto;padding:56px 5.2% 28px}.site-footer-main{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(36px,7vw,120px);display:grid}.site-footer-brand{color:var(--ink);letter-spacing:-.03em;align-items:center;gap:10px;font-size:26px;font-style:italic;font-weight:900;line-height:1;display:inline-flex}.site-footer-brand .cc-mark-accent{color:var(--accent)}.site-footer-brand .cc-mark-ink{color:var(--ink)}.site-footer-brand-dot{color:var(--accent)}.site-footer-support-trigger{border:1px solid var(--accent);background:var(--accent);min-height:44px;color:var(--on-accent);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:9px;margin-top:22px;padding:8px 18px;font-weight:800;display:inline-flex}.site-footer-support-trigger:hover{background:var(--accent-strong)}.site-footer-support-trigger:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.site-footer-support-overlay{z-index:210;background:#000000b8;position:fixed;inset:0}.site-footer-support-dialog{z-index:211;border:1px solid var(--line);background:var(--surface-3);width:min(460px,100vw - 28px);max-height:calc(100dvh - 28px);color:var(--ink);border-radius:16px;padding:20px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 20px 60px #00000052}.site-footer-support-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px;display:flex}.site-footer-support-heading h2{margin:0 0 3px;font-size:21px}.site-footer-support-close{border:1px solid var(--line);background:var(--surface-2);width:40px;height:40px;color:var(--ink);border-radius:9px;flex:0 0 40px;place-items:center;display:grid}.site-footer-support-dialog>img{border-radius:8px;width:auto;max-width:100%;height:auto;max-height:min(64dvh,640px);margin:0 auto;display:block}.site-footer-support-dialog>a{text-underline-offset:3px;align-items:center;gap:3px;margin-top:12px;font-weight:700;text-decoration:underline;display:inline-flex}.site-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.site-footer-links>div{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.site-footer-links h2{color:var(--ink);font:inherit;margin:0 0 5px;font-weight:850}.site-footer-links a{min-height:27px;color:var(--muted);align-items:center;gap:7px;line-height:1.4;display:inline-flex}.site-footer-links a:hover,.site-footer-links a:focus-visible,.site-footer-bottom a:hover,.site-footer-bottom a:focus-visible{color:var(--accent-strong);text-underline-offset:4px;text-decoration:underline}.site-footer-legal{border:1px solid var(--line);background:var(--surface-3);border-radius:14px;margin-top:48px;padding:20px 24px}.site-footer-legal h2{color:var(--ink);font:inherit;margin:0 0 8px;font-weight:850}.site-footer-legal p{max-width:100ch;color:var(--muted);margin:0;font-size:13px;line-height:1.75}.site-footer-bottom{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px 28px;margin-top:30px;padding-top:22px;font-size:13px;display:flex}.site-footer-bottom a{color:var(--muted)}@media (max-width:700px){.site-footer-inner{padding:38px 5% max(30px, env(safe-area-inset-bottom))}.site-footer-main{grid-template-columns:1fr;gap:35px}.site-footer-brand{font-size:24px}.site-footer-links{gap:20px}.site-footer-legal{margin-top:36px;padding:17px 18px}.site-footer-bottom{gap:6px 18px}}
