/* ==========================================================
   Wii-menu × Frutiger Aero portfolio — green edition
   ========================================================== */

:root {
  --green: #3dbb4f;
  --green-deep: #1f8f3a;
  --green-dark: #17692c;
  --green-light: #a6e3ad;
  --mint: #e6f8e8;
  --ink: #3f4a45;
  --ink-soft: #7a8580;
  --line: #cfd6d2;
  --tile-border: #d3d9d6;
  --dock-h: 180px;
  --radius: 22px;
  font-family: "M PLUS Rounded 1c", "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

body {
  color: var(--ink);
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.022) 0 2px, transparent 2px 6px),
    radial-gradient(ellipse at 20% 0%, #ffffff 0%, transparent 60%),
    linear-gradient(#f7f9f8, #eaefec);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }

/* ---------- Floating bubbles ---------- */
.bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 8%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 50% 50%, rgba(140,220,150,.05) 55%, rgba(61,187,79,.22) 72%, rgba(255,255,255,.5) 76%, rgba(61,187,79,.12) 82%, transparent 84%);
  animation: float 22s ease-in-out infinite;
  opacity: .8;
}
.b1 { width: 140px; height: 140px; left: 4%;  top: 62%; animation-duration: 26s; }
.b2 { width: 70px;  height: 70px;  left: 18%; top: 12%; animation-duration: 19s; animation-delay: -4s; }
.b3 { width: 220px; height: 220px; right: -60px; top: 6%; animation-duration: 30s; }
.b4 { width: 46px;  height: 46px;  left: 46%; top: 4%;  animation-duration: 17s; animation-delay: -8s; }
.b5 { width: 110px; height: 110px; right: 10%; top: 58%; animation-duration: 24s; animation-delay: -12s; }
.b6 { width: 34px;  height: 34px;  left: 33%; top: 70%; animation-duration: 15s; }
.b7 { width: 90px;  height: 90px;  left: 64%; top: 30%; animation-duration: 28s; animation-delay: -6s; opacity: .5; }
.b8 { width: 28px;  height: 28px;  right: 26%; top: 14%; animation-duration: 14s; animation-delay: -2s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(60px, -70px) scale(1.05); }
  50%      { transform: translate(-30px, -120px) scale(.96); }
  75%      { transform: translate(-70px, -40px) scale(1.03); }
}

/* Drifters rise up from below the screen and leave off the top */
.rise { bottom: -260px; top: auto; animation: rise linear infinite, sway 6s ease-in-out infinite alternate; }
.r1 { width: 90px;  height: 90px;  left: 12%; animation-duration: 26s, 6s; }
.r2 { width: 40px;  height: 40px;  left: 38%; animation-duration: 18s, 4s; animation-delay: -9s, 0s; }
.r3 { width: 150px; height: 150px; left: 58%; animation-duration: 34s, 8s; animation-delay: -20s, -2s; }
.r4 { width: 60px;  height: 60px;  left: 80%; animation-duration: 22s, 5s; animation-delay: -4s, -1s; }
.r5 { width: 26px;  height: 26px;  left: 70%; animation-duration: 15s, 3.5s; animation-delay: -11s, 0s; }
@keyframes rise { from { translate: 0 0; } to { translate: 0 calc(-100vh - 520px); } }
@keyframes sway { from { margin-left: -40px; } to { margin-left: 40px; } }

/* Crossers drift sideways in from one edge and out the other */
.cross { left: -260px; animation: cross linear infinite, bobble 7s ease-in-out infinite alternate; }
.c1 { width: 70px;  height: 70px;  top: 22%; animation-duration: 38s, 7s; }
.c2 { width: 120px; height: 120px; top: 48%; animation-duration: 52s, 9s; animation-delay: -30s, -3s; animation-direction: reverse, alternate; }
.c3 { width: 36px;  height: 36px;  top: 78%; animation-duration: 30s, 5s; animation-delay: -12s, 0s; }
@keyframes cross { from { translate: 0 0; } to { translate: calc(100vw + 520px) 0; } }
@keyframes bobble { from { margin-top: -30px; } to { margin-top: 30px; } }

/* ---------- Top bar ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center;
  max-width: 1180px; margin: 0 auto; padding: 26px 32px 0;
}
.nameplate {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 22px 8px 8px;
  background: linear-gradient(#ffffff, #eef3f0);
  border: 1px solid var(--tile-border);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06), inset 0 1px 0 #fff;
}
.profile-pic {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; display: block;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--green), 0 2px 6px rgba(31,143,58,.35);
}
.nameplate strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.nameplate small  { font-size: .78rem; color: var(--ink-soft); }

/* ---------- Channel grid ---------- */
.menu {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 110px 32px calc(var(--dock-h) + 10px);
}
.grid {
  width: 100%; max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  border: 3px solid #fff;
  outline: 1px solid var(--tile-border);
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  display: block;
  box-shadow: 0 3px 8px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease, outline-color .18s;
}
/* glossy top shine */
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 45%, rgba(255,255,255,0) 50%);
  border-radius: inherit;
}
.tile[href]:hover, .tile[href]:focus-visible {
  transform: scale(1.045);
  outline: 4px solid var(--green);
  box-shadow: 0 0 0 8px rgba(61,187,79,.18), 0 10px 22px rgba(31,143,58,.25);
  z-index: 2;
}
.tile[href]:active { transform: scale(1.0); }

.tile-art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding-bottom: 22%;
}
.tile-art .icon { width: 36%; height: auto; filter: drop-shadow(0 3px 4px rgba(0,0,0,.15)); transition: transform .25s; }
.tile:hover .tile-art .icon { transform: translateY(-4px); }

.tile-label {
  position: absolute; left: 0; right: 0; bottom: 11%;
  text-align: center;
  font-weight: 800; font-size: clamp(1rem, 1.7vw, 1.45rem);
  color: var(--green-deep);
  letter-spacing: .01em;
}

/* Individual channel looks */
.t-games { background: linear-gradient(160deg, #6ad977 0%, #2fae48 55%, #1b8a37 100%); }
.t-games .tile-label { color: #fff; text-shadow: 0 2px 3px rgba(0,0,0,.25); }
.t-games .tile-art::before {
  content: ""; position: absolute; width: 140%; height: 70%; bottom: -30%; left: -20%;
  border-radius: 50%; background: rgba(255,255,255,.12);
}

.t-proto {
  background:
    linear-gradient(rgba(61,187,79,.13) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgba(61,187,79,.13) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(#ffffff, #effaf0);
}
.t-proto .gear { width: 30%; animation: spin 14s linear infinite; }
.t-proto .gear.small { position: absolute; width: 16%; top: 14%; right: 24%; animation-direction: reverse; animation-duration: 9s; }
@keyframes spin { to { rotate: 360deg; } }

/* Games: controller rocks like it's being played, buttons light up */
.t-games .pad { animation: rock 2.4s ease-in-out infinite; transform-origin: 50% 60%; }
.t-games .btn-dot { animation: press 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.t-games .d2 { animation-delay: .3s; } .t-games .d3 { animation-delay: .6s; } .t-games .d4 { animation-delay: .9s; }
.t-games .dpad { animation: dpad 2.4s ease-in-out infinite; }
@keyframes rock { 0%,100% { rotate: -5deg; } 50% { rotate: 5deg; } }
@keyframes press { 0%,70%,100% { fill: #2aa046; scale: 1; } 80% { fill: #b9f5c0; scale: .7; } }
@keyframes dpad { 0%,100% { stroke: #2aa046; } 40% { stroke: #7fe08b; } }

.t-art { background: linear-gradient(160deg, #fffdf4 0%, #f0fae9 60%, #dff3e2 100%); }
.t-art .tile-art::after { /* rainbow brush stroke that paints itself on */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 30%; height: 10px; border-radius: 10px;
  background: linear-gradient(90deg, #ff8a7a, #ffd15c, #3dbb4f, #5cb8ff); opacity: .45; filter: blur(.5px);
  transform-origin: left center; animation: paint 3.2s ease-in-out infinite;
}
@keyframes paint { 0% { scale: 0 1; opacity: .45; } 55% { scale: 1 1; opacity: .45; } 85%,100% { scale: 1 1; opacity: 0; } }
.t-art .palette { animation: tilt 3.2s ease-in-out infinite; }
.t-art .paint { transform-box: fill-box; transform-origin: center; animation: blob 3.2s ease-in-out infinite; }
.t-art .p2 { animation-delay: .2s; } .t-art .p3 { animation-delay: .4s; } .t-art .p4 { animation-delay: .6s; }
.t-art .brush { position: absolute; width: 7%; left: 62%; top: 10%; rotate: 35deg; animation: dab 3.2s ease-in-out infinite; }
@keyframes tilt { 0%,100% { rotate: -3deg; } 50% { rotate: 3deg; } }
@keyframes blob { 0%,100% { scale: 1; } 15% { scale: 1.3; } 30% { scale: 1; } }
@keyframes dab {
  0%,100% { translate: 0 0; rotate: 35deg; }
  20% { translate: -12px 8px; rotate: 20deg; }
  30% { translate: -8px 4px; rotate: 30deg; }
  55% { translate: 6px 2px; rotate: 45deg; }
}

.t-music { background: radial-gradient(circle at 70% 20%, #ffffff 0%, #dbf5de 55%, #bfeac5 100%); }
.t-music .note { position: absolute; }
.t-music .n1 { width: 22%; left: 30%; top: 14%; animation: bob 2.6s ease-in-out infinite; }
.t-music .n2 { width: 12%; left: 58%; top: 22%; animation: bob 2.6s ease-in-out infinite -1.3s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }

.t-me {
  background:
    conic-gradient(from 45deg, #ecf9ee 25%, #ffffff 0 50%, #ecf9ee 0 75%, #ffffff 0) 0 0 / 34px 34px;
}
.t-me { animation: checker 12s linear infinite; }
@keyframes checker { to { background-position: 68px 68px; } }
.t-me .icon { width: 30%; }
.t-me .person { animation: hop 2.8s ease-in-out infinite; }
.t-me .head { transform-box: fill-box; transform-origin: 50% 100%; animation: nod 2.8s ease-in-out infinite; }
.t-me .eyes { transform-box: fill-box; transform-origin: center; animation: blink 4s infinite; }
.t-me .wave-arm { transform-box: fill-box; transform-origin: 0% 100%; animation: wave 1.4s ease-in-out infinite; }
@keyframes hop { 0%,100% { translate: 0 0; } 10% { translate: 0 -5px; } 20% { translate: 0 0; } }
@keyframes nod { 0%,100% { rotate: 0deg; } 40% { rotate: -8deg; } 70% { rotate: 6deg; } }
@keyframes blink { 0%,92%,100% { scale: 1 1; } 95% { scale: 1 .1; } }
@keyframes wave { 0%,100% { rotate: 0deg; } 50% { rotate: 22deg; } }

.tile.empty {
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.025) 0 2px, transparent 2px 5px),
    linear-gradient(#f5f7f6, #e9eeeb);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.05);
}
.tile.empty::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 18%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%;
  border: 3px solid rgba(0,0,0,.05);
}

/* ---------- Bottom dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  height: var(--dock-h);
  pointer-events: none;
}
.dock-wave { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 -3px 6px rgba(0,0,0,.05)); }
.dock > * { pointer-events: auto; }

.clock {
  position: absolute; left: 50%; top: 22px; translate: -50% 0;
  text-align: center; color: #8c9691;
  pointer-events: none;
}
.time { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
#hm {
  font-size: 3.4rem; font-weight: 300; letter-spacing: .06em; line-height: 1;
  color: #8c9691;
}
#ampm { font-size: 1rem; font-weight: 700; }
.date { margin-top: 22px; font-size: 1.9rem; font-weight: 700; color: #8a948f; }

.round-btn {
  position: absolute; bottom: 18px;
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: 2px;
  text-decoration: none; color: var(--green-deep); font-weight: 800; font-size: .95rem;
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f1f5f3 60%, #e3eae6 100%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--green-light), 0 4px 10px rgba(0,0,0,.12), inset 0 -4px 8px rgba(0,0,0,.05);
  transition: transform .15s, box-shadow .15s;
}
.round-btn svg { width: 34px; height: 34px; }
.round-btn:hover, .round-btn:focus-visible {
  transform: scale(1.07);
  box-shadow: 0 0 0 4px var(--green), 0 0 0 10px rgba(61,187,79,.18), 0 6px 14px rgba(0,0,0,.15);
}
.round-btn.left  { left: 6vw; }
.round-btn.right { right: 6vw; }

body.in-channel .menu, body.in-channel .home-title { visibility: hidden; }

/* ---------- Channel pages ---------- */
.channel {
  position: fixed; inset: 0; z-index: 20;
  overflow-y: auto;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.02) 0 2px, transparent 2px 6px),
    linear-gradient(#f8faf9, #e9efeb);
  opacity: 0; transform: scale(.25);
  transition: opacity .32s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.channel.open { opacity: 1; transform: none; }
.channel.closing { opacity: 0; transform: scale(.85); transition-duration: .3s; }

.channel-inner { max-width: 1100px; margin: 0 auto; padding: 40px 32px 150px; }

.banner {
  position: relative; overflow: hidden;
  padding: 26px 34px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(160deg, #6ad977 0%, #2fae48 55%, #1b8a37 100%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--tile-border), 0 8px 20px rgba(31,143,58,.25);
  margin-bottom: 30px;
}
.banner::after {
  content: ""; position: absolute; inset: 0 0 50% 0;
  background: linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.08));
  pointer-events: none;
}
.banner h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,.2); }
.banner p  { margin: 4px 0 0; opacity: .95; font-weight: 500; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.card {
  background: linear-gradient(#ffffff, #f7faf8);
  border: 3px solid #fff;
  outline: 1px solid var(--tile-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .18s, box-shadow .18s, outline-color .18s;
}
.card:hover { transform: translateY(-4px); outline-color: var(--green); box-shadow: 0 0 0 5px rgba(61,187,79,.15), 0 12px 24px rgba(0,0,0,.08); }
.card-body { padding: 18px 22px 22px; }
.card h2 { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; }
.card p { margin: 0 0 10px; line-height: 1.6; }
.meta { color: var(--green-deep); font-weight: 700; font-size: .85rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 800; color: var(--ink-soft); }

.thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.card.featured { display: grid; grid-template-columns: 1.3fr 1fr; margin-bottom: 26px; }
.card.featured .card-body { padding: 26px 28px; align-self: center; }
.card.featured h2 { font-size: 1.8rem; }
.video { aspect-ratio: 16 / 9; width: 100%; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Placeholders */
.ph {
  display: grid; place-items: center;
  background:
    linear-gradient(135deg, rgba(61,187,79,.08) 25%, transparent 25% 50%, rgba(61,187,79,.08) 50% 75%, transparent 75%) 0 0 / 24px 24px,
    linear-gradient(#f2faf3, #e1f3e4);
  color: var(--green-deep); font-weight: 700; font-size: .9rem;
}
.ph span { background: rgba(255,255,255,.8); padding: 6px 14px; border-radius: 999px; }

/* Tags & buttons */
.tags { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: .78rem; font-weight: 700; color: var(--green-dark);
  background: var(--mint); border: 1px solid #c8ecce;
  padding: 3px 10px; border-radius: 999px;
}
.tags.big li { font-size: .9rem; padding: 5px 14px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn {
  display: inline-block; text-decoration: none;
  padding: 9px 20px; border-radius: 999px;
  font-weight: 800; font-size: .92rem; color: #fff;
  background: linear-gradient(#6ad977, #2fae48 50%, #229c3e 51%, #2fae48);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #2a9a42, 0 3px 6px rgba(31,143,58,.3);
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #2a9a42, 0 0 0 5px rgba(61,187,79,.2), 0 5px 10px rgba(31,143,58,.3); }
.btn.ghost {
  color: var(--green-deep); text-shadow: none;
  background: linear-gradient(#ffffff, #eef4f0);
  box-shadow: 0 0 0 1px var(--tile-border), 0 2px 4px rgba(0,0,0,.06);
}

/* Gallery */
.gallery { columns: 3 260px; column-gap: 20px; }
.gallery figure {
  break-inside: avoid; margin: 0 0 20px;
  background: #fff; border: 3px solid #fff; outline: 1px solid var(--tile-border);
  border-radius: 18px; overflow: hidden; cursor: zoom-in;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
  transition: transform .18s, outline-color .18s;
}
.gallery figure:hover { transform: scale(1.02); outline-color: var(--green); }
.gallery img { display: block; width: 100%; height: auto; image-rendering: auto; }
.gallery img.pixel { image-rendering: pixelated; } /* add class="pixel" to pixel art */
.gallery .ph { aspect-ratio: 1; }
.gallery .ph.tall { aspect-ratio: 3 / 4; }
.gallery .ph.wide { aspect-ratio: 16 / 9; }
.gallery figcaption { padding: 10px 14px; font-weight: 700; font-size: .9rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-content: center; justify-items: center; gap: 12px;
  background: rgba(20,40,28,.75); backdrop-filter: blur(6px);
  cursor: zoom-out; padding: 30px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 14px; border: 4px solid #fff; }
.lightbox p { color: #fff; font-weight: 700; margin: 0; }

/* Music */
.tracks { display: grid; gap: 14px; }
.track {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 22px 14px 14px;
  background: linear-gradient(#ffffff, #f4f8f5);
  border: 3px solid #fff; outline: 1px solid var(--tile-border);
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0,0,0,.05);
}
.track.playing { outline: 3px solid var(--green); }
.play {
  flex: none; width: 58px; height: 58px; border-radius: 50%; cursor: pointer;
  border: 3px solid #fff;
  background: radial-gradient(circle at 40% 30%, #8fe39a, var(--green) 55%, var(--green-deep));
  box-shadow: 0 0 0 1px #2a9a42, 0 3px 6px rgba(31,143,58,.35);
  position: relative;
}
.play::before { /* play triangle */
  content: ""; position: absolute; left: 22px; top: 16px;
  border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.track.playing .play::before { /* pause bars */
  left: 18px; top: 17px; width: 6px; height: 19px; border: 0;
  background: #fff; box-shadow: 10px 0 0 #fff;
}
.track-info { flex: 1; min-width: 0; }
.track-info strong { display: block; font-size: 1.05rem; }
.track-info small { color: var(--ink-soft); }
.bar { height: 8px; margin-top: 8px; border-radius: 8px; background: #e2ebe5; cursor: pointer; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6ad977, var(--green)); border-radius: inherit; }
.dur { color: var(--ink-soft); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.track.missing .play { filter: grayscale(1); opacity: .6; }

/* About */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.avatar {
  width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 0 0 2px var(--green-light), 0 8px 20px rgba(0,0,0,.1);
}
.about-text h2 { margin: 0 0 10px; font-size: 1.9rem; font-weight: 800; }
.about-text h3 { margin: 24px 0 8px; font-size: 1.05rem; color: var(--green-deep); }
.about-text p { line-height: 1.7; margin: 0 0 10px; }
.timeline { list-style: none; margin: 0 0 18px; padding: 0 0 0 18px; border-left: 3px solid var(--green-light); }
.timeline li { position: relative; padding: 4px 0 8px; }
.timeline li::before {
  content: ""; position: absolute; left: -30px; top: 10px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--green-light);
}

/* Channel "Menu" button */
.channel-dock {
  position: fixed; left: 0; right: 0; bottom: 0; height: 100px;
  background: linear-gradient(rgba(255,255,255,0), rgba(232,239,235,.95) 45%);
  display: flex; align-items: center; padding-left: 5vw;
}
.menu-btn {
  text-decoration: none; font-weight: 800; font-size: 1.1rem; color: var(--green-deep);
  padding: 14px 40px; border-radius: 999px;
  background: linear-gradient(#ffffff, #eaf0ec);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--green-light), 0 4px 10px rgba(0,0,0,.1);
  transition: transform .15s, box-shadow .15s;
}
.menu-btn:hover, .menu-btn:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 0 0 4px var(--green), 0 0 0 10px rgba(61,187,79,.18), 0 6px 12px rgba(0,0,0,.12);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  :root { --dock-h: 150px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .menu { padding-top: 100px; }
  .round-btn { width: 78px; height: 78px; bottom: 16px; font-size: .8rem; }
  .round-btn svg { width: 26px; height: 26px; }
  #hm { font-size: 2.5rem; }
  .date { font-size: 1.3rem; margin-top: 14px; }
  .card.featured { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .avatar { max-width: 200px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .topbar, .menu, .channel-inner { padding-left: 16px; padding-right: 16px; }
  .clock { top: 30px; }
  #hm { font-size: 2rem; }
  .track { border-radius: 24px; }
}

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

/* ---------- Intro fade-in ---------- */
.intro { animation: introUp .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d, 0) * 90ms + 150ms); }
.intro-clock { animation: introFade .9s ease both; animation-delay: 700ms; }
@keyframes introUp { from { opacity: 0; translate: 0 18px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes introFade { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
.dock-wave { animation: introFade .8s ease both; animation-delay: 100ms; }

/* ---------- News tile ---------- */
.t-news { background: linear-gradient(160deg, #ffffff 0%, #f1faf2 55%, #dcf2df 100%); }
.t-news .paper { width: 36%; animation: rustle 3s ease-in-out infinite; }
.t-news .headline { animation: flash 3s ease-in-out infinite; }
.t-news .ln { transform-box: fill-box; transform-origin: left center; animation: type 3s ease-in-out infinite; }
.t-news .l2 { animation-delay: .2s; } .t-news .l3 { animation-delay: .4s; } .t-news .l4 { animation-delay: .6s; }
@keyframes rustle { 0%,100% { rotate: -2deg; translate: 0 0; } 50% { rotate: 2deg; translate: 0 -3px; } }
@keyframes flash { 0%,100% { fill: #2aa046; } 50% { fill: #5fd36d; } }
@keyframes type { 0% { scale: 0 1; } 40%,100% { scale: 1 1; } }

.ticker {
  position: absolute; left: 0; right: 0; top: 0; z-index: 1;
  height: 13%; min-height: 20px;
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(#4cc85e, #2aa046);
  color: #fff; font-weight: 800; font-size: clamp(.7rem, 1vw, .85rem); white-space: nowrap;
}
.ticker span { padding-left: 100%; animation: ticker 11s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- News posts ---------- */
.posts { display: grid; gap: 28px; max-width: 820px; margin: 0 auto; }
.post {
  background: linear-gradient(#ffffff, #f8fbf9);
  border: 3px solid #fff; outline: 1px solid var(--tile-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.post-cover { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
img.post-cover, .post-images img { cursor: zoom-in; }
.post-body { padding: 22px 30px 28px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.post-meta time {
  font-weight: 800; font-size: .82rem; color: #fff;
  background: linear-gradient(#4cc85e, #2aa046);
  padding: 3px 12px; border-radius: 999px;
}
.post-meta .tags { margin: 0; }
.post h2 { margin: 12px 0 10px; font-size: 1.6rem; font-weight: 800; }
.post p { line-height: 1.75; margin: 0 0 12px; }
.post a { color: var(--green-deep); font-weight: 700; }
.post .video { margin: 14px 0; border-radius: 14px; overflow: hidden; }
.post-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 16px; }
.post-images img, .post-images .ph {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: grid;
  border-radius: 14px; border: 3px solid #fff; outline: 1px solid var(--tile-border);
}
.post-cover.ph { display: grid; }

/* ---------- Game cards & game pages ---------- */
.thumb.pixel, .pixel { image-rendering: pixelated; }
.game .thumb { cursor: pointer; }
button.btn { font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; }

.game-modal {
  position: fixed; inset: 0; z-index: 40;
  overflow-y: auto;
  background: rgba(24, 48, 32, .45);
  backdrop-filter: blur(6px);
  padding: 40px 20px 60px;
  animation: introFade .3s ease both;
}
.game-modal[hidden] { display: none; }
.game-panel {
  max-width: 920px; margin: 0 auto;
  background: linear-gradient(#ffffff, #f6faf7);
  border: 4px solid #fff; outline: 1px solid var(--tile-border);
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  animation: introUp .4s cubic-bezier(.2,.8,.2,1) both;
}
.game-head {
  position: relative;
  display: flex; align-items: center; gap: 18px;
  padding: 18px 70px 18px 18px;
  color: #fff;
  background: linear-gradient(160deg, #6ad977 0%, #2fae48 55%, #1b8a37 100%);
}
.game-head::after {
  content: ""; position: absolute; inset: 0 0 50% 0; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.06));
}
.game-head-thumb { width: 96px; height: 76px; object-fit: cover; border-radius: 14px; border: 3px solid #fff; flex: none; }
.game-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,.2); }
.game-head .meta { color: #eaffea; margin: 2px 0 0; }
.close-btn {
  position: absolute; right: 18px; top: 50%; translate: 0 -50%; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  text-decoration: none; font-weight: 800; color: var(--green-deep);
  background: linear-gradient(#fff, #e9f0eb); border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  transition: transform .15s;
}
.close-btn:hover { transform: scale(1.1); }

.game-content { padding: 26px 32px 32px; }
.game-content .video { border-radius: 16px; overflow: hidden; border: 3px solid #fff; outline: 1px solid var(--tile-border); margin-bottom: 22px; background: #000; }
.game-content p { line-height: 1.75; margin: 0 0 12px; }
.game-content h3 { margin: 24px 0 10px; color: var(--green-deep); font-size: 1.15rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 20px; }
.facts div { background: var(--mint); border: 1px solid #c8ecce; border-radius: 14px; padding: 10px 14px; }
.facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.features { margin: 0; padding-left: 20px; line-height: 1.7; }
.features li { margin-bottom: 6px; }
.features li::marker { color: var(--green); }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.shots img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; cursor: zoom-in;
  border-radius: 14px; border: 3px solid #fff; outline: 1px solid var(--tile-border);
  transition: transform .15s, outline-color .15s;
}
.shots img:hover { transform: scale(1.02); outline-color: var(--green); }

@media (max-width: 600px) {
  .game-modal { padding: 12px 8px 40px; }
  .game-content { padding: 20px 18px 24px; }
  .shots { grid-template-columns: 1fr; }
  .game-head-thumb { width: 64px; height: 52px; }
}
.card .actions .btn { padding: 8px 15px; font-size: .88rem; }
.card.featured .thumb { aspect-ratio: auto; height: 100%; min-height: 300px; }
.btn.soon { cursor: default; opacity: .85; }
.btn.soon:hover { transform: none; }
.game-content .hero { width: 100%; display: block; border-radius: 16px; border: 3px solid #fff; outline: 1px solid var(--tile-border); margin-bottom: 22px; }
.shots img:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2.4 / 1; }

/* Featured game: soft green glow */
.card.featured {
  outline: 2px solid var(--green-light);
  box-shadow: 0 0 0 5px rgba(61,187,79,.12), 0 0 26px rgba(61,187,79,.35), 0 6px 16px rgba(0,0,0,.06);
  animation: featuredGlow 3.5s ease-in-out infinite;
}
.card.featured:hover { outline-color: var(--green); transform: translateY(-3px); }
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 0 5px rgba(61,187,79,.10), 0 0 20px rgba(61,187,79,.28), 0 6px 16px rgba(0,0,0,.06); }
  50%      { box-shadow: 0 0 0 7px rgba(61,187,79,.16), 0 0 38px rgba(61,187,79,.45), 0 6px 16px rgba(0,0,0,.06); }
}

/* ---------- Music albums ---------- */
.music-list { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.album {
  background: linear-gradient(#ffffff, #f6faf7);
  border: 3px solid #fff; outline: 1px solid var(--tile-border);
  border-radius: 26px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  overflow: hidden;
  transition: outline-color .18s, box-shadow .18s;
}
.album[open] { outline: 2px solid var(--green-light); box-shadow: 0 0 0 5px rgba(61,187,79,.10), 0 0 22px rgba(61,187,79,.22); }
.album-head {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 24px 14px 14px;
}
.album-head::-webkit-details-marker { display: none; }
.album-head:hover .album-cover { transform: scale(1.04) rotate(-2deg); }
.album-cover {
  width: 92px; height: 92px; flex: none; object-fit: cover;
  border-radius: 16px; border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--tile-border), 0 4px 10px rgba(0,0,0,.15);
  transition: transform .2s;
}
.album-info { flex: 1; min-width: 0; }
.album-info small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.album-info strong { display: block; font-size: 1.45rem; font-weight: 800; margin: 2px 0; }
.album-stats { color: var(--green-deep); font-weight: 700; font-size: .9rem; }
.chev {
  width: 42px; height: 42px; border-radius: 50%; flex: none; position: relative;
  background: radial-gradient(circle at 40% 30%, #8fe39a, var(--green) 55%, var(--green-deep));
  border: 3px solid #fff; box-shadow: 0 0 0 1px #2a9a42, 0 3px 6px rgba(31,143,58,.3);
  transition: rotate .25s;
}
.chev::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: 10px; height: 10px;
  border-right: 3px solid #fff; border-bottom: 3px solid #fff;
  translate: -50% -50%; rotate: 45deg;
}
.album[open] .chev { rotate: 180deg; }
.album .tracks { padding: 4px 16px 18px; gap: 10px; animation: introFade .3s ease both; }
.album .track { padding: 8px 18px 8px 10px; box-shadow: none; }
.album .play { width: 46px; height: 46px; }
.album .play::before { left: 17px; top: 12px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
.album .track.playing .play::before { left: 13px; top: 12px; width: 5px; height: 16px; box-shadow: 8px 0 0 #fff; }
.track-num { width: 22px; text-align: right; font-weight: 800; color: var(--ink-soft); font-size: .9rem; flex: none; }
.music-sub { margin: 10px 0 0 6px; color: var(--green-deep); font-size: 1.15rem; }
@media (max-width: 480px) {
  .album-cover { width: 64px; height: 64px; }
  .album-info strong { font-size: 1.15rem; }
  .track-num { display: none; }
}

/* YouTube tracks: play opens the video in a new tab */
a.play { display: block; text-decoration: none; }
.track.yt small { color: var(--green-deep); font-weight: 700; }

/* Empty sections */
.empty-state {
  max-width: 520px; margin: 30px auto; padding: 26px 30px; text-align: center;
  font-weight: 700; color: var(--green-deep);
  background: linear-gradient(#ffffff, #f1faf2);
  border: 3px solid #fff; outline: 1px dashed var(--green-light); border-radius: 22px;
}
.empty-state[hidden], .track[hidden], .album[hidden], .music-sub[hidden] { display: none; }
/* Small pixel art is scaled up crisply in the lightbox */
.lightbox img.pixel { min-width: min(70vw, 70vh); object-fit: contain; background: #fff; }

/* ---------- News icon: centred between the ticker and the label ---------- */
.t-news .tile-art { top: max(13%, 20px); bottom: 27%; padding-bottom: 0; }

/* ---------- Grid sits centred now the name tag is gone ---------- */
.menu { padding-top: 40px; }
@media (max-width: 860px) { .menu { padding-top: 40px; } }

/* ---------- Flowing bottom wave ---------- */
.dock-wave {
  position: absolute; inset: 0;
  background-repeat: repeat-x;
  background-position: 0 0;
  filter: none;
}
.dock-wave.back {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='180' viewBox='0 0 1000 180'%3E%3Cpath d='M0 30 C167 2 333 2 500 30 C667 58 833 58 1000 30 L1000 180 L0 180 Z' fill='%23a6e3ad' fill-opacity='.55'/%3E%3C/svg%3E");
  background-size: 1000px 180px;
  animation: introFade .8s ease 100ms both, flowBack 34s linear infinite;
}
.dock-wave.front {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='180' viewBox='0 0 800 180'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23dfe5e2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 42 C133 14 267 14 400 42 C533 70 667 70 800 42 L800 180 L0 180 Z' fill='url(%23g)'/%3E%3Cpath d='M0 42 C133 14 267 14 400 42 C533 70 667 70 800 42' fill='none' stroke='%233dbb4f' stroke-width='3'/%3E%3C/svg%3E");
  background-size: 800px 180px;
  filter: drop-shadow(0 -3px 6px rgba(0,0,0,.05));
  animation: introFade .8s ease 100ms both, flowFront 22s linear infinite;
}
@keyframes flowFront { to { background-position-x: -800px; } }
@keyframes flowBack  { to { background-position-x: -1000px; } }

/* Clock sits inside the bar now */
.clock { top: 62px; }
#hm { font-size: 3rem; }
.date { margin-top: 6px; font-size: 1.6rem; }
@media (max-width: 860px) {
  .clock { top: 52px; }
  #hm { font-size: 2.2rem; }
  .date { margin-top: 2px; font-size: 1.15rem; }
}
@media (max-width: 480px) { .clock { top: 54px; } #hm { font-size: 1.8rem; } }

/* ---------- Generated album covers (for albums without artwork) ---------- */
.album-cover.generated {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, hsl(var(--hue) 80% 82%) 0 18%, transparent 19%),
    radial-gradient(circle at 78% 80%, hsl(var(--hue) 70% 70% / .6) 0 26%, transparent 27%),
    linear-gradient(150deg, hsl(var(--hue) 70% 62%), hsl(var(--hue) 60% 38%));
}
.album-cover.generated::before {
  content: attr(data-mono);
  font-weight: 800; font-size: 1.9rem; letter-spacing: .02em; color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.25);
}
.album-cover.generated::after {
  content: ""; position: absolute; inset: 0 0 52% 0;
  background: linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.08));
}
.track.ext small { color: var(--green-deep); font-weight: 700; }
.album-link {
  justify-self: end; margin: 4px 6px 0;
  font-size: .85rem; font-weight: 800; color: var(--green-deep); text-decoration: none;
  padding: 6px 14px; border-radius: 999px; background: var(--mint); border: 1px solid #c8ecce;
}
.album-link:hover { background: #d4f3d8; }
@media (max-width: 480px) { .album-cover.generated::before { font-size: 1.3rem; } }
/* Thumbnails that shouldn't be cropped (e.g. title art with text) */
.thumb.fit { object-fit: contain; background: #000; }
.game-content .hero.small { max-width: 420px; margin-left: auto; margin-right: auto; }
.about-text p a { color: var(--green-deep); font-weight: 700; }


.menu { padding-top: 40px; }

/* ---------- Bottom bar stays on every screen ---------- */
.dock { z-index: 30; }                          /* above channels (20), below game pages (40) */
.channel-inner { padding-bottom: calc(var(--dock-h) + 110px); }
.channel-dock {
  bottom: calc(var(--dock-h) - 30px); height: 90px; z-index: 31;
  background: none; pointer-events: none;
}
.channel-dock .menu-btn { pointer-events: auto; }
/* Fade content out just above the bar so it doesn't clash with the wave */
.channel::after {
  content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--dock-h) + 40px);
  background: linear-gradient(rgba(234,239,236,0), rgba(234,239,236,.92) 45%);
  pointer-events: none; z-index: 1;
}
.game-modal { padding-bottom: calc(var(--dock-h) + 20px); }


/* ---------- Artwork loading screen ---------- */
.gallery.waiting { visibility: hidden; height: 0; overflow: hidden; }
.art-loader {
  display: grid; justify-items: center; gap: 16px;
  max-width: 420px; margin: 30px auto 0; padding: 36px 30px 30px;
  background: linear-gradient(#ffffff, #f1faf2);
  border: 3px solid #fff; outline: 1px solid var(--tile-border); border-radius: 28px;
  box-shadow: 0 0 0 6px rgba(61,187,79,.10), 0 0 26px rgba(61,187,79,.22);
  transition: opacity .4s ease, scale .4s ease;
}
.art-loader[hidden] { display: none; }
.art-loader.fade { opacity: 0; scale: .95; }

/* Wii-style ring of glossy bubbles spinning around a pulsing core */
.spinner { position: relative; width: 96px; height: 96px; animation: spinRing 2.4s linear infinite; }
.spinner span {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0 18%, #8fe39a 35%, var(--green) 65%, var(--green-deep));
  box-shadow: 0 2px 4px rgba(31,143,58,.3);
  transform: rotate(calc(var(--i) * 45deg)) translateY(-38px);
  animation: bubblePulse 1.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.15s);
}
.spinner span:nth-child(1) { --i: 0; } .spinner span:nth-child(2) { --i: 1; }
.spinner span:nth-child(3) { --i: 2; } .spinner span:nth-child(4) { --i: 3; }
.spinner span:nth-child(5) { --i: 4; } .spinner span:nth-child(6) { --i: 5; }
.spinner span:nth-child(7) { --i: 6; } .spinner span:nth-child(8) { --i: 7; }
.spinner-core {
  position: absolute; inset: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0 20%, #c9f1ce 45%, #a6e3ad);
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--green-light), 0 0 14px rgba(61,187,79,.35);
  animation: corePulse 1.2s ease-in-out infinite, spinRing 2.4s linear infinite reverse;
}
@keyframes spinRing { to { rotate: 360deg; } }
@keyframes bubblePulse { 0%, 100% { scale: .55; opacity: .45; } 50% { scale: 1; opacity: 1; } }
@keyframes corePulse { 0%, 100% { scale: .9; } 50% { scale: 1.05; } }

.loader-text { margin: 4px 0 0; font-weight: 700; color: var(--green-deep); }
.loader-bar { width: 100%; height: 10px; border-radius: 10px; background: #e2ebe5; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.08); }
.loader-bar span { display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(#8fe39a, var(--green) 50%, var(--green-deep)); transition: width .25s ease; }
#art-skip { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .spinner, .spinner span, .spinner-core { animation: none !important; } }

/* ---------- Lightbox loading spinner ---------- */
.lightbox-loading {
  display: none; justify-items: center; gap: 14px;
  padding: 30px 40px; border-radius: 26px;
  background: linear-gradient(#ffffff, #f1faf2); border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(61,187,79,.15), 0 0 30px rgba(61,187,79,.35);
}
.lightbox-loading p { margin: 0; font-weight: 700; color: var(--green-deep); }
.lightbox.loading .lightbox-loading { display: grid; }
.lightbox.loading img, .lightbox.loading .lightbox-caption { display: none; }

/* ---------- Hide / show the bottom bar inside channels ---------- */
.channel-dock { justify-content: space-between; padding-right: 5vw; transition: bottom .45s cubic-bezier(.2,.8,.2,1); }
.dock { transition: translate .45s cubic-bezier(.2,.8,.2,1); }
.channel-inner { transition: padding-bottom .45s ease; }
.channel::after { transition: height .45s ease; }
body.bar-lowered .dock { translate: 0 100%; }
body.bar-lowered .channel-dock { bottom: 0; }
body.bar-lowered .channel-inner { padding-bottom: 130px; }
body.bar-lowered .channel::after { height: 110px; }
.bar-btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 800; font-size: 1.1rem; cursor: pointer; }
.bar-chev {
  width: 22px; height: 22px; border-radius: 50%; position: relative; flex: none;
  background: radial-gradient(circle at 40% 30%, #8fe39a, var(--green) 55%, var(--green-deep));
  transition: rotate .3s;
}
.bar-chev::before {
  content: ""; position: absolute; left: 50%; top: 42%; width: 6px; height: 6px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; translate: -50% -50%; rotate: 45deg;
}
body.bar-lowered .bar-chev { rotate: 180deg; }
@media (max-width: 480px) { .menu-btn { padding: 12px 24px; font-size: 1rem; } }
