/* Bananza Bay — pastel claymation styles (prefix bz-) */
:root {
  --lilac: #C8B6FF;
  --lilac-deep: #9F88F0;
  --lilac-soft: #EFE8FF;
  --mint: #B8F2E6;
  --mint-deep: #6FCDB8;
  --cream: #FFF3B0;
  --cream-soft: #FFFAE0;
  --peach: #FFC6AC;
  --peach-deep: #F49C7A;
  --pink: #FFC8DD;
  --cocoa: #4A3B52;
  --cocoa-soft: #6E5D78;
  --white: #FFFFFF;
  --r-blob: 32px;
  --r-pill: 999px;
  --f-head: "Baloo 2", "Baloo Da 2", "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Mulish", "Baloo Da 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --puff: inset -5px -7px 0 rgba(74, 59, 82, 0.07), inset 5px 6px 0 rgba(255, 255, 255, 0.75), 0 12px 0 -4px rgba(74, 59, 82, 0.07), 0 22px 36px -16px rgba(74, 59, 82, 0.35);
  --puff-sm: inset -3px -4px 0 rgba(74, 59, 82, 0.08), inset 3px 4px 0 rgba(255, 255, 255, 0.8), 0 8px 18px -10px rgba(74, 59, 82, 0.4);
  --gutter: clamp(14px, 4vw, 32px);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cocoa);
  background-color: var(--cream-soft);
  background-image:
    radial-gradient(circle at 8% 12%, rgba(200, 182, 255, 0.55) 0, rgba(200, 182, 255, 0) 32%),
    radial-gradient(circle at 92% 30%, rgba(184, 242, 230, 0.7) 0, rgba(184, 242, 230, 0) 30%),
    radial-gradient(circle at 70% 96%, rgba(255, 198, 172, 0.55) 0, rgba(255, 198, 172, 0) 34%),
    url("../art/confetti.webp");
  background-size: auto, auto, auto, 320px 320px;
  overflow-x: hidden;
}

html[data-gate="on"] body { overflow: hidden; }

[hidden] { display: none !important; }

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

a { color: #6B4FD8; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--cocoa); }

:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 3px; border-radius: 10px; }

h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; margin: 0 0 0.4em; font-weight: 800; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

p { margin: 0 0 0.8em; }

.bz-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.bz-skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--cocoa); color: var(--white); padding: 10px 16px; border-radius: 14px;
  font-weight: 800; text-decoration: none;
}
.bz-skip:focus { top: 12px; color: var(--white); }

/* ------------------------------------------------------------ buttons */
.bz-btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  border: 0; cursor: pointer;
  font-family: var(--f-head); font-weight: 800; font-size: 1.1rem; line-height: 1.1;
  color: var(--cocoa); text-decoration: none;
  padding: 0.72em 1.6em; min-height: 48px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #FFD9C8 0%, var(--peach) 55%, #F7AF90 100%);
  box-shadow: inset 0 -5px 0 rgba(74, 59, 82, 0.12), inset 0 4px 0 rgba(255, 255, 255, 0.7), 0 7px 0 #E58F70, 0 14px 22px -8px rgba(74, 59, 82, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  touch-action: manipulation;
}
.bz-btn:hover { transform: translateY(-2px); filter: saturate(1.08); color: var(--cocoa); }
.bz-btn:active { transform: translateY(5px); box-shadow: inset 0 -3px 0 rgba(74, 59, 82, 0.12), inset 0 3px 0 rgba(255, 255, 255, 0.7), 0 2px 0 #E58F70, 0 6px 12px -6px rgba(74, 59, 82, 0.4); }
.bz-btn:disabled, .bz-btn[aria-busy="true"] { cursor: default; filter: grayscale(0.3) brightness(0.98); transform: none; }
.bz-btn-mint {
  background: linear-gradient(180deg, #DDFBF4 0%, var(--mint) 55%, #92E2D0 100%);
  box-shadow: inset 0 -5px 0 rgba(74, 59, 82, 0.1), inset 0 4px 0 rgba(255, 255, 255, 0.75), 0 7px 0 #67C7B1, 0 14px 22px -8px rgba(74, 59, 82, 0.45);
}
.bz-btn-mint:active { box-shadow: inset 0 -3px 0 rgba(74, 59, 82, 0.1), 0 2px 0 #67C7B1; }
.bz-btn-big { font-size: 1.35rem; padding: 0.62em 2.2em; min-width: 11rem; }
.bz-btn-small { font-size: 0.98rem; padding: 0.55em 1.2em; min-height: 42px; }

/* ------------------------------------------------------------ cards */
.bz-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-blob);
  padding: clamp(18px, 3.2vw, 28px);
  box-shadow: var(--puff);
}
.bz-card-title { font-family: var(--f-head); font-size: clamp(1.25rem, 2.6vw, 1.5rem); font-weight: 800; color: var(--cocoa); margin: 0 0 0.35em; }
.bz-tint-lilac { background: linear-gradient(160deg, #FBF9FF 0%, var(--lilac-soft) 100%); }
.bz-tint-mint { background: linear-gradient(160deg, #F7FFFC 0%, #DDF9F2 100%); }
.bz-tint-peach { background: linear-gradient(160deg, #FFFBF8 0%, #FFE5D9 100%); }
.bz-tint-cream { background: linear-gradient(160deg, #FFFEF5 0%, #FFF6C8 100%); }
.bz-tint-white { background: var(--white); }

.bz-kicker {
  display: inline-block;
  font-family: var(--f-head); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em;
  background: var(--white); color: var(--cocoa-soft);
  padding: 0.25em 0.9em; border-radius: var(--r-pill);
  box-shadow: var(--puff-sm);
  margin: 0 0 0.7em;
}
.bz-h1 { font-size: clamp(1.85rem, 6vw, 3.6rem); letter-spacing: -0.01em; margin-bottom: 0.2em; }
.bz-h1 span { color: #8B6FF0; }
.bz-h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); text-align: center; }
.bz-lead { font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--cocoa-soft); max-width: 62ch; }

/* ------------------------------------------------------------ header */
.bz-top { padding: 12px var(--gutter) 0; position: relative; z-index: 5; }
.bz-top-in {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 28px; padding: 8px 10px 8px 12px;
  box-shadow: var(--puff-sm);
}
.bz-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cocoa); font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.bz-brand img { width: 44px; height: 44px; }
.bz-brand b { color: #8B6FF0; font-weight: 800; }
.bz-brand:hover { color: var(--cocoa); }
.bz-nav { flex: 1 1 auto; }
.bz-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.bz-nav-link {
  display: inline-block; text-decoration: none; color: var(--cocoa);
  font-weight: 800; font-size: 0.95rem; padding: 0.45em 0.95em; border-radius: var(--r-pill);
  transition: background 0.2s ease;
}
.bz-nav-link:hover { background: var(--lilac-soft); color: var(--cocoa); }
.bz-nav-link[aria-current="page"] { background: var(--lilac); box-shadow: inset 0 -3px 0 rgba(74, 59, 82, 0.12), inset 0 3px 0 rgba(255, 255, 255, 0.55); }

.bz-lang { position: relative; display: inline-flex; align-items: center; }
.bz-lang-ico { position: absolute; left: 12px; font-size: 0.78rem; font-weight: 800; pointer-events: none; color: var(--cocoa-soft); }
.bz-lang select {
  -webkit-appearance: none; appearance: none;
  font: 800 0.92rem var(--f-body); color: var(--cocoa);
  background: var(--mint);
  border: 0; border-radius: var(--r-pill);
  padding: 0.55em 2.1em 0.55em 2.6em; min-height: 42px; cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(74, 59, 82, 0.1), inset 0 3px 0 rgba(255, 255, 255, 0.7);
  max-width: 11rem;
}
.bz-lang::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--cocoa); border-bottom: 2px solid var(--cocoa); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* ------------------------------------------------------------ gate (wheel overlay) */
.bz-gate { display: none; }
html[data-gate="on"] .bz-gate, html[data-gate="closing"] .bz-gate {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  padding: 12px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 85% 85%, rgba(184, 242, 230, 0.8) 0, rgba(184, 242, 230, 0) 40%),
    linear-gradient(170deg, var(--lilac) 0%, #E4D9FF 45%, var(--peach) 100%);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
html[data-gate="closing"] .bz-gate { opacity: 0; transform: scale(1.03); pointer-events: none; }
.bz-gate-confetti { position: absolute; inset: 0; background: url("../art/confetti.webp") repeat; background-size: 280px 280px; opacity: 0.9; pointer-events: none; }
.bz-gate-lang { position: absolute; top: 10px; right: 10px; z-index: 2; }
.bz-gate-lang select { background-color: rgba(255, 255, 255, 0.92); font-size: 0.85rem; min-height: 38px; }

.bz-gate-card {
  --wheel: min(74vw, 360px, calc(100vh - 336px));
  width: min(100%, 470px);
  text-align: center;
  padding: 18px 16px 12px;
  border-radius: 40px;
  background: linear-gradient(170deg, #FFFFFF 0%, #FFFDF4 100%);
  margin-top: 36px;
}
@supports (height: 100svh) {
  .bz-gate-card { --wheel: min(74vw, 360px, calc(100svh - 336px)); }
}
.bz-gate-logo { position: absolute; top: -24px; left: 50%; margin-left: -24px; width: 48px; height: 48px; border-radius: 16px; box-shadow: 0 8px 16px -8px rgba(74, 59, 82, 0.5); }
.bz-gate-title { font-size: clamp(1.45rem, 5.4vw, 2rem); margin: 8px 0 2px; }
.bz-gate-sub { font-size: 0.92rem; color: var(--cocoa-soft); margin: 0 auto 4px; max-width: 34ch; line-height: 1.4; }
.bz-wheel {
  position: relative; margin: 0 auto;
  width: var(--wheel);
  padding-top: calc(var(--wheel) * 0.15);
  min-width: 170px;
}
.bz-wheel canvas { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }
.bz-boat {
  position: absolute; top: 0; left: 50%; z-index: 2;
  width: 30%; transform: translateX(-50%);
  filter: drop-shadow(0 4px 4px rgba(74, 59, 82, 0.2));
}
.bz-gate[data-state="won"] .bz-boat { animation: bz-bob 0.9s ease 2; }
@keyframes bz-bob { 0%, 100% { transform: translateX(-50%) rotate(0); } 30% { transform: translateX(-50%) rotate(-8deg); } 65% { transform: translateX(-50%) rotate(6deg); } }
.bz-gate-act { min-height: 64px; display: grid; place-items: center; margin-top: 4px; }
.bz-won { animation: bz-pop 0.4s ease; }
.bz-won[hidden] { display: none; }
@keyframes bz-pop { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.bz-won-k { margin: 0; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cocoa-soft); }
.bz-won-name { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 1.55rem; line-height: 1.15; color: #7A5CE6; }
.bz-won-desc { margin: 0 0 8px; font-size: 0.9rem; line-height: 1.35; }
.bz-gate-note { font-size: 0.74rem; color: var(--cocoa-soft); margin: 8px 0 0; line-height: 1.3; }

/* ------------------------------------------------------------ home stage */
.bz-stage {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(12px, 2.4vw, 26px) var(--gutter) 30px;
  display: grid; gap: 18px 36px;
  grid-template-columns: minmax(270px, 360px) auto;
  justify-content: center; align-items: start;
}
.bz-stage-side { display: flex; flex-direction: column; gap: 16px; padding-top: 6px; }
.bz-stage-head .bz-h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.bz-stage-head .bz-lead { font-size: 1rem; margin: 0; }

.bz-hud { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bz-hud-item {
  background: var(--white); border-radius: 22px; padding: 8px 14px;
  box-shadow: var(--puff-sm);
  display: flex; flex-direction: column; min-width: 0;
}
.bz-hud-item[data-hud="score"] { background: var(--cream); grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; }
.bz-hud-item[data-hud="score"] .bz-hud-v { font-size: 2rem; }
.bz-hud-k { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cocoa-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-hud-v { font-family: var(--f-head); font-size: 1.45rem; line-height: 1.1; font-variant-numeric: tabular-nums; }

.bz-bonus { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: linear-gradient(150deg, #FFFFFF, var(--lilac-soft)); }
.bz-bonus img { width: 56px; height: auto; flex: none; }
.bz-bonus[data-bonus="none"] img { filter: grayscale(0.7); opacity: 0.6; }
.bz-bonus-k { margin: 0; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cocoa-soft); }
.bz-bonus-name { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.bz-bonus-desc { margin: 0; font-size: 0.88rem; line-height: 1.35; }
.bz-bonus-desc:empty { display: none; }

.bz-play { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.bz-board {
  position: relative;
  width: min(100%, 470px, calc((100vh - 150px) * 0.8));
  aspect-ratio: 4 / 5;
  border-radius: var(--r-blob);
  overflow: hidden;
  border: 6px solid var(--white);
  background: var(--lilac);
  box-shadow: 0 14px 0 -4px rgba(74, 59, 82, 0.08), 0 26px 44px -18px rgba(74, 59, 82, 0.45);
}
@supports (height: 100svh) {
  .bz-board { width: min(100%, 470px, calc((100svh - 150px) * 0.8)); }
}
.bz-board canvas { display: block; width: 100%; height: 100%; touch-action: manipulation; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bz-board canvas:focus-visible { outline: none; }
.bz-board:focus-within { box-shadow: 0 0 0 4px var(--lilac-deep), 0 26px 44px -18px rgba(74, 59, 82, 0.45); }
.bz-over {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px;
  background: rgba(239, 232, 255, 0.72);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: bz-fade 0.3s ease;
}
.bz-over[hidden] { display: none; }
@keyframes bz-fade { from { opacity: 0; } to { opacity: 1; } }
.bz-over-card { text-align: center; width: min(100%, 300px); }
.bz-over-card img { margin: -6px auto 4px; width: 90px; }
.bz-over-row { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 4px; font-weight: 700; }
.bz-over-row b { font-family: var(--f-head); font-size: 1.3rem; }
.bz-over-new { color: #7A5CE6; font-weight: 800; margin: 4px 0 0; }
.bz-over-new[hidden] { display: none; }
.bz-over-card .bz-btn { margin-top: 12px; width: 100%; }

.bz-ctrl { width: min(100%, 470px); display: flex; align-items: center; gap: 12px; }
.bz-btn-drop { flex: none; min-width: 8.5rem; }
.bz-msg {
  flex: 1 1 auto; margin: 0; min-height: 3em; display: flex; align-items: center;
  font-weight: 700; font-size: 0.95rem; line-height: 1.3;
  background: rgba(255, 255, 255, 0.85); border-radius: 20px; padding: 8px 14px;
  box-shadow: var(--puff-sm);
}
.bz-msg[data-tone="perfect"], .bz-msg[data-tone="golden"] { background: var(--cream); }
.bz-msg[data-tone="saved"] { background: var(--mint); }
.bz-msg[data-tone="over"] { background: var(--peach); }
.bz-keys { margin: 0; font-size: 0.8rem; color: var(--cocoa-soft); font-weight: 700; }

/* ------------------------------------------------------------ home info */
.bz-info { max-width: 1180px; margin: 0 auto; padding: 18px var(--gutter) 56px; }
.bz-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 18px; }
.bz-info-grid .bz-card p { font-size: 0.97rem; }
.bz-card-art { width: 84px; height: auto; margin: -6px 0 8px; }
.bz-mails { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bz-mails li { display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.8); border-radius: 16px; padding: 8px 12px; }
.bz-mail-k { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cocoa-soft); }
.bz-mail { font-weight: 800; overflow-wrap: anywhere; }

/* ------------------------------------------------------------ subpages */
.bz-sub { max-width: 1060px; margin: 0 auto; padding: clamp(20px, 4vw, 44px) var(--gutter) 60px; }
.bz-hero { text-align: center; margin: 0 auto 28px; max-width: 760px; }
.bz-hero .bz-lead { margin: 0 auto; }
.bz-crew-sec { margin-bottom: 32px; }
.bz-crew-grid { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.bz-crew figure { margin: 0; text-align: center; }
.bz-crew img { width: 150px; height: 150px; margin: -4px auto 12px; border-radius: 44px; }
.bz-crew .bz-card-title { font-size: 1.25rem; margin-bottom: 2px; }
.bz-role { display: inline-block; font-weight: 800; font-size: 0.82rem; background: rgba(255, 255, 255, 0.85); padding: 0.15em 0.8em; border-radius: var(--r-pill); margin-bottom: 8px; }
.bz-crew figcaption p:last-child { font-size: 0.95rem; margin: 0; }
.bz-principles { max-width: 760px; margin: 0 auto; }
.bz-ticks { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.bz-ticks li { position: relative; padding-left: 34px; font-weight: 600; }
.bz-ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint) radial-gradient(circle at 35% 30%, #FFFFFF 0, rgba(255, 255, 255, 0) 45%);
  box-shadow: inset -2px -3px 0 rgba(74, 59, 82, 0.1);
}
.bz-ticks li::after { content: ""; position: absolute; left: 7px; top: calc(0.15em + 5px); width: 6px; height: 10px; border-right: 3px solid var(--cocoa); border-bottom: 3px solid var(--cocoa); transform: rotate(45deg); }
.bz-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; font-weight: 700; }

.bz-ch-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.bz-ch .bz-card-title { font-size: 1.3rem; }
.bz-ch p { font-size: 0.96rem; }
.bz-ch .bz-mail { display: inline-block; font-size: 1.02rem; background: rgba(255, 255, 255, 0.85); padding: 0.3em 0.8em; border-radius: 14px; }
.bz-op { font-family: var(--f-head); font-weight: 800; font-size: 1.2rem; margin: 0; }
.bz-note { display: flex; align-items: center; gap: 14px; margin: 26px auto 0; max-width: 760px; background: rgba(255, 255, 255, 0.7); border-radius: 26px; padding: 14px 18px; }
.bz-note img { flex: none; width: 56px; }
.bz-note p { margin: 0; font-size: 0.94rem; }

.bz-legal { max-width: 860px; margin: 0 auto; }
.bz-updated { font-weight: 800; font-size: 0.9rem; color: var(--cocoa-soft); }
.bz-toc { margin-bottom: 22px; padding: 18px 22px; }
.bz-toc ol { margin: 0; padding-left: 0; list-style: none; columns: 2 260px; column-gap: 24px; }
.bz-toc li { break-inside: avoid; margin: 2px 0; }
.bz-toc a { font-weight: 700; font-size: 0.94rem; text-decoration: none; }
.bz-toc a:hover { text-decoration: underline; }
.bz-legal-body { padding: clamp(20px, 4vw, 40px); }
.bz-legal-sec { scroll-margin-top: 16px; }
.bz-legal-sec + .bz-legal-sec { margin-top: 22px; padding-top: 20px; border-top: 3px dotted var(--lilac); }
.bz-legal-sec h2 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); }
.bz-legal-sec p { margin: 0 0 0.5em; }
.bz-legal-mail { margin: 0; }

/* ------------------------------------------------------------ footer */
.bz-foot { padding: 0 var(--gutter); }
.bz-foot-in {
  max-width: 1180px; margin: 0 auto;
  background: linear-gradient(170deg, #F6F1FF 0%, var(--lilac-soft) 100%);
  border-radius: 40px 40px 0 0;
  padding: 30px clamp(18px, 4vw, 40px) 22px;
  box-shadow: inset 0 6px 0 rgba(255, 255, 255, 0.8), 0 -10px 30px -18px rgba(74, 59, 82, 0.4);
  display: grid; gap: 22px 36px;
  grid-template-columns: 1.1fr 0.7fr 1.5fr;
}
.bz-foot-brand { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-content: start; }
.bz-foot-brand img { width: 56px; height: 56px; }
.bz-foot-name { font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; margin: 0; }
.bz-foot-tag { font-size: 0.9rem; margin: 0; }
.bz-age { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 0; }
.bz-age-num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; color: var(--white);
  background: radial-gradient(circle at 35% 30%, #FF9FA0 0, #F2707A 70%);
  box-shadow: inset -3px -4px 0 rgba(74, 59, 82, 0.18), inset 3px 3px 0 rgba(255, 255, 255, 0.35), 0 0 0 4px var(--white);
}
.bz-age-txt { font-weight: 800; font-size: 0.9rem; }
.bz-foot-h { font-size: 1.05rem; margin: 0 0 6px; }
.bz-foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bz-foot-link { font-weight: 700; text-decoration: none; color: var(--cocoa); padding: 2px 0; display: inline-block; }
.bz-foot-link:hover { color: #6B4FD8; text-decoration: underline; }
.bz-foot-notes { display: grid; gap: 8px; }
.bz-foot-notes p { margin: 0; font-size: 0.86rem; line-height: 1.45; background: rgba(255, 255, 255, 0.7); border-radius: 16px; padding: 8px 12px; }
.bz-foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; border-top: 3px dotted var(--lilac); padding-top: 14px; font-size: 0.88rem; }
.bz-foot-base p { margin: 0; }
.bz-owner { font-weight: 800; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .bz-foot-in { grid-template-columns: 1fr 1fr; }
  .bz-foot-notes { grid-column: 1 / -1; }
  .bz-info-grid { grid-template-columns: 1fr 1fr; }
  .bz-info-grid .bz-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .bz-stage { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .bz-stage-side { display: contents; }
  .bz-stage-head { order: 1; text-align: center; }
  .bz-stage-head .bz-kicker { margin-bottom: 0.3em; font-size: 0.82rem; }
  .bz-stage-head .bz-h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); margin-bottom: 0.1em; }
  .bz-stage-head .bz-lead { font-size: 0.9rem; line-height: 1.4; margin: 0 auto; }
  .bz-hud { order: 2; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .bz-hud-item, .bz-hud-item[data-hud="score"] { grid-column: auto; flex-direction: column; align-items: center; padding: 6px 4px; border-radius: 16px; }
  .bz-hud-item[data-hud="score"] .bz-hud-v, .bz-hud-v { font-size: 1.15rem; }
  .bz-hud-k { font-size: 0.62rem; letter-spacing: 0.02em; max-width: 100%; }
  .bz-play { order: 3; }
  .bz-bonus { order: 4; }
  .bz-board { width: min(100%, 470px); }
}

@media (max-width: 760px) {
  .bz-top-in { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px; }
  .bz-nav { grid-column: 1 / -1; grid-row: 2; }
  .bz-nav ul { gap: 4px; }
  .bz-nav-link { font-size: 0.86rem; padding: 0.4em 0.7em; }
  .bz-brand { font-size: 1.15rem; }
  .bz-brand img { width: 38px; height: 38px; }
  .bz-lang select { max-width: 9.5rem; font-size: 0.85rem; }
  .bz-info-grid { grid-template-columns: 1fr; }
  .bz-ctrl { flex-direction: column; align-items: stretch; gap: 8px; }
  .bz-btn-drop { width: 100%; }
  .bz-msg { min-height: 2.6em; justify-content: center; text-align: center; font-size: 0.9rem; }
}

@media (max-width: 440px) {
  .bz-gate-logo { display: none; }
}

@media (max-width: 560px) {
  .bz-foot-in { grid-template-columns: 1fr; border-radius: 32px 32px 0 0; }
  .bz-foot-base { flex-direction: column; }
  .bz-note { flex-direction: column; text-align: center; }
  .bz-gate-sub { font-size: 0.85rem; }
}

@media (max-height: 700px) {
  .bz-gate-card { margin-top: 30px; padding-top: 14px; }
  .bz-gate-note { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
