/* Musgrove Manager website — dressed like the game: Tahoma, navy glass over the
   night-stadium photo, gold labels. Colours are the game's own (core/ui/components/style.py). */
:root {
  --root: #0a0f1e;
  --deep: #0d1633;
  --mid: #152048;
  --surface: #1e2f5e;
  --border: #2a3d72;
  --glass: rgba(13, 22, 51, .59);        /* GlassBackdrop panel_tint 150/255 */
  --glass-strong: rgba(13, 22, 51, .78);
  --glass-row: rgba(30, 47, 94, .55);
  --gold: #e8c94a;
  --gold-bright: #f7e06a;
  --gold-rich: #c9a832;
  --on-gold: #0a0f1e;
  --text: #eef0f8;
  --text-2: #9fb1cf;
  --text-3: #6a8aaa;
  --green: #27ae60;
  --red: #e53935;
  --amber: #fb8c00;
  --blue: #3060b0;
  --ui: Tahoma, Verdana, "Segoe UI", Geneva, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  color: var(--text);
  font: 15px/1.55 var(--ui);
  background: var(--root);
  -webkit-font-smoothing: antialiased;
}
/* The glass backdrop: one photo behind the whole page, tinted navy (full_tint 96/255). */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 22, 51, .30) 0%, rgba(13, 22, 51, .55) 55%, rgba(10, 15, 30, .92) 100%),
    url("stadium.jpg") center top / cover no-repeat,
    var(--root);
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); text-decoration: underline; }
h1, h2, h3 { font-family: var(--ui); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: 1.9rem; text-transform: uppercase; color: var(--gold); letter-spacing: .01em; }
h2 { font-size: 1.05rem; text-transform: uppercase; }
h3 { font-size: 1rem; }
p { margin: 0 0 1em; }
code, kbd {
  font: 700 .82em var(--ui);
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px; padding: .05em .4em;
}
.muted { color: var(--text-2); }
.small { font-size: .85rem; }
.center { text-align: center; }
.inline { display: inline; margin: 0; }

/* ---------------------------------------------------------------- glass + labels */
.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 3px;
}
/* The game's panel heading: white caps with a gold bar in front. */
.label {
  display: flex; align-items: center; gap: 8px;
  font: 700 .82rem var(--ui); text-transform: uppercase; letter-spacing: .02em; color: var(--text);
  margin: 0 0 12px;
}
.label::before { content: ""; width: 3px; height: 1em; background: var(--gold); }
.label .aside { margin-left: auto; color: var(--gold); text-transform: none; font-weight: 400; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 .9rem/1 var(--ui); text-transform: uppercase; letter-spacing: .02em;
  padding: .95em 1.5em; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none !important; transition: background .12s, border-color .12s, color .12s;
}
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-bright); color: var(--on-gold); }
.btn-ghost { background: rgba(13, 22, 51, .5); color: var(--text); border-color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-red { background: transparent; color: var(--red); border-color: rgba(229, 57, 53, .5); }
.btn-ghost-red:hover { background: rgba(229, 57, 53, .12); color: var(--red); }
.btn-sm { padding: .7em 1.1em; font-size: .8rem; }
.btn-block { width: 100%; }
.linkbtn { background: none; border: 0; color: var(--text-2); font: inherit; cursor: pointer; padding: 0; }
.linkbtn:hover { color: var(--gold); }

/* ---------------------------------------------------------------- top bar (the game's header strip) */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px max(16px, calc((100% - 1240px) / 2));
  background: rgba(21, 32, 72, .82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gold);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 1.2rem var(--ui); text-transform: uppercase; white-space: nowrap; }
.brand b { color: var(--gold); font-weight: 700; }
.brand:hover { text-decoration: none; color: var(--text); }
.topnav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.topnav a:not(.btn) { color: var(--text); font: 700 .8rem var(--ui); text-transform: uppercase; }
.topnav a:not(.btn):hover, .topnav a.on { color: var(--gold); text-decoration: none; }
.topnav a.on { box-shadow: 0 2px 0 var(--gold); }
.topnav .linkbtn { font: 700 .8rem var(--ui); text-transform: uppercase; }
.navlinks { display: flex; align-items: center; gap: 22px; }
/* Hamburger: phones only. Three bars, a cross when open. */
.menu-btn { display: none; width: 42px; height: 42px; padding: 0; place-items: center; cursor: pointer; background: none; border: 1px solid var(--border); border-radius: 2px; color: var(--text); }
.menu-btn path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.menu-btn .cross, .menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .cross { display: inline; }
.menu-btn[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }

/* ---------------------------------------------------------------- landing */
.section { width: min(1240px, 100% - 32px); margin: 0 auto; padding: 48px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.6rem; color: var(--gold); margin: 0; }
.section-head p { margin: 0; color: var(--text-2); max-width: 36em; }

.hero { padding-top: 56px; }
.hero-panel { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: center; padding: 36px 44px; }
.hero-crest { width: 260px; height: 260px; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .55)); }
.hero-copy .lede { max-width: 40em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .8rem var(--ui); text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(39, 174, 96, .25); }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); color: var(--text); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.lede { font-size: 1.05rem; color: var(--text); }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 18px; }
.cta.center { justify-content: center; }
.makers { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--border); }
.maker { display: flex; align-items: center; gap: 10px; color: var(--text-2); font: 700 .7rem var(--ui); text-transform: uppercase; }
.maker img { height: 30px; width: auto; }
.maker.mg img { height: 44px; }

.screen { margin: 0; position: relative; }
.screen .frame {
  border: 1px solid var(--border); border-top: 2px solid var(--gold); border-radius: 3px; overflow: hidden;
  background: var(--deep); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .75);
}
.screen img { width: 100%; height: auto; }
.screen figcaption { display: flex; gap: 8px; padding: 10px 2px 0; color: var(--text-2); font-size: .85rem; }
.screen figcaption b { color: var(--gold); text-transform: uppercase; }
.zoomable { cursor: zoom-in; }

/* Review band: photo, gold stars, the quote, and the signature (black ink, drawn white). */
.review-band { padding: 8px 0 24px; }
.review {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center;
  max-width: 880px; margin: 0 auto; padding: 28px 36px; border-top: 2px solid var(--gold);
}
.review-face { width: 136px; height: 136px; border-radius: 50%; object-fit: cover; background: var(--surface); border: 3px solid var(--gold); }
.stars { color: var(--gold); font-size: 1.4rem; letter-spacing: .15em; line-height: 1; margin: 0 0 10px; }
.review blockquote { margin: 0 0 14px; }
.review blockquote p { margin: 0; font: 700 clamp(1.8rem, 3.6vw, 2.6rem)/1.1 var(--ui); text-transform: uppercase; color: var(--text); }
.review-by { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--border); }
.review-sig { height: 54px; width: auto; filter: brightness(0) invert(1); }
.review-who { color: var(--text-2); font-size: .9rem; }
.review-who b { display: block; color: var(--gold); text-transform: uppercase; font-size: .95rem; }

/* Competition tiles: the headline competitions in one box, each mark on its own colour, as the game brands them. */
.comp-box { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; padding: 20px; }
.comp-item { margin: 0; }
.comp-item figcaption { margin-top: 8px; text-align: center; font: 700 .72rem/1.2 var(--ui); text-transform: uppercase; color: var(--text); }
.comp {
  position: relative; aspect-ratio: 1; border-radius: 3px; overflow: hidden;
  background: linear-gradient(150deg, var(--c1) 0%, var(--c1) 55%, var(--c2) 140%);
  border: 1px solid rgba(255, 255, 255, .08); border-bottom: 3px solid var(--c2);
  display: grid; place-items: center; transition: transform .12s;
}
.comp:hover { transform: translateY(-2px); }
.comp img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }

/* Screens viewer: the shot, the words for it beside, tabs like the game's bottom command bar. */
.viewer { padding: 14px; }
.viewer-main { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: center; }
.viewer-copy { padding: 8px 8px 8px 0; }
.viewer-count { font: 700 .78rem var(--ui); color: var(--text-3); margin-bottom: 10px; }
.viewer-copy h3 { text-transform: uppercase; color: var(--gold); font-size: 1.35rem; margin-bottom: 12px; }
.viewer-copy p:last-child { color: var(--text); font-size: 1rem; margin: 0; }
.tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 14px; border-top: 1px solid var(--border); }
.tab {
  background: none; border: 0; border-top: 3px solid transparent; color: var(--text);
  padding: 12px 6px 10px; cursor: pointer; font: 700 .78rem var(--ui); text-transform: uppercase; text-align: center;
}
.tab small { display: block; font-weight: 400; text-transform: none; color: var(--gold); margin-top: 3px; font-size: .78rem; }
.tab:hover { background: rgba(30, 47, 94, .5); }
.tab[aria-selected="true"] { border-top-color: var(--gold); background: rgba(30, 47, 94, .7); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; padding: 20px 20px 20px 66px; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold); font: 700 1rem/28px var(--ui); text-align: center;
}
.steps b { color: var(--gold); display: block; text-transform: uppercase; font-size: .85rem; margin-bottom: 4px; }

/* Footer: the game's bottom command bar. */
.cmdbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); background: rgba(21, 32, 72, .85); }
.cmd { padding: 14px 10px; text-align: center; border-right: 1px solid var(--border); font: 700 .78rem var(--ui); text-transform: uppercase; }
.cmd:last-child { border-right: 0; }
.cmd span { display: block; color: var(--gold); text-transform: none; margin-top: 4px; font-size: .85rem; }
a.cmd { color: var(--text); }
a.cmd:hover { background: rgba(30, 47, 94, .7); text-decoration: none; color: var(--text); }
.cmd span { overflow-wrap: anywhere; }
.contact-line { margin: 20px 0 0; text-align: center; color: var(--text-2); }
.app-foot { width: min(1240px, 100% - 32px); margin: -32px auto 40px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-2); font-size: .85rem; text-align: center; }
.cmd.go { background: var(--gold); color: var(--on-gold); }
.cmd.go span { color: var(--on-gold); }
.cmd.go:hover { background: var(--gold-bright); text-decoration: none; }
.footer { width: min(1240px, 100% - 32px); margin: 0 auto; padding: 28px 0 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer .makers { border: 0; padding: 0; gap: 28px; }
.footer .maker img { height: 40px; }
.footer .maker.mg img { height: 64px; }
.footer .legal { margin-left: auto; color: var(--text-3); font-size: .8rem; text-align: right; }
.legal-note { display: block; }

/* Back to top */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--gold); color: var(--on-gold); box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s, background .12s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold-bright); }
.to-top:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* Full-size screenshot viewer */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(5, 8, 18, .92); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: calc(100vh - 48px); width: auto; border: 1px solid var(--border); border-top: 2px solid var(--gold); }

/* ---------------------------------------------------------------- app pages */
.wrap { width: min(1240px, 100% - 32px); margin: 28px auto 64px; }
.card { background: var(--glass); border: 1px solid var(--border); border-radius: 3px; padding: 22px; }
.crumbs { margin-bottom: 14px; font-weight: 700; text-transform: uppercase; font-size: .8rem; }
.count { display: inline-block; font-size: .8em; background: var(--surface); color: var(--gold); border-radius: 2px; padding: 0 .5em; vertical-align: middle; }

.flash { border-radius: 2px; padding: 12px 16px; margin-bottom: 18px; border-left: 3px solid; background: var(--glass-strong); }
.flash ul { margin: 0; padding-left: 1.2em; }
.flash-ok { border-color: var(--green); }
.flash-err { border-color: var(--red); }

.auth { max-width: 430px; margin: 24px auto; }
.auth h1, .auth > p { text-align: center; }
.auth-logo { width: 96px; height: 96px; margin: 0 auto 16px; }

.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .8rem; text-transform: uppercase; }
.form h2 { color: var(--gold); margin: 0; }
.hint { font-weight: 400; color: var(--text-2); font-size: .8rem; text-transform: none; }
input, select, textarea {
  width: 100%; font: 15px var(--ui); color: var(--text); text-transform: none;
  background: rgba(10, 15, 30, .65); border: 1px solid var(--border); border-radius: 2px; padding: .7em .8em;
}
textarea { resize: vertical; min-height: 7em; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: transparent; }
::placeholder { color: var(--text-3); }

.cols { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 28px; align-items: start; }
.col-form { position: sticky; top: 76px; }

.kind-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kind-opt { position: relative; display: block !important; }
.kind-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.kind-opt span { display: block; text-align: center; padding: .7em; border-radius: 2px; border: 1px solid var(--border); background: rgba(10, 15, 30, .5); font: 700 .8rem var(--ui); text-transform: uppercase; color: var(--text-2); }
.kind-opt input:checked + span { color: #fff; border-color: transparent; }
.kind-bug input:checked + span { background: var(--red); }
.kind-idea input:checked + span { background: var(--gold); color: var(--on-gold); }
.kind-feedback input:checked + span { background: var(--blue); }
.kind-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.drop { border: 1px dashed var(--text-3); border-radius: 2px; padding: 16px; text-align: center; background: rgba(10, 15, 30, .35); transition: border-color .12s, background .12s; text-transform: none; font-weight: 400; }
.drop.over { border-color: var(--gold); background: rgba(232, 201, 74, .08); }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop p { margin: 0 0 4px; }
.drop .pick { display: inline !important; color: var(--gold); cursor: pointer; text-decoration: underline; font-size: inherit; text-transform: none; }
.previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.previews:empty { display: none; }
.preview { position: relative; aspect-ratio: 16 / 10; border-radius: 2px; overflow: hidden; background: var(--deep); border: 1px solid var(--border); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .75); color: #fff; cursor: pointer; font-size: 12px; line-height: 22px; padding: 0; }

.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.note-card { background: var(--glass); border: 1px solid var(--border); border-left: 3px solid var(--border); border-radius: 2px; transition: border-color .12s, background .12s; }
.note-card:hover { border-left-color: var(--gold); background: rgba(30, 47, 94, .65); }
.note-link { display: block; padding: 14px 16px; color: inherit; }
.note-link:hover { text-decoration: none; color: inherit; }
.note-top { display: flex; align-items: center; gap: 10px; }
.note-top h3, .note-top h1 { margin: 0; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.note-top h3 { color: var(--text); }
.note-top h1 { font-size: 1.5rem; text-transform: none; color: var(--text); }
.note-excerpt { color: var(--text-2); margin: 8px 0 0; font-size: .92rem; }
.note-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--text-3); font-size: .8rem; margin-top: 10px; }
.thumbs { display: flex; gap: 6px; margin-top: 12px; align-items: center; }
.thumbs img { width: 96px; height: 60px; object-fit: cover; border-radius: 2px; border: 1px solid var(--border); }
.thumbs .more { color: var(--text-2); font-weight: 700; }
.empty { color: var(--text-2); padding: 32px; text-align: center; border: 1px dashed var(--border); border-radius: 2px; background: var(--glass); }

/* Type and status chips: the game's square position-badge look. */
.tag, .status { flex: none; font: 700 .7rem/1 var(--ui); text-transform: uppercase; padding: .45em .6em; border-radius: 2px; background: var(--surface); color: var(--text-2); }
.tag-bug { background: var(--red); color: #fff; }
.tag-idea { background: var(--gold); color: var(--on-gold); }
.tag-feedback { background: var(--blue); color: #fff; }
.status { background: transparent; border: 1px solid var(--border); }
.status-new { color: var(--gold); border-color: var(--gold-rich); }
.status-seen { color: var(--text-2); }
.status-fixed { color: var(--green); border-color: var(--green); }
.status-wontfix { color: var(--text-3); }

.note-full .note-meta { margin: 10px 0 18px; }
.note-body { font-size: 1rem; overflow-wrap: anywhere; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 20px; }
.gallery a { display: block; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; background: var(--deep); color: var(--text-2); font-size: .78rem; }
.gallery a:hover { border-color: var(--gold); text-decoration: none; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery span { display: block; padding: 6px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reply { margin-top: 24px; padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(10, 15, 30, .45); }
.reply h2 { font-size: .85rem; color: var(--gold); }
.reply p { margin: 0; }
.triage { margin-top: 16px; max-width: 640px; }
.danger-row { margin-top: 24px; }

.filters { display: grid; gap: 8px; margin-bottom: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { padding: .45em .8em; border-radius: 2px; border: 1px solid var(--border); background: var(--glass); color: var(--text-2); font: 700 .75rem var(--ui); text-transform: uppercase; }
.pill b { color: var(--text); margin-left: 3px; }
.pill:hover { text-decoration: none; border-color: var(--gold); color: var(--text); }
.pill.on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.pill.on b { color: var(--on-gold); }

.table-wrap { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table th { font: 700 .75rem var(--ui); text-transform: uppercase; color: var(--gold); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(30, 47, 94, .5); }
.table form { margin: 0; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 1060px) {
  .tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .comp-box { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero-panel { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .hero-crest { width: 160px; height: 160px; }
  .viewer-main { grid-template-columns: 1fr; gap: 14px; }
  .viewer-copy { padding: 0 4px; }
  .steps { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .col-form { position: static; }
  .cmdbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmd:nth-child(2) { border-right: 0; }
  .cmd:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .footer .legal { margin-left: 0; text-align: left; }
}
@media (max-width: 640px) {
  .topnav { gap: 10px; }
  .menu-btn { display: grid; }
  .navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(21, 32, 72, .97); border-bottom: 2px solid var(--gold); box-shadow: 0 16px 30px rgba(0, 0, 0, .5);
  }
  .navlinks.open { display: flex; }
  .topnav .navlinks a { padding: 16px; border-top: 1px solid var(--border); font-size: .9rem; }
  .topnav .navlinks a:hover { background: rgba(30, 47, 94, .7); }
  .brand span { display: none; }
  .hero-panel { padding: 22px; }
  .review { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; padding: 24px 20px; }
  .review-by { justify-content: center; }
  .comp-box { gap: 12px; padding: 14px; }
  /* Footer on a phone: contact and the go button take a full row each; the rest stacks, centred. */
  .cmd:nth-child(3), .cmd.go { grid-column: 1 / -1; border-right: 0; }
  .cmd:nth-child(3) { border-bottom: 1px solid var(--border); }
  .footer { flex-direction: column; gap: 22px; padding: 28px 0 32px; text-align: center; }
  .footer .makers { flex-direction: column; gap: 16px; }
  .footer .maker img { height: 30px; }
  .footer .maker.mg img { height: 48px; }
  .footer .legal { margin: 0; text-align: center; }
  .legal-sep { display: none; }
  .legal-mail { display: block; }
  .comp-item figcaption { font-size: .62rem; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab small { display: none; }
  .previews { grid-template-columns: repeat(3, 1fr); }
  .note-top { flex-wrap: wrap; }
  .note-top h3 { flex-basis: 100%; order: 3; }
}
