/* Company Stories — RING EDITION (loaded last)
   White ground, polished gold, and a gold ring that advances stage by stage. Game logic is unchanged. */
:root {
  --r-ink: #262117; --r-ink-2: #3f382c; --r-muted: #6b6152; --r-paper: #fffdf8; --r-ivory: #faf5ea;
  --r-gold: #b8893a; --r-gold-text: #7a5a22; --r-gold-deep: #6e4f17;
  --r-foil: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 50%), linear-gradient(105deg, #b8893a 0%, #e6c784 16%, #fff6d8 28%, #d6ae5c 42%, #b8893a 56%, #ecd28f 72%, #fffaea 82%, #c9a24e 100%);
  --r-foil-text: linear-gradient(105deg, #6e4f17 0%, #a8823f 16%, #d9b45a 28%, #8a6420 42%, #b8893a 62%, #e0bd72 72%, #7a5718 92%);
  --r-hair: linear-gradient(90deg, transparent, #c9a24e 20%, #f0dca8 50%, #c9a24e 80%, transparent);
  --r-line: rgba(184, 137, 58, .38);
  --r-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- ground ---------- */
html:not(#_) body { background: radial-gradient(ellipse 70% 40% at 80% 0%, rgba(243, 227, 184, .45), transparent 70%), radial-gradient(ellipse 60% 40% at 0% 100%, rgba(249, 241, 222, .9), transparent 70%), var(--r-paper) !important; background-attachment: fixed !important; color: var(--r-ink) !important; }
/* text that used to sit on the dark ground becomes ink */
html:not(#_) body :is(header, footer, .edition-hero, .edition-intro, .edition-how, .edition-guide, .presence-preview, .discovery-shelf, .birth, .result) :is(h1, h2, h3, h4, p, li, span, small, div, summary, blockquote, label, em, b, strong, a, legend, figcaption) { color: var(--r-ink); }
html:not(#_) body :is(.edition-hero .lead, .edition-intro p, .edition-how p, .edition-guide li, .presence-preview p, .presence-preview blockquote, .discovery-shelf p, .birth .intro, .birth .small, .result p) { color: var(--r-ink-2); }
html:not(#_) body :is(.eyebrow, .presence-eyebrow, .edition-how small, .discovery-title > span, .edition-intro > span, .birth .place, .type-label, .edition-code, .result .place, .season, .kicker) { color: var(--r-gold-text) !important; letter-spacing: .16em; }
html:not(#_) body :is(.edition-hero h1 em, .result h1 em, .birth h1 em) { background: var(--r-foil-text); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; font-style: normal; animation: r-foil 6s ease-in-out infinite; }
@keyframes r-foil { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- header & footer ---------- */
html:not(#_) body > header { position: sticky; top: 0; z-index: 40; background: rgba(255, 253, 248, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 0; box-shadow: 0 10px 30px -26px rgba(138, 100, 32, .6); }
html:not(#_) body > header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #b8893a, #f3dc9c 20%, #fff6d8 32%, #c9a24e 50%, #f3dc9c 70%, #b8893a); }
html:not(#_) body > header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--r-hair); }
html:not(#_) body > header .logo div { color: var(--r-ink); }
html:not(#_) body > header .logo span { color: var(--r-gold-text); }
html:not(#_) #language { min-height: 44px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid transparent; background: linear-gradient(#fff, #fffaf0) padding-box, linear-gradient(120deg, #b8893a, #f3dc9c 40%, #c9a24e 70%, #9b7228) border-box; color: var(--r-ink); box-shadow: inset 0 1px 0 #fff, 0 8px 18px -12px rgba(138, 100, 32, .6); }
html:not(#_) body > footer { background: linear-gradient(180deg, transparent, var(--r-ivory)); color: var(--r-muted); border-top: 0; position: relative; }
html:not(#_) body > footer::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: var(--r-hair); }

/* ---------- buttons: gold, dimensional, with a passing light ---------- */
html:not(#_) body :is(.primary, .r-cta) { position: relative; overflow: hidden; isolation: isolate; background: var(--r-foil) !important; background-size: 100% 100%, 200% 100% !important; color: #241c10 !important; border: 1px solid #a8823f !important; border-radius: 999px !important; min-height: 54px; font-weight: 700; letter-spacing: .06em; box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(122, 87, 24, .3), 0 14px 30px -16px rgba(138, 100, 32, .8) !important; transition: transform .2s var(--r-ease), box-shadow .2s, background-position .6s var(--r-ease) !important; }
html:not(#_) body :is(.primary, .r-cta)::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 36%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .9), transparent); transform: skewX(-20deg); animation: r-sweep 4s 1s ease-in-out infinite; pointer-events: none; }
@keyframes r-sweep { 0% { left: -60%; } 32%, 100% { left: 130%; } }
html:not(#_) body :is(.primary, .r-cta):hover { background-position: 0 0, 100% 0 !important; transform: translateY(-2px); }
html:not(#_) body :is(.primary, .r-cta):active { transform: translateY(1px) scale(.99); }
html:not(#_) body :is(.secondary, .text-button.r-ghost) { background: linear-gradient(#fff, #fffaf0) padding-box, linear-gradient(120deg, #b8893a, #f3dc9c 40%, #c9a24e 70%, #9b7228) border-box !important; border: 1px solid transparent !important; color: var(--r-ink) !important; border-radius: 999px !important; min-height: 48px; box-shadow: inset 0 1px 0 #fff, 0 10px 22px -16px rgba(138, 100, 32, .7) !important; }
html:not(#_) body .secondary:hover { background: linear-gradient(#fffaf0, #fff3dc) padding-box, linear-gradient(120deg, #9b7228, #e6c784, #b8893a) border-box !important; }
html:not(#_) body .text-button { color: var(--r-gold-text) !important; min-height: 44px; }
html:not(#_) body :is(a, button, select, input, summary):focus-visible { outline: 3px solid #a8823f !important; outline-offset: 3px; }

/* ---------- home ---------- */
html:not(#_) .edition-hero { background: none !important; }
html:not(#_) .edition-cover { position: relative; border-radius: 50% !important; aspect-ratio: 1; overflow: visible !important; background: none !important; box-shadow: none !important; }
html:not(#_) .edition-cover img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 1px rgba(184, 137, 58, .7), 0 0 0 9px #fff, 0 0 0 10px rgba(201, 162, 78, .45), 0 40px 80px -40px rgba(138, 100, 32, .6); }
html:not(#_) .edition-cover::before, html:not(#_) .edition-cover::after { content: ""; position: absolute; inset: -7%; border-radius: 50%; border: 1.5px solid transparent; background: conic-gradient(from 0deg, #b8893a, #fff6d8 15%, #c9a24e 30%, transparent 45%, #e6c784 70%, #b8893a) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: r-spin 30s linear infinite; pointer-events: none; }
html:not(#_) .edition-cover::after { inset: -14%; opacity: .55; animation-duration: 48s; animation-direction: reverse; }
@keyframes r-spin { to { transform: rotate(360deg); } }
html:not(#_) .edition-cover figcaption, html:not(#_) .edition-cover .edition-code { color: var(--r-ink); }
html:not(#_) .edition-how article { border-color: var(--r-line) !important; background: rgba(255, 255, 255, .7) !important; }
html:not(#_) :is(.presence-preview, .discovery-shelf, .edition-guide) { background: #fff !important; border: 1px solid var(--r-line) !important; border-radius: 26px !important; box-shadow: 0 30px 60px -44px rgba(138, 100, 32, .5) !important; }
html:not(#_) :is(.presence-samples details, .discovery-teasers article) { background: var(--r-paper) !important; border-color: var(--r-line) !important; }

/* ---------- cards: white with gold hairlines ---------- */
html:not(#_) :is(.shop-panel, .chapter, .rpg-panel, .birth-art, .result-shop, .share-box, .people-memoir, .album, .presence-book, .episode-panel, .edition-recap) { background: linear-gradient(165deg, #fff 60%, #fdf7ea) !important; border: 1px solid var(--r-line) !important; border-radius: 26px !important; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px rgba(201, 162, 78, .22), 0 30px 60px -44px rgba(138, 100, 32, .55) !important; color: var(--r-ink); }
html:not(#_) .birth input { border: 1px solid var(--r-line); border-radius: 14px; min-height: 50px; background: #fff; color: var(--r-ink); }
html:not(#_) .rpg-roles label { border-radius: 16px !important; border: 1px solid var(--r-line) !important; background: #fff !important; min-height: 56px; }
html:not(#_) .rpg-roles label:has(input:checked) { background: linear-gradient(#fffaf0, #fff3dc) !important; border-color: #b8893a !important; box-shadow: 0 0 0 2px rgba(201, 162, 78, .35); }

/* ---------- scene: the choice is the hero ---------- */
html:not(#_) .chapter .progress { height: 4px; border-radius: 4px; background: rgba(201, 162, 78, .2); overflow: hidden; }
html:not(#_) .chapter .progress i { background: var(--r-foil) !important; }
html:not(#_) .company-cinema { border-radius: 20px !important; border-color: var(--r-line) !important; }
html:not(#_) .chapter h2 { color: var(--r-ink); }
html:not(#_) .choices { gap: 12px !important; }
html:not(#_) .choice { position: relative; overflow: hidden; border-radius: 18px !important; border: 1px solid transparent !important; background: linear-gradient(#fff, #fffcf4) padding-box, linear-gradient(120deg, rgba(184, 137, 58, .55), rgba(243, 220, 156, .9), rgba(184, 137, 58, .55)) border-box !important; color: var(--r-ink) !important; min-height: 64px; box-shadow: 0 12px 26px -20px rgba(138, 100, 32, .7) !important; transition: transform .2s var(--r-ease), box-shadow .2s !important; }
html:not(#_) .choice b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--r-foil); color: #241c10 !important; font-size: 13px; box-shadow: inset 0 1px 0 #fff, 0 0 0 3px #fff, 0 0 0 4px rgba(201, 162, 78, .45); }
html:not(#_) .choice i { color: var(--r-gold-text) !important; }
html:not(#_) .choice:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 18px 30px -18px rgba(138, 100, 32, .8) !important; }
html:not(#_) .choice.chosen { background: linear-gradient(#fffaf0, #fff1d6) padding-box, linear-gradient(120deg, #9b7228, #f3dc9c, #b8893a) border-box !important; box-shadow: 0 0 0 3px rgba(201, 162, 78, .3), 0 16px 30px -18px rgba(138, 100, 32, .8) !important; }
html:not(#_) .choice:disabled:not(.chosen) { opacity: .55; }
html:not(#_) .choice small { color: var(--r-gold-text) !important; }
html:not(#_) .reply { border-radius: 22px !important; border: 1px solid #c9a24e !important; background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(243, 227, 184, .5), transparent 70%), #fff !important; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px rgba(201, 162, 78, .3), 0 24px 50px -30px rgba(138, 100, 32, .6) !important; color: var(--r-ink) !important; }
html:not(#_) .reply * { color: inherit; }
html:not(#_) .reply .primary { width: 100%; }
html:not(#_) .stats > div { border-color: var(--r-line) !important; background: #fff !important; border-radius: 14px !important; }
html:not(#_) .meter { background: rgba(201, 162, 78, .2) !important; }
html:not(#_) .meter i, html:not(#_) .rpg-xp i { background: var(--r-foil) !important; }
html:not(#_) .presence-act-line { background: var(--r-hair) !important; }

/* ---------- the stage ring HUD ---------- */
.ring-hud { display: none; align-items: center; gap: 12px; padding: 8px 16px 10px; border-top: 1px solid rgba(201, 162, 78, .2); }
.ring-hud.on { display: flex; }
.ring-hud .rh-ring { position: relative; width: 52px; height: 52px; flex: none; }
.ring-hud .rh-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-hud .seg { fill: none; stroke: rgba(201, 162, 78, .22); stroke-width: 5; stroke-linecap: round; transition: stroke .5s; }
.ring-hud .seg.done { stroke: url(#rh-gold); }
.ring-hud .seg.now { stroke: #e6c784; animation: rh-pulse 1.6s ease-in-out infinite; }
@keyframes rh-pulse { 50% { stroke: #b8893a; } }
.ring-hud .rh-num { position: absolute; inset: 0; display: grid; place-items: center; font: 700 13px/1 Georgia, serif; color: var(--r-gold-deep); letter-spacing: .02em; }
.ring-hud .rh-text { min-width: 0; display: grid; gap: 2px; }
.ring-hud .rh-label { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--r-gold-text); }
.ring-hud .rh-name { font-size: 14px; font-weight: 600; color: var(--r-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ring-hud .rh-stats { margin-left: auto; display: flex; gap: 6px; }
.ring-hud .rh-stat { display: grid; justify-items: center; min-width: 54px; padding: 4px 8px; border-radius: 12px; background: #fff; border: 1px solid var(--r-line); }
.ring-hud .rh-stat small { font-size: 9.5px; color: var(--r-muted); white-space: nowrap; max-width: 76px; overflow: hidden; text-overflow: ellipsis; }
.ring-hud .rh-stat b { font: 700 14px/1.2 Georgia, serif; color: var(--r-ink); }
.ring-hud .rh-stat.up b { color: #3d6131; } .ring-hud .rh-stat.down b { color: #8a4a23; }

/* stage transition: a gold ring sweeps the card when a new chapter starts */
.r-stage-in .chapter { animation: r-stage .65s var(--r-ease); }
@keyframes r-stage { from { opacity: .3; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.r-burst { position: fixed; z-index: 90; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid #d6ae5c; box-shadow: 0 0 18px rgba(232, 196, 120, .9); pointer-events: none; animation: r-burst .7s var(--r-ease) forwards; }
@keyframes r-burst { to { transform: scale(5); opacity: 0; } }
.r-clear { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; pointer-events: none; }
.r-clear span { width: 180px; height: 180px; border-radius: 50%; border: 2px solid #d6ae5c; box-shadow: 0 0 0 10px rgba(255, 255, 255, .8), 0 0 0 11px rgba(201, 162, 78, .4), 0 0 60px rgba(232, 196, 120, .7); animation: r-clear .9s var(--r-ease) forwards; }
@keyframes r-clear { from { transform: scale(.3) rotate(-90deg); opacity: 0; } 40% { opacity: 1; } to { transform: scale(1.6) rotate(0); opacity: 0; } }

/* ---------- result ---------- */
.result { display: flex; flex-direction: column; }
.result > * { order: 20; }
.result > .eyebrow { order: 0; } .result > h1 { order: 1; } .result > .result-shop { order: 2; }
.result > .share-box { order: 3; margin-top: 24px; } .result > .again { order: 4; margin: 20px 0 18px; }
.result > .presence-book { order: 5; } .result > .people-memoir { order: 6; } .result > .album { order: 7; }
.result > .rpg-panel { order: 8; } .result > .episode-panel { order: 9; } .result > .edition-recap { order: 10; }
html:not(#_) .share a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border-radius: 999px; background: var(--r-foil); color: #241c10 !important; font-weight: 700; text-decoration: none; border: 1px solid #a8823f; }

/* ---------- smartphones: the choice first, details after ---------- */
@media (max-width: 850px) {
  html:not(#_) .play-layout { display: flex !important; flex-direction: column; gap: 16px; }
  html:not(#_) .play-layout > .chapter { order: 1; }
  html:not(#_) .play-layout > .shop-panel { order: 2; position: relative !important; }
  html:not(#_) .play-layout .shop-panel > svg { position: static !important; width: 120px !important; height: auto !important; margin: 8px auto 0 !important; display: block; }
  html:not(#_) .company-cinema-art { height: 150px !important; }
  html:not(#_) .company-cinema { min-height: 150px !important; }
  html:not(#_) .company-atmosphere { padding: 10px 14px 4px !important; }
  html:not(#_) .company-atmosphere p { font-size: 12.5px !important; line-height: 1.8 !important; margin: 2px 0 6px !important; }
  html:not(#_) .chapter h2 { font-size: 22px !important; line-height: 1.5 !important; }
  html:not(#_) .scene-body { font-size: 15px !important; line-height: 1.85 !important; }
  html:not(#_) .choice { min-height: 60px; padding: 14px 14px !important; }
  .ring-hud { padding: 6px 12px 8px; gap: 10px; }
  .ring-hud .rh-ring { width: 44px; height: 44px; }
  .ring-hud .rh-stat { min-width: 0; padding: 3px 6px; }
  .ring-hud .rh-stat small { max-width: 58px; }
}
@media (max-width: 380px) {
  .ring-hud .rh-name { display: none; }
  .ring-hud .rh-stat:nth-child(3) { display: none; }
  html:not(#_) body > header .logo span { display: none; }
}
/* lighter motion on phones; none when the visitor asks for less */
@media (max-width: 600px) { html:not(#_) .edition-cover::after { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html:not(#_) .edition-cover::before, html:not(#_) .edition-cover::after, html:not(#_) body :is(.primary, .r-cta)::after, html:not(#_) body :is(.edition-hero h1 em, .result h1 em, .birth h1 em) { animation: none !important; }
  .ring-hud .seg.now { animation: none; }
  .r-stage-in .chapter, .r-burst, .r-clear span { animation: none !important; }
  .r-burst, .r-clear { display: none; }
  html:not(#_) .choice { transition: none !important; }
}
/* the HUD takes its own row under the logo instead of widening the header */
html:not(#_) body > header { flex-wrap: wrap; }
.ring-hud { flex: 1 1 100%; width: 100%; min-width: 0; box-sizing: border-box; order: 9; margin: 8px 0 -10px; padding-left: 0; padding-right: 0; }
@media (max-width: 850px) { .ring-hud { margin: 6px 0 -8px; } }
/* header row 1: logo + language always side by side */
html:not(#_) body > header .logo { flex: 1 1 auto; min-width: 0; }
html:not(#_) body > header .logo div { min-width: 0; overflow: hidden; }
html:not(#_) body > header .logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
html:not(#_) #language { flex: none; }
.ring-hud .rh-label { white-space: nowrap; }
/* skill choice on the start screen: white and gold instead of green */
html:not(#_) .rpg-roles { background: linear-gradient(165deg, #fff 60%, #fdf7ea) !important; border: 1px solid var(--r-line) !important; border-radius: 22px !important; }
html:not(#_) .rpg-roles legend { background: var(--r-foil) !important; color: #241c10 !important; border-radius: 999px !important; padding: 6px 14px !important; box-shadow: inset 0 1px 0 #fff; }
html:not(#_) .rpg-roles label * { color: var(--r-ink) !important; }
html:not(#_) .rpg-roles label:has(input:checked) b, html:not(#_) .rpg-roles label:has(input:checked) strong { color: var(--r-ink) !important; }
html:not(#_) .rpg-roles p { color: var(--r-ink-2) !important; }
/* scene banner: a light, golden stage instead of a night scene */
html:not(#_) .company-cinema { background: #fbf6ea !important; }
html:not(#_) .company-cinema-art { background: linear-gradient(120deg, #fffdf8, #f3e8cf) !important; }
html:not(#_) .company-cinema::after { background: linear-gradient(90deg, rgba(255, 253, 248, .96), rgba(255, 253, 248, .75) 34%, rgba(255, 253, 248, 0) 68%) !important; }
html:not(#_) .company-cinema figcaption { color: var(--r-ink) !important; }
html:not(#_) .company-cinema figcaption span { color: var(--r-gold-text) !important; }
html:not(#_) .company-cinema figcaption small { color: var(--r-ink-2) !important; }
html:not(#_) .company-cinema.challenge .company-cinema-art { background: linear-gradient(120deg, #fffdf8, #ece4d4) !important; }
html:not(#_) body > header .logo { width: auto !important; max-width: calc(100% - 150px); flex: 0 1 auto; }
@media (max-width: 600px) {
  html:not(#_) body > header { padding: 12px 14px !important; row-gap: 0; }
  html:not(#_) body > header .logo { max-width: calc(100% - 128px); }
  html:not(#_) #language { padding: 0 28px 0 12px; font-size: 13px; }
}
@media (max-width: 600px) {
  html:not(#_) body > header .logo div { font-size: 15px !important; white-space: nowrap; }
  html:not(#_) body > header .logo span { display: none !important; }
  html:not(#_) #language { min-height: 40px; }
}
/* comfortable tap targets */
html:not(#_) body > header .logo { min-height: 44px; display: inline-flex; align-items: center; }
html:not(#_) details > summary { min-height: 44px; display: flex; align-items: center; }
html:not(#_) .studio-open, html:not(#_) .share-box a:not(.share a) { min-height: 44px; display: inline-flex; align-items: center; }
/* readable text on the white ground */
html:not(#_) .company-atmosphere p, html:not(#_) .company-atmosphere p + p { color: #55584c !important; }
html:not(#_) .rpg-panel :is(b, strong, span, small, p, summary, div) { color: var(--r-ink-2) !important; }
html:not(#_) .rpg-panel .rpg-level, html:not(#_) .rpg-panel .rpg-head b { color: var(--r-gold-deep) !important; }
html:not(#_) .rpg-panel summary { color: var(--r-gold-text) !important; }
html:not(#_) .presence-act span small, html:not(#_) .presence-act span { color: var(--r-muted) !important; }
html:not(#_) .presence-act .current, html:not(#_) .presence-act .current small { color: var(--r-ink) !important; }
/* load / start failure notice */
.r-alert { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100; max-width: 520px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #c9a24e; box-shadow: 0 20px 50px -20px rgba(138, 100, 32, .6); color: var(--r-ink); font-size: 14px; }
.r-alert p { margin: 0; flex: 1 1 200px; }
/* start screen: what to do next, always at the top */
.r-ready { position: sticky; top: 8px; z-index: 5; display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 10px 10px 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); border: 1px solid #c9a24e; box-shadow: 0 14px 30px -18px rgba(138, 100, 32, .7); grid-column: 1 / -1; }
.r-ready-ring { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 3px solid #e6c784; border-top-color: #9b7228; animation: r-spin 2.4s linear infinite; }
.r-ready-text { display: grid; min-width: 0; flex: 1; }
.r-ready-text b { font-size: 11px; letter-spacing: .18em; color: var(--r-gold-text); }
.r-ready-text small { font-size: 13px; color: var(--r-ink); line-height: 1.5; }
html:not(#_) .r-ready .r-cta { min-height: 46px; padding: 0 18px; flex: none; white-space: nowrap; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .r-ready-ring { animation: none; } }
/* skill options (the inner span is the visible card) */
html:not(#_) .rpg-roles label > span { background: #fff !important; border: 1px solid var(--r-line) !important; border-radius: 16px !important; box-shadow: none !important; }
html:not(#_) .rpg-roles label input:checked + span, html:not(#_) .rpg-roles label:has(input:checked) > span { background: linear-gradient(#fffaf0, #fff1d6) !important; border-color: #b8893a !important; box-shadow: 0 0 0 2px rgba(201, 162, 78, .4) !important; }
html:not(#_) .rpg-roles label > span em, html:not(#_) .rpg-roles label > span i { background: var(--r-foil) !important; color: #241c10 !important; }
@media (max-width: 480px) {
  .r-ready { border-radius: 20px; padding: 8px 8px 8px 12px; gap: 10px; }
  .r-ready-ring { width: 22px; height: 22px; border-width: 2.5px; }
  .r-ready-text small { font-size: 12px; line-height: 1.45; }
  html:not(#_) .r-ready .r-cta { min-height: 44px; padding: 0 14px; font-size: 13px; }
}
@media (max-width: 360px) { .r-ready-text small { display: none; } .r-ready-text b { font-size: 12px; letter-spacing: .12em; } }
html:not(#_) .rpg-roles input:checked + span::after { background: var(--r-foil) !important; color: #241c10 !important; box-shadow: inset 0 1px 0 #fff; }
