/* Samukim Bass Dock — fruity summer glass (prefix sm-) */

:root {
  --sm-lime: #9bc53d;
  --sm-cyan: #5bc0eb;
  --sm-tang: #fa7921;
  --sm-berry: #c3423f;
  --sm-sun: #ffd166;
  --sm-lead: #15181d;
  --sm-night: #111418;
  --sm-night-2: #1a1f26;
  --sm-pane: #212832;
  --sm-ink: #f4f6f8;
  --sm-mute: #a9b1bb;
  --sm-lime-soft: #d7f08f;
  --sm-lime-glow: rgba(155, 197, 61, .42);
  --sm-cyan-glow: rgba(91, 192, 235, .4);
  --sm-tang-glow: rgba(250, 121, 33, .4);
  --sm-berry-glow: rgba(195, 66, 63, .45);
  --sm-head: "Zilla Slab", Rockwell, Georgia, "Noto Serif Bengali", serif;
  --sm-body: "Barlow", "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --sm-gutter: clamp(16px, 4vw, 40px);
  --sm-round: 18px;
  --sm-arch: polygon(0% 100%, 2.6% 86%, 6% 73%, 10.2% 61%, 15.2% 50%, 21% 40%, 27.6% 31%, 34.8% 22.6%, 42.2% 14.8%, 50% 6%, 57.8% 14.8%, 65.2% 22.6%, 72.4% 31%, 79% 40%, 84.8% 50%, 89.8% 61%, 94% 73%, 97.4% 86%, 100% 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sm-body);
  font-size: clamp(1rem, .97rem + .18vw, 1.08rem);
  line-height: 1.62;
  color: var(--sm-ink);
  background-color: var(--sm-night);
  background-image:
    radial-gradient(ellipse 55% 38% at 6% 0%, rgba(91, 192, 235, .2), transparent 70%),
    radial-gradient(ellipse 48% 34% at 96% 4%, rgba(250, 121, 33, .17), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(155, 197, 61, .14), transparent 70%),
    radial-gradient(circle at 20% 60%, rgba(195, 66, 63, .08), transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sm-lime-soft); text-decoration: none; transition: color .15s, background-color .15s; }
a:hover { color: #fff; background-color: rgba(155, 197, 61, .14); border-radius: 6px; }
:focus-visible { outline: 3px solid var(--sm-sun); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--sm-head); font-weight: 700; line-height: 1.12; margin: 0 0 .4em; letter-spacing: .01em; }
p { margin: 0 0 1em; }

.sm-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; }
.sm-skip { position: absolute; left: 12px; top: -64px; z-index: 60; background: var(--sm-lime); color: var(--sm-lead); padding: .5em 1em; border-radius: 0 0 12px 12px; font-weight: 600; transition: top .2s; }
.sm-skip:focus { top: 0; }

.sm-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--sm-gutter); }

/* ---------------------------------------------------------------- header */
.sm-mast {
  position: relative; z-index: 20;
  background:
    linear-gradient(100deg, rgba(155, 197, 61, .2), rgba(91, 192, 235, .18) 38%, rgba(250, 121, 33, .16) 72%, rgba(195, 66, 63, .18)),
    var(--sm-night-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
}
.sm-mast__bar { display: flex; align-items: center; gap: 10px 18px; padding-top: 10px; padding-bottom: 10px; }
.sm-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  color: var(--sm-ink); font-family: var(--sm-head); font-weight: 700; font-size: 1.4rem; line-height: 1.1;
}
.sm-badge:hover { background: none; color: #fff; }
.sm-badge__mark { width: 44px; height: 44px; border-radius: 50%; filter: drop-shadow(0 0 10px var(--sm-lime-glow)); }

.sm-mast__toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 42px; padding: .35em .9em;
  font: 600 .95rem var(--sm-body); color: var(--sm-ink);
  background: var(--sm-lead); border: 0; border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(155, 197, 61, .5);
  cursor: pointer;
}
.sm-mast__burger, .sm-mast__burger::before, .sm-mast__burger::after { display: block; width: 18px; height: 2px; background: var(--sm-lime); border-radius: 2px; position: relative; }
.sm-mast__burger::before, .sm-mast__burger::after { content: ""; position: absolute; left: 0; }
.sm-mast__burger::before { top: -6px; }
.sm-mast__burger::after { top: 6px; }
.sm-mast__toggle[aria-expanded="true"] .sm-mast__burger { background: transparent; }
.sm-mast__toggle[aria-expanded="true"] .sm-mast__burger::before { top: 0; transform: rotate(45deg); }
.sm-mast__toggle[aria-expanded="true"] .sm-mast__burger::after { top: 0; transform: rotate(-45deg); }

.sm-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.sm-nav__link {
  display: inline-block; padding: .32em .8em;
  color: var(--sm-ink); font-family: var(--sm-head); font-weight: 600; font-size: 1.02rem;
  border-radius: 14px 14px 6px 6px;
}
.sm-nav__link:hover { background: rgba(155, 197, 61, .16); color: #fff; border-radius: 14px 14px 6px 6px; }
.sm-nav__link[aria-current="page"] { background: linear-gradient(180deg, rgba(155, 197, 61, .38), rgba(91, 192, 235, .22)); box-shadow: inset 0 0 0 1px rgba(215, 240, 143, .45); }

.sm-voice { display: inline-flex; align-items: center; gap: 6px; }
.sm-voice__icon { font-size: 1rem; }
.sm-voice__pick {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: .95rem; color: var(--sm-ink);
  background:
    linear-gradient(45deg, transparent 50%, var(--sm-lime) 50%) right 14px center / 6px 6px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--sm-lime) 50%) right 8px center / 6px 6px no-repeat,
    var(--sm-lead);
  border: 0; border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(155, 197, 61, .45);
  padding: .35em 2.1em .35em .9em; min-height: 40px; cursor: pointer;
}
.sm-voice__pick option { background: var(--sm-lead); color: var(--sm-ink); }

@media (max-width: 1100px) {
  .sm-mast__bar { flex-wrap: wrap; }
  .sm-mast__toggle { display: inline-flex; }
  .sm-nav { order: 4; width: 100%; display: none; }
  .sm-nav--open { display: block; }
  .sm-nav__list { flex-direction: column; gap: 2px; padding: 6px 0 4px; }
  .sm-nav__link { display: block; padding: .5em .8em; border-radius: 10px; }
}
@media (max-width: 520px) {
  .sm-badge { font-size: 1.12rem; gap: 8px; }
  .sm-badge__mark { width: 36px; height: 36px; }
  .sm-mast__bar .sm-voice__icon { display: none; }
  .sm-mast__toggle [data-sm="menu_btn"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sm-mast__toggle { padding: .35em .7em; }
}

/* ---------------------------------------------------------------- shared glass */
.sm-glass {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 42%), var(--sm-pane);
  border-radius: var(--sm-round);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), 0 14px 34px rgba(0, 0, 0, .4);
}
.sm-eyebrow { font-family: var(--sm-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sm-lime); font-size: .9rem; margin: 0 0 .25em; }

.sm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; padding: .5em 1.25em;
  font: 700 1.04rem var(--sm-head); letter-spacing: .02em; color: var(--sm-ink);
  background: linear-gradient(180deg, #2c3440, #222832);
  border: 0; border-radius: 16px 16px 10px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 4px 0 #0b0d10;
  cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.sm-btn:hover { box-shadow: inset 0 0 0 1px var(--sm-lime), 0 0 18px var(--sm-lime-glow), 0 4px 0 #0b0d10; }
.sm-btn:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px var(--sm-lime), 0 2px 0 #0b0d10; }
.sm-btn--lime { color: var(--sm-lead); background: linear-gradient(180deg, #d0ee7e, var(--sm-lime) 55%, #6f9524); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 4px 0 #3f5512, 0 0 24px var(--sm-lime-glow); }
.sm-btn--lime:hover { box-shadow: inset 0 0 0 1px #fff, 0 4px 0 #3f5512, 0 0 32px var(--sm-lime-glow); }
.sm-btn--cyan { color: #0d2733; background: linear-gradient(180deg, #a8e3f7, var(--sm-cyan) 60%, #2f8fb9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 4px 0 #18516a; }
.sm-btn--berry { background: linear-gradient(180deg, #df6a66, var(--sm-berry)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 4px 0 #5c1513; }
.sm-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------------------------------------------------------------- wheel gate */
.sm-gate { display: none; }
.sm-js:not(.sm-perked) .sm-gate { display: flex; }
.sm-js.sm-home:not(.sm-perked), .sm-js.sm-home:not(.sm-perked) body { overflow: hidden; }
.sm-gate {
  position: fixed; inset: 0; z-index: 100;
  align-items: center; justify-content: center; padding: 10px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 209, 102, .22), transparent 55%),
    radial-gradient(circle at 12% 86%, rgba(155, 197, 61, .3), transparent 45%),
    radial-gradient(circle at 88% 14%, rgba(250, 121, 33, .28), transparent 45%),
    radial-gradient(circle at 86% 86%, rgba(91, 192, 235, .3), transparent 45%),
    #0c0f13;
  overflow: hidden;
  transition: opacity .45s ease, visibility .45s;
}
.sm-gate--away { opacity: 0; visibility: hidden; }
.sm-gate__card {
  position: relative; width: min(560px, 100%); max-height: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 10px 6px 6px;
}
.sm-gate__voice { position: absolute; top: 0; right: 0; }
.sm-gate__voice .sm-voice__pick { min-height: 36px; font-size: .85rem; padding: .25em 2em .25em .75em; }
.sm-gate__eyebrow { margin: 30px 0 0; font-size: .82rem; }
.sm-gate__title { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.6rem); margin: .1em 0 .15em; color: #fffbe8; text-shadow: 0 0 22px var(--sm-lime-glow); }
.sm-gate__sub { margin: 0 auto .4em; max-width: 42ch; font-size: clamp(.82rem, .78rem + .25vw, .98rem); line-height: 1.4; color: var(--sm-mute); }
.sm-gate__dial { width: min(84vw, 44vh, 400px); width: min(84vw, 44dvh, 400px); aspect-ratio: 1; flex: none; }
.sm-wheel { width: 100%; height: 100%; display: block; }
.sm-gate__result { min-height: 5.2em; margin-top: .2em; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sm-gate__status { margin: 0; color: var(--sm-mute); font-style: italic; }
.sm-gate__perk[hidden], .sm-gate__status[hidden], .sm-gate__go[hidden] { display: none; }
.sm-gate__perk-label { margin: 0; font: 700 .82rem var(--sm-head); letter-spacing: .12em; text-transform: uppercase; color: var(--sm-lime); }
.sm-gate__perk-name { margin: 0; font: 700 clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem)/1.1 var(--sm-head); color: #fff; }
.sm-gate__perk-note { margin: .15em 0 0; font-size: .92rem; line-height: 1.35; max-width: 36ch; }
.sm-gate__go { margin-top: .5em; min-width: 12em; }
@media (max-height: 700px) { .sm-gate__eyebrow { display: none; } .sm-gate__title { margin-top: 34px; } }

/* ---------------------------------------------------------------- stage + game */
.sm-stage { padding: 20px 0 30px; }
.sm-stage__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 22px; margin-bottom: 14px; }
.sm-stage__titles { flex: 1 1 320px; min-width: 0; }
.sm-stage__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin: 0; color: #fffbe8; text-shadow: 0 0 24px rgba(155, 197, 61, .3); }
.sm-stage__line { margin: .25em 0 0; color: var(--sm-mute); max-width: 64ch; }
.sm-stage__perk {
  margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35em;
  padding: .4em 1.05em; border-radius: 999px;
  background: linear-gradient(90deg, rgba(155, 197, 61, .3), rgba(91, 192, 235, .22));
  box-shadow: inset 0 0 0 1px rgba(215, 240, 143, .4);
  font-size: .92rem;
}
.sm-stage__perk strong { font-family: var(--sm-head); font-size: 1.08rem; color: #fff; }

.sm-arena { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 1000px) {
  .sm-arena { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .sm-arena__side { position: sticky; top: 12px; }
}
.sm-arena__side { display: grid; gap: 12px; }

.sm-tally { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sm-tally__item { display: flex; flex-direction: column; align-items: center; padding: 5px 2px; border-radius: 12px; background: rgba(0, 0, 0, .26); min-width: 0; }
.sm-tally__label { font-size: .7rem; letter-spacing: .04em; color: var(--sm-mute); max-width: 100%; overflow-wrap: anywhere; text-align: center; line-height: 1.2; }
.sm-tally__value { font: 700 1.3rem/1.1 var(--sm-head); color: #fff; font-variant-numeric: tabular-nums; }
.sm-tally__item--hearts .sm-tally__value { color: #ff8f8b; }
.sm-tally__item--shells .sm-tally__value { color: #ffb47a; }
.sm-tally__item--score .sm-tally__value { color: var(--sm-lime-soft); }
@media (min-width: 1000px) {
  .sm-tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-tally__item--score { grid-column: span 2; order: 5; }
}

.sm-lake { padding: 0; overflow: hidden; line-height: 0; box-shadow: 0 0 0 4px var(--sm-lead), 0 0 0 6px rgba(155, 197, 61, .35), 0 0 40px rgba(91, 192, 235, .3), 0 18px 40px rgba(0, 0, 0, .5); }
.sm-lake__canvas { width: 100%; height: auto; display: block; touch-action: manipulation; background: #11161b; }
.sm-lake__posts { position: absolute; inset: 0; }
.sm-post {
  position: absolute; transform: translate(-50%, -50%);
  aspect-ratio: 1; min-width: 34px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sm-post:hover { box-shadow: 0 0 0 2px rgba(215, 240, 143, .85), 0 0 14px var(--sm-lime-glow); }
.sm-post:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sm-post--picked { box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--sm-lime), 0 0 18px var(--sm-lime-glow); }
.sm-lake__banner {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  line-height: 1.1; font: 700 clamp(1.6rem, 1rem + 3vw, 3rem) var(--sm-head);
  color: #fffbe8; text-shadow: 0 0 20px var(--sm-lime), 0 2px 0 var(--sm-lead);
  pointer-events: none; opacity: 0; margin: 0;
}
.sm-lake__banner--on { animation: sm-banner 1.6s ease forwards; }
@keyframes sm-banner {
  0% { opacity: 0; transform: translate(-50%, -30%) scale(.9); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -70%); }
}
.sm-lake__shade { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(9, 11, 14, .72); line-height: 1.4; padding: 12px; }
.sm-lake__shade[hidden] { display: none; }
.sm-lake__pause { font: 700 2rem var(--sm-head); margin: 0; }
.sm-result { text-align: center; padding: 16px 22px; max-width: 340px; width: 100%; }
.sm-result__title { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem); color: var(--sm-lime-soft); margin-bottom: .3em; }
.sm-result__stats { margin: 0 0 12px; display: grid; grid-template-columns: 1fr auto; gap: 3px 14px; text-align: left; font-size: .95rem; }
.sm-result__stats dt { color: var(--sm-mute); }
.sm-result__stats dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.sm-result__stats .sm-result__total { font: 700 1.25rem var(--sm-head); color: #fff; }
.sm-result__new { color: var(--sm-sun); font-weight: 600; margin: 0 0 8px; }
.sm-result__new[hidden] { display: none; }

.sm-crate { padding: 10px; }
.sm-crate__title { font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sm-lime); margin: 0 0 8px; }
.sm-crate__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1000px) { .sm-crate__list { grid-template-columns: 1fr; } }
.sm-lure {
  width: 100%; height: 100%;
  display: grid; grid-template-columns: 1fr; justify-items: center; gap: 2px;
  padding: 8px 4px; font: inherit; color: var(--sm-ink); text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(0, 0, 0, .2));
  border: 0; border-radius: 22px 22px 12px 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  cursor: pointer; transition: box-shadow .15s, transform .12s;
}
.sm-lure:hover { box-shadow: inset 0 0 0 1px var(--sm-lime), 0 0 16px var(--sm-lime-glow); }
.sm-lure:active { transform: translateY(1px); }
.sm-lure--heron { background-color: rgba(91, 192, 235, .26); }
.sm-lure--net { background-color: rgba(155, 197, 61, .26); }
.sm-lure--otter { background-color: rgba(195, 66, 63, .3); }
.sm-lure--armed { box-shadow: inset 0 0 0 2px #fff, 0 0 18px var(--sm-lime-glow); }
.sm-lure--poor { opacity: .55; }
.sm-lure__img { width: 48px; height: 48px; }
.sm-lure__name { font: 700 1.05rem/1.1 var(--sm-head); }
.sm-lure__info { font-size: .74rem; line-height: 1.2; color: var(--sm-mute); }
.sm-lure__cost { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9rem; color: #ffb47a; }
.sm-lure__cost img { width: 16px; height: 16px; }
@media (min-width: 1000px) {
  .sm-lure { grid-template-columns: 48px 1fr auto; justify-items: start; text-align: left; align-items: center; column-gap: 10px; padding: 8px 12px; border-radius: 999px 20px 20px 999px; }
  .sm-lure__img { grid-row: span 2; }
  .sm-lure__info { grid-column: 2; }
  .sm-lure__cost { grid-column: 3; grid-row: 1 / span 2; }
}

.sm-levers { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-levers .sm-btn { flex: 1 1 auto; padding-left: .8em; padding-right: .8em; }
.sm-ticker {
  margin: 0; min-height: 3.2em; padding: 9px 14px;
  font-size: .95rem; line-height: 1.4;
  background: linear-gradient(90deg, rgba(155, 197, 61, .22), rgba(0, 0, 0, .28) 45%);
  border-radius: 14px;
}
.sm-keyhint { margin: 0; font-size: .8rem; color: var(--sm-mute); line-height: 1.45; }

/* ---------------------------------------------------------------- crew */
.sm-crew { padding: 14px 0 26px; }
.sm-crew__title, .sm-notes__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 6px; }
.sm-crew__intro { color: var(--sm-mute); max-width: 64ch; }
.sm-crew__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .sm-crew__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sm-crew__card {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 999px 26px 26px 999px;
  background: var(--sm-pane);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.sm-crew__card img { width: 84px; height: 84px; }
.sm-crew__card h3 { font-size: 1.35rem; margin-bottom: .15em; }
.sm-crew__card p { margin: 0; font-size: .95rem; color: var(--sm-mute); }
.sm-crew__card--cyan { background: linear-gradient(90deg, rgba(91, 192, 235, .3), var(--sm-pane) 60%); }
.sm-crew__card--lime { background: linear-gradient(90deg, rgba(155, 197, 61, .3), var(--sm-pane) 60%); }
.sm-crew__card--berry { background: linear-gradient(90deg, rgba(195, 66, 63, .34), var(--sm-pane) 60%); }

/* ---------------------------------------------------------------- notes + glass windows */
.sm-notes { padding: 18px 0 52px; }
.sm-notes__grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
@media (min-width: 760px) { .sm-notes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sm-notes__layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 30px; align-items: start; } }
.sm-notes__art { display: none; margin: 0; }
@media (min-width: 1100px) { .sm-notes__art { display: block; filter: drop-shadow(0 0 24px rgba(255, 209, 102, .25)); } }

.sm-window { position: relative; display: flex; flex-direction: column; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .42)); }
.sm-window__cap {
  aspect-ratio: 5 / 1; clip-path: var(--sm-arch);
  background:
    radial-gradient(circle at 50% 74%, var(--sm-sun) 0 5%, var(--sm-lead) 5% 6.6%, transparent 6.6%),
    linear-gradient(115deg, rgba(255, 255, 255, .25), transparent 45%),
    var(--sm-cap, var(--sm-cyan));
  margin-bottom: -1px;
}
.sm-window__body {
  flex: 1; padding: 16px 20px 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--sm-cap, var(--sm-cyan)) 22%, transparent), transparent 38%), var(--sm-pane);
  border-radius: 0 0 var(--sm-round) var(--sm-round);
}
.sm-window--cyan { --sm-cap: var(--sm-cyan); }
.sm-window--lime { --sm-cap: var(--sm-lime); }
.sm-window--tang { --sm-cap: var(--sm-tang); }
.sm-window--berry { --sm-cap: var(--sm-berry); }
.sm-window__title { font-size: 1.4rem; color: #fffbe8; }
.sm-window__body p:last-child { margin-bottom: 0; }

.sm-mails { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sm-mails__label { display: block; font-size: .76rem; letter-spacing: .08em; color: var(--sm-mute); text-transform: uppercase; }
.sm-mails a { overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- inner pages */
.sm-page { padding: 32px 0 58px; }
.sm-page__head { max-width: 780px; margin-bottom: 26px; }
.sm-page__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); color: #fffbe8; text-shadow: 0 0 24px rgba(155, 197, 61, .28); }
.sm-page__intro { font-size: 1.08rem; }
.sm-page__date { color: var(--sm-sun); font-style: italic; font-size: .95rem; }
.sm-page__body { max-width: 820px; }
.sm-page__body--wide { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); max-width: none; }
@media (min-width: 900px) { .sm-page__body--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sm-page__part { padding: 18px 22px; margin-bottom: 14px; }
.sm-page__body--wide .sm-page__part { margin-bottom: 0; }
.sm-page__part h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.55rem); color: var(--sm-lime-soft); }
.sm-page__part p:last-child { margin-bottom: 0; }
.sm-page__part:nth-child(4n+1) { background: linear-gradient(155deg, rgba(91, 192, 235, .14), transparent 45%), var(--sm-pane); }
.sm-page__part:nth-child(4n+2) { background: linear-gradient(155deg, rgba(155, 197, 61, .14), transparent 45%), var(--sm-pane); }
.sm-page__part:nth-child(4n+3) { background: linear-gradient(155deg, rgba(250, 121, 33, .14), transparent 45%), var(--sm-pane); }
.sm-page__part:nth-child(4n) { background: linear-gradient(155deg, rgba(195, 66, 63, .16), transparent 45%), var(--sm-pane); }

.sm-story { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .sm-story { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.sm-story__fig { margin: 0; padding: 18px; text-align: center; }
.sm-story__fig img { margin: 0 auto; width: min(100%, 300px); filter: drop-shadow(0 0 26px rgba(255, 209, 102, .3)); }
.sm-story__fig figcaption, .sm-map figcaption { margin-top: 10px; font-size: .9rem; color: var(--sm-mute); font-style: italic; line-height: 1.4; }
@media (min-width: 900px) { .sm-story__fig { position: sticky; top: 16px; grid-column: 2; grid-row: 1; } }

.sm-map { margin: 0 0 28px; padding: 16px; max-width: 820px; }
.sm-map img { width: 100%; border-radius: 14px; }
.sm-tips { margin-bottom: 28px; }
.sm-tips__title { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); color: #fffbe8; }
.sm-tips__grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .sm-tips__grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.sm-tip { padding: 16px 20px; }
.sm-tip h3 { font-size: 1.25rem; color: var(--sm-lime-soft); }
.sm-tip p { margin: 0; }
.sm-perks { padding: 20px 22px; }
.sm-perks h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.sm-perks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .sm-perks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sm-perks__list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); }
.sm-perks__icon { font-size: 1.3rem; line-height: 1.2; }

.sm-inbox { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin-bottom: 26px; }
@media (min-width: 680px) { .sm-inbox { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .sm-inbox { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sm-inbox__mail { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; margin-bottom: .4em; }
.sm-inbox__reply { margin: 0; font-size: .88rem; color: var(--sm-mute); }
.sm-inbox__reply strong { color: var(--sm-ink); font-weight: 600; }
.sm-inbox__note { max-width: 820px; padding: 14px 20px; color: var(--sm-mute); }

.sm-help { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-bottom: 26px; }
@media (min-width: 900px) { .sm-help { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sm-help__box { padding: 18px 20px; }
.sm-help__box h2 { font-size: 1.3rem; color: var(--sm-lime-soft); }
.sm-help__box p:last-child { margin: 0; }
.sm-help__box--warn { background: linear-gradient(155deg, rgba(195, 66, 63, .22), transparent 50%), var(--sm-pane); }
.sm-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sm-ticks li { position: relative; padding-left: 1.7em; }
.sm-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sm-lime); font-weight: 700; }
.sm-ticks--no li::before { content: "✕"; color: #ff8f8b; }

.sm-faq { margin-bottom: 24px; max-width: 820px; display: grid; gap: 10px; }
.sm-faq__title { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.sm-faq__item { background: var(--sm-pane); border-radius: 14px; padding: 0 18px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.sm-faq__item summary { cursor: pointer; padding: 14px 0; font: 600 1.08rem var(--sm-head); list-style: none; }
.sm-faq__item summary::-webkit-details-marker { display: none; }
.sm-faq__item summary::after { content: "+"; float: right; color: var(--sm-lime); font-weight: 700; }
.sm-faq__item[open] summary::after { content: "–"; }
.sm-faq__item p { margin: 0 0 14px; color: var(--sm-mute); }

.sm-keys { margin-bottom: 26px; }
.sm-keys__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .sm-keys__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sm-key { padding: 18px 20px; }
.sm-key h3 { font-size: 1.15rem; margin-bottom: .6em; }
.sm-key code { font-family: ui-monospace, Consolas, monospace; background: rgba(0, 0, 0, .35); padding: .15em .5em; border-radius: 8px; color: var(--sm-sun); }
.sm-key dl { margin: 0; display: grid; gap: 2px; }
.sm-key dt { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sm-mute); margin-top: 6px; }
.sm-key dd { margin: 0; }
.sm-key--cyan { background: linear-gradient(155deg, rgba(91, 192, 235, .2), transparent 50%), var(--sm-pane); }
.sm-key--lime { background: linear-gradient(155deg, rgba(155, 197, 61, .2), transparent 50%), var(--sm-pane); }
.sm-key--tang { background: linear-gradient(155deg, rgba(250, 121, 33, .2), transparent 50%), var(--sm-pane); }

/* ---------------------------------------------------------------- footer */
.sm-base {
  background:
    linear-gradient(100deg, rgba(91, 192, 235, .1), rgba(155, 197, 61, .1) 35%, rgba(250, 121, 33, .1) 70%, rgba(195, 66, 63, .12)),
    #0c0f13;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .35);
  padding: 32px 0 28px; font-size: .92rem;
}
.sm-base__top { display: grid; gap: 18px 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .sm-base__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: start; } }
.sm-base__brand { font: 700 1.4rem var(--sm-head); display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.sm-base__brand img { width: 38px; height: 38px; }
.sm-base__tag { color: var(--sm-mute); margin: 0; }
.sm-base__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.sm-base__nav a { color: var(--sm-ink); padding: 2px 4px; }
.sm-age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin: 0; border-radius: 50%;
  font: 700 1.35rem var(--sm-head); color: #fff;
  background: radial-gradient(circle at 35% 30%, #e46c68, var(--sm-berry) 60%, #6e1d1b);
  box-shadow: 0 0 0 3px var(--sm-lead), 0 0 0 5px var(--sm-sun), 0 0 18px var(--sm-berry-glow);
}
.sm-base__notes { list-style: none; margin: 22px 0 14px; padding: 14px 16px; display: grid; gap: 6px; color: var(--sm-mute); background: rgba(255, 255, 255, .03); border-radius: 14px; }
.sm-base__notes li { padding-left: 1.3em; position: relative; }
.sm-base__notes li::before { content: "●"; position: absolute; left: 0; color: var(--sm-lime); font-size: .6em; top: .5em; }
.sm-base__owner { margin: 0 0 4px; }
.sm-base__copy { margin: 0; color: var(--sm-mute); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .sm-lake__banner--on { animation: none; opacity: 0; }
}
