/* FroggyDND — quiet forest, a little magic. No remote fonts or assets. */
:root {
  color-scheme: dark;
  --ink: #101717;
  --panel: #192221;
  --panel-raised: #202c29;
  --cream: #f2f1e7;
  --muted: #a5b3a9;
  --mint: #c3f587;
  --forest: #294638;
  --lilac: #d0bfe8;
  --line: #ffffff12;
  --danger: #f6b3a5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--cream); background: var(--ink); font-size: 15px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button { border: 0; }
a { color: var(--mint); text-underline-offset: 4px; }
a:hover { color: #e2ffb9; }
button:disabled { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
[hidden] { display: none !important; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.17; font-weight: 600; letter-spacing: -.045em; }
h1 { font-size: clamp(32px, 3.5vw, 48px); margin-bottom: 12px; }
h2 { font-size: 22px; margin-bottom: 16px; }
h3 { font-size: 18px; margin-bottom: 12px; }
p { margin-bottom: 16px; }
small { font-size: 12px; }
strong { font-weight: 600; }
.icon { width: 22px; height: 22px; flex: 0 0 22px; }
.muted, .subtitle, .fine-print { color: var(--muted); }
.fine-print { font-size: 12px; line-height: 1.65; }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .17em; line-height: 1.6; margin-bottom: 14px; text-transform: uppercase; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); display: inline-block; flex-shrink: 0; box-shadow: 0 0 14px #c3f58720; }
.btn, .text-button, .menu-option, .switch-option { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 600; line-height: 1.3; border-radius: 12px; padding: 13px 19px; text-decoration: none; transition: background .18s, border-color .18s, transform .18s; }
.btn:active:not(:disabled) { transform: scale(.98); }
.primary { color: #1c3020; background: var(--mint); border: 1px solid var(--mint); }
.primary:hover { background: #d4faa8; color: #16291c; }
.secondary { color: var(--cream); border: 1px solid #ffffff16; background: #ffffff06; }
.secondary:hover { background: #ffffff0e; border-color: #ffffff30; }
.text-button { color: var(--mint); background: transparent; padding: 10px 4px; }
.text-button:hover { color: #e1ffbd; background: #ffffff04; }
.icon-button { width: 44px; min-width: 44px; padding: 10px; border: 1px solid var(--line); background: transparent; border-radius: 50%; }
.icon-button:hover { background: #ffffff0c; }
.destructive { background: #f6b3a5; color: #44201b; }
.danger-text { color: var(--danger) !important; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-150%); padding: 12px 20px; background: var(--mint); color: var(--ink); border-radius: 12px; }
.skip-link:focus { transform: translateY(0); }
.boot { max-width: 650px; padding: 15dvh 24px; margin: auto; text-align: center; }
.boot img { margin-bottom: 25px; }
.boot h1 { font-size: 34px; }
.network { position: sticky; top: 0; z-index: 50; background: #493b24; color: #ffe3b0; padding: 12px 24px; font-size: 13px; text-align: center; }
.toast { position: fixed; z-index: 100; bottom: 26px; left: 50%; transform: translateX(-50%); background: #e0edce; color: #203426; border-radius: 14px; padding: 14px 22px; font-size: 14px; max-width: min(90vw, 580px); width: max-content; box-shadow: 0 12px 50px #0006; }
.noscript { padding: 30px; text-align: center; }
.notice { padding: 16px 18px; background: #c3f58707; border: 1px solid #c3f58720; border-radius: 14px; font-size: 13px; color: #c6d4bd; margin: 0 0 20px; }
.notice.danger { background: #f6b3a509; border-color: #f6b3a540; color: var(--danger); }
.notice ul { padding-left: 20px; margin-bottom: 0; }
.notice summary { cursor: pointer; min-height: 24px; }
.is-busy { cursor: progress; }
.is-busy button:disabled { cursor: progress; }
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--cream); font-size: 24px; font-weight: 700; letter-spacing: -.055em; }
.brand img { flex: 0 0 auto; }
.brand-light { color: var(--mint); font-weight: 400; }
.brand small { display: block; color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: .14em; margin-top: 3px; }
/* The public front door is an editorial spread, not a dashboard. */
.landing { max-width: 1240px; margin: auto; padding: 0 50px; }
.landing-nav { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.landing-nav > .text-button { font-size: 12px; color: var(--muted); }
.landing-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 620px; gap: 20px; padding: 55px 0 65px; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--mint); margin-bottom: 25px; }
.hero-copy h1 { font-size: clamp(44px, 5.2vw, 68px); line-height: 1.07; letter-spacing: -.06em; margin-bottom: 26px; }
.hero-copy h1 em { color: var(--mint); font-style: normal; }
.hero-description { font-size: 21px; line-height: 1.45; letter-spacing: -.025em; color: #dddcd1; margin-bottom: 20px; }
.hero-detail { font-size: 14px; color: var(--muted); line-height: 1.75; }
.discord-login { margin-top: 15px; padding: 17px 23px; border-radius: 14px; }
.privacy-note { font-size: 11px; color: var(--muted); margin-top: 16px; }
.familiar-scene { position: relative; min-height: 460px; display: grid; place-items: center; isolation: isolate; }
.familiar-scene::before { content: ''; position: absolute; z-index: -1; width: 110%; height: 110%; border-radius: 50%; background: radial-gradient(ellipse, #6c98531a, transparent 65%); }
.hero-frog { width: 420px; z-index: 2; filter: drop-shadow(0 30px 25px #0003); animation: familiar-float 7s ease-in-out infinite; }
.orbit { position: absolute; width: 390px; height: 390px; border: 1px solid #c3f58712; border-radius: 50%; transform: rotate(-20deg); }
.orbit-one::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #c3f58788; position: absolute; top: 30px; left: 80px; }
.orbit-two { width: 310px; height: 310px; border-style: dashed; border-color: #d0bfe810; transform: rotate(20deg); }
.scene-floor { position: absolute; bottom: 12px; width: 70%; height: 90px; background: radial-gradient(ellipse, #c3f5870c, transparent 70%); }
.scene-star { position: absolute; color: #d0bfe8a0; font-size: 28px; }
.star-one { left: 2%; top: 24%; }.star-two { right: 1%; bottom: 28%; font-size: 40px; }
.scene-label { position: absolute; bottom: -8px; font-size: 8px; letter-spacing: .18em; color: var(--muted); display: flex; gap: 9px; align-items: center; }
.landing-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 40px 0; border-top: 1px solid var(--line); }
.landing-features article { position: relative; padding: 4px 28px 4px 0; }
.landing-features article + article { border-left: 1px solid var(--line); padding-left: 30px; }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c3f58717; border-radius: 14px; background: #c3f5870b; color: var(--mint); }
.feature-icon.lilac { color: var(--lilac); background: #d0bfe80b; border-color: #d0bfe81c; }
.landing-features .feature-icon { display: grid; margin-bottom: 24px; }
.landing-features .eyebrow { display: block; font-size: 9px; margin-bottom: 11px; }
.landing-features h2 { font-size: 21px; margin-bottom: 12px; }
.landing-features p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }
.honest-note { display: flex; align-items: center; gap: 25px; background: #ffffff03; border: 1px solid var(--line); border-radius: 20px; margin: 24px 0 45px; padding: 28px; }
.honest-note > span { color: var(--lilac); }.honest-note h3 { font-size: 17px; margin-bottom: 8px; }.honest-note p { font-size: 12px; color: var(--muted); margin: 0; }.honest-note .text-button { flex-shrink: 0; font-size: 12px; }
.landing-footer { display: flex; justify-content: space-between; gap: 30px; font-size: 10px; color: var(--muted); padding: 25px 0 35px; border-top: 1px solid var(--line); }
/* A dedicated desktop rail; on phone, a thumb-reachable three-tab bar. */
.workspace { min-height: 100dvh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 236px; background: #121b19; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 30px 22px 22px; z-index: 10; }
.sidebar .brand { font-size: 23px; margin-left: -4px; }
.desktop-nav { margin-top: 58px; display: grid; gap: 10px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 13px 18px; border-radius: 12px; background: transparent; color: var(--muted); text-align: left; font-size: 14px; }
.nav-item:hover { background: #ffffff04; color: var(--cream); }
.nav-item.selected { background: #c3f5870b; color: var(--mint); }
.nav-indicator { position: absolute; right: 16px; height: 5px; width: 5px; border-radius: 50%; background: var(--mint); }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.familiar-note { padding: 20px 14px 35px; color: #8c9f91; font-size: 13px; line-height: 1.5; }
.familiar-note img { margin-left: -11px; margin-bottom: 10px; opacity: .85; }.familiar-note p { margin-bottom: 0; }
.sidebar-link { justify-content: flex-start; width: 100%; padding-left: 12px; background: transparent; color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.account-button { background: transparent; justify-content: flex-start; width: 100%; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 8px 0; gap: 12px; }.account-button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-button .icon { border-radius: 50%; box-sizing: content-box; padding: 9px; background: var(--forest); color: var(--mint); width: 18px; height: 18px; }
.workspace-main { margin-left: 236px; padding: 0 clamp(24px, 4vw, 64px); }
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 90px; border-bottom: 1px solid var(--line); gap: 20px; max-width: 1160px; margin: auto; }
.breadcrumb { font-size: 12px; color: var(--muted); }.breadcrumb span { margin: 0 14px; color: #58665d; }
.topbar-right { display: flex; gap: 10px; align-items: center; min-width: 0; }
.character-switch { display: flex; align-items: center; gap: 10px; padding: 11px 15px; background: #ffffff04; border: 1px solid var(--line); border-radius: 12px; min-height: 44px; font-size: 12px; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.character-switch > span:last-child { margin-left: 12px; color: var(--muted); }
.workspace-main main { max-width: 1160px; margin: 0 auto; padding-top: 38px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }.page-heading .eyebrow { margin-bottom: 10px; }.page-heading h1 { font-size: clamp(30px, 3vw, 42px); overflow-wrap: anywhere; }.page-heading .subtitle { margin-bottom: 0; font-size: 13px; }
.heading-actions { display: flex; gap: 10px; flex-shrink: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }.section-heading h2, .section-heading h3 { margin: 0; }.section-heading .eyebrow { margin-bottom: 7px; }.section-heading > .icon { color: var(--muted); }
.count { display: inline-grid; place-items: center; background: #ffffff08; color: var(--muted); min-width: 25px; height: 25px; border-radius: 8px; font-size: 12px; letter-spacing: 0; vertical-align: middle; margin-left: 8px; }
.inline-actions { display: flex; gap: 18px; }
.journal-banner, .grow-banner { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 30%, #53734a30, transparent 60%), linear-gradient(115deg, #23362a, #1c2b24); border: 1px solid #c3f58713; border-radius: 24px; padding: 34px 38px; margin-bottom: 34px; display: flex; align-items: center; justify-content: space-between; }
.journal-banner h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; color: #e3ecd7; margin-bottom: 14px; }
.journal-banner p:not(.eyebrow) { font-size: 12px; color: #b2c2b0; max-width: 340px; }
.journal-banner .eyebrow { color: #aec59d; font-size: 9px; }
.journal-banner .secondary { font-size: 12px; border-color: #c3f58735; background: #c3f58708; }
.journal-banner img { width: 230px; margin: -24px 25px -24px 20px; transform: rotate(5deg); filter: drop-shadow(0 14px 18px #0002); }
.character-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.character-card { padding: 25px 23px 14px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #1c2823, #192221 70%); min-width: 0; }
.character-card.is-active { border-color: #c3f58748; }.character-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }.character-card-top > .icon-button { margin-left: auto; border: 0; color: var(--muted); }.character-card-top .pill { font-size: 8px; }
.character-emblem { display: inline-grid; place-items: center; border-radius: 15px; width: 48px; height: 48px; background: #c3f5870e; color: var(--mint); border: 1px solid #c3f58717; }.character-emblem .icon { width: 28px; height: 28px; }.tone-1 { color: var(--lilac); background: #d0bfe80c; border-color: #d0bfe822; }.tone-2 { color: #e8cc9c; background: #e8cc9c0b; border-color: #e8cc9c22; }
.character-card .eyebrow { font-size: 9px; margin-bottom: 9px; }.character-card h3 { font-size: 25px; margin-bottom: 7px; overflow-wrap: anywhere; }.card-subtitle { color: var(--muted); font-size: 12px; min-height: 20px; }
.character-card-bottom { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 9px; padding-top: 8px; margin-top: 23px; }.character-card-bottom > span { color: var(--muted); font-size: 10px; }.character-card-bottom .text-button { font-size: 12px; flex-shrink: 0; }
.new-character-tile { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 30px 20px; min-height: 230px; background: transparent; border: 1px dashed #ffffff1b; border-radius: 20px; color: var(--muted); }.new-character-tile > .icon { width: 40px; height: 40px; padding: 9px; box-sizing: content-box; color: var(--mint); background: #c3f58706; border-radius: 50%; margin-bottom: 10px; }.new-character-tile small { font-size: 11px; color: #819287; }.new-character-tile:hover { background: #c3f58704; border-color: #c3f58744; }
.empty-state { text-align: center; padding: 45px 20px; border: 1px dashed #ffffff16; border-radius: 24px; }.empty-state h2, .empty-state h3 { margin-top: 24px; }.empty-state p { color: var(--muted); font-size: 13px; }.empty-state .btn { margin: 5px; }.empty-icon { color: var(--mint); }.empty-icon .icon { width: 36px; height: 36px; }
.coverage { display: flex; align-items: flex-start; gap: 12px; padding: 25px 4px; color: #92a496; }.coverage .status-dot { margin-top: 7px; background: #819877; }.coverage p { font-size: 11px; line-height: 1.7; flex: 1; margin: 0; }.coverage .text-button { min-height: 30px; padding: 0 5px; font-size: 11px; color: var(--muted); }
.app-footer { max-width: 1160px; margin: 20px auto 0; border-top: 1px solid var(--line); padding: 15px 0 25px; display: flex; justify-content: space-between; align-items: center; color: #83948a; font-size: 10px; gap: 20px; }.app-footer .text-button { font-size: 10px; color: var(--muted); }.app-footer .icon { width: 15px; height: 15px; }
.mobile-only, .mobile-brand, .bottom-nav { display: none; }
/* The play sheet: touch-first vital signs, compact math, detail on demand. */
.play-grid, .grow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.card { padding: 27px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; min-width: 0; }
.card h2 { font-size: 20px; }.card .eyebrow { font-size: 9px; }.card > p { font-size: 13px; }.card-label { display: flex; align-items: center; gap: 10px; }.card-label h2 { font-size: 15px; margin: 0; }.card-label > .icon { color: var(--mint); width: 18px; height: 18px; }
.vitality-card { background: linear-gradient(130deg, #26382b, #1c2a23); border-color: #c3f5871c; }
.live-label { font-size: 8px; letter-spacing: .12em; color: #a9bc9e; margin-left: auto; }
.hp-number { font-size: 72px; font-weight: 500; letter-spacing: -.065em; line-height: 1.15; margin: 20px 0 16px; color: #e2f8cd; font-variant-numeric: tabular-nums; }.hp-number span { font-size: 23px; color: #9baf91; margin-left: 8px; letter-spacing: -.025em; }
progress { display: block; appearance: none; width: 100%; height: 5px; border: none; border-radius: 8px; background: #ffffff10; overflow: hidden; }progress::-webkit-progress-bar { background: #ffffff10; }progress::-webkit-progress-value { background: var(--mint); border-radius: 8px; }progress::-moz-progress-bar { background: var(--mint); border-radius: 8px; }
.hp-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #b3c1a9; margin: 6px 0 11px; }.hp-meta .text-button { font-size: 11px; }
.split-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.split-actions .btn { font-size: 12px; padding: 13px 9px; }
.combat-card { min-height: 307px; display: flex; flex-direction: column; }.combat-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 24px; text-align: center; }.combat-stats > div + div { border-left: 1px solid var(--line); }.stat-label { font-size: 8px; letter-spacing: .1em; color: var(--muted); display: block; }.combat-stats strong { font-size: 38px; font-weight: 500; letter-spacing: -.05em; display: block; margin: 4px 0; }.combat-stats small { font-size: 10px; color: var(--muted); }
.rest-actions { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; display: flex; justify-content: space-around; gap: 10px; }.rest-actions .text-button { font-size: 12px; }.rest-actions .icon { width: 17px; height: 17px; }
.ability-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: #ffffff02; border: 1px solid var(--line); border-radius: 18px; padding: 18px 4px; }.ability { text-align: center; }.ability + .ability { border-left: 1px solid var(--line); }.ability > span { color: var(--muted); font-size: 9px; letter-spacing: .12em; }.ability strong { display: block; font-size: 27px; letter-spacing: -.045em; font-weight: 500; margin: 2px 0; }.ability small { display: inline-grid; place-items: center; width: 25px; height: 21px; font-size: 10px; color: var(--muted); border: 1px solid #ffffff0c; border-radius: 7px; }
.magic-card { background: linear-gradient(145deg, #26272e, #1b2323 70%); border-color: #d0bfe81a; }.magic-card .eyebrow { color: #b9aacd; }
.spell-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 14px 0 22px; }.spell-stats > div + div { border-left: 1px solid var(--line); }.spell-stats strong { display: block; font-size: 27px; font-weight: 500; line-height: 1.4; color: #e5dbee; }.spell-stats span { font-size: 10px; color: var(--muted); }
.catalog-links > button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; background: transparent; min-height: 54px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }.catalog-links > button > span { display: flex; align-items: center; gap: 12px; }.catalog-links .icon { width: 18px; height: 18px; color: var(--lilac); }.catalog-links .muted { font-size: 11px; }
.known-spells { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 5px; }.known-spells .eyebrow { font-size: 8px; margin-bottom: 10px; }.spell-chip { background: #d0bfe80b; border: 1px solid #d0bfe81c; color: #d9cce7; min-height: 44px; padding: 9px 12px; border-radius: 10px; font-size: 11px; margin: 0 5px 7px 0; }.spell-chip:hover { background: #d0bfe816; }
.resource-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 16px 0; }.resource-row:first-of-type { padding-top: 0; }.resource-row strong { font-size: 13px; }.resource-row small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }.resource-row .btn { font-size: 11px; padding: 10px 13px; flex-shrink: 0; }.resource-row .icon { width: 15px; height: 15px; }
.divider { padding-top: 17px; margin-top: 5px; margin-bottom: 10px; }.divider h3 { font-size: 14px; }.divider .text-button { font-size: 11px; }
.death-track { display: flex; gap: 20px; font-size: 11px; color: var(--muted); }.death-track b { color: var(--cream); font-weight: 500; margin-left: 5px; }
.pill { display: inline-block; padding: 5px 8px; border: 1px solid #ffffff12; background: #ffffff04; border-radius: 7px; font-size: 10px; line-height: 1.25; color: var(--muted); }
.notes-card { grid-column: 1 / -1; background: linear-gradient(110deg, #202921, #192221); }.notes-preview { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; color: #b7c4b4; max-height: 220px; overflow: auto; margin-bottom: 0; }
.object-list > div { padding: 16px 0; border-top: 1px solid var(--line); }.object-list strong { font-size: 13px; }.object-list p { margin: 7px 0 0; color: var(--muted); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }.object-list .pill { float: right; }
.quiet-empty { color: var(--muted); padding: 20px 0; font-size: 13px; line-height: 1.8; }
.feature-detail { padding: 15px 0; border-top: 1px solid var(--line); }.feature-detail summary { cursor: pointer; min-height: 32px; font-size: 13px; }.feature-detail summary .muted { font-size: 10px; margin-left: 8px; }.feature-detail p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 12px 0; }.feature-detail .source-link { font-size: 11px; }
.grow-banner { padding: 30px 36px; }.grow-banner .eyebrow { color: #bfd0ac; }.grow-banner p:last-child { font-size: 13px; color: #b0c1a5; margin-bottom: 0; }.level-journey { display: flex; align-items: center; gap: 32px; font-size: 78px; font-weight: 400; line-height: 1.1; letter-spacing: -.06em; color: #7f967a; margin: 12px 0 15px; }.level-journey > .icon { width: 35px; height: 35px; color: #89a37f; }.level-journey .next-level { color: var(--mint); }.growth-art { padding: 24px; border: 1px solid #c3f5871f; border-radius: 50%; margin-right: 25px; color: var(--mint); background: #c3f58704; }.growth-art .icon { width: 90px; height: 90px; stroke-width: .8; }
.growth-list { list-style: none; padding: 0; margin: 22px 0; }.growth-list li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); font-size: 13px; color: #bdcbb5; }.growth-list li::before { content: '✦'; position: absolute; left: 0; color: var(--mint); font-size: 12px; }.stack { display: grid; gap: 12px; margin-top: 24px; }.stack .btn { justify-content: space-between; }.commit-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
/* Sheets keep their own scroll surface and a persistent save affordance. */
dialog { width: min(600px, calc(100vw - 40px)); max-width: none; max-height: min(90dvh, 960px); padding: 0; border: 1px solid #ffffff18; border-radius: 26px; color: var(--cream); background: #192321; box-shadow: 0 32px 120px #0008; overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #06110ed9; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
body:has(dialog[open]) { overflow: hidden; }
.wide-dialog { width: min(760px, calc(100vw - 40px)); }.catalog-dialog { width: min(720px, calc(100vw - 40px)); }
.dialog-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #192321f5; backdrop-filter: blur(15px); z-index: 2; border-bottom: 1px solid var(--line); padding: 25px 28px 22px; }.dialog-head h2 { font-size: 26px; margin: 0; }.dialog-head .eyebrow { font-size: 8px; margin-bottom: 7px; }.dialog-head .icon-button { flex-shrink: 0; }
.dialog-body { padding: 25px 28px; }.dialog-body > p { font-size: 14px; }.dialog-body > h3 { margin-top: 28px; font-size: 18px; }.dialog-body > h3:first-child { margin-top: 0; }
.dialog-footer { position: sticky; bottom: 0; background: #192321f5; backdrop-filter: blur(15px); border-top: 1px solid var(--line); padding: 18px 28px; display: flex; justify-content: flex-end; align-items: center; gap: 15px; z-index: 2; }.dialog-footer > span { font-size: 11px; margin-right: auto; }.dialog-error { margin: 20px 28px 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }.form-grid.thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }.ability-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }.ability-fields input { padding: 12px 10px; text-align: center; }.ability-fields .field > span { font-size: 10px; }
.field { display: block; margin-bottom: 18px; min-width: 0; }.field > span { display: block; font-size: 12px; font-weight: 500; color: #c2cec3; margin-bottom: 8px; }
input, select, textarea { font-size: 16px; color: var(--cream); background: #101a17; border: 1px solid #ffffff17; border-radius: 11px; padding: 12px 14px; min-height: 44px; width: 100%; line-height: 1.4; }
input::placeholder, textarea::placeholder { color: #788d80; }input:focus, select:focus, textarea:focus { border-color: #c3f58785; }textarea { resize: vertical; min-height: 110px; }input[readonly] { color: var(--muted); background: #ffffff03; }
select { padding-right: 24px; }option { background: #192321; }
.checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); min-height: 44px; margin-bottom: 14px; }.checkbox-label input { width: 19px; height: 19px; min-height: 19px; accent-color: var(--mint); }
.advanced { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 15px 0; }.advanced summary { min-height: 30px; cursor: pointer; font-size: 13px; }.advanced > p { font-size: 12px; margin-top: 15px; }
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; background: #0e1814; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 22px; }.segmented .btn { font-size: 12px; padding: 10px 5px; background: transparent; color: var(--muted); border-radius: 9px; }.segmented .btn.selected { color: var(--cream); background: #2b3830; box-shadow: 0 2px 4px #0003; }
.search-field { display: flex; align-items: center; background: #101a17; border: 1px solid #ffffff17; border-radius: 12px; padding-left: 14px; margin-bottom: 16px; color: var(--muted); }.search-field input { border: 0; background: transparent; }.search-field:focus-within { outline: 2px solid var(--mint); outline-offset: 3px; }.search-field input:focus-visible { outline: none; }.search-field .icon { width: 19px; height: 19px; }
.picker-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; margin: 18px 0 12px; }.picker-summary span { font-size: 10px; color: var(--muted); }
.catalog-item { border: 1px solid var(--line); border-radius: 16px; padding: 19px; margin-top: 13px; background: #ffffff02; }.catalog-item.is-selected { border-color: #c3f58750; background: #c3f58704; }.catalog-item-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; }.catalog-tags { display: flex; gap: 9px; align-items: center; margin-bottom: 6px; color: var(--lilac); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }.catalog-tags span + span { color: var(--muted); }.catalog-item h3 { font-size: 19px; margin: 0; }.catalog-item p { font-size: 12px; line-height: 1.8; color: #b6c4b9; margin-bottom: 12px; }.choice-toggle { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 12px; background: #ffffff05; color: var(--muted); border: 1px solid #ffffff20; }.choice-toggle.chosen { background: var(--mint); color: #25371e; border-color: var(--mint); }.requirement-list { font-size: 11px; color: #dac5a1; padding-left: 18px; }.spell-meta { display: flex; gap: 8px 16px; flex-wrap: wrap; color: var(--muted); font-size: 10px; margin: 14px 0; }.source-link { font-size: 11px; color: var(--lilac); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.source-hero { background: #d0bfe809; border: 1px solid #d0bfe818; border-radius: 15px; padding: 22px; color: var(--lilac); }.source-hero > .icon { margin-bottom: 16px; }.source-hero p { font-size: 13px; margin: 0; }.source-item { border-top: 1px solid var(--line); padding: 20px 0; }.source-item strong { font-size: 13px; }.source-item p, .source-item a { font-size: 12px; }.source-item p { color: var(--muted); margin: 7px 0; }
.about-familiar { text-align: center; }.about-familiar img { margin: 0 auto 15px; }.about-familiar p { max-width: 380px; margin-left: auto; margin-right: auto; }
.switch-list, .menu-list { display: grid; gap: 8px; }.switch-option, .menu-option { display: flex; width: 100%; justify-content: flex-start; background: #ffffff03; border: 1px solid var(--line); color: var(--cream); padding: 16px; text-align: left; font-size: 14px; }.switch-option > .icon { margin-left: auto; color: var(--mint); }.switch-option small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }.menu-option .icon { color: var(--muted); margin-right: 6px; }
.file-drop { display: grid; justify-items: center; gap: 15px; border: 1px dashed #c3f58740; background: #c3f58704; border-radius: 18px; padding: 30px 20px; }.file-drop > span { color: var(--mint); }.file-drop strong { font-size: 14px; }.file-drop input { font-size: 12px; max-width: 100%; }.rest-illustration { display: grid; place-items: center; width: 80px; height: 80px; margin: 5px 0 25px; border: 1px solid #d0bfe822; border-radius: 50%; background: #d0bfe808; color: var(--lilac); }.rest-illustration .icon { width: 36px; height: 36px; }
dl { display: grid; grid-template-columns: 120px 1fr; font-size: 13px; margin: 22px 0; }dt { color: var(--muted); padding: 9px 0; text-transform: capitalize; border-top: 1px solid var(--line); }dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--line); }
.account-summary { text-align: center; padding-bottom: 25px; border-bottom: 1px solid var(--line); }.account-summary h3 { margin: 18px 0 12px; }.account-logout { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 18px; }
/* Focused ability sheets and a distinct steward surface. */
.ability-dialog { width: min(680px, calc(100vw - 24px)); scrollbar-gutter: stable; }
.ability-dialog .feature-detail summary { min-height: 44px; padding: 10px 0; font-size: 16px; }
.ability-dialog .feature-detail p { font-size: 15px; }
.catalog-dialog .segmented { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.workspace.is-admin { --mint: #d0bfe8; --forest: #383044; }
.workspace.is-admin .sidebar, .workspace.is-admin .bottom-nav { background: #1b1823f5; }
.workspace.is-admin .topbar { border-bottom-color: #d0bfe838; }
@media (max-width: 760px) {
  .ability-dialog { width: 100%; }
  .catalog-dialog .segmented .btn { font-size: 11px; padding: 10px 2px; overflow-wrap: anywhere; }
  .notice summary, .feature-detail summary { min-height: 44px; }
  .topbar-right .icon-button { width: 44px; min-width: 44px; }
}
/* The steward lane is intentionally quieter and separate from play. */
.admin-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 25px; }.admin-summary .card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-top: 2px solid #d0bfe840; }.admin-summary strong { font-size: 37px; letter-spacing: -.04em; font-weight: 500; }.admin-summary span { font-size: 11px; color: var(--muted); }.admin-summary .btn { font-size: 12px; }
.user-row { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }.user-avatar { display: inline-grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; border: 1px solid #d0bfe825; border-radius: 15px; background: #d0bfe80c; color: var(--lilac); font-weight: 500; font-size: 18px; }.user-avatar.large { width: 64px; height: 64px; font-size: 28px; border-radius: 22px; }.user-info { flex: 1; min-width: 0; }.user-info strong { font-size: 14px; overflow-wrap: anywhere; }.user-info small, .user-info > span { display: block; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }.user-info p { font-size: 11px; margin: 8px 0 0; color: var(--danger); }.user-row > .btn { font-size: 11px; padding: 12px; }.audit-card { margin-top: 22px; }.audit-card pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #0e1814; padding: 18px; border-radius: 12px; font-size: 11px; color: var(--muted); }
@keyframes familiar-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
@media (min-width: 1500px) { .workspace-main { padding-left: 72px; padding-right: 72px; }.sidebar { width: 260px; padding: 34px 28px; }.workspace-main { margin-left: 260px; } }
@media (max-width: 1150px) { .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.sidebar { width: 210px; padding-left: 17px; padding-right: 17px; }.workspace-main { margin-left: 210px; padding-left: 28px; padding-right: 28px; }.journal-banner img { width: 190px; margin-right: 0; }.page-heading { align-items: flex-start; }.heading-actions { padding-top: 25px; }.card { padding: 23px; }.admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }.admin-summary .card:last-child:nth-child(3) { grid-column: 1 / -1; }.hero-frog { width: 360px; }.orbit { width: 320px; height: 320px; }.orbit-two { width: 250px; height: 250px; }.familiar-scene { min-height: 390px; } }
@media (max-width: 900px) and (min-width: 761px) { .play-grid, .grow-grid { grid-template-columns: 1fr; }.page-heading { flex-direction: column; }.heading-actions { padding-top: 0; }.journal-banner { padding: 28px; }.journal-banner img { width: 150px; }.character-grid { grid-template-columns: 1fr; }.landing { padding: 0 30px; }.landing-hero { gap: 0; }.hero-copy h1 { font-size: 47px; }.hero-frog { width: 300px; }.orbit { width: 260px; height: 260px; }.orbit-two { width: 210px; height: 210px; }.landing-features { gap: 20px; }.landing-features article + article { padding-left: 20px; } }
@media (max-width: 760px) {
  body { font-size: 14px; }
  .sidebar, .desktop-only { display: none; }.mobile-only { display: inline-flex; }
  .workspace-main { margin-left: 0; padding: 0 22px calc(88px + env(safe-area-inset-bottom)); }
  .topbar { min-height: 80px; padding-top: env(safe-area-inset-top); gap: 10px; }
  .mobile-brand { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; letter-spacing: -.055em; font-weight: 650; text-decoration: none; color: var(--cream); }
  .topbar-right { gap: 6px; }.topbar-right .icon-button { border-color: transparent; }.character-switch { max-width: 150px; padding: 10px; font-size: 11px; gap: 7px; }.character-switch > span:last-child { margin-left: 1px; }
  .bottom-nav { position: fixed; display: grid; grid-template-columns: repeat(3, 1fr); left: 0; right: 0; bottom: 0; background: #111d18f2; border-top: 1px solid #c3f58716; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 8px 22px calc(8px + env(safe-area-inset-bottom)); z-index: 15; }
  .bottom-nav .nav-item { flex-direction: column; justify-content: center; gap: 3px; min-height: 53px; border-radius: 12px; padding: 5px 16px; font-size: 10px; }.bottom-nav .nav-item.selected { background: #c3f58706; }.bottom-nav .nav-indicator { right: auto; top: -9px; width: 24px; height: 2px; border-radius: 0 0 5px 5px; }.bottom-nav .icon { width: 23px; height: 23px; }
  .workspace-main main { padding-top: 28px; }.page-heading { gap: 16px; margin-bottom: 25px; flex-wrap: wrap; }.page-heading h1 { font-size: 32px; line-height: 1.12; }.page-heading .eyebrow { font-size: 9px; }.page-heading .subtitle { font-size: 12px; max-width: 310px; }.heading-actions { padding-top: 0; }.heading-actions .btn { font-size: 12px; }
  .journal-banner { padding: 27px 25px; border-radius: 20px; min-height: 280px; align-items: flex-start; margin-bottom: 27px; }.journal-banner > div { position: relative; z-index: 1; }.journal-banner h2 { font-size: 29px; }.journal-banner p:not(.eyebrow) { max-width: 195px; font-size: 11px; }.journal-banner .eyebrow { font-size: 8px; max-width: 220px; }.journal-banner .btn { margin-top: 3px; font-size: 11px; padding: 12px; background: #1a2c20c9; }.journal-banner img { position: absolute; right: -21px; bottom: 17px; width: 180px; margin: 0; transform: rotate(9deg); opacity: .9; }
  .section-heading { gap: 10px; margin-bottom: 17px; }.section-heading h2 { font-size: 19px; }.inline-actions { gap: 12px; }.inline-actions .text-button { font-size: 11px; }.inline-actions .icon { width: 16px; height: 16px; }
  .character-grid { gap: 14px; }.character-card { padding: 20px 18px 12px; }.character-card-top { gap: 8px; margin-bottom: 23px; }.character-card h3 { font-size: 24px; }.character-card .eyebrow { font-size: 8px; }.character-card-top .icon-button { margin-right: -8px; }.character-emblem { width: 42px; height: 42px; border-radius: 13px; }.character-card-top .pill { padding: 4px 6px; }
  .new-character-tile { min-height: 210px; font-size: 13px; }.coverage { padding-top: 24px; }.coverage p { font-size: 10px; }.app-footer { margin-top: 5px; font-size: 9px; }.app-footer .text-button { font-size: 9px; }
  .play-grid, .grow-grid { gap: 16px; }.card { padding: 23px; border-radius: 20px; }.play-grid .card { padding: 23px; }.vitality-card { grid-column: 1 / -1; }.hp-number { font-size: 78px; margin-top: 19px; margin-bottom: 20px; }.hp-meta { margin-bottom: 9px; }.split-actions .btn { min-height: 46px; }.combat-card { grid-column: 1 / -1; min-height: 235px; }.combat-stats { margin: 12px 0 20px; }.combat-stats strong { font-size: 34px; }.combat-stats .stat-label { font-size: 9px; }.rest-actions { padding-top: 8px; }.ability-strip { padding: 16px 3px; }.ability strong { font-size: 24px; }.ability > span { font-size: 8px; }.ability small { font-size: 9px; }.magic-card, .features-card { grid-column: 1 / -1; }
  .grow-banner { padding: 26px; }.level-journey { font-size: 70px; gap: 22px; }.growth-art { padding: 20px; margin-right: 0; }.growth-art .icon { width: 55px; height: 55px; }.grow-grid { grid-template-columns: 1fr; }
  .admin-summary { gap: 12px; }.admin-summary .card { padding: 20px; }.user-row { gap: 12px; }.user-row .user-avatar { width: 36px; height: 36px; font-size: 15px; border-radius: 12px; }.user-row .btn { padding: 10px; }.audit-card .section-heading > span { font-size: 10px; }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); font-size: 13px; padding: 13px 18px; }
  dialog, .wide-dialog, .catalog-dialog { width: 100%; max-height: calc(100dvh - max(24px, env(safe-area-inset-top))); margin: auto 0 0; border-radius: 25px 25px 0 0; border-bottom: 0; }
  .dialog-head { padding: 25px 22px 20px; }.dialog-head::before { content: ''; width: 32px; height: 4px; border-radius: 4px; background: #ffffff24; position: absolute; left: calc(50% - 16px); top: 8px; }.dialog-head h2 { font-size: 24px; }.dialog-head .eyebrow { font-size: 8px; }.dialog-body { padding: 23px 22px; }.dialog-footer { padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); }.dialog-error { margin: 18px 22px 0; }.dialog-footer .btn { font-size: 12px; }.ability-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }.form-grid.thirds { grid-template-columns: repeat(2, minmax(0, 1fr)); }.picker-summary { align-items: flex-start; }.picker-summary strong { max-width: 60%; }.picker-summary span { text-align: right; max-width: 40%; }.catalog-item { padding: 18px; }.catalog-item p { font-size: 13px; }
  .landing { padding: 0 25px; }.landing-nav { min-height: 90px; padding-top: env(safe-area-inset-top); }.landing-nav .brand { font-size: 23px; }.landing-nav > .text-button { font-size: 10px; max-width: 130px; }.landing-nav > .text-button .icon { width: 16px; height: 16px; }
  .landing-hero { display: flex; flex-direction: column; align-items: stretch; padding: 45px 0 36px; min-height: 0; gap: 0; }.hero-copy { text-align: center; }.hero-copy .eyebrow { justify-content: center; font-size: 8px; gap: 7px; margin-bottom: 22px; }.hero-copy h1 { font-size: clamp(42px, 8.8vw, 58px); margin-bottom: 23px; }.hero-description { font-size: 20px; margin-bottom: 19px; }.hero-detail { font-size: 12px; }.discord-login { font-size: 13px; padding: 16px 22px; margin-top: 10px; }.privacy-note { font-size: 10px; }.familiar-scene { min-height: 310px; width: 100%; max-width: 380px; margin: 10px auto 0; }.hero-frog { width: 290px; }.orbit { width: 260px; height: 260px; }.orbit-two { width: 205px; height: 205px; }.scene-label { bottom: -3px; font-size: 7px; }.star-one { left: 6%; }.star-two { right: 4%; font-size: 30px; }
  .landing-features { grid-template-columns: 1fr; gap: 0; padding: 15px 0; }.landing-features article, .landing-features article + article { padding: 28px 0 28px 65px; border-left: 0; border-bottom: 1px solid var(--line); }.landing-features article:last-child { border-bottom: 0; }.landing-features .feature-icon { position: absolute; top: 30px; left: 0; }.landing-features .eyebrow { font-size: 8px; }.landing-features h2 { font-size: 21px; }.landing-features p { font-size: 12px; }.honest-note { gap: 15px; padding: 22px; display: grid; grid-template-columns: 22px 1fr; margin: 16px 0 32px; }.honest-note > .text-button { grid-column: 2; justify-content: flex-start; padding: 0; font-size: 11px; }.honest-note h3 { font-size: 16px; }.honest-note p { font-size: 11px; }.landing-footer { flex-direction: column; gap: 10px; font-size: 9px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}
@media (max-width: 540px) {
  .character-grid, .play-grid { grid-template-columns: 1fr; }.character-card { padding: 23px 24px 15px; }.character-card-top { margin-bottom: 25px; }.character-card h3 { font-size: 27px; }.new-character-tile { min-height: 140px; gap: 5px; }.new-character-tile > .icon { width: 25px; height: 25px; padding: 8px; margin-bottom: 5px; }.play-grid > * { grid-column: 1; }.ability-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }.features-card .section-heading { flex-wrap: wrap; }.features-card .section-heading .text-button { font-size: 11px; }
}
@media (max-width: 390px) {
  .workspace-main { padding-left: 17px; padding-right: 17px; }.mobile-brand { font-size: 15px; }.mobile-brand img { width: 29px; height: 29px; }.character-switch { max-width: 124px; font-size: 10px; }.topbar-right { gap: 1px; }.topbar-right .icon-button { width: 38px; min-width: 38px; padding: 8px; }.page-heading h1 { font-size: 29px; }.journal-banner { padding: 24px 20px; }.journal-banner h2 { font-size: 27px; }.journal-banner img { right: -38px; width: 170px; bottom: 29px; }.journal-banner p:not(.eyebrow) { max-width: 180px; }.card, .play-grid .card { padding: 21px; }.death-track { gap: 12px; font-size: 10px; }.rest-actions .text-button { font-size: 11px; }.dialog-body { padding: 22px 18px; }.dialog-head { padding-left: 18px; padding-right: 18px; }.dialog-head h2 { font-size: 22px; }.dialog-footer { padding-left: 18px; padding-right: 18px; gap: 10px; }.dialog-footer .btn { padding: 12px 14px; }.form-grid { gap: 0 12px; }.field > span { font-size: 11px; }.growth-art { padding: 15px; }.growth-art .icon { width: 43px; height: 43px; }.grow-banner { padding: 23px; }.level-journey { font-size: 60px; }.landing { padding: 0 20px; }.hero-copy h1 { font-size: 43px; }.landing-nav .brand { font-size: 22px; }.landing-nav > .text-button { max-width: 115px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
