/* Game District — shared chrome (top bar, drawer, buttons, page hero) */
:root {
  --bg: #040a07;
  --bg-2: #07120d;
  --panel: rgba(12, 26, 20, 0.62);
  --panel-solid: #0b1812;
  --line: rgba(240, 194, 75, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --em: #1fd18f;
  --em-2: #10b981;
  --em-deep: #0a5c3f;
  --gold: #f0c24b;
  --gold-2: #ffd978;
  --gold-deep: #b9801f;
  --cream: #fff6d6;
  --text: #e8f1ec;
  --muted: #8ea59a;
  --gd-display: 'Unbounded', system-ui, sans-serif;
  --gd-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gd-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 22px;
  --gold-grad: linear-gradient(180deg, #fff6d6 0%, #ffd978 32%, #e9ae3a 62%, #b9801f 100%);
  --gold-btn: linear-gradient(180deg, #ffe9a3 0%, #f5c54d 45%, #d89a2a 100%);
}

.gd-i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:where(.gd-top, .gd-side, .gd-foot, .gd-phero) a { color: inherit; text-decoration: none; }
:where(.gd-top, .gd-side, .gd-foot, .gd-phero) img { max-width: 100%; display: block; }
:where(.gd-top, .gd-side) button { font: inherit; color: inherit; }
:where(.gd-top, .gd-side, .gd-phero) :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.gd-side *, .gd-top * { box-sizing: border-box; }
body.gd-lock { overflow: hidden; }

/* ambient background */
.gd-ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--bg); }
.gd-ambient::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(240, 194, 75, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 194, 75, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}
.gd-ambient i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: gdFloat 18s ease-in-out infinite alternate; }
.gd-ambient i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 65%); }
.gd-ambient i:nth-child(2) { width: 40vw; height: 40vw; right: -14vw; top: 30vh; background: radial-gradient(circle, rgba(240, 194, 75, 0.16), transparent 65%); animation-delay: -6s; }
.gd-ambient i:nth-child(3) { width: 50vw; height: 50vw; left: 20vw; bottom: -30vw; background: radial-gradient(circle, rgba(10, 92, 63, 0.4), transparent 65%); animation-delay: -12s; }
@keyframes gdFloat { to { transform: translate3d(4vw, -3vw, 0) scale(1.08); } }

/* logo sizes inside chrome */
.gd-top .d3-logo, .gd-side .d3-logo, .gd-foot .d3-logo { display: inline-flex; align-items: center; gap: 0.3em; line-height: 1; flex: none; text-decoration: none; }
.gd-top .d3-logo { font-size: 24px; }
.gd-foot .d3-logo { font-size: 26px; }

/* type helpers */
.gd-goldtext {
  background: var(--gold-grad);
  background-size: 100% 220%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(240, 194, 75, 0.25));
  animation: gdSheen 6s ease-in-out infinite;
}
@keyframes gdSheen { 0%, 100% { background-position: 0 0; } 50% { background-position: 0 100%; } }
.gd-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 11px/1 var(--gd-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.gd-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.gd-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid rgba(31, 209, 143, 0.35); border-radius: 999px; background: rgba(16, 185, 129, 0.1); font: 700 12px/1 var(--gd-body); letter-spacing: 0.08em; text-transform: uppercase; color: #9ff3cf; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gd-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 0 rgba(31, 209, 143, 0.7); animation: gdPulse 1.8s infinite; }
@keyframes gdPulse { 70% { box-shadow: 0 0 0 9px rgba(31, 209, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 209, 143, 0); } }

/* buttons */
.gd-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border: 0; border-radius: 14px; cursor: pointer;
  font: 800 14.5px/1 var(--gd-body); letter-spacing: 0.01em; white-space: nowrap; text-decoration: none;
  transition: transform 0.35s var(--gd-ease), box-shadow 0.35s var(--gd-ease), background 0.3s, border-color 0.3s;
  isolation: isolate; overflow: hidden;
}
.gd-btn .gd-i { font-size: 18px; }
.gd-btn--gold {
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%) 160% 0 / 250% 100% no-repeat, var(--gold-btn);
  color: #1a1204;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 0 rgba(120, 72, 8, 0.35), 0 10px 30px -8px rgba(240, 194, 75, 0.6);
  transition: transform 0.35s var(--gd-ease), box-shadow 0.35s var(--gd-ease), background-position 0.9s var(--gd-ease);
}
.gd-btn--gold:hover { background-position: -60% 0, 0 0; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(120, 72, 8, 0.35), 0 16px 40px -8px rgba(240, 194, 75, 0.8); }
.gd-btn--glass { background: rgba(255, 255, 255, 0.05); color: var(--cream); border: 1px solid rgba(255, 246, 214, 0.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gd-btn--glass:hover { background: rgba(240, 194, 75, 0.1); border-color: rgba(240, 194, 75, 0.5); transform: translateY(-2px); }
.gd-btn--sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 13.5px; }
.gd-btn--xl { height: 58px; padding: 0 30px; border-radius: 18px; font-size: 16px; }
.gd-btn--block { width: 100%; }
.gd-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-soft); border-radius: 13px; background: rgba(255, 255, 255, 0.04); color: var(--cream); cursor: pointer; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.gd-icon .gd-i { font-size: 19px; }
.gd-icon:hover { border-color: rgba(240, 194, 75, 0.45); color: var(--gold-2); }

/* ================= app shell: sidebar + top bar ================= */
html body.gd-shell { --side-w: 0px; --top-h: 68px; }
@media (min-width: 1100px) {
  html body.gd-shell { --side-w: 256px; padding-left: var(--side-w) !important; transition: padding-left 0.4s var(--gd-ease); }
  html body.gd-shell.gd-side-mini { --side-w: 76px; }
}

/* top bar */
.gd-top {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 14px;
  height: var(--top-h, 68px); padding: 0 clamp(14px, 2.4vw, 30px);
  font-family: var(--gd-body); color: var(--text);
  background: rgba(6, 14, 10, 0.88); border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  transition: background 0.35s, border-color 0.35s;
}
.gd-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 194, 75, 0.45) 30%, rgba(31, 209, 143, 0.4) 70%, transparent); opacity: 0.7; pointer-events: none; }
.gd-top.is-stuck { background: rgba(6, 14, 10, 0.94); }
.gd-top__burger { flex: none; }
.gd-brand { display: inline-flex; align-items: center; gap: 8px; flex: none; min-width: 0; text-decoration: none; }
.gd-brand__mark { width: 34px; height: 34px; object-fit: contain; }
.gd-brand__word { height: 16px; width: auto; max-width: 140px; object-fit: contain; }
@media (max-width: 720px) { .gd-brand__word { display: none; } }
.gd-top__right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.gd-top__nt { display: inline-flex; align-items: center; }
.gd-avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, var(--em-2), var(--em-deep)); border: 2px solid rgba(240, 194, 75, 0.55); font: 800 15px/1 var(--gd-display); color: var(--cream); flex: none; }
.gd-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* search */
html body .gd-search { position: relative; display: flex; align-items: center; gap: 10px; height: 44px; margin: 0; padding: 0 12px 0 14px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; background: rgba(255, 255, 255, 0.04); color: var(--muted); transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; }
html body .gd-search .gd-i { font-size: 18px; }
html body .gd-search:focus-within { border-color: rgba(240, 194, 75, 0.55); background: rgba(0, 0, 0, 0.3); box-shadow: 0 0 0 4px rgba(240, 194, 75, 0.12); color: var(--gold-2); }
html body .gd-search input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0 !important; outline: 0; background: none !important; box-shadow: none !important; color: var(--cream) !important; font: 600 14px/1 var(--gd-body) !important; -webkit-appearance: none; appearance: none; }
html body .gd-search input::placeholder { color: #6f877b; }
html body .gd-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
html body .gd-search kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; font: 800 11px/1 var(--gd-body); color: #7d958a; }
.gd-search--top { flex: 1; max-width: 460px; margin-inline: auto 0 !important; }
.gd-search--side { display: none !important; }

/* wallet pill */
.gd-wal { display: flex; align-items: stretch; height: 44px; border: 1px solid rgba(240, 194, 75, 0.32); border-radius: 14px; background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 1px 0 rgba(255, 246, 214, 0.06); }
.gd-wal__bal { display: grid; align-content: center; padding: 0 14px; line-height: 1.12; text-align: right; }
.gd-wal__bal small { font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.gd-wal__bal b { font: 800 14.5px/1.2 var(--gd-display); color: var(--cream); white-space: nowrap; }
.gd-wal__dep { position: relative; display: flex; align-items: center; gap: 8px; margin: -1px -1px -1px 0; padding: 0 16px; border-radius: 0 14px 14px 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%) 160% 0 / 250% 100% no-repeat, var(--gold-btn); color: #1a1204 !important; font: 800 13.5px/1 var(--gd-body); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 24px -8px rgba(240, 194, 75, 0.7); transition: background-position 0.9s var(--gd-ease); }
.gd-wal__dep:hover { background-position: -60% 0, 0 0; }
.gd-wal__dep .gd-i { font-size: 17px; }

/* sidebar */
.gd-side {
  position: fixed; z-index: 9995; top: 0; bottom: 0; left: 0;
  width: min(300px, 86vw); padding: 14px 12px 18px;
  display: flex; flex-direction: column; gap: 14px;
  background: radial-gradient(120% 40% at 0 0, rgba(16, 185, 129, 0.12), transparent 70%), linear-gradient(180deg, #0a1812, #050c09 70%);
  border-right: 1px solid var(--line); color: var(--text); font-family: var(--gd-body);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #1e3127 transparent;
  transform: translateX(-104%); visibility: hidden;
  transition: transform 0.45s var(--gd-ease), visibility 0s linear 0.45s, width 0.4s var(--gd-ease);
}
.gd-side__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gd-side__tog { display: none; }
.gd-side__logo { flex: 1; }
.gd-side__logo .d3-logo { display: inline-flex; align-items: center; gap: 0.3em; font-size: 22px; line-height: 1; text-decoration: none; }
.gd-side__brand { display: inline-flex; align-items: center; gap: 8px; flex: 1; min-width: 0; text-decoration: none; }
.gd-side__modes { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gd-mode { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; height: 64px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; font: 900 13px/1 var(--gd-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); transition: border-color 0.25s, transform 0.3s var(--gd-ease); }
.gd-mode img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 0.3s, transform 0.6s var(--gd-ease); }
.gd-mode::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(4, 10, 7, 0.92), rgba(4, 10, 7, 0.2)); }
.gd-mode span { position: relative; z-index: 2; }
.gd-mode:hover img { opacity: 0.8; transform: scale(1.08); }
.gd-mode.is-on { border-color: rgba(240, 194, 75, 0.65); box-shadow: 0 0 0 1px rgba(240, 194, 75, 0.25), 0 10px 26px -12px rgba(240, 194, 75, 0.6); color: var(--gold-2); }
.gd-mode.is-on img { opacity: 0.85; }

.gd-side__me { display: flex; align-items: center; gap: 11px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, rgba(240, 194, 75, 0.1), rgba(240, 194, 75, 0.02)); }
.gd-side__me .gd-avatar { width: 38px; height: 38px; font-size: 14px; }
.gd-side__who { display: grid; gap: 3px; min-width: 0; line-height: 1.2; }
.gd-side__who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cream); font-size: 14px; }
.gd-side__who small { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.gd-side__bal { margin-left: auto; font: 800 12.5px/1 var(--gd-display); color: var(--gold-2); white-space: nowrap; }
.gd-side__join { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(120% 120% at 0 0, rgba(16, 185, 129, 0.2), transparent 60%), rgba(255, 255, 255, 0.02); }
.gd-side__join b { font: 900 15px/1.2 var(--gd-display); color: var(--cream); }
.gd-side__join span { margin-bottom: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }

.gd-side__nav { display: grid; gap: 14px; }
.gd-side__group { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.gd-side__label { margin: 0 0 6px 12px; font-size: 10px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #5f776b; white-space: nowrap; }
.gd-side__nav a { position: relative; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 12px; font-weight: 700; font-size: 14px; color: #b8c8bf; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.gd-side__nav a .gd-i { font-size: 19px; color: #7b9587; transition: color 0.2s; }
.gd-side__nav a span { overflow: hidden; text-overflow: ellipsis; }
.gd-side__nav a:hover { background: rgba(255, 255, 255, 0.045); color: var(--cream); }
.gd-side__nav a:hover .gd-i { color: var(--gold-2); }
.gd-side__nav a.is-on { background: linear-gradient(90deg, rgba(240, 194, 75, 0.18), rgba(240, 194, 75, 0.02)); color: var(--gold-2); }
.gd-side__nav a.is-on .gd-i { color: var(--gold); }
.gd-side__nav a.is-on::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.gd-side__nav a em { margin-left: auto; padding: 4px 7px; border-radius: 6px; background: rgba(31, 209, 143, 0.14); color: #7ff0c4; font: 800 9.5px/1 var(--gd-body); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; }
.gd-side__nav a.gd-side__out { margin-top: -4px; color: #ff9aa5; }
.gd-side__nav a.gd-side__out .gd-i { color: #ff9aa5; }
.gd-side__foot { display: flex; align-items: center; gap: 4px; margin: auto 0 0; padding: 12px 8px 0; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 12px; white-space: nowrap; }

.gd-scrim { position: fixed; inset: 0; z-index: 9994; background: rgba(2, 6, 4, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
body.gd-drawer-open .gd-side { transform: none; visibility: visible; transition: transform 0.45s var(--gd-ease), visibility 0s; }
body.gd-drawer-open .gd-scrim { opacity: 1; pointer-events: auto; }

@media (min-width: 1100px) {
  .gd-side { z-index: 70; width: var(--side-w); transform: none; visibility: visible; padding-top: 12px; transition: width 0.4s var(--gd-ease); }
  .gd-scrim, .gd-top__burger { display: none !important; }
  .gd-side__tog { display: inline-grid; }
  .gd-side__logo, .gd-side__close { display: none; }
  .gd-side__head { flex-wrap: nowrap; height: 44px; }
  .gd-side__modes { flex: 1; flex-basis: auto; }
  .gd-mode { height: 44px; align-items: center; justify-content: center; padding: 0 8px; font-size: 11.5px; }
  .gd-top__logo { margin-right: 6px; }

  body.gd-side-mini .gd-side { padding-inline: 10px; }
  body.gd-side-mini .gd-side__modes,
  body.gd-side-mini .gd-side__join,
  body.gd-side-mini .gd-side__who,
  body.gd-side-mini .gd-side__bal,
  body.gd-side-mini .gd-side__label,
  body.gd-side-mini .gd-side__nav a span,
  body.gd-side-mini .gd-side__nav a em,
  body.gd-side-mini .gd-side__foot span { display: none; }
  body.gd-side-mini .gd-side__tog { margin-inline: auto; }
  body.gd-side-mini .gd-side__me { justify-content: center; padding: 6px; }
  body.gd-side-mini .gd-side__group { padding-top: 10px; }
  body.gd-side-mini .gd-side__nav a { justify-content: center; padding: 0; }
  body.gd-side-mini .gd-side__foot { justify-content: center; padding-inline: 0; }
  body.gd-side-mini .gd-side__foot .gd-age { margin: 0; }
}

/* page hero (inner pages) */
.gd-phero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(230px, 30vw, 360px);
  margin: 0 0 26px; padding: clamp(26px, 4vw, 54px);
  border-radius: 30px;
  font-family: var(--gd-body); color: var(--text);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}
.gd-phero__art { position: absolute; z-index: -3; inset: 0; }
.gd-phero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; animation: gdArtIn 1.6s var(--gd-ease) both; }
@keyframes gdArtIn { from { opacity: 0; transform: scale(1.1); } }
.gd-phero__shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(4, 10, 7, 0.95) 0%, rgba(4, 10, 7, 0.75) 34%, rgba(4, 10, 7, 0.1) 70%), linear-gradient(0deg, rgba(4, 10, 7, 0.6), transparent 40%); }
.gd-phero__frame { position: absolute; z-index: -1; inset: 0; border-radius: inherit; border: 1px solid rgba(240, 194, 75, 0.28); box-shadow: inset 0 1px 0 rgba(255, 246, 214, 0.12); pointer-events: none; }
.gd-phero__frame::before, .gd-phero__frame::after { content: ""; position: absolute; width: 46px; height: 46px; border: 2px solid var(--gold); opacity: 0.8; }
.gd-phero__frame::before { left: 14px; top: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.gd-phero__frame::after { right: 14px; bottom: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }
.gd-phero__in { position: relative; display: grid; justify-items: start; gap: 12px; max-width: 620px; }
.gd-phero__in > * { animation: gdUp 0.9s var(--gd-ease) both; }
.gd-phero__in > *:nth-child(2) { animation-delay: 0.08s; }
.gd-phero__in > *:nth-child(3) { animation-delay: 0.16s; }
.gd-phero__in > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes gdUp { from { opacity: 0; transform: translateY(22px); } }
.gd-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.gd-crumb a:hover { color: var(--gold-2); }
.gd-crumb i { font-style: normal; opacity: 0.5; }
.gd-crumb span { color: var(--cream); }
.gd-phero__title { margin: 4px 0 0; font: 900 clamp(34px, 5.6vw, 72px)/0.95 var(--gd-display); letter-spacing: -0.015em; text-transform: uppercase; color: var(--cream); }
.gd-phero__title b { display: inline-block; padding-right: 0.04em; font-weight: inherit; }
.gd-phero__sub { margin: 0; max-width: 46ch; color: #c2d2c9; font-size: clamp(14px, 1.3vw, 16.5px); line-height: 1.55; }

/* footer */
.gd-foot { display: grid; grid-template-columns: 1fr auto; gap: 24px; max-width: 1440px; margin: clamp(60px, 8vw, 100px) auto 0; padding: 34px clamp(18px, 6vw, 88px) 40px; border-top: 1px solid var(--line-soft); color: var(--text); font-family: var(--gd-body); }
.gd-foot__brand p { margin: 10px 0 0; color: var(--muted); }
.gd-foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-weight: 700; color: #b9c9c0; }
.gd-foot__links a:hover { color: var(--gold-2); }
.gd-foot__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; }
.gd-age { display: inline-grid; place-items: center; min-width: 34px; height: 22px; margin-right: 6px; border: 1px solid rgba(255, 107, 122, 0.5); border-radius: 6px; color: #ff9aa5; font-size: 11px; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--gd-ease), transform 0.9s var(--gd-ease); transition-delay: calc(var(--d, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (min-width: 1100px) {
  html body .d3dock { display: none !important; }
  html body .d3dock-space { height: 0; }
}
@media (max-width: 860px) {
  .gd-search--top { display: none !important; }
  .gd-search--side { display: flex !important; }
}
@media (max-width: 720px) {
  html body.gd-shell { --top-h: 62px; }
  .gd-top { gap: 8px; padding: 0 12px; }
  .gd-top .d3-logo { font-size: 21px; }
  .gd-top:not(.gd-top--app) .gd-top__login { display: none; }
  .gd-top--app .d3-logo__text { display: none; }
  .gd-top__av { display: none; }
  .gd-top__burger, .gd-top__help { width: 40px; height: 40px; }
  .gd-top--app .gd-top__help { display: none; }
  .gd-wal { height: 40px; border-radius: 12px; }
  .gd-wal__bal { padding: 0 10px; }
  .gd-wal__bal small { display: none; }
  .gd-wal__bal b { font-size: 13px; }
  .gd-wal__dep { padding: 0 12px; border-radius: 0 12px 12px 0; }
  .gd-wal__dep span { display: none; }

  .gd-phero { min-height: 250px; align-items: flex-end; margin-bottom: 18px; padding: 24px 20px; border-radius: 24px; }
  .gd-phero__art img { object-position: 72% 50%; }
  .gd-phero__shade { background: linear-gradient(0deg, rgba(4, 10, 7, 0.96) 12%, rgba(4, 10, 7, 0.55) 55%, rgba(4, 10, 7, 0.15) 100%); }
  .gd-phero__frame::before, .gd-phero__frame::after { width: 30px; height: 30px; }
  .gd-crumb { display: none; }

  .gd-foot { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .gd-ambient i, .gd-goldtext, .gd-kicker i, .gd-phero__art img, .gd-phero__in > * { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
