/* G.O.A.T.D Apps — one stylesheet. Palette and type from the G.O.A.T.D Guild site
   (~/goatd-village/dev/guild/goatd-guild-site): ink black, gold, parchment text, Cinzel + Cormorant Garamond. */

:root {
  --ink: #07060a;
  --ink-2: #110e12;
  --ink-3: #1a1418;
  --panel: #120f13;
  --line: rgba(216, 179, 106, 0.22);
  --line-strong: rgba(216, 179, 106, 0.5);
  --gold: #d8b36a;
  --gold-hi: #f6e2ae;
  --gold-lo: #7a5a2a;
  --ember: #ff7a3c;
  --deny: #e0604c;
  --ok: #8fcf9a;
  --text: #e9dfc9;
  --muted: #a39884;
  --radius: 14px;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(110% 60% at 50% -10%, #241a12 0%, transparent 60%),
    radial-gradient(120% 90% at 50% 38%, var(--ink-3) 0%, var(--ink-2) 45%, var(--ink) 100%) fixed;
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-hi);
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-lo);
}

a:hover {
  text-decoration-color: var(--gold);
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus {
  outline: none;
}

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

code,
pre {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8em;
}

/* Author display rules (grid/flex) must never beat the hidden attribute. */
[hidden] {
  display: none !important;
}

.spaced {
  margin-top: 26px;
  margin-bottom: 10px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 15px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

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

/* ---------- goat mark ---------- */

.goat-mark {
  display: inline-block;
  flex: none;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  -webkit-mask: url("/brand/goat.svg") center / contain no-repeat;
  mask: url("/brand/goat.svg") center / contain no-repeat;
  aspect-ratio: 3212 / 3040;
}

.goat-xs {
  width: 16px;
  vertical-align: -2px;
}

.goat-sm {
  width: 34px;
}

.goat-lg {
  width: 88px;
  filter: drop-shadow(0 0 18px rgba(216, 179, 106, 0.35));
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 10, 0.72);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold-hi);
}

.wm-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.wm-name {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 17px;
}

.wm-sub {
  font-family: var(--display);
  letter-spacing: 0.5em;
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
}

.wordmark-big {
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.wordmark-big .wm-name {
  font-size: 26px;
  letter-spacing: 0.38em;
  padding-left: 0.38em;
  text-shadow: 0 0 18px rgba(216, 179, 106, 0.35);
}

.wordmark-big .wm-sub {
  font-size: 13px;
  letter-spacing: 0.7em;
  padding-left: 0.7em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 16px;
  flex-wrap: wrap;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a,
.link-button {
  color: var(--text);
  text-decoration: none;
  padding: 10px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a[aria-current="page"] {
  color: var(--gold-hi);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.link-button {
  background: none;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  color: var(--muted);
}

.link-button:hover,
.site-nav a:hover {
  color: var(--gold-hi);
}

.inline-form {
  display: inline;
  margin: 0;
}

/* ---------- page ---------- */

main {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.page-title {
  margin-bottom: 24px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--gold-hi);
  line-height: 1.2;
  letter-spacing: 0.06em;
}

h1 {
  font-size: clamp(26px, 5vw, 38px);
  margin: 0 0 6px;
}

h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.intro {
  color: var(--muted);
  font-style: italic;
  margin: 0;
  font-size: 20px;
}

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

.empty {
  color: var(--muted);
  font-style: italic;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  padding: 18px 16px 28px;
}

.site-footer p {
  margin: 0;
}

/* ---------- buttons + forms ---------- */

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(216, 179, 106, 0.06);
  color: var(--gold-hi);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.button:hover {
  background: rgba(216, 179, 106, 0.14);
}

.button-primary {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #b68d45) !important;
  color: var(--ink) !important;
  border-color: var(--gold-hi) !important;
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(246, 226, 174, 0);
}

.button-primary:hover {
  box-shadow: 0 0 24px rgba(246, 226, 174, 0.35);
  transform: translateY(-1px);
}

.button-danger {
  border-color: rgba(224, 96, 76, 0.6);
  color: #ffb4a6;
  background: rgba(224, 96, 76, 0.08);
}

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

.button[disabled],
button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.get-button {
  font-size: 16px;
  padding: 14px 34px;
  min-height: 54px;
}

form.stack {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label,
fieldset legend {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: rgba(7, 6, 10, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
}

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-hi);
  outline: 2px solid rgba(246, 226, 174, 0.35);
  outline-offset: 0;
}

input[type="file"] {
  font-family: var(--ui);
  font-size: 15px;
  color: var(--muted);
  max-width: 100%;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(216, 179, 106, 0.08);
  color: var(--gold-hi);
  font-family: var(--display);
  letter-spacing: 0.12em;
  cursor: pointer;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px 14px;
  margin: 0;
}

.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.radios label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  font-family: var(--serif);
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--gold);
  width: 20px;
  height: 20px;
}

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

.or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.3em;
  margin: 22px 0;
}

.or::before,
.or::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}

/* ---------- notices + badges ---------- */

.notice {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(216, 179, 106, 0.07);
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

.notice-ok {
  border-color: rgba(143, 207, 154, 0.55);
  background: rgba(143, 207, 154, 0.08);
}

.notice-warn {
  border-color: rgba(255, 122, 60, 0.6);
  background: rgba(255, 122, 60, 0.08);
}

.notice-error {
  border-color: rgba(224, 96, 76, 0.7);
  background: rgba(224, 96, 76, 0.1);
  color: #ffd2c9;
}

.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  vertical-align: middle;
}

.badge-draft,
.badge-warn {
  color: var(--ember);
  border-color: rgba(255, 122, 60, 0.6);
}

.badge-live,
.badge-ok {
  color: var(--ok);
  border-color: rgba(143, 207, 154, 0.55);
}

.badge-off,
.badge-deny {
  color: #ffb4a6;
  border-color: rgba(224, 96, 76, 0.6);
}

.badge-demo {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.type-web {
  color: #9fd3ff;
  border-color: rgba(159, 211, 255, 0.5);
}

.type-mac {
  color: var(--gold-hi);
}

.type-extension {
  color: #d9b0ff;
  border-color: rgba(217, 176, 255, 0.5);
}

.type-script {
  color: #9be3c4;
  border-color: rgba(155, 227, 196, 0.5);
}

/* ---------- catalog ---------- */

.hero {
  display: grid;
  gap: 6px;
  justify-items: start;
  margin-bottom: 22px;
}

.hero h1 {
  letter-spacing: 0.14em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}

.filters .search {
  flex: 1 1 240px;
  display: flex;
  gap: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chip[aria-current="page"] {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(26, 20, 24, 0.9), rgba(12, 10, 13, 0.9));
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
  height: 100%;
}

.card:hover,
.card:focus-within {
  border-color: var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(216, 179, 106, 0.15),
    0 12px 40px -18px rgba(216, 179, 106, 0.45);
  transform: translateY(-2px);
}

.card h2 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: none;
}

.card h2 a {
  color: var(--gold-hi);
  text-decoration: none;
}

/* The whole card is the link target. */
.card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.35;
}

.card .badge {
  white-space: normal;
}

.card .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--ink);
  border: 1px solid var(--line);
}

.icon-fallback {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #2a1f16, var(--ink));
}

.icon-fallback .goat-mark {
  width: 60%;
}

.icon-lg {
  width: 112px;
  height: 112px;
  border-radius: 26px;
}

/* ---------- app page ---------- */

.app-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.app-head h1 {
  margin: 6px 0 4px;
}

.app-head .tagline {
  color: var(--muted);
  font-style: italic;
  font-size: 21px;
  margin: 0;
}

.get-box {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(216, 179, 106, 0.12), transparent 60%),
    var(--panel);
  margin-bottom: 26px;
}

.get-box .meta {
  color: var(--muted);
  font-size: 17px;
}

.get-box .meta strong {
  color: var(--text);
}

.prose {
  max-width: 70ch;
  white-space: pre-line;
}

.howto {
  border-left: 3px solid var(--gold);
  padding: 8px 16px;
  background: rgba(216, 179, 106, 0.05);
  border-radius: 0 10px 10px 0;
  margin: 0 0 22px;
}

.copy-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}

.copy-row pre {
  flex: 1 1 260px;
  margin: 0;
  padding: 12px 14px;
  background: #050407;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
  color: var(--gold-hi);
}

.shots {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.shots li {
  flex: 0 0 min(82%, 520px);
  scroll-snap-align: start;
}

.shots img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.versions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.versions li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(18, 15, 19, 0.7);
}

.versions .notes {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  white-space: pre-line;
}

/* ---------- admin ---------- */

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -8px 0 22px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 15, 19, 0.75);
  padding: 18px;
  margin-bottom: 20px;
}

.panel > h2:first-child {
  margin-top: 0;
}

.table-wrap {
  position: relative; /* keeps .sr-only cells inside the scroll box, not the page */
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-family: var(--ui);
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(216, 179, 106, 0.12);
  vertical-align: middle;
}

th {
  font-family: var(--display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(7, 6, 10, 0.5);
}

tr:last-child td {
  border-bottom: 0;
}

.progress-wrap {
  display: grid;
  gap: 6px;
}

progress {
  width: 100%;
  height: 14px;
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #050407;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background: #050407;
}

progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--gold-lo), var(--gold), var(--gold-hi));
  transition: width 0.3s;
}

progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--gold-lo), var(--gold), var(--gold-hi));
}

.shot-admin {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.shot-admin img {
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 6px;
}

/* ---------- gate (login / setup / reset) ---------- */

body.gate {
  background:
    radial-gradient(120% 90% at 50% 30%, #1f1714 0%, var(--ink-2) 45%, var(--ink) 100%) fixed;
  background-color: var(--ink);
}

.gate-header {
  display: flex;
  justify-content: center;
  padding: 40px 16px 8px;
}

.gate-main {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.gate-card {
  width: 100%;
  max-width: 440px;
  padding: 26px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(26, 20, 24, 0.92), rgba(10, 8, 11, 0.92));
  box-shadow: 0 30px 80px -40px rgba(216, 179, 106, 0.4);
}

.gate-card h1 {
  font-size: 22px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}

.gate-card .intro {
  text-align: center;
  margin-bottom: 18px;
  font-size: 18px;
}

.gate-card form.stack {
  max-width: none;
}

.gate-card .button {
  width: 100%;
}

.gate-foot {
  text-align: center;
  font-size: 16px;
  margin: 18px 0 0;
}

/* ---------- mailbox ---------- */

.mail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.mail-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(18, 15, 19, 0.75);
}

.mail-item h2 {
  margin: 0 0 4px;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0.04em;
}

.mail-item pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 10px 0 0;
  color: var(--text);
}

/* ---------- small screens ---------- */

@media (max-width: 520px) {
  body {
    font-size: 18px;
  }

  .app-head {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .icon-lg {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .get-box .button {
    width: 100%;
  }

  .site-nav {
    font-size: 12px;
    gap: 0 12px;
  }

  th,
  td {
    padding: 8px;
  }
}

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

  .card:hover,
  .card:focus-within,
  .button-primary:hover {
    transform: none;
  }
}

/* ---- 0003 store research pass (2026-11-03, GOATD apps builder: Chandler): updates strip, credits, specs,
   checksum, disclosure. Same gold-on-ink language as the rest of the sheet. */

.updates {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(90% 160% at 100% 0%, rgba(216, 179, 106, 0.1), transparent 60%), var(--panel);
}

.updates h2,
.specs dt {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.update-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.update-list a {
  color: var(--text);
  text-decoration: none;
}

.update-list a:hover strong,
.update-list a:focus-visible strong {
  color: var(--gold-hi);
}

.update-list .notes {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.ver {
  font-family: var(--ui);
  font-size: 13px;
  color: var(--gold);
}

.price {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(143, 207, 154, 0.12);
  border: 1px solid rgba(143, 207, 154, 0.4);
  color: var(--ok);
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
}

.card .maker {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0 0 18px;
  padding: 0;
}

.specs > div {
  min-width: 0;
}

.specs dt {
  font-size: 12px;
  margin: 0 0 2px;
}

.specs dd {
  margin: 0;
  color: var(--text);
}

.specs-wide {
  flex-basis: 100%;
}

.works-on {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.works-on li {
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--ui);
  font-size: 13px;
  color: var(--gold-hi);
}

.checksum {
  flex-basis: 100%;
  font-size: 16px;
}

.checksum summary {
  cursor: pointer;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 14px;
}

.checksum summary:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

.checksum pre,
.sha-line {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-all;
}

.checksum .meta {
  color: var(--muted);
  font-size: 15px;
}

.touches {
  margin: 0 0 6px;
  padding-left: 1.2em;
}

.touches li::marker {
  color: var(--gold);
}

.sha-line {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--muted);
}

.more {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

@media (max-width: 520px) {
  .specs {
    gap: 10px 18px;
  }
}

/* Wishlist */
.wish-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.wish {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.wish h2 {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.wish p {
  overflow-wrap: anywhere;
}

.wish-admin {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.wish-form {
  display: grid;
  gap: 16px;
  margin: 0 0 32px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(80% 140% at 0% 0%, rgba(216, 179, 106, 0.08), transparent 60%), var(--panel);
}

.wish-form .button {
  justify-self: start;
}

.wish .meta {
  color: var(--muted);
  font-size: 16px;
}

/* ---- admin step A: dashboard home (2026-11-03, GOATD apps builder: Chandler) */
.stats {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
  color: var(--text);
}

.stat:hover,
.stat:focus-visible {
  border-color: var(--line-strong);
}

.stat-n {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.1;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 16px;
  color: var(--muted);
}

.dash-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 28px;
  margin-top: 8px;
}

.needs {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.needs li {
  margin-bottom: 8px;
}

.needs li::marker {
  color: var(--gold);
}

/* ---- admin step B: Wishlist desk */
.desk {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.desk-row {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 320px);
  gap: 12px 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.desk-main h2 {
  margin: 6px 0 4px;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.desk-main .meta {
  color: var(--muted);
  font-size: 16px;
  margin: 4px 0 0;
}

.desk-form {
  display: grid;
  gap: 6px;
  align-content: start;
}

.desk-form label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.desk-form .button {
  justify-self: start;
  margin-top: 6px;
}

@media (max-width: 720px) {
  .desk-row {
    grid-template-columns: 1fr;
  }
}

/* ---- admin step C: site editor */
.text-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.text-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.text-label {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.text-row .meta {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

/* ---- Phase B step 4 (H1): featured row */
.featured {
  margin: 0 0 28px;
}

.featured h2 {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.featured-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(216, 179, 106, 0.16), transparent 62%),
    var(--panel);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.feature h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.06em;
}

.feature h3 a {
  color: var(--gold-hi);
  text-decoration: none;
}

.feature h3 a:hover,
.feature h3 a:focus-visible {
  text-decoration: underline;
}

.feature-note {
  margin: 0;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--gold-lo);
}

.feature-note p {
  margin: 0;
  font-style: italic;
  color: var(--text);
}

.feature-note footer {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}

.feature-note footer::before {
  content: "— ";
}

@media (max-width: 520px) {
  .feature {
    grid-template-columns: 1fr;
  }
}

/* ---- Phase B step 7 (H5): report a problem + uninstall */
.report {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.report summary {
  cursor: pointer;
  color: var(--gold);
}

.report summary:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

.report form {
  margin-top: 12px;
  max-width: 60ch;
}

.uninstall {
  margin-top: 10px;
}

.uninstall summary {
  cursor: pointer;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 15px;
}

/* ---------- Phase C step 9 (H7): profiles, the guild, the invite web ---------- */

.avatar {
  flex: none;
  object-fit: cover; /* Q19: square, cropped from the middle */
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--ink);
}
.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 56px; height: 56px; }
.avatar-lg { width: 128px; height: 128px; }
.avatar-fallback {
  display: inline-grid;
  place-items: center;
  font-family: var(--display);
  color: var(--gold);
  background: radial-gradient(circle at 50% 35%, var(--ink-3), var(--ink));
}
.avatar-sm.avatar-fallback { font-size: 14px; }
.avatar-md.avatar-fallback { font-size: 22px; }
.avatar-lg.avatar-fallback { font-size: 48px; }

.members {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.member {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.member h2 { font-size: 18px; margin: 0; }
.member p { margin: 2px 0 0; }

.invite-web,
.invite-web ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.invite-web { margin-top: 16px; }
.invite-web ul {
  margin-left: 15px;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}
.invite-web li { padding: 6px 0; }
.invite-web ul > li { position: relative; }
.invite-web ul > li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 22px;
  width: 16px;
  border-top: 1px solid var(--line-strong);
}
.web-person {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.profile-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}
.profile-head h1 { margin: 0 0 4px; }
.profile-head .tagline { color: var(--muted); font-style: italic; font-size: 21px; margin: 6px 0 0; }
.invited-by { margin: 8px 0 0; }

.profile-edit {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.credits { margin: 0; }

@media (max-width: 520px) {
  .profile-head { grid-template-columns: 1fr; justify-items: start; }
  .profile-edit { flex-direction: column; }
}

/* ---------- Phase C step 10 (H11 + H12): welcome steps, privacy line ---------- */

.welcome-steps {
  list-style: none;
  counter-reset: wstep;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 0;
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.welcome-steps li {
  counter-increment: wstep;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.welcome-steps li::before {
  content: counter(wstep);
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--ui);
  letter-spacing: 0;
}
.welcome-steps li.done { color: var(--gold); }
.welcome-steps li.done::before { content: "✓"; background: var(--gold-lo); color: var(--gold-hi); }
.welcome-steps li[aria-current="step"] { color: var(--gold-hi); }
.welcome-steps li[aria-current="step"]::before { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.privacy-line {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--gold-lo);
  background: rgba(216, 179, 106, 0.06);
  font-size: 17px;
}

/* ---------- Phase C step 11: goats out of 5, reviews, the release feed ---------- */

.goat-row {
  display: inline-flex;
  gap: 2px;
  vertical-align: -3px;
}
.goat-row .goat-mark { width: 18px; }
.goat-row-sm .goat-mark { width: 24px; }
.goat-mark.goat-empty { background: var(--line-strong); }

.goat-score {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 6px 0 12px;
}
.goat-score strong { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.goat-score-compact,
.card .goat-score-compact { margin: 6px 0 0; gap: 6px; font-size: 14px; font-family: var(--ui); color: var(--muted); line-height: 1.2; }
.goat-score-compact .goat-mark { width: 14px; }

.goat-fieldset { border: 0; padding: 0; margin: 0; }
.goat-fieldset legend { font-family: var(--ui); font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.goat-pick {
  display: inline-flex;
  flex-direction: row-reverse; /* inputs come 5..1, so ~ lights every goat up to the chosen one */
  gap: 4px;
}
.goat-pick input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.goat-pick label {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  cursor: pointer;
}
.goat-pick label .goat-mark {
  width: 34px;
  background: var(--line-strong);
  transition: transform 0.15s ease, background 0.15s ease;
}
.goat-pick input:checked ~ label .goat-mark,
.goat-pick label:hover .goat-mark,
.goat-pick label:hover ~ label .goat-mark {
  background: linear-gradient(160deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
}
.goat-pick input:checked + label .goat-mark { transform: scale(1.12); }
.goat-pick input:focus-visible + label {
  outline: 2px solid var(--gold-hi);
  outline-offset: 2px;
}

.reviews { margin-top: 28px; }
.review-form summary {
  cursor: pointer;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 15px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.review-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.review {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.review-head { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.review-body { margin: 4px 0 0; white-space: pre-wrap; }

.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feed-item {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-lo);
  border-radius: var(--radius);
  background: var(--panel);
}
.feed-head { margin: 0 0 6px; }
.feed-item .prose { white-space: pre-wrap; }

@media (prefers-reduced-motion: reduce) {
  .goat-pick label .goat-mark { transition: none; }
  .goat-pick input:checked + label .goat-mark { transform: none; }
}

/* ---------- Phase C step 12: the Hubs tab and the hubs desk ---------- */

.hub-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-lo);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(26, 20, 24, 0.9), rgba(12, 10, 13, 0.9));
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}

.hub-card:hover,
.hub-card:focus-within {
  border-color: var(--line-strong);
  border-left-color: var(--gold);
  box-shadow: 0 12px 40px -18px rgba(216, 179, 106, 0.45);
  transform: translateY(-2px);
}

.hub-card h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: none;
}

.hub-card h2 a {
  color: var(--gold-hi);
  text-decoration: none;
}

.hub-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.35;
}

.hub-card .meta {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--ui);
  font-size: 13px;
}

.hub-card .meta strong {
  color: var(--text);
  font-weight: 600;
}

.hub-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 12px;
  font-family: var(--ui);
  font-size: 15px;
}

.hub-bar h1 {
  flex: 1;
  margin: 0;
  font-size: 20px;
  text-align: center;
}

.hub-bar a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hub-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 190px);
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.hub-access {
  min-width: 0;
}

.hub-access th[scope="row"] {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  white-space: nowrap;
}

.hub-access td {
  text-align: center;
}

/* Step 14: the "Guild member?" row under the member names. */
.hub-access .hub-guild-row th[scope="row"] {
  font-family: var(--ui);
  font-size: 13px;
  color: var(--muted, var(--text));
}

.hub-access .hub-guild-row td {
  border-bottom: 1px solid var(--gold);
}

.hub-access input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
}

.hub-row-meta {
  display: block;
  font-family: var(--ui);
  font-size: 12px;
  color: var(--muted);
}

.hub-move .link-button {
  min-height: 32px;
  min-width: 32px;
  justify-content: center;
  padding: 0 6px;
}

.hub-move .link-button[disabled] {
  opacity: 0.3;
  cursor: default;
}

.hub-sets {
  padding-left: 18px;
  font-family: var(--ui);
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .hub-card {
    transition: none;
  }
  .hub-card:hover,
  .hub-card:focus-within {
    transform: none;
  }
}

/* ---- password fields: show/hide goat, and goats instead of dots (Alex, 2026-11-06 18:45) */
.pw-wrap {
  position: relative;
  display: block;
}

.pw-wrap input {
  padding-right: 56px;
}

.pw-wrap.is-masked input {
  color: transparent;
  caret-color: transparent;
  -webkit-text-fill-color: transparent;
}

.pw-goats {
  position: absolute;
  left: 13px;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  pointer-events: none;
}

.pw-goats.is-overflow {
  justify-content: flex-end;
}

.pw-wrap.is-shown .pw-goats {
  display: none;
}

.pw-goat {
  flex: none;
  width: 20px;
  height: 20px;
  animation: pw-pop 140ms ease-out;
}

.pw-caret {
  flex: none;
  width: 2px;
  height: 20px;
  margin-left: 2px;
  background: var(--gold-hi);
  opacity: 0;
}

.pw-wrap.is-focused .pw-caret {
  opacity: 1;
  animation: pw-blink 1.05s steps(1) infinite;
}

@keyframes pw-blink {
  50% {
    opacity: 0;
  }
}

@keyframes pw-pop {
  from {
    transform: scale(0.6);
  }
}

.g-face { fill: var(--g-face); }
.g-ear { fill: var(--g-ear, var(--g-face)); }
.g-muzzle { fill: var(--g-muzzle); }
.g-mark { fill: var(--g-mark, transparent); stroke: none; }
.g-horn { fill: none; stroke: #cdb78a; stroke-width: 1.4; stroke-linecap: round; }
.g-eye { fill: #17110c; }

.g-saanen { --g-face: #f3efe6; --g-muzzle: #e4c9bb; }
.g-nubian { --g-face: #8a5a36; --g-ear: #6a4127; --g-muzzle: #b88a62; }
.g-boer { --g-face: #a2482b; --g-ear: #8a3b22; --g-muzzle: #f1ece2; --g-mark: #f1ece2; }
.g-alpine { --g-face: #2b2320; --g-muzzle: #c99a5c; }
.g-alpine .g-mark { fill: none; stroke: #c99a5c; stroke-width: 1.6; }
.g-lamancha { --g-face: #a39d96; --g-muzzle: #cfc8c0; --g-ear: #8d8780; }
.g-pygmy { --g-face: #1e1b1b; --g-muzzle: #8e8a86; --g-ear: #2e2a29; }
.g-angora { --g-face: #efe7da; --g-muzzle: #d9cbb8; --g-mark: #fbf7ef; }
.g-nigerian { --g-face: #d6a03d; --g-muzzle: #f2e6cc; --g-mark: #fbf4e4; }

.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.pw-toggle:hover {
  background: rgba(216, 179, 106, 0.12);
}

.pw-toggle:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 1px;
}

.pw-toggle-goat {
  width: 28px;
  height: 28px;
  transition: transform 220ms ease;
}

/* Shown: the goat faces the field (left). Hidden: it turns away (right) and shuts its eye. */
.pw-wrap.is-shown .pw-toggle-goat { transform: scaleX(1); }
.pw-wrap.is-masked .pw-toggle-goat { transform: scaleX(-1); }
.pw-wrap.is-masked .t-eye { transform: scaleY(0.25); transform-origin: 10.6px 10.4px; }

.t-face { fill: var(--gold); }
.t-ear { fill: var(--gold-lo); }
.t-beard { fill: var(--gold-hi); }
.t-horn { fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; }
.t-eye { fill: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .pw-goat,
  .pw-wrap.is-focused .pw-caret {
    animation: none;
  }
  .pw-toggle-goat {
    transition: none;
  }
}

/* Hub inbox S4: what friends sent, in Admin > Inbox. Notes keep their line breaks and stay plain text. */
.inbox-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.inbox-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.inbox-list code {
  overflow-wrap: anywhere;
  word-break: break-all;
}

/* Auto-update "Every [n] [unit]" row (Alex 2026-11-14 16:18 "A"): number + unit on one line at 390 px */
.auto-every { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; }
.auto-every input[type="number"] { width: 5.5em; flex: 0 0 auto; }
.auto-every select { width: auto; flex: 0 1 auto; }
.auto-every .hint { flex-basis: 100%; margin: 0; }

/* Hub upload keys (migration 0018): the one-time key wraps instead of overflowing at 390 px. */
.key-once {
  display: block;
  overflow-wrap: anywhere;
  user-select: all;
  padding: 0.5rem;
}
.key-list {
  padding-left: 1.25rem;
}
.key-list li + li {
  margin-top: 0.5rem;
}

/* Typed interval boxes (Alex 2026-11-17 01:32) and Auto-update inside each hub's page (01:33). */
.auto-every .every-box { display: inline-flex; align-items: center; gap: 0.25rem; }
.auto-every .every-box input { width: 4.5em; flex: 0 0 auto; text-align: right; }
.hub-auto { position: relative; }
.hub-auto > summary { cursor: pointer; }
.hub-auto-panel {
  position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 10;
  width: min(26rem, calc(100vw - 2rem)); padding: 1rem;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
@media (max-width: 720px) {
  .hub-auto { flex-basis: 100%; }
  .hub-auto-panel { position: static; width: auto; margin-top: 0.5rem; }
}
