#appearance.style-studio {
  border: 1px solid #3d454a;
  background: #202427;
  color: #f2f5f6;
}
.style-heading p { margin: 4px 0 0; color: #b8c1c6; font-size: .82rem; }
.style-studio .style-heading-icon { background: #30383e; color: #cedfe8; }
.style-studio .style-group legend { color: #e7eced; }
.style-studio :is(.style-palettes, .style-frames) button {
  background: #2a3033;
  color: #f2f5f6;
}
.style-studio :is(.style-palettes, .style-frames) button:is(:hover, [aria-pressed="true"]) {
  background: #384348;
}
.style-studio :is(.style-palettes, .style-frames) button[aria-pressed="true"] { border-color: #a5becb; }
.style-studio .style-selected { color: #e9f3f8; }
.style-studio .style-footer { border-top: 1px solid #394145; padding-top: 14px; }

.aim-project { min-height: 330px; }
.aim-project::before { background: linear-gradient(90deg, #171b1af5, #171b1ab5 52%, #17201f60); }
.aim-hero-copy { position: relative; z-index: 1; }
.aim-range {
  position: absolute;
  display: grid;
  place-items: center;
  right: clamp(24px, 7vw, 110px);
  width: clamp(130px, 24vw, 285px);
  aspect-ratio: 1;
  border: 1px solid #d2f4d842;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.8%, #d2f4d830 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, #d2f4d830 50%, transparent 50.2%);
  pointer-events: none;
}
.aim-range::before, .aim-range::after, .aim-range span {
  position: absolute;
  content: "";
  border: 1px solid #d2f4d85a;
  border-radius: 50%;
}
.aim-range::before { inset: 14%; }
.aim-range::after { inset: 29%; }
.aim-range span { width: 7px; height: 7px; background: #c5f0ce; box-shadow: 0 0 18px #c5f0ce; }
.aim-training { border-left: 3px solid #8dad95; }
.aim-training p { margin-bottom: 0; }
.frost-profile {
  --profile-surface: #212121;
  --profile-divider: #393939;
  --profile-muted: #bbb9bc;
  --profile-inset: clamp(14px, 2.4vw, 26px);
  display: grid;
  gap: 16px;
}
.frost-profile-intro .profile-cover > span {
  font-size: clamp(34px, 10vw, 128px);
  letter-spacing: -.04em;
  pointer-events: none;
}
.frost-profile-customize {
  position: absolute;
  inset: 11px 11px auto auto;
}
.frost-profile :is(a, button).button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
}
.frost-profile .button.secondary {
  background: #2a2a2a;
  border-color: var(--profile-divider);
  color: #f0eff1;
}
.frost-profile .button.secondary:is(:hover,[data-copied]) { background: #393939; }
.frost-profile :is(a,button,summary,input):focus-visible {
  outline: 2px solid #ddd;
  outline-offset: 3px;
}
.frost-profile-identity {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  margin-top: -29px;
  padding: 0 var(--profile-inset) 0;
}
.frost-profile-person {
  display: flex;
  align-items: center;
  gap: clamp(9px,2vw,15px);
  min-width: 0;
  padding: 10px clamp(11px,2vw,17px);
  border: 1px solid #49454a;
  border-radius: 12px;
  background: #242328;
}
.frost-profile-avatar { flex: none; }
.frost-profile-name { min-width: 0; }
.frost-profile-avatar .avatar {
  width: clamp(48px,7vw,77px);
  height: clamp(48px,7vw,77px);
  border: 3px solid #151515;
  cursor: default;
}
.frost-profile-intro:not([data-profile-theme="frost"]) .frost-profile-avatar .avatar {
  box-shadow: 0 0 0 2px var(--profile-tone);
}
.frost-profile-avatar .ui-icon { width: 36px; height: 36px; }
.frost-profile-name h1 {
  margin: 0;
  font-size: clamp(21px, 3vw, 35px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.frost-profile-clan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--profile-muted);
  text-underline-offset: 3px;
}
.frost-profile-clan:hover { color: #f5f4f5; }

.frost-profile .frost-profile-section {
  margin: 0;
  padding: var(--profile-inset);
  border: 1px solid var(--profile-divider);
  border-radius: 14px;
  background: var(--profile-surface);
  scroll-margin-top: 95px;
}
.frost-profile-section h2 {
  margin: 0 0 15px;
  font-size: clamp(17px, 2.4vw, 23px);
  line-height: 1.25;
}
.frost-profile-stats .clan-stat-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.frost-profile-stats .clan-stat-groups h3 { font-size: .84rem; color: var(--profile-muted); }
.frost-profile :is(.clan-stat-tiles,.frost-profile-metrics) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 116px), 1fr));
  margin: 0;
  gap: 0;
  border-top: 1px solid var(--profile-divider);
}
.frost-profile .clan-stat-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (min-width: 800px) {
  .frost-profile #showcase .frost-profile-metrics { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
.frost-profile :is(.clan-stat-tiles,.frost-profile-metrics) > div {
  min-width: 0;
  padding: 10px 6px 4px;
  background: none;
  border: 0;
  border-radius: 0;
}
.frost-profile :is(.clan-stat-tiles,.frost-profile-metrics) dt {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 19px;
  font-size: .78rem;
  color: var(--profile-muted);
}
.frost-profile :is(.clan-stat-tiles,.frost-profile-metrics) dd {
  margin: 4px 0 0;
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.frost-profile :is(dt, .player-choices) :is(img,svg) {
  flex: none;
  width: 16px;
  height: 16px;
  object-fit: contain;
  color: var(--profile-muted);
}
.frost-profile .frost-profile-metrics > div { padding-bottom: 10px; }
.profile-no-data { color: var(--profile-muted); font-size: .87rem; font-weight: 500; }
.frost-profile :is(.profile-empty,.board-empty) { margin: 0; color: var(--profile-muted); }
.profile-feedback { margin: 8px 0; color: #e8e7e9; }
.frost-profile-history { margin-top: 11px; border-top: 1px solid var(--profile-divider); }
.frost-profile-history summary { padding: 10px 0 0; cursor: pointer; font-weight: 650; }
.frost-profile-history[open] summary { padding-bottom: 12px; }
.frost-profile-history .player-visits li { grid-template-columns: 1fr 1.15fr auto; align-items: center; font-size: .86rem; }
.frost-profile .player-choices { grid-template-columns: repeat(auto-fit,minmax(min(100%,135px),1fr)); }
.frost-profile .player-choices label { background: #2b2b2b; }
.frost-profile .player-choices input { margin-left: auto; accent-color: #d9d9d9; }

.frost-profile-settings > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}
.frost-profile-settings > summary::-webkit-details-marker { display: none; }
.frost-profile-settings > summary .ui-icon:last-child { margin-left: auto; }
.frost-profile-settings[open] > summary .ui-icon:last-child { rotate: 180deg; }
.frost-profile-setting-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 14px;
  padding-top: 15px;
  border-top: 1px solid var(--profile-divider);
}
.frost-profile-setting-grid .player-form { align-content: start; }
.frost-profile-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.frost-profile-frames label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px;
  border: 1px solid var(--profile-divider);
  border-radius: 7px;
  cursor: pointer;
}
.frost-profile-frames label:has(:checked) { border-color: #aaa; background: #2d2d2d; }
.frost-profile-frames label > span { width: 8px; height: 8px; border-radius: 50%; background: var(--profile-tone); }
.frost-profile-frames input { accent-color: #ddd; }

@media (max-width: 960px) {
  .frost-profile-stats .clan-stat-groups { grid-template-columns: minmax(0,1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .frost-profile-identity { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: -21px; }
  .frost-profile-person { border-radius: 10px; }
  .frost-profile-setting-grid { grid-template-columns: minmax(0, 1fr); }
  .frost-profile .clan-stat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 9px; }
  .frost-profile-history .player-visits li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .aim-project { min-height: 260px; }
  .aim-range { right: -38px; opacity: .52; }
}
@media (prefers-reduced-motion: no-preference) {
  .style-studio :is(.style-palettes, .style-frames) button { transition: background-color 150ms, border-color 150ms; }
}

/* Player statistics */
body.project-site.project-frostfire:has(.frost-dossier) {background:#090a13;color:#eef0f7}
body.project-site.project-frostfire:has(.frost-dossier)>main.wrap {width:calc(100% - 40px);max-width:1584px}
.frost-dossier {
  --line:#252631; --panel:#171822; --surface:#10111b; --muted:#adb1c3; --subtle:#858ba5;
  --blue:#547dff; --green:#85d14f; --gold:#ffcc31;
  --profile-surface:var(--panel);--profile-divider:var(--line);--profile-muted:var(--muted);
  display:grid;grid-template-columns:clamp(212px,17.5vw,280px) minmax(0,1fr);gap:22px;
  align-items:start;margin:10px auto 36px;font-family:Inter,Arial,sans-serif;font-variant-numeric:tabular-nums; color:#f7f8fc;
}
.frost-dossier :is(h2,h3,dt){font-family:inherit}
.stat-sidebar,.dossier-workspace,.stat-main,.stat-side,.stat-chart-area {min-width:0}
.frost-dossier .frost-profile-intro {position:relative;background:#12131d;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.frost-dossier .frost-profile-intro[data-profile-cover] .profile-cover {
  position:absolute;inset:0 0 auto;height:102px;min-height:0;margin:0;border:0;border-radius:0;
  background:linear-gradient(110deg,var(--cover-color),#12131d 74%);opacity:.6;
}
.frost-dossier .profile-cover[data-vip-banner-cover] {opacity:1}
.frost-dossier .frost-profile-identity {display:block;margin:0;padding:0}
.frost-dossier .frost-profile-person {position:relative;min-height:102px;display:flex;align-items:center;gap:12px;padding:10px 13px;background:none;border:0;border-radius:0}
.frost-dossier .frost-profile-avatar .avatar {width:78px;height:78px;border:0;border-radius:8px}
.frost-dossier .frost-profile-name h1 {font-size:18px;line-height:1.2;letter-spacing:-.02em}
.frost-dossier .frost-profile-clan {font-size:11px}
.frost-dossier .frost-profile-actions {display:flex;gap:7px;align-items:center;padding:7px 12px;border-top:1px solid var(--line);background:#0f1019}
.frost-dossier .frost-profile-actions .button {display:grid;place-items:center;min-height:30px;min-width:30px;padding:5px;border:1px solid var(--line);border-radius:6px;background:#181923}
.frost-dossier .frost-profile-actions [data-open-profile-style] {margin-left:auto}
.stat-rail {margin-top:15px;font-size:11px}
.stat-rail header {display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}
.stat-rail h2,.stat-rail header a,.stat-rail dt,.stat-rail thead,.stat-sheet h3,.stat-chart-nav h3,.stat-lines dt {text-transform:uppercase;letter-spacing:.035em}
.stat-rail h2,.stat-rail header a {margin:0;font-size:10px;font-weight:750}
.stat-rail header a,.stat-rail dt,.stat-rail thead {color:var(--subtle)}
.rail-summary {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:11px;background:#11121d;border:1px solid var(--line);border-radius:7px;margin:0}
.stat-rail dt,.stat-rail thead {font-size:9px;font-weight:700}
.rail-summary dd {margin:7px 0 0;font-size:clamp(17px,1.7vw,25px);font-weight:800}
.stat-rail b {display:inline-block;max-width:100%;padding:2px 5px 2px 10px;color:#ffdd42;font-size:clamp(10px,1vw,14px);font-style:italic;overflow-wrap:anywhere;background:linear-gradient(102deg,#ffcf2999 0 4%,transparent 4% 7%,#ffcf296b 7% 11%,#4c4018 11%,#252319 100%)}
.stat-rail table {width:100%;border-collapse:collapse;border-bottom:1px solid var(--line)}
.stat-rail :is(th,td){padding:6px 4px;text-align:right}
.stat-rail th:first-child {text-align:left}
.stat-rail table b {font-size:11px}
.dossier-workspace {background:#0d0e17;border:1px solid var(--line);border-radius:14px;overflow:visible}
.stat-toolbar,.dossier-tabs {display:flex;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:12px 14px;gap:8px}
.stat-game,.stat-menu summary,.stat-chart-nav span,.stat-chart-nav a {display:flex;align-items:center;gap:8px;padding:6px 9px;border:1px solid #30313d;border-radius:6px;background:var(--panel);font-size:12px;font-weight:650}
.stat-game .ui-icon,.stat-menu .ui-icon {width:14px;height:14px}
.stat-menu {position:relative}
.stat-menu summary {cursor:pointer;list-style:none}
.stat-menu summary::-webkit-details-marker {display:none}
.stat-menu nav {position:absolute;z-index:4;min-width:148px;top:calc(100% + 4px);display:grid;padding:4px;background:#191b29;border:1px solid #353748;border-radius:6px}
.stat-menu nav a {padding:8px;border-radius:4px}
.stat-menu nav a:is(:hover,[aria-current]) {background:#2b3045}
.dossier-tabs {padding:0 14px;gap:clamp(10px,1.65vw,28px);background:linear-gradient(#12131e,#0e0f19)}
.dossier-tabs a {padding:14px 1px 12px;border-bottom:2px solid transparent;color:#989db3;font-size:10px;font-weight:760;letter-spacing:.055em;text-transform:uppercase}
.project-frostfire .dossier-tabs a[aria-current="page"] {color:#fff!important;border-bottom-color:var(--blue);background:radial-gradient(ellipse at bottom,#5278ff22,transparent 55%)}
.dossier-tabs a:hover,.stat-rail a:hover {color:white}
.stat-overview {display:grid;grid-template-columns:minmax(0,2.05fr) minmax(0,1fr);gap:14px;padding:15px}
.stat-main,.stat-side,.stat-category {display:grid;gap:14px;align-content:start}
.stat-top {display:flex;gap:14px}
.stat-circles {display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:14px;flex:1.4;min-width:0}
.stat-top>.stat-sheet {flex:.86}
.stat-sheet {min-width:0;padding:clamp(10px,1vw,16px);border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.stat-sheet h3,.stat-chart-nav h3 {margin:0 0 12px;font-size:11px;font-weight:780;color:#f1f2f8}
.stat-gauge {display:flex;flex-direction:column;min-height:clamp(182px,16.6vw,282px)}
.stat-ring {display:grid;place-items:center;width:94%;max-width:200px;aspect-ratio:1;margin:auto;box-sizing:border-box;border:4px solid var(--green);border-radius:50%}
.stat-ring strong {max-width:91%;font-size:clamp(18px,2.9vw,50px);line-height:1.1;letter-spacing:-.055em;overflow-wrap:anywhere}
.stat-percent {margin:24px 0 16px;font-size:clamp(20px,2vw,32px);font-weight:750}
.stat-percent small {font-size:14px;font-weight:450;color:var(--muted)}
.stat-duel {display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:16px;border-top:1px solid var(--line)}
.stat-duel>div {display:grid;justify-items:start;gap:4px}
.stat-duel .ui-icon {box-sizing:content-box;padding:6px;border-radius:50%;width:16px;height:16px;background:#263456;color:#88a7ff}
.stat-duel span,.stat-recent time {color:var(--muted);font-size:10px}
.stat-bottom,.stat-category {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(138px,100%),1fr));gap:12px}
.stat-bottom:empty,.stat-side:empty {display:none}
.stat-overview:has(.stat-side:empty){grid-template-columns:1fr}
.stat-headline {display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0 22px}
.stat-headline :is(img,svg){width:26px;height:26px;object-fit:contain;color:#b2b6cb}
.stat-headline strong {font-size:clamp(17px,1.8vw,30px);letter-spacing:-.04em;overflow-wrap:anywhere}
.stat-headline:after {content:"";width:5px;height:5px;border-radius:50%;background:#ffb73a;align-self:end}
.stat-lines,.stat-bars {margin:0}
.stat-lines>div,.stat-bars>div {display:flex;align-items:baseline;justify-content:space-between;gap:4px;padding:9px 0;border-top:1px solid var(--line)}
.stat-lines dt,.stat-bars dt,.stat-bars dd,.stat-lines dd {margin:0;font-size:11px;font-weight:650}
.stat-lines dt {color:#c3c7d8;font-size:10px}
.stat-lines dd {text-align:right}
.stat-bars>div {display:grid;grid-template-columns:1fr auto;gap:2px;border:0;padding:5px 0}
.stat-bars dt,.stat-member {display:flex;align-items:center;gap:7px}
.stat-bars img,.stat-bars svg,.stat-recent :is(img,svg){width:18px;height:18px;object-fit:contain}
.stat-bar {grid-column:1/-1}
.stat-bars meter {background:#343647;display:block;width:100%;height:3px;border:0;appearance:none}
.stat-bars meter::-webkit-meter-bar {background:#343647;border:0;border-radius:0;height:3px}
.stat-bars meter::-webkit-meter-optimum-value {background:var(--blue)}
.stat-bars meter::-moz-meter-bar {background:var(--blue)}
.stat-recent {display:flex;gap:4px;justify-content:space-around;margin:6px 0 0;padding:0;list-style:none}
.stat-recent li {min-width:0;display:grid;justify-items:center;gap:7px;text-align:center;font-size:11px}
.stat-recent time {font-size:9px}
.stat-recent svg {color:#8eabff}
.stat-resource-sheet {background:linear-gradient(90deg,#141620ed,#161824eb),url('/assets/rust-frontier.jpg') center / cover}
.stat-member .avatar {height:28px;width:28px}
.dossier-content,.dossier-workspace>.frost-profile-section,.dossier-workspace>#achievements {margin:14px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.dossier-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.dossier-content h2 {font-size:17px;margin:0 0 15px}
.dossier-empty {color:var(--muted);padding:24px 8px}
.stat-chart-layout {margin:14px 8px;padding:12px;display:grid;grid-template-columns:minmax(130px,17%) minmax(0,1fr);gap:20px;border:1px solid var(--line);border-radius:10px}
.stat-chart-nav {padding-right:12px;border-right:1px solid var(--line)}
.stat-chart-nav h3 {font-size:10px;margin:16px 0 8px;color:var(--subtle)}
.stat-chart-nav h3:first-child {margin-top:0}
.stat-chart-nav a,.stat-chart-nav span {margin:4px 0;font-size:11px;color:#b0b4c9}
.stat-chart-nav a:before {content:"";width:7px;height:7px;background:#383b50;border-radius:2px}
.stat-chart-nav a[aria-current] {color:#fff;background:#252633}
.stat-chart-nav a[aria-current]:before {background:var(--blue)}
.stat-chart-area {align-self:center}
.dossier-chart {display:block;width:100%;height:auto}
.dossier-chart text {fill:#999fb7;text-anchor:end;font:10px Inter,Arial,sans-serif}
.dossier-grid-line {stroke:#222433}
.stat-chart-tick {stroke:#383b4d;stroke-dasharray:3 4}
.dossier-chart-fill {fill:#546da020}
.dossier-chart-line {fill:none;stroke:#ffca27;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.dossier-chart circle {fill:#ffca27;stroke:#2d2817}
.dossier-chart-dates {display:flex;justify-content:space-between;margin:2px 10% 10px 2%;font-size:10px;color:var(--subtle)}
.dossier-chart-data summary {cursor:pointer;font-size:12px;color:var(--muted);padding:7px 0}
.dossier-table-scroll {min-width:0;max-width:100%;overflow:auto}
.dossier-table {width:100%;border-collapse:collapse;font-size:13px}
.dossier-table :is(td,th) {padding:10px 12px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
.dossier-table th:first-child {text-align:left}
.dossier-table thead {background:#1a1b26;color:var(--muted);font-size:10px;text-transform:uppercase}
.dossier-table small {margin-left:6px;color:#a6d474}
@media(max-width:1190px) {
 .frost-dossier {grid-template-columns:200px minmax(0,1fr);gap:12px}
 .stat-overview {grid-template-columns:minmax(0,1.9fr) minmax(184px,1fr);padding:10px;gap:8px}
 .stat-top,.stat-circles,.stat-side,.stat-bottom {gap:8px}
 .stat-headline {margin:12px 0}
 .stat-bottom {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:940px) {
 .stat-overview {grid-template-columns:1fr}
 .stat-side {grid-template-columns:repeat(auto-fit,minmax(min(155px,100%),1fr))}
 .stat-bottom {grid-template-columns:repeat(auto-fit,minmax(min(120px,100%),1fr))}
}
@media(max-width:740px) {
 body.project-site.project-frostfire:has(.frost-dossier)>main.wrap {width:calc(100% - 16px)}
 .frost-dossier {grid-template-columns:minmax(0,1fr);gap:12px}
 .stat-sidebar {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .stat-rail {margin:0}
 .stat-rail table {display:none}
 .stat-chart-layout {gap:8px;grid-template-columns:minmax(96px,23%) minmax(0,1fr);padding:8px}
 .dossier-tabs {gap:4px 14px}
 .dossier-tabs a {padding-block:9px}
}
@media(max-width:500px) {
 .stat-sidebar {grid-template-columns:1fr}
 .stat-rail header {margin-top:4px}
 .rail-summary {padding:7px 10px}
 .rail-summary dd {margin:2px 0}
 .stat-top {flex-wrap:wrap}
 .stat-circles {flex:1 1 100%}
 .stat-gauge {min-height:165px}
 .stat-ring {max-width:112px}
 .stat-ring strong {font-size:28px}
 .stat-percent {margin:6px 0}
 .stat-duel {display:flex;gap:22px;padding-top:8px}
 .stat-duel>div {display:flex;align-items:center;gap:5px}
 .stat-chart-layout {grid-template-columns:1fr}
 .stat-chart-nav {display:flex;flex-wrap:wrap;align-items:center;gap:4px;border:0;padding:0}
 .stat-chart-nav h3,.stat-chart-nav span {display:none}
 .stat-chart-nav a {margin:0}
 .stat-chart-nav a:before {display:none}
}
.stat-side-pairs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stat-side-pairs .stat-sheet {padding:clamp(9px,.85vw,14px)}
.stat-side-pairs .stat-sheet h3 {font-size:11px}
.stat-side-pairs .stat-resource-sheet:nth-child(2) {background-image:linear-gradient(90deg,#141620e8,#161824dc),url('/assets/rust-arctic.jpg')}
.stat-side-pairs .stat-resource-sheet:nth-child(2) meter::-webkit-meter-optimum-value {background:#83c759}
.stat-side-pairs .stat-bars dt {font-size:10px}
.stat-duel-pie {width:30px;height:30px;border-radius:50%;background:#2b3049;transform:rotate(-90deg)}
.stat-duel-pie circle {stroke:#547dff;stroke-width:20;fill:none}
.stat-ring strong {font-weight:550}
.stat-sidebar .avatar img {border-radius:6px}
@media(min-width:741px) and (max-width:940px){.stat-side {grid-template-columns:1fr}.stat-side-pairs {grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}
@media(max-width:740px){.stat-side {grid-template-columns:1fr}}

body.project-site.project-frostfire:has(.frost-dossier) {background:linear-gradient(180deg,#090b13c9,#090a13f5 680px),url('/assets/rust-frontier.jpg') top center / 100% auto no-repeat #090a13}
.frost-dossier .frost-profile-person[data-vip-sleeve] {background:linear-gradient(110deg,#161821,var(--vip-wash))}
.dossier-tabs {gap:2px 14px}
.dossier-tabs a,.profile-jump,.stat-rail header a {display:inline-flex;align-items:center;gap:5px}
.profile-glyph {display:grid;place-items:center;color:#a4b4dd}
.profile-glyph :is(svg,.service-mark),.stat-rail header a svg,.profile-jump svg {width:15px;height:15px}
.dossier-tabs [aria-current] .profile-glyph {color:#bacaef}
.profile-jump,.stat-rail header a {padding:6px 9px;border:1px solid #373d50;border-radius:6px;background:#202431;color:#d5deef;font-size:11px;text-decoration:none}
.plot-heading h2 {margin:0;font-size:18px}.plot-heading span,.profile-event time {font-size:12px;color:#a6b4ce}
.plot-heading {margin:8px 0 12px}
.dossier-chart text {font-size:13px}
.dossier-table tbody th small {padding:2px 6px;border-radius:4px;background:#232d24;font-size:10px}
.clan-profile-head,.profile-event header {display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between}
.clan-profile-head {justify-content:start;margin-bottom:16px}.clan-profile-head .profile-jump {margin-left:auto}
.clan-profile-head h2,.profile-event h3 {margin:0 0 4px}
.profile-event {background:#191c28;border:1px solid #31384b;border-radius:9px;margin-top:12px;padding:14px}
.profile-event h3 {font-size:17px}.profile-event small {color:#c1dca9}
.event-numbers {display:flex;flex-wrap:wrap;gap:12px 24px;margin:0}.event-numbers dt {font-size:11px;color:#b9bfd0}.event-numbers dd {margin:3px 0;font-weight:bold}
.standings-nav {display:flex;flex-wrap:wrap;gap:16px;margin:18px 0}.standings-nav [aria-current]{font-weight:700}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine) {
 .profile-glyph,.head nav :is(a,summary)>svg:first-child {transition:transform 150ms ease}
 .dossier-tabs a:hover .profile-glyph,.head nav :is(a,summary):hover>svg:first-child {transform:translateY(-1px) rotate(-5deg)}
}

.frost-profile .award-showcase,
.award-showcase[data-clan-awards] {
  background: radial-gradient(ellipse at 10% 0, #322935 0, transparent 32rem), #1c1c1f;
  border-color: #303035;
  scroll-margin-top: 96px;
}

.award-showcase[data-clan-awards] {
  background: radial-gradient(ellipse at 10% 0, #382f26 0, transparent 32rem), #1c1c1f;
}
.clan-trophy-link { display: inline-flex; align-items: center; gap: 6px; }
.clan-card-trophies { display: inline-flex; align-items: center; gap: 4px; color: #edcd99; font-size: .76rem; white-space: nowrap; }
.clan-card-trophies .ui-icon { width: 14px; height: 14px; }
.award-team-note { margin: 0 0 8px; color: #d0c5b5; font-size: .8rem; }

.award-header,
.award-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.award-header {
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 13px;
  margin-bottom: 8px;
  border-bottom: 1px solid #37363b;
}

.award-heading {
  min-width: 0;
}

.award-heading .award-insignia {
  width: 46px;
  margin-inline-start: -3px;
}

.award-showcase .award-header h2 {
  margin: 0;
  text-wrap: balance;
}

.award-collection {
  display: grid;
  justify-items: end;
  gap: 6px;
  color: #c4c1c9;
  font-size: .84rem;
  font-variant-numeric: tabular-nums;
}

.award-count strong {
  color: #fff1ed;
  font-size: 1.12rem;
  font-weight: 750;
}

.frost-profile .award-cabinet,
.award-cabinet[data-clan-awards] { padding: 0; overflow: hidden; }
.award-cabinet > .award-header,
.clan-featured-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.award-cabinet > .award-header {
  margin: 0;
  padding: 8px clamp(10px,2.5vw,22px);
  min-height: 59px;
  flex-wrap: nowrap;
  border-bottom: 0;
  list-style: none;
  cursor: pointer;
}
.award-cabinet > summary::-webkit-details-marker { display: none; }
.award-cabinet > summary:is(:hover,:focus-visible) { background: #ffffff08; }
.frost-profile .award-cabinet > summary:focus-visible,
.award-cabinet > summary:focus-visible { outline-offset: -3px; }
.award-cabinet[open] > .award-header,
.award-cabinet-public > .award-header { border-bottom: 1px solid #3d363f; }
.award-cabinet-public > .award-header { cursor: default; }
.award-cabinet-body { padding: 13px clamp(10px,2.5vw,22px) 16px; }
.award-heading-title {
  font-family: Unbounded, Inter, sans-serif;
  font-size: clamp(.84rem,2.3vw,1.18rem);
  font-weight: 720;
  line-height: 1.24;
}
.award-cabinet .award-count { margin-left: auto; }
.award-cabinet-arrow { display: grid; flex: none; color: #bfb5c7; }
.award-cabinet-arrow svg { width: 17px; height: 17px; }
.award-cabinet[open] .award-cabinet-arrow { transform: rotate(180deg); }
.award-wreath-decor {
  position: absolute;
  width: 122px;
  height: 122px;
  inset-inline-end: 7%;
  inset-block-start: 50%;
  transform: translateY(-43%) rotate(-17deg);
  z-index: -1;
  opacity: .11;
  color: #ddbbec;
  pointer-events: none;
}
[data-clan-awards] .award-wreath-decor,
.clan-featured-heading .award-wreath-decor { color: #ffe0a0; }
.clan-featured-trophies {
  border-color: #514433;
  background: radial-gradient(ellipse at 6% 0,#392f28,transparent 72%), #242225;
  scroll-margin-top: 92px;
}
.clan-featured-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 13px;
  padding-bottom: 6px;
  border-bottom: 1px solid #4d423b;
}
.clan-featured-heading .award-heading h2 { margin: 0; }
.clan-featured-trophies .award-team-note { margin-block: 8px 0; }
.clan-trophy-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}
.clan-featured-trophies .clan-trophy-gallery {
  grid-template-columns: repeat(auto-fit,minmax(min(100%,155px),1fr));
  align-items: stretch;
}
.clan-trophy-gallery .award-card {
  border-color: color-mix(in srgb,var(--award-rim) 39%,#403631);
  background: radial-gradient(ellipse at 50% 12%,var(--award-face),transparent 75%), #252126;
}
.clan-trophy-face { display: flex; align-items: center; gap: 8px; min-width: 0; }
.clan-trophy-gallery .clan-trophy-face {
  flex-direction: column;
  justify-content: center;
  min-height: 139px;
  padding: 9px 8px 12px;
  text-align: center;
}
.clan-trophy-gallery .award-insignia { width: 73px; }
.clan-trophy-gallery .award-rarity { justify-self: center; }
.clan-trophy-gallery strong { text-wrap: balance; }

.clan-trophy-dialog {
  width: min(830px,calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #66564d;
  border-radius: 15px;
  background: #242025;
  color: #f5edf0;
}
.clan-trophy-dialog::backdrop { background: #130f17ad; }
.clan-trophy-dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  padding: 10px clamp(10px,3vw,18px);
  border-bottom: 1px solid #473d46;
}
.clan-trophy-dialog-heading h2 { margin: 0; font-size: clamp(.96rem,2.5vw,1.25rem); }
.clan-trophy-dialog-heading button { min-width: 42px; min-height: 42px; padding: 0; }
.clan-trophy-workspace {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
  align-items: start;
  gap: 13px;
  padding: 14px clamp(10px,3vw,18px);
}
.clan-trophy-form fieldset { min-width: 0; padding: 0; border: 0; }
.clan-trophy-form legend { margin-bottom: 8px; color: #e5d5ca; font-size: .86rem; font-weight: 680; }
.clan-trophy-choices { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,160px),1fr)); gap: 7px; }
.clan-trophy-choice {
  position: relative;
  min-height: 65px;
  padding: 6px 21px 6px 4px;
  cursor: pointer;
}
.clan-trophy-choice .clan-trophy-face { min-height: 50px; }
.clan-trophy-dialog .award-insignia { width: 44px; }
.clan-trophy-dialog .award-copy strong { font-size: .79rem; }
.clan-trophy-choice:has(:checked) {
  border-color: color-mix(in srgb,var(--rarity-ink) 58%,#483945);
  background: color-mix(in srgb,var(--rarity-surface) 62%,#282329);
}
.clan-trophy-choice:has(:focus-visible) { outline: 2px solid #f4d7ac; outline-offset: 2px; }
.clan-trophy-choice:not(:has(:disabled)):hover { border-color: #d2ae91; }
.clan-trophy-choice:has(:disabled) { opacity: .58; cursor: default; }
.clan-trophy-mark {
  position: absolute;
  inset: 6px 6px auto auto;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid #978290;
  border-radius: 4px;
  color: #211820;
}
.clan-trophy-mark svg { width: 10px; height: 10px; opacity: 0; }
.clan-trophy-choice:has(:checked) .clan-trophy-mark { background: var(--rarity-ink); border-color: transparent; }
.clan-trophy-choice:has(:checked) .clan-trophy-mark svg { opacity: 1; }
.clan-trophy-live { padding: 8px; border: 1px solid #4f4249; border-radius: 9px; background: #201b22; }
.clan-trophy-live h3 { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 0 8px; font-size: .85rem; }
.clan-trophy-live output { color: #f1d4bb; white-space: nowrap; }
.clan-trophy-slots { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.clan-trophy-slots li {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  min-height: 57px;
  gap: 3px;
  padding: 3px 5px;
}
.clan-trophy-slots li:not([data-rarity]) { border-style: dashed; }
.clan-trophy-empty { padding: 5px 4px; color: #ad9ea9; font-size: .75rem; }
.clan-trophy-dialog [data-trophy-remove]:not([hidden]) {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #62535d;
  border-radius: 5px;
  background: #332a33;
  color: #eedce7;
}
.clan-trophy-dialog [data-trophy-remove] svg { width: 14px; height: 14px; }
.clan-trophy-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px clamp(10px,3vw,18px);
  border-top: 1px solid #473d46;
}
.clan-trophy-submit span { color: #d0c3cb; font-size: .78rem; }
@media (max-width:570px) {
  .clan-trophy-workspace { grid-template-columns: minmax(0,1fr); }
  .clan-trophy-slots { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .clan-trophy-slots .award-insignia { width: 27px; }
  .clan-trophy-slots .award-rarity { white-space: normal; }
  .clan-trophy-dialog [data-trophy-remove]:not([hidden]) { width: 27px; }
}

.award-evolution-section { margin: 0 0 17px; }
.award-evolution-section h3 { margin: 0 0 8px; font-size: .97rem; }
.award-evolutions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.award-evolution { scroll-margin-top: 92px; }
.award-evolution .award-insignia { width: 50px; }
.award-unearned { color: #b7b1bd; font-size: .72rem; }
.award-evolution-rail {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 4px;
  padding: 0;
  margin: 6px 0 9px;
  list-style: none;
}
.award-evolution-rail li {
  height: 5px;
  border-radius: 2px;
  background: var(--rarity-surface);
}
.award-evolution-rail li[data-earned] { background: var(--rarity-ink); }
.award-evolution-rail li[aria-current] { box-shadow: 0 0 0 1px #24202a,0 0 0 2px var(--rarity-ink); }
.award-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.award-evolution-progress { margin-bottom: 9px; }
.award-evolution-progress p { margin: 0; color: #dcd0e8; font-size: .81rem; }
.award-evolution-progress .award-progress-list { margin-top: 4px; }
.award-evolution-progress .award-completed { color: #cef1d8; }
.award-levels { margin-top: auto; border-top: 1px solid #ffffff19; }
.award-levels summary { padding: 7px 2px 3px; color: #ded7e6; font-size: .79rem; cursor: pointer; }
.award-levels summary span { padding-inline-start: 4px; color: #bcb0c6; font-variant-numeric: tabular-nums; }
.award-levels ol { display: grid; gap: 2px; padding: 0; margin: 6px 0 0; list-style: none; }
.award-levels li {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.8fr) 15px;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 5px;
  color: var(--rarity-ink);
  font-size: .78rem;
}
.award-levels li[aria-current] { background: var(--rarity-surface); }
.award-levels li strong {
  color: #f3edf7;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  text-align: right;
}
.award-level-check { display: grid; place-items: center; }
.award-level-check .ui-icon { width: 14px; height: 14px; }
@media (max-width: 680px) {
  .award-evolutions { grid-template-columns: minmax(0,1fr); }
}

.award-collection progress {
  appearance: none;
  width: clamp(56px, 10vw, 95px);
  height: 3px;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: #484049;
  color: #f29b9c;
}

.award-collection progress::-webkit-progress-bar { background: #484049; }
.award-collection progress::-webkit-progress-value { background: #f29b9c; }
.award-collection progress::-moz-progress-bar { background: #f29b9c; }

.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
  gap: 8px 11px;
  align-items: start;
  padding: 0;
  margin: 0;
  list-style: none;
}

.award-card {
  min-width: 0;
  border: 1px solid #3a3740;
  border-radius: 10px;
  background: #232227;
}

.award-tile > summary,
.award-display {
  display: flex;
  align-items: center;
  min-height: 68px;
  gap: 8px;
  padding: 6px 9px 6px 6px;
  list-style: none;
  border-radius: 9px;
}
.award-tile > summary { cursor: pointer; }
.award-display .award-insignia { width: 54px; }
.award-cabinet-public .award-display {
  background: radial-gradient(ellipse at 3% 50%,color-mix(in srgb,var(--award-face) 36%,transparent),transparent 75%);
}
.award-tile > summary::-webkit-details-marker { display: none; }
.award-tile > summary:is(:hover,:focus-visible) { background: #ffffff08; }
.award-tile[open] > summary { border-radius: 9px 9px 0 0; }
.award-copy strong { overflow-wrap: anywhere; }
.award-chevron { display: grid; flex: none; margin-left: auto; color: #bbb2c4; }
.award-chevron .ui-icon { width: 15px; height: 15px; }
.award-tile[open] .award-chevron { transform: rotate(180deg); }

.award-insignia {
  position: relative;
  flex: none;
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--award-light, #ebe7df);
  isolation: isolate;
}

.award-insignia > svg {
  display: block;
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 3px 3px #100c11a6);
}

.award-outline {
  fill: var(--award-shadow, #252527);
  stroke: var(--award-rim, #929198);
  stroke-width: 1.6px;
  stroke-linejoin: round;
}

.award-inlay {
  fill: var(--award-face, #37373d);
  stroke: var(--award-rim, #929198);
  stroke-width: 1.1px;
  stroke-linejoin: round;
  transform-box: view-box;
  transform-origin: center;
  transform: scale(.82);
}

.award-facet {
  fill: currentColor;
  opacity: .075;
}

.award-glyph {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.award-laurel {
  display: none;
  color: var(--award-rim, #929198);
}

.award-insignia[data-wreath] .award-laurel {
  display: inline;
}

.award-rank {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 4%;
  min-width: 19px;
  padding: 0 3px;
  transform: translateX(-50%);
  border: 1px solid var(--award-rim);
  border-radius: 4px;
  background: var(--award-shadow);
  color: var(--award-light);
  font-size: .65rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  text-align: center;
}

:where(.award-card, .award-toast-card, .award-heading)[data-tone="ivory"] {
  --award-light: #f4f0e9;
  --award-rim: #a5a3aa;
  --award-face: #42434b;
  --award-shadow: #29292d;
}
:where(.award-card, .award-toast-card)[data-tone="crimson"] {
  --award-light: #ffc2c0;
  --award-rim: #dc6a71;
  --award-face: #65303b;
  --award-shadow: #392027;
}
:where(.award-card, .award-toast-card)[data-tone="rose"] {
  --award-light: #f6d4df;
  --award-rim: #bd8ba1;
  --award-face: #583a4c;
  --award-shadow: #342430;
}
:where(.award-card, .award-toast-card)[data-tone="ice"] {
  --award-light: #d3eaf9;
  --award-rim: #7da7c8;
  --award-face: #344b64;
  --award-shadow: #232f41;
}
:where(.award-card, .award-toast-card)[data-tone="silver"] {
  --award-light: #f1f6fc;
  --award-rim: #b8c7d8;
  --award-face: #435464;
  --award-shadow: #2a3440;
}
:where(.award-card, .award-toast-card, .award-heading)[data-tone="gold"] {
  --award-light: #ffe3ad;
  --award-rim: #cca56c;
  --award-face: #62492f;
  --award-shadow: #392d23;
}
:where(.award-card, .award-toast-card)[data-tone="bronze"] {
  --award-light: #f7c9af;
  --award-rim: #c08667;
  --award-face: #624034;
  --award-shadow: #35251f;
}
:where(.award-card, .award-toast-card)[data-tone="sage"] {
  --award-light: #d2ead3;
  --award-rim: #88b49a;
  --award-face: #354f42;
  --award-shadow: #25352d;
}
:where(.award-card, .award-toast-card)[data-tone="prism"] {
  --award-light: #f7e8ff;
  --award-rim: #c999e9;
  --award-face: #413252;
  --award-shadow: #2d203b;
}

[data-rarity="common"] { --rarity-ink: #cecdd6; --rarity-surface: #34343c; }
[data-rarity="uncommon"] { --rarity-ink: #afe2c7; --rarity-surface: #283c33; }
[data-rarity="rare"] { --rarity-ink: #b8d9f7; --rarity-surface: #253a51; }
[data-rarity="epic"] { --rarity-ink: #dfc6fb; --rarity-surface: #3a2b51; }
[data-rarity="legendary"] { --rarity-ink: #ffe0a0; --rarity-surface: #4d3923; }
[data-rarity="mythic"] { --rarity-ink: #f8d7fd; --rarity-surface: #503354; }

.award-card[data-rarity="mythic"]:not([data-locked]) {
  border-color: #614a6e;
  background: linear-gradient(106deg, #392941 0%, #28232d 69%);
}
.award-card[data-rarity="legendary"]:not([data-locked]) {
  border-color: #6a5338;
  background: linear-gradient(106deg, #372d23, #262328 70%);
}
.award-card[data-rarity="epic"]:not([data-locked]) { border-color: #514761; }

:is(.award-card:not([data-locked]), .award-toast-card)[data-rarity="mythic"] .award-insignia::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  content: "";
  border-radius: 50%;
  background: conic-gradient(from -30deg, #79dbfd, #b195ff, #f6a1cd, #ffcc8d, #91efc8, #79dbfd);
  mask: radial-gradient(closest-side, transparent 78%, #000b 85%, #000 90%, transparent 99%);
  pointer-events: none;
}

.award-card[data-locked] {
  --award-light: #c5c4cd;
  --award-rim: #74727e;
  --award-face: #3a3942;
  --award-shadow: #24232b;
}

.award-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.award-copy strong {
  color: #f5f3f5;
  font-size: .94rem;
  line-height: 1.28;
  text-wrap: balance;
}

.award-copy > span {
  color: #c1bdc8;
  font-size: .8rem;
  line-height: 1.4;
}

.award-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.award-preview-note {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-inline-start: 2px solid #bba8d4;
  background: #2e2636;
  color: #e8dff3;
  font-size: .82rem;
}
.award-test-label { color: #ded5e3; font-size: .67rem; }
.award-card[data-test-award] { border-style: dashed; }
.award-detail {
  padding: 9px 11px 12px;
  border-top: 1px solid #ffffff1d;
  color: #d7d2dc;
}
.award-detail p { margin: 0; font-size: .82rem; }
.award-detail :is(.award-completed,.award-progress-scope) { margin-top: 7px; }
.award-completed { color: #b8e4c8; }
.award-progress-scope { color: #c0afcd; }
.award-progress-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}
.award-progress-list li { display: grid; gap: 2px; min-width: 0; }
.award-progress-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 7px; font-size: .78rem; }
.award-progress-head span { font-variant-numeric: tabular-nums; }
.award-progress-list progress {
  width: 100%;
  height: 6px;
  color: var(--rarity-ink);
  accent-color: var(--rarity-ink);
}
.award-progress-list small { color: #dbcbe9; font-size: .75rem; }

.award-rarity {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 2px 6px 2px 5px;
  border: 1px solid color-mix(in srgb,var(--rarity-ink, #cecdd6) 38%,transparent);
  border-radius: 5px;
  background: color-mix(in srgb,var(--rarity-surface, #34343c) 71%,transparent);
  color: var(--rarity-ink, #cecdd6);
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}

.award-rarity::before {
  flex: none;
  width: 5px;
  height: 5px;
  background: currentColor;
  transform: rotate(45deg);
  content: "";
}
.award-card[data-rarity="mythic"] .award-rarity::before,
.award-toast-card[data-rarity="mythic"] .award-rarity::before {
  background: linear-gradient(145deg,#8ddcf5,#f6bded 58%,#ffe2b6);
}

.award-toast-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
}

.award-showcase .profile-empty {
  padding-block: 12px;
}

.award-details {
  margin-top: 10px;
}

.award-details > summary {
  display: list-item;
  min-height: 42px;
  padding: 10px 2px;
  color: #e4e1e8;
  cursor: pointer;
}

.award-details > summary span {
  margin-inline-start: 6px;
  color: #bdb9c5;
  font-variant-numeric: tabular-nums;
}

.award-details h3 {
  margin: 14px 0 0;
  font-size: .9rem;
}

.award-details .award-grid + h3 {
  margin-top: 20px;
}

.award-toast {
  position: fixed;
  z-index: 80;
  inset-inline: 0;
  bottom: max(20px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  padding-inline: 12px;
  pointer-events: none;
}

.award-toast-card:not([hidden]) {
  position: relative;
  isolation: isolate;
  display: flex;
  width: min(100%, 480px);
  min-height: 82px;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  padding: 8px 14px 9px 9px;
  border: 1px solid color-mix(in srgb, var(--award-rim) 53%, #242126);
  border-radius: 15px;
  background: radial-gradient(ellipse at 5% 55%, var(--award-shadow), transparent 69%), #232025;
  box-shadow: 0 12px 34px #09070bbb;
  pointer-events: auto;
  transition: transform 180ms cubic-bezier(.23, 1, .32, 1), opacity 180ms cubic-bezier(.23, 1, .32, 1);
}

.award-toast-emblem .award-insignia {
  width: 70px;
}

.award-toast-card .award-copy {
  flex: 1;
}

.award-toast-card .award-copy > span {
  color: var(--award-light);
  opacity: .95;
}

.award-toast-card .award-copy strong {
  font-family: Unbounded, Inter, sans-serif;
  font-size: clamp(.77rem, 2.9vw, 1rem);
  font-weight: 650;
  line-height: 1.35;
}

.award-toast-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding-inline: 10px;
  border-radius: 8px;
  background: #ffffff0d;
  color: #f6f0f3;
  font-size: .76rem;
  font-weight: 650;
  white-space: nowrap;
}

.award-toast-link:focus-visible {
  outline: 2px solid var(--award-light);
  outline-offset: 2px;
}
.award-toast-link:hover { background: #ffffff18; }
.award-toast-link .ui-icon { width: 13px; height: 13px; }

.award-toast-timer {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  transform-origin: left center;
  background: var(--award-rim);
  opacity: .75;
}

.award-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.award-toast-card[data-exit] {
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  @starting-style {
    .award-toast-card:not([hidden]) {
      transform: translateY(12px);
      opacity: 0;
    }
  }

  .award-toast-card:not([hidden]) .award-toast-timer {
    animation: award-countdown 5s linear both;
  }

  :is(.award-card:not([data-locked]), .award-toast-card:not([hidden]))[data-rarity="mythic"] .award-insignia::before {
    animation: award-prism 3.6s linear;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .award-card[data-rarity="mythic"]:not([data-locked]):hover .award-insignia::before {
    animation-iteration-count: infinite;
  }
}

@keyframes award-prism { to { transform: rotate(1turn); } }

@keyframes award-countdown {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 570px) {
  .award-heading { gap: 7px; }
  .award-heading .award-insignia { width: 38px; }
  .award-tile > summary, .award-display { min-height: 67px; }
  .award-insignia { width: 56px; }
}

@media (max-width: 400px) {
  .award-toast-card:not([hidden]) { gap: 8px; padding-inline: 7px 9px; }
  .award-toast-emblem .award-insignia { width: 53px; }
  .award-toast-link { padding-inline: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .award-toast-card:not([hidden]) { transition: none; }
  .award-toast-card[data-exit] { transform: none; }
}


:is([data-vip-sleeve],[data-vip-row]) {
  --vip-ink: #ee6573;
  --vip-wash: #53262c;
}
[data-vip-sleeve] { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(100deg,#29252b,var(--vip-wash)); }
[data-vip-row="scar"] { --vip-row-art: url('vip-ink.svg?v=3#row-scar'); }
:is([data-vip-sleeve="ghost"],[data-vip-row="ghost"]) { --vip-ink: #e4e5ed; --vip-wash: #45434b; --vip-row-art: url('vip-ink.svg?v=3#row-ghost'); }
:is([data-vip-sleeve="volt"],[data-vip-row="volt"]) { --vip-ink: #ba91ff; --vip-wash: #452b62; --vip-row-art: url('vip-ink.svg?v=3#row-volt'); }
:is([data-vip-sleeve="frost"],[data-vip-row="frost"]) { --vip-ink: #9ae5ff; --vip-wash: #25485d; --vip-row-art: url('vip-ink.svg?v=3#row-frost'); }
:is([data-vip-sleeve="hazard"],[data-vip-row="hazard"]) { --vip-ink: #ff9d61; --vip-wash: #61372b; --vip-row-art: url('vip-ink.svg?v=3#row-hazard'); }
:is([data-vip-sleeve="moss"],[data-vip-row="moss"]) { --vip-ink: #a2d184; --vip-wash: #34452f; --vip-row-art: url('vip-ink.svg?v=3#row-moss'); }
:is([data-vip-sleeve="tidal"],[data-vip-row="tidal"]) { --vip-ink: #80e4e1; --vip-wash: #234e54; --vip-row-art: url('vip-ink.svg?v=3#row-tidal'); }
:is([data-vip-sleeve="oxide"],[data-vip-row="oxide"]) { --vip-ink: #e39177; --vip-wash: #51362e; --vip-row-art: url('vip-ink.svg?v=3#row-oxide'); }
:is([data-vip-sleeve="orchid"],[data-vip-row="orchid"]) { --vip-ink: #f594c1; --vip-wash: #55314b; --vip-row-art: url('vip-ink.svg?v=3#row-orchid'); }
:is([data-vip-sleeve="dune"],[data-vip-row="dune"]) { --vip-ink: #edd08e; --vip-wash: #51436a; --vip-row-art: url('vip-ink.svg?v=3#row-dune'); }
.vip-graffiti {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--vip-ink);
  opacity: .41;
  pointer-events: none;
}
[data-vip-row] .roster-identity {
  color: #fff7f6;
  text-shadow: 0 1px 4px #151216;
}
.rank-table tbody tr[data-vip-row], .my-clan-members li[data-vip-row] {
  background: linear-gradient(90deg,#16191ed9,#171a20cb), var(--vip-row-art) center / 420px 100% repeat-x var(--vip-wash);
}
.rank-table tbody tr[data-vip-row]:is(:hover,:focus-within), .my-clan-members li[data-vip-row]:is(:hover,:focus-within) {
  background: linear-gradient(90deg,#16191ec0,#171a20b8), var(--vip-row-art) center / 420px 100% repeat-x var(--vip-wash);
}
.my-clan-members li[data-vip-row] { border-radius: 8px; padding-inline: 4px 8px; }
.clan-roster table:has([data-vip-row]) { border-collapse: separate; border-spacing: 0; }
@media (max-width: 740px) {
  .leaderboard-table tbody tr[data-vip-row] > :nth-child(-n+2) {
    background: linear-gradient(90deg,#1a1c22d9,#1a1c22d2), var(--vip-wash);
  }
}
.vip-row-label {
  margin-inline-start: auto;
  color: #fff1ef;
  padding: 2px 5px;
  border-radius: 4px;
  background: #221e27d9;
  font-size: .58rem;
  font-weight: 750;
  letter-spacing: .06em;
}
.roster-identity .vip-row-label + .roster-arrow { margin-inline-start: 0; }

.frost-profile-person[data-vip-sleeve] {
  padding: 7px 12px;
  border-radius: 8px;
  color: #fff7f6;
  text-shadow: 0 1px 6px #171319;
}
.player-preview-content > header[data-vip-sleeve] {
  border-radius: 7px;
  padding: 6px;
}
.profile-cover[data-vip-banner-cover] { overflow: hidden; }
.profile-vip-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.profile-cover .profile-vip-label {
  position: absolute;
  z-index: 1;
  inset: 22px 18px auto auto;
  display: grid;
  place-items: center;
  padding: 7px 12px 6px;
  border: 1px solid #ff788e70;
  border-radius: 7px;
  background: #2c171eea;
  color: #ffd1d8;
  font: 800 clamp(15px,2.4vw,25px)/1 Unbounded,Inter,sans-serif;
}
.profile-vip-label > .ui-icon {
  position: absolute;
  top: -14px;
  right: -5px;
  width: 24px;
  height: 24px;
  transform: rotate(17deg);
  color: #ff657a;
  fill: #6a2031;
  filter: drop-shadow(0 2px 1px #2a0c14);
}
.profile-cover:has(.profile-vip-label) .frost-profile-customize {
  inset-inline: 11px auto;
  z-index: 1;
}

.vip-avatar-frame {
  --rim: #fc687f;
  --rim-edge: #632b3c;
  --rim-glint: #ffd7df;
  position: relative;
  display: inline-grid;
  place-items: center;
  isolation: isolate;
  border-radius: 50%;
}
[data-vip-frame="chrome"] { --rim: #aab9cf; --rim-edge: #3b4355; --rim-glint: #fff; }
[data-vip-frame="frost"] { --rim: #74ccea; --rim-edge: #295674; --rim-glint: #ecfcff; }
[data-vip-frame="voltage"] { --rim: #b78aff; --rim-edge: #55378a; --rim-glint: #ebe1ff; }
[data-vip-frame="brass"] { --rim: #c69754; --rim-edge: #61432a; --rim-glint: #ffdfa0; }
[data-vip-frame="moss"] { --rim: #74ac8a; --rim-edge: #2c5b41; --rim-glint: #c4f4d3; }
[data-vip-frame="ember"] { --rim: #fc8b54; --rim-edge: #863d35; --rim-glint: #ffe0ac; }
[data-vip-frame="pearl"] { --rim: #e8aeca; --rim-edge: #6c4985; --rim-glint: #ffedf8; }
[data-vip-frame="night"] { --rim: #7581c5; --rim-edge: #333758; --rim-glint: #b6b6ec; }
[data-vip-frame="rivet"] { --rim: #918d8b; --rim-edge: #4b423c; --rim-glint: #f7ebe3; }
.vip-avatar-frame::before {
  position: absolute;
  inset: -4px;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background: conic-gradient(from -35deg,var(--rim-glint),var(--rim-edge) 20%,var(--rim) 40%,var(--rim-glint) 53%,var(--rim-edge) 73%,var(--rim) 87%,var(--rim-glint));
  box-shadow: 0 0 0 2px #141316, 0 5px 10px #14131685;
}
.vip-avatar-frame::after {
  position: absolute;
  inset: -6px;
  content: "";
  border: 1px solid transparent;
  border-inline-color: var(--rim);
  border-radius: 50%;
  transform: rotate(-30deg);
  pointer-events: none;
}
.vip-avatar-frame[data-vip-frame="ruby"]::after { inset: -7px; transform: rotate(28deg); }
.vip-avatar-frame[data-vip-frame="chrome"]::after { border: 2px double var(--rim-glint); inset: -6px; }
.vip-avatar-frame[data-vip-frame="frost"]::before { border-radius: 39%; transform: rotate(45deg); }
.vip-avatar-frame[data-vip-frame="frost"]::after { inset: -7px; border-block-color: var(--rim-glint); }
.vip-avatar-frame[data-vip-frame="voltage"]::after { inset: -7px; border-style: dashed; border-color: var(--rim); }
.vip-avatar-frame[data-vip-frame="brass"]::after { inset: -6px; border: 2px dotted var(--rim-glint); }
.vip-avatar-frame[data-vip-frame="moss"]::after { border-radius: 40% 50% 40% 50%; inset: -7px; }
.vip-avatar-frame[data-vip-frame="ember"]::after { border-inline-color: transparent; border-block-color: var(--rim-glint); transform: rotate(25deg); }
.vip-avatar-frame[data-vip-frame="pearl"]::before { background: conic-gradient(#eceeff,#f5b8cd,#c5bafe,#ffece5,#eceeff); }
.vip-avatar-frame[data-vip-frame="pearl"]::after { border-color: var(--rim-glint); }
.vip-avatar-frame[data-vip-frame="night"]::after { inset: -8px; border-inline-color: transparent; border-top-color: var(--rim-glint); transform: rotate(32deg); }
.vip-avatar-frame[data-vip-frame="rivet"]::after { inset: -6px; border: 2px dashed var(--rim-edge); }
.frost-profile-intro .frost-profile-avatar[data-vip-frame] .avatar { box-shadow: none; }

.vip-editor {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #40383e;
}
.vip-editor header p { margin-top: 4px; color: #c7bcc5; font-size: .83rem; }
.vip-editor fieldset { min-inline-size: 0; padding: 0; border: 0; }
.vip-editor legend { margin-block: 9px; font-weight: 700; }
.vip-options {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(99px,45%),1fr));
  gap: 8px;
}
.vip-editor .vip-options label {
  position: relative;
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 64px;
  padding: 5px;
  border: 1px solid #494149;
  border-radius: 8px;
  background: #2b272d;
  text-align: center;
  font-size: .75rem;
  cursor: pointer;
}
.vip-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.vip-options label:has(input:checked) { border-color: #ffa4b3; background: #432b35; }
.vip-options label:has(input:focus-visible) { outline: 2px solid #ffe4e9; outline-offset: 2px; }
.vip-options label:hover { background: #38313a; }
.vip-sample { display: block; height: 26px; border-radius: 4px; }
.vip-frame-sample { display: grid; height: 32px; place-items: center; }
.vip-frame-sample .vip-avatar-frame { width: 20px; height: 20px; background: #211e25; }
.vip-frame-sample .vip-avatar-frame::after { inset: -5px; }
.vip-frame-sample .ui-icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: #211e25;
  color: #e6dce5;
}
.vip-editor .vip-upload {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px dashed #6b5663;
  border-radius: 9px;
  background: #272329;
}
.vip-upload span { display: grid; gap: 2px; }
.vip-upload small { color: #cec3ca; }
.vip-upload input { max-width: 100%; }
.vip-upload img { width: 100%; max-height: 145px; object-fit: cover; border-radius: 5px; }
.vip-editor [data-upload-error]:empty { display: none; }
.vip-editor-actions { display: flex; flex-wrap: wrap; gap: 7px; }
@media(max-width:580px) {
  .profile-cover .profile-vip-label { inset-block-start: 17px; inset-inline-end: 13px; }
  .profile-vip-label > .ui-icon { width: 20px; height: 20px; top: -12px; }
}

[data-name-color="white"] { --name-color: #f4f2f2; }
[data-name-color="silver"] { --name-color: #cbd1d9; }
[data-name-color="ice"] { --name-color: #bcf0fa; }
[data-name-color="blue"] { --name-color: #a9c9ff; }
[data-name-color="mint"] { --name-color: #a5efd5; }
[data-name-color="green"] { --name-color: #c9ee99; }
[data-name-color="gold"] { --name-color: #f3da90; }
[data-name-color="copper"] { --name-color: #f6bd93; }
[data-name-color="coral"] { --name-color: #ffaaa0; }
[data-name-color="rose"] { --name-color: #ffc2dc; }
[data-name-color="lilac"] { --name-color: #e4c8ff; }
[data-name-color="amethyst"] { --name-color: #c6b4ff; }


.profile-display-name {color:var(--name-color,inherit);overflow-wrap:anywhere}
[data-name-color="custom"] {--name-color:var(--nickname-custom,#f4f2f2)}
.survivor-vip {display:inline-flex;align-items:center;padding:2px 6px;border:1px solid #c59d4f77;border-radius:4px;color:#ffe3a4;background:#322b1f;font:750 10px/1.4 Inter,sans-serif;letter-spacing:.07em}
.frost-profile-name .survivor-vip {margin-top:4px}
#profile-appearance {box-sizing:border-box;width:min(540px,calc(100% - 20px));max-height:90dvh;margin:auto;padding:0;border:1px solid #3c404c;border-radius:16px;background:#161821;color:#f2f3f7;overflow:auto;overscroll-behavior:contain}
#profile-appearance::backdrop {background:#07090dc9}
#profile-appearance>header,#profile-appearance>footer {display:flex;align-items:center;justify-content:space-between;padding:14px 18px;gap:12px;background:#1d202b}
#profile-appearance>header {border-bottom:1px solid #343743}
#profile-appearance h2 {margin:0;font-size:20px}
#profile-appearance .ui-icon {width:18px;height:18px}
.survivor-preview {margin:16px 18px;border:1px solid #393d48;border-radius:9px;overflow:hidden}
.survivor-preview .frost-profile-identity {display:block;margin:0;padding:0}
.survivor-preview .frost-profile-person {min-height:70px;padding:12px;border:0;border-radius:0}
.survivor-preview .avatar {width:48px;height:48px}
.survivor-preview .profile-display-name {margin:0;font-weight:750}
#profile-studio-form {display:grid;gap:20px;padding:0 18px 18px}
#profile-studio-form fieldset {margin:0;padding:0;min-width:0;border:0}
#profile-studio-form legend {margin:0 0 8px;padding:0;font-weight:700}
.color-picker>div,.sleeve-picker>div {display:flex;gap:6px;flex-wrap:wrap}
.color-picker label,.sleeve-picker label {position:relative;cursor:pointer}
.color-picker label:has(i),.sleeve-picker label {display:grid;place-items:center;border:1px solid #383c49;border-radius:7px;background:#222530}
.color-picker label:has(i) {width:30px;height:30px}
.color-picker i {width:16px;height:16px;background:var(--name-color);border-radius:50%}
.color-picker label:has(i)>input,.sleeve-picker input {position:absolute;z-index:1;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
#profile-studio-form label:has(:checked) {border-color:#adc1ff;box-shadow:inset 0 0 0 1px #adc1ff}
#profile-studio-form label:has(:focus-visible) {outline:2px solid white;outline-offset:2px}
.custom-paint {align-items:center;margin-top:8px;font-size:13px}
.custom-paint input[type=color] {width:40px;height:28px;padding:2px}
.sleeve-picker>div {display:grid;grid-template-columns:repeat(auto-fit,minmax(75px,1fr))}
.sleeve-picker label {overflow:hidden;gap:4px;padding:3px 3px 5px;font-size:11px;color:#d6d9e4}
.sleeve-sample {width:100%;height:28px;border-radius:4px}
.sleeve-sample .vip-graffiti {opacity:.85}
#profile-appearance>footer {position:sticky;bottom:0;border-top:1px solid #343743}
.studio-note {margin:12px 18px;color:#c3c7d7;font-size:14px}
