/* Arc Shop panel: fonts, design tokens and base styles. Dark theme only. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/jetbrains-mono-latin-600-normal.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --bg: #0e1012;
  --sidebar: #121417;
  --sidebar-line: #22262b;
  --surface: #15181b;
  --surface-line: #272c32;
  --surface-2: #1a1d21;
  --surface-3: #131619;
  --field: #101214;
  --field-line: #343a41;
  --line: #262b31;
  --row-line: #22272c;
  --hover: #24282d;
  --selected: #2a2f35;

  --text: #eceae6;
  --text-strong: #f6f3ee;
  --text-label: #c9cdd2;
  --text-muted: #9aa1a9;
  --text-faint: #8b9299;

  --accent: #ff7a1a;
  --accent-ink: #1a0f05;
  --accent-text: #ffa463;
  --accent-hover: #ffc396;
  --focus: #ff9a4d;
  --danger: #e5484d;
  --danger-text: #ff8f8f;
  --danger-line: rgba(255, 107, 107, 0.4);

  /* Status colors */
  --st-waiting: #f2c14e;
  --st-claimed: #ffa463;
  --st-paid: #9dbdff;
  --st-done: #6fd394;
  --st-cancelled: #a7adb4;
  --st-soldout: #ffb0b0;

  /* Rarity colors */
  --r-common: #a3a9b0;
  --r-uncommon: #5fc77a;
  --r-rare: #4ea4ff;
  --r-epic: #b77cff;
  --r-legendary: #f5b942;
  --r-coins: #f5b942;
  --r-amplified: #f2711c; /* amplified guns: orange, darker than legendary yellow */

  --radius-control: 8px;
  --radius-panel: 12px;
  --gap-section: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::placeholder { color: #7d848c; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.mono { font-family: var(--mono); }
.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(--text-muted); }
.faint { color: var(--text-faint); }
.help { font-size: 12.5px; color: var(--text-faint); }
.strong { color: var(--text-strong); }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint);
}
.label-mono {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint);
}
.page-title {
  font-size: 36px; font-weight: 800; font-stretch: 72%; letter-spacing: .03em; text-transform: uppercase; line-height: 1;
}
.section-title {
  font-size: 20px; font-weight: 800; font-stretch: 78%; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1;
}
.ok-text { color: #9fd9b4; }
.warn-text { color: var(--st-waiting); }
.danger-text { color: var(--danger-text); }

@keyframes arcpulse {
  0% { box-shadow: 0 0 0 0 rgba(87, 199, 133, .55); }
  70% { box-shadow: 0 0 0 7px rgba(87, 199, 133, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 199, 133, 0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
