/* Ancho completo con márgenes estéticos · Personaje, Equipación, Oficios (13/11/2026, local). Sustituye a las cajas fijas centradas de aw-layout.css en escritorio. */
:root { --aw-fw-gap: clamp(16px, 2vw, 40px); }
@media (min-width: 1021px) {
  html body:not(#_) #char-info-view .main { width: auto !important; max-width: none !important; margin-inline: var(--aw-fw-gap) !important; grid-template-columns: minmax(380px, .9fr) minmax(0, 1fr) minmax(0, 1fr) !important; justify-content: stretch !important; }
  html body:not(#_) #equip-app .eq-page { width: auto !important; max-width: none !important; margin-inline: var(--aw-fw-gap) !important; flex: 1 1 auto; grid-template-columns: 296px minmax(0, 1fr) minmax(320px, 26vw) !important; justify-content: stretch !important; }
  html body:not(#_) #equip-app .eq-mid { max-width: none !important; }
  html body:not(#_) .aw-prof-layout { width: auto !important; max-width: none !important; margin-inline: var(--aw-fw-gap) !important; grid-template-columns: minmax(528px, 1fr) minmax(540px, 1fr) !important; justify-content: stretch !important; }
  html body:not(#_) .aw-prof-cards { grid-template-columns: repeat(auto-fill, 160px) !important; justify-content: center !important; }
}
/* Textos azules (mejoras que suma un cambio): siempre pegados al número al que afectan, sin pisarlo; las etiquetas largas ceden espacio */
html body:not(#_) .aw-char .st > *, html body:not(#_) .aw-char .q > * { min-width: 0; }
html body:not(#_) .aw-char .st .lb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body:not(#_) .aw-char .st .bn, html body:not(#_) .aw-char .q .bn, html body:not(#_) .aw-char .up { flex: none; white-space: nowrap; }
html body:not(#_) .aw-char .st .bn { display: inline-flex; align-items: center; }
html body:not(#_) .aw-char .st .bn .up { margin-left: 6px; }
html body:not(#_) .aw-char .t .qv + .bn .up, html body:not(#_) .aw-char .t .qv + .up { margin-left: 6px; }

/* un solo scroll: Personaje scrollea dentro de <main>; la página no */
html.tv2m-on:has(#char-info-view) { overflow: hidden !important; }
@media (min-width: 1021px) {
  /* como en Traits: la altura se calcula desde la posición real de la caja hasta el pie, no un tope fijo */
  html body:not(#_) #equip-app { height: calc(100dvh - var(--eq-top, 230px) - var(--eq-bottom, 30px)) !important; min-height: 420px; overflow: hidden !important; }
  html body:not(#_) #equip-app .eq-page { height: 100% !important; }
  html body:not(#_) #equip-app .eq-left, html body:not(#_) #equip-app .eq-right { height: 100% !important; max-height: 100% !important; overflow-y: auto !important;
    border: 1px solid transparent !important; border-image: var(--ui-frame) var(--ui-frame-slice) / var(--ui-frame-w) / 0 stretch !important; background: rgba(20, 19, 17, .78) !important; }
  html body:not(#_) #equip-app .eq-mid { height: 100% !important; max-height: 100% !important; overflow: hidden !important; }
}
html.tv2m-on body:not(#_) { box-sizing: border-box !important; }   /* el relleno inferior del pie ya no suma una segunda barra de scroll */
html.tv2m-on body:not(#_) { padding-bottom: 0 !important; }
