@import url("/static/fonts/fonts.css");

:root {
  --bg: #090a0c;
  --bg-raised: #111318;
  --panel: #171a20;
  --panel-2: #1d2128;
  --line: #2b3039;
  --line-strong: #464d59;
  --text: #f4f3ef;
  --muted: #adb3bc;
  --faint: #838b98;
  --orange: #ff8a1e;
  --orange-bright: #ffb25e;
  --orange-dark: #a9570a;
  --bronze: #9a7444;
  --green: #4bc18a;
  --red: #e35d64;
  --blue: #68a9db;
  --purple: #bb8de7;
  --yellow: #e6bd58;
  --steel-hi: #e8ecf2;
  --steel-lo: #8a93a2;
  --sidebar: 236px;
  --radius: 3px;
  --font-display: "Anton", "Arial Narrow", Arial, sans-serif;
  --font-head: "Saira Condensed", "Arial Narrow", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --cut: 12px;
  --cut-line: calc(var(--cut) * 0.7071);
}

*, *::before, *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-width: 320px;
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

button, input, select, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
}

h1 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: .015em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 8px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--faint);
}

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 640px;
  padding: 24px 16px 18px;
  border-right: 1px solid var(--line);
  background: #0d0f12;
}

.brand {
  display: flex;
  min-height: 62px;
  padding: 6px 8px 16px;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 168px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.brand-copy b {
  font-family: var(--font-head);
  font-size: 17px;
  letter-spacing: .14em;
  line-height: 1.1;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--faint);
  font-size: 11px;
}

.primary-nav {
  display: flex;
  gap: 4px;
  padding: 22px 0;
  flex-direction: column;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-link:hover {
  background: var(--panel);
  color: var(--text);
}

.nav-link.is-active {
  background: #241a11;
  color: #fff7ea;
}

.nav-link.is-active::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  background: var(--orange);
  content: "";
}

.nav-icon {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 11px;
  flex: 0 0 18px;
  color: currentColor;
}

.nav-icon::before,
.nav-icon::after {
  position: absolute;
  content: "";
}

.icon-dashboard::before {
  inset: 2px;
  border: 2px solid currentColor;
}

.icon-dashboard::after {
  top: 2px;
  bottom: 2px;
  left: 8px;
  width: 2px;
  background: currentColor;
}

.icon-submit::before {
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  background: currentColor;
}

.icon-submit::after {
  top: 2px;
  left: 8px;
  width: 2px;
  height: 14px;
  background: currentColor;
}

.icon-myclips::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-myclips::after {
  top: 5px;
  left: 7px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}

.icon-rewards::before {
  top: 2px;
  left: 4px;
  width: 10px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 52% 48% 46% 54% / 62% 62% 38% 38%;
}

.icon-leaderboard::before {
  right: 2px;
  bottom: 2px;
  left: 2px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 -5px 0 color-mix(in srgb, currentColor 80%, transparent), 0 -10px 0 color-mix(in srgb, currentColor 55%, transparent);
}

.icon-settings::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-settings::after {
  inset: 7px;
  border-radius: 50%;
  background: currentColor;
}

.icon-review::before {
  top: 2px;
  left: 3px;
  width: 12px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.icon-review::after {
  top: 5px;
  left: 8px;
  width: 2px;
  height: 7px;
  background: currentColor;
}

.sidebar-reward {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.sidebar-reward:hover,
.sidebar-reward.is-ready {
  border-color: var(--bronze);
}

.sidebar-reward small,
.sidebar-reward b {
  display: block;
  white-space: nowrap;
}

.sidebar-reward small {
  color: var(--faint);
  font-size: 10px;
  text-transform: uppercase;
}

.sidebar-reward b {
  margin-top: 1px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
}

.text-arrow {
  color: var(--orange);
}

.sidebar-account {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 30px;
  gap: 9px;
  align-items: center;
  min-height: 58px;
  margin-top: 12px;
  padding: 9px 8px;
  border-top: 1px solid var(--line);
}

.sidebar-account.is-link {
  grid-template-columns: 34px minmax(0, 1fr);
}

.account-copy {
  min-width: 0;
}

.account-copy b,
.account-copy small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.account-copy b {
  font-size: 12px;
}

.account-copy small {
  color: var(--faint);
  font-size: 10px;
}

.studio-mark {
  width: 84px;
  margin: 14px 8px 0;
  opacity: .3;
}

.environment-label {
  align-self: flex-start;
  margin: 4px 8px 0;
  color: #555b65;
  font-size: 9px;
  text-transform: uppercase;
}

.avatar {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 34px;
  border: 1px solid #655039;
  border-radius: 50%;
  background: #241a11;
  color: #ffc477;
  font-size: 11px;
  font-weight: 800;
}

.avatar-large {
  width: 52px;
  height: 52px;
  font-size: 14px;
}

.icon-button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.main-content {
  width: 100%;
  min-width: 0;
  max-width: 1520px;
  padding: 0 40px 64px;
}

.desktop-toolbar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.toolbar-product {
  color: var(--faint);
  font-size: 12px;
}

.admin-mode {
  margin-left: 12px;
  padding: 4px 7px;
  border: 1px solid #775124;
  border-radius: 3px;
  color: #f4b257;
  font-size: 10px;
  text-transform: uppercase;
}

.toolbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.crate-counter,
.profile-link {
  display: flex;
  height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-raised);
}

.crate-counter {
  gap: 7px;
  padding: 0 13px;
}

.crate-counter b {
  color: #ffc06e;
}

.crate-counter small {
  color: var(--faint);
  font-size: 10px;
}

.profile-link {
  gap: 9px;
  padding: 3px 12px 3px 4px;
  font-size: 12px;
  font-weight: 650;
}

.profile-link .avatar {
  width: 32px;
  height: 32px;
}

.mobile-bar,
.nav-scrim {
  display: none;
}

.mobile-brand {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .14em;
}

.page-heading {
  position: relative;
  max-width: 920px;
  padding: 40px 0 34px;
}

.page-heading::after {
  position: absolute;
  bottom: 14px;
  left: 0;
  display: block;
  width: 66px;
  height: 5px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 5px, transparent 5px 11px);
  content: "";
}

.page-heading.with-action {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.page-heading.with-action > div:first-child {
  max-width: 880px;
}

.page-heading p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.kicker,
.section-label,
.panel-label {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}


.button {
  display: inline-flex;
  min-height: 42px;
  padding: 2px 17px 0;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, filter 120ms ease;
}

.button-primary,
.button-large {
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  border-radius: 0;
}

.button:hover:not(:disabled) {
  filter: brightness(1.12);
}

.button-primary:hover:not(:disabled) {
  filter: brightness(1.12) drop-shadow(0 0 10px rgba(255, 138, 30, .45));
}

.button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.button-primary {
  border-color: #ff9f36;
  background: var(--orange);
  color: #140d05;
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--panel);
  color: var(--text);
}

.button-danger {
  border-color: #72353a;
  background: #2d1619;
  color: #ff9da2;
}

.button-discord {
  border-color: #7587ee;
  background: #5865f2;
  color: #fff;
}

.button-large {
  min-height: 48px;
  padding: 0 22px;
}

.button-small {
  min-height: 32px;
  padding: 0 11px;
  font-size: 12px;
}

.button-full {
  width: 100%;
}

.button-mark {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
}

.text-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #f3ad55;
  font-size: 13px;
  font-weight: 700;
}

.text-link:hover {
  color: #ffd099;
}

.notice {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 11px 14px;
  border: 1px solid #386b56;
  border-radius: 4px;
  background: #10251c;
  color: #a8ecc9;
  font-size: 13px;
}

.notice > span {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  flex: 0 0 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.notice-error {
  border-color: #68343a;
  background: #281518;
  color: #ffadb2;
}

.weekly-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid #594225;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: #171512;
}

.weekly-banner.is-cooling {
  border-color: var(--line);
  border-left-color: var(--bronze);
  background: var(--bg-raised);
}

.weekly-copy {
  align-self: center;
  padding: 32px 34px;
}

.weekly-copy h2 {
  max-width: 740px;
  margin-bottom: 10px;
  font-size: 29px;
}

.weekly-copy p {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--muted);
}

.weekly-visual {
  position: relative;
  display: grid;
  min-height: 218px;
  place-items: center;
  border-left: 1px solid #3d3327;
  background: #100f0d;
}

.weekly-visual small {
  position: absolute;
  bottom: 22px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.weekly-count {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #ffbd6c;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
}

.standard-egg {
  display: inline-block;
  width: 38px;
  height: 49px;
  border: 0;
  background: url("/static/assets/golden_egg_ingame.png") center / contain no-repeat;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5));
}

.standard-egg.is-large {
  width: 86px;
  height: 112px;
}

.mini-egg {
  display: inline-block;
  width: 14px;
  height: 18px;
  flex: 0 0 14px;
  border: 0;
  background: url("/static/assets/golden_egg_ingame.png") center / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45));
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.metric {
  min-height: 112px;
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.metric > span,
.metric > b,
.metric > small {
  display: block;
}

.metric > span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.metric > b {
  margin: 5px 0 1px;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.metric > small {
  color: var(--faint);
  font-size: 11px;
}

.metric-accent {
  border-color: #624727;
  background: #1b1712;
}

.metric-accent > b {
  color: #ffb657;
}

.metric-danger {
  border-color: #6b3439;
  background: #251518;
}

.metric-danger > b {
  color: #ff8d94;
}

.section-block {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 17px;
}

.section-heading.compact {
  align-items: center;
}

.section-heading h2 {
  margin: 0;
}

.section-heading .section-label {
  margin-bottom: 4px;
}

.section-note {
  color: var(--faint);
  font-size: 12px;
  text-align: right;
}

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

.tutorial-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  min-height: 164px;
  padding: 20px 19px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.tutorial-step.is-done {
  border-color: #315946;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  color: #f5b35f;
  font-size: 11px;
  font-weight: 800;
}

.tutorial-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.step-state {
  position: absolute;
  right: 19px;
  bottom: 16px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.step-state a {
  color: #f5ad50;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
  gap: 24px;
  align-items: start;
}

.milestone-panel {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid #594225;
  border-radius: var(--radius);
  background: #171512;
}

.milestone-panel > p {
  color: var(--muted);
  font-size: 13px;
}

.milestone-panel > small {
  display: block;
  margin: 9px 0 17px;
  color: var(--faint);
  font-size: 11px;
}

.progress,
.tier-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #292b30;
}

.progress span,
.tier-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
}

.data-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.video-row {
  display: grid;
  grid-template-columns: 40px minmax(160px, 1fr) 90px 104px 28px;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.video-row:last-child {
  border-bottom: 0;
}

.video-row:hover {
  background: var(--panel);
}

.platform-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #20242b;
  color: #d7dbe2;
  font-size: 10px;
  font-weight: 800;
}

.platform-youtube {
  border-color: #74363a;
  background: #281416;
  color: #ff9aa0;
}

.platform-tiktok,
.platform-x {
  border-color: #3d4a55;
  background: #11171c;
  color: #dbe7ef;
}

.platform-instagram {
  border-color: #704563;
  background: #251723;
  color: #e9a7d6;
}

.platform-reddit {
  border-color: #764329;
  background: #29170f;
  color: #ffac72;
}

.video-main,
.video-stat {
  min-width: 0;
}

.video-main b,
.video-main small,
.video-stat b,
.video-stat small {
  display: block;
}

.video-main b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
}

.video-main small,
.video-stat small {
  margin-top: 2px;
  color: var(--faint);
  font-size: 10px;
}

.video-stat {
  text-align: right;
}

.video-stat b {
  font-size: 13px;
}

.row-arrow {
  color: var(--faint);
  font-size: 16px;
  text-align: center;
}

.status {
  display: inline-flex;
  min-height: 24px;
  padding: 3px 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pending {
  border-color: #745329;
  background: #2a1e11;
  color: #ffc16e;
}

.status-approved {
  border-color: #365c71;
  background: #10212a;
  color: #91cfec;
}

.status-finalized,
.status-granted {
  border-color: #326147;
  background: #10251b;
  color: #86e1af;
}

.status-rejected,
.status-failed,
.status-revoked {
  border-color: #71373c;
  background: #2b171a;
  color: #ff9fa5;
}

.empty-state {
  display: grid;
  min-height: 260px;
  padding: 40px 20px;
  place-items: center;
  align-content: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state h3 {
  margin: 12px 0 5px;
}

.empty-state p {
  max-width: 460px;
  margin-bottom: 18px;
  color: var(--muted);
}

.empty-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--orange);
  font-size: 18px;
}

.empty-inline {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--faint);
  text-align: center;
}

.bundle-list {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.bundle-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px;
  min-height: 56px;
  padding: 7px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 3px solid var(--faint);
  border-radius: 4px;
  background: var(--panel);
}

.bundle-item.rarity-uncommon {
  border-left-color: var(--green);
}

.bundle-item.rarity-rare {
  border-left-color: var(--blue);
}

.bundle-item.rarity-epic {
  border-left-color: var(--purple);
}

.bundle-item.rarity-legendary {
  border-left-color: var(--yellow);
}

.bundle-item b,
.bundle-item small {
  display: block;
}

.bundle-item b {
  display: inline;
  color: #ffd39e;
}

.bundle-item small {
  margin-top: 1px;
  color: var(--faint);
  font-size: 9px;
  text-transform: uppercase;
}

.crate-art {
  display: inline-grid;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0d0f12;
}

.crate-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.crate-art.is-small {
  width: 46px;
  height: 46px;
}

.crate-art.is-small .standard-egg {
  width: 23px;
  height: 30px;
}

.bundle-list.is-compact {
  display: inline-flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.bundle-list.is-compact .bundle-item {
  display: inline-flex;
  min-height: 34px;
  padding: 3px 7px 3px 4px;
  white-space: nowrap;
}

.bundle-list.is-compact .crate-art {
  width: 28px;
  height: 28px;
}

.bundle-list.is-compact .crate-art .standard-egg {
  width: 14px;
  height: 18px;
}

.bundle-list.is-compact .bundle-item small {
  display: none;
}

.submit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
  gap: 20px;
  align-items: start;
}

.form-panel,
.submission-guide {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.form-panel {
  padding: 26px;
}

.submission-guide {
  padding: 24px;
}

.eligibility-line {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 22px;
  padding: 13px 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
}

.eligibility-line.is-ready {
  border-color: #6c4d27;
  background: #201810;
}

.eligibility-line b,
.eligibility-line small {
  display: block;
}

.eligibility-line b {
  font-size: 13px;
}

.eligibility-line small {
  color: var(--muted);
  font-size: 11px;
}

.setup-warning {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  align-items: center;
  border: 1px solid #724f27;
  border-radius: 4px;
  background: #291e12;
}

.setup-warning > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid #b77a32;
  border-radius: 50%;
  color: #ffc471;
  font-weight: 800;
}

.setup-warning p {
  margin: 2px 0 0;
  color: #d3b997;
  font-size: 12px;
}

.submission-form label,
.email-login label,
.otp-form label,
.admin-login-panel label,
.stat-form label,
.reject-form label {
  display: block;
  margin-bottom: 7px;
  color: #d4d7dd;
  font-size: 12px;
  font-weight: 700;
}

.url-input {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 54px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #0d0f12;
}

.url-input:focus-within {
  border-color: var(--orange);
}

.detected-platform {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--faint);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.detected-platform.is-valid {
  color: #ffb45c;
}

.url-input input,
.inline-field input,
.email-login input,
.otp-form input,
.admin-login-panel input,
.stat-form input,
.reject-form input,
.handle-claim-form input,
.handle-claim-form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #0c0e11;
  color: var(--text);
}

.status-awaiting_verification {
  border-color: #8a5a1c;
  background: #2a1c0b;
  color: var(--orange-bright);
}

.verify-steps {
  margin: 4px 0 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 12px;
}

.verify-steps li {
  margin-bottom: 3px;
}

.code-stack {
  display: inline-flex;
  gap: 4px;
  flex-direction: column;
  align-items: flex-start;
}

.code-stack small {
  color: var(--faint);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.review-card > .field-help {
  padding: 10px 16px 0;
  color: var(--muted);
}

.handle-code {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid #725126;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
  background: #21170e;
  color: var(--orange-bright);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  white-space: nowrap;
}

.handle-claim-form {
  display: grid;
  grid-template-columns: 170px minmax(180px, 320px) max-content;
  gap: 12px;
  margin-top: 20px;
  align-items: end;
}

.account-row:has(.handle-code) {
  grid-template-columns: 42px minmax(0, 1fr) max-content max-content max-content;
}

.handle-claim-form label {
  display: flex;
  gap: 6px;
  flex-direction: column;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.handle-claim-form input,
.handle-claim-form select {
  height: 42px;
  padding: 0 11px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}

.url-input input {
  min-width: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  outline: 0;
}

.field-help {
  min-height: 20px;
  margin: 8px 0 20px;
  color: var(--faint);
  font-size: 11px;
}

.field-help.is-error {
  color: #ff969c;
}

.check-list {
  display: flex;
  gap: 0;
  margin: 15px 0 20px;
  padding: 0;
  flex-direction: column;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.check-list li > span {
  color: var(--green);
  font-weight: 800;
}

.check-list b,
.check-list small {
  display: block;
}

.check-list b {
  font-size: 13px;
}

.check-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.rule-note {
  padding: 13px;
  border-left: 3px solid var(--orange);
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
}

.rule-note b {
  color: var(--text);
}

.filter-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.filter-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.filter-button span {
  margin-left: 4px;
  color: var(--faint);
}

.filter-button:hover,
.filter-button.is-active {
  border-color: #6a4c28;
  background: #211810;
  color: #ffc274;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mobile-ledger-action {
  display: none;
}

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: var(--bg-raised);
}

.data-table th,
.data-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  height: 42px;
  background: #0e1013;
  color: var(--faint);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  color: #cdd0d6;
  font-size: 12px;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td {
  background: #181b21;
}

.table-video,
.creator-cell {
  display: flex;
  gap: 10px;
  min-width: 0;
  align-items: center;
}

.table-video b,
.table-video small {
  display: block;
}

.table-video small {
  color: var(--faint);
  font-size: 10px;
}

.tier-label {
  color: #efb667;
  font-size: 10px;
  font-weight: 800;
}

.crate-quantity {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #ffc16f;
  font-weight: 750;
}

.row-reason {
  display: block;
  max-width: 220px;
  margin-top: 5px;
  color: #ce8c91;
  line-height: 1.3;
}

.weekly-strip {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 132px;
  padding: 20px 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.weekly-strip.is-ready {
  border-color: #664a28;
  background: #19140f;
}

.weekly-strip h2,
.weekly-strip p {
  margin-bottom: 3px;
}

.weekly-strip p {
  color: var(--muted);
  font-size: 13px;
}

.weekly-strip .section-label {
  margin-bottom: 3px;
}

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

.reward-tier {
  min-height: 270px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  opacity: .72;
}

.reward-tier.is-unlocked {
  border-color: #3c5a4c;
  opacity: 1;
}

.reward-tier.is-current {
  border-color: #765326;
  background: #18140f;
}

.tier-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 15px;
}

.tier-threshold {
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 700;
}

.tier-threshold small {
  color: var(--faint);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
}

.unlock-state {
  color: var(--faint);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.is-unlocked .unlock-state {
  color: var(--green);
}

.reward-tier > .bundle-list {
  min-height: 120px;
}

.reward-tier > small {
  display: block;
  margin-top: 11px;
  color: var(--faint);
  font-size: 10px;
}

.tier-progress {
  margin-top: 14px;
}

.reward-code {
  display: inline-block;
  padding: 4px 6px;
  border: 1px solid #485160;
  border-radius: 3px;
  background: #0d1014;
  color: #c8d7e8;
  font-family: var(--font-mono);
  font-size: 10px;
}

.headline-stat {
  display: grid;
  grid-template-columns: 24px auto;
  gap: 0 8px;
  min-width: 160px;
  padding: 12px 16px;
  align-items: center;
  border: 1px solid #624727;
  border-radius: var(--radius);
  background: #1b1712;
}

.headline-stat .mini-egg {
  grid-row: span 2;
}

.headline-stat b {
  color: #ffc16f;
  font-size: 22px;
  line-height: 1;
}

.headline-stat small {
  color: var(--faint);
  font-size: 10px;
}

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

.podium-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 13px;
  min-height: 155px;
  padding: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.podium-item.place-1 {
  border-color: #725827;
  background: #191610;
}

.podium-rank {
  position: absolute;
  top: 13px;
  right: 15px;
  color: var(--faint);
  font-size: 20px;
  font-weight: 800;
}

.podium-item h2 {
  margin-bottom: 3px;
  font-size: 19px;
}

.podium-item p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.podium-crates {
  grid-column: 1 / -1;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #ffc16f;
  font-size: 11px;
  font-weight: 750;
}

.leaderboard-table .is-you td {
  background: #20180f;
}

.rank-number {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.you-label,
.ready-label,
.warning-label,
.queue-badge {
  display: inline-flex;
  min-height: 25px;
  padding: 3px 8px;
  align-items: center;
  border: 1px solid #326148;
  border-radius: 3px;
  color: #86dfae;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.you-label {
  margin-left: 6px;
}

.warning-label,
.queue-badge {
  border-color: #765329;
  color: #ffc16d;
}

.account-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.account-row {
  display: grid;
  grid-template-columns: 42px minmax(190px, 1fr) 110px minmax(120px, auto);
  gap: 14px;
  min-height: 86px;
  padding: 16px 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.account-row:last-child {
  border-bottom: 0;
}

.account-row h3,
.account-row p {
  margin-bottom: 0;
}

.account-row p {
  color: var(--muted);
  font-size: 12px;
}

.account-logo {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--panel);
  font-weight: 800;
}

.discord-logo {
  border-color: #5967a8;
  color: #aeb8ff;
}

.steam-logo {
  border-color: #466075;
  color: #9bc9e8;
}

.game-logo {
  border-color: #745027;
  color: #ffb45c;
}

.email-logo {
  border-color: #49715f;
  color: #8be0b5;
}

.optional-label {
  margin-left: 6px;
  color: var(--faint);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 9px;
  font-weight: 650;
  text-transform: uppercase;
}

.connection-state {
  color: var(--faint);
  font-size: 11px;
  font-weight: 750;
}

.connection-state.is-linked {
  color: var(--green);
}

.account-detail {
  color: var(--faint);
  font-size: 11px;
  text-align: right;
}

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

.settings-grid .section-block {
  min-height: 220px;
}

.settings-grid p {
  max-width: 560px;
  color: var(--muted);
}

.admin-login-wrap {
  display: grid;
  min-height: calc(100vh - 80px);
  place-items: center;
  padding: 60px 20px;
}

.admin-login-panel {
  width: min(100%, 460px);
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.admin-login-panel h1 {
  font-size: 32px;
}

.admin-login-panel p {
  color: var(--muted);
}

.admin-login-panel input {
  height: 46px;
  margin-bottom: 12px;
  padding: 0 12px;
}

.admin-shield {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid #7a5429;
  border-radius: 4px;
  background: #21170e;
  color: #ffb45d;
  font-weight: 850;
}

.admin-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-queue {
  display: flex;
  gap: 14px;
  flex-direction: column;
}

.review-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.review-card-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.review-card-head h3,
.review-card-head p {
  margin: 0;
}

.review-card-head p {
  margin-top: 3px;
  color: var(--faint);
  font-size: 10px;
}

.review-url {
  display: flex;
  gap: 20px;
  min-height: 44px;
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #0e1013;
  color: var(--muted);
  font-size: 11px;
}

.review-url span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.review-url b {
  flex: 0 0 auto;
  color: #f2ac54;
}

.review-actions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr);
  gap: 18px;
  padding: 17px;
}

.stat-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(210px, .7fr);
  gap: 14px;
}

.stat-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stat-form input,
.reject-form input {
  height: 42px;
  margin-top: 4px;
  padding: 0 10px;
}

.payout-preview {
  padding: 9px 12px;
  border: 1px solid #534126;
  border-radius: 4px;
  background: #19150f;
}

.payout-preview span,
.payout-preview b,
.payout-preview small {
  display: block;
}

.payout-preview span,
.payout-preview small {
  color: var(--faint);
  font-size: 9px;
  text-transform: uppercase;
}

.payout-preview b {
  margin: 3px 0;
  color: #f2bd76;
  font-size: 12px;
}

.review-buttons {
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
  flex-wrap: wrap;
}

.reject-form {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.reject-form .button {
  margin-top: 4px;
}

.login-page {
  background: #08090b;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .65fr);
  min-height: 100vh;
}

.login-copy {
  position: relative;
  display: flex;
  min-height: 100vh;
  padding: 54px clamp(42px, 7vw, 110px);
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(88deg, rgba(8, 9, 11, .96) 26%, rgba(8, 9, 11, .82) 48%, rgba(8, 9, 11, .38) 78%, rgba(8, 9, 11, .55) 100%),
    linear-gradient(to top, rgba(8, 9, 11, .88) 0%, rgba(8, 9, 11, .25) 34%),
    url("/static/assets/branding_wide.jpg") right center / cover no-repeat,
    #0b0c0e;
}

.login-copy::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 9px, #10100e 9px 19px);
  content: "";
}

.login-metal {
  width: min(430px, 72%);
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .65)) drop-shadow(0 0 22px rgba(255, 138, 30, .18));
}

.login-brand {
  position: absolute;
  top: 34px;
  left: clamp(42px, 7vw, 110px);
  display: flex;
  gap: 12px;
  align-items: center;
}

.login-brand img {
  width: 78px;
  height: 46px;
  object-fit: contain;
}

.login-brand span,
.login-brand b,
.login-brand small {
  display: block;
}

.login-brand b {
  font-size: 17px;
}

.login-brand small {
  color: var(--faint);
  font-size: 10px;
}

.login-copy h1 {
  max-width: 700px;
  margin-bottom: 14px;
  font-size: 42px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .75);
}

.login-lead {
  max-width: 560px;
  margin-bottom: 16px;
  color: #c9cdd5;
  font-size: 17px;
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}

.login-reward-promise {
  display: flex;
  width: min(740px, 100%);
  margin-bottom: 9px;
  align-items: center;
  justify-content: space-between;
  color: #d9dce2;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.login-reward-promise span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 138, 30, .9);
  content: "";
}

.login-reward-promise strong {
  color: #ffd098;
  font-size: 13px;
}

.login-reward-showcase {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 740px;
}

.login-reward-card {
  position: relative;
  min-width: 0;
  padding: 13px 12px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(255, 138, 30, .11), transparent 46%),
    rgba(8, 9, 11, .76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 30px rgba(0, 0, 0, .2);
}

.login-reward-card-top {
  border-color: rgba(241, 189, 124, .48);
  background:
    linear-gradient(145deg, rgba(255, 138, 30, .2), transparent 54%),
    rgba(8, 9, 11, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 24px rgba(255, 138, 30, .11);
}

.login-reward-milestone {
  display: block;
  color: #f1bd7c;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.reward-egg-pile {
  position: relative;
  width: 104px;
  height: 76px;
  margin: 3px auto 1px;
}

.reward-egg-pile > img {
  position: absolute;
  top: 8px;
  left: 22px;
  z-index: 3;
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .62)) drop-shadow(0 0 8px rgba(255, 174, 28, .18));
}

.reward-egg-pile > img:nth-child(2) {
  top: 16px;
  left: 3px;
  z-index: 2;
  transform: rotate(-13deg) scale(.78);
}

.reward-egg-pile > img:nth-child(3) {
  top: 16px;
  right: 3px;
  left: auto;
  z-index: 2;
  transform: rotate(13deg) scale(.78);
}

.reward-egg-pile > img:nth-child(4) {
  top: 0;
  left: 7px;
  z-index: 1;
  transform: rotate(-7deg) scale(.67);
}

.reward-egg-pile > img:nth-child(5) {
  top: 0;
  right: 7px;
  left: auto;
  z-index: 1;
  transform: rotate(7deg) scale(.67);
}

.reward-egg-pile > strong {
  position: absolute;
  right: 0;
  bottom: 2px;
  z-index: 4;
  padding: 2px 6px;
  border: 1px solid rgba(241, 189, 124, .5);
  border-radius: 999px;
  background: #111319;
  color: #fff3d5;
  font-family: var(--font-mono);
  font-size: 11px;
}

.pile-one > img {
  left: 24px;
}

.login-card-payout {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.login-card-payout b {
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.login-card-payout span {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  color: #d9dce2;
  font-family: var(--font-mono);
  font-size: 11px;
}

.login-card-payout img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.login-secret-card {
  border-color: rgba(241, 189, 124, .58);
  background:
    radial-gradient(circle at 50% 38%, rgba(241, 189, 124, .15), transparent 44%),
    linear-gradient(145deg, rgba(183, 187, 198, .13), transparent 54%),
    rgba(8, 9, 11, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 28px rgba(241, 189, 124, .12);
}

.secret-bird-mystery {
  position: relative;
  width: 90px;
  height: 80px;
  margin: 0 auto;
}

.secret-bird-mystery img {
  width: 90px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(.48);
  opacity: .88;
}

.secret-bird-mystery strong {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(255, 255, 255, .94);
  font-family: var(--font-head);
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 3px 12px #000, 0 0 14px rgba(255, 255, 255, .24);
  transform: translate(-50%, -50%);
}

.login-secret-card > b {
  display: block;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #f1bd7c;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: .025em;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
}

.secret-skin-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(241, 189, 124, .55);
  border-radius: 4px;
  background: linear-gradient(120deg, rgba(241, 189, 124, .16), rgba(255, 138, 30, .08) 55%, rgba(241, 189, 124, .16));
}

.secret-skin-item b {
  color: #f1bd7c;
  letter-spacing: .06em;
}

.secret-skin-item small,
.secret-skin-banner small {
  display: block;
  color: var(--faint);
}

.secret-skin-art {
  color: #f1bd7c;
  font-size: 20px;
  line-height: 1;
}

.portal-secret-mystery {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border-radius: 3px;
  background: #0b0c0f;
}

.portal-secret-mystery img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(.48);
  opacity: .72;
}

.portal-secret-mystery strong {
  position: absolute;
  color: #fff;
  font-family: var(--font-head);
  font-size: 26px;
  text-shadow: 0 2px 8px #000;
}

.headline-currency-icon {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.metric-currency {
  position: relative;
  padding-right: 54px;
}

.metric-currency > img {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 34px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
  transform: translateY(-50%);
}

.secret-skin-banner {
  margin: 10px 0 4px;
  padding: 10px 14px;
  border: 1px solid rgba(241, 189, 124, .55);
  border-radius: 4px;
  background: linear-gradient(120deg, rgba(241, 189, 124, .18), rgba(255, 138, 30, .08));
}

.secret-skin-banner b {
  color: #f1bd7c;
  letter-spacing: .06em;
}

.ladder-pity {
  margin: -6px 0 16px;
  color: #c9cdd5;
  font-size: 14px;
}

.login-panel {
  position: relative;
  display: flex;
  padding: 50px clamp(30px, 4vw, 62px);
  justify-content: center;
  flex-direction: column;
  background: #0e1014;
}

.login-panel::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--orange) 30%, var(--orange) 70%, transparent);
  content: "";
  opacity: .55;
}

.login-panel h2 {
  margin-bottom: 8px;
  font-size: 29px;
}

.login-panel > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.login-panel .notice {
  margin: 0 0 14px;
}

.email-login,
.otp-form {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.email-login input,
.otp-form input {
  height: 48px;
  padding: 0 13px;
}

.otp-form input {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .14em;
  text-align: center;
}

.otp-form input:placeholder-shown {
  caret-color: transparent;
}

.otp-form input:not(:placeholder-shown) {
  caret-color: var(--orange);
}

.development-code {
  display: flex;
  min-height: 64px;
  margin-bottom: 14px;
  padding: 10px 13px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #725126;
  border-radius: 4px;
  background: #21170e;
}

.development-code span {
  color: #d7b98f;
  font-size: 11px;
}

.development-code code {
  color: #ffc16f;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 600;
}

.login-secondary-actions {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #f3ad55;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.login-secondary-actions a:hover,
.text-button:hover {
  color: #ffd099;
}

.login-divider {
  display: flex;
  gap: 12px;
  margin: 22px 0 16px;
  align-items: center;
  color: var(--faint);
  font-size: 10px;
  text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.inline-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.inline-field input {
  height: 42px;
  min-width: 0;
  padding: 0 11px;
}

.privacy-note {
  display: flex;
  gap: 9px;
  margin-top: 24px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.5;
}

.lock-dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--green);
}

/* War-Bird plate: chamfered top-right corner + hairline on the cut.
   Kept after all component rules so the longhand background-image and
   border-radius win over the components' background shorthands. */
.metric,
.tutorial-step,
.review-card,
.admin-login-panel,
.reward-tier,
.bundle-item,
.podium-item,
.weekly-banner,
.development-code,
.payout-preview,
.setup-warning,
.form-panel,
.milestone-panel {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  border-radius: 0;
  background-image: linear-gradient(
    225deg,
    transparent calc(var(--cut-line) - 1px),
    var(--line-strong) var(--cut-line),
    transparent calc(var(--cut-line) + 1px)
  );
  background-repeat: no-repeat;
}

.weekly-banner {
  --cut: 20px;
}

.metric-accent,
.weekly-banner:not(.is-cooling) {
  background-image: linear-gradient(
    225deg,
    transparent calc(var(--cut-line) - 1px),
    var(--orange) var(--cut-line),
    transparent calc(var(--cut-line) + 1px)
  );
}

@media (max-width: 1180px) {
  :root {
    --sidebar: 214px;
  }

  .main-content {
    padding-right: 28px;
    padding-left: 28px;
  }

  .brand img {
    width: 148px;
  }

  .tutorial-grid,
  .reward-ladder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutorial-step:last-child {
    grid-column: 1 / -1;
  }

  .dashboard-grid,
  .submit-layout {
    grid-template-columns: 1fr;
  }

  .milestone-panel {
    margin-top: 0;
  }

  .review-actions-grid {
    grid-template-columns: 1fr;
  }

  .reject-form {
    padding-top: 15px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

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

  .podium {
    grid-template-columns: 1fr;
  }

  .podium-item {
    min-height: 120px;
  }

  .account-row {
    grid-template-columns: 42px minmax(160px, 1fr) auto;
  }

  .account-row:has(.handle-code) {
    grid-template-columns: 42px minmax(160px, 1fr) auto;
  }

  .account-row .handle-code {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .account-detail {
    display: none;
  }

  .stat-form {
    grid-template-columns: 1fr;
  }

  .review-buttons {
    grid-column: auto;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-copy {
    min-height: 620px;
    padding-top: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .login-panel {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .mobile-bar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    height: 58px;
    padding: 0 14px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: #0d0f12;
  }

  .menu-button {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 8px;
    align-content: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: #d9dce1;
  }

  .mobile-brand {
    justify-self: center;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-crates {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #ffc16f;
    font-size: 12px;
    font-weight: 750;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    width: min(86vw, 280px);
    height: 100vh;
    transform: translateX(-102%);
    transition: transform 180ms ease;
    box-shadow: 20px 0 50px rgba(0, 0, 0, .45);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    background: rgba(0, 0, 0, .65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .nav-scrim.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .main-content {
    padding: 0 18px 48px;
  }

  .desktop-toolbar {
    display: none;
  }

  .page-heading,
  .page-heading.with-action {
    display: block;
    padding: 27px 0 22px;
  }

  .page-heading.with-action .button,
  .page-heading.with-action .headline-stat,
  .page-heading.with-action > form {
    margin-top: 18px;
  }

  .weekly-banner {
    grid-template-columns: minmax(0, 1fr) 122px;
    min-height: 236px;
  }

  .weekly-copy {
    padding: 24px 20px;
  }

  .weekly-copy h2 {
    font-size: 23px;
  }

  .weekly-visual {
    min-height: 234px;
  }

  .weekly-visual .standard-egg.is-large {
    width: 58px;
    height: 76px;
  }

  .weekly-count {
    top: 18px;
    right: 17px;
  }

  .tutorial-grid,
  .reward-ladder,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-step:last-child {
    grid-column: auto;
  }

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

  .section-heading.compact {
    align-items: flex-start;
  }

  .section-note {
    text-align: left;
  }

  .video-row {
    grid-template-columns: 40px minmax(120px, 1fr) 92px;
  }

  .video-row .video-stat,
  .video-row .row-arrow {
    display: none;
  }

  .video-row .status {
    justify-self: end;
  }

  .weekly-strip {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .weekly-strip .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .account-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .handle-claim-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  #videos-table,
  .rewards-table,
  .admin-reward-table {
    min-width: 0;
  }

  #videos-table th:nth-child(2),
  #videos-table td:nth-child(2),
  #videos-table th:nth-child(4),
  #videos-table td:nth-child(4),
  #videos-table th:nth-child(5),
  #videos-table td:nth-child(5),
  #videos-table th:nth-child(7),
  #videos-table td:nth-child(7) {
    display: none;
  }

  .rewards-table th:nth-child(2),
  .rewards-table td:nth-child(2),
  .rewards-table th:nth-child(4),
  .rewards-table td:nth-child(4),
  .rewards-table th:nth-child(6),
  .rewards-table td:nth-child(6) {
    display: none;
  }

  .admin-reward-table th:nth-child(2),
  .admin-reward-table td:nth-child(2),
  .admin-reward-table th:nth-child(3),
  .admin-reward-table td:nth-child(3),
  .admin-reward-table th:nth-child(5),
  .admin-reward-table td:nth-child(5) {
    display: none;
  }

  .rewards-table,
  .admin-reward-table,
  .rewards-table tbody,
  .admin-reward-table tbody {
    display: block;
    width: 100%;
  }

  .rewards-table thead,
  .admin-reward-table thead {
    display: none;
  }

  .rewards-table tbody tr,
  .admin-reward-table tbody tr {
    padding: 13px;
    border-bottom: 1px solid var(--line);
  }

  .rewards-table tbody tr:last-child,
  .admin-reward-table tbody tr:last-child {
    border-bottom: 0;
  }

  .rewards-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
  }

  .rewards-table td,
  .admin-reward-table td {
    padding: 0;
    border-bottom: 0;
  }

  .rewards-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .rewards-table td:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .rewards-table td:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .rewards-table .bundle-list.is-compact .bundle-item,
  .admin-reward-table .bundle-list.is-compact .bundle-item {
    max-width: 100%;
    white-space: normal;
  }

  .admin-reward-table tbody tr {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: start;
  }

  .admin-reward-table td:nth-child(1) {
    grid-column: 1;
  }

  .admin-reward-table td:nth-child(4) {
    grid-column: 2;
  }

  .admin-reward-table td:nth-child(6) {
    display: flex;
    grid-column: 3;
    gap: 7px;
    align-items: flex-end;
    flex-direction: column;
  }

  .admin-reward-table th:nth-child(7),
  .admin-reward-table td:nth-child(7) {
    display: none;
  }

  .mobile-ledger-action {
    display: block;
  }

  .account-row .connection-state,
  .account-row .button {
    grid-column: 2;
    justify-self: start;
  }

  .review-card-head {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .review-card-head .status {
    grid-column: 2;
    justify-self: start;
  }

  .review-url {
    align-items: flex-start;
    flex-direction: column;
  }

  .stat-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 29px;
  }

  h2 {
    font-size: 21px;
  }

  .page-heading p {
    font-size: 14px;
  }

  .metric-grid,
  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metric {
    min-height: 102px;
    padding: 15px;
  }

  .metric > b {
    font-size: 23px;
  }

  .weekly-banner {
    display: block;
    min-height: 0;
  }

  .weekly-visual {
    display: none;
  }

  .form-panel,
  .submission-guide,
  .admin-login-panel {
    padding: 20px;
  }

  .setup-warning {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .setup-warning .button {
    grid-column: 2;
    justify-self: start;
  }

  .url-input {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .page-heading.with-action .button,
  .submission-form .button-large,
  .weekly-strip .button {
    width: 100%;
  }

  .login-copy {
    min-height: 540px;
    padding: 108px 24px 34px;
  }

  .login-brand {
    left: 24px;
  }

  .login-copy h1 {
    margin-bottom: 12px;
    font-size: 34px;
  }

  .login-lead {
    margin-bottom: 0;
    font-size: 14px;
  }

  .login-reward-promise,
  .login-reward-showcase {
    display: none;
  }

  .login-panel {
    min-height: 560px;
    padding: 42px 24px;
  }

  .inline-field {
    grid-template-columns: 1fr;
  }

  .review-buttons .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   HexVault ship additions (2026-07-23): notifications, legal,
   view snapshots, feathers, onboarding banners.
   ============================================================ */

/* Notification + generic modal overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 5, 7, 0.78);
  backdrop-filter: blur(3px);
}
.overlay[hidden] { display: none; }
.overlay-card {
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut-line), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut-line)));
}
.overlay-kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  font-size: 0.72rem;
}
.notification-card h2 { font-family: var(--font-display); margin: 6px 0 18px; }
.notification-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.notification-item {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.notification-item.notification-rejected { border-left-color: var(--red); }
.notification-item.notification-handle_verified { border-left-color: var(--green); }
.notification-item h3 { font-family: var(--font-head); margin: 0 0 4px; font-size: 1.05rem; }
.notification-item p { color: var(--muted); margin: 0; font-size: 0.92rem; }

.code-reveal-group { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 8px; }
.code-reveal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px 8px 12px;
}
.code-reveal-meta { display: flex; flex-direction: column; }
.code-reveal-meta b { font-family: var(--font-head); font-size: 0.9rem; }
.code-reveal-meta small { color: var(--faint); font-size: 0.75rem; }
.code-reveal-button {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--orange-bright);
  background: rgba(255, 138, 30, 0.1);
  border: 1px dashed var(--orange-dark);
  border-radius: var(--radius);
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.code-reveal-button.is-revealed {
  color: var(--text);
  border-style: solid;
  background: rgba(255, 138, 30, 0.16);
  user-select: all;
}

/* Nav unseen badge */
.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #1a0e02;
  background: var(--orange);
  border-radius: 10px;
}

/* Consent banner */
.consent-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(255, 138, 30, 0.12), var(--bg-raised));
  border: 1px solid var(--orange-dark);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.consent-banner > div { flex: 1 1 320px; color: var(--muted); font-size: 0.9rem; }
.consent-banner b { color: var(--text); }

/* Old-videos banner + submit timeline */
.old-videos-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(120deg, rgba(75, 193, 138, 0.1), var(--bg-raised));
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 16px;
}
.old-videos-banner b { display: block; font-family: var(--font-head); }
.old-videos-banner span { color: var(--muted); font-size: 0.9rem; }
.submit-timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
}
.submit-timeline li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.submit-timeline b { display: block; font-family: var(--font-head); color: var(--orange-bright); }
.submit-timeline span { color: var(--muted); font-size: 0.85rem; }

/* Review snapshot line + fetch form */
.snapshot-line { margin-top: -4px; }
.snapshot-line b { color: var(--text); }
.fetch-form { align-self: start; }

/* Handle action row (check now + remove) */
.handle-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Plural headline stats + feather chip */
.headline-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.feather-item .feather-art { width: 42px; height: 42px; object-fit: contain; }
.bundle-list.is-compact .feather-item .feather-art { width: 26px; height: 26px; }
.feather-item b { color: var(--orange-bright); }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 16px;
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  padding: 12px 0;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--orange); font-family: var(--font-mono); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { color: var(--muted); margin: 0 0 14px; }

/* Legal document */
.legal-doc h2 { font-family: var(--font-head); margin: 22px 0 8px; color: var(--orange-bright); }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--muted); line-height: 1.6; }
.legal-doc ul { margin: 8px 0 8px 18px; }
.legal-footer { color: var(--faint); }

/* Sidebar footer legal links */
.sidebar-footer-links { display: flex; gap: 12px; padding: 8px 0 4px; }
.sidebar-footer-links a { color: var(--faint); font-size: 0.75rem; text-decoration: none; }
.sidebar-footer-links a:hover { color: var(--orange); }

@media (max-width: 760px) {
  .submit-timeline { grid-template-columns: 1fr; }
  .overlay-card { padding: 20px; }
}
