/* [project]/apps/web/app/globals.css [app-client] (css) */
* {
  box-sizing: border-box;
}

html, body {
  color: #f4f5f7;
  background: #0d0f13;
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  overflow-x: clip;
}

body {
  background: radial-gradient(circle at 50% 0, #191d25 0, #0d0f13 40%);
}

button, a {
  font: inherit;
}

button {
  color: inherit;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 120px;
}

.hero {
  max-width: 820px;
}

.eyebrow {
  letter-spacing: .18em;
  color: #8f97a6;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  letter-spacing: -.045em;
  margin: 12px 0 18px;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1;
}

.lead, p {
  color: #b8bec9;
  font-size: 16px;
  line-height: 1.6;
}

.panel {
  background: #16191feb;
  border: 1px solid #2a2f39;
  border-radius: 20px;
  margin-top: 24px;
  padding: 24px;
  box-shadow: 0 12px 40px #00000029;
}

.auth-panel {
  max-width: 720px;
  margin-top: 40px;
}

.button, .ghost-button, .filter-button {
  cursor: pointer;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .18s;
  display: inline-flex;
}

.button {
  color: #101216;
  background: #f5f7fb;
  border: 0;
  margin-top: 10px;
}

.ghost-button {
  color: #f5f7fb;
  background: none;
  border: 1px solid #343a46;
  margin-left: auto;
}

.ghost-button:hover, .filter-button:hover {
  background: #20242c;
  border-color: #596171;
}

.player-profile {
  --profile-accent: #69b8ca;
  --profile-accent-soft: #5ea8c217;
  --profile-border: #31404d;
  --profile-glow: #5bb5ca29;
  --profile-panel-from: #141c24fa;
  --profile-panel-to: #11151bfa;
  --profile-xp-start: #4c9fb3;
  --profile-xp-end: #79c4d2;
  --profile-divider: #263742;
  --profile-reward-bg-from: #28424e57;
  --profile-reward-bg-to: #10171ec7;
  --profile-reward-border: #243744;
  --profile-muted-accent: #82aebb;
  --profile-avatar-border: #467183;
  --profile-avatar-panel-from: #55a4be1f;
  --profile-avatar-panel-to: #11161de6;
  --profile-avatar-decoration: #78b8c8;
  --profile-avatar-decoration-bg: #151b22;
  --profile-avatar-inner-border: #263a46;
  --profile-avatar-bg: #10151b;
  --profile-avatar-placeholder-from: #243746;
  --profile-avatar-placeholder-to: #11171e;
  --profile-avatar-text: #9bc5d2;
  --profile-heading-muted: #8195a4;
  --profile-level-text: #e9f0f3;
  --profile-level-muted: #8296a4;
  --profile-xp-track-border: #314653;
  --profile-xp-track-bg: #111820;
  --profile-xp-meta: #728592;
  --profile-xp-meta-strong: #a9d4dd;
  --profile-reward-text: #d8edf2;
  --profile-stat-label: #7e96a4;
  --profile-stat-value: #eef4f6;
  --profile-stat-muted: #879aa6;
  border-color: var(--profile-border);
  background: radial-gradient(circle at 12% 8%,var(--profile-accent-soft),transparent 32%),
    linear-gradient(135deg,var(--profile-panel-from),var(--profile-panel-to));
  grid-template-columns: 164px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 28px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.player-profile:before {
  content: "";
  background: linear-gradient(180deg,transparent,var(--profile-accent) 24%,var(--profile-accent) 76%,transparent);
  opacity: .75;
  width: 3px;
  position: absolute;
  inset: 0 auto 0 0;
}

.profile-avatar-frame {
  aspect-ratio: 1;
  border: 1px solid var(--profile-avatar-border);
  background: linear-gradient(145deg,var(--profile-avatar-panel-from),var(--profile-avatar-panel-to));
  width: 164px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--profile-accent) 12%,transparent);
  border-radius: 24px;
  padding: 7px;
  position: relative;
}

.profile-avatar-frame:before, .profile-avatar-frame:after {
  content: "✦";
  color: var(--profile-avatar-decoration);
  background: var(--profile-avatar-decoration-bg);
  padding: 0 5px;
  font-size: 11px;
  line-height: 1;
  position: absolute;
}

.profile-avatar-frame:before {
  top: -6px;
  left: 18px;
}

.profile-avatar-frame:after {
  bottom: -6px;
  right: 18px;
}

.profile-avatar-frame:not([data-avatar-frame="none_avatar_frame"]) {
  border-color: color-mix(in srgb,var(--profile-accent) 72%,#73808a);
  box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--profile-accent) 32%,transparent),0 0 22px color-mix(in srgb,var(--profile-accent) 14%,transparent);
}

.profile-avatar-frame:not([data-avatar-frame="none_avatar_frame"]):before, .profile-avatar-frame:not([data-avatar-frame="none_avatar_frame"]):after {
  content: "◆";
  color: var(--profile-accent);
}

.profile-avatar-frame[data-avatar-frame-art="true"] {
  box-shadow: none;
  background: none;
  border-color: #0000;
}

.profile-avatar-frame[data-avatar-frame-art="true"]:before, .profile-avatar-frame[data-avatar-frame-art="true"]:after {
  display: none;
}

.profile-avatar, .profile-avatar-placeholder {
  border: 1px solid var(--profile-avatar-inner-border);
  background: var(--profile-avatar-bg);
  border-radius: 18px;
  width: 100%;
  height: 100%;
  display: block;
}

.profile-avatar {
  object-fit: cover;
  z-index: 1;
  position: relative;
}

.profile-avatar-placeholder {
  z-index: 1;
  background: radial-gradient(circle at 50% 35%,var(--profile-avatar-placeholder-from),var(--profile-avatar-placeholder-to) 65%);
  color: var(--profile-avatar-text);
  place-items: center;
  display: grid;
  position: relative;
}

.profile-avatar-placeholder span {
  letter-spacing: -.04em;
  font-size: 46px;
  font-weight: 800;
}

.profile-avatar-frame-art {
  z-index: 3;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px #00000038);
  width: calc(100% + 28px);
  max-width: none;
  height: calc(100% + 28px);
  position: absolute;
  top: -14px;
  left: -14px;
}

.player-profile-main {
  min-width: 0;
}

.player-profile-heading {
  margin-top: 6px;
  display: block;
}

.profile-identity {
  min-width: 0;
}

.profile-name-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.player-profile-heading h2 {
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1;
}

.player-profile-heading p {
  color: var(--profile-heading-muted);
  margin: 6px 0 1px;
  font-size: 13px;
}

.profile-membership-line {
  text-transform: none;
}

.profile-cosmetic-title {
  border-left: 2px solid var(--profile-accent);
  background: color-mix(in srgb,var(--profile-accent-soft) 58%,transparent);
  color: var(--profile-muted-accent);
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-top: 7px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 900;
  display: inline-flex;
}

.profile-badges {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 1px 0 0;
  display: flex;
}

.profile-role, .profile-sub-badge, .profile-cosmetic-badge {
  letter-spacing: .1em;
  border-radius: 999px;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  font-size: 9px;
  font-weight: 900;
  display: inline-flex;
}

.profile-role {
  color: #9ec8d3;
  letter-spacing: .13em;
  background: #18242c;
  border: 1px solid #3f5c69;
}

.profile-sub-badge {
  color: #e6cf9d;
  background: #272117;
  border: 1px solid #63543d;
}

.profile-cosmetic-badge {
  border: 1px solid color-mix(in srgb,var(--profile-accent) 42%,#3a424b);
  background: color-mix(in srgb,var(--profile-accent-soft) 80%,#171b20);
  color: var(--profile-reward-text);
}

.profile-cosmetic-badge[data-profile-badge="badge_medalist_i"] {
  border-color: color-mix(in srgb,var(--profile-accent) 55%,#8c8064);
  gap: 4px;
}

.profile-level-line {
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-top: 16px;
  display: flex;
}

.profile-level-line strong {
  letter-spacing: -.02em;
  color: var(--profile-level-text);
  font-size: 20px;
}

.profile-level-line span {
  color: var(--profile-level-muted);
  font-size: 11px;
  font-weight: 700;
}

.profile-xp-track {
  border: 1px solid var(--profile-xp-track-border);
  background: var(--profile-xp-track-bg);
  border-radius: 999px;
  height: 9px;
  margin-top: 9px;
  overflow: hidden;
}

.profile-xp-track > span {
  border-radius: inherit;
  background: linear-gradient(90deg,var(--profile-xp-start),var(--profile-xp-end));
  height: 100%;
  box-shadow: 0 0 14px var(--profile-glow);
  transition: width .3s;
  display: block;
}

.profile-xp-meta {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 7px;
  display: flex;
}

.profile-xp-meta span {
  color: var(--profile-xp-meta);
  font-size: 10px;
  font-weight: 700;
}

.profile-xp-meta strong {
  color: var(--profile-xp-meta-strong);
  font-size: 12px;
}

.profile-next-reward {
  border: 1px solid var(--profile-reward-border);
  background: linear-gradient(135deg,var(--profile-reward-bg-from),var(--profile-reward-bg-to));
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 14px;
  padding: 10px 14px;
  display: flex;
}

.profile-next-reward span {
  letter-spacing: .16em;
  color: var(--profile-muted-accent);
  flex: none;
  font-size: 10px;
  font-weight: 900;
}

.profile-next-reward strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  color: var(--profile-reward-text);
  font-size: 14px;
  overflow: hidden;
}

.profile-actions {
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 118px;
  display: grid;
}

.profile-actions .ghost-button {
  white-space: nowrap;
  min-height: 38px;
  margin-left: 0;
}

.profile-stats {
  border-top: 1px solid var(--profile-divider);
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -2px;
  padding-top: 20px;
  display: grid;
}

.profile-stat {
  min-width: 0;
  padding: 0 24px;
}

.profile-stat:first-child {
  padding-left: 0;
}

.profile-stat:last-child {
  padding-right: 0;
}

.profile-stat + .profile-stat {
  border-left: 1px solid var(--profile-divider);
}

.profile-stat > span {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--profile-stat-label);
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
  display: block;
}

.profile-stat strong {
  letter-spacing: -.035em;
  color: var(--profile-stat-value);
  align-items: baseline;
  gap: 2px;
  font-size: 26px;
  line-height: 1;
  display: flex;
}

.profile-stat strong small {
  color: var(--profile-stat-muted);
  font-size: 13px;
  font-weight: 700;
}

.profile-cosmetic-badge-mark {
  flex: none;
  place-items: center;
  display: inline-grid;
}

.profile-cosmetic-badge[data-profile-badge="badge_recolector_emblemas"] {
  color: #d2e0e4;
  background: linear-gradient(135deg, #1c2930, #12191d);
  border-color: #718b98;
  gap: 5px;
  box-shadow: inset 0 1px #dceef414;
}

.profile-cosmetic-badge[data-profile-badge="badge_recolector_emblemas"] .profile-cosmetic-badge-mark {
  color: #9fbcc7;
  font-size: 8px;
}

.profile-cosmetic-badge[data-profile-badge="badge_golden_ganso"] {
  color: #f0d48d;
  background: linear-gradient(135deg, #2a2114, #17120d);
  border-color: #a98443;
  gap: 5px;
  box-shadow: inset 0 1px #ffe7a41a, 0 0 12px #ca9a411f;
}

.profile-cosmetic-badge[data-profile-badge="badge_golden_ganso"] .profile-cosmetic-badge-mark {
  color: #f2d786;
  letter-spacing: 0;
  background: #21190f;
  border: 1px solid #b9914b;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  font-size: 7px;
}

.player-profile[data-theme="lunar_silver"] {
  --profile-accent: #b8c4ce;
  --profile-accent-soft: #b8c6d316;
  --profile-border: #49545f;
  --profile-glow: #bcccd924;
  --profile-panel-from: #1d2227fb;
  --profile-panel-to: #101418fb;
  --profile-xp-start: #8293a2;
  --profile-xp-end: #c6d0d8;
  --profile-divider: #35404a;
  --profile-reward-bg-from: #4e5b664d;
  --profile-reward-bg-to: #12171cd1;
  --profile-reward-border: #394650;
  --profile-muted-accent: #a7b6c1;
  --profile-avatar-border: #657681;
  --profile-avatar-panel-from: #a1b5c31f;
  --profile-avatar-panel-to: #14191eed;
  --profile-avatar-decoration: #c1cbd3;
  --profile-avatar-decoration-bg: #1a2025;
  --profile-avatar-inner-border: #37434c;
  --profile-avatar-placeholder-from: #38444d;
  --profile-avatar-placeholder-to: #171c21;
  --profile-avatar-text: #d0d8de;
  --profile-heading-muted: #9ba9b3;
  --profile-level-muted: #95a4af;
  --profile-xp-track-border: #43515b;
  --profile-xp-track-bg: #151b20;
  --profile-xp-meta: #8797a2;
  --profile-xp-meta-strong: #c7d1d8;
  --profile-reward-text: #e3e9ed;
  --profile-stat-label: #98a7b2;
  --profile-stat-muted: #a2afb7;
}

.player-profile[data-theme="sr_violet"] {
  --profile-accent: #9d86b9;
  --profile-accent-soft: #8465a61c;
  --profile-border: #493c58;
  --profile-glow: #9877ba29;
  --profile-panel-from: #1f1827fb;
  --profile-panel-to: #111017fb;
  --profile-xp-start: #75618d;
  --profile-xp-end: #ad94c7;
  --profile-divider: #3a3045;
  --profile-reward-bg-from: #523d674d;
  --profile-reward-bg-to: #16121cd6;
  --profile-reward-border: #40334d;
  --profile-muted-accent: #a893bb;
  --profile-avatar-border: #645276;
  --profile-avatar-panel-from: #8b69a921;
  --profile-avatar-panel-to: #17121df0;
  --profile-avatar-decoration: #ad97c1;
  --profile-avatar-decoration-bg: #1d1724;
  --profile-avatar-inner-border: #40344c;
  --profile-avatar-placeholder-from: #40334d;
  --profile-avatar-placeholder-to: #18141d;
  --profile-avatar-text: #cbb8dc;
  --profile-heading-muted: #9f91aa;
  --profile-level-muted: #9d8cab;
  --profile-xp-track-border: #493a57;
  --profile-xp-track-bg: #17131d;
  --profile-xp-meta: #8f809c;
  --profile-xp-meta-strong: #bea8d0;
  --profile-reward-text: #e9deef;
  --profile-stat-label: #9e8cac;
  --profile-stat-muted: #aa99b6;
}

.player-profile[data-theme="secret_crimson"] {
  --profile-accent: #b04d59;
  --profile-accent-soft: #7e283424;
  --profile-border: #5a3038;
  --profile-glow: #b047522e;
  --profile-panel-from: #251418fc;
  --profile-panel-to: #120e10fc;
  --profile-xp-start: #7d303c;
  --profile-xp-end: #c35b67;
  --profile-divider: #47272d;
  --profile-reward-bg-from: #652a3357;
  --profile-reward-bg-to: #1b1013db;
  --profile-reward-border: #4b2930;
  --profile-muted-accent: #b7757c;
  --profile-avatar-border: #75404a;
  --profile-avatar-panel-from: #a4404d24;
  --profile-avatar-panel-to: #1d1013f2;
  --profile-avatar-decoration: #c96c75;
  --profile-avatar-decoration-bg: #241518;
  --profile-avatar-inner-border: #503039;
  --profile-avatar-placeholder-from: #512d34;
  --profile-avatar-placeholder-to: #1e1416;
  --profile-avatar-text: #ddb0b5;
  --profile-heading-muted: #aa8589;
  --profile-level-muted: #a37e83;
  --profile-xp-track-border: #56333a;
  --profile-xp-track-bg: #1d1416;
  --profile-xp-meta: #94767a;
  --profile-xp-meta-strong: #d79da4;
  --profile-reward-text: #f0dde0;
  --profile-stat-label: #ad858a;
  --profile-stat-muted: #b38f93;
}

.player-profile[data-theme="season_complete"] {
  --profile-accent: #d1bf94;
  --profile-accent-soft: #c5b48b1c;
  --profile-border: #5b5548;
  --profile-glow: #d7c69a26;
  --profile-panel-from: #1f1d19fc;
  --profile-panel-to: #111110fc;
  --profile-xp-start: #95865f;
  --profile-xp-end: #d8c99d;
  --profile-divider: #464238;
  --profile-reward-bg-from: #685e444d;
  --profile-reward-bg-to: #181613db;
  --profile-reward-border: #4d4739;
  --profile-muted-accent: #c6b88f;
  --profile-avatar-border: #756c53;
  --profile-avatar-panel-from: #cbbd9121;
  --profile-avatar-panel-to: #1b1915f2;
  --profile-avatar-decoration: #dfd0a7;
  --profile-avatar-decoration-bg: #211f1a;
  --profile-avatar-inner-border: #514b3d;
  --profile-avatar-placeholder-from: #4c4739;
  --profile-avatar-placeholder-to: #1c1a17;
  --profile-avatar-text: #eadfbf;
  --profile-heading-muted: #a9a28f;
  --profile-level-muted: #aaa18a;
  --profile-xp-track-border: #57503f;
  --profile-xp-track-bg: #1b1916;
  --profile-xp-meta: #98917f;
  --profile-xp-meta-strong: #dfd3ad;
  --profile-reward-text: #f2ead4;
  --profile-stat-label: #b0a58a;
  --profile-stat-muted: #b8ae96;
  box-shadow: inset 0 1px #eee2be14, 0 16px 48px #00000029;
}

.player-profile[data-theme="emerald_pulse"] {
  --profile-accent: #57bea5;
  --profile-accent-soft: #419f8821;
  --profile-border: #365e55;
  --profile-glow: #4bb99d2e;
  --profile-panel-from: #14231ffc;
  --profile-panel-to: #0e1614fc;
  --profile-xp-start: #398a76;
  --profile-xp-end: #65cfb4;
  --profile-divider: #2f4b44;
  --profile-reward-bg-from: #366b5e57;
  --profile-reward-bg-to: #121c19db;
  --profile-reward-border: #325046;
  --profile-muted-accent: #83c7b6;
  --profile-avatar-border: #47796d;
  --profile-avatar-panel-from: #45b09424;
  --profile-avatar-panel-to: #121d1af2;
  --profile-avatar-decoration: #72ccb5;
  --profile-avatar-decoration-bg: #16231f;
  --profile-avatar-inner-border: #33564d;
  --profile-avatar-placeholder-from: #31584e;
  --profile-avatar-placeholder-to: #14201d;
  --profile-avatar-text: #b1dfd2;
  --profile-heading-muted: #8eb1a8;
  --profile-level-muted: #8cafaa;
  --profile-xp-track-border: #3a5e55;
  --profile-xp-track-bg: #14201d;
  --profile-xp-meta: #7f9f97;
  --profile-xp-meta-strong: #a8dacd;
  --profile-reward-text: #def1ec;
  --profile-stat-label: #8fb6ac;
  --profile-stat-muted: #9bbdb4;
}

.player-profile[data-theme="amber_noir"] {
  --profile-accent: #c58a55;
  --profile-accent-soft: #b070401f;
  --profile-border: #5b4737;
  --profile-glow: #c58a552b;
  --profile-panel-from: #221b16fc;
  --profile-panel-to: #12100ffc;
  --profile-xp-start: #8d5d36;
  --profile-xp-end: #d5a06a;
  --profile-divider: #45382f;
  --profile-reward-bg-from: #60412b52;
  --profile-reward-bg-to: #191411de;
  --profile-reward-border: #4f3d30;
  --profile-muted-accent: #bd956f;
  --profile-avatar-border: #735743;
  --profile-avatar-panel-from: #b97d4924;
  --profile-avatar-panel-to: #1c1612f2;
  --profile-avatar-decoration: #d5a06a;
  --profile-avatar-decoration-bg: #221b17;
  --profile-avatar-inner-border: #523e30;
  --profile-avatar-placeholder-from: #4b392d;
  --profile-avatar-placeholder-to: #1d1815;
  --profile-avatar-text: #e2c19e;
  --profile-heading-muted: #aa9787;
  --profile-level-muted: #aa9180;
  --profile-xp-track-border: #5a4434;
  --profile-xp-track-bg: #1c1714;
  --profile-xp-meta: #968274;
  --profile-xp-meta-strong: #ddb486;
  --profile-reward-text: #f0e2d4;
  --profile-stat-label: #b0957f;
  --profile-stat-muted: #bea38e;
}

.profile-atmosphere {
  --ambient-accent: #69b8ca;
  --ambient-glow: #5297ab16;
  --ambient-wash: #5297ab06;
  isolation: isolate;
  position: relative;
}

.profile-atmosphere[data-theme="lunar_silver"] {
  --ambient-accent: #b8c4ce;
  --ambient-glow: #b8c4ce16;
  --ambient-wash: #b8c4ce06;
}

.profile-atmosphere[data-theme="sr_violet"] {
  --ambient-accent: #9d86b9;
  --ambient-glow: #8968a621;
  --ambient-wash: #8968a609;
}

.profile-atmosphere[data-theme="secret_crimson"] {
  --ambient-accent: #b04d59;
  --ambient-glow: #96364224;
  --ambient-wash: #9636420a;
}

.profile-atmosphere[data-theme="season_complete"] {
  --ambient-accent: #d1bf94;
  --ambient-glow: #d0be8f1c;
  --ambient-wash: #d0be8f08;
}

.profile-atmosphere[data-theme="emerald_pulse"] {
  --ambient-accent: #57bea5;
  --ambient-glow: #3b9e8621;
  --ambient-wash: #3b9e8609;
}

.profile-atmosphere[data-theme="amber_noir"] {
  --ambient-accent: #c58a55;
  --ambient-glow: #b0704020;
  --ambient-wash: #b0704008;
}

.profile-atmosphere:before {
  content: "";
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 72% 52% at 50% 21%,
      var(--ambient-glow) 0%,
      color-mix(in srgb,var(--ambient-glow) 58%,transparent) 34%,
      color-mix(in srgb,var(--ambient-wash) 42%,transparent) 55%,
      transparent 78%);
  filter: blur(18px);
  opacity: .95;
  position: absolute;
  inset: -120px -190px -70px;
}

.profile-atmosphere .milestone-progress-banner {
  border-color: color-mix(in srgb,var(--ambient-accent) 18%,#343d49);
  background: radial-gradient(circle at 8% 0%,color-mix(in srgb,var(--ambient-accent) 4%,transparent),transparent 42%),
    linear-gradient(135deg,#171b21,#12161b);
  box-shadow: inset 0 1px 0 color-mix(in srgb,var(--ambient-accent) 5%,transparent);
}

.profile-atmosphere .channel-activity-panel, .profile-atmosphere .profile-favorites-panel {
  border-color: color-mix(in srgb,var(--ambient-accent) 16%,#313844);
  background: radial-gradient(circle at 8% 0%,color-mix(in srgb,var(--ambient-accent) 4%,transparent),transparent 44%),
    linear-gradient(135deg,#15191f,#11151a);
  box-shadow: inset 0 1px 0 color-mix(in srgb,var(--ambient-accent) 4%,transparent);
}

.profile-atmosphere .milestone-progress-banner .eyebrow, .profile-atmosphere .channel-activity-panel .eyebrow, .profile-atmosphere .profile-favorites-panel .eyebrow {
  color: color-mix(in srgb,var(--ambient-accent) 58%,#8f97a6);
}

.profile-atmosphere .milestone-progress-track span {
  background: linear-gradient(90deg,
    color-mix(in srgb,var(--ambient-accent) 30%,#d5c49f),
    color-mix(in srgb,var(--ambient-accent) 16%,#d5c49f));
}

.profile-atmosphere .channel-activity-grid article, .profile-atmosphere .profile-favorite-item {
  border-color: color-mix(in srgb,var(--ambient-accent) 10%,#29323b);
}

.profile-atmosphere .channel-activity-icon {
  border-color: color-mix(in srgb,var(--ambient-accent) 24%,#344754);
  background: color-mix(in srgb,var(--ambient-accent) 7%,#17232b);
  color: color-mix(in srgb,var(--ambient-accent) 66%,#9cc6d2);
}

.profile-atmosphere .profile-favorite-kicker {
  color: color-mix(in srgb,var(--ambient-accent) 54%,#7b92a1);
}

.profile-atmosphere .profile-favorites-edit {
  border-color: color-mix(in srgb,var(--ambient-accent) 16%,#343a46);
}

@media (max-width: 760px) {
  .profile-atmosphere:before {
    filter: blur(15px);
    inset: -92px -86px -54px;
  }
}

@media (max-width: 580px) {
  .profile-atmosphere:before {
    filter: blur(13px);
    inset: -76px -38px -44px;
  }
}

.profile-kicker-row {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.profile-customize-trigger {
  border: 1px solid color-mix(in srgb,var(--profile-accent) 42%,#27303a);
  background: color-mix(in srgb,var(--profile-accent-soft) 55%,transparent);
  color: var(--profile-muted-accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  flex: none;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 900;
  transition: all .18s;
}

.profile-customize-trigger:hover {
  border-color: var(--profile-accent);
  color: var(--profile-reward-text);
  background: color-mix(in srgb,var(--profile-accent-soft) 85%,transparent);
}

.profile-live-preview {
  z-index: 70;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #14110feb;
  border: 1px solid #c58a5575;
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: -4px 0 18px;
  padding: 12px 14px;
  display: flex;
  position: sticky;
  top: 14px;
  box-shadow: 0 14px 38px #0000004d;
}

.profile-live-preview-copy {
  flex-direction: column;
  gap: 3px;
  display: flex;
}

.profile-live-preview-copy strong {
  color: #f0e2d4;
  font-size: 12px;
}

.profile-live-preview-copy span {
  color: #b59b85;
  font-size: 10px;
}

.profile-live-preview-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.profile-live-preview-actions .ghost-button, .profile-live-preview-actions .button {
  white-space: nowrap;
  margin: 0;
}

@media (max-width: 700px) {
  .profile-live-preview {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-live-preview-actions {
    width: 100%;
  }

  .profile-live-preview-actions .ghost-button, .profile-live-preview-actions .button {
    flex: 1;
  }
}

.profile-customizer-backdrop {
  z-index: 80;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  background: #05070ad1;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
  position: fixed;
  inset: 0;
}

.profile-customizer-modal {
  background: linear-gradient(145deg, #171b21, #11151a);
  border: 1px solid #343d48;
  border-radius: 22px;
  width: min(900px, 100%);
  max-height: 90vh;
  padding: 26px;
  position: relative;
  overflow: auto;
  box-shadow: 0 32px 90px #0000008c;
}

.profile-customizer-close {
  color: #9aa5ae;
  cursor: pointer;
  background: #171c22;
  border: 1px solid #343d47;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font: 700 21px / 1 sans-serif;
  position: absolute;
  top: 12px;
  right: 14px;
}

.profile-customizer-close:hover {
  color: #eef3f5;
  border-color: #56636f;
}

.profile-customizer-heading {
  padding-right: 42px;
}

.profile-customizer-heading h2 {
  letter-spacing: -.03em;
  margin: 5px 0 3px;
  font-size: 28px;
}

.profile-customizer-heading p {
  color: #939ea8;
  max-width: 640px;
  margin: 0;
  font-size: 12px;
}

.profile-customizer-tabs {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
  padding-bottom: 2px;
  display: flex;
}

.profile-customizer-tabs button {
  color: #87939e;
  min-height: 34px;
  font: inherit;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  background: #12171c;
  border: 1px solid #303945;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 9px;
  font-weight: 900;
}

.profile-customizer-tabs button:hover {
  color: #cbd4da;
  border-color: #52606b;
}

.profile-customizer-tabs button.active {
  color: #e5edf0;
  background: #1a2228;
  border-color: #718590;
}

.profile-theme-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  display: grid;
}

.profile-theme-card {
  color: #e6ebee;
  text-align: left;
  cursor: pointer;
  background: #12171c;
  border: 1px solid #2f3842;
  border-radius: 15px;
  min-width: 0;
  padding: 10px;
  transition: all .18s;
}

.profile-theme-card:hover:not(:disabled) {
  background: #151b21;
  border-color: #505d69;
  transform: translateY(-2px);
}

.profile-theme-card.previewed {
  border-color: #738896;
  box-shadow: 0 0 0 1px #90a8b524, 0 12px 28px #0000002e;
}

.profile-theme-card.locked {
  opacity: .46;
  cursor: not-allowed;
}

.profile-theme-card.locked.admin-preview {
  opacity: .78;
  cursor: pointer;
}

.profile-theme-card.locked.admin-preview:hover {
  background: #151b21;
  border-color: #505d69;
  transform: translateY(-2px);
}

.profile-theme-preview {
  --theme-preview-accent: #69b8ca;
  --theme-preview-border: #31404d;
  --theme-preview-from: #141c24;
  --theme-preview-to: #11151b;
  border: 1px solid var(--theme-preview-border);
  background: radial-gradient(circle at 16% 10%,color-mix(in srgb,var(--theme-preview-accent) 13%,transparent),transparent 38%),linear-gradient(135deg,var(--theme-preview-from),var(--theme-preview-to));
  border-radius: 11px;
  height: 105px;
  position: relative;
  overflow: hidden;
}

.profile-theme-preview[data-theme="lunar_silver"] {
  --theme-preview-accent: #b8c4ce;
  --theme-preview-border: #49545f;
  --theme-preview-from: #1d2227;
  --theme-preview-to: #101418;
}

.profile-theme-preview[data-theme="sr_violet"] {
  --theme-preview-accent: #9d86b9;
  --theme-preview-border: #493c58;
  --theme-preview-from: #201827;
  --theme-preview-to: #111017;
}

.profile-theme-preview[data-theme="secret_crimson"] {
  --theme-preview-accent: #b04d59;
  --theme-preview-border: #5a3038;
  --theme-preview-from: #251418;
  --theme-preview-to: #120e10;
}

.profile-theme-preview[data-theme="season_complete"] {
  --theme-preview-accent: #d1bf94;
  --theme-preview-border: #5b5548;
  --theme-preview-from: #211e19;
  --theme-preview-to: #111110;
}

.profile-theme-preview[data-theme="emerald_pulse"] {
  --theme-preview-accent: #57bea5;
  --theme-preview-border: #365e55;
  --theme-preview-from: #14231f;
  --theme-preview-to: #0e1614;
}

.profile-theme-preview[data-theme="amber_noir"] {
  --theme-preview-accent: #c58a55;
  --theme-preview-border: #5b4737;
  --theme-preview-from: #221b16;
  --theme-preview-to: #12100f;
}

.profile-theme-preview-accent {
  background: linear-gradient(180deg,transparent,var(--theme-preview-accent) 25%,var(--theme-preview-accent) 75%,transparent);
  width: 3px;
  position: absolute;
  inset: 0 auto 0 0;
}

.profile-theme-preview-avatar {
  border: 1px solid color-mix(in srgb,var(--theme-preview-accent) 66%,#28313a);
  background: color-mix(in srgb,var(--theme-preview-accent) 12%,#11161b);
  border-radius: 13px;
  width: 46px;
  height: 46px;
  position: absolute;
  top: 18px;
  left: 15px;
}

.profile-theme-preview-lines {
  flex-direction: column;
  gap: 9px;
  display: flex;
  position: absolute;
  top: 24px;
  left: 75px;
  right: 16px;
}

.profile-theme-preview-lines i {
  background: color-mix(in srgb,var(--theme-preview-accent) 42%,#273039);
  border-radius: 99px;
  height: 7px;
  display: block;
}

.profile-theme-preview-lines i:nth-child(2) {
  opacity: .65;
  width: 68%;
}

.profile-theme-preview-lines b {
  background: linear-gradient(90deg,var(--theme-preview-accent) 62%,#273039 62%);
  border-radius: 99px;
  height: 5px;
  margin-top: 9px;
  display: block;
}

.profile-cosmetic-slot-preview {
  background: radial-gradient(circle at 50% 32%, #6f8fa01f, #0000 45%), linear-gradient(145deg, #151b21, #101419);
  border: 1px solid #303944;
  border-radius: 11px;
  place-items: center;
  height: 105px;
  display: grid;
  overflow: hidden;
}

.profile-cosmetic-frame-demo {
  background: #151c22;
  border: 1px solid #5c6b76;
  border-radius: 17px;
  width: 62px;
  height: 62px;
  padding: 7px;
  position: relative;
  box-shadow: inset 0 0 0 1px #89a3b21f;
}

.profile-cosmetic-frame-demo:before, .profile-cosmetic-frame-demo:after {
  content: "✦";
  color: #8ca4b2;
  font-size: 8px;
  position: absolute;
}

.profile-cosmetic-frame-demo:before {
  top: -5px;
  left: 8px;
}

.profile-cosmetic-frame-demo:after {
  bottom: -5px;
  right: 8px;
}

.profile-cosmetic-frame-demo i {
  background: linear-gradient(145deg, #28353e, #121820);
  border: 1px solid #37434d;
  border-radius: 11px;
  width: 100%;
  height: 100%;
  display: block;
}

.profile-cosmetic-frame-demo-art {
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
  width: calc(100% + 18px);
  max-width: none;
  height: calc(100% + 18px);
  position: absolute;
  top: -9px;
  left: -9px;
}

.profile-cosmetic-badge-demo {
  color: #b8c8d1;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #192229;
  border: 1px solid #52636f;
  border-radius: 999px;
  max-width: 80%;
  padding: 7px 11px;
  font-size: 9px;
  font-weight: 900;
  overflow: hidden;
}

.profile-cosmetic-title-demo {
  color: #b4c3cb;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #182027;
  border-left: 2px solid #718995;
  max-width: 82%;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 900;
  overflow: hidden;
}

.profile-cosmetic-slot-preview[data-cosmetic="badge_recolector_emblemas"] .profile-cosmetic-badge-demo {
  color: #d2e0e4;
  background: linear-gradient(135deg, #1c2930, #12191d);
  border-color: #718b98;
  align-items: center;
  display: inline-flex;
  box-shadow: inset 0 1px #dceef414;
}

.profile-cosmetic-slot-preview[data-cosmetic="badge_recolector_emblemas"] .profile-cosmetic-badge-demo:before {
  content: "◆";
  color: #9fbcc7;
  margin-right: 5px;
  font-size: 8px;
}

.profile-cosmetic-slot-preview[data-cosmetic="badge_golden_ganso"] .profile-cosmetic-badge-demo {
  color: #f0d48d;
  background: linear-gradient(135deg, #2a2114, #17120d);
  border-color: #a98443;
  align-items: center;
  display: inline-flex;
  box-shadow: inset 0 1px #ffe7a41a, 0 0 12px #ca9a411f;
}

.profile-cosmetic-slot-preview[data-cosmetic="badge_golden_ganso"] .profile-cosmetic-badge-demo:before {
  content: "G";
  color: #f2d786;
  letter-spacing: 0;
  background: #21190f;
  border: 1px solid #b9914b;
  border-radius: 50%;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-right: 5px;
  font-size: 7px;
  display: inline-grid;
}

.profile-theme-card-copy {
  padding: 10px 2px 2px;
}

.profile-theme-card-title {
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.profile-theme-card-title strong {
  font-size: 14px;
  line-height: 1.2;
}

.profile-theme-card-title span {
  color: #8e9da8;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 1px solid #33404a;
  border-radius: 99px;
  flex: none;
  padding: 3px 6px;
  font-size: 8px;
  font-weight: 900;
}

.profile-theme-card.previewed .profile-theme-card-title span {
  color: #b8c7d0;
  border-color: #50636f;
}

.profile-theme-card-copy p {
  color: #87939d;
  min-height: 34px;
  margin: 6px 0 0;
  font-size: 10px;
  line-height: 1.45;
}

.profile-theme-card-copy small {
  color: #8998a4;
  border-top: 1px solid #27313a;
  margin-top: 10px;
  padding-top: 8px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  display: block;
}

.profile-customizer-actions {
  border-top: 1px solid #2b333d;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  display: flex;
}

.profile-customizer-actions > div:first-child {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.profile-customizer-actions strong {
  font-size: 11px;
}

.profile-customizer-actions span {
  color: #a6c9b1;
  font-size: 10px;
}

.profile-customizer-buttons {
  align-items: center;
  gap: 8px;
  display: flex;
}

.profile-customizer-buttons .ghost-button, .profile-customizer-buttons .button {
  min-width: 96px;
  margin: 0;
}

.profile-customizer-buttons .button:disabled {
  cursor: not-allowed;
  opacity: .48;
  filter: saturate(.55);
}

.profile-customizer-locked-note {
  color: #d1b982 !important;
}

@media (max-width: 760px) {
  .profile-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-customizer-modal {
    padding: 22px;
  }

  .profile-customizer-tabs {
    gap: 6px;
  }

  .profile-customizer-tabs button {
    flex: calc(50% - 6px);
  }
}

@media (max-width: 580px) {
  .profile-kicker-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .profile-customize-trigger {
    align-self: flex-start;
  }

  .profile-customizer-backdrop {
    padding: 10px;
  }

  .profile-customizer-modal {
    border-radius: 18px;
    padding: 20px 14px 16px;
  }

  .profile-theme-grid {
    grid-template-columns: 1fr;
  }

  .profile-customizer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-customizer-buttons {
    flex-wrap: wrap;
    width: 100%;
  }

  .profile-customizer-buttons .ghost-button, .profile-customizer-buttons .button {
    flex: 1;
  }

  .profile-customizer-buttons .profile-preview-button {
    flex-basis: 100%;
  }

  .profile-theme-card-copy p {
    min-height: 0;
  }
}

.collection-section {
  margin-top: 48px;
}

.collection-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 18px;
  display: flex;
}

.collection-heading h2 {
  letter-spacing: -.03em;
  margin: 6px 0 0;
  font-size: 34px;
}

.collection-heading p {
  margin: 4px 0 0;
}

.collection-count {
  color: #9299a6;
  font-size: 14px;
}

.filter-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  display: flex;
}

.filter-button {
  color: #aeb5c0;
  background: #15181e;
  border: 1px solid #2d323c;
  padding: 9px 13px;
}

.filter-button.active {
  color: #111318;
  background: #f2f4f7;
  border-color: #f2f4f7;
}

.card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.collection-card {
  text-align: left;
  cursor: pointer;
  background: #15181e;
  border: 1px solid #2b3038;
  border-radius: 18px;
  padding: 0;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  position: relative;
  overflow: hidden;
}

.collection-card:hover {
  border-color: #4b5360;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #00000042;
}

.card-art {
  aspect-ratio: 939 / 1675;
  background: #101217;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.card-art img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.locked-art {
  color: #69717f;
  letter-spacing: .18em;
  background: linear-gradient(145deg, #151820, #0f1116);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  font-size: 10px;
  font-weight: 800;
  display: flex;
}

.locked-art.large {
  min-height: 100%;
}

.lock-mark {
  opacity: .62;
  font-size: 26px;
  line-height: 1;
}

.card-meta {
  justify-content: space-between;
  gap: 8px;
  padding: 12px 13px 0;
  display: flex;
}

.card-number, .rarity-label {
  letter-spacing: .1em;
  color: #8f97a4;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}

.card-name {
  flex-direction: column;
  gap: 3px;
  min-height: 70px;
  padding: 7px 13px 14px;
  display: flex;
}

.card-name strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  overflow: hidden;
}

.card-name span {
  color: #8f97a4;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  overflow: hidden;
}

.card-name em {
  color: #c7ccd5;
  margin-top: 4px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.locked-name strong {
  color: #727a88;
}

.rarity-normal {
  --rarity-accent: #7d8592;
}

.rarity-rare {
  --rarity-accent: #6784aa;
}

.rarity-super-rare {
  --rarity-accent: #8c739e;
}

.rarity-ssr {
  --rarity-accent: #a89463;
}

.rarity-secret {
  --rarity-accent: #494d57;
}

.collection-card:before, .modal-card-preview:before {
  content: "";
  background: var(--rarity-accent, #7d8592);
  z-index: 2;
  height: 2px;
  position: absolute;
  inset: 0 0 auto;
}

.collection-card.rarity-secret {
  border-color: #30333a;
}

.collection-card.rarity-secret .locked-art {
  background: linear-gradient(145deg, #111217, #090a0d);
}

.empty-state {
  text-align: center;
  color: #89919f;
  border: 1px dashed #303640;
  border-radius: 18px;
  padding: 40px;
}

.modal-backdrop {
  z-index: 30;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #050608c7;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
  position: fixed;
  inset: 0;
}

.card-modal {
  background: #14171d;
  border: 1px solid #323844;
  border-radius: 24px;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 28px;
  width: min(760px, 100%);
  padding: 24px;
  display: grid;
  position: relative;
  box-shadow: 0 30px 90px #00000080;
}

.modal-card-preview {
  background: #101217;
  border: 1px solid #303640;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.modal-copy {
  align-self: center;
}

.modal-copy h2 {
  margin: 8px 0;
  font-size: 32px;
}

.modal-copy p {
  margin: 0;
}

.modal-close {
  cursor: pointer;
  z-index: 3;
  background: #1a1e25;
  border: 1px solid #353b46;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  position: absolute;
  top: 12px;
  right: 14px;
}

.modal-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  display: flex;
}

.modal-stats span {
  color: #b7bec8;
  background: #1d2129;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  main {
    padding: 52px 18px 90px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .card-modal {
    grid-template-columns: 220px 1fr;
  }

  .collection-heading {
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .profile-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .ghost-button {
    margin-left: 80px;
  }

  .collection-heading {
    display: block;
  }

  .collection-count {
    margin-top: 8px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card-name {
    min-height: 64px;
  }

  .card-modal {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow: auto;
  }

  .modal-card-preview {
    width: min(230px, 72%);
    margin: auto;
  }

  .filter-row {
    gap: 6px;
  }

  .filter-button {
    padding: 8px 10px;
  }
}

.admin-test-panel {
  border-color: #3d4554;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  display: flex;
}

.admin-test-panel h2 {
  margin: 6px 0;
}

.admin-test-panel p {
  margin: 5px 0;
}

.admin-actions {
  flex-shrink: 0;
  gap: 10px;
  display: flex;
}

.admin-action {
  margin: 0;
}

.admin-action:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.action-message {
  font-weight: 700;
  color: #d4d8df !important;
}

.latest-pull-section {
  margin-top: 38px;
}

.pull-result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.pull-result-card {
  background: #15181e;
  border: 1px solid #2e343e;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.pull-result-card:before {
  content: "";
  background: var(--rarity-accent, #7d8592);
  z-index: 2;
  height: 2px;
  position: absolute;
  inset: 0 0 auto;
}

.pull-result-copy {
  flex-direction: column;
  gap: 3px;
  padding: 10px 13px 15px;
  display: flex;
}

.pull-result-copy .card-meta {
  padding: 0 0 5px;
}

.pull-result-copy strong {
  font-size: 15px;
}

.pull-result-copy > span {
  color: #8f97a4;
  font-size: 12px;
}

.pull-result-copy em {
  letter-spacing: .1em;
  color: #c9ced7;
  margin-top: 6px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 760px) {
  .admin-test-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-action {
    flex: 1;
  }

  .pull-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 580px) {
  .pull-result-grid {
    grid-template-columns: 1fr;
  }

  .pull-result-card {
    grid-template-columns: 120px 1fr;
    display: grid;
  }

  .pull-result-card .card-art {
    aspect-ratio: auto;
    height: 210px;
  }
}

.admin-control-stack {
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  display: flex;
}

.button.secondary {
  color: #121419;
  background: #d9dde5;
}

.history-section {
  margin-top: 42px;
}

.history-list {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.history-row {
  background: #14171d;
  border: 1px solid #292f38;
  border-radius: 15px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
  display: flex;
}

.history-info {
  flex-direction: column;
  gap: 3px;
  min-width: 150px;
  display: flex;
}

.history-info strong {
  font-size: 14px;
}

.history-info span {
  color: #8e96a3;
  font-size: 12px;
}

.history-thumbs {
  justify-content: flex-end;
  gap: 5px;
  display: flex;
  overflow: hidden;
}

.history-thumb {
  background: #101217;
  border: 1px solid #343a45;
  border-radius: 6px;
  flex: none;
  width: 36px;
  height: 54px;
  position: relative;
  overflow: hidden;
}

.history-thumb:before {
  content: "";
  background: var(--rarity-accent, #7d8592);
  z-index: 2;
  height: 2px;
  position: absolute;
  inset: 0 0 auto;
}

.history-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.history-thumb span {
  color: #69717f;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 10px;
  display: grid;
}

.reveal-backdrop {
  z-index: 60;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #060709e6;
  justify-content: center;
  align-items: center;
  padding: 22px;
  display: flex;
  position: fixed;
  inset: 0;
}

.reveal-modal {
  background: #11141a;
  border: 1px solid #303743;
  border-radius: 26px;
  width: min(980px, 100%);
  max-height: 94vh;
  padding: 28px;
  position: relative;
  overflow: auto;
  box-shadow: 0 32px 100px #0009;
}

.reveal-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 18px;
}

.reveal-header h2 {
  letter-spacing: -.025em;
  margin: 7px 0 2px;
  font-size: 30px;
}

.reveal-header p {
  margin: 0;
  font-size: 14px;
}

.reveal-stage {
  background: #0d1015;
  border: 1px solid #2d333e;
  border-radius: 22px;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.reveal-stage:before {
  content: "";
  background: var(--rarity-accent, #353b45);
  height: 3px;
  position: absolute;
  inset: 0 0 auto;
}

.reveal-card-enter {
  grid-template-columns: minmax(180px, 270px) 1fr;
  align-items: center;
  gap: 26px;
  animation: .34s both revealIn;
  display: grid;
}

.reveal-art {
  aspect-ratio: 939 / 1675;
  background: #0a0c10;
  border: 1px solid #303641;
  border-radius: 15px;
  overflow: hidden;
}

.reveal-art img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.reveal-card-back {
  color: #737c8a;
  background: radial-gradient(circle at 50% 35%, #202631, #101318 58%, #0b0d11);
  border: 1px solid #303641;
  border-radius: 15px;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 310px;
  display: grid;
}

.reveal-card-back span {
  letter-spacing: .14em;
  border: 1px solid #46505e;
  border-radius: 50%;
  place-items: center;
  width: 68px;
  height: 68px;
  font-weight: 900;
  display: grid;
}

.reveal-card-copy h3 {
  letter-spacing: -.035em;
  margin: 10px 0 6px;
  font-size: 34px;
  line-height: 1.05;
}

.reveal-card-copy p {
  margin: 0 0 16px;
}

.reveal-meta {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #929aa7;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
}

.result-badge {
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 9px;
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
}

.result-badge.new {
  color: #edf0f5;
  background: #252a32;
}

.result-badge.duplicate {
  color: #aeb5c0;
  background: #1b1e24;
  border: 1px solid #303641;
}

.reveal-ready {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  margin: auto;
  display: flex;
}

.reveal-ready .reveal-card-back {
  width: 190px;
  min-height: 340px;
}

.reveal-ready p {
  margin: 0;
}

.reveal-progress {
  color: #8f97a4;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 14px auto 0;
  font-size: 11px;
  font-weight: 800;
  display: flex;
}

.reveal-progress-bar {
  background: #252a32;
  border-radius: 99px;
  flex: 1;
  height: 5px;
  overflow: hidden;
}

.reveal-progress-bar span {
  background: #c5cad3;
  height: 100%;
  transition: width .28s;
  display: block;
}

.reveal-actions {
  justify-content: center;
  margin-top: 18px;
  display: flex;
}

.reveal-next {
  min-width: 190px;
  margin: 0;
}

.reveal-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.reveal-summary-grid.many {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.reveal-summary-card {
  background: #15181e;
  border: 1px solid #2d333d;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.reveal-summary-card:before {
  content: "";
  background: var(--rarity-accent, #7d8592);
  z-index: 2;
  height: 2px;
  position: absolute;
  inset: 0 0 auto;
}

.reveal-summary-copy {
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px 12px;
  display: flex;
}

.reveal-summary-copy strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  overflow: hidden;
}

.reveal-summary-copy span {
  color: #8f97a4;
  font-size: 10px;
}

.reveal-summary-copy em {
  letter-spacing: .08em;
  color: #cdd2da;
  margin-top: 3px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(10px)scale(.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .reveal-summary-grid.many {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .history-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .history-thumbs {
    justify-content: flex-start;
    width: 100%;
  }

  .reveal-card-enter {
    grid-template-columns: 190px 1fr;
  }

  .reveal-card-copy h3 {
    font-size: 26px;
  }
}

@media (max-width: 580px) {
  .admin-control-stack {
    width: 100%;
  }

  .reveal-backdrop {
    padding: 8px;
  }

  .reveal-modal {
    border-radius: 20px;
    padding: 22px 14px 18px;
  }

  .reveal-card-enter {
    grid-template-columns: 1fr;
  }

  .reveal-art {
    width: min(220px, 70vw);
    margin: auto;
  }

  .reveal-card-copy {
    text-align: center;
  }

  .reveal-meta {
    font-size: 9px;
  }

  .reveal-summary-grid, .reveal-summary-grid.many {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .reveal-summary-copy {
    padding: 7px;
  }

  .reveal-summary-copy strong {
    font-size: 10px;
  }

  .reveal-summary-copy span, .reveal-summary-copy em {
    font-size: 8px;
  }

  .history-thumb {
    width: 31px;
    height: 47px;
  }
}

.obs-admin-controls {
  border-top: 1px solid #2e343e;
  flex-direction: column;
  gap: 9px;
  margin-top: 8px;
  padding-top: 10px;
  display: flex;
}

.obs-admin-status {
  flex-direction: column;
  gap: 3px;
  display: flex;
}

.obs-admin-status strong {
  color: #d7dce4;
  letter-spacing: .02em;
  font-size: 12px;
  font-weight: 800;
}

.history-row-right {
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.history-obs-button {
  white-space: nowrap;
  margin-left: 0;
  padding: 8px 10px;
  font-size: 11px;
}

@media (max-width: 760px) {
  .history-row-right {
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 580px) {
  .history-row-right {
    flex-direction: column;
  }

  .history-obs-button {
    width: 100%;
  }
}

.rarity-stars-inline {
  color: var(--rarity-accent, #c9ad72);
  letter-spacing: .045em;
  white-space: nowrap;
  font-size: .92em;
}

.stream-checkin-banner {
  background: radial-gradient(circle at 8%, #58b18c1a, #0000 30%), linear-gradient(135deg, #15201c, #12181a);
  border: 1px solid #31594c;
  border-radius: 17px;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 18px 20px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px #00000029;
}

.stream-checkin-banner:before {
  content: "";
  opacity: .8;
  background: #55b98b;
  width: 3px;
  position: absolute;
  inset: 0 auto 0 0;
}

.stream-checkin-banner.claimed {
  background: linear-gradient(135deg, #151d1a, #12171a);
  border-color: #314a40;
}

.stream-checkin-icon {
  color: #8de0b5;
  background: #172920;
  border: 1px solid #3e735d;
  border-radius: 14px;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 21px;
  font-weight: 900;
  display: grid;
}

.stream-checkin-copy {
  flex: 1;
  min-width: 0;
}

.stream-checkin-copy h2 {
  letter-spacing: -.02em;
  color: #e5f2eb;
  margin: 4px 0 2px;
  font-size: 19px;
}

.stream-checkin-copy p {
  color: #98aaa1;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.stream-checkin-button {
  color: #112019;
  cursor: pointer;
  background: #d9f1e4;
  border: 1px solid #5e9d7d;
  border-radius: 11px;
  flex: none;
  min-height: 40px;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 900;
}

.stream-checkin-button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.stream-checkin-reward {
  text-align: right;
  flex: none;
}

.stream-checkin-reward span {
  letter-spacing: .15em;
  color: #729281;
  font-size: 8px;
  font-weight: 900;
  display: block;
}

.stream-checkin-reward strong {
  color: #aee4c6;
  margin-top: 3px;
  font-size: 18px;
  display: block;
}

@media (max-width: 580px) {
  .stream-checkin-banner {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 16px;
  }

  .stream-checkin-copy {
    flex: calc(100% - 68px);
  }

  .stream-checkin-button {
    width: 100%;
  }

  .stream-checkin-reward {
    text-align: left;
    width: 100%;
    padding-left: 64px;
  }
}

.album-completion-notice {
  background: radial-gradient(circle at 8%, #d8c69624, #0000 31%), linear-gradient(135deg, #201d17, #151514);
  border: 1px solid #665b42;
  border-radius: 18px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  margin-top: 14px;
  padding: 20px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px #00000030, inset 0 1px #efe1b70e;
}

.album-completion-notice:before {
  content: "";
  opacity: .9;
  background: linear-gradient(#0000, #d3be87 22% 78%, #0000);
  width: 3px;
  position: absolute;
  inset: 0 auto 0 0;
}

.album-completion-notice[data-completion="secret_complete"] {
  background: radial-gradient(circle at 8%, #ae495626, #0000 31%), linear-gradient(135deg, #24171a, #161315);
  border-color: #683741;
}

.album-completion-notice[data-completion="secret_complete"]:before {
  background: linear-gradient(#0000, #b75461 22% 78%, #0000);
}

.album-completion-emblem {
  color: #e1cf9e;
  background: linear-gradient(145deg, #2c271d, #1b1915);
  border: 1px solid #7a6a48;
  border-radius: 18px;
  place-items: center;
  width: 58px;
  height: 58px;
  font-size: 25px;
  display: grid;
  box-shadow: 0 0 28px #d2be891f;
}

.album-completion-notice[data-completion="secret_complete"] .album-completion-emblem {
  color: #df8b94;
  background: linear-gradient(145deg, #351d22, #1f1518);
  border-color: #7b3d47;
  box-shadow: 0 0 28px #b1495521;
}

.album-completion-copy {
  min-width: 0;
}

.album-completion-copy .eyebrow {
  color: #bea978;
}

.album-completion-notice[data-completion="secret_complete"] .album-completion-copy .eyebrow {
  color: #bc737c;
}

.album-completion-copy h2 {
  letter-spacing: -.025em;
  color: #f2ead5;
  margin: 4px 0 3px;
  font-size: 21px;
}

.album-completion-notice[data-completion="secret_complete"] .album-completion-copy h2 {
  color: #f1dde0;
}

.album-completion-copy p {
  color: #a9a18e;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.album-completion-notice[data-completion="secret_complete"] .album-completion-copy p {
  color: #a99195;
}

.album-completion-rewards {
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  margin-top: 9px;
  display: flex;
}

.album-completion-rewards span {
  letter-spacing: .14em;
  color: #94866b;
  flex: none;
  font-size: 8px;
  font-weight: 900;
}

.album-completion-rewards strong {
  color: #d8cba8;
  min-width: 0;
  font-size: 11px;
  line-height: 1.4;
}

.album-completion-notice[data-completion="secret_complete"] .album-completion-rewards strong {
  color: #d3a7ac;
}

.album-completion-copy small {
  color: #807766;
  margin-top: 6px;
  font-size: 9px;
  display: block;
}

.album-completion-ack {
  color: #1b1812;
  cursor: pointer;
  white-space: nowrap;
  background: #dfc98f;
  border: 1px solid #7a6b4b;
  border-radius: 11px;
  min-height: 40px;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 900;
}

.album-completion-ack:hover {
  filter: brightness(1.04);
}

.album-completion-notice[data-completion="secret_complete"] .album-completion-ack {
  color: #211215;
  background: #c56a76;
  border-color: #8a4651;
}

@media (max-width: 680px) {
  .album-completion-notice {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    padding: 17px;
  }

  .album-completion-emblem {
    border-radius: 14px;
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .album-completion-ack {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 460px) {
  .album-completion-notice {
    grid-template-columns: 1fr;
  }

  .album-completion-emblem {
    width: 44px;
    height: 44px;
  }

  .album-completion-rewards {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
}

.profile-cosmetic-unlock-banner {
  border: 1px solid color-mix(in srgb,var(--ambient-accent) 34%,#38434d);
  background: radial-gradient(circle at 7% 50%,color-mix(in srgb,var(--ambient-accent) 12%,transparent),transparent 34%),linear-gradient(135deg,#171c21,#12161b);
  border-radius: 17px;
  align-items: center;
  gap: 15px;
  margin-top: 14px;
  padding: 17px 18px;
  display: flex;
  position: relative;
  box-shadow: 0 10px 28px #00000026;
}

.profile-cosmetic-unlock-icon {
  border: 1px solid color-mix(in srgb,var(--ambient-accent) 42%,#3a4650);
  background: color-mix(in srgb,var(--ambient-accent) 8%,#172029);
  width: 46px;
  height: 46px;
  color: color-mix(in srgb,var(--ambient-accent) 76%,#dce5e9);
  border-radius: 14px;
  flex: 0 0 46px;
  place-items: center;
  font-size: 18px;
  display: grid;
}

.profile-cosmetic-unlock-copy {
  flex: 1;
  min-width: 0;
}

.profile-cosmetic-unlock-copy h2 {
  letter-spacing: -.02em;
  margin: 4px 0 2px;
  font-size: 18px;
}

.profile-cosmetic-unlock-copy p {
  color: #929da7;
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.profile-cosmetic-unlock-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.profile-cosmetic-unlock-actions .button {
  white-space: nowrap;
  margin: 0;
}

.profile-cosmetic-unlock-dismiss {
  color: #89959e;
  cursor: pointer;
  background: #151b20;
  border: 1px solid #36414b;
  border-radius: 10px;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 18px;
  display: grid;
}

.profile-cosmetic-unlock-dismiss:hover {
  color: #eef3f5;
  border-color: #55636e;
}

@media (max-width: 580px) {
  .profile-cosmetic-unlock-banner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .profile-cosmetic-unlock-copy {
    flex: calc(100% - 64px);
  }

  .profile-cosmetic-unlock-actions {
    justify-content: flex-end;
    width: 100%;
  }
}

.pending-ticket-banner {
  background: linear-gradient(135deg, #1c1a15, #17191e);
  border: 1px solid #4d4430;
  border-radius: 17px;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 18px 20px;
  display: flex;
  box-shadow: 0 10px 28px #00000029;
}

.pending-ticket-icon {
  background: #242016;
  border: 1px solid #5a4c2f;
  border-radius: 14px;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 24px;
  display: grid;
}

.pending-ticket-copy {
  flex: 1;
  min-width: 0;
}

.pending-ticket-copy h2 {
  letter-spacing: -.02em;
  margin: 4px 0 2px;
  font-size: 19px;
}

.pending-ticket-copy p {
  color: #a8afb9;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.pending-ticket-action {
  white-space: nowrap;
  margin-left: auto;
}

@media (max-width: 580px) {
  .pending-ticket-banner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .pending-ticket-copy {
    flex: calc(100% - 68px);
  }

  .pending-ticket-action {
    width: 100%;
    margin-left: 0;
  }
}

.milestone-progress-banner {
  background: linear-gradient(135deg, #171b21, #12161b);
  border: 1px solid #343d49;
  border-radius: 17px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 20px;
  margin-top: 14px;
  padding: 18px 20px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.milestone-progress-copy h2 {
  letter-spacing: -.02em;
  margin: 4px 0 2px;
  font-size: 19px;
}

.milestone-progress-copy p {
  color: #9da5b0;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.milestone-progress-copy .milestone-helper {
  color: #a7b1bb;
  margin-top: 4px;
  font-size: 12px;
}

.milestone-progress-number {
  align-items: baseline;
  gap: 4px;
  display: flex;
}

.milestone-progress-number strong {
  letter-spacing: -.04em;
  color: #e9e5dc;
  font-size: 27px;
}

.milestone-progress-number span {
  color: #858e9a;
  font-size: 13px;
  font-weight: 700;
}

.milestone-progress-caption {
  color: #8f98a3;
  grid-column: 1 / -1;
  margin-top: -2px;
  font-size: 11px;
  font-weight: 700;
}

.milestone-progress-track {
  background: #272e37;
  border-radius: 99px;
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
}

.milestone-progress-track span {
  border-radius: inherit;
  background: #d5c49f;
  height: 100%;
  display: block;
}

.milestone-progress-banner.complete {
  border-color: #3d493f;
}

.milestone-progress-banner.complete .milestone-progress-copy h2 {
  color: #d9e6dc;
}

.channel-activity-panel {
  background: linear-gradient(135deg, #15191f, #11151a);
  border: 1px solid #313844;
  border-radius: 17px;
  margin-top: 14px;
  padding: 20px;
}

.channel-activity-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 15px;
  display: flex;
}

.channel-activity-heading h2 {
  letter-spacing: -.02em;
  margin: 4px 0 0;
  font-size: 20px;
}

.channel-activity-heading > span {
  color: #7f8995;
  font-size: 11px;
  font-weight: 700;
}

.channel-activity-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  display: grid;
}

.channel-activity-grid article {
  background: #12171c;
  border: 1px solid #29323b;
  border-radius: 13px;
  min-width: 0;
  padding: 13px;
}

.channel-activity-icon {
  color: #9cc6d2;
  background: #17232b;
  border: 1px solid #344754;
  border-radius: 9px;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 900;
  display: grid;
}

.channel-activity-grid strong {
  color: #eef3f5;
  letter-spacing: -.025em;
  font-size: 20px;
  line-height: 1;
  display: block;
}

.channel-activity-grid small {
  color: #7e8994;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
  font-size: 9px;
  line-height: 1.35;
  display: block;
}

@media (max-width: 760px) {
  .channel-activity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .channel-activity-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .channel-activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-activity-grid article:last-child {
    grid-column: 1 / -1;
  }
}

.profile-favorites-panel {
  background: linear-gradient(135deg, #15191f, #11151a);
  border: 1px solid #313844;
  border-radius: 17px;
  margin-top: 14px;
  padding: 22px;
}

.profile-favorites-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
  display: flex;
}

.profile-favorites-heading h2 {
  letter-spacing: -.02em;
  margin: 4px 0 0;
  font-size: 21px;
}

.profile-favorites-heading p {
  color: #7f8995;
  margin: 4px 0 0;
  font-size: 11px;
}

.profile-favorites-edit {
  margin-left: 0;
}

.profile-favorites-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.profile-favorite-item {
  background: linear-gradient(145deg, #131920, #11161b);
  border: 1px solid #29323b;
  border-radius: 14px;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 144px;
  padding: 16px;
  display: flex;
}

.profile-favorite-kicker {
  letter-spacing: .16em;
  color: #7b92a1;
  margin-bottom: 8px;
  font-size: 8px;
  font-weight: 900;
  display: block;
}

.profile-favorite-item strong {
  text-overflow: ellipsis;
  letter-spacing: -.015em;
  color: #f0f4f6;
  font-size: 17px;
  line-height: 1.18;
  display: block;
  overflow: hidden;
}

.profile-favorite-item small {
  color: #82909c;
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.35;
  display: block;
}

.profile-favorite-item.card-favorite, .profile-favorite-item.visual-favorite {
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  display: grid;
}

.profile-favorite-item.card-favorite img, .profile-favorite-item.visual-favorite img, .profile-favorite-card-placeholder {
  object-fit: cover;
  background: #0f1419;
  border: 1px solid #3a4652;
  border-radius: 10px;
  width: 72px;
  height: 102px;
  box-shadow: 0 9px 22px #0003;
}

.profile-favorite-card-placeholder {
  color: #788995;
  place-items: center;
  font-size: 21px;
  display: grid;
}

.profile-favorites-editor {
  border-top: 1px solid #252e37;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 14px;
  padding-top: 14px;
  display: grid;
}

.profile-favorites-editor label {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.profile-favorites-editor label > span {
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #7f8e99;
  font-size: 9px;
  font-weight: 800;
}

.profile-favorites-editor input, .profile-favorites-editor select {
  color: #e8edf0;
  background: #10151a;
  border: 1px solid #303a45;
  border-radius: 10px;
  outline: none;
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
}

.profile-favorites-editor input:focus, .profile-favorites-editor select:focus {
  border-color: #57717f;
}

.profile-catalog-field {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
  position: relative;
}

.profile-catalog-field > span {
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #7f8e99;
  font-size: 9px;
  font-weight: 800;
}

.profile-catalog-input-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  display: grid;
}

.profile-catalog-input-row button {
  color: #89949e;
  cursor: pointer;
  background: #151b21;
  border: 1px solid #303a45;
  border-radius: 10px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 800;
}

.profile-catalog-input-row button:hover {
  color: #c5ced5;
  border-color: #4a5966;
}

.profile-catalog-selected {
  color: #8fc7a7;
  font-size: 9px;
}

.profile-catalog-status {
  color: #7f8c97;
  border: 1px dashed #303a45;
  border-radius: 9px;
  padding: 8px 9px;
  font-size: 10px;
}

.profile-catalog-results {
  z-index: 25;
  background: #0f1419;
  border: 1px solid #34404b;
  border-radius: 12px;
  max-height: 330px;
  padding: 6px;
  position: absolute;
  top: 67px;
  left: 0;
  right: 0;
  overflow: auto;
  box-shadow: 0 18px 40px #00000061;
}

.profile-catalog-results > button {
  color: #dce3e8;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 9px;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  display: grid;
}

.profile-catalog-results > button:hover {
  background: #182028;
}

.profile-catalog-results img, .catalog-thumb-placeholder {
  object-fit: cover;
  background: #121820;
  border: 1px solid #303a45;
  border-radius: 7px;
  width: 40px;
  height: 56px;
}

.catalog-thumb-placeholder {
  color: #71808b;
  place-items: center;
  display: grid;
}

.profile-catalog-results strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  display: block;
  overflow: hidden;
}

.profile-catalog-results small {
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #788793;
  margin-top: 3px;
  font-size: 9px;
  display: block;
  overflow: hidden;
}

.profile-favorites-editor-actions {
  grid-column: 1 / -1;
  align-items: center;
  gap: 12px;
  display: flex;
}

.profile-favorites-editor-actions .button {
  margin-top: 0;
}

.profile-favorites-message {
  color: #9bc9ad;
  font-size: 11px;
}

@media (max-width: 900px) {
  .profile-favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-favorite-item {
    min-height: 136px;
  }

  .profile-favorite-item.card-favorite, .profile-favorite-item.visual-favorite {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .profile-favorite-item.card-favorite img, .profile-favorite-item.visual-favorite img, .profile-favorite-card-placeholder {
    width: 68px;
    height: 96px;
  }
}

@media (max-width: 580px) {
  .profile-favorites-panel {
    padding: 18px;
  }

  .profile-favorites-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-favorites-grid, .profile-favorites-editor {
    grid-template-columns: 1fr;
  }

  .profile-favorite-item {
    min-height: 126px;
    padding: 14px;
  }

  .profile-favorite-item.card-favorite, .profile-favorite-item.visual-favorite {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }

  .profile-favorite-item.card-favorite img, .profile-favorite-item.visual-favorite img, .profile-favorite-card-placeholder {
    width: 62px;
    height: 88px;
  }

  .profile-favorite-item strong {
    font-size: 16px;
  }

  .profile-favorites-editor-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-favorites-editor-actions .button {
    width: 100%;
  }

  .profile-catalog-results {
    max-height: 260px;
    position: static;
  }

  .milestone-progress-banner {
    grid-template-columns: 1fr auto;
    padding: 16px;
  }

  .milestone-progress-copy h2 {
    font-size: 17px;
  }
}

.level-up-notice {
  background: radial-gradient(circle at 8%, #85b4e021, #0000 30%), linear-gradient(135deg, #17202a, #14191f);
  border: 1px solid #48627c;
  border-radius: 17px;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 17px 52px 17px 18px;
  display: flex;
  position: relative;
  box-shadow: 0 10px 30px #0000002e, inset 0 0 45px #79a9d606;
}

.level-up-notice-icon {
  color: #b8dcff;
  background: #182736;
  border: 1px solid #58799a;
  border-radius: 50%;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 22px;
  display: grid;
  box-shadow: 0 0 22px #73a9dc1f;
}

.level-up-notice-copy {
  flex: 1;
  min-width: 0;
}

.level-up-notice-copy h2 {
  letter-spacing: -.02em;
  color: #e9f4ff;
  margin: 4px 0 2px;
  font-size: 19px;
}

.level-up-notice-copy p {
  color: #aab9c8;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.level-up-notice-close {
  color: #8798aa;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 999px;
  width: 28px;
  height: 28px;
  font: 700 22px / 1 sans-serif;
  position: absolute;
  top: 12px;
  right: 14px;
}

.level-up-notice-close:hover {
  color: #dcecff;
  background: #202a35;
}

@media (max-width: 580px) {
  .level-up-notice {
    align-items: flex-start;
    padding: 16px 46px 16px 16px;
  }

  .level-up-notice-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .level-up-notice-copy h2 {
    font-size: 17px;
  }
}

@media (max-width: 980px) {
  .player-profile {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 22px;
  }

  .profile-avatar-frame {
    width: 140px;
  }

  .profile-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 680px) {
  .player-profile {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
  }

  .profile-avatar-frame {
    border-radius: 20px;
    width: 116px;
  }

  .profile-avatar, .profile-avatar-placeholder {
    border-radius: 14px;
  }

  .player-profile-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .player-profile-heading h2 {
    font-size: 30px;
  }

  .profile-level-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-top: 14px;
  }

  .profile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-stat {
    padding: 0 14px;
  }

  .profile-stat > span {
    letter-spacing: .11em;
    font-size: 9px;
  }

  .profile-stat strong {
    font-size: 23px;
  }
}

@media (max-width: 480px) {
  .player-profile {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .profile-avatar-frame {
    width: min(168px, 56vw);
    margin: 0 auto;
  }

  .player-profile-main {
    text-align: center;
  }

  .profile-name-row, .profile-badges {
    justify-content: center;
  }

  .profile-level-line {
    align-items: center;
  }

  .profile-xp-meta {
    text-align: left;
  }

  .profile-next-reward {
    justify-content: center;
  }

  .profile-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 18px;
  }

  .profile-stat {
    text-align: left;
    padding: 0 9px;
  }

  .profile-stat:first-child {
    padding-left: 0;
  }

  .profile-stat:last-child {
    padding-right: 0;
  }

  .profile-stat > span {
    min-height: 24px;
    font-size: 8px;
  }

  .profile-stat strong {
    font-size: 22px;
  }

  .profile-stat strong small {
    font-size: 11px;
  }

  .profile-live-preview-actions {
    flex-direction: column;
  }

  .profile-live-preview-actions .ghost-button, .profile-live-preview-actions .button {
    width: 100%;
  }
}

.visual-qa-banner {
  color: #eac18f;
  background: linear-gradient(135deg, #251b12, #171511);
  border: 1px solid #77552e;
  border-radius: 13px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  padding: 12px 15px;
  display: flex;
}

.visual-qa-banner strong {
  letter-spacing: .1em;
  font-size: 11px;
}

.visual-qa-banner span {
  color: #ae9b84;
  text-align: right;
  font-size: 11px;
}

.visual-qa-role {
  color: #e7bc86 !important;
  background: #2b1d10 !important;
  border-color: #8b6338 !important;
}

@media (max-width: 620px) {
  .visual-qa-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .visual-qa-banner span {
    text-align: left;
  }
}

.profile-medals-shelf {
  border-top: 1px solid var(--profile-divider);
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: stretch;
  gap: 16px 24px;
  padding-top: 20px;
  display: grid;
}

.profile-medals-heading {
  grid-column: 1 / -1;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  display: flex;
}

.profile-medals-heading > div {
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.profile-medals-heading span, .profile-medal-progress span {
  letter-spacing: .14em;
  color: var(--profile-stat-label);
  font-size: 10px;
  font-weight: 900;
}

.profile-medals-heading strong {
  color: var(--profile-stat-muted);
  font-size: 12px;
}

.profile-medals-heading button {
  color: var(--profile-accent);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 800;
}

.profile-medal-slots {
  grid-template-columns: repeat(3, minmax(92px, 112px));
  gap: 10px;
  display: grid;
}

.profile-medal-slot {
  border: 1px dashed color-mix(in srgb,var(--profile-border) 72%,transparent);
  background: color-mix(in srgb,var(--profile-accent-soft) 48%,transparent);
  border-radius: 16px;
  align-content: center;
  place-items: center;
  gap: 5px;
  min-height: 104px;
  padding: 10px 8px;
  display: grid;
}

.profile-medal-slot.is-filled {
  background: linear-gradient(145deg,color-mix(in srgb,var(--profile-accent-soft) 75%,transparent),#0a0c102e);
  border-style: solid;
}

.profile-medal-slot img {
  object-fit: contain;
  transform-origin: center;
  width: 78px;
  height: 78px;
}

.profile-medal-fallback, .profile-medal-empty {
  width: 58px;
  height: 58px;
  color: var(--profile-accent);
  place-items: center;
  font-size: 32px;
  line-height: 1;
  display: grid;
}

.profile-medal-empty {
  opacity: .32;
}

.profile-medal-slot small {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  color: var(--profile-reward-text);
  font-size: 10px;
  font-weight: 800;
  overflow: hidden;
}

.profile-medal-progress {
  border: 1px solid var(--profile-reward-border);
  background: linear-gradient(135deg,var(--profile-reward-bg-from),var(--profile-reward-bg-to));
  border-radius: 14px;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  min-height: 104px;
  padding: 14px 16px;
  display: flex;
}

.profile-medal-progress > div:first-child {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.profile-medal-progress strong {
  color: var(--profile-reward-text);
  font-size: 13px;
  line-height: 1.35;
}

.profile-medal-progress small {
  color: var(--profile-reward-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.profile-medal-progress-track {
  background: var(--profile-xp-track-bg);
  border-radius: 999px;
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
}

.profile-medal-progress-track > span {
  border-radius: inherit;
  background: linear-gradient(90deg,var(--profile-xp-start),var(--profile-xp-end));
  height: 100%;
  box-shadow: 0 0 10px var(--profile-glow);
  display: block;
}

.medal-gallery-backdrop {
  z-index: 80;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #040609c2;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}

.medal-gallery-modal {
  background: linear-gradient(#171a20, #101217);
  border: 1px solid #353b46;
  border-radius: 24px;
  width: min(980px, 100%);
  max-height: min(820px, 90vh);
  padding: 24px;
  overflow: auto;
  box-shadow: 0 26px 90px #0000007a;
}

.medal-gallery-header {
  border-bottom: 1px solid #2b3039;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 18px;
  display: flex;
}

.medal-gallery-header h2 {
  letter-spacing: -.035em;
  margin: 4px 0 2px;
  font-size: 32px;
}

.medal-gallery-header p {
  margin: 0;
  font-size: 13px;
}

.medal-gallery-close {
  color: #e7ebf1;
  cursor: pointer;
  background: #171b21;
  border: 1px solid #3a404b;
  border-radius: 12px;
  width: 38px;
  height: 38px;
  font-size: 24px;
}

.medal-gallery-progression {
  background: #141820;
  border: 1px solid #303744;
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 18px 0;
  padding: 14px 16px;
  display: flex;
}

.medal-gallery-progression strong {
  font-size: 14px;
}

.medal-gallery-progression span {
  color: #9ca6b5;
  font-size: 12px;
}

.medal-gallery-message {
  color: #e3cf9b;
  background: #241f15;
  border: 1px solid #594f38;
  border-radius: 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  font-size: 12px;
}

.medal-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.medal-gallery-card {
  background: #15181e;
  border: 1px solid #303640;
  border-radius: 16px;
  grid-template-columns: 102px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  display: grid;
}

.medal-gallery-card.is-locked {
  opacity: .54;
}

.medal-gallery-art {
  background: radial-gradient(circle, #222a37, #101318);
  border: 1px solid #343b47;
  border-radius: 16px;
  place-items: center;
  width: 92px;
  height: 92px;
  display: grid;
}

.medal-gallery-art img {
  object-fit: contain;
  transform-origin: center;
  width: 84px;
  height: 84px;
}

.medal-gallery-art span {
  color: #8aaeb8;
  font-size: 40px;
}

.medal-gallery-copy {
  min-width: 0;
}

.medal-gallery-copy h3 {
  margin: 0;
  font-size: 15px;
}

.medal-gallery-copy p {
  margin: 5px 0 4px;
  font-size: 12px;
  line-height: 1.45;
}

.medal-gallery-copy small {
  color: #87919f;
  font-size: 10px;
}

.medal-gallery-title-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.medal-legacy-tag {
  letter-spacing: .12em;
  color: #cdbf9f;
  border: 1px solid #544c40;
  border-radius: 999px;
  padding: 3px 6px;
  font-size: 8px;
  font-weight: 900;
}

.medal-gallery-card button {
  color: #b9dce4;
  cursor: pointer;
  white-space: nowrap;
  background: #18252c;
  border: 1px solid #3d5360;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 10px;
  font-weight: 800;
}

.medal-gallery-card button:disabled {
  opacity: .55;
  cursor: default;
}

.medal-gallery-lock {
  color: #77808d;
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 820px) {
  .profile-medals-shelf {
    grid-template-columns: 1fr;
  }

  .profile-medal-progress {
    width: 100%;
    min-width: 0;
    min-height: 0;
  }

  .medal-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .profile-medal-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-medal-slot {
    min-height: 92px;
  }

  .profile-medal-slot img {
    width: 64px;
    height: 64px;
  }

  .profile-medals-heading > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .medal-gallery-backdrop {
    padding: 10px;
  }

  .medal-gallery-modal {
    border-radius: 18px;
    padding: 18px;
  }

  .medal-gallery-progression {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .medal-gallery-card {
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
  }

  .medal-gallery-art {
    width: 72px;
    height: 72px;
  }

  .medal-gallery-art img {
    width: 66px;
    height: 66px;
  }

  .medal-gallery-art span {
    font-size: 32px;
  }

  .medal-gallery-card button, .medal-gallery-lock {
    grid-column: 2;
  }
}

/*# sourceMappingURL=apps_web_app_globals_1lkgh9-.css.map*/