/* ============================================================
   Coppersmog: Support desk (page-specific)
   Base variables, reset, and typography live in base.css.
   Wears the sign-in page's brass card, since it carries the same logo.
   ============================================================ */

body.page-support {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(160, 122, 58, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(80, 14, 24, 0.08) 0%, transparent 50%),
    var(--bg-0);
  background-attachment: fixed;
}

.sup-wrap {
  min-height: 100vh;
  padding: 60px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Brand ──────────────────────────────────────────────── */
.sup-logo-wrap {
  width: 380px;
  max-width: 88vw;
  margin-bottom: 26px;
}
.sup-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.55));
}

/* ── Card ───────────────────────────────────────────────── */
.sup-card {
  width: 540px;
  max-width: 94vw;
  position: relative;
  background:
    linear-gradient(to bottom,
      var(--bronze) 0%,
      var(--brass-mid) 35%,
      var(--bronze-dk) 70%,
      var(--brass-black) 100%);
  border-radius: var(--radius-md);
  padding: 30px 28px 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 150, 0.30),
    inset 0 -2px 4px rgba(0, 0, 0, 0.55),
    0 18px 40px rgba(0, 0, 0, 0.55);
}
.sup-card::before,
.sup-card::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--brass-edge) 0%, var(--brass-mid) 50%, var(--brass-black) 100%);
  box-shadow:
    inset 0 -1px 1px rgba(20, 12, 4, 0.65),
    0 1px 1px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
.sup-card::before { top: 10px; left: 10px; }
.sup-card::after  { top: 10px; right: 10px; }

.sup-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--bronze-text);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
  margin: 0 0 6px;
}
.sup-lede {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(243, 215, 122, 0.62);
  margin: 0 0 22px;
}

/* ── Fields ─────────────────────────────────────────────── */
.sup-field {
  display: block;
  margin-bottom: 14px;
}
.sup-field > span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(243, 215, 122, 0.45);
  margin-bottom: 6px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
}
.sup-field input,
.sup-field textarea {
  width: 100%;
  background: rgba(6, 1, 3, 0.60);
  border: 1px solid rgba(160, 122, 58, 0.35);
  border-radius: var(--radius);
  color: var(--text-1);
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.sup-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.sup-field input:hover,
.sup-field textarea:hover { border-color: rgba(160, 122, 58, 0.55); }
.sup-field input:focus,
.sup-field textarea:focus {
  border-color: var(--brass);
  background: rgba(6, 1, 3, 0.75);
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 178, 102, 0.12);
}

/* The honeypot must be unreachable by eye, pointer and tab, but NOT display:none:
   a headless filler that respects display is rarer than one that does not. */
.sup-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── The gauge ──────────────────────────────────────────── */
.sup-gauge-block {
  margin: 20px 0 18px;
  padding: 16px 14px 14px;
  border-radius: var(--radius);
  background:
    linear-gradient(to bottom, rgba(6, 1, 3, 0.50) 0%, rgba(6, 1, 3, 0.70) 100%);
  border: 1px solid rgba(160, 122, 58, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.sup-gauge-head {
  text-align: center;
}
.sup-gauge-ask {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(243, 215, 122, 0.55);
}
.sup-gauge-ask b {
  color: var(--amber);
  font-weight: 700;
}
.sup-plate {
  display: block;
  width: 264px;
  max-width: 100%;
  height: auto;
  border-radius: 3px;
}
.sup-gauge {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  cursor: grab;
  touch-action: none;
  border-radius: var(--radius);
}
.sup-gauge:active { cursor: grabbing; }
.sup-gauge:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
/* Trim row: the needle is snapped to the gauge's own grid, so a coarse drag needs a
   fine adjustment beside it. Arrow keys do the same job where there is a keyboard. */
.sup-trim {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sup-stud {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--brass-black);
  background: radial-gradient(circle at 34% 30%, var(--brass-hi) 0%, var(--brass-lt) 42%, var(--brass-dk) 100%);
  color: var(--ink);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 175, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.5);
}
.sup-stud svg { width: 18px; height: 18px; }
.sup-stud:active {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.55);
  transform: translateY(1px);
}

.sup-readout {
  min-width: 118px;
  text-align: center;
  font-family: var(--font-ticker);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-shadow: 0 0 8px rgba(243, 215, 122, 0.28);
}
.sup-replate {
  background: transparent;
  border: none;
  color: rgba(243, 215, 122, 0.42);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 2px 4px;
}
.sup-replate:hover { color: rgba(243, 215, 122, 0.72); }

/* ── Feedback + submit ──────────────────────────────────── */
.sup-error {
  font-size: 13px;
  line-height: 1.45;
  color: #ffb4a8;
  background: rgba(80, 14, 24, 0.45);
  border: 1px solid rgba(190, 60, 60, 0.4);
  border-radius: var(--radius);
  padding: 9px 11px;
  margin-bottom: 12px;
}
.sup-submit {
  width: 100%;
  background: linear-gradient(to bottom, var(--brass) 0%, var(--brass-dk) 55%, var(--brass-deep) 100%);
  border: 1px solid var(--brass-black);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 12px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 175, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.45);
  transition: filter 0.15s ease;
}
.sup-submit:hover { filter: brightness(1.08); }
.sup-submit:active { filter: brightness(0.92); }
.sup-submit[disabled] { cursor: default; filter: brightness(0.7); }

.sup-done h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--bronze-text);
  margin: 0 0 8px;
}
.sup-done p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(243, 215, 122, 0.62);
  margin: 0;
}

/* ── Policy prose (privacy.html) ────────────────────────── */
.sup-prose h2 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--bronze-text);
  margin: 22px 0 6px;
}
.sup-prose p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(243, 215, 122, 0.82);
  margin: 0 0 10px;
}
.sup-prose a { color: var(--spark); }
.sup-mail { color: var(--spark); }
