/* Lefitui Bass Creek — woodland chapel glass (prefix lf-) */

:root {
  --lf-moss: #4f9d4a;
  --lf-moss-hi: #7cc46f;
  --lf-moss-lo: #2f6b2c;
  --lf-plum: #7b3f8c;
  --lf-plum-hi: #a865b8;
  --lf-honey: #e0a63a;
  --lf-honey-hi: #f3cd7c;
  --lf-river: #3279b8;
  --lf-river-hi: #6aa6dd;
  --lf-lead: #0c140f;
  --lf-night: #101c14;
  --lf-night-2: #18291e;
  --lf-glass: #1d3123;
  --lf-ink: #f0f5ee;
  --lf-mute: #a6b8a5;
  --lf-honey-glow: rgba(224, 166, 58, .42);
  --lf-plum-glow: rgba(123, 63, 140, .5);
  --lf-moss-glow: rgba(79, 157, 74, .45);
  --lf-head: "Alegreya SC", "Alegreya", Georgia, "Noto Serif Bengali", serif;
  --lf-body: "Alegreya Sans", "Segoe UI", "Noto Sans Bengali", Arial, sans-serif;
  --lf-gap: clamp(16px, 4vw, 40px);
  --lf-r: 18px;
  --lf-ring: inset 0 0 0 2px rgba(12, 20, 15, .9), inset 0 0 0 3px rgba(224, 166, 58, .16);
  --lf-arch: polygon(0% 100%, 4% 82%, 9% 66%, 15% 51%, 22% 38%, 30% 26%, 39% 15%, 50% 0%, 61% 15%, 70% 26%, 78% 38%, 85% 51%, 91% 66%, 96% 82%, 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(--lf-body);
  font-size: clamp(1rem, .97rem + .2vw, 1.1rem);
  line-height: 1.62;
  color: var(--lf-ink);
  background-color: var(--lf-night);
  background-image:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(123, 63, 140, .26), transparent 70%),
    radial-gradient(ellipse 50% 35% at 100% 4%, rgba(79, 157, 74, .22), transparent 70%),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(50, 121, 184, .18), transparent 70%),
    radial-gradient(circle at 20% 60%, rgba(224, 166, 58, .05), transparent 30%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lf-honey-hi); text-decoration: none; }
a:hover { color: #fff; background: rgba(224, 166, 58, .12); border-radius: 6px; }
:focus-visible { outline: 3px solid var(--lf-honey); outline-offset: 3px; border-radius: 6px; }

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

.lf-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lf-skip { position: absolute; left: 12px; top: -64px; z-index: 60; background: var(--lf-honey); color: var(--lf-lead); padding: .5em 1em; border-radius: 0 0 12px 12px; font-weight: 700; transition: top .2s; }
.lf-skip:focus { top: 0; }

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

/* ------------------------------------------------------------ header */
.lf-top {
  position: relative; z-index: 20;
  background:
    linear-gradient(100deg, rgba(79, 157, 74, .22), rgba(123, 63, 140, .24) 45%, rgba(50, 121, 184, .2) 80%, rgba(224, 166, 58, .18)),
    var(--lf-night-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
}
.lf-top__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
.lf-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--lf-ink); font-family: var(--lf-head); font-weight: 700; font-size: 1.4rem; letter-spacing: .03em; margin-right: auto; }
.lf-brand:hover { background: none; color: #fff; }
.lf-brand__mark { width: 44px; height: 44px; border-radius: 50%; filter: drop-shadow(0 0 10px var(--lf-honey-glow)); }

.lf-menu-btn {
  display: none;
  align-items: center; gap: .4em;
  min-height: 42px; padding: .3em 1em;
  font: 700 1rem var(--lf-head); letter-spacing: .06em; color: var(--lf-ink);
  background: rgba(123, 63, 140, .35); border: 0; border-radius: 999px;
  box-shadow: var(--lf-ring); cursor: pointer;
}
.lf-menu-btn__icon { display: inline-grid; gap: 3px; }
.lf-menu-btn__icon span { display: block; width: 18px; height: 2px; background: var(--lf-honey-hi); border-radius: 2px; }

.lf-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.lf-nav__link {
  display: inline-block; padding: .3em .8em;
  color: var(--lf-ink); font-family: var(--lf-head); font-weight: 700; font-size: 1.04rem; letter-spacing: .04em;
  border-radius: 14px 14px 6px 6px;
}
.lf-nav__link:hover { background: rgba(79, 157, 74, .22); border-radius: 14px 14px 6px 6px; }
.lf-nav__link[aria-current="page"] { background: linear-gradient(180deg, rgba(224, 166, 58, .32), rgba(123, 63, 140, .3)); color: #fff; }

.lf-voice { display: inline-flex; align-items: center; gap: 6px; }
.lf-voice__glyph { color: var(--lf-moss-hi); font-size: 1.05rem; }
.lf-voice__select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: .95rem; color: var(--lf-ink);
  background:
    linear-gradient(45deg, transparent 50%, var(--lf-honey) 50%) right 14px center / 6px 6px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--lf-honey) 50%) right 8px center / 6px 6px no-repeat,
    var(--lf-lead);
  border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(224, 166, 58, .5);
  padding: .35em 2.1em .35em .9em; min-height: 40px; cursor: pointer;
}
.lf-voice__select option { background: var(--lf-lead); color: var(--lf-ink); }

@media (min-width: 1100px) {
  .lf-top__bar { flex-wrap: nowrap; }
  .lf-nav { margin-left: auto; }
  .lf-brand { margin-right: 0; }
}
@media (max-width: 1099px) {
  .lf-menu-btn { display: inline-flex; }
  .lf-nav { order: 5; width: 100%; display: none; }
  .lf-nav--open { display: block; }
  .lf-nav__list { flex-direction: column; padding: 8px; gap: 4px; background: rgba(12, 20, 15, .6); border-radius: 16px; }
  .lf-nav__link { display: block; }
}
@media (max-width: 420px) {
  .lf-brand { font-size: 1.12rem; gap: 8px; }
  .lf-brand__mark { width: 34px; height: 34px; }
  .lf-voice__glyph { display: none; }
  .lf-menu-btn__label { display: none; }
}

/* ------------------------------------------------------------ panes & buttons */
.lf-pane {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 45%), var(--lf-glass);
  border-radius: var(--lf-r);
  box-shadow: var(--lf-ring), 0 14px 32px rgba(0, 0, 0, .42);
}
.lf-kicker { font-family: var(--lf-head); font-weight: 700; letter-spacing: .14em; color: var(--lf-moss-hi); font-size: .95rem; margin: 0 0 .25em; }

.lf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; padding: .5em 1.2em;
  font-family: var(--lf-head); font-weight: 700; font-size: 1.06rem; letter-spacing: .05em;
  color: var(--lf-ink);
  background: linear-gradient(180deg, #2a4231, #1b2c20);
  border: 0; border-radius: 18px 18px 10px 10px;
  box-shadow: inset 0 0 0 1px rgba(224, 166, 58, .4), 0 4px 0 #07100a;
  cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.lf-btn:hover { box-shadow: inset 0 0 0 1px var(--lf-honey), 0 0 18px var(--lf-honey-glow), 0 4px 0 #07100a; }
.lf-btn:active { transform: translateY(2px); }
.lf-btn--honey { color: var(--lf-lead); background: linear-gradient(180deg, var(--lf-honey-hi), var(--lf-honey) 55%, #b27b1c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 4px 0 #6a4710, 0 0 24px var(--lf-honey-glow); }
.lf-btn--plum { background: linear-gradient(180deg, var(--lf-plum-hi), var(--lf-plum)); }
.lf-btn--river { background: linear-gradient(180deg, var(--lf-river-hi), var(--lf-river)); }
.lf-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ------------------------------------------------------------ wheel dialog */
.lf-veil { display: none; }
.lf-js:not(.lf-blessed) .lf-veil { display: flex; }
.lf-js.lf-home:not(.lf-blessed), .lf-js.lf-home:not(.lf-blessed) body { overflow: hidden; }
.lf-veil {
  position: fixed; inset: 0; z-index: 100;
  align-items: center; justify-content: center; padding: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(224, 166, 58, .2), transparent 55%),
    radial-gradient(circle at 12% 88%, rgba(79, 157, 74, .32), transparent 45%),
    radial-gradient(circle at 88% 12%, rgba(123, 63, 140, .36), transparent 45%),
    radial-gradient(circle at 88% 88%, rgba(50, 121, 184, .3), transparent 45%),
    #09110c;
  overflow: hidden; transition: opacity .45s ease, visibility .45s;
}
.lf-veil--leaving { opacity: 0; visibility: hidden; }
.lf-veil__glass { position: relative; width: min(540px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 6px 6px; }
.lf-veil__voice { position: absolute; top: 0; right: 0; }
.lf-veil__voice .lf-voice__select { min-height: 36px; font-size: .85rem; padding: .25em 2em .25em .75em; }
.lf-veil__kicker { margin: 30px 0 0; font-size: .85rem; }
.lf-veil__title { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.5rem); margin: .1em 0 .15em; color: #fbfff5; text-shadow: 0 0 22px var(--lf-moss-glow); }
.lf-veil__sub { margin: 0 auto .4em; max-width: 40ch; font-size: clamp(.84rem, .8rem + .25vw, .98rem); line-height: 1.4; color: var(--lf-mute); }
.lf-veil__wheel { width: min(84vw, 44vh, 400px); width: min(84vw, 44dvh, 400px); aspect-ratio: 1; flex: none; }
.lf-rose { width: 100%; height: 100%; display: block; }
.lf-veil__result { min-height: 5.2em; margin-top: .2em; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lf-veil__status { margin: 0; color: var(--lf-mute); font-style: italic; }
.lf-veil__won[hidden], .lf-veil__status[hidden], .lf-veil__go[hidden] { display: none; }
.lf-veil__won-label { margin: 0; font-family: var(--lf-head); font-weight: 700; letter-spacing: .14em; font-size: .85rem; color: var(--lf-moss-hi); }
.lf-veil__won-name { margin: 0; font-family: var(--lf-head); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.1; color: var(--lf-honey-hi); }
.lf-veil__won-desc { margin: .15em 0 0; font-size: .94rem; line-height: 1.35; max-width: 36ch; }
.lf-veil__go { margin-top: .5em; min-width: 12em; }
@media (max-height: 700px) { .lf-veil__kicker { display: none; } .lf-veil__title { margin-top: 34px; } }

/* ------------------------------------------------------------ stage */
.lf-stage { padding: 20px 0 30px; }
.lf-stage__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 22px; margin-bottom: 14px; }
.lf-stage__titles { flex: 1 1 320px; min-width: 0; }
.lf-stage__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin: 0; color: #fbfff5; text-shadow: 0 0 24px var(--lf-moss-glow); }
.lf-stage__line { margin: .2em 0 0; color: var(--lf-mute); max-width: 62ch; }
.lf-stage__blessing {
  margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35em;
  padding: .4em 1.1em; border-radius: 999px;
  background: linear-gradient(90deg, rgba(79, 157, 74, .32), rgba(123, 63, 140, .32));
  box-shadow: inset 0 0 0 1px rgba(224, 166, 58, .45); font-size: .94rem;
}
.lf-stage__blessing strong { font-family: var(--lf-head); font-size: 1.08rem; color: var(--lf-honey-hi); }

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

.lf-hud { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.lf-hud__item { display: flex; flex-direction: column; align-items: center; padding: 5px 2px; border-radius: 12px; background: rgba(0, 0, 0, .3); min-width: 0; }
.lf-hud__label { font-size: .72rem; letter-spacing: .04em; color: var(--lf-mute); max-width: 100%; overflow-wrap: anywhere; text-align: center; line-height: 1.2; }
.lf-hud__value { font-family: var(--lf-head); font-weight: 700; font-size: 1.3rem; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.lf-hud__item--hearts .lf-hud__value { color: #e9a3f2; }
.lf-hud__item--shells .lf-hud__value { color: var(--lf-honey-hi); }
@media (min-width: 1000px) {
  .lf-hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf-hud__item--score { grid-column: span 2; order: 5; }
}

.lf-board {
  position: relative; padding: 0; overflow: hidden; line-height: 0;
  box-shadow: 0 0 0 3px var(--lf-lead), 0 0 0 5px rgba(224, 166, 58, .35), 0 0 40px rgba(79, 157, 74, .3), 0 18px 40px rgba(0, 0, 0, .5);
}
.lf-board__canvas { width: 100%; height: auto; display: block; touch-action: manipulation; background: #0f1a12; }
.lf-board__spots { position: absolute; inset: 0; }
.lf-spot {
  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;
}
.lf-spot:hover { box-shadow: 0 0 0 2px rgba(243, 205, 124, .85), 0 0 14px var(--lf-honey-glow); }
.lf-spot:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lf-spot--picked { box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--lf-honey), 0 0 18px var(--lf-honey-glow); }

.lf-board__banner {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  line-height: 1.1; font-family: var(--lf-head); font-weight: 700; font-size: clamp(1.6rem, 1rem + 3vw, 3rem);
  color: #fbfff5; text-shadow: 0 0 20px var(--lf-honey), 0 2px 0 var(--lf-lead);
  pointer-events: none; opacity: 0;
}
.lf-board__banner--show { animation: lf-banner 1.6s ease forwards; }
@keyframes lf-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%); }
}
.lf-board__shade { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(8, 14, 10, .74); line-height: 1.4; padding: 12px; }
.lf-board__shade[hidden] { display: none; }
.lf-board__pause-text { font-family: var(--lf-head); font-weight: 700; font-size: 2rem; margin: 0; }
.lf-verdict { text-align: center; padding: 16px 22px; max-width: 340px; width: 100%; }
.lf-verdict__title { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem); color: var(--lf-honey-hi); margin-bottom: .3em; }
.lf-verdict__stats { margin: 0 0 12px; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; text-align: left; font-size: .95rem; }
.lf-verdict__stats dt { color: var(--lf-mute); }
.lf-verdict__stats dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.lf-verdict__total { font-family: var(--lf-head); font-size: 1.25rem; color: #fff; }
.lf-verdict__new { color: var(--lf-honey); font-weight: 700; margin: 0 0 8px; }
.lf-verdict__new[hidden] { display: none; }

.lf-tray { padding: 10px; }
.lf-tray__title { font-size: 1.05rem; letter-spacing: .1em; color: var(--lf-moss-hi); margin: 0 0 8px; }
.lf-tray__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1000px) { .lf-tray__list { grid-template-columns: 1fr; } }
.lf-pick {
  width: 100%; height: 100%; display: grid; grid-template-columns: 1fr; justify-items: center; gap: 2px; padding: 8px 4px;
  font: inherit; color: var(--lf-ink); text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(0, 0, 0, .2));
  border: 0; border-radius: 26px 26px 12px 12px; box-shadow: var(--lf-ring);
  cursor: pointer; transition: box-shadow .15s, transform .12s;
}
.lf-pick:hover { box-shadow: inset 0 0 0 2px var(--lf-honey), 0 0 16px var(--lf-honey-glow); }
.lf-pick:active { transform: translateY(1px); }
.lf-pick--heron { background-color: rgba(50, 121, 184, .34); }
.lf-pick--net { background-color: rgba(79, 157, 74, .34); }
.lf-pick--otter { background-color: rgba(123, 63, 140, .38); }
.lf-pick--armed { box-shadow: inset 0 0 0 2px #fff, 0 0 18px var(--lf-honey-glow); }
.lf-pick--poor { opacity: .55; }
.lf-pick__img { width: 46px; height: 46px; }
.lf-pick__name { font-family: var(--lf-head); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.lf-pick__info { font-size: .76rem; line-height: 1.2; color: var(--lf-mute); }
.lf-pick__cost { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: .9rem; color: var(--lf-honey-hi); }
.lf-pick__cost img { width: 16px; height: 16px; }
@media (min-width: 1000px) {
  .lf-pick { grid-template-columns: 46px 1fr auto; justify-items: start; text-align: left; align-items: center; column-gap: 10px; padding: 8px 12px; border-radius: 999px 18px 18px 999px; }
  .lf-pick__img { grid-row: span 2; }
  .lf-pick__info { grid-column: 2; }
  .lf-pick__cost { grid-column: 3; grid-row: 1 / span 2; }
}
.lf-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-controls .lf-btn { flex: 1 1 auto; padding-left: .8em; padding-right: .8em; }
.lf-say { margin: 0; min-height: 3.2em; padding: 9px 14px; font-size: .96rem; line-height: 1.4; background: linear-gradient(90deg, rgba(224, 166, 58, .18), rgba(0, 0, 0, .28) 40%); border-radius: 14px; }
.lf-keys { margin: 0; font-size: .82rem; color: var(--lf-mute); line-height: 1.45; }

/* ------------------------------------------------------------ lore + home blocks */
.lf-lore { padding: 18px 0 30px; }
.lf-lore__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 18px; }
.lf-lore__grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .lf-lore__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lf-lore__layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: start; } }
.lf-lore__art { display: none; margin: 0; }
@media (min-width: 1100px) { .lf-lore__art { display: block; filter: drop-shadow(0 0 22px var(--lf-plum-glow)); } }

.lf-arch { position: relative; display: flex; flex-direction: column; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45)); }
.lf-arch__cap {
  aspect-ratio: 5 / 1; clip-path: var(--lf-arch); margin-bottom: -1px;
  background:
    radial-gradient(circle at 50% 72%, var(--lf-honey) 0 5%, var(--lf-lead) 5% 6.5%, transparent 6.5%),
    radial-gradient(circle at 50% 72%, rgba(255, 255, 255, .16) 0 11%, var(--lf-lead) 11% 12.5%, transparent 12.5%),
    var(--lf-cap, var(--lf-moss));
}
.lf-arch__body {
  flex: 1; padding: 16px 20px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 30%), var(--lf-glass);
  border-radius: 0 0 var(--lf-r) var(--lf-r);
  box-shadow: inset 0 0 0 1px rgba(224, 166, 58, .14);
}
.lf-arch--plum { --lf-cap: var(--lf-plum); }
.lf-arch--river { --lf-cap: var(--lf-river); }
.lf-arch--honey { --lf-cap: #b48224; }
.lf-arch__title { font-size: 1.42rem; color: #fbfff5; }
.lf-arch__body p:last-child { margin-bottom: 0; }

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

.lf-notes { padding: 0 0 52px; }
.lf-notes__title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 14px; }
.lf-notes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .lf-notes__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lf-note { padding: 16px 18px 16px 62px; }
.lf-note__icon { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(79, 157, 74, .35); font-size: 1.1rem; }
.lf-note h3 { font-size: 1.2rem; color: var(--lf-honey-hi); margin-bottom: .3em; }
.lf-note p { margin: 0; font-size: .96rem; color: var(--lf-ink); }

/* ------------------------------------------------------------ inner pages */
.lf-leaf { padding: 30px 0 56px; }
.lf-leaf__head { max-width: 780px; margin-bottom: 26px; }
.lf-leaf__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); color: #fbfff5; text-shadow: 0 0 24px var(--lf-moss-glow); }
.lf-leaf__intro { font-size: 1.08rem; }
.lf-leaf__date { color: var(--lf-honey-hi); font-style: italic; font-size: .95rem; }
.lf-leaf__body { max-width: 840px; }
.lf-leaf__part { padding: 18px 22px; margin-bottom: 14px; }
.lf-leaf__part::before {
  content: ""; position: absolute; right: 16px; top: 16px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--lf-honey-hi), var(--lf-plum));
  box-shadow: 0 0 10px var(--lf-honey-glow);
}
.lf-leaf__part:nth-child(3n+2)::before { background: radial-gradient(circle at 35% 35%, var(--lf-moss-hi), var(--lf-moss-lo)); }
.lf-leaf__part:nth-child(3n)::before { background: radial-gradient(circle at 35% 35%, var(--lf-river-hi), var(--lf-river)); }
.lf-leaf__part h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); color: var(--lf-honey-hi); padding-right: 24px; }
.lf-leaf__part p:last-child { margin-bottom: 0; }

.lf-about { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lf-about { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.lf-about__fig { margin: 0; padding: 16px; text-align: center; }
.lf-about__fig img { margin: 0 auto; width: min(100%, 300px); filter: drop-shadow(0 0 26px var(--lf-honey-glow)); }
.lf-about__fig figcaption { margin-top: 10px; font-size: .92rem; color: var(--lf-mute); font-style: italic; line-height: 1.4; }
@media (min-width: 900px) { .lf-about__fig { position: sticky; top: 16px; grid-column: 2; grid-row: 1; } }

.lf-desk { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin-bottom: 26px; }
@media (min-width: 680px) { .lf-desk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .lf-desk { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lf-desk__mail { font-weight: 700; font-size: 1.04rem; overflow-wrap: anywhere; margin-bottom: .4em; }
.lf-desk__reply { display: inline-block; margin: 0; padding: .15em .7em; border-radius: 999px; background: rgba(79, 157, 74, .25); font-size: .84rem; color: var(--lf-moss-hi); }
.lf-desk__note { max-width: 780px; padding: 14px 20px; color: var(--lf-mute); }

.lf-guide { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin-bottom: 26px; }
@media (min-width: 860px) { .lf-guide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lf-guide__box { padding: 18px 20px; }
.lf-guide__box h2 { font-size: 1.35rem; color: var(--lf-honey-hi); }
.lf-guide__box p:last-child { margin-bottom: 0; }
.lf-bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lf-bullets li { position: relative; padding-left: 1.5em; }
.lf-bullets li::before { content: "❧"; position: absolute; left: 0; color: var(--lf-moss-hi); }
.lf-bullets--warn li::before { content: "✕"; color: #e79ad0; }

.lf-faq { max-width: 840px; display: grid; gap: 10px; margin-bottom: 22px; }
.lf-faq__title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.lf-faq details { padding: 4px 18px; }
.lf-faq summary { cursor: pointer; padding: 10px 0; font-family: var(--lf-head); font-weight: 700; font-size: 1.12rem; list-style: none; }
.lf-faq summary::-webkit-details-marker { display: none; }
.lf-faq summary::before { content: "＋"; color: var(--lf-honey); margin-right: .5em; }
.lf-faq details[open] summary::before { content: "－"; }
.lf-faq details p { margin: 0 0 12px; color: var(--lf-ink); }
.lf-pill-link { display: inline-block; padding: .5em 1.1em; border-radius: 999px; background: rgba(123, 63, 140, .35); color: var(--lf-ink); font-weight: 700; }
.lf-pill-link:hover { background: rgba(123, 63, 140, .6); border-radius: 999px; }

/* bestiary */
.lf-beasts__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 10px 0 14px; color: var(--lf-moss-hi); }
.lf-beasts { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .lf-beasts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lf-beasts--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lf-beast { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; }
.lf-beast__pic { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); }
.lf-beast__pic--wide { height: 48px; margin-top: 22px; }
.lf-beast h3 { font-size: 1.35rem; color: var(--lf-honey-hi); margin-bottom: .25em; }
.lf-beast p { margin: 0 0 .5em; }
.lf-beast__stat { display: inline-block; margin: 0; padding: .2em .8em; border-radius: 12px; background: rgba(50, 121, 184, .26); font-size: .88rem; color: #dbeaf7; }
@media (max-width: 420px) { .lf-beast { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ footer */
.lf-foot {
  background: linear-gradient(100deg, rgba(224, 166, 58, .1), rgba(79, 157, 74, .12) 35%, rgba(123, 63, 140, .14) 70%, rgba(50, 121, 184, .12)), #0a120d;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .3);
  padding: 32px 0 26px; font-size: .94rem;
}
.lf-foot__top { display: grid; gap: 18px 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .lf-foot__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: start; } }
.lf-foot__brand { font-family: var(--lf-head); font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.lf-foot__brand img { width: 36px; height: 36px; }
.lf-foot__tag { color: var(--lf-mute); margin: 0; }
.lf-foot__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lf-foot__nav a { color: var(--lf-ink); }
.lf-age {
  display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0;
  border-radius: 50%; font-family: var(--lf-head); font-weight: 700; font-size: 1.35rem; color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--lf-plum-hi), var(--lf-plum) 60%, #3d1a47);
  box-shadow: 0 0 0 3px var(--lf-lead), 0 0 0 5px var(--lf-honey), 0 0 18px var(--lf-plum-glow);
}
.lf-foot__notes { list-style: none; margin: 22px 0 14px; padding: 14px 16px; background: rgba(0, 0, 0, .22); border-radius: 16px; display: grid; gap: 6px; color: var(--lf-mute); }
.lf-foot__notes li { padding-left: 1.3em; position: relative; }
.lf-foot__notes li::before { content: "❦"; position: absolute; left: 0; color: var(--lf-moss-hi); font-size: .85em; top: .1em; }
.lf-foot__owner { margin: 0 0 4px; }
.lf-foot__copy { margin: 0; color: var(--lf-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; }
  .lf-board__banner--show { animation: none; opacity: 0; }
}
