/* Shared interface: charcoal surfaces, warm brass accents and readable type. */
* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --bg: #171a1d;
  --sidebar: #111416;
  --surface: #202428;
  --surface-raised: #252a2f;
  --input: #191d21;
  --text: #f0eee8;
  --muted: #a2a9b0;
  --gold: #d3b174;
  --gold-soft: #e5c68e;
  --border: #343a40;
  --danger: #f0958a;
  --green: #8cbea1;
  --radius: 12px;
}
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 14px/1.5 'Segoe UI', Arial, sans-serif; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 3.2vw, 44px); font-weight: 400; line-height: 1.15; letter-spacing: -.8px; margin-bottom: 10px; }
h2 { font-size: 20px; font-weight: 600; letter-spacing: -.35px; }
h3 { font-size: 17px; font-weight: 600; margin-bottom: 20px; }
h4 { font-size: 15px; font-weight: 600; }
small { font-size: 12px; }
.muted { color: var(--muted); }
.eyebrow { color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.app-sidebar { width: 228px; height: 100vh; position: fixed; left: 0; top: 0; padding: 32px 18px 20px; border-right: 1px solid #292e32; background: var(--sidebar); display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin: 0 6px 45px; font-family: Georgia, serif; font-size: 19px; line-height: 1.2; white-space: nowrap; }
.brand strong { font-weight: 400; color: var(--gold-soft); }
.brand small { font-family: 'Segoe UI', sans-serif; display: block; margin-top: 7px; font-size: 7px; letter-spacing: 1.4px; color: #959b9f; }
.brand-mark { display: flex; align-items: center; justify-content: center; color: var(--gold); }
.brand-mark svg { width: 33px; height: 38px; }
.nav-caption { font-size: 9px; font-weight: 600; color: #8f979e; letter-spacing: 1.8px; margin: 0 15px 14px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 13px 14px; margin-bottom: 7px; border: 1px solid transparent; border-radius: 7px; color: #aeb4ba; text-decoration: none; transition: background .15s, color .15s; }
.nav-link svg:first-child { width: 18px; height: 18px; }
.nav-link svg:last-child { margin-left: auto; width: 13px; opacity: 0; }
.nav-link:hover { background: #1d2226; color: var(--text); }
.nav-link.active { background: #2a2620; color: var(--gold-soft); border-color: #443a2b; }
.nav-link.active svg:last-child { opacity: 1; }
.sidebar-note { margin: auto 12px 30px; border-top: 1px solid #2a2e31; padding-top: 28px; }
.sidebar-note svg { color: var(--gold); width: 24px; height: 24px; margin-bottom: 14px; }
.sidebar-note p { color: #d5d0c5; font-family: Georgia, serif; font-size: 19px; line-height: 1.5; margin-bottom: 8px; }
.sidebar-note span { font-size: 11px; color: #9ca3a9; }
.sidebar-footer { display: flex; align-items: center; gap: 7px; margin: 0 12px; color: #9ca3a9; font-size: 10px; }
.status-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.app-main { margin-left: 228px; }
.container { max-width: 1420px; margin: 0 auto; padding: 32px 40px 40px; }
.breadcrumb { display: flex; gap: 9px; align-items: center; color: #949da5; font-size: 11px; margin-bottom: 26px; }
.breadcrumb span:last-child { color: #d6d9dc; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.page-heading p { margin-bottom: 0; max-width: 620px; }
.page-heading .eyebrow { margin-bottom: 10px; }
.page-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 17px; min-height: 42px; border: 1px solid var(--gold); border-radius: 7px; background: var(--gold); color: #211d16; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn:active { transform: translateY(1px); }
.btn-secondary { background: #292e33; color: #e3e6e8; border-color: #424950; }
.btn-secondary:hover { background: #353c43; border-color: #636c74; }
.btn-ghost { color: var(--muted); background: transparent; border-color: transparent; }
.btn-ghost:hover { color: var(--text); background: #2c3237; border-color: transparent; }
.btn-danger { background: transparent; color: var(--danger); border-color: #70433d; }
.btn-danger:hover { color: #ffe1dc; background: #4c2a27; border-color: #b77367; }
.btn-small { padding: 8px 12px; min-height: 36px; font-size: 12px; }
.btn-wide { width: 100%; }
.btn-icon { padding: 6px; min-width: 32px; min-height: 32px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--surface); margin-bottom: 20px; }
.card-header, .topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.card-header { margin-bottom: 20px; }
.card-header h2, .card-header h3, .topbar h3, .topbar h4, .topbar p { margin: 0; }
.card-header .muted { font-size: 12px; }
.section-index { display: inline-grid; place-items: center; width: 28px; height: 28px; background: #322d24; color: var(--gold-soft); border: 1px solid #514333; border-radius: 7px; font-size: 11px; margin-right: 10px; }
label { display: block; color: #c0c6cb; font-size: 12px; font-weight: 500; }
input, select, textarea { width: 100%; min-width: 0; margin-top: 8px; padding: 11px 12px; border: 1px solid #3a4249; border-radius: 6px; background: var(--input); color: var(--text); min-height: 44px; outline: none; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #929ba3; font-size: 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px #d3b17412; }
input[type=checkbox] { min-height: auto; width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }
textarea { resize: vertical; min-height: 110px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.field-stack { display: grid; gap: 18px; }
.full-width { grid-column: 1 / -1; }
.checkbox-label { display: flex; align-items: center; gap: 10px; padding: 16px 0 0; }
.builder-layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 24px; align-items: start; }
.character-library { position: sticky; top: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.library-heading { display: flex; align-items: center; justify-content: space-between; margin: 1px 0 16px; }
.library-heading h2 { font-size: 14px; margin: 0; }
.library-heading button { font-size: 18px; }
.library-caption { font-size: 10px; color: var(--muted); margin-top: 18px; margin-bottom: 0; padding-top: 14px; border-top: 1px solid var(--border); }
#listaFichas { margin-bottom: 14px; display: grid; gap: 8px; }
.ficha-item { width: 100%; display: block; text-align: left; padding: 13px 12px; border: 1px solid transparent; background: #1a1e21; color: var(--text); border-radius: 7px; position: relative; }
.ficha-item:hover { background: #2b3035; border-color: #424a51; }
.ficha-item.active { border-color: #80683f; background: #302b22; }
.ficha-item strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; }
.ficha-item .character-class { display: block; color: var(--gold); font-size: 11px; margin-top: 3px; }
.ficha-item small { display: block; color: var(--muted); font-size: 10px; line-height: 1.7; margin-top: 8px; }
.editor { min-width: 0; }
.character-overview { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px 24px; background: linear-gradient(110deg, #302b22, #23272b 68%); border: 1px solid #554632; border-radius: 12px 12px 0 0; }
.character-emblem { width: 58px; height: 64px; color: var(--gold); display: grid; place-items: center; border: 1px solid #6c5738; border-radius: 8px; background: #d3b17406; }
.character-emblem svg { width: 38px; height: 42px; }
.character-overview .eyebrow { font-size: 8px; margin-bottom: 4px; }
.character-overview h2 { margin: 0 0 3px; font: 24px/1.25 Georgia, serif; overflow-wrap: anywhere; }
.character-overview p { margin: 0; font-size: 11px; }
.level-token { text-align: center; padding-left: 18px; border-left: 1px solid #4c453a; }
.level-token span { display: block; color: var(--gold); font-size: 8px; letter-spacing: 2px; }
.level-token strong { font: 30px/1.3 Georgia, serif; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #202428; border: 1px solid #3f3b33; border-top: 0; border-radius: 0 0 12px 12px; margin-bottom: 22px; }
.summary-item { padding: 16px 22px; }
.summary-item + .summary-item { border-left: 1px solid #3a3d3e; }
.summary-item span { display: block; color: #b2bac0; font-size: 10px; margin-bottom: 4px; }
.summary-item strong { font: 25px/1 Georgia, serif; color: #eee7da; }
.editor-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.editor-tabs button { background: transparent; color: #9da6ad; padding: 12px 0; border: 0; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 500; white-space: nowrap; }
.editor-tabs button[aria-selected=true] { color: var(--gold-soft); border-bottom-color: var(--gold); }
.tab-panel > .card:last-child { margin-bottom: 0; }
.attribute-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.attribute-head h3 { margin: 0; }
.points-pill { color: var(--gold-soft); background: #332e24; border: 1px solid #5c4c31; border-radius: 5px; padding: 5px 9px; font-size: 10px; }
.attribute-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.attr { border: 1px solid #394148; border-radius: 7px; padding: 14px 10px 10px; text-align: center; background: #1c2024; }
.attr-title { display: grid; gap: 4px; }
.attr-title strong { font-size: 11px; color: #c9cfd4; font-weight: 500; }
.attr-title small { font-size: 10px; color: #a2abb3; }
.attr-controls { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 10px; }
.attr-controls .btn { background: #2a3035; color: #c9cfd4; border-color: #3c444b; width: 27px; min-width: 27px; min-height: 27px; padding: 0; font-size: 14px; }
.attr-controls .btn:hover { border-color: var(--gold); color: var(--gold-soft); }
.stat-total { font: 28px/1 Georgia, serif; color: var(--text); }
.field-hint { font-size: 10px; color: var(--muted); margin: 14px 0 0; }
.editor-footer { position: sticky; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 13px 16px; background: #24292ef5; border: 1px solid #495159; border-radius: 9px; box-shadow: 0 8px 28px #0005; z-index: 15; backdrop-filter: blur(12px); }
.editor-footer .save-hint { font-size: 10px; display: flex; align-items: center; gap: 8px; color: #bac1c6; }
.editor-footer .save-hint svg { width: 14px; height: 14px; color: var(--gold); }
.editor-footer .btn-danger { border-color: transparent; padding: 8px; font-size: 11px; }
.editor-footer .page-actions { margin-left: auto; }
.context-card { border-color: #665236; background: #2d2921; }
.context-card p { font-size: 12px; }
.empty-state { color: var(--muted); font-size: 12px; padding: 24px 12px; text-align: center; border: 1px dashed #424a51; border-radius: 7px; line-height: 1.7; }
.skill, .readonly-card { padding: 17px; border: 1px solid #394148; border-radius: 8px; background: #1b2024; margin-bottom: 12px; line-height: 1.65; }
.skill strong, .readonly-card > strong { display: block; color: #e9e4d8; }
.skill > div { color: #b7bfc6; font-size: 12px; margin-top: 5px; }
.skill small, .readonly-card > span { display: block; margin-top: 8px; font-size: 11px; }
.catalogo-skills { display: grid; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #363c41; }
.catalogo-skills strong { display: inline; }
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.catalog-grid > .card { margin-bottom: 0; }
.catalog-form { display: grid; gap: 18px; }
.catalog-content { margin-top: 24px; }
.catalog-content .readonly-card > .skill:first-of-type { margin-top: 16px; }
.campaign-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }
.campaign-intro .card { margin-bottom: 0; }
.campaign-intro .card p { font-size: 12px; color: var(--muted); margin: -7px 0 20px; }
.campaign-intro label { margin-bottom: 18px; }
.card-accent { border-top: 2px solid var(--gold); }
.mesa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mesa-item-card { padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); display: flex; flex-direction: column; gap: 20px; }
.mesa-item-card .campaign-symbol { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid #675437; border-radius: 7px; color: var(--gold); margin-bottom: 20px; }
.mesa-item-card strong { display: block; font: 22px/1.3 Georgia, serif; margin-bottom: 8px; }
.mesa-item-card .campaign-meta { font-size: 11px; color: var(--muted); }
.mesa-item-card .campaign-footer { display: flex; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 15px; }
.role-badge { padding: 4px 8px; border: 1px solid #615038; color: var(--gold-soft); border-radius: 4px; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.section-heading h2 { font: 25px/1.3 Georgia, serif; margin: 0; }
.notice { display: flex; align-items: center; gap: 10px; background: #252b29; border: 1px solid #394d40; border-radius: 8px; padding: 12px 16px; margin-bottom: 24px; }
.notice p { color: #b7c5bc; font-size: 12px; margin: 0; }
.combat-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
.combat-layout > section { min-width: 0; }
.combat-control .row-2 { grid-template-columns: 1fr; margin-top: 20px; }
.stack-actions { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.combat-actions { display: flex; gap: 6px; }
.combatente-card { border: 1px solid #394148; border-radius: 10px; padding: 20px; background: #1d2226; margin-bottom: 14px; }
.combatente-card .topbar { align-items: flex-start; margin-bottom: 20px; }
.combatente-card .topbar p { font-size: 11px; margin-top: 6px; }
.combatente-card .row-2 { margin-bottom: 16px; gap: 12px; }
.combatente-ativo { border-color: #a88952; border-left: 3px solid var(--gold); background: #29271f; }
.turn-tag { display: inline-block; font-size: 8px; letter-spacing: 1.2px; padding: 3px 7px; color: var(--gold-soft); background: #54452c; border-radius: 3px; margin-bottom: 12px; }
.combat-ficha { display: grid; gap: 10px; }
.combat-ficha .ficha-heading strong { display: block; font-size: 13px; margin: 0; }
.combat-ficha .ficha-heading span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.combat-ficha .ficha-stats { display: flex; flex-wrap: wrap; gap: 7px; }
.combat-ficha .ficha-stats span { font-size: 10px; border: 1px solid #40474e; padding: 4px 7px; border-radius: 4px; color: #bdc5cb; }
.badge { padding: 3px 7px; background: #3a3021; color: var(--gold-soft); border-radius: 4px; font-size: 10px; }
/* Login uses the same palette, with a restrained illustrated dice panel. */
.auth-page { background: #131719; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-story { display: flex; flex-direction: column; padding: 48px clamp(32px, 5vw, 88px); position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 50%, #363022 0, #1a1c1a 48%, #15191b 80%); border-right: 1px solid #343a3c; }
.auth-story .brand { margin: 0; z-index: 1; }
.auth-story-content { margin: auto 0; position: relative; z-index: 1; padding: 48px 0; }
.auth-story-content h1 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.08; margin-bottom: 24px; }
.auth-story-content h1 em { color: var(--gold-soft); font-weight: 400; }
.auth-story-content > p { color: #b2b6b3; max-width: 350px; font-size: 14px; line-height: 1.8; }
.auth-dice { position: absolute; right: -70px; bottom: -80px; width: 350px; height: 350px; opacity: .10; transform: rotate(12deg); color: var(--gold); }
.auth-features { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.auth-features span { color: #c6c2b6; font-size: 11px; display: flex; gap: 7px; align-items: center; }
.auth-features svg { color: var(--gold); width: 16px; height: 16px; }
.auth-caption { color: #8c969c; font-size: 10px; letter-spacing: 1px; margin: 0; z-index: 1; }
.auth-form-area { display: flex; align-items: center; justify-content: center; padding: 48px 30px; }
.auth-card { width: 100%; max-width: 370px; }
.auth-card h2 { font: 34px/1.2 Georgia, serif; margin: 0 0 10px; }
.auth-card > p { color: var(--muted); font-size: 12px; margin-bottom: 30px; }
.auth-card form { display: grid; gap: 20px; }
.auth-card .btn-wide { margin-top: 4px; }
.auth-switch { color: var(--muted); font-size: 12px; text-align: center; margin-top: 25px; }
.text-button { background: none; border: none; color: var(--gold-soft); font-size: inherit; font-weight: 600; padding: 4px; }
.text-button:hover { text-decoration: underline; }
.terms { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 1.6; }
.terms input { flex-shrink: 0; margin-top: 2px; }
.auth-rule { height: 1px; background: var(--border); margin-top: 30px; }
.auth-note { text-align: center; font-size: 10px; color: #8e989f; margin-top: 20px; }
@media (min-width: 1600px) { .builder-layout { grid-template-columns: 270px minmax(0, 1fr); } .container { padding-top: 40px; } }
@media (max-width: 1200px) { .container { padding: 28px; } .builder-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 20px; } .editor-tabs { gap: 16px; } .combat-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; } .stack-actions { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .app-sidebar { width: 190px; padding-left: 12px; padding-right: 12px; } .brand { font-size: 16px; gap: 8px; } .brand small { font-size: 6px; } .app-main { margin-left: 190px; } .builder-layout { grid-template-columns: 1fr; } .character-library { position: static; } #listaFichas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .library-caption { display: none; } .combat-layout { grid-template-columns: 1fr; } .campaign-intro { gap: 18px; } }
@media (max-width: 800px) {
  .app-sidebar { position: relative; width: 100%; height: auto; padding: 16px 24px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .app-sidebar .brand { margin: 0 0 16px; font-size: 18px; }
  .app-sidebar .brand small { font-size: 7px; }
  .nav-caption, .sidebar-note, .sidebar-footer { display: none; }
  .app-sidebar nav { display: flex; gap: 16px; }
  .nav-link { border: 0; border-radius: 0; padding: 10px 0 13px; margin: 0; gap: 7px; font-size: 12px; }
  .nav-link.active { border-bottom: 2px solid var(--gold); background: transparent; }
  .nav-link svg:last-child { display: none; }
  .app-main { margin-left: 0; }
  .container { padding: 24px; }
  .breadcrumb { margin-bottom: 20px; }
  .page-heading { margin-bottom: 24px; }
  .page-heading h1 { font-size: 34px; }
  .catalog-grid { gap: 18px; }
  .auth-layout { grid-template-columns: .9fr 1fr; }
  .auth-story { padding: 32px; }
  .auth-features { flex-direction: column; }
  .auth-dice { width: 260px; height: 260px; }
}
@media (max-width: 580px) {
  .app-sidebar { padding: 14px 18px 0; }
  .app-sidebar nav { justify-content: space-between; gap: 8px; }
  .nav-link { font-size: 11px; gap: 6px; }
  .nav-link svg:first-child { width: 15px; height: 15px; }
  .container { padding: 22px 16px 28px; }
  .breadcrumb { font-size: 10px; margin-bottom: 20px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .page-heading h1 { font-size: 35px; }
  .page-heading .muted { font-size: 12px; }
  .page-actions { width: 100%; }
  .page-actions .btn { flex: 1; }
  .card { padding: 20px; }
  .card-header { gap: 10px; }
  .row-2, .row-3, .campaign-intro, .catalog-grid, .mesa-grid { grid-template-columns: 1fr; }
  .character-library { padding: 14px; }
  #listaFichas { gap: 8px; }
  .ficha-item { padding: 12px 10px; }
  .ficha-item strong { font-size: 12px; }
  .ficha-item small { font-size: 9px; }
  .character-overview { padding: 20px 16px; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; }
  .character-emblem { width: 44px; height: 52px; }
  .character-emblem svg { width: 29px; height: 33px; }
  .character-overview h2 { font-size: 20px; }
  .character-overview p { font-size: 10px; }
  .level-token { padding-left: 10px; }
  .summary-item { padding: 15px 12px; }
  .summary-item span { font-size: 9px; min-height: 27px; }
  .summary-item strong { font-size: 24px; }
  .editor-tabs { justify-content: space-between; gap: 10px; }
  .editor-tabs button { font-size: 11px; }
  body[data-page=catalogo] .editor-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  body[data-page=catalogo] .editor-tabs button { text-align: left; }
  .attribute-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .attr { padding: 14px; }
  .editor-footer { bottom: 10px; padding: 11px; }
  .editor-footer .save-hint { display: none; }
  .editor-footer .page-actions { width: 100%; justify-content: space-between; }
  .editor-footer .page-actions .btn { flex: 0 1 auto; }
  .editor-footer .btn-danger { font-size: 10px; }
  .combatente-card { padding: 16px; }
  .combatente-card .topbar { flex-wrap: wrap; }
  .combatente-card .row-2 { grid-template-columns: 1fr 1fr; }
  .auth-layout { display: block; }
  .auth-story { padding: 26px 24px 24px; border-right: 0; border-bottom: 1px solid var(--border); }
  .auth-story .brand { font-size: 18px; }
  .auth-story-content { padding: 32px 0 4px; }
  .auth-story-content h1 { font-size: 39px; margin-bottom: 12px; }
  .auth-story-content > p { font-size: 12px; margin-bottom: 0; max-width: 270px; }
  .auth-features, .auth-caption { display: none; }
  .auth-form-area { padding: 32px 24px; }
  .auth-card h2 { font-size: 29px; }
  .auth-card > p { margin-bottom: 24px; }
  .auth-dice { width: 200px; height: 200px; bottom: -35px; right: -45px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
