.project-frostfire{--bg:#101012;--grid-size:48px}
[data-background=grid] body.project-frostfire{--bg:#090a0c;background-color:var(--bg)}
[data-background=grid] body.project-frostfire::before{opacity:.42}
[data-background=grid] .project-frostfire::after{display:none}
.clan-intro{display:grid;grid-template-columns:minmax(330px,1fr) minmax(0,1.05fr);gap:clamp(25px,5vw,85px);align-items:start;margin-bottom:38px}
.clan-discovery{padding-top:24px;margin:0}
.clan-discovery h1{margin:0}
.clan-discovery>p{color:var(--muted);margin:13px 0 22px}
.clan-toolbar .board-controls{margin:0;flex-wrap:nowrap;min-width:160px}
.clan-toolbar .search{width:auto;min-width:0}
.clan-top h2,.directory-heading,.my-clan h2{font-size:1.25rem;margin:0 0 12px}
.clan-intro .clan-top{margin:0}
.clan-top .clan-podium{position:relative;min-height:103px;margin:0 0 18px;padding:15px 17px;isolation:isolate;overflow:visible}
.clan-top .clan-podium:last-child{margin-bottom:0}
.clan-podium .clan-avatar{width:52px;height:52px}
.podium-stats{position:absolute;bottom:-10px;left:15px;display:flex;gap:4px;max-width:96%}
.podium-stats .score-chip{background:#19191c;padding:2px 6px;white-space:nowrap;font-size:11px}
.podium-stats img{width:17px;height:17px;object-fit:contain}
.clan-directory>.clan-card{padding:16px 19px;min-height:87px}
.clan-directory>.clan-card:first-child{margin-top:0}
.clan-home .clan-layout{grid-template-columns:minmax(0,2.5fr) minmax(220px,1fr);gap:20px}
.clan-layout>.my-clan{margin-top:0}
.my-clan header,.my-clan h3{display:flex;justify-content:space-between;align-items:center;gap:10px}
.my-clan h2,.my-clan h3{margin:0}
.my-clan h3{margin-top:20px;padding-bottom:8px;border-bottom:1px solid var(--stroke);font-size:.95rem}
.my-clan>button{margin-top:10px}
.my-clan-members{list-style:none;padding:0;margin:10px 0 2px;display:grid;gap:10px}
.my-clan-members li{display:flex;align-items:center;gap:9px;min-width:0}
.my-clan-members strong,.my-clan-members small{display:block;overflow-wrap:anywhere}
.my-clan-members small,.avatar-drop small,.tag-hint p{color:var(--muted)}
#clan-settings{width:min(980px,calc(100% - 24px));height:min(820px,calc(100dvh - 32px));max-height:none;overflow:hidden}
#clan-settings .dialog-content{height:100%;display:flex;flex-direction:column;overflow:auto}
.clan-workspace{display:grid;grid-template-columns:188px minmax(0,1fr);align-items:start;gap:15px;min-height:0;flex:1}
.clan-workspace.enhanced{grid-template-rows:minmax(0,1fr)}
.clan-workspace.enhanced>details{max-height:100%;overflow:auto;scrollbar-gutter:stable}
.clan-settings-tabs{display:grid;gap:7px;padding-top:10px}
.clan-settings-tabs>button{display:flex;align-items:center;gap:10px;text-align:left;padding:11px;color:var(--muted);background:#1a1a1e;border:1px solid transparent;border-radius:8px}
.clan-settings-tabs>button[aria-pressed=true]{color:#fff1ed;border-color:#65443f;background:#352727}
.clan-settings [hidden],.avatar-drop [hidden],.media-carousel [hidden]{display:none!important}
.avatar-drop{position:relative;display:flex!important;gap:14px;align-items:center;min-height:85px;border:1px dashed #76737b;border-radius:12px;padding:12px;cursor:pointer;background:#252529}
.avatar-drop strong,.avatar-drop small{display:block}
.avatar-drop input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.avatar-drop:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.avatar-drop.has-preview>:first-child{display:none}
.tag-hint{padding:12px 14px;background:#1a1a1e;border:1px solid var(--stroke);border-radius:9px}
.tag-hint p{margin:6px 0 0;font-size:.88rem;line-height:1.5}
.clan-share-line{display:flex;gap:7px}
.clan-share-line input{min-width:0;flex:1;padding:8px;color:var(--muted);background:var(--card);border:1px solid var(--stroke);border-radius:8px}
.stat-tiles>div>span{display:flex;align-items:center;gap:7px}
.stat-tiles .ui-icon{color:var(--ice)}
.profile-match header p{color:var(--muted);margin:.3em 0 1em}
.profile-match header a{display:inline-flex;align-items:center;gap:6px;margin-bottom:12px;color:var(--ice)}
.media-stage{position:relative;isolation:isolate;overflow:hidden;min-height:390px;touch-action:pan-y}
.media-slide{position:absolute;inset:12px 14%;transition:transform 200ms cubic-bezier(.16,1,.3,1),opacity 180ms cubic-bezier(.16,1,.3,1);transform:translateX(0);opacity:1;z-index:2}
.media-slide[data-position=prev]{transform:translateX(-47%) scale(.84) rotate(-4deg);opacity:.62;z-index:1}
.media-slide[data-position=next]{transform:translateX(47%) scale(.84) rotate(4deg);opacity:.62;z-index:1}
.media-slide[data-position=away]{visibility:hidden;opacity:0;pointer-events:none;z-index:0}
.media-tile{position:relative;display:flex;height:100%;isolation:isolate;overflow:hidden;border-radius:18px;border:1px solid #52505a;background:#282730;padding:clamp(14px,4vw,42px);align-items:end;color:var(--text)}
.media-tile::after{position:absolute;inset:0;z-index:-1;content:"";background:linear-gradient(0deg,#16151be9 7%,#1a171d73 62%,transparent)}
.media-tile>img,.media-sign{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
.media-tile>img:not([src]){visibility:hidden}
.media-sign{display:grid;place-items:center;background:radial-gradient(ellipse at 68% 30%,#504963,#2c2932 53%,#1a191f)}
.media-sign svg{width:clamp(60px,13vw,166px);height:auto;color:#a39ab6;opacity:.33}
.media-caption{padding-bottom:36px;max-width:50ch;min-width:0}
.media-caption h2{font-size:clamp(1.25rem,3vw,2.55rem);line-height:1.06;margin:0 0 9px;overflow-wrap:anywhere}
.media-caption p{margin:0;color:#e1dce7;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.publication-date{color:#d5ceda;font-size:.78rem;text-align:right;display:block;font-variant-numeric:tabular-nums}
.media-tile>.publication-date{position:absolute;right:17px;bottom:13px;padding:4px 7px;background:#16151cd9;border-radius:5px}
.media-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin:12px 0 30px}
.media-controls .forward .ui-icon{transform:rotate(180deg)}
.publication-dialog{width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 24px);border-color:#50495b;background:#212027;overflow:auto}
.publication-dialog .publication-image{max-height:60vh;width:100%;object-fit:contain;border-radius:12px;background:#151419}
.publication-dialog iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:10px}
.publication-dialog .long-copy{overflow-wrap:anywhere}
.publication-dialog::backdrop{background:#0b0c11d9}
.publication-article{position:relative}
.publication-close{position:absolute;z-index:2;inset:14px 14px auto auto;display:grid;place-items:center;width:39px;height:39px;border-radius:9px;background:#17161dea;border:1px solid #756d83;color:#fff;cursor:pointer}
.article-head{position:relative;isolation:isolate;display:flex;align-items:end;min-height:176px;padding:29px clamp(19px,5vw,42px);padding-top:64px;overflow:hidden;background:#302b3a}
.article-head:has(.article-art){min-height:clamp(200px,36vh,310px)}
.article-head:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#191820 4%,#19182185 65%,#17162128);z-index:-1}
.article-art,.article-symbol{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.article-symbol{display:grid;place-items:center end;padding-right:8%;color:#9e8cb9}
.article-symbol svg{width:120px;height:120px;opacity:.38}
.article-heading{min-width:0}
.article-heading h2{font-size:clamp(1.56rem,4vw,2.55rem);line-height:1.12;margin:0;overflow-wrap:anywhere;text-wrap:balance}
.publication-new{width:max-content;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;color:#fff7f6;background:#a92a37;border:1px solid #e65c67;border-radius:8px;font-size:.72rem;font-weight:850;letter-spacing:.06em;box-shadow:0 4px 12px #11090a55}
.publication-new>i{width:5px;height:5px;background:#fff1f1;border-radius:50%}
.media-tile>.publication-new{position:absolute;right:17px;top:15px}
.article-heading .publication-new{position:absolute;top:19px;right:63px}
.article-reading{padding:clamp(19px,5vw,40px)}
.article-reading>.long-copy{max-width:68ch;color:#e1dce6;font-size:1.01rem;line-height:1.7;white-space:pre-wrap;margin:0 0 18px}
.article-reading [data-load-video]{margin-bottom:14px}
.article-foot{padding-top:15px;border-top:1px solid #50495b}
.publication-empty .board-empty{margin-top:0}
@media (max-width:800px){
  .clan-intro{grid-template-columns:1fr;gap:18px}
  .clan-discovery{grid-row:1;padding-top:5px}
  .clan-home .clan-layout{grid-template-columns:1fr}
  .clan-toolbar{gap:8px}
}
@media (max-width:560px){
  .media-stage{min-height:320px}
  .media-slide{inset:8px 9%}
  .clan-workspace{grid-template-columns:1fr}
  .clan-settings-tabs{display:flex;flex-wrap:wrap;gap:5px}
  .clan-workspace.enhanced{grid-template-rows:auto minmax(0,1fr)}
  .clan-settings-tabs>button{padding:8px}
}
@media (prefers-reduced-motion:reduce){.media-slide{transition:none}}

.ranking-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:16px;position:relative;z-index:3}
.ranking-toolbar .board-controls{margin:0 0 0 auto;flex:1 1 290px;justify-content:end}
.ranking-toolbar .search{width:auto;flex:1;max-width:420px}
.ranking-picker{position:relative;min-width:142px;color:#eceef0}
.ranking-picker>summary{display:flex;align-items:center;gap:9px;padding:8px 11px;list-style:none;cursor:pointer;background:#222528;border:1px solid #4a4d50;border-radius:9px}
.ranking-picker>summary::-webkit-details-marker{display:none}
.ranking-picker>summary::after{content:"";width:6px;height:6px;border-right:1px solid #c6c8cb;border-bottom:1px solid #c6c8cb;transform:rotate(45deg);margin-left:auto;margin-bottom:3px}
.ranking-picker[open]>summary,.ranking-picker>summary:hover{background:#303336;border-color:#707477}
.ranking-picker summary strong,.ranking-picker summary small{display:block;line-height:1.15}
.ranking-picker summary small{color:#c2c5c7;font-size:.72rem;margin-bottom:3px}
.ranking-picker summary strong{font-size:.88rem}
.ranking-options{position:absolute;left:0;top:calc(100% + 6px);width:min(330px,calc(100vw - 48px));display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:10px;background:#212427;border:1px solid #53575a;border-radius:12px;box-shadow:0 10px 30px #0708096b}
.ranking-options section{min-width:0}
.ranking-options h2{margin:4px 8px 6px;color:#c2c5c7;font-size:.78rem}
.ranking-options a{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:6px;color:#eceef0;font-size:.86rem}
.ranking-options a:hover,.ranking-options a[aria-current=page]{background:#3f4549}
.ranking-options a[aria-current=page]{box-shadow:inset 2px 0 #e3b877}
.ranking-options :is(img,svg),.ranking-picker summary>svg{width:17px;height:17px;flex:none;object-fit:contain}
.ranking-periods{width:160px;grid-template-columns:1fr}
.ranking-picker :focus-visible,.ranking-toolbar :focus-visible,.back-link:focus-visible,.publication-close:focus-visible{outline:2px solid #c1c8ce;outline-offset:3px}
.project-site .ranking-toolbar .search:focus-within{border-color:#9ca3a9;box-shadow:none}
.clan-directory>.clan-card:where([data-rank="1"],[data-rank="2"],[data-rank="3"]){border-color:color-mix(in srgb,var(--podium-color),#28292b 72%);background:linear-gradient(108deg,color-mix(in srgb,var(--podium-color),#212224 86%),#252628 70%)}
.clan-home [data-rank="2"]{--podium-color:#c0c3c7}
.clan-online{color:#b5d9b7}
.project-frostfire .back-link{display:inline-flex;gap:8px;align-items:center;padding:6px 13px 6px 6px;border:1px solid #484b4d;background:#25272a;border-radius:9px}
.project-frostfire .back-link:hover{background:#323537;border-color:#777c80}
.back-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:6px;background:#383b3e}
.clan-stat-groups{display:grid;gap:16px}
.clan-stat-groups h3{margin:0 0 7px;color:#dadcde;font-size:.93rem}
.clan-stat-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:7px;margin:0}
.clan-stat-tiles>div{padding:10px;border-radius:8px;background:#272a2d;border:1px solid #3a3d41}
.clan-stat-tiles dt{display:flex;align-items:center;gap:7px;font-size:.8rem;color:#c6c9cc}
.clan-stat-tiles dd{margin:5px 0 0;font-size:1.3rem;font-weight:760;font-variant-numeric:tabular-nums}
.clan-stat-tiles :is(img,svg){width:20px;height:20px;object-fit:contain;color:#e7bc82}
.ban-page .search{width:min(100%,450px);margin:14px 0}
.bans-list{overflow:auto}
.bans-list th{white-space:nowrap}
.bans-list td{font-variant-numeric:tabular-nums}
.bans-list time{white-space:nowrap}
.ban-player{display:flex;align-items:center;gap:9px;min-width:165px}
.ban-player .avatar{width:38px;height:38px;border-radius:50%;flex:none;overflow:hidden}
.ban-player .avatar img{width:100%;height:100%;object-fit:cover}
.ban-player strong,.ban-player small{display:block}
.ban-player small{margin-top:2px;color:#bdc1c6}
.ban-reason{min-width:135px}
.ban-duration{display:inline-block;padding:4px 8px;background:#382b2e;border-radius:6px;color:#ffd5d8;white-space:nowrap}
.publication-dialog{width:min(850px,calc(100% - 24px));border-color:#47494d;background:#222327}
.video-dialog{width:min(1020px,calc(100% - 24px));background:#101114}
.video-dialog .article-reading{padding:0}
.video-dialog .publication-close{inset:10px 10px auto auto;background:#141517d9}
.video-dialog .publication-image{display:block;margin:auto;max-height:82dvh}
.publication-player{display:block;width:100%;aspect-ratio:16/9;max-height:82dvh;object-fit:contain;background:#101114}
.video-page .media-tile::after{display:none}
.video-page .media-stage{min-height:clamp(205px,42vw,490px)}

.project-frostfire :is(button,a,summary,select,input,textarea):focus-visible{outline:2px solid #d0d5da;outline-offset:2px}
.project-frostfire .search:focus-within{border-color:#a6adb3;box-shadow:none}
.project-frostfire .search input:focus-visible{outline:0}
.project-frostfire :is(button,a,summary){-webkit-tap-highlight-color:transparent}
.project-frostfire :is(.button,.choice){transition:background-color 140ms ease,border-color 140ms ease}
.ranking-toolbar{gap:7px;margin-bottom:12px}
.ranking-picker{min-width:126px}
.ranking-picker>summary{padding:6px 8px;gap:7px;border-color:#3d4247;background:#25282b}
.ranking-picker summary strong{font-size:.82rem}
.ranking-picker summary small{font-size:.66rem;margin-bottom:1px}
.ranking-picker summary>svg{width:15px;height:15px}
.ranking-toolbar .board-controls .button{min-height:34px;padding:5px 10px}
.ranking-toolbar .search input{padding-block:6px}
.ranking-options a[aria-current=page]{box-shadow:none;background:#3c4045;color:#f4f5f6}
.ranking-page .leaderboard-table .selected-metric,.ranking-page .leaderboard-table th[aria-sort=descending] a{color:#f2d6ad}
.roster-identity{display:inline-flex;align-items:center;gap:9px;min-width:0}
.roster-identity strong,.roster-identity small{display:block;overflow-wrap:anywhere}
.roster-identity small{font-size:.72rem;color:#b7bec6}

.my-clan-members li{justify-content:space-between}
.clan-home .clan-card{position:relative;margin-top:14px}
.clan-home .clan-card .podium-stats{inset:-11px 12px auto auto;justify-content:flex-end;z-index:1}
.clan-home .clan-directory>.clan-card:first-child,.clan-home .clan-top .clan-podium:first-of-type{margin-top:14px}
.clan-home .my-clan{align-self:start}
.clan-home .my-clan>.clan-card{margin-top:15px}
.invite-banner{padding:12px;background:#272c32;border-color:#475664}
.invite-title{display:flex;align-items:center;gap:10px}
.invite-title small,.invite-title strong{display:block}
.invite-title small{color:#bec8d1}
.invite-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#37424d;color:#e2edf3}
.notice-history{display:grid;gap:6px;margin-top:13px}
.notice-popover{border-color:#454c53;background:#25282d}
.notice-popover header{background:#2c3035}
.notice-body a[data-notice-kind],.notice-history a[data-notice-kind]{display:grid;position:relative;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:9px 12px 9px 16px;border-radius:7px}
.notice-body a[data-notice-kind][hidden]{display:none}
.notice-body a[data-notice-kind]>strong,.notice-history a[data-notice-kind]>strong{grid-column:1;grid-row:2;overflow-wrap:anywhere}
.notice-time{grid-column:2;grid-row:1;white-space:nowrap}
.notice-history a[data-notice-kind],.notice-body a[data-notice-kind]:hover,.notice-history a[data-notice-kind]:hover{background:#30363d}
.notice-body [data-unread-notice]::before,.notice-history [data-unread-notice]::before{content:"";position:absolute;left:5px;top:13px;width:5px;height:5px;border-radius:50%;background:#f5b071}
.rule-page{display:grid;gap:34px;max-width:880px;margin-inline:auto;padding:clamp(14px,4vw,52px) 0}
.rule-links{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.rule-section{scroll-margin-top:95px}
.rule-section :is(h1,h2){margin:0 0 20px;color:#f07865;font-size:clamp(22px,3vw,28px);line-height:1.4}
.rule-list{list-style:none;margin:0;padding:0}
.rule-list li{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:12px;padding:12px 0}
.rule-list li>span{align-self:start;color:#f07865;font-variant-numeric:tabular-nums}
.rule-list h3{margin:0 0 4px;font-size:1rem;color:#f6f3f3}
.rule-list p,.rule-note{margin:0;max-width:74ch;line-height:1.55;color:#c3c0c2}
.rule-note{padding-top:14px}
.rule-links{margin:0}
.gamestores-link>.ui-icon:last-child{margin-left:4px;width:15px;height:15px}
.site-ticker:hover>div{animation-play-state:running}
#appearance{width:min(565px,calc(100% - 24px));background:#22262b;border-color:#4e555c}
#appearance .dialog-content{padding:23px}
#appearance .close{display:grid;place-items:center;background:#343b42}
#appearance h3{font-size:.88rem;color:#d3d9dd;margin:12px 0 7px}
#appearance .appearance-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#appearance .choice{display:flex;gap:8px;min-width:0;font-size:.85rem;background:#292e34;border:1px solid #444b53;border-radius:8px}
#appearance .choice[aria-pressed=true]{background:#353c43;border-color:#8f9aa1;color:#fff}
.appearance-check{display:none;margin-left:auto}
.choice[aria-pressed=true] .appearance-check{display:block}
.appearance-check .ui-icon{width:14px;height:14px}
.appearance-swatch{display:grid;place-items:center;width:27px;height:23px;flex:none;border:1px solid #ffffff38;border-radius:5px;background:linear-gradient(140deg,#1e2023 54%,var(--swatch,#b1bbc4) 55%)}
[data-theme-choice=abyss]{--swatch:#616cee}
[data-theme-choice=ruby]{--swatch:#da6879}
[data-theme-choice=emerald]{--swatch:#56a981}
[data-theme-choice=ocean]{--swatch:#6caac3}
[data-theme-choice=sunset]{--swatch:#e0a063}
[data-theme-choice=sakura]{--swatch:#d88bb6}
[data-theme-choice=graphite]{--swatch:#889395}
[data-frame-choice] .appearance-swatch{border-radius:50%;background:#25282b}
[data-frame-choice=accent] .appearance-swatch{border-color:#d4ab86}
.appearance-swatch .ui-icon{width:13px;height:13px}
@keyframes panel-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){.publication-dialog[open],#appearance[open],.project-site:not(.project-frostfire) .notice-menu[open] .notice-popover{animation:panel-enter 160ms ease-out}}
@media(prefers-reduced-motion:reduce){.project-frostfire :is(.button,.choice){transition:none}.site-ticker:hover>div{animation:none}}

/* Shared Frostfire controls */
.project-frostfire{--club-red:#ef8b87;--club-motion:cubic-bezier(.23,1,.32,1)}
.project-frostfire .frost-brand-name{display:flex;align-items:baseline;gap:3px;color:#f6f1e7;font-family:Inter,Arial,sans-serif;font-weight:600;letter-spacing:.13em;text-transform:uppercase;white-space:nowrap}
.project-frostfire .brand img{width:42px;height:42px;object-fit:contain}
.project-frostfire .bar nav{
  justify-self:center;width:fit-content;max-width:100%;padding:5px;gap:3px;
  border-radius:26px;background:#242429;
}
.project-frostfire .account-tools{background:transparent}
.project-frostfire .bar nav a{gap:6px;min-height:35px;padding:7px 11px}
.project-frostfire .bar nav a .ui-icon{width:16px;height:16px}
.project-frostfire .head{border-bottom:0}
.project-frostfire .bar nav a[aria-current=page]{background:#a4e8a7;color:#132719!important;box-shadow:0 2px 16px #69e28c40}
.project-frostfire .bar nav a:hover{background:#39393e}
.project-frostfire .bar nav a[aria-current=page]:hover{background:#b9f4bc}
.project-frostfire .bar nav a{transition:background-color 140ms ease}
.project-frostfire .ranking-picker>summary,.project-frostfire .clan-settings-tabs>button{border-radius:9px}
.project-frostfire .ranking-options a[aria-current=page]{background:#38383e;color:#f7f6fa}
.project-frostfire .ranking-page .leaderboard-table .selected-metric,.project-frostfire .ranking-page .leaderboard-table th[aria-sort=descending] a{color:var(--ice)}

#clan-settings{outline:none;border:1px solid #434044;background:#222124}
#clan-settings .dialog-content{padding:22px}
#clan-settings .close,#new-clan .close{display:grid;place-items:center;background:#302d31;border-color:#494247}
.clan-workspace>details{border:1px solid #423d42;background:#262428;border-radius:10px}
.clan-settings-tabs>button{min-height:40px;background:#272528;color:#dedadd;transition:background-color 140ms ease,border-color 140ms ease}
.clan-settings-tabs>button:hover{background:#342c30}
.clan-settings :is(input:not([type=checkbox]),select,textarea),#new-clan :is(input:not([type=checkbox]),select,textarea){background:#2e2b2f;border-color:#484047;color:#faf5f5}
.clan-settings :is(button,input,select,textarea):focus-visible,#new-clan :is(button,input,select,textarea):focus-visible{outline:2px solid #d88b85;outline-offset:2px}
.clan-settings .avatar-drop:focus-within,#new-clan .avatar-drop:focus-within{outline-color:#d88b85}
.clan-settings .button.primary,#new-clan .button.primary{color:#fff8f7;background:#713d3b;border:1px solid #995552}
.clan-settings .button.primary:hover,#new-clan .button.primary:hover{background:#884844}
.clan-settings .ticket-form>.button,#new-clan .ticket-form>.button{justify-self:start}
.clan-editor-footer>[data-clan-error]:empty{display:none}
.clan-editor-footer{padding-top:8px}
.clan-workspace.enhanced .clan-editor-footer{position:sticky;bottom:0;z-index:1;background:#262428;border-top:1px solid #423a40;padding:8px 0 4px}
.clan-social-editor,.choose-metrics{margin:0;border:1px solid #494147;border-radius:10px;padding:10px 12px}
.clan-social-editor>legend,.choose-metrics>legend{padding:0 5px;color:#ece2e4;font-weight:650}
.clan-form-links label>span{display:flex;gap:6px;align-items:center}
.clan-form-links label svg{width:16px;height:16px;color:#cbbec1}
.metric-help{margin:0 0 8px!important;display:flex;justify-content:space-between;gap:8px;font-size:.8rem;color:#c7bdc1}
.metric-help output{color:#f5bcba;white-space:nowrap;font-variant-numeric:tabular-nums}
.metric-choices{display:flex;flex-wrap:wrap;gap:6px}
.choose-metrics .metric-choice{position:relative;display:inline-flex;align-items:center;gap:5px;margin:0;min-height:32px;padding:5px 7px;border-radius:6px;border:1px solid #494348;background:#2f2a2e;color:#eee8e8;font-size:.83rem;cursor:pointer}
.choose-metrics .metric-choice:has(:checked){background:#423031;border-color:#825957}
.metric-choice:has(:disabled){opacity:.65;cursor:default}
.metric-choice input,.tag-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}
.metric-choice:focus-within,.tag-switch:focus-within{outline:2px solid #df918a;outline-offset:2px}
.metric-box{display:grid;place-items:center;width:15px;height:15px;border:1px solid #74656c;border-radius:4px}
.metric-box svg{width:12px;height:12px;opacity:0}
.metric-choice input:checked+.metric-box{color:#fff;border-color:#a65b56;background:#8d4a45}
.metric-choice input:checked+.metric-box svg{opacity:1}
.tag-switch{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:13px;padding:12px;border:1px solid #494147;border-radius:10px;background:#2b272b;color:#f5edee;cursor:pointer}
.tag-switch small{display:block;margin-top:5px;color:#cdc0c4;line-height:1.4}
.switch-track{display:flex!important;align-items:center;width:39px;height:22px;padding:3px;border-radius:20px;background:#4f474f;pointer-events:none}
.switch-track::before{content:"";width:16px;height:16px;border-radius:50%;background:#f8eceb;transition:transform 160ms var(--club-motion)}
.tag-switch input:checked+.switch-track{background:#96534d}
.tag-switch input:checked+.switch-track::before{transform:translateX(17px)}
@supports (appearance:base-select){
  .clan-settings select,#new-clan select,.clan-settings select::picker(select),#new-clan select::picker(select){appearance:base-select}
  .clan-settings select::picker(select),#new-clan select::picker(select){margin-block:4px;background:#2e2b2f;color:#faf4f4;border:1px solid #57464d;border-radius:9px;padding:4px}
  .clan-settings option,#new-clan option{padding:7px 8px;border-radius:5px}
  .clan-settings option:is(:hover,:checked),#new-clan option:is(:hover,:checked){background:#45353a}
  .clan-settings option::checkmark,#new-clan option::checkmark{color:#f1a39d}
}

.clan-about{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.56fr);gap:17px;align-items:start}
.clan-socials{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 4px}
.project-frostfire .social-link{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border-radius:8px;color:#f7eff0;border-color:#4f4149;background:#2d292e}
.project-frostfire .social-link:hover{background:#423035;border-color:#90605e}
.clan-share{width:100%;max-width:420px;min-width:0;margin-top:9px}
.clan-share>strong{display:block;margin-bottom:5px;font-size:.86rem}
.clan-share .clan-share-line{display:flex;align-items:center;padding:4px;min-width:0;background:#2c292d;border:1px solid #494147;border-radius:10px}
.clan-share .clan-share-line>input{min-width:0;padding:5px 7px;background:transparent;border:0;border-radius:5px;color:#ddd2d5;font-size:.81rem;text-overflow:ellipsis}
.clan-share .clan-share-line>button{display:grid;place-items:center;width:35px;height:35px;flex:none;padding:0;border:1px solid #55484e;border-radius:8px;background:#3d3439;color:#fff2f2;cursor:pointer}
.clan-share .clan-share-line>button:hover,.clan-share .clan-share-line>button[data-copied]{background:#5a3739}
.copy-feedback{margin:4px 0 0;min-height:1.1em;color:#ebaba7;font-size:.73rem}
.clan-roster table{min-width:810px}
.clan-roster th{text-align:center;vertical-align:middle;white-space:nowrap}
.clan-roster th[rowspan]{text-align:left}
.clan-roster th[scope=colgroup]{background:transparent;color:#fff;border-bottom:0;padding-block:11px 5px}
.clan-roster th>span{display:inline-flex;align-items:center;vertical-align:middle;gap:5px}
.clan-roster th :is(svg,img){width:18px;height:18px;object-fit:contain}
.clan-roster td:nth-child(n+3){text-align:center;font-variant-numeric:tabular-nums}
.clan-roster td:first-child{min-width:144px}
.player-heading{display:flex;gap:12px;align-items:center}
.player-heading>div{flex:1;min-width:0}
.player-heading h1{margin:0;overflow-wrap:anywhere}
.player-heading p{color:#d1c4ca;margin:2px 0;font-size:.84rem;overflow-wrap:anywhere}
.player-heading>.avatar{width:54px;height:54px;border-radius:50%;flex:none}
.player-sections{display:grid;grid-template-columns:minmax(0,2fr) minmax(185px,1fr);gap:12px}
.player-sections>section:only-child{grid-column:1/-1}
.public-player .profile-match header{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.public-player .profile-match header h2{margin:0}
.player-hours{margin:0 0 9px;color:#d2c6cd;font-size:.85rem}
.player-periods{display:flex;flex-wrap:wrap;gap:5px}
.public-player .profile-match .player-periods a{margin:0;padding:4px 8px;color:#f8ebeb;background:#322a30;border-radius:6px;font-size:.79rem}
.public-player .profile-match .player-periods a[aria-current]{background:#563638;color:#fff5f2}
.player-clan-link{display:flex;align-items:center;gap:9px;margin:7px 0 13px}
.player-clan-link small{display:block;color:#cfc3c8}
.player-showcase .clan-card-tags{margin:0}

.project-frostfire .graffiti-empty{min-height:145px;background:#201e23}
.project-frostfire .graffiti-empty::after{right:16px;bottom:-1px;color:#f4a59c14;letter-spacing:-.035em}
.project-frostfire .graffiti-empty .board-empty{margin:0;max-width:48ch}
.video-page .media-stage{min-height:clamp(210px,51vw,540px)}
.video-page .media-slide{inset:8px 10%}
.video-page .media-tile{border-radius:13px;border-color:#614c51;background:#171418}
.video-page .media-tile:hover{border-color:#b57470}
.video-page .media-tile>img{object-fit:contain}
.video-page .media-play-mark{
  position:absolute;z-index:1;inset:50% auto auto 50%;transform:translate(-50%,-50%);
  display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#211d2be8;color:#f4e9ff;pointer-events:none;
}
.video-page .media-play-mark svg{width:25px;height:25px;fill:currentColor}
.video-page .media-tile:is(:hover,:focus-visible) .media-play-mark{background:#b18aeb;color:#221a30}
.video-page .media-controls button{width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#302b39;color:#efe6fa}
.video-page .media-controls button:hover{background:#493c59}
.news-page .media-tile{border-color:#55434c}
.publication-article .news-copy{max-width:66ch;margin:0 auto 22px;color:#eee6e8;font-size:1.02rem;line-height:1.75}
.news-copy .long-copy{white-space:pre-line;margin:0;overflow-wrap:anywhere}
.news-copy .long-copy+.long-copy{margin-top:1em}
.publication-article .article-reading>footer{border-color:#463a42}
#appearance .appearance-options{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:48px;gap:8px}
#appearance .choice{width:100%;min-height:48px;justify-content:flex-start;padding:7px 10px}
#appearance .appearance-check{display:grid;place-items:center;flex:0 0 15px;visibility:hidden}
#appearance .choice[aria-pressed=true] .appearance-check{visibility:visible}
@media(max-width:1050px){.project-frostfire .frost-brand-name{display:none}}

:is(.head,.notice-history,.player-hub,.rule-page,#appearance) :is(a,button,summary),
.notice-popover a,
.project-site :is(a,button,summary),.account-name,.rank-player,.roster-identity,
.notice-popover label,.player-choices label{
  -webkit-user-select:none;
  user-select:none;
}
.account-menu>div,.notice-popover,#appearance{
  border:0;
  background:#242428;
  box-shadow:0 12px 28px #0005;
}
.account-menu>div button.account-logout{color:#ff8985}
.account-menu>div button.account-logout:hover{background:#492d30}
.project-site .account-menu>summary{
  gap:8px;min-height:42px;padding:4px 10px 4px 4px;border-radius:24px;background:#252529;
}
.project-site .account-menu:is([open],:hover)>summary{background:#35343d}
.project-site .account-menu>summary .avatar{width:32px;height:32px;flex:none}
.project-site .account-menu .account-name{display:block;max-width:160px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.project-site .account-menu>div{min-width:210px;padding:6px;border-radius:14px}
.project-site .account-menu>div :is(a,button){min-height:39px;padding-inline:10px;border-radius:9px}
.notice-body a[data-unread-notice]{border:0}
.ranking-toolbar .ranking-picker>summary{
  min-height:50px;gap:10px;padding:6px 13px 6px 7px;background:#2b2a31;border:0;border-radius:12px;
}
.ranking-toolbar .ranking-picker[open]>summary,.ranking-toolbar .ranking-picker>summary:hover{background:#383440}
.ranking-toolbar .ranking-picker>summary .ranking-glyph{display:grid;place-items:center;width:35px;height:35px;border-radius:8px;background:#413750;color:#e0ccff;flex:none}
.ranking-glyph :is(svg,img){width:19px;height:19px;object-fit:contain}
.ranking-toolbar .ranking-picker summary strong{font-size:.88rem}
.ranking-toolbar .ranking-picker summary small{font-size:.7rem;color:#d0c6dc;margin-bottom:3px}
.ranking-toolbar .ranking-options{background:#27252e;border:0;border-radius:12px;box-shadow:0 14px 30px #0008}
.ranking-toolbar .ranking-options a{min-height:37px}
.ranking-toolbar .ranking-options a[aria-current=page]{background:#463858;color:#fff}
.ranking-options a>svg:last-child:not(:first-child){margin-left:auto;color:#debcff}
.ranking-toolbar .search,.ranking-toolbar .board-controls .button{min-height:44px;border-radius:10px}
.ranking-toolbar .board-controls .button{min-width:44px;background:#383042;color:#e5d1ff;border:0}
.ranking-toolbar .board-controls .button:hover{background:#4a3d59}
.project-frostfire :is(.contents,.clan-card,.ranking,.clan-workspace>details){border:0}
.project-frostfire :is(.clan-settings .button.primary,#new-clan .button.primary){background:#dedce5;border:0;color:#24232b}
.project-frostfire :is(.clan-settings .button.primary,#new-clan .button.primary):hover{background:#f3f0fa}
.choose-metrics .metric-choice:has(:checked){background:#45414e;border-color:transparent}
.metric-choice input:checked+.metric-box,.tag-switch input:checked+.switch-track{background:#74658d;border-color:transparent}
.project-frostfire :is(.social-link,.clan-workspace>details,.clan-social-editor,.choose-metrics,.tag-switch,.metric-choice){border-color:transparent}
#appearance .choice{border:0;background:#303035}
#appearance .choice[aria-pressed=true]{background:#42424a}
#appearance .appearance-swatch{border:0}
.player-hub{max-width:1050px;margin-inline:auto}
.player-banner{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding:clamp(22px,4vw,44px);border-radius:14px;
  min-height:clamp(185px,23vw,270px);align-content:flex-end;align-items:flex-end;
  color:#fff;background-color:#192222;
  position:relative;isolation:isolate;overflow:hidden;
}
.player-identity{display:flex;align-items:center;gap:16px;min-width:0}
.player-identity h1{margin:0;font-size:clamp(24px,4vw,38px);overflow-wrap:anywhere}
.player-identity p{margin:6px 0 0;color:#dddbe2}
.player-identity>.avatar{width:60px;height:60px;flex:none}
.player-identity img{width:100%;height:100%;object-fit:cover}
.player-nav{display:flex;flex-wrap:wrap;gap:5px;width:fit-content;max-width:100%;margin:16px 0;padding:5px;background:#252428;border-radius:26px}
.player-nav a{display:flex;align-items:center;gap:7px;min-height:42px;padding:6px 11px;border-radius:20px;color:var(--text)}
.player-nav a .ui-icon{width:21px;height:21px}
.player-nav a[aria-current]{background:#b4e8bb;color:#172b1d}
.player-nav a[aria-current]:hover{background:#c8efce}
.player-nav a>span{white-space:nowrap;font-size:.82rem}
.player-public-link{display:inline-flex;align-items:center;gap:7px}
.player-nav a:hover,.player-clan:hover{background:#38383f}
.player-hub .player-section{margin:14px 0 0;border:0;border-radius:12px;background:#222225;scroll-margin-top:95px}
.player-section h2{margin:0 0 12px}
.player-section h3{margin:18px 0 10px;font-size:1rem}
.player-section .muted{line-height:1.55}
.player-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin:12px 0}
.player-metrics>div{padding:12px;border-radius:8px;background:#2c2c31;min-width:0}
.player-metrics dt{color:#d4d1db}
.player-metrics dd{margin:4px 0 0;font-size:1.2rem;font-weight:700;font-variant-numeric:tabular-nums}
.player-visits{list-style:none;margin:0;padding:0}
.player-visits li{display:grid;grid-template-columns:1.2fr 1fr 1fr .55fr;gap:8px;padding:10px 0;border-top:1px solid #3b3b41}
.player-visits span{color:#d4d1db}
.player-form{display:grid;gap:9px}
.player-form button{justify-self:start}
.player-form textarea{width:100%;resize:vertical;background:#18181b;color:var(--text);border:1px solid #505057;border-radius:8px;padding:10px;font:inherit}
.player-form fieldset{min-width:0;border:0;padding:0;margin:0}
.player-form legend{margin-bottom:8px}
.player-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.player-choices label{display:flex;gap:7px;align-items:center;cursor:pointer;padding:8px;background:#303036;border-radius:6px}
.player-choices input{accent-color:var(--ice)}
.player-clan{display:flex;align-items:center;gap:10px;padding:10px;background:#2d2d32;border-radius:8px}
.player-clan img{object-fit:cover;border-radius:8px}
.player-clan small{display:block;margin-top:4px;color:#d1ced8}
.player-post,.player-clan-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.player-save-status{margin:10px 0}
@media(max-width:620px){
  .player-visits li{grid-template-columns:repeat(2,minmax(0,1fr))}
  #appearance .dialog-content{padding:16px}
}
@media(max-width:660px){
  .project-site .account-menu .account-name{max-width:clamp(60px,25vw,115px)}
  .project-frostfire .bar nav{gap:2px}
  .project-frostfire .bar nav a{min-height:32px;padding:5px 9px}
  .project-frostfire .bar nav a .ui-icon{display:none}
  .ranking-toolbar .ranking-picker>summary{gap:6px;padding-right:9px}
  .ranking-toolbar .ranking-options{max-width:calc(100vw - 50px)}
}
@media(max-width:640px){
  .clan-about,.player-sections{grid-template-columns:1fr}
  .video-page .media-slide{inset-inline:3%}
}
@media(max-width:380px){#appearance .choice{gap:5px;padding-inline:7px;font-size:.78rem}}
@media(prefers-reduced-motion:no-preference){
  .clan-workspace.enhanced>details[open],.ranking-picker[open] .ranking-options{animation:panel-enter 160ms var(--club-motion)}
  .clan-socials a,.clan-share button{transition:background-color 140ms ease,border-color 140ms ease}
}
@media(prefers-reduced-motion:reduce){.project-frostfire .bar nav a,.clan-settings-tabs>button,.switch-track::before{transition:none}}
@media(max-width:560px){
  .ranking-toolbar .board-controls{margin-left:0}
  .ranking-toolbar .search{max-width:none}
  .ranking-picker{min-width:0;flex:1}
  .ranking-periods{left:auto;right:0}
}

.ranking-toolbar .period-switch{
  display:inline-flex;align-items:stretch;gap:3px;padding:4px;max-width:100%;
  background:#1d1e22;border-radius:12px;
}
.project-frostfire .period-switch>a{padding:9px 12px;border-radius:8px;font-weight:650;white-space:nowrap;color:#cacbd0}
.project-frostfire .period-switch>a:hover{background:#35363d;color:#fff}
.project-frostfire .period-switch>a[aria-current]{background:#e1e2e5;color:#232428!important}
.project-frostfire .ranking-toolbar .board-controls .button{background:#34353b;color:#f0f0f3}
.project-frostfire .ranking-toolbar .board-controls .button:hover{background:#41424a}
.project-frostfire .ranking-page .leaderboard-table th[aria-sort] a{color:#f0f0f3;font-weight:750}
.project-frostfire .ranking-page .leaderboard-table .selected-metric{color:#f1f1f3;font-weight:750}
.leaderboard-table th a{white-space:nowrap;min-height:36px}
.leaderboard-table th a:hover{color:white}
.leaderboard-table table{border-spacing:0 5px;min-width:610px}
.leaderboard-table tbody tr{--rank-row:#25262a;background:var(--rank-row)}
.leaderboard-table tbody tr:nth-child(even){--rank-row:#28292e}
.leaderboard-table tbody tr:is(:hover,:focus-within){--rank-row:#303137}
.leaderboard-table tbody tr[data-rank="1"]{--rank-row:#303035}
.leaderboard-table tbody tr[data-rank="2"]{--rank-row:#2b2c30}
.leaderboard-table tbody tr[data-rank="3"]{--rank-row:#2b2c30}
.leaderboard-table tbody td{padding-block:7px;font-variant-numeric:tabular-nums}
.leaderboard-table tbody td:first-child{border-left-width:1px}
.leaderboard-table tbody td.selected-metric{background:#d2d3dd15}
.leaderboard-table .rank-badge{background:#13181b66;border-radius:7px}
.leaderboard-table .roster-identity{min-width:145px;color:#eef5f5}
.leaderboard-table .roster-identity .avatar{width:39px;height:39px}
.player-hub .player-banner .avatar{outline:3px solid #f2f9f4;box-shadow:0 4px 18px #0008;border-radius:50%;overflow:hidden}
.player-banner h1{font-weight:900;letter-spacing:-.035em;line-height:1.06;text-shadow:1px 3px 0 #102024}
.player-hub .player-metrics dt{display:flex;gap:7px;align-items:center;font-size:.86rem}
.player-hub .player-metrics dt :is(img,svg),.player-choices label>:is(img,svg){width:23px;height:23px;object-fit:contain;flex:none}
.player-choices{grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr))}
.player-choices input{margin-left:auto;accent-color:#97d8c6}
.player-choices label:has(:checked){background:#273a36;color:#dbfff2}
.player-hub .player-section{padding:clamp(16px,3vw,29px)}
.player-hub .player-section h2{letter-spacing:-.025em}
.player-hub .player-metrics>div{background:#202728;border-radius:10px;border-top:2px solid #405853}
.player-hub .player-metrics dd{font-size:clamp(1.3rem,2.4vw,1.8rem);line-height:1.25}
@media(min-width:900px){
  .player-section>.player-metrics:has(>div:nth-child(6)){grid-template-columns:repeat(5,minmax(0,1fr))}
}
.player-post-card{position:relative}
.player-post-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.player-post-heading h2{margin:0}
.player-post-heading .button{display:inline-flex;align-items:center;gap:7px}
.profile-post-editor{
  width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);
  padding:clamp(16px,4vw,25px);color:#ecf4f4;background:#242d31;border:0;border-radius:16px;
}
.profile-post-editor::backdrop{background:#101518c9}
.profile-post-editor>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}
.profile-post-editor h2{margin:0}
.profile-post-editor header .button{display:grid;place-items:center;padding:8px}
.profile-post-editor textarea{background:#171e21}
.profile-post-editor .player-form p{margin:0}
.publication-page .media-stage{min-height:clamp(310px,48vw,555px)}
.publication-page .media-slide{inset:8px 7%}
.publication-page .media-slide[data-position=prev]{transform:translateX(-45%) scale(.92);opacity:.48}
.publication-page .media-slide[data-position=next]{transform:translateX(45%) scale(.92);opacity:.48}
.publication-page .media-caption{max-width:65ch;padding-bottom:0}
.media-caption .publication-date{text-align:left;margin-bottom:9px}
.video-page .media-caption h2{margin:0;font-size:clamp(1rem,2.2vw,1.65rem)}
.publication-page .media-controls button{border-radius:50%;min-width:42px;min-height:42px;padding:0}
.news-index{max-width:86%;margin:0 auto 30px}
.news-index ul{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;padding:0}
.news-index a{display:flex;align-items:center;gap:12px;min-height:72px;padding:10px 13px;background:#262c30;border-radius:12px}
.news-index a:hover{background:#32424a}
.news-index a>span{flex:1;min-width:0;overflow-wrap:anywhere}
.news-index .publication-date{text-align:left;margin-top:4px}
.news-index-art{object-fit:cover;border-radius:7px;flex:none}
.news-index .ui-icon{flex:none}
@media(prefers-reduced-motion:no-preference){
  .profile-post-editor[open]{animation:160ms var(--club-motion) both panel-enter}
  .player-hub :is(.player-nav a,.player-clan,.player-metrics>div,.player-post-heading .button){transition:transform 140ms ease}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .player-hub :is(.player-nav a,.player-clan,.player-metrics>div,.player-post-heading .button):hover{transform:translateY(-2px)}
}
@media(max-width:620px){
  .ranking-toolbar .period-switch{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .project-frostfire .period-switch>a{text-align:center;padding:9px 2px;font-size:.8rem}
  .publication-page .media-slide{inset-inline:3%}
  .news-index{max-width:94%}
  .news-index ul{grid-template-columns:1fr}
}

.project-frostfire:has(.player-workspace) .account-menu>summary{background:#304a36;box-shadow:inset 0 0 0 1px #91d99d;color:#e6ffea}
.ranking-groups{display:flex;gap:5px;margin:0 0 8px;border-bottom:1px solid #3a3b41}
.ranking-groups a{display:flex;align-items:center;gap:7px;padding:10px 15px;color:#cbccd2;border-bottom:2px solid transparent}
.ranking-groups a:hover{background:#35363b}
.ranking-groups a[aria-current]{border-bottom-color:#e1e2e5;color:#f7f7fa}
.project-frostfire .roster-identity{display:flex;width:100%;padding:5px 8px;border-radius:9px;color:inherit}
.project-frostfire .roster-identity:is(:hover,:focus-visible){background:#34483e;color:#f1fff7;text-decoration:none}
.roster-identity .avatar{flex:none}
.project-frostfire .roster-identity .avatar:hover{border-color:var(--stroke)}
.roster-name{flex:1;min-width:0}
.roster-arrow{display:grid;place-items:center;width:15px;color:#a5bcaf;flex:none}
.roster-arrow svg{width:15px;height:15px}

.player-banner{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);
  align-items:center;align-content:stretch;gap:0;padding:0;min-height:226px;
  background:#202226;
}
.profile-banner-info{display:grid;justify-items:start;gap:20px;padding:clamp(18px,4vw,40px);min-width:0}
.player-banner .player-public-link{
  min-height:42px;padding:8px 12px;background:#e5e8eb;color:#1b1e22;border:0;
}
.player-banner .player-public-link:hover{background:#fff;color:#191b1f}
.player-public-link svg{flex:none;width:16px;height:16px}
.profile-art{
  position:relative;isolation:isolate;display:grid;place-items:center;align-self:stretch;
  min-height:208px;padding:28px 22px;
  background:radial-gradient(ellipse at 60% 46%,#464957,#272930 54%,#222428 82%);
}
.profile-banner-title{
  position:relative;color:#f2f2f5;font-family:var(--display);font-size:clamp(25px,5.3vw,66px);
  font-weight:800;line-height:1.05;letter-spacing:-.035em;text-shadow:0 3px 12px #0009;
}
.profile-cubes{position:absolute;inset:0;pointer-events:none;perspective:640px;z-index:-1}
.profile-cube{
  position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);
  transform-style:preserve-3d;transform:rotateX(-27deg) rotateY(var(--angle)) rotateZ(-13deg);
}
.profile-cube:nth-child(1){--size:58px;--x:12%;--y:23%;--angle:-32deg;--phase:-4s}
.profile-cube:nth-child(2){--size:70px;--x:77%;--y:49%;--angle:32deg;--phase:-8s}
.profile-cube:nth-child(3){--size:28px;--x:66%;--y:16%;--angle:70deg;--phase:-6s}
.profile-cube:nth-child(4){--size:34px;--x:30%;--y:73%;--angle:-55deg;--phase:-2s}
.profile-cube i{
  position:absolute;inset:0;border:1px solid #e9eefa42;
  backface-visibility:hidden;
  --depth:calc(var(--size) / 2);
}
.profile-cube i:nth-child(1){transform:translateZ(var(--depth));background:linear-gradient(145deg,#acbdc9,#657a8c)}
.profile-cube i:nth-child(2){transform:rotateY(180deg) translateZ(var(--depth));background:#56697a}
.profile-cube i:nth-child(3){transform:rotateY(90deg) translateZ(var(--depth));background:#506179}
.profile-cube i:nth-child(4){transform:rotateY(-90deg) translateZ(var(--depth));background:#8493a3}
.profile-cube i:nth-child(5){transform:rotateX(90deg) translateZ(var(--depth));background:#bac6cf}
.profile-cube i:nth-child(6){transform:rotateX(-90deg) translateZ(var(--depth));background:#445164}
.profile-motion{
  position:absolute;right:10px;bottom:10px;width:34px;height:34px;
  place-items:center;border:0;border-radius:8px;background:#20232b;color:#f0f1f6;
}
.profile-motion:not([hidden]){display:grid}
.profile-motion:hover{background:#363b48}
.profile-motion span{display:grid;place-items:center}
.profile-motion[aria-pressed=true] .profile-motion-play,.profile-motion[aria-pressed=false] .profile-motion-pause{display:none}
@keyframes profile-flight{
  0%{transform:translate3d(0,0,0) rotateX(-27deg) rotateY(var(--angle)) rotateZ(-13deg)}
  25%{transform:translate3d(5px,-10px,15px) rotateX(-5deg) rotateY(calc(var(--angle) + 90deg)) rotateZ(5deg)}
  50%{transform:translate3d(11px,0,6px) rotateX(19deg) rotateY(calc(var(--angle) + 180deg)) rotateZ(16deg)}
  75%{transform:translate3d(-7px,8px,-12px) rotateX(-9deg) rotateY(calc(var(--angle) + 270deg)) rotateZ(0deg)}
  100%{transform:translate3d(0,0,0) rotateX(-27deg) rotateY(calc(var(--angle) + 360deg)) rotateZ(-13deg)}
}
@media(prefers-reduced-motion:no-preference){
  .profile-art:has(.profile-motion:not([hidden])) .profile-cube{animation:profile-flight 14s linear var(--phase) infinite}
  .profile-art:has(.profile-motion[aria-pressed=false]) .profile-cube{animation-play-state:paused}
}
@media(prefers-reduced-motion:reduce){.profile-art .profile-motion{display:none}}
.player-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px}
.player-workspace>*{min-width:0;grid-column:1/-1}
.player-workspace .player-nav,.player-workspace .player-section,.player-workspace .player-save-status{margin:0}
.player-workspace #information{grid-column:1}
.player-workspace #player-post{grid-column:2}
.player-history,.player-showcase-editor{margin-top:12px;border-top:1px solid #414942}
.player-history summary,.player-showcase-editor summary{
  width:fit-content;padding:11px 0;color:#c7e6d0;font-weight:650;cursor:pointer;
}
.player-history .player-visits li{grid-template-columns:repeat(2,minmax(0,1fr))}
.player-post-card .player-post{max-width:68ch}
.player-workspace #private-stats .clan-stat-tiles>div{background:#262f29;border:0}
@media(max-width:620px){
  .player-workspace #information,.player-workspace #player-post{grid-column:1/-1}
  .player-nav{border-radius:13px}
  .player-nav a{min-height:36px;padding-inline:8px}
  .leaderboard-table table{min-width:560px}
  .leaderboard-table tr>:nth-child(1){position:sticky;left:0;z-index:2;width:49px;padding-inline:4px}
  .leaderboard-table tr>:nth-child(2){position:sticky;left:49px;z-index:2}
  .leaderboard-table thead tr>:nth-child(-n+2){background:#222}
  .leaderboard-table tbody tr>:nth-child(-n+2){background:var(--rank-row)}
  .leaderboard-table .roster-identity{min-width:118px}
}

.project-frostfire .leaderboard-table .roster-identity:is(:hover,:focus-visible){
  background:#42434a;color:#fff;
}
.leaderboard-table .roster-arrow{color:#bec0ca}
.leaderboard-table .rank-badge{color:#e2e3e7}

.clan-role{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#d5d9e2}
.clan-role svg{width:15px;height:15px;flex:none;color:#aeb7cb}
.clan-role[data-role=leader] svg{color:#ebc780}
.clan-role[data-role=deputy] svg{color:#c5d3e9}
.clan-role[data-role=moderator] svg{color:#a5c5b8}
.clan-cover-rank{background:transparent;padding:0}
.clan-cover-rank .clan-place,.clan-card-rank>.clan-place{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;gap:5px;padding:5px 8px;
  border-radius:7px;color:#eff0f3;background:#31333b;white-space:nowrap;font-size:.77rem;
}
.clan-place .ui-icon{width:14px;height:14px}
.clan-cover-rank .clan-place[data-place="1"],.clan-card-rank>.clan-place[data-place="1"]{color:#ffe1a7;background:#493a25}
.clan-cover-rank .clan-place[data-place="2"],.clan-card-rank>.clan-place[data-place="2"]{color:#e3ebfa;background:#374150}
.clan-cover-rank .clan-place[data-place="3"],.clan-card-rank>.clan-place[data-place="3"]{color:#ffd2b0;background:#49362e}
.clan-place::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(112deg,transparent 32%,#fff2 51%,transparent 72%);
  transform:translateX(-110%);
}
@media(prefers-reduced-motion:no-preference){
  .clan-place::after{animation:place-shine 3.4s ease-out 2}
  .clan-place[data-place="2"]::after{animation-delay:.4s}
  .clan-place[data-place="3"]::after{animation-delay:.8s}
}
@keyframes place-shine{37%,100%{transform:translateX(110%)}}

.player-preview{
  position:fixed;z-index:90;width:min(294px,calc(100vw - 16px));
  padding:13px;color:#f5f5f8;background:#292b32;border-radius:12px;
  box-shadow:0 12px 26px #0008;
}
.player-preview-content header{display:flex;align-items:center;gap:9px;overflow-wrap:anywhere}
.player-preview-content small{display:block;margin-top:4px;color:#c8cad4}
.player-preview-content dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0 0}
.player-preview-content dl div{padding-top:8px;border-top:1px solid #494c56}
.player-preview-content dt{display:flex;align-items:center;gap:3px;color:#d9dbe2;font-size:.72rem}
.player-preview-content dt :is(svg,img){object-fit:contain;width:17px;height:17px;flex:none}
.player-preview-content dd{margin:4px 0 0;font-weight:700;font-variant-numeric:tabular-nums}
.player-preview-content p{
  overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  margin:10px 0 0;font-size:.8rem;color:#d5d7df;overflow-wrap:anywhere;
}

.player-hub .player-section{padding:clamp(14px,2vw,21px)}
.player-hub .player-metrics{gap:6px;margin-block:8px;grid-template-columns:repeat(auto-fit,minmax(min(118px,100%),1fr))}
.player-hub .player-metrics>div{padding:8px 9px;border:0;border-radius:7px;background:#292b31}
.player-hub .player-metrics dd{margin:2px 0 0;font-size:1.28rem}
.player-hub .player-metrics dt :is(img,svg){width:18px;height:18px}
.player-history summary,.player-showcase-editor summary{color:#e0e1e7}
.player-nav a[aria-current]{background:#e1e2e5;color:#232428}
.player-nav a[aria-current]:hover{background:#f1f1f4}
.player-form textarea{background:#1b1c21;border:1px solid #666873;border-radius:8px;padding:11px;line-height:1.5}
.player-form textarea:focus-visible{outline:2px solid #babfce;outline-offset:2px}
.player-choices label:has(:checked){background:#393c47;color:#f0f1f7}
.player-choices input{accent-color:#d4d7e2}
.showcase-empty{padding:8px 0;color:#cfd1da}
.showcase-empty strong{display:inline-block;padding:3px 7px;background:#393b46;border-radius:5px;color:#ebedf5;font-size:.8rem}
.showcase-empty p{margin:6px 0 0}
@media(min-width:900px){
  .player-section>.player-metrics:has(>div:nth-child(6)){grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:620px){
  .player-hub .player-metrics{grid-template-columns:repeat(auto-fit,minmax(min(93px,100%),1fr))}
}

.player-post-card .player-post{
  margin:14px 0 0;font-size:.94rem;line-height:1.7;color:#ececf1;
}
.player-post-date,.player-post-empty{color:#bdbfc9}
.player-post-date{display:block;margin-top:4px;font-size:.77rem}
.player-post-empty{margin:14px 0 0}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .storefront-promo .gamestores-link .ui-icon:last-child,
  .player-banner .player-public-link .ui-icon{transition:translate 150ms var(--club-motion)}
  .storefront-promo .gamestores-link:hover .ui-icon:last-child{translate:2px -2px}
  .player-banner .player-public-link:hover .ui-icon{translate:3px 0}
}

@media(max-width:620px){
  .player-banner{grid-template-columns:minmax(0,1fr)}
  .profile-banner-info{padding:18px;gap:14px}
  .player-banner .player-public-link{justify-content:space-between;width:100%}
  .profile-art{min-height:136px;padding:24px}
  .profile-banner-title{font-size:clamp(29px,8vw,42px)}
  .profile-cube:nth-child(1){--size:33px;--x:12%}
  .profile-cube:nth-child(2){--size:43px;--x:76%;--y:42%}
  .profile-cube:nth-child(3){--size:18px}
  .profile-cube:nth-child(4){--size:20px}
}

[data-profile-theme=frost]{--profile-tone:#d3e0eb;--profile-light:#485a6e;--profile-deep:#242d39}
[data-profile-theme=ember]{--profile-tone:#f5c4a1;--profile-light:#764937;--profile-deep:#372822}
[data-profile-theme=night]{--profile-tone:#e0d0f8;--profile-light:#594c79;--profile-deep:#302940}
[data-profile-theme=moss]{--profile-tone:#c9e7cf;--profile-light:#466957;--profile-deep:#26362e}
.player-hub .player-banner{
  background:linear-gradient(105deg,#222428,var(--profile-deep,#202226));
}
.player-hub .profile-art,.profile-appearance-preview .profile-art{
  background:radial-gradient(ellipse at 60% 46%,var(--profile-light),var(--profile-deep) 78%);
}
.profile-art .profile-banner-title{color:var(--profile-tone,#f2f2f5)}
.profile-art .profile-cube i:first-child{background:linear-gradient(140deg,var(--profile-tone),var(--profile-light))}
.profile-art .profile-cube i:nth-child(5){background:var(--profile-tone)}
.profile-art .profile-cube i:nth-child(2n){background:var(--profile-light)}
.profile-art-upload{overflow:hidden}
.profile-art-upload::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,var(--profile-deep),transparent 24%);
}
.profile-art>img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
}
.profile-art[data-banner-position=top]>img{object-position:center top}
.profile-art[data-banner-position=bottom]>img{object-position:center bottom}
.profile-appearance-preview :is(img,strong)[hidden]{display:none}
.profile-banner-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.profile-banner-actions a{display:inline-flex;align-items:center;gap:6px;min-height:42px}
.profile-banner-actions .button.secondary{background:#25292f;color:#edf0f5;border-color:#5d646e}
.profile-banner-actions .button.secondary:hover{background:#343b45}
.profile-bio{margin:0;max-width:48ch;color:#e0e3eb;overflow-wrap:anywhere;line-height:1.5}
.player-preview .profile-preview-bio{color:#eceef4}
.player-public-page .player-clan{background:var(--profile-deep);color:var(--profile-tone)}
.player-public-page .player-clan:hover{background:var(--profile-light);color:#fff}
.player-public-page .player-section .player-metrics dd{color:var(--profile-tone)}
.profile-appearance [data-profile-appearance]{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:14px 22px}
.profile-appearance-fields{display:grid;align-content:start;gap:10px;min-width:0}
.profile-appearance-fields label:not(.profile-appearance-remove){display:grid;gap:5px}
.profile-appearance-fields input:is([type=text],[type=file]),.profile-appearance-fields select{
  width:100%;min-width:0;min-height:42px;padding:6px 9px;
  background:#1d1f24;color:#f2f2f5;border:1px solid #565b66;border-radius:7px;font:inherit;
}
.profile-appearance-fields input::file-selector-button{
  padding:5px 8px;margin-right:8px;border:0;border-radius:5px;background:#3b424e;color:#f2f2f7;font:inherit;
}
.profile-appearance-fields :is(input,select):focus-visible{outline:2px solid #d3e2fa;outline-offset:2px}
.profile-appearance-fields small,.profile-appearance-preview>span{color:#c8cad3}
.profile-theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.profile-appearance-fields .profile-theme-options label{
  display:flex;align-items:center;gap:6px;min-height:37px;padding:5px 7px;background:#2d3038;border-radius:7px;cursor:pointer;
}
.profile-theme-options label:has(:checked){box-shadow:inset 0 0 0 1px var(--profile-tone)}
.profile-theme-options label i{width:12px;height:12px;flex:none;border-radius:50%;background:var(--profile-tone)}
.profile-appearance-remove{display:flex;align-items:center;gap:6px}
.profile-appearance-feedback,.profile-appearance-status{margin:0;color:#d8e4fa}
.profile-appearance-status{margin-bottom:10px}
.profile-appearance-preview{min-width:0}
.profile-appearance-preview .profile-art{
  min-height:0;aspect-ratio:2.25;margin-top:7px;border-radius:12px;overflow:hidden;
}
.profile-appearance-preview .profile-banner-title{font-size:clamp(23px,4vw,39px)}
@media(max-width:660px){
  .profile-appearance [data-profile-appearance]{grid-template-columns:minmax(0,1fr)}
  .profile-banner-actions .player-public-link{width:auto}
}
@media(max-width:620px){
  .profile-art-upload::after{background:linear-gradient(180deg,var(--profile-deep),transparent 27%)}
}

.player-banner:has(.profile-art-upload){
  position:relative;display:flex;align-items:flex-end;min-height:clamp(245px,28vw,320px);
}
.player-banner .profile-art-upload{
  position:absolute;inset:0;z-index:-1;
}
.player-banner .profile-art-upload::after{
  background:linear-gradient(90deg,#12151bed,transparent 81%),linear-gradient(0deg,#12151be8,transparent 79%);
}
.player-banner-info{gap:12px}
.player-banner:has(.profile-art-upload) .profile-banner-info{width:min(100%,650px)}
.player-banner-info .player-identity{align-items:center}
.profile-banner-actions button{display:inline-flex;align-items:center;gap:7px;min-height:42px}
.profile-banner-actions button[data-copied]{background:#34453b;color:#e8f3e8}

.player-public-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:14px}
.player-public-layout .player-section{margin:0;min-width:0}
.player-public-layout.has-clan{
  grid-template-columns:minmax(0,1.85fr) minmax(225px,1fr);align-items:start;
}
.player-public-post{grid-column:1}
.player-public-clan{grid-column:2;grid-row:1 / span 2}
.player-public-post .player-post-heading{align-items:baseline}
.player-public-post .player-post-date{margin:0}
.player-public-showcase .player-metrics{
  margin-bottom:0;grid-template-columns:repeat(auto-fit,minmax(min(127px,100%),1fr));
}
.player-public-layout.has-clan .player-public-showcase .player-metrics{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.player-public-showcase .player-metrics>div{
  padding:10px 11px;background:#292b31;
}
.player-public-showcase .player-metrics dd{font-size:clamp(1.2rem,2.3vw,1.65rem)}
.player-public-clan .player-clan>span{flex:1;min-width:0;overflow-wrap:anywhere}
.player-public-clan .player-clan>.ui-icon:last-child{flex:none;width:16px}
.player-public-clan .player-clan small{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.player-public-clan .player-clan-description{margin-bottom:0;color:#d4d5dd}
.player-workspace .profile-appearance{
  padding:0;background:#24262b;border-radius:12px;
}
.profile-appearance summary{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:13px clamp(14px,2vw,22px);list-style:none;cursor:pointer;
}
.profile-appearance summary::-webkit-details-marker{display:none}
.profile-appearance summary:hover{background:#2e3037;border-radius:12px}
.profile-appearance[open] summary>.ui-icon{rotate:180deg}
.profile-editor-title{display:flex;align-items:center;gap:8px;font-weight:700}
.profile-editor-title svg{color:var(--profile-tone)}
.profile-appearance .profile-appearance-status{padding:0 clamp(14px,2vw,22px)}
.profile-appearance [data-profile-appearance]{padding:0 clamp(14px,2vw,22px) 18px}
.profile-appearance-preview .profile-art{
  display:block;width:100%;aspect-ratio:3.15;min-height:124px;padding:0;
}
.profile-appearance-preview .profile-art:has(img:not([hidden]))::after{
  content:"";position:absolute;inset:0;background:linear-gradient(95deg,#12151be8,transparent 82%);
}
.profile-appearance-preview .profile-banner-title{
  position:absolute;right:11px;top:10px;font-size:clamp(15px,2vw,28px);
}
.profile-preview-identity{
  position:absolute;z-index:1;inset:auto 12px 12px;
  display:flex;align-items:center;gap:8px;color:#fff;overflow-wrap:anywhere;
}
.profile-preview-identity .avatar{flex:none}
.profile-preview-identity p{margin:2px 0 0;color:#e5e7ed;font-size:.77rem;line-height:1.3}
.profile-preview-identity p:empty{display:none}
@media(max-width:740px){
  .player-public-layout.has-clan{grid-template-columns:minmax(0,1fr)}
  .player-public-clan{grid-column:1;grid-row:auto}
}
@media(max-width:620px){
  .player-banner:has(.profile-art-upload){min-height:224px}
  .player-banner .profile-art-upload::after{background:linear-gradient(0deg,#12151bf2 10%,#12151b33)}
  .player-public-layout.has-clan .player-public-showcase .player-metrics{
    grid-template-columns:repeat(auto-fit,minmax(min(100px,100%),1fr));
  }
}
.site-breadcrumbs{margin:0 0 13px}
.site-breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 8px;margin:0;padding:0;list-style:none;font-size:.8rem;color:#bdbfc9}
.site-breadcrumbs li{min-width:0;overflow-wrap:anywhere}
.site-breadcrumbs li:not(:first-child)::before{content:"/";margin-right:8px;color:#898b98}
.site-breadcrumbs a:hover,.site-related a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.site-breadcrumbs [aria-current]{color:#e7e7ed}
.site-related{display:flex;flex-wrap:wrap;gap:7px 16px;margin:18px 0;color:#d5d7df}
.site-related a{display:inline-flex;align-items:center;gap:7px;min-height:36px}
.site-related svg{width:16px;height:16px}
.faq-page{max-width:820px}
.faq-page .page-heading p{margin:7px 0 0;color:#d4d5dd}
.faq-list{margin:18px 0 16px;border-block:1px solid #494b54}
.faq-list details+details{border-top:1px solid #40424a}
.faq-list summary{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  min-height:48px;padding:10px 12px;list-style:none;font-weight:700;cursor:pointer;
}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:is(:hover,:focus-visible){background:#2d2e35}
.faq-list summary svg{flex:none;width:16px;height:16px}
.faq-list details[open] summary svg{transform:rotate(180deg)}
.faq-list p{max-width:67ch;margin:0;padding:2px 12px 14px;color:#d0d2dc;line-height:1.6}
.faq-list p a{color:#ddd1ff;text-decoration:underline;text-underline-offset:3px}
.frost-missing{
  display:grid;grid-template-columns:minmax(0,.6fr) minmax(0,1fr);align-items:center;gap:clamp(14px,4vw,48px);
  min-height:320px;padding:clamp(20px,5vw,53px);border-radius:16px;background:#22242b;
}
.frost-missing-code{margin:0;color:#d4d1e9;font:780 clamp(60px,12vw,142px)/.9 var(--display);letter-spacing:-.04em}
.frost-missing h1{font-size:clamp(25px,4vw,43px);line-height:1.13;text-wrap:balance}
.frost-missing h1+p{margin:12px 0 16px;color:#d8d9e4}
.frost-missing-actions{display:flex;flex-wrap:wrap;gap:8px}
.frost-missing-actions a{display:inline-flex;align-items:center;gap:5px;min-height:42px}
@media(max-width:650px){.frost-missing{grid-template-columns:minmax(0,1fr);align-content:center;min-height:280px}}

/* Frostfire page grid: align the navigation, storefront and footer to the viewport. */
body.project-site.project-frostfire > main.wrap,
body.project-site.project-frostfire > .head > .bar.wrap,
body.project-site.project-frostfire > footer.site-footer.wrap {
  box-sizing: border-box;
  width: calc(100% - 24px);
  max-width: none;
  margin-inline: auto;
}
@media (max-width: 600px) {
  body.project-site.project-frostfire > main.wrap,
  body.project-site.project-frostfire > .head > .bar.wrap,
  body.project-site.project-frostfire > footer.site-footer.wrap {
    width: calc(100% - 16px);
  }
}

/* Keep the footer in document flow and use spare height above it. */
body.project-site.project-frostfire {
  display:flex;
  flex-direction:column;
  min-height:100vh;
  min-height:100dvh;
}
body.project-frostfire > main.wrap { flex:1 0 auto; }
body.project-frostfire > footer.site-footer.wrap { flex:none; margin-block:12px 0; }
.project-frostfire > .site-ticker { margin-top:12px; padding-top:0; }
.project-frostfire > .site-ticker span { font-size:clamp(20px,3vw,40px); }
.project-frostfire .site-footer .footer-inner { padding-block:10px; gap:4px 16px; }
.project-frostfire:has(.ff-sketchbook) .site-footer .footer-inner { padding-block:14px; }
.project-frostfire:has(.ff-sketchbook) .site-footer .footer-name { font-size:clamp(20px,2vw,28px); }
@media(max-width:540px){
  .project-frostfire .site-footer .footer-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; }
  .project-frostfire .site-footer .legal-links { order:1; flex-basis:100%; justify-content:flex-start; }
  .project-frostfire .site-footer .legal-links a { min-height:28px; }
}