/* Bonanza Reef — sunlit coral lagoon theme. Prefix rf-, states is-*. */

:root {
  --rf-deep: #06263a;
  --rf-deep-2: #0b3550;
  --rf-deep-3: #0f4466;
  --rf-coral: #ef476f;
  --rf-coral-soft: #ff8fb0;
  --rf-sun: #ffd166;
  --rf-sun-deep: #e8a92a;
  --rf-lagoon: #06d6a0;
  --rf-ocean: #118ab2;
  --rf-foam: #e6fbff;
  --rf-text: #f1fbff;
  --rf-muted: #9cc3d5;
  --rf-ink: #06263a;
  --rf-round: 24px;
  --rf-round-sm: 14px;
  --rf-side: clamp(16px, 4vw, 44px);
  --rf-head: "Fredoka", "Trebuchet MS", "Noto Sans Bengali", sans-serif;
  --rf-body: "Lato", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans Bengali", sans-serif;
  --rf-lift: 0 14px 32px rgba(2, 18, 30, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--rf-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--rf-text);
  background-color: var(--rf-deep);
  background-image:
    radial-gradient(ellipse 70% 40% at 15% -5%, rgba(17, 138, 178, 0.55), transparent 70%),
    radial-gradient(ellipse 60% 40% at 95% 10%, rgba(239, 71, 111, 0.18), transparent 70%),
    url("../img/sand-tile.webp");
  background-size: auto, auto, 256px 256px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rf-sun); text-decoration: none; }
a:hover { color: var(--rf-foam); }
:focus-visible { outline: 3px solid var(--rf-sun); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--rf-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--rf-foam); }
p { margin: 0 0 1em; }

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

.rf-skip {
  position: absolute; left: 12px; top: -64px; z-index: 300;
  background: var(--rf-sun); color: var(--rf-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.rf-skip:focus { top: 12px; }

.rf-kicker {
  display: inline-block;
  font-family: var(--rf-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rf-ink); background: var(--rf-lagoon);
  padding: 3px 12px; border-radius: 999px; margin: 0 0 .8rem;
}

/* ---------- buttons ---------- */
.rf-btn {
  appearance: none; border: 0; cursor: pointer;
  font-family: var(--rf-head); font-weight: 600; font-size: 1.1rem; letter-spacing: .02em;
  padding: .75em 1.8em; min-height: 48px; border-radius: 999px;
  transition: transform .15s ease, filter .15s ease;
}
.rf-btn--sun {
  color: var(--rf-ink);
  background: linear-gradient(180deg, #ffe39b 0%, var(--rf-sun) 55%, var(--rf-sun-deep) 100%);
  box-shadow: 0 6px 0 #b87e14, 0 12px 22px rgba(2, 18, 30, 0.4);
}
.rf-btn:hover { filter: brightness(1.06); }
.rf-btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #b87e14, 0 6px 12px rgba(2, 18, 30, 0.4); }

/* ---------- header ---------- */
.rf-top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 38, 58, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(2, 18, 30, 0.35);
}
.rf-top__bar {
  max-width: 1220px; margin: 0 auto; padding: 10px var(--rf-side);
  display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap;
}
.rf-logo { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--rf-foam); }
.rf-logo__mark { width: 46px; height: 46px; }
.rf-logo__words { display: flex; flex-direction: column; line-height: 1.05; }
.rf-logo__name { font-family: var(--rf-head); font-weight: 700; font-size: 1.55rem; color: var(--rf-sun); }
.rf-logo__sub { font-size: .74rem; letter-spacing: .08em; color: var(--rf-lagoon); font-weight: 700; }

.rf-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rf-nav__link {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  font-family: var(--rf-head); font-weight: 500; font-size: 1rem; color: var(--rf-foam);
}
.rf-nav__link:hover { background: rgba(6, 214, 160, 0.16); color: #fff; }
.rf-nav__link[aria-current="page"] { background: var(--rf-coral); color: #fff; }

.rf-menu-btn {
  display: none; align-items: center; gap: 8px; cursor: pointer;
  appearance: none; border: 0; border-radius: 999px; padding: 8px 14px; min-height: 42px;
  font: 600 .95rem var(--rf-head); color: var(--rf-ink); background: var(--rf-sun);
}
.rf-menu-btn__icon { font-size: 1.1rem; line-height: 1; }

.rf-lang { position: relative; display: inline-flex; align-items: center; }
.rf-lang__globe { position: absolute; left: 11px; pointer-events: none; font-size: .95rem; }
.rf-lang__select {
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
  font: 700 .92rem var(--rf-body); color: var(--rf-foam);
  background-color: var(--rf-deep-3);
  padding: 8px 32px 8px 34px; min-height: 40px; border-radius: 999px;
  background-image: linear-gradient(45deg, transparent 50%, var(--rf-sun) 50%), linear-gradient(135deg, var(--rf-sun) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  box-shadow: inset 0 0 0 2px rgba(6, 214, 160, 0.35);
}
.rf-lang__select option { color: #111; background: #fff; }

/* ---------- home stage ---------- */
.rf-main { display: block; max-width: 1220px; margin: 0 auto; padding: 0 var(--rf-side); }
.rf-main:focus { outline: none; }

.rf-stage {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 26px 44px;
  align-items: start; padding: 30px 0 34px;
}
.rf-stage__intro { padding-top: 20px; }
.rf-stage__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 700; color: var(--rf-sun); text-shadow: 0 4px 0 rgba(2, 18, 30, 0.45); }
.rf-stage__lead { font-size: 1.16rem; max-width: 46ch; }

.rf-charm {
  display: flex; align-items: center; gap: 14px; max-width: 470px;
  margin: 22px 0 18px; padding: 12px 20px 12px 12px;
  background: linear-gradient(135deg, #fff6e0, #ffe2ea);
  color: var(--rf-ink); border-radius: var(--rf-round);
  box-shadow: var(--rf-lift);
}
.rf-charm__badge { width: 56px; height: 56px; flex: none; }
.rf-charm__text { margin: 0; display: flex; flex-direction: column; line-height: 1.3; }
.rf-charm__label { font-family: var(--rf-head); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rf-coral); font-weight: 600; }
.rf-charm__name { font-family: var(--rf-head); font-size: 1.22rem; font-weight: 600; }
.rf-charm__desc { font-size: .92rem; color: #2e4c5e; }
.rf-charm.is-set .rf-charm__badge { animation: rf-wiggle .9s ease-out 1; }
@keyframes rf-wiggle { 0% { transform: rotate(-18deg) scale(.9); } 55% { transform: rotate(10deg) scale(1.08); } 100% { transform: rotate(0) scale(1); } }

.rf-keys { font-size: .96rem; color: var(--rf-muted); max-width: 52ch; }
.rf-keys strong { color: var(--rf-lagoon); font-family: var(--rf-head); font-weight: 600; margin-right: 4px; }

/* ---------- game frame ---------- */
.rf-dome {
  position: relative; padding: 16px;
  border-radius: 34px;
  background: linear-gradient(160deg, var(--rf-ocean) 0%, #0d6f93 45%, var(--rf-deep-2) 100%);
  box-shadow: var(--rf-lift), inset 0 2px 0 rgba(230, 251, 255, 0.35);
}
.rf-dome__hud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 2px 8px 12px; }
.rf-dial {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0;
  padding: 5px 4px 4px; border-radius: 18px;
  background: var(--rf-foam); color: var(--rf-ink);
  box-shadow: 0 4px 0 rgba(2, 18, 30, 0.25);
}
.rf-dial__label { font-family: var(--rf-head); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rf-coral); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rf-dial__value { font-family: var(--rf-head); font-weight: 700; font-size: 1.28rem; line-height: 1.1; font-variant-numeric: tabular-nums; }

.rf-dome__glass {
  position: relative; overflow: hidden; margin: 0 4px;
  border-radius: 26px;
  background: var(--rf-deep-2);
  box-shadow: 0 0 0 6px rgba(230, 251, 255, 0.55), inset 0 0 28px rgba(2, 18, 30, 0.6);
}
.rf-dome__canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; touch-action: none; cursor: crosshair; background: var(--rf-deep-2); }
.rf-dome__canvas:focus-visible { outline: 3px solid var(--rf-sun); outline-offset: -3px; }

.rf-curtain {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 42%, rgba(17, 138, 178, 0.45), rgba(6, 38, 58, 0.9));
  transition: opacity .25s ease;
}
.rf-curtain.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.rf-curtain__title { font-family: var(--rf-head); font-weight: 700; font-size: clamp(1.5rem, 1rem + 2vw, 2.1rem); color: var(--rf-sun); margin: 0; }
.rf-curtain__text { color: var(--rf-foam); max-width: 32ch; margin: 0 0 14px; }

.rf-ticker { min-height: 1.6em; margin: 12px 8px 8px; text-align: center; font-family: var(--rf-head); font-weight: 600; color: var(--rf-foam); }

.rf-pads { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr 1fr; gap: 8px; margin: 0 4px 2px; }
.rf-pad {
  appearance: none; border: 0; cursor: pointer; min-height: 50px; border-radius: 18px;
  font-family: var(--rf-head); font-weight: 600; font-size: 1rem; color: var(--rf-ink);
  background: var(--rf-foam);
  box-shadow: 0 5px 0 rgba(2, 18, 30, 0.35);
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.rf-pad:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(2, 18, 30, 0.35); }
.rf-pad--fire { background: var(--rf-coral); color: #fff; }
.rf-pad--small { font-size: .84rem; background: var(--rf-lagoon); }

/* ---------- lagoon notes ---------- */
.rf-notes { padding: 22px 0 60px; }
.rf-notes__title { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); color: var(--rf-sun); }
.rf-notes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.rf-card {
  position: relative; padding: 28px 26px 22px;
  border-radius: var(--rf-round);
  background: linear-gradient(170deg, rgba(17, 138, 178, 0.32), rgba(11, 53, 80, 0.92));
  box-shadow: var(--rf-lift);
}
.rf-card h2, .rf-card h3 { font-size: 1.32rem; color: var(--rf-sun); }
.rf-card p:last-child { margin-bottom: 0; }
.rf-card--sun { background: linear-gradient(170deg, rgba(255, 209, 102, 0.22), rgba(11, 53, 80, 0.94)); }
.rf-card--lagoon { background: linear-gradient(170deg, rgba(6, 214, 160, 0.22), rgba(11, 53, 80, 0.94)); }
.rf-card--coral { background: linear-gradient(170deg, rgba(239, 71, 111, 0.24), rgba(11, 53, 80, 0.94)); }
.rf-card--sun::before, .rf-card--lagoon::before, .rf-card--coral::before {
  content: ""; position: absolute; top: 18px; right: 20px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, rgba(230, 251, 255, 0.2) 70%);
  box-shadow: -14px 16px 0 -5px rgba(230, 251, 255, 0.45);
}

.rf-inboxes { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 0; }
.rf-inboxes dt { font-family: var(--rf-head); font-weight: 600; color: var(--rf-muted); font-size: .92rem; }
.rf-inboxes dd { margin: 0; min-width: 0; }
.rf-mail { overflow-wrap: anywhere; font-weight: 700; }

/* ---------- footer ---------- */
.rf-foot { margin-top: 30px; background: #041a29; }
.rf-foot__reef { width: 100%; height: auto; max-height: 80px; object-fit: cover; object-position: left bottom; margin-top: -54px; position: relative; }
.rf-foot__inner {
  max-width: 1220px; margin: 0 auto; padding: 26px var(--rf-side) 10px;
  display: grid; grid-template-columns: 1.1fr .7fr 1.7fr; gap: 30px;
}
.rf-foot__logo { display: flex; align-items: center; gap: 10px; font-family: var(--rf-head); font-weight: 700; font-size: 1.5rem; color: var(--rf-sun); margin-bottom: .4em; }
.rf-foot__logo img { width: 40px; height: 40px; }
.rf-foot__tag { color: var(--rf-muted); font-size: .95rem; }
.rf-age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; margin: 4px 0 0; border-radius: 50%;
  font-family: var(--rf-head); font-weight: 700; font-size: 1.2rem; color: var(--rf-ink);
  background: radial-gradient(circle at 38% 32%, #fff, var(--rf-sun) 70%);
  box-shadow: 0 0 0 5px var(--rf-coral);
}
.rf-foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rf-foot__link { color: var(--rf-foam); font-family: var(--rf-head); font-weight: 500; }
.rf-foot__link:hover, .rf-foot__link[aria-current="page"] { color: var(--rf-lagoon); }
.rf-foot__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; color: var(--rf-muted); }
.rf-foot__notes li { position: relative; padding: 10px 14px 10px 40px; border-radius: var(--rf-round-sm); background: rgba(17, 138, 178, 0.12); }
.rf-foot__notes li::before {
  content: ""; position: absolute; left: 14px; top: 1.05em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--rf-coral); box-shadow: 0 0 0 4px rgba(239, 71, 111, 0.25);
}
.rf-foot__base {
  max-width: 1220px; margin: 0 auto; padding: 16px var(--rf-side) 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: .9rem; color: var(--rf-muted);
}
.rf-foot__base p { margin: 0; }

/* ---------- inner pages ---------- */
.rf-main--doc { padding-top: 38px; padding-bottom: 64px; }
.rf-doc-head { max-width: 800px; margin-bottom: 30px; }
.rf-doc-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); font-weight: 700; color: var(--rf-sun); }
.rf-doc-head__lead { font-size: 1.15rem; }
.rf-stamp {
  display: inline-block; font-family: var(--rf-head); font-weight: 600; font-size: .86rem;
  color: var(--rf-ink); background: var(--rf-foam); padding: 4px 14px; border-radius: 999px;
}

.rf-about { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 38px; align-items: start; }
.rf-about__figure { margin: 0; position: sticky; top: 100px; }
.rf-about__figure img { width: 100%; filter: drop-shadow(0 16px 24px rgba(2, 18, 30, 0.55)); }
.rf-about__figure figcaption { text-align: center; color: var(--rf-muted); font-style: italic; margin-top: 12px; font-size: .95rem; }
.rf-about__body { display: grid; gap: 20px; }

.rf-inbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rf-inbox:nth-child(3n+1) { background: linear-gradient(170deg, rgba(255, 209, 102, 0.2), rgba(11, 53, 80, 0.94)); }
.rf-inbox:nth-child(3n+2) { background: linear-gradient(170deg, rgba(6, 214, 160, 0.2), rgba(11, 53, 80, 0.94)); }
.rf-inbox:nth-child(3n) { background: linear-gradient(170deg, rgba(239, 71, 111, 0.22), rgba(11, 53, 80, 0.94)); }
.rf-inbox__co { font-family: var(--rf-head); font-weight: 600; color: var(--rf-foam); letter-spacing: .05em; }
.rf-note {
  margin-top: 28px; max-width: 800px; padding: 16px 20px;
  border-radius: var(--rf-round-sm); background: rgba(255, 209, 102, 0.12); color: var(--rf-text);
}

.rf-card--legal { max-width: 880px; padding: 34px clamp(20px, 4vw, 46px); display: grid; gap: 14px; }
.rf-clause { padding: 18px 20px 16px; border-radius: var(--rf-round-sm); background: rgba(6, 38, 58, 0.55); }
.rf-clause:nth-child(even) { background: rgba(17, 138, 178, 0.16); }
.rf-clause h2 { font-size: 1.24rem; }
.rf-clause p:last-child { margin-bottom: 0; }

/* ---------- self-spinning wheel ---------- */
.rf-wheel { display: none; }
.rf-js.rf-wheel-open { overflow: hidden; }
.rf-js.rf-wheel-open body { overflow: hidden; }
.rf-js.rf-wheel-open .rf-wheel {
  display: flex; position: fixed; inset: 0; z-index: 200;
  align-items: center; justify-content: center; padding: 12px 16px; overflow-y: auto;
  background:
    radial-gradient(circle at 50% 40%, rgba(6, 214, 160, 0.3), transparent 60%),
    linear-gradient(180deg, rgba(17, 138, 178, 0.96), rgba(6, 38, 58, 0.99));
  transition: opacity .4s ease;
}
.rf-wheel.is-leaving { opacity: 0 !important; }
.rf-lang--wheel { position: absolute; top: 12px; right: 12px; z-index: 2; }
.rf-wheel__panel { width: min(560px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; margin: auto 0; }
.rf-wheel__panel:focus { outline: none; }
.rf-wheel__kicker { margin-top: 30px; }
.rf-wheel__title { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.7rem); font-weight: 700; color: var(--rf-sun); margin: 0 0 .2em; text-shadow: 0 3px 0 rgba(2, 18, 30, 0.45); }
.rf-wheel__sub { margin: 0 0 10px; max-width: 44ch; font-size: .98rem; }
.rf-wheel__disc { width: min(80vw, 44vh, 420px); aspect-ratio: 1; }
.rf-wheel__canvas { width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 26px rgba(2, 18, 30, 0.55)); }
.rf-wheel__readout { min-height: 3.4em; margin: 8px 0; display: flex; align-items: center; justify-content: center; }
.rf-wheel__status { margin: 0; font-family: var(--rf-head); font-weight: 600; color: var(--rf-foam); }
.rf-wheel__result {
  margin: 0; line-height: 1.35; padding: 8px 18px; border-radius: var(--rf-round-sm);
  background: linear-gradient(135deg, #fff6e0, #ffe2ea); color: var(--rf-ink);
  box-shadow: var(--rf-lift);
  animation: rf-pop .45s ease-out 1;
}
.rf-wheel__result strong { font-family: var(--rf-head); font-size: 1.18rem; color: var(--rf-coral); display: inline-block; }
.rf-wheel__result span:last-child { display: block; font-size: .9rem; color: #2e4c5e; }
.rf-wheel__go { margin-top: 4px; }
@keyframes rf-pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

[hidden] { display: none !important; }

@media (max-height: 700px) {
  .rf-wheel__kicker { display: none; }
  .rf-wheel__title { margin-top: 36px; font-size: 1.5rem; }
  .rf-wheel__sub { font-size: .88rem; line-height: 1.35; margin-bottom: 6px; }
  .rf-wheel__disc { width: min(78vw, 40vh, 420px); }
  .rf-wheel__readout { min-height: 2.8em; margin: 6px 0; }
  .rf-wheel__go { min-height: 44px; padding: .6em 1.4em; }
}

/* ---------- responsive ---------- */
@media (min-width: 1101px) {
  .rf-stage { grid-template-columns: minmax(0, 1fr) minmax(0, min(520px, calc((100vh - 300px) * 0.8 + 40px))); }
  .rf-stage__intro { position: sticky; top: 110px; }
}
@media (max-width: 1100px) {
  .rf-stage { grid-template-columns: minmax(0, 1fr); padding-top: 18px; gap: 16px; }
  .rf-stage__intro { padding-top: 0; }
  .rf-dome { max-width: 560px; width: 100%; margin: 0 auto; }
  .rf-notes__grid { grid-template-columns: minmax(0, 1fr); }
  .rf-inbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-foot__inner { grid-template-columns: 1fr 1fr; }
  .rf-foot__notes { grid-column: 1 / -1; }
  .rf-menu-btn { display: inline-flex; }
  .rf-nav { order: 4; width: 100%; display: none; }
  .rf-nav.is-open { display: block; }
  .rf-nav__list { flex-direction: column; gap: 4px; padding: 6px 0 4px; }
  .rf-nav__link { display: block; padding: 10px 16px; background: rgba(17, 138, 178, 0.18); border-radius: var(--rf-round-sm); }
}
@media (max-width: 720px) {
  .rf-top { position: static; }
  .rf-logo__mark { width: 40px; height: 40px; }
  .rf-logo__name { font-size: 1.32rem; }
  .rf-logo__sub { display: none; }
  .rf-lang__select { padding: 6px 26px 6px 30px; min-height: 38px; font-size: .86rem; }
  .rf-lang__globe { left: 9px; font-size: .85rem; }
  .rf-about { grid-template-columns: minmax(0, 1fr); }
  .rf-about__figure { position: static; max-width: 290px; margin: 0 auto; }
  .rf-inbox-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .rf-stage { padding-top: 10px; gap: 10px; }
  .rf-stage__intro .rf-kicker, .rf-stage__lead, .rf-keys { display: none; }
  .rf-stage__title { margin-bottom: .3em; }
  .rf-charm { margin: 0; padding: 6px 14px 6px 6px; gap: 10px; }
  .rf-charm__badge { width: 40px; height: 40px; }
  .rf-charm__name { font-size: 1.02rem; }
  .rf-charm__desc { font-size: .82rem; }
  .rf-dome { padding: 9px; border-radius: 24px; }
  .rf-dome__hud { margin: 2px 2px 8px; gap: 5px; }
  .rf-dial__value { font-size: 1.05rem; }
  .rf-dial__label { font-size: .6rem; letter-spacing: .03em; }
  .rf-dome__glass { margin: 0 2px; border-radius: 18px; }
  .rf-ticker { margin: 8px 4px 6px; font-size: .88rem; }
  .rf-pads { gap: 5px; margin: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rf-pad { grid-column: span 2; }
  .rf-pad--small { grid-column: span 3; min-height: 40px; }
  .rf-foot__inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .rf-card { padding: 22px 18px 18px; }
  .rf-inboxes { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rf-inboxes dd { margin-bottom: 8px; }
}
@media (max-width: 420px) {
  .rf-top__bar { gap: 8px; }
  .rf-card h2, .rf-card h3 { font-size: 1.18rem; }
}

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