/* ══════════════════════════════════════════════════════════════════
   Queendom Farm — the character (ch-).

   A game's character screen in the Slate palette: the farmer standing on
   a drawn dusk, a gold gem for the level, four ringed dials for the
   skills, and a shelf of wax seals. Every class is `ch-`; 🪤 `.seal`,
   `.card`, `.reward`, `.bar` and `.tag` already mean something in app.css.

   Motion rule as everywhere: one curve, transform and opacity only, and
   all of it off under prefers-reduced-motion (the celebration becomes a
   still card).
   ══════════════════════════════════════════════════════════════════ */

/* The character sheet wants the whole phone. Scoped with :has so the
   shared sheet element is only taller while it holds a character. */
.sheet:has(> .ch) { max-height: 95%; padding-top: 0; }
.sheet:has(> .ch) > .grab { position: absolute; left: 50%; top: 0; margin: 8px 0 0 -19px; z-index: 3;
  background: rgba(244,239,229,.35); }

.ch { padding-bottom: 6px; }
.ch-h { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 10px;
  font: 600 11px/1 "JetBrains Mono", ui-monospace, monospace; text-transform: uppercase;
  letter-spacing: .16em; color: var(--dim); }
.ch-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); align-self: center; }
.ch-h .k { order: 2; color: var(--gold); letter-spacing: .04em; }
.ch-h-sub { margin-top: 18px; color: var(--faint); }
.ch-note { margin: 4px 0; font-size: 13px; color: var(--faint); }

/* ─── the stage ───────────────────────────────────────────────── */
.ch-stage {
  position: relative; height: 256px; margin: 0 -16px; overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0; isolation: isolate;
  display: grid; place-items: end center;
}
.ch-land { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.ch-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .22; mix-blend-mode: overlay; }
.ch-stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; z-index: 2;
  background: linear-gradient(180deg, transparent, var(--bg-2)); pointer-events: none; }
.ch-hero { position: relative; z-index: 1; width: 168px; height: 168px; margin-bottom: 20px; }
.ch-hero .av-bob { animation: ch-bob 3.4s ease-in-out infinite; transform-origin: 84px 150px; }
.ch-hero .av-pet { animation: ch-bob 2.6s ease-in-out infinite .4s; transform-origin: 30px 150px; }
@keyframes ch-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

.ch-stage-lv { position: absolute; left: 16px; top: 20px; z-index: 3; display: grid; justify-items: center; gap: 2px; }
.ch-stage-lv > span { font: 600 9.5px/1 "JetBrains Mono", monospace; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); text-shadow: 0 1px 2px rgba(0,0,0,.8); }

.ch-edit {
  position: absolute; right: 12px; top: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px;
  border-radius: 99px; border: 1px solid rgba(244,239,229,.22);
  background: rgba(18,16,13,.55); color: var(--ink); font: 500 13px/1 inherit;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer;
  transition: transform var(--dur-fast) var(--ease);
}
.ch-edit:active { transform: scale(.96); }
.ch-edit-ic { width: 14px; height: 14px; color: var(--gold); }

/* ─── the level gem ───────────────────────────────────────────── */
.ch-medal { position: relative; display: inline-grid; place-items: center; width: var(--s); height: var(--s); flex: none;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.55)); }
.ch-medal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ch-medal b { position: relative; font: 600 calc(var(--s) * .36)/1 "JetBrains Mono", ui-monospace, monospace;
  color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }

/* ─── name plate ──────────────────────────────────────────────── */
.ch-plate { position: relative; z-index: 3; text-align: center; margin-top: -14px; }
.ch-name { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 38px; line-height: 1; letter-spacing: -.01em; color: var(--ink); }
.sheet .ch-name { font-size: 38px; margin: 0; }
.ch-job { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font: 600 12px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ch-job i { font-style: normal; color: var(--faint); }
.ch-you { font: 600 9.5px/1 "JetBrains Mono", monospace; letter-spacing: .1em; padding: 3px 6px; border-radius: 6px;
  color: #10210a; background: var(--life); }

/* ─── XP ──────────────────────────────────────────────────────── */
.ch-xp { margin-top: 18px; padding: 14px 14px 12px; border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: radial-gradient(90% 120% at 0% 0%, rgba(233,196,106,.10), transparent 60%), var(--panel); }
.ch-xp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; color: var(--dim); }
.ch-xp-top b { font: 600 24px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--gold); letter-spacing: -.03em; }
.ch-xp-to { font: 500 11.5px/1.2 "JetBrains Mono", monospace; color: var(--ink-2); text-align: right; }
.ch-xp-bar { position: relative; height: 12px; margin: 10px 0 7px; border-radius: 99px; overflow: hidden;
  background: #15120d; border: 1px solid var(--line-2); box-shadow: inset 0 1px 3px rgba(0,0,0,.6); }
.ch-xp-bar > i { position: absolute; inset: 0; transform-origin: 0 50%; border-radius: 99px;
  background: linear-gradient(90deg, #9c7a2c, #e9c46a 70%, #f6dc92);
  box-shadow: 0 0 12px rgba(233,196,106,.45); }
.ch-xp-ticks { position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(18,16,13,.55) calc(10% - 1px) 10%); }
.ch-xp-ends { display: flex; justify-content: space-between; font: 500 10.5px/1 "JetBrains Mono", monospace; color: var(--faint); }

/* ─── skills ──────────────────────────────────────────────────── */
.ch-skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ch-skill { display: grid; justify-items: center; gap: 3px; text-align: center; padding: 10px 2px 10px;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.ch-skill.top { border-color: color-mix(in srgb, var(--c) 45%, var(--line));
  background: radial-gradient(80% 70% at 50% 30%, color-mix(in srgb, var(--c) 16%, transparent), transparent 75%), var(--panel); }
.ch-dial { position: relative; width: 72px; height: 72px; display: grid; place-items: center; }
.ch-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.ch-ring-track { fill: rgba(0,0,0,.25); stroke: var(--line-2); stroke-width: 5; }
.ch-ring-arc { fill: none; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 4px var(--c)); }
.ch-skill-ic { width: 28px; height: 28px; color: var(--c); }
.ch-dial-lv { position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%);
  min-width: 24px; padding: 2px 5px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--c);
  font: 600 11px/1.1 "JetBrains Mono", monospace; color: var(--c); }
.ch-skill b { margin-top: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ch-skill > span { font: 500 10.5px/1 "JetBrains Mono", monospace; color: var(--faint); }
.ch-skill.none .ch-skill-ic { opacity: .45; }
.ch-skill.none .ch-dial-lv { border-color: var(--line-2); color: var(--faint); }

/* ─── stats ───────────────────────────────────────────────────── */
.ch-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.ch-stats > div { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; text-align: center; }
.ch-stats > div + div { border-left: 1px solid var(--line); }
.ch-stats b { display: inline-flex; align-items: center; gap: 3px;
  font: 600 22px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--ink); letter-spacing: -.03em; }
.ch-stats .fl b { color: var(--solar); }
.ch-stat-ic { width: 17px; height: 17px; }
.ch-stats span { font-size: 11.5px; color: var(--dim); line-height: 1.2; }

/* ─── the shelf ───────────────────────────────────────────────── */
.ch-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  padding: 12px 8px; border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, transparent calc(100% - 10px), rgba(0,0,0,.35) calc(100% - 10px)),
    linear-gradient(180deg, #2a2219, #1f1a13);
  border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(244,239,229,.05); }
.ch-shelf-empty { grid-column: 1 / -1; text-align: center; padding: 10px 6px; }
.ch-got { display: grid; justify-items: center; gap: 3px; min-height: 44px; padding: 4px 2px 8px;
  border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: center;
  transition: transform var(--dur-fast) var(--ease); }
.ch-got:active { transform: scale(.95); }
.ch-got b { margin-top: 3px; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 16px; line-height: 1.05; color: var(--parchment); }
.ch-got span { font: 500 10px/1 "JetBrains Mono", monospace; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }

.ch-seal { position: relative; display: inline-grid; place-items: center; width: var(--s); height: var(--s); flex: none;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.6)); }
.ch-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ch-press { fill: none; stroke: rgba(40,8,4,.55); stroke-width: 2.2; }
.ch-press2 { fill: rgba(122,38,24,.35); stroke: rgba(255,190,160,.28); stroke-width: 1; }
.ch-shine { fill: #fff; opacity: .2; }
.ch-seal .ch-seal-ic { position: relative; inset: auto; width: calc(var(--s) * .4); height: calc(var(--s) * .4); color: var(--parchment);
  filter: drop-shadow(0 1px 0 rgba(60,10,4,.7)); }
.ch-seal.off { filter: none; }
.ch-seal.off .ch-wax { fill: rgba(244,239,229,.03); stroke: var(--line-2); stroke-width: 1.4; stroke-dasharray: 3 3; }
.ch-seal.off .ch-press { stroke: var(--line); }
.ch-seal.off .ch-press2 { fill: none; stroke: none; }
.ch-seal.off .ch-seal-ic { color: var(--faint); opacity: .7; filter: none; }

.ch-goals { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); padding: 2px 12px; }
.ch-goal { display: flex; align-items: center; gap: 12px; padding: 10px 0; min-height: 56px; }
.ch-goal + .ch-goal { border-top: 1px solid var(--line); }
.ch-goal-t { flex: 1; min-width: 0; }
.ch-goal-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ch-goal-t b { display: block; min-width: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ch-goal-t span { display: block; font-size: 12px; color: var(--faint); line-height: 1.35; }
.ch-goal-bar { height: 4px; margin-top: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ch-goal-bar i { display: block; height: 100%; transform-origin: 0 50%; background: linear-gradient(90deg, #7a2618, #c1543f); }
.ch-goal em { flex: none; font: 600 10.5px/1.2 "JetBrains Mono", monospace; font-style: normal; color: var(--dim); }

.ch-actions { display: flex; margin-top: 18px; }
.ch-actions .btn { flex: 1; justify-content: center; min-height: 46px; }
.ch-loading .ch-skills, .ch-loading .ch-stats { opacity: .6; }

/* ─── the HUD chip ────────────────────────────────────────────── */
.ch-hud { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 7px; row-gap: 4px;
  min-height: 44px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--panel); color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
.ch-hud-lv { font: 600 12px/1 "JetBrains Mono", monospace; color: var(--gold); }
.ch-hud-job { font-size: 13px; font-weight: 600; }
.ch-hud-job::before { content: "·"; margin-right: 7px; color: var(--faint); font-weight: 400; }
.ch-hud-bar { grid-column: 1 / -1; display: block; height: 3px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ch-hud-bar i { display: block; height: 100%; transform-origin: 0 50%; background: var(--gold); }

/* ─── the crew card ───────────────────────────────────────────── */
.ch-card { position: relative; overflow: hidden; margin: 4px 0 14px; border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(110% 90% at 100% 0%, rgba(233,196,106,.14), transparent 60%),
    radial-gradient(80% 90% at 0% 100%, rgba(134,185,111,.10), transparent 60%),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(244,239,229,.05); }
.ch-card::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .18;
  mix-blend-mode: overlay; pointer-events: none; }
.ch-card-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px 14px 12px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ch-card-in:active { transform: scale(.99); }
.ch-card-av { position: relative; flex: none; width: 64px; height: 64px; }
.ch-card-av .av-svg { width: 64px; height: 64px; }
.ch-medal-card { position: absolute; right: -8px; bottom: -8px; }
.ch-card-t { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ch-card-t small { font: 600 10px/1 "JetBrains Mono", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ch-card-t b { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 25px; line-height: 1.05; color: var(--ink); }
.ch-card-bar { display: block; height: 6px; margin-top: 3px; border-radius: 99px; background: #15120d; border: 1px solid var(--line); overflow: hidden; }
.ch-card-bar i { display: block; height: 100%; transform-origin: 0 50%; background: linear-gradient(90deg, #9c7a2c, #e9c46a); }
.ch-card-sub { font: 500 11px/1.2 "JetBrains Mono", monospace; color: var(--dim); }
.ch-card-go { flex: none; font-size: 28px; line-height: 1; color: var(--faint); }
.ch-card-sk { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 14px 14px; }
.ch-card-sk span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px;
  border-radius: 99px; border: 1px solid color-mix(in srgb, var(--c) 35%, var(--line)); background: rgba(0,0,0,.18); }
.ch-card-sk span.none { border-color: var(--line); opacity: .55; }
.ch-mini-ic { width: 16px; height: 16px; color: var(--c); }
.ch-card-sk b { font: 600 12px/1 "JetBrains Mono", monospace; color: var(--c); }

/* ─── crew rows ───────────────────────────────────────────────── */
[data-view="crew"] .hand.ch-row { cursor: pointer; min-height: 54px; }
[data-view="crew"] .hand.ch-row:active { background: rgba(244,239,229,.03); }
[data-view="crew"] .hand.ch-row .av { position: relative; overflow: visible; }
.ch-lvb { position: absolute; right: -6px; bottom: -5px; min-width: 17px; height: 17px; padding: 0 3px;
  display: grid; place-items: center; border-radius: 6px; transform: rotate(0deg);
  background: #1d1810; border: 1px solid var(--gold); color: var(--gold);
  font: 600 10px/1 "JetBrains Mono", monospace; font-style: normal; box-shadow: 0 1px 3px rgba(0,0,0,.6); }

/* ══════════════════════════════════════════════════════════════════
   the moment
   ══════════════════════════════════════════════════════════════════ */
.ch-cele { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px;
  /* Nearly opaque rather than blurred: a backdrop blur over the whole app
     is the most expensive thing a mid-range Android can be asked to paint. */
  background: radial-gradient(70% 55% at 50% 42%, #3a2610, #0a0806 70%);
  opacity: 0; transition: opacity var(--dur) var(--ease); cursor: pointer; overflow: hidden; }
.ch-cele.on { opacity: 1; }
.ch-cele.off { opacity: 0; }

.ch-rays { position: absolute; left: 50%; top: 42%; width: 190vmax; height: 190vmax; margin: -95vmax 0 0 -95vmax;
  background: repeating-conic-gradient(from 0deg, rgba(233,196,106,.16) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(closest-side, #000 8%, transparent 62%);
          mask: radial-gradient(closest-side, #000 8%, transparent 62%);
  opacity: 0; transform: scale(.6); }
.ch-cele.on .ch-rays { opacity: 1; transform: scale(1); transition: opacity .6s var(--ease) .45s, transform 1s var(--ease) .45s;
  animation: ch-spin 40s linear infinite; }
@keyframes ch-spin { to { rotate: 360deg; } }

.ch-cele-card { position: relative; width: 100%; max-width: 340px; text-align: center; display: grid; justify-items: center; }
.ch-cele-eyebrow { font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); opacity: 0; transform: translateY(-6px); }
.ch-cele.on .ch-cele-eyebrow { opacity: 1; transform: none; transition: opacity .4s var(--ease) .1s, transform .4s var(--ease) .1s; }

.ch-drop { position: relative; display: grid; place-items: center; width: 190px; height: 190px; margin: 14px 0 6px; }
.ch-drop > .ch-seal, .ch-drop > .ch-medal { position: relative; z-index: 2; filter: drop-shadow(0 12px 22px rgba(0,0,0,.7)); }
.ch-cele.on .ch-drop > .ch-seal, .ch-cele.on .ch-drop > .ch-medal { animation: ch-stamp .62s cubic-bezier(.5,0,.75,0) both, ch-settle .5s var(--spring) .62s both; }
@keyframes ch-stamp {
  0%   { transform: translate3d(0,-70vh,0) scale(1.9) rotate(-24deg); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translate3d(0,0,0) scale(1.08) rotate(3deg); opacity: 1; }
}
@keyframes ch-settle {
  0%   { transform: scale(1.08) rotate(3deg); }
  35%  { transform: scale(.92, .96) rotate(-1deg); }
  100% { transform: none; }
}
.ch-medal-big b { color: #f6dc92; text-shadow: 0 0 18px rgba(233,196,106,.6); }

.ch-shock { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; z-index: 1;
  border-radius: 50%; border: 3px solid rgba(246,220,146,.8); opacity: 0; }
.ch-cele.on .ch-shock { animation: ch-shock .7s var(--ease) .6s forwards; }
@keyframes ch-shock { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(2.1); } }

.ch-sparks { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 1; }
.ch-sparks i { position: absolute; left: 0; top: 0; width: var(--w); height: var(--w); margin: calc(var(--w) / -2);
  border-radius: 50%; background: #f6dc92; box-shadow: 0 0 8px #e9c46a; opacity: 0; }
.ch-cele.on .ch-sparks i { animation: ch-spark .9s var(--ease) calc(.6s + var(--t)) forwards; }
@keyframes ch-spark {
  0%   { opacity: 1; transform: rotate(var(--a)) translateX(40px) scale(1); }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(calc(40px + var(--d))) scale(.3); }
}

.ch-cele-title { margin: 8px 0 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 46px; line-height: 1; letter-spacing: -.01em; color: var(--parchment);
  text-shadow: 0 2px 20px rgba(233,196,106,.25); opacity: 0; transform: translateY(10px); }
.ch-cele-line { margin: 10px 0 0; max-width: 290px; font-size: 15px; line-height: 1.45; color: var(--ink-2); opacity: 0; transform: translateY(8px); }
.ch-cele-sub { margin: 6px 0 0; font: 500 12px/1.3 "JetBrains Mono", monospace; color: var(--gold); opacity: 0; }
.ch-cele.on .ch-cele-title { opacity: 1; transform: none; transition: opacity .5s var(--ease) .78s, transform .5s var(--ease) .78s; }
.ch-cele.on .ch-cele-line  { opacity: 1; transform: none; transition: opacity .5s var(--ease) .92s, transform .5s var(--ease) .92s; }
.ch-cele.on .ch-cele-sub   { opacity: 1; transition: opacity .5s var(--ease) 1.02s; }

.ch-cele-go { margin-top: 30px; min-height: 44px; padding: 0 22px; border-radius: 99px;
  border: 1px solid rgba(233,196,106,.35); background: rgba(233,196,106,.08); color: var(--parchment);
  font: 500 13px/1 inherit; letter-spacing: .02em; cursor: pointer; opacity: 0; }
.ch-cele-go i { font-style: normal; color: var(--gold); margin-left: 6px; font-family: "JetBrains Mono", monospace; font-size: 11px; }
.ch-cele.on .ch-cele-go { opacity: 1; transition: opacity .5s var(--ease) 1.25s; }
.ch-cele-go:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Still card: everything where it lands, nothing moving. */
.ch-cele.still .ch-rays { opacity: 1; transform: none; }
.ch-cele.still .ch-rays, .ch-cele.still .ch-drop > *, .ch-cele.still .ch-sparks i, .ch-cele.still .ch-shock { animation: none !important; }
.ch-cele.still .ch-sparks, .ch-cele.still .ch-shock { display: none; }
.ch-cele.still .ch-cele-eyebrow, .ch-cele.still .ch-cele-title, .ch-cele.still .ch-cele-line,
.ch-cele.still .ch-cele-sub, .ch-cele.still .ch-cele-go { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  .ch-hero .av-bob, .ch-hero .av-pet, .ch-rays { animation: none !important; }
  .ch-cele, .ch-cele * { transition: none !important; }
}
@media (max-width: 360px) {
  .ch-skills { gap: 4px; }
  .ch-dial { width: 60px; height: 60px; }
  .ch-dial .ch-ring { width: 60px; height: 60px; }
  .ch-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
