/* Riaryru Bass Lake — autumn lake in maple and pine glass (prefix ry-) */

:root {
  --ry-maple: #d35400;
  --ry-maple-soft: #f39a52;
  --ry-lake: #4a90e2;
  --ry-lake-deep: #24548f;
  --ry-pine: #2e7d32;
  --ry-pine-soft: #6fbf73;
  --ry-birch: #f5e6c8;
  --ry-gold: #e6a93a;
  --ry-lead: #141c24;
  --ry-night: #121a22;
  --ry-night-2: #1b2631;
  --ry-pane: #1f2c38;
  --ry-text: #f3f5f7;
  --ry-muted: #a8b4c0;
  --ry-glow-maple: rgba(211, 84, 0, .45);
  --ry-glow-lake: rgba(74, 144, 226, .45);
  --ry-glow-pine: rgba(46, 125, 50, .45);
  --ry-head: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --ry-body: "Manrope", "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --ry-gutter: clamp(16px, 4vw, 40px);
  --ry-radius: 16px;
  --ry-arch: polygon(0% 100%, 2% 70%, 7% 45%, 15% 25%, 26% 11%, 38% 3%, 50% 0%, 62% 3%, 74% 11%, 85% 25%, 93% 45%, 98% 70%, 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(--ry-body);
  font-size: clamp(.98rem, .94rem + .2vw, 1.06rem);
  line-height: 1.65;
  color: var(--ry-text);
  background-color: var(--ry-night);
  background-image:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(211, 84, 0, .22), transparent 70%),
    radial-gradient(ellipse 50% 38% at 100% 8%, rgba(74, 144, 226, .22), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(46, 125, 50, .2), transparent 70%),
    repeating-linear-gradient(60deg, transparent 0 110px, rgba(255, 255, 255, .016) 110px 112px);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

a { color: var(--ry-maple-soft); text-decoration: none; transition: color .15s, background-color .15s; }
a:hover { color: var(--ry-birch); }

:focus-visible { outline: 3px solid var(--ry-gold); outline-offset: 3px; border-radius: 6px; }

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

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

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

/* ------------------------------------------------------------------ header */
.ry-top {
  position: relative; z-index: 20;
  background:
    linear-gradient(100deg, rgba(211, 84, 0, .2), rgba(74, 144, 226, .18) 45%, rgba(46, 125, 50, .2)),
    var(--ry-night-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
}
.ry-top__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
.ry-brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  color: var(--ry-text); font-family: var(--ry-head); font-weight: 700; font-size: 1.5rem;
}
.ry-brand:hover { color: #fff; }
.ry-brand__mark { width: 44px; height: 44px; border-radius: 50%; filter: drop-shadow(0 0 8px var(--ry-glow-maple)); }

.ry-menu-btn {
  display: inline-flex; align-items: center; gap: .45em; min-height: 42px;
  padding: .35em .95em; font: 700 .95rem var(--ry-body); color: var(--ry-text);
  background: rgba(255, 255, 255, .06); border: 2px solid var(--ry-lead); border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(230, 169, 58, .45); cursor: pointer;
}
.ry-menu-btn__bars { width: 18px; height: 12px; display: inline-block;
  background: linear-gradient(var(--ry-gold) 0 2px, transparent 2px 5px, var(--ry-gold) 5px 7px, transparent 7px 10px, var(--ry-gold) 10px 12px); }
.ry-menu-btn[aria-expanded="true"] { background: rgba(211, 84, 0, .25); }

.ry-nav { order: 4; width: 100%; display: none; }
.ry-nav--open { display: block; }
.ry-nav__list { list-style: none; margin: 0; padding: 6px 0 4px; display: grid; gap: 4px; }
.ry-nav__link {
  display: block; padding: .45em .9em; border-radius: 12px;
  color: var(--ry-text); font-family: var(--ry-head); font-weight: 700; font-size: 1.12rem;
}
.ry-nav__link:hover { background: rgba(230, 169, 58, .14); color: #fff; }
.ry-nav__link[aria-current="page"] { background: linear-gradient(90deg, rgba(211, 84, 0, .35), rgba(46, 125, 50, .3)); color: #fff; }

.ry-lang { display: inline-flex; align-items: center; gap: 6px; }
.ry-lang__glyph { color: var(--ry-gold); font-size: 1.05rem; }
.ry-lang__select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: .93rem; color: var(--ry-text);
  background:
    linear-gradient(45deg, transparent 50%, var(--ry-gold) 50%) right 14px center / 6px 6px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--ry-gold) 50%) right 8px center / 6px 6px no-repeat,
    var(--ry-lead);
  border: 1px solid rgba(230, 169, 58, .55); border-radius: 999px;
  padding: .35em 2.1em .35em .9em; min-height: 40px; cursor: pointer;
}
.ry-lang__select option { background: var(--ry-lead); color: var(--ry-text); }

@media (min-width: 900px) {
  .ry-menu-btn { display: none; }
  .ry-nav { display: block; order: 0; width: auto; margin-left: auto; }
  .ry-nav__list { display: flex; flex-wrap: wrap; gap: 2px 4px; padding: 0; }
  .ry-nav__link { font-size: 1.05rem; padding: .3em .7em; border-radius: 999px 999px 10px 10px; }
  .ry-brand { margin-right: 0; }
  .ry-top__bar { flex-wrap: nowrap; }
}
@media (max-width: 420px) {
  .ry-brand { font-size: 1.15rem; gap: 8px; }
  .ry-brand__mark { width: 34px; height: 34px; }
  .ry-top__bar .ry-lang__glyph { display: none; }
  .ry-menu-btn__text { display: none; }
}

/* ------------------------------------------------------------------ shared panes & buttons */
.ry-pane {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 42%), var(--ry-pane);
  border: 3px solid var(--ry-lead);
  border-radius: var(--ry-radius);
  box-shadow: inset 0 0 0 1px rgba(230, 169, 58, .16), 0 14px 32px rgba(0, 0, 0, .4);
}
.ry-kicker { font-family: var(--ry-head); font-weight: 700; font-style: italic; letter-spacing: .06em; color: var(--ry-gold); font-size: 1.05rem; margin: 0 0 .2em; }

.ry-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; padding: .5em 1.2em;
  font: 700 1rem var(--ry-body); letter-spacing: .02em; color: var(--ry-text);
  background: linear-gradient(180deg, #2a3846, #1c2733);
  border: 2px solid var(--ry-lead); border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(230, 169, 58, .4), 0 4px 0 #0a1016;
  cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.ry-btn:hover { box-shadow: inset 0 0 0 1px var(--ry-gold), 0 0 18px var(--ry-glow-maple), 0 4px 0 #0a1016; }
.ry-btn:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px var(--ry-gold), 0 2px 0 #0a1016; }
.ry-btn--amber {
  color: var(--ry-lead);
  background: linear-gradient(180deg, #f6b06c, var(--ry-maple-soft) 45%, var(--ry-maple));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 4px 0 #6a2a00, 0 0 24px var(--ry-glow-maple);
}
.ry-btn--amber:hover { box-shadow: inset 0 0 0 1px #fff, 0 4px 0 #6a2a00, 0 0 34px var(--ry-glow-maple); }
.ry-btn--ruby { background: linear-gradient(180deg, #e36a22, #a84200); }
.ry-btn--sapphire { background: linear-gradient(180deg, #5d9de6, var(--ry-lake-deep)); }
.ry-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ------------------------------------------------------------------ maple window dialog */
.ry-veil { display: none; }
.ry-js:not(.ry-blessed) .ry-veil { display: flex; }
.ry-js.ry-home:not(.ry-blessed), .ry-js.ry-home:not(.ry-blessed) body { overflow: hidden; }
.ry-veil {
  position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(232, 131, 58, .24), transparent 55%),
    radial-gradient(circle at 12% 88%, rgba(46, 125, 50, .32), transparent 45%),
    radial-gradient(circle at 88% 12%, rgba(74, 144, 226, .3), transparent 45%),
    #0b1218;
  overflow: hidden; transition: opacity .45s ease, visibility .45s;
}
.ry-veil--leaving { opacity: 0; visibility: hidden; }
.ry-veil__glass {
  position: relative; width: min(560px, 100%); max-height: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 6px 6px;
}
.ry-veil__lang { position: absolute; top: 0; right: 0; }
.ry-veil__lang .ry-lang__select { min-height: 36px; font-size: .85rem; padding: .25em 2em .25em .75em; }
.ry-veil__kicker { margin: 30px 0 0; font-size: .95rem; }
.ry-veil__title { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.7rem); margin: .1em 0 .15em; color: #fff7ea; text-shadow: 0 0 22px var(--ry-glow-maple); }
.ry-veil__sub { margin: 0 auto .4em; max-width: 42ch; font-size: clamp(.82rem, .78rem + .25vw, .96rem); line-height: 1.45; color: var(--ry-muted); }
.ry-veil__wheel { width: min(84vw, 44vh, 400px); width: min(84vw, 44dvh, 400px); aspect-ratio: 1; flex: none; }
.ry-dial { width: 100%; height: 100%; display: block; }
.ry-veil__result { min-height: 5.2em; margin-top: .2em; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ry-veil__status { margin: 0; color: var(--ry-muted); font-style: italic; }
.ry-veil__won[hidden], .ry-veil__status[hidden], .ry-veil__go[hidden] { display: none; }
.ry-veil__won-label { margin: 0; font-family: var(--ry-head); font-style: italic; font-weight: 700; font-size: 1rem; color: var(--ry-gold); }
.ry-veil__won-name { margin: 0; font-family: var(--ry-head); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.1; color: #fff; }
.ry-veil__won-desc { margin: .15em 0 0; font-size: .92rem; line-height: 1.38; max-width: 36ch; }
.ry-veil__go { margin-top: .5em; min-width: 12em; }
@media (max-height: 700px) { .ry-veil__kicker { display: none; } .ry-veil__title { margin-top: 34px; } }

/* ------------------------------------------------------------------ stage */
.ry-stage { padding: 20px 0 30px; }
.ry-stage__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 22px; margin-bottom: 14px; }
.ry-stage__titles { flex: 1 1 320px; min-width: 0; }
.ry-stage__title { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); margin: 0; color: #fff7ea; text-shadow: 0 0 24px rgba(232, 131, 58, .35); }
.ry-stage__line { margin: .25em 0 0; color: var(--ry-muted); max-width: 62ch; }
.ry-stage__blessing {
  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(211, 84, 0, .32), rgba(46, 125, 50, .3));
  box-shadow: inset 0 0 0 1px rgba(230, 169, 58, .5); font-size: .92rem;
}
.ry-stage__blessing strong { font-family: var(--ry-head); font-size: 1.12rem; color: #fff; }

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

.ry-hud { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ry-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; }
.ry-hud__label { font-size: .7rem; color: var(--ry-muted); max-width: 100%; overflow-wrap: anywhere; text-align: center; line-height: 1.2; }
.ry-hud__value { font-family: var(--ry-head); font-weight: 700; font-size: 1.35rem; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.ry-hud__item--hearts .ry-hud__value { color: #ff9b7a; }
.ry-hud__item--shells .ry-hud__value { color: var(--ry-gold); }
@media (min-width: 1000px) {
  .ry-hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ry-hud__item--score { grid-column: span 2; order: 5; }
}

.ry-board {
  position: relative; padding: 0; overflow: hidden; border-width: 4px; line-height: 0;
  box-shadow: 0 0 0 1px rgba(230, 169, 58, .35), 0 0 40px rgba(74, 144, 226, .3), 0 18px 40px rgba(0, 0, 0, .5);
}
.ry-board__canvas { width: 100%; height: auto; display: block; touch-action: manipulation; background: #0f171f; }
.ry-board__spots { position: absolute; inset: 0; }
.ry-spot {
  position: absolute; transform: translate(-50%, -50%); aspect-ratio: 1; min-width: 34px; padding: 0;
  border-radius: 50%; border: 2px solid transparent; background: transparent; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ry-spot:hover { border-color: rgba(245, 230, 200, .8); box-shadow: 0 0 14px var(--ry-glow-maple); }
.ry-spot:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-color: var(--ry-gold); }
.ry-spot--picked { border-color: #fff; box-shadow: 0 0 0 3px var(--ry-maple-soft), 0 0 18px var(--ry-glow-maple); }

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

.ry-tray { padding: 10px; }
.ry-tray__title { font-size: 1.15rem; color: var(--ry-gold); margin: 0 0 8px; }
.ry-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) { .ry-tray__list { grid-template-columns: 1fr; } }
.ry-pick {
  width: 100%; height: 100%; display: grid; grid-template-columns: 1fr; justify-items: center; gap: 2px;
  padding: 8px 4px; font: inherit; color: var(--ry-text); text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(0, 0, 0, .22));
  border: 2px solid var(--ry-lead); border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); cursor: pointer; transition: box-shadow .15s, transform .12s;
}
.ry-pick:hover { box-shadow: inset 0 0 0 1px var(--ry-gold), 0 0 16px var(--ry-glow-maple); }
.ry-pick:active { transform: translateY(1px); }
.ry-pick--heron { background-color: rgba(74, 144, 226, .3); }
.ry-pick--net { background-color: rgba(46, 125, 50, .34); }
.ry-pick--otter { background-color: rgba(211, 84, 0, .3); }
.ry-pick--armed { box-shadow: inset 0 0 0 2px #fff, 0 0 18px var(--ry-glow-maple); }
.ry-pick--poor { opacity: .55; }
.ry-pick__img { width: 46px; height: 46px; }
.ry-pick__name { font-family: var(--ry-head); font-weight: 700; font-size: 1.12rem; line-height: 1.1; }
.ry-pick__info { font-size: .74rem; line-height: 1.2; color: var(--ry-muted); }
.ry-pick__cost { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: .9rem; color: var(--ry-gold); }
.ry-pick__cost img { width: 16px; height: 16px; }
@media (min-width: 1000px) {
  .ry-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 20px 20px 999px; }
  .ry-pick__img { grid-row: span 2; }
  .ry-pick__info { grid-column: 2; }
  .ry-pick__cost { grid-column: 3; grid-row: 1 / span 2; }
}

.ry-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.ry-controls .ry-btn { flex: 1 1 auto; padding-left: .8em; padding-right: .8em; }
.ry-say { margin: 0; min-height: 3.2em; padding: 9px 13px; font-size: .94rem; line-height: 1.4; background: linear-gradient(90deg, rgba(211, 84, 0, .2), rgba(0, 0, 0, .28) 40%); border-radius: 12px; }
.ry-keys { margin: 0; font-size: .8rem; color: var(--ry-muted); line-height: 1.45; }

/* ------------------------------------------------------------------ lore & keepers */
.ry-lore { padding: 20px 0 44px; }
.ry-lore__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 18px; }
.ry-lore__grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .ry-lore__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ry-lore__layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: start; } }
.ry-lore__art { display: none; margin: 0; }
@media (min-width: 1100px) { .ry-lore__art { display: block; filter: drop-shadow(0 0 22px rgba(232, 131, 58, .25)); } }

.ry-arch { position: relative; display: flex; flex-direction: column; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45)); }
.ry-arch__cap {
  aspect-ratio: 5 / 1; clip-path: var(--ry-arch); position: relative; margin-bottom: -1px;
  background:
    radial-gradient(circle at 50% 72%, var(--ry-gold) 0 4.5%, var(--ry-lead) 4.5% 6%, transparent 6%),
    radial-gradient(circle at 50% 72%, rgba(255, 255, 255, .15) 0 10%, var(--ry-lead) 10% 11.5%, transparent 11.5%),
    var(--ry-cap, var(--ry-lake-deep));
}
.ry-arch__cap::after { content: ""; position: absolute; inset: 0; clip-path: var(--ry-arch); background: linear-gradient(115deg, rgba(255, 255, 255, .22), transparent 40%); }
.ry-arch__body {
  flex: 1; padding: 16px 20px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 30%), var(--ry-pane);
  border: solid var(--ry-lead); border-width: 0 3px 3px;
  border-radius: 0 0 var(--ry-radius) var(--ry-radius);
  box-shadow: inset 0 3px 0 var(--ry-cap, var(--ry-lake-deep)), inset 0 0 0 1px rgba(230, 169, 58, .14);
}
.ry-arch--ruby { --ry-cap: var(--ry-maple); }
.ry-arch--emerald { --ry-cap: var(--ry-pine); }
.ry-arch--amber { --ry-cap: #b8862c; }
.ry-arch__title { font-size: 1.5rem; color: #fff7ea; }
.ry-arch__body p:last-child { margin-bottom: 0; }
.ry-mails { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ry-mails__label { display: block; font-size: .76rem; letter-spacing: .08em; color: var(--ry-muted); text-transform: uppercase; }
.ry-mails a { overflow-wrap: anywhere; }

.ry-keepers { padding: 4px 0 52px; }
.ry-keepers__head { max-width: 720px; margin-bottom: 18px; }
.ry-keepers__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.ry-keepers__intro { color: var(--ry-muted); }
.ry-keepers__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .ry-keepers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ry-keeper { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; padding: 16px; }
.ry-keeper img { width: 76px; height: 76px; }
.ry-keeper h3 { font-size: 1.4rem; margin-bottom: .2em; color: var(--ry-birch); }
.ry-keeper p { margin: 0; font-size: .94rem; color: var(--ry-muted); }

/* ------------------------------------------------------------------ inner pages */
.ry-leaf { padding: 32px 0 58px; }
.ry-leaf__head { max-width: 780px; margin-bottom: 26px; }
.ry-leaf__title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem); color: #fff7ea; text-shadow: 0 0 24px rgba(232, 131, 58, .3); }
.ry-leaf__intro { font-size: 1.06rem; }
.ry-leaf__date { color: var(--ry-gold); font-style: italic; font-size: .95rem; }
.ry-leaf__body { max-width: 840px; }
.ry-leaf__part { padding: 18px 22px 18px 26px; margin-bottom: 14px; }
.ry-leaf__part h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); color: var(--ry-maple-soft); }
.ry-leaf__part p:last-child { margin-bottom: 0; }
.ry-leaf__part:nth-child(3n+2) { background: linear-gradient(155deg, rgba(74, 144, 226, .1), rgba(255, 255, 255, 0) 50%), var(--ry-pane); }
.ry-leaf__part:nth-child(3n) { background: linear-gradient(155deg, rgba(46, 125, 50, .12), rgba(255, 255, 255, 0) 50%), var(--ry-pane); }

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

.ry-desk { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin-bottom: 26px; }
@media (min-width: 680px) { .ry-desk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ry-desk { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ry-desk__mail { font-weight: 700; font-size: 1.04rem; overflow-wrap: anywhere; margin-bottom: .4em; }
.ry-desk__reply { margin: 0; font-size: .86rem; color: var(--ry-muted); }
.ry-desk__reply strong { color: var(--ry-birch); font-weight: 600; }

.ry-help { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); margin-bottom: 22px; }
@media (min-width: 900px) { .ry-help { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ry-help__card { padding: 18px 22px; }
.ry-help__card h2 { font-size: 1.5rem; color: var(--ry-maple-soft); }
.ry-help__card p:last-child { margin-bottom: 0; }
.ry-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ry-ticks li { position: relative; padding-left: 1.6em; }
.ry-ticks li::before { content: "🍁"; position: absolute; left: 0; top: .05em; font-size: .9em; }
.ry-ticks--stop li::before { content: "✋"; }

.ry-faq { max-width: 840px; display: grid; gap: 10px; margin-bottom: 22px; }
.ry-faq__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.ry-faq details { padding: 0; overflow: hidden; }
.ry-faq summary {
  cursor: pointer; list-style: none; padding: 14px 48px 14px 20px; position: relative;
  font-family: var(--ry-head); font-weight: 700; font-size: 1.2rem; color: var(--ry-birch);
}
.ry-faq summary::-webkit-details-marker { display: none; }
.ry-faq summary::after { content: "🍂"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%) rotate(0); transition: transform .2s; }
.ry-faq details[open] summary::after { transform: translateY(-50%) rotate(90deg); }
.ry-faq details[open] summary { background: rgba(211, 84, 0, .16); }
.ry-faq__answer { padding: 12px 20px 16px; margin: 0; color: var(--ry-text); }
.ry-note { max-width: 840px; padding: 14px 20px; color: var(--ry-muted); }

/* chronicle */
.ry-banner { margin: 0 0 28px; padding: 0; overflow: hidden; }
.ry-banner img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.ry-seasons { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ry-seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ry-seasons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ry-season { padding: 18px; text-align: center; }
.ry-season img { width: 150px; height: 150px; margin: 0 auto 10px; }
.ry-season h3 { font-size: 1.45rem; color: var(--ry-birch); }
.ry-season p { margin: 0; font-size: .94rem; color: var(--ry-muted); }
.ry-section-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin-bottom: 16px; }
.ry-entries { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .ry-entries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ footer */
.ry-foot {
  background: linear-gradient(100deg, rgba(46, 125, 50, .14), rgba(74, 144, 226, .12) 50%, rgba(211, 84, 0, .14)), #0c1218;
  box-shadow: 0 -14px 30px rgba(0, 0, 0, .3);
  padding: 32px 0 26px; font-size: .92rem;
}
.ry-foot__top { display: grid; gap: 18px 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .ry-foot__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: start; } }
.ry-foot__brand { font-family: var(--ry-head); font-weight: 700; font-size: 1.45rem; display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.ry-foot__brand img { width: 36px; height: 36px; }
.ry-foot__tag { color: var(--ry-muted); margin: 0; }
.ry-foot__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.ry-foot__nav a { color: var(--ry-text); padding: .2em .6em; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.ry-foot__nav a:hover { background: rgba(211, 84, 0, .25); }
.ry-age {
  display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0;
  border-radius: 50%; font-family: var(--ry-head); font-weight: 700; font-size: 1.4rem; color: #fff;
  background: radial-gradient(circle at 35% 30%, #f07a2c, var(--ry-maple) 60%, #6a2a00);
  border: 3px solid var(--ry-lead); box-shadow: 0 0 0 2px var(--ry-gold), 0 0 18px var(--ry-glow-maple);
}
.ry-foot__notes { list-style: none; margin: 22px 0 14px; padding: 14px 16px; display: grid; gap: 6px; color: var(--ry-muted); background: rgba(0, 0, 0, .22); border-radius: 14px; }
.ry-foot__notes li { padding-left: 1.4em; position: relative; }
.ry-foot__notes li::before { content: "🍁"; position: absolute; left: 0; font-size: .75em; top: .25em; }
.ry-foot__owner { margin: 0 0 4px; }
.ry-foot__copy { margin: 0; color: var(--ry-muted); }

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