/* =====================================================================
   aw-gear.css — Creación de personaje (menú Z-C): Personaje · Equipación · Traits · Oficios · Resumen · Creación de personaje
   1) MARCO COMÚN: mismas medidas en las 6 páginas para que nada salte al cambiar con Z / C.
   2) PIEZAS DE EQUIPO: interruptor de Personaje (.gfx), barra de sets de Equipación (#gset),
      «Estadísticas completas» del Resumen (.gsum) y modales de renombrar / eliminar (.gmod).
   Usa los tokens de la web (kit/tokens.css, css/aw-type.css, css/aw-ui.css) y el sistema canónico de botones.
   (Dis, 23/11/2026, local)
   ===================================================================== */
:root{
  --gx-gold:#e2c27a; --gx-gold-2:#c9b27f; --gx-line:rgba(201,178,127,.28); --gx-line-2:rgba(201,178,127,.45);
  --gx-ink:#efe6d2; --gx-ink-2:#d2ccbe; --gx-mut:#a39d91; --gx-bg:rgba(20,19,17,.78); --gx-bg-2:rgba(255,255,255,.035);
  --gx-blue:#7ec8ff; --gx-gap:clamp(16px,2vw,40px); --gx-top:14px;
}

/* ---------- 1. MARCO COMÚN ---------- */
/* La barra de desplazamiento no debe mover la página: el hueco se reserva siempre.
   Personaje y Oficios desplazan dentro de <main> (no la página): allí se reserva en <main>. */
html{scrollbar-gutter:stable}
/* Personaje y Oficios desplazan dentro de <main> (la página no): allí el hueco se reserva en <main> y la cabecera
   se recorta el mismo ancho (--aw-sbw lo mide js/aw-classmenu.js), así cabecera, menú Z-C y cajas miden igual en las 6 páginas. */
html:has(#char-info-view),html:has(#crafteo-app.is-prof-view){scrollbar-gutter:auto}
html body:not(#_):not(#__) main#main.aw-char:has(#char-info-view),
html body:not(#_):not(#__) main#main.aw-craft-screen.is-prof-view{scrollbar-gutter:stable}
html:has(#char-info-view) body:not(#_) header.aw-topbar,html:has(#crafteo-app.is-prof-view) body:not(#_) header.aw-topbar{box-sizing:border-box;padding-right:var(--aw-sbw,0px)!important}

/* Botones de icono de la fila de clase (compartir, descargar): mismo marco en todas las páginas */
html body:not(#_):not(#__) .tv2-head .tv2-ico{width:38px;height:38px;padding:0;color:#e8dfc6;background:rgba(20,19,17,.78);border:1px solid rgba(201,178,127,.4);border-radius:6px;box-shadow:none}
html body:not(#_):not(#__) .tv2-head .tv2-ico:hover{border-color:#e8c97a;color:#fff;background:rgba(201,178,127,.14)}
html body:not(#_):not(#__) .tv2-head .tv2-ico.is-copied{border-color:#7fcf6a;color:#bff0ad;background:rgba(127,207,106,.18)}

/* Fila de clase + «Editando»: misma altura y mismo margen inferior en todas */
html body:not(#_):not(#__) .tv2-head{padding-top:4px!important;padding-bottom:0!important;margin-top:3px!important;margin-bottom:0!important;flex-shrink:0!important}

/* Primera fila de cajas: misma distancia bajo la fila de clase (14px) y mismos márgenes laterales (--gx-gap) */
@media (min-width:1021px){
  html body:not(#_):not(#__) #char-info-view .main{padding:var(--gx-top) 0 72px!important;margin-inline:var(--gx-gap)!important}
  html body:not(#_):not(#__) #equip-app .eq-page{padding:var(--gx-top) 0 14px!important;margin-inline:var(--gx-gap)!important;column-gap:14px!important}
  html body:not(#_):not(#__) .aw-prof-layout{padding:var(--gx-top) 0 24px!important;margin-inline:var(--gx-gap)!important;column-gap:16px!important}
  html body:not(#_):not(#__) main.tt-page > .tt-body{margin-top:var(--gx-top)!important}
}

/* Tablet y móvil: mismo margen lateral (16px) y misma distancia bajo la fila de clase en todas */
@media (max-width:1020px){
  html body:not(#_):not(#__) .tv2-head{padding-left:16px!important;padding-right:16px!important}
  html body:not(#_):not(#__) main.tt-page{padding-left:16px!important;padding-right:16px!important}
  html body:not(#_):not(#__) main.tt-page > .tv2-head{padding-left:0!important;padding-right:0!important}
  html body:not(#_):not(#__) #char-info-view .main{width:auto!important;max-width:none!important;margin-inline:0!important;padding-left:16px!important;padding-right:16px!important;padding-top:var(--gx-top)!important;box-sizing:border-box}
  html body:not(#_):not(#__) #equip-app .eq-page{width:100%!important;align-self:stretch!important;max-width:none!important;margin-inline:0!important;padding-left:16px!important;padding-right:16px!important;padding-top:var(--gx-top)!important;box-sizing:border-box}
  html body:not(#_):not(#__) .aw-prof-layout{width:auto!important;max-width:none!important;margin-inline:0!important;padding-left:16px!important;padding-right:16px!important;padding-top:var(--gx-top)!important;box-sizing:border-box}
  html body:not(#_):not(#__) main.pubx{padding-left:0!important;padding-right:0!important}
  html body:not(#_):not(#__) .pubx-wrap{width:auto!important;max-width:none!important;margin-inline:0!important;padding-left:16px!important;padding-right:16px!important}
  html body:not(#_):not(#__) section.cs.cs--page{padding-left:16px!important;padding-right:16px!important}
}
/* Páginas sin fila de clase (Resumen y Creación de personaje): el contenido empieza a la misma distancia del menú Z-C (22px) */
html body:not(#_):not(#__) .pubx-wrap{padding-top:22px!important}
html body:not(#_):not(#__) section.cs.cs--page{padding-top:22px!important}

/* ---------- 2a. Interruptor e insignias comunes ---------- */
.gsw{display:inline-flex;align-items:center;gap:9px;cursor:pointer;user-select:none;min-width:0}
.gsw input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.gsw__track{position:relative;flex:none;width:32px;height:18px;border:1px solid var(--gx-line-2);background:rgba(10,10,12,.6);border-radius:9px;transition:background .16s,border-color .16s}
.gsw__track::after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#8a857a;transition:transform .16s,background .16s}
.gsw input:checked + .gsw__track{background:rgba(201,178,127,.3);border-color:var(--gx-gold)}
.gsw input:checked + .gsw__track::after{transform:translateX(14px);background:var(--gx-gold)}
.gsw input:focus-visible + .gsw__track{outline:2px solid var(--gx-gold);outline-offset:2px}
.gsw__lbl{font:600 .8125rem/1.25 Inter,system-ui,sans-serif;color:var(--gx-ink)}

.gchip{position:relative;display:inline-flex;align-items:center;cursor:pointer;user-select:none}
.gchip input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.gchip span{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:2px 10px 2px 8px;box-sizing:border-box;
  font:500 .75rem/1.2 Inter,system-ui,sans-serif;color:var(--gx-mut);background:rgba(10,10,12,.45);border:1px solid rgba(201,178,127,.22);transition:color .15s,background .15s,border-color .15s;white-space:nowrap}
.gchip span::before{content:"";flex:none;width:10px;height:10px;box-sizing:border-box;border:1px solid rgba(201,178,127,.5);transform:rotate(45deg);transition:background .15s}
.gchip:hover span{color:var(--gx-ink);border-color:var(--gx-line-2)}
.gchip input:checked + span{color:var(--gx-ink);background:rgba(201,178,127,.14);border-color:rgba(201,178,127,.55)}
.gchip input:checked + span::before{background:var(--gx-gold);border-color:var(--gx-gold)}
.gchip input:focus-visible + span{outline:2px solid var(--gx-gold);outline-offset:2px}
.gchip input:disabled + span{opacity:.4;cursor:default}

/* ---------- 2b. Personaje: «Incluir el efecto del equipo» ---------- */
html body:not(#_) .aw-char .gfx{display:flex;flex-direction:column;gap:8px;margin:4px 0 12px;padding:8px 12px 9px;box-sizing:border-box;
  background:var(--gx-bg-2);border:1px solid var(--gx-line);border-left:2px solid rgba(226,194,122,.7)}
.gfx__top{display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap}
.gfx__n{min-width:0;font:500 .75rem/1.3 Inter,system-ui,sans-serif;color:var(--gx-mut)}
.gfx__g{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.gfx__foot{display:flex;align-items:center;justify-content:space-between;gap:4px 12px;flex-wrap:wrap;min-height:14px}
.gfx__key{display:inline-flex;align-items:center;gap:5px;font:600 .75rem/1 Inter,system-ui,sans-serif;color:var(--gx-gold);white-space:nowrap}
.gfx__key i{width:0;height:0;border:4px solid transparent;border-bottom:6px solid var(--gx-gold);border-top:0}
.gfx.is-off .gfx__g,.gfx.is-off .gfx__key{opacity:.45}
.gfx.is-off .gfx__key{visibility:hidden}
/* bonos del equipo en dorado (los de puntos de atributo siguen en azul) */
html body:not(#_):not(#__) .aw-char .up.gfx-up,html body:not(#_):not(#__) .aw-char .up.gfx-up *{color:var(--gx-gold)!important}
html body:not(#_):not(#__) .aw-char .up.gfx-up i{border-bottom-color:var(--gx-gold)!important}
/* ATK/DEF/HP/SP con bono del equipo: los aumentos pasan a una segunda línea bajo la cifra y no se salen de la caja */
html body:not(#_):not(#__) .aw-char .qs:has(.has-gfx){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;justify-content:stretch!important;row-gap:8px!important}
html body:not(#_):not(#__) .aw-char .qs:has(.has-gfx) .q{min-width:0!important;align-items:flex-start}
html body:not(#_):not(#__) .aw-char .qs:has(.has-gfx) .q .dm{margin-top:2px}
html body:not(#_):not(#__) .aw-char .qs:has(.has-gfx) .q span.t{flex-wrap:wrap!important;min-width:0!important;row-gap:1px}
html body:not(#_):not(#__) .aw-char .qs:has(.has-gfx) .q .qb{flex-basis:100%;margin:0!important;display:flex!important;gap:8px}
html body:not(#_):not(#__) .aw-char .qs:has(.has-gfx) .q .qb .up{margin-left:0!important;font-size:12.5px}

/* ---------- 2c. Equipación: barra de sets ---------- */
/* Escritorio: una sola fila de 44px encima de las tres columnas (antes 71px + 12px: robaba alto a los huecos de equipo). */
html body:not(#_):not(#__) #equip-app .eq-page:has(> #gset){grid-template-rows:auto minmax(0,1fr)!important;row-gap:8px!important}
html body:not(#_):not(#__) #equip-app .eq-page > #gset{grid-column:1/-1}
.gset{display:block;box-sizing:border-box;margin:0;padding:6px 12px;color:var(--gx-ink-2);font:500 .8125rem/1.25 Inter,system-ui,sans-serif;
  border:1px solid transparent;border-image:var(--ui-frame,none) var(--ui-frame-slice,40) / var(--ui-frame-w,12px) / 0 stretch;background:var(--gx-bg)}
.gset__row{display:flex;flex-wrap:nowrap;align-items:center;gap:8px 22px}
.gset__g{position:relative;display:flex;align-items:center;gap:8px;min-width:0}
.gset__lbl{font:600 .9375rem/1.1 "EB Garamond",Georgia,serif;color:var(--gx-gold-2);letter-spacing:.02em;white-space:nowrap}
html body:not(#_) .gset select{flex:none;width:168px;height:32px;min-width:0;max-width:none;padding:0 26px 0 10px;box-sizing:border-box;color:var(--gx-ink);font:500 .8125rem Inter,system-ui,sans-serif;cursor:pointer;
  appearance:none;-webkit-appearance:none;background:rgba(10,10,12,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c9b27f'/%3E%3C/svg%3E") no-repeat right 10px center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
html body:not(#_) .gset select:focus-visible{outline:2px solid var(--gx-gold);outline-offset:1px}
.gset__acts{display:inline-flex;gap:4px}
html body:not(#_):not(#__) .gset :is(.gset__b,.gset__more){display:inline-grid;place-items:center;flex:none;width:32px;height:32px;min-width:0;min-height:0;padding:0;margin:0;box-sizing:border-box;cursor:pointer;color:#e8dfc6;border-radius:0;
  background:linear-gradient(180deg,rgba(28,26,22,.94),rgba(18,17,14,.96));border:1px solid rgba(198,175,118,.36);border-image:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.06);transition:border-color .15s,color .15s,background .15s}
html body:not(#_):not(#__) .gset :is(.gset__b,.gset__more):hover:not(:disabled),
html body:not(#_):not(#__) .gset .gset__more[aria-expanded="true"]{border-color:var(--gx-gold);color:#fff;background:rgba(201,178,127,.14)}
html body:not(#_):not(#__) .gset :is(.gset__b,.gset__more,.gset__mi):focus-visible{outline:2px solid var(--gx-gold);outline-offset:1px}
html body:not(#_):not(#__) .gset .gset__b--del:hover:not(:disabled){border-color:rgba(224,110,110,.8);color:#f3b5b5;background:rgba(224,110,110,.12)}
html body:not(#_):not(#__) .gset .gset__b:disabled{opacity:.32;cursor:default}
.gset__b::before,.gset__b::after,.gset__more::before,.gset__more::after,.gset__mi::before,.gset__mi::after{display:none!important}
html body:not(#_):not(#__) .gset .gset__more{display:none}
/* menú «⋯» (mismas cuatro acciones, con texto) */
.gset__menu{position:absolute;z-index:60;top:calc(100% + 6px);right:0;display:flex;flex-direction:column;min-width:210px;padding:5px;box-sizing:border-box;
  background:#16140f;border:1px solid rgba(201,178,127,.5);box-shadow:0 14px 34px rgba(0,0,0,.6)}
.gset__menu[hidden]{display:none!important}
html body:not(#_):not(#__) .gset .gset__mi{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;margin:0;padding:6px 12px;box-sizing:border-box;border:0;border-radius:0;background:none;box-shadow:none;
  color:var(--gx-ink);font:500 .875rem/1.2 Inter,system-ui,sans-serif;text-align:left;cursor:pointer;white-space:nowrap}
html body:not(#_):not(#__) .gset .gset__mi svg{flex:none;color:var(--gx-gold-2)}
html body:not(#_):not(#__) .gset .gset__mi:hover:not(:disabled),html body:not(#_):not(#__) .gset .gset__mi:focus-visible{background:rgba(201,178,127,.14);color:#fff}
html body:not(#_):not(#__) .gset .gset__mi--del{color:#f3b5b5}
html body:not(#_):not(#__) .gset .gset__mi--del svg{color:#e07a6a}
html body:not(#_):not(#__) .gset .gset__mi--del:hover:not(:disabled){background:rgba(224,110,110,.14)}
html body:not(#_):not(#__) .gset .gset__mi:disabled{opacity:.38;cursor:default}
/* nota: en la fila de escritorio solo el icono ⓘ (el texto va en title y para lectores de pantalla); con sitio, el texto entero */
/* nota: a 1021–1699 un botón ⓘ (32 px, 44 táctil) que abre un globo con el texto; a ≥1700 y ≤1020 el texto se ve en línea */
.gset__note{position:relative;display:flex;align-items:center;gap:6px;flex:none;margin:0 0 0 auto;font:400 .75rem/1.3 Inter,system-ui,sans-serif;color:var(--gx-mut)}
.gset__note svg{flex:none;width:16px;height:16px;color:var(--gx-gold-2)}
.gset__ic{display:none}
html body:not(#_):not(#__) .gset .gset__ni{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;min-width:0;min-height:0;margin:0;padding:0;box-sizing:border-box;cursor:pointer;border:1px solid transparent;border-radius:0;background:none;box-shadow:none}
html body:not(#_):not(#__) .gset .gset__ni::before,html body:not(#_):not(#__) .gset .gset__ni::after{display:none!important}
html body:not(#_):not(#__) .gset .gset__ni:hover,html body:not(#_):not(#__) .gset .gset__note.is-open .gset__ni{border-color:rgba(201,178,127,.45);background:rgba(201,178,127,.1)}
html body:not(#_):not(#__) .gset .gset__ni:focus-visible{outline:2px solid var(--gx-gold);outline-offset:1px}
.gset__nt{position:absolute;z-index:60;top:calc(100% + 6px);right:0;width:max-content;max-width:280px;padding:9px 12px;box-sizing:border-box;font:400 .8125rem/1.4 Inter,system-ui,sans-serif;color:var(--gx-ink-2);white-space:normal;
  background:#15130f;border:1px solid rgba(201,178,127,.45);box-shadow:0 10px 24px rgba(0,0,0,.55);visibility:hidden;opacity:0;transition:opacity .12s}
.gset__note.is-open .gset__nt{visibility:visible;opacity:1}
@media (hover:hover){ .gset__note:hover .gset__nt{visibility:visible;opacity:1} }
@media (min-width:1700px){
  html body:not(#_):not(#__) .gset .gset__ni{display:none}
  .gset__ic{display:inline-flex}
  .gset__note{flex:0 1 auto;min-width:0;position:static}
  .gset__nt{position:static;z-index:auto;width:auto;max-width:none;padding:0;background:none;border:0;box-shadow:none;visibility:visible;opacity:1;font-size:.75rem;color:var(--gx-mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
/* escritorio estrecho (1021–1339): los tres grupos reparten el ancho por igual; acciones en «⋯» */
@media (min-width:1021px) and (max-width:1339px){
  .gset__row{justify-content:space-between}
  .gset__g{flex:0 1 auto}
  /* los tres selectores miden lo mismo aunque las etiquetas no (ronda 2, N14) */
  html body:not(#_) .gset select{flex:none;width:clamp(128px,12vw,168px);max-width:none}
  html body:not(#_):not(#__) .gset .gset__acts{display:none}
  html body:not(#_):not(#__) .gset .gset__more{display:inline-grid}
}
/* tablet (641–1020): tres columnas; nombre del grupo arriba (entero) y selector + «⋯» debajo */
@media (max-width:1020px){
  .gset{margin:0 0 4px;padding:10px 14px}
  .gset__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px}
  .gset__g{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"l l" "s m";gap:5px 6px;align-items:center}
  .gset__lbl{grid-area:l;white-space:normal;overflow-wrap:anywhere}
  html body:not(#_) .gset select{grid-area:s;width:100%;height:40px}
  html body:not(#_):not(#__) .gset .gset__acts{display:none}
  html body:not(#_):not(#__) .gset .gset__more{grid-area:m;display:inline-grid;width:40px;height:40px}
  .gset__note{grid-column:1/-1;margin:0;flex:none;position:static} /* en línea: sin posicionar, para no pintarse encima del menú ⋯ abierto */
  html body:not(#_):not(#__) .gset .gset__ni{display:none}
  .gset__ic{display:inline-flex}
  .gset__nt{position:static;z-index:auto;width:auto;max-width:none;padding:0;background:none;border:0;box-shadow:none;visibility:visible;opacity:1;font-size:.75rem;color:var(--gx-mut);white-space:normal}
}
/* móvil: una fila por grupo (nombre · selector · «⋯»), ~170px en total */
@media (max-width:640px){
  .gset{padding:8px 12px}
  /* una fila por grupo; las etiquetas comparten columna (subgrid) para que los selectores queden alineados sin partir palabras */
  .gset__row{grid-template-columns:max-content minmax(0,1fr) auto;gap:6px 8px}
  .gset__g{grid-column:1/-1;grid-template-columns:subgrid;grid-template-areas:"l s m";gap:8px}
  .gset__lbl{font-size:.9375rem;line-height:1.1;white-space:nowrap;overflow-wrap:normal}
  html body:not(#_) .gset select{font-size:16px}
  .gset__note{margin-top:2px}
}
@media (pointer:coarse){
  html body:not(#_) .gset select{height:44px}
  html body:not(#_):not(#__) .gset :is(.gset__b,.gset__more){width:44px;height:44px}
  html body:not(#_):not(#__) .gset .gset__mi{min-height:44px}
}
@media (pointer:coarse) and (min-width:1021px){ .gset{padding:4px 12px} }

/* Equipación escritorio: los huecos se adaptan al alto de la ventana y el peso queda siempre a la vista */
@media (min-width:1021px){
  /* la columna de huecos mide su propio alto (container query): los 6 niveles + el peso caben sin scroll mientras el hueco no baje de 50px */
  html body:not(#_):not(#__) #equip-app .eq-left{container-type:size}
  html body:not(#_):not(#__) #equip-app .eq-left .eq-slot{--eqs:clamp(46px,calc((100cqh - 88px) / 6),74px);width:var(--eqs);height:var(--eqs)}
  html body:not(#_):not(#__) #equip-app .eq-left .eq-col--jewels{padding-top:calc(clamp(46px,calc((100cqh - 88px) / 6),74px) + 6px)}
  html body:not(#_):not(#__) #equip-app .eq-left{display:flex;flex-direction:column}
  html body:not(#_):not(#__) #equip-app .eq-left .eq-load{position:sticky;bottom:0;z-index:4;margin-top:auto;padding:8px 6px 10px;background:rgb(20,19,17);box-shadow:0 -10px 10px -6px rgba(20,19,17,.95)}
}
/* 1021–1180: el panel de estadísticas se ve (antes quedaba un hueco negro de 320px) y la columna central conserva ancho */
@media (min-width:1021px) and (max-width:1180px){
  html body:not(#_):not(#__) #equip-app .eq-page{grid-template-columns:260px minmax(0,1fr) 280px!important;column-gap:12px!important}
  html body:not(#_):not(#__) #equip-app .eq-right{display:block!important}
}

/* ---------- 2d. Resumen: «Estadísticas completas» ---------- */
.gsum{display:block}
.gsum__lead{margin:0 0 12px!important}
.gsum__ctl{display:flex;flex-direction:column;gap:8px;margin:0 0 14px;padding:10px 12px;background:var(--gx-bg-2);border:1px solid rgba(201,178,127,.2)}
.gsum__row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.gsum__k{min-width:72px;margin-right:4px;font:600 .6875rem/1.2 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gx-gold-2)}
.gsum__only{margin-left:auto}
.gsum__set{display:inline-flex;align-items:center;gap:6px;min-width:0;margin-right:10px;font:500 .8125rem/1.2 Inter,system-ui,sans-serif;color:var(--gx-ink-2)}
.gsum__set.is-off{opacity:.45}
/* mismo control que #gset: ancho fijo (no se mueve al cambiar de set), nombre completo en title */
html body:not(#_) .gsum__set select{width:168px;height:30px;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 24px 0 9px;box-sizing:border-box;color:var(--gx-ink);font:500 .8125rem Inter,system-ui,sans-serif;cursor:pointer;
  appearance:none;-webkit-appearance:none;background:rgba(10,10,12,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c9b27f'/%3E%3C/svg%3E") no-repeat right 9px center}
html body:not(#_) .gsum__set select:focus-visible{outline:2px solid var(--gx-gold);outline-offset:1px}
.gchip--attr input:checked + span::before{background:var(--gx-blue);border-color:var(--gx-blue)}
.gsum__h{margin:16px 0 4px;padding-bottom:5px;border-bottom:1px solid var(--gx-line);font:600 .6875rem/1.2 Inter,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--gx-gold-2)}
.gsum__tb{width:100%;border-collapse:collapse;table-layout:fixed;font:400 .8125rem/1.3 Inter,system-ui,sans-serif;color:var(--gx-ink-2)}
.gsum__tb td{padding:5px 8px;border-bottom:1px solid rgba(255,255,255,.05);vertical-align:middle}
.gsum__tb tr:hover td{background:rgba(201,178,127,.05)}
.gsum__tb td.l{width:34%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gsum__tb td.l img{display:inline-block;width:16px;height:16px;vertical-align:-3px;margin-right:8px;opacity:.85}
.gsum__tb td.n{width:76px;text-align:right;font:600 .875rem/1.2 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#f4ecd8;white-space:nowrap}
.gsum__tb tr.is-mod td.n{color:var(--gx-gold)}
.gsum__tb td.p{padding-left:16px}
.gsrc{display:inline-flex;align-items:center;gap:4px;margin:2px 6px 2px 0;padding:1px 7px;font:400 .6875rem/1.5 Inter,system-ui,sans-serif;font-style:normal;color:var(--gx-mut);white-space:nowrap;background:rgba(255,255,255,.04);border:1px solid rgba(201,178,127,.16)}
.gsrc b{font-weight:600;color:var(--gx-gold)}
.gsrc--attr b{color:var(--gx-blue)}
.gsum__note{display:block;margin-top:10px;font:400 .75rem/1.4 Inter,system-ui,sans-serif;color:var(--gx-mut)}
@media (max-width:640px){
  .gsum__ctl{padding:10px}
  .gsum__k{flex-basis:100%}
  .gsum__only{margin-left:0}
  /* una fila por grupo con etiquetas en columna común (subgrid, como #gset): nada se sale de la caja */
  .gsum__sets{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 10px}
  .gsum__sets > .gsum__k{grid-column:1/-1}
  .gsum__set{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:center;margin-right:0}
  html body:not(#_) .gsum__set select{width:100%;max-width:none;height:40px;font-size:16px}
  .gsum__tb,.gsum__tb tbody{display:block}
  .gsum__tb tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;padding:6px 2px;border-bottom:1px solid rgba(255,255,255,.06)}
  .gsum__tb td{display:block;padding:0;border:0}
  .gsum__tb td.l{width:auto;white-space:normal}
  .gsum__tb td.n{width:auto}
  .gsum__tb td.p{grid-column:1/-1;padding:3px 0 0 24px}
  .gsum__tb td.p:empty{display:none}
  .gsum__tb--x td.p{display:none}
}

/* ---------- 2e. Modales de sets (mismo aspecto que .aw-mod de la web; reglas propias por si aún no cargó) ---------- */
.gmod{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:16px;background:rgba(8,8,7,.62);backdrop-filter:blur(5px)}
.gmod .gmod__box{width:min(440px,100%);box-sizing:border-box;padding:20px 22px 18px;color:var(--gx-ink);background:#16140f!important;box-shadow:0 24px 60px rgba(0,0,0,.6)}
.gmod .aw-mod__title{margin:0 0 14px!important}
.gmod .aw-mod__text{margin:0 0 16px;color:#d9d3c4;font:400 .9375rem/1.5 Inter,system-ui,sans-serif}
.gmod .aw-mod__f{display:block;margin:0 0 6px}
.gmod .aw-mod__f span{display:block;margin-bottom:6px;color:var(--gx-gold-2);font:600 .75rem Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.gmod .aw-mod__f input{width:100%;box-sizing:border-box;padding:9px 12px;color:var(--gx-ink);font:400 1rem Inter,system-ui,sans-serif}
.gmod .aw-mod__f input:focus-visible{outline:2px solid var(--gx-gold);outline-offset:1px}
.gmod__hint{display:block;margin:0 0 16px;color:var(--gx-mut);font:400 .75rem/1.4 Inter,system-ui,sans-serif}
.gmod .aw-mod__acts{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}
.gmod .aw-mod__btn{min-width:110px;justify-content:center}
.gmod .aw-mod__btn.is-primary{border-color:rgba(232,201,122,.85);color:#fff6dc}
.gmod .aw-mod__btn.is-danger{border-color:rgba(224,110,110,.75);color:#f6c4c4;background:linear-gradient(180deg,rgba(70,26,24,.9),rgba(40,16,14,.95))}
.gmod .aw-mod__btn:focus-visible{outline:2px solid var(--gx-gold);outline-offset:2px}
@media (max-width:640px){.gmod .aw-mod__acts{flex-wrap:wrap}.gmod .aw-mod__btn{min-height:44px;flex:1 1 120px}.gmod .aw-mod__f input{font-size:16px}}

/* ---------- 3. Menú Z-C en tablet y móvil (común a las 6 páginas) ----------
   La flecha de volver va en la misma línea que los ítems (antes ocupaba una fila entera). Cada ítem mide lo que su
   etiqueta (en vez de 5 columnas iguales donde «Proficiencies» o «Zusammenfassung» pisaban a la vecina o se salían);
   el espacio sobrante se reparte. Si un idioma no cupiera, la etiqueta se recorta con «…» dentro de su ítem, nunca encima de otro. */
@media (max-width:899px){
  html body:not(#_):not(#__) nav.aw-zc-topbar{flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;padding:4px 10px!important}
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-back{flex:none;width:36px;height:36px;margin:0!important}
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__items{flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;gap:2px!important;justify-content:space-between!important;overflow:visible!important}
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__item{flex:1 1 auto!important;min-width:0!important;padding:3px 1px 5px!important;gap:3px!important;justify-content:flex-start!important}
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__item.is-on::after{left:14%!important;right:14%!important;bottom:-2px!important}
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__lbl{display:block!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;
    font-size:13px!important;line-height:1.15!important;white-space:nowrap!important;text-align:center!important;letter-spacing:0!important}
}
@media (max-width:420px){
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__lbl{font-size:12px!important}
}
/* N12: por debajo de 350 px (320) en de/it/en las 5 etiquetas no caben ni a 12 px: los ítems no activos quedan solo con su icono
   (todos distintos) y la etiqueta sigue en el árbol de accesibilidad; el activo conserva su nombre completo, sin «…» */
@media (max-width:350px){
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__item:not(.is-on) .aw-zc-topbar__lbl{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__item:not(.is-on){flex:1 1 0!important;justify-content:center!important}
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__item.is-on{flex:0 0 auto!important;padding-inline:4px!important}
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__item.is-on .aw-zc-topbar__lbl{overflow:visible!important;text-overflow:clip!important}
  /* R3-6: sin etiqueta, los iconos crecen (también el activo, para que los 5 sean iguales) (13→18 px dentro de un círculo de 28) para distinguirse mejor; caben en los ≥37 px de cada ítem */
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__item .aw-zc-topbar__icon{width:28px!important;height:28px!important;min-width:28px!important}
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__item .aw-zc-topbar__icon img{width:18px!important;height:18px!important}
}
@media (pointer:coarse) and (max-width:899px){
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-back{width:40px;height:40px}
  html body:not(#_):not(#__) nav.aw-zc-topbar .aw-zc-topbar__item{min-height:44px}
}

/* ---------- 4. Traits: la fila de clase se ordena como en las otras 3 páginas ----------
   (html.aw-pcx lo pone aw-create.js antes del primer pintado cuando habrá herramientas: así la fila nace ya con su forma
   final y las armas no cruzan la pantalla ~0,5 s después de cargar · N14 CLS) 
   Emblema · «Editando» + Guardar/Publicar/Descartar en la misma x que en Personaje/Equipación/Oficios; las herramientas propias
   de Traits (arma, «Opciones», imagen) van a la derecha y «compartir» queda siempre el último, en la misma x que en las demás. */
@media (min-width:1021px){
  html body:not(#_):not(#__) main.tt-page :is(.tv2-head:has(#aw-pc-tools),html.aw-pcx .tv2-head) > .tv2m,
  html body:not(#_):not(#__) main.tt-page :is(.tv2-head:has(#aw-pc-tools),html.aw-pcx .tv2-head) > .tv2m > .tv2m__items{display:contents!important}
  html body:not(#_):not(#__) main.tt-page :is(.tv2-head:has(#aw-pc-tools),html.aw-pcx .tv2-head) .tv2m__sep{display:none!important}
  html body:not(#_):not(#__) main.tt-page :is(.tv2-head:has(#aw-pc-tools),html.aw-pcx .tv2-head) > .tv2m .tv2-cls{order:0}
  html body:not(#_):not(#__) main.tt-page :is(.tv2-head:has(#aw-pc-tools),html.aw-pcx .tv2-head) #aw-pc-tools{order:1}
  html body:not(#_):not(#__) main.tt-page :is(.tv2-head:has(#aw-pc-tools),html.aw-pcx .tv2-head) .tv2m__wgrp{order:2;margin-left:auto!important}
  html body:not(#_):not(#__) main.tt-page :is(.tv2-head:has(#aw-pc-tools),html.aw-pcx .tv2-head) .tv2-opts{order:3;margin-left:0!important}
  html body:not(#_):not(#__) main.tt-page :is(.tv2-head:has(#aw-pc-tools),html.aw-pcx .tv2-head) .tv2-acts{order:4;margin-left:0!important}
  /* en táctil traits-v2.js mete «Puntos disponibles» en esta fila (100 %): va la última, como en orig, y no empuja armas/Opciones abajo */
  html body:not(#_):not(#__) main.tt-page :is(.tv2-head:has(#aw-pc-tools),html.aw-pcx .tv2-head) > .tt-points{order:9}
}
/* N11: aw-create.js deja el DOM como se ve (Opciones → imagen → compartir), así el tabulador sigue el mismo orden */
@media (min-width:1021px){
  html body:not(#_):not(#__) main.tt-page .tv2-head .tv2-opts{margin-left:auto!important}
  html body:not(#_):not(#__) main.tt-page .tv2-head .tv2-acts{margin-left:0!important}
}
/* escritorio estrecho: el arma solo con icono (el nombre va en title) y «Opciones» como botón de icono */
@media (min-width:1021px) and (max-width:1365px){
  html body:not(#_):not(#__) main.tt-page .tv2-head .tv2-wpn .tv2m__lbl{display:none!important}
  html body:not(#_):not(#__) main.tt-page .tv2-head .tv2-opts__btn{width:40px;min-width:40px!important;padding:0!important;font-size:0!important;gap:0!important;justify-content:center!important}
  html body:not(#_):not(#__) main.tt-page .tv2-head .tv2-opts__btn svg{display:none}
  html body:not(#_):not(#__) main.tt-page .tv2-head .tv2-opts__btn::before{content:"";display:block!important;position:static!important;width:18px;height:18px;background:currentColor;border:0!important;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E") center/18px no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E") center/18px no-repeat}
}
/* «Editando»: en escritorio estrecho (1021–1400px; R3-4: antes hasta 1279, y en ruso Traits partía la fila a 1366–1384) solo lápiz + nombre
   (la palabra y la clase siguen para lectores de pantalla); igual en las 4 páginas */
@media (min-width:1021px) and (max-width:1400px){
  html body:not(#_):not(#__) #aw-pc-tools .aw-pc-chip :is(.aw-pc-chip__k,small){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;margin:0!important;padding:0!important}
}
/* R3-4: a 1021–1100 px Guardar/Publicar/Descartar con 10 px de relleno lateral (antes 12) para que en ruso la fila de Traits no se parta;
   igual en las 4 páginas (se aplica a #aw-pc-tools en todas) */
@media (min-width:1021px) and (max-width:1100px){
  html body:not(#_):not(#__) #aw-pc-tools .aw-u-btn.aw-u-btn{padding:0 10px!important}
}

/* Guardar / Publicar / Descartar: misma tipografía y ancho en las 4 páginas (antes 70/70/128 px en unas y 71/71/131 en otras) */
html body:not(#_):not(#__) #aw-pc-tools .aw-u-btn{font-family:"EB Garamond","Cormorant Garamond",Georgia,serif!important;font-size:13px!important;font-weight:500!important;letter-spacing:.26px!important;padding:0 12px!important}

/* ---------- 5. Fila de clase en tablet y móvil (4 editores) ----------
   «Editando» y los botones alineados a 16px como el emblema y las cajas; el botón de compartir sube a la fila del emblema
   (arriba a la derecha) en vez de ocupar una fila propia. En Traits, el arma va solo con icono en esa fila. */
@media (max-width:1020px){
  html body:not(#_):not(#__) .tv2-head > #aw-pc-tools{flex:1 1 100%!important;width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box}
  html body:not(#_):not(#__) .tv2-head .tv2-acts{display:contents!important}
  html body:not(#_):not(#__) .tv2-head .tv2-share{position:absolute!important;top:16px;right:16px;z-index:5}
  html body:not(#_):not(#__) main.tt-page .tv2-head .tv2-share{right:0}
  html body:not(#_):not(#__) main.tt-page .tv2-head .tv2-opts{margin-left:auto!important}
  html body:not(#_):not(#__) main.tt-page .tv2-head > .tv2m{flex:1 1 100%;min-width:0;padding-right:52px;box-sizing:border-box}
  html body:not(#_):not(#__) main.tt-page .tv2-head .tv2m__sep{display:none!important}
  html body:not(#_):not(#__) main.tt-page .tv2-head .tv2-wpn .tv2m__lbl{display:none!important}
}

/* ---------- 6. Objetivos táctiles (≥40–44px) en las piezas nuevas ---------- */
.gfx__main{min-height:32px}
@media (pointer:coarse),(max-width:640px){
  .gfx__main,.gsum__only{min-height:44px}
  .gchip span{min-height:40px;padding:6px 12px 6px 10px;font-size:.8125rem}
  html body:not(#_) .gsum__set select{height:44px}
}
html body:not(#_) .gsum__set select{height:32px}
@media (max-width:640px){ html body:not(#_) .gsum__set select{height:44px} }

/* ---------- 7. Resumen ---------- */
/* caja «Traits»: título con su rombo y sangría como Atributos/Equipación/Oficios; el aviso vacío deja de pegarse al borde */
html body:not(#_):not(#__) .pubx-eqbox--tree > .ui-title{margin:0 18px 14px!important;padding:8px 24px 8px 45px!important}
html body:not(#_):not(#__) .pubx-eqbox--tree > .pubx-none{margin:0;padding:0 18px 18px}
/* en tablet y móvil la caja de equipo no lleva scroll propio dentro de una página que ya desplaza */
@media (max-width:1020px){ html body:not(#_):not(#__) .pubx-eqbox:not(.pubx-eqbox--tree){max-height:none!important;overflow:visible!important} }
/* «Estadísticas completas»: filas de controles separadas */
.gsum__row + .gsum__row{border-top:1px solid var(--gx-line);padding-top:10px}
/* estado vacío (sin borrador ni build) */
.pubx-empty{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:640px;margin:8px auto 0;padding:34px 28px 30px;box-sizing:border-box;text-align:center}
.pubx-empty__ico{display:grid;place-items:center;width:64px;height:64px;border:1px solid var(--gx-line-2);transform:rotate(45deg);margin:6px 0 14px}
.pubx-empty__ico svg{transform:rotate(-45deg);color:var(--gx-gold)}
html body:not(#_):not(#__) .pubx-empty .ui-title{margin:0!important;padding:0!important;background:none!important;border:0!important;font-size:1.375rem}
html body:not(#_):not(#__) .pubx-empty .ui-title::before,html body:not(#_):not(#__) .pubx-empty .ui-title::after{display:none!important}
.pubx-empty p{max-width:52ch;margin:0;color:#cfc8b8;font:400 .9375rem/1.55 Inter,system-ui,sans-serif}
.pubx-empty__acts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:12px}
html body:not(#_):not(#__) .pubx-empty__acts .aw-u-btn{min-height:40px;padding:0 16px;text-decoration:none}
/* N14: la acción principal del Resumen vacío con el mismo acento que «Publicar» */
html body:not(#_):not(#__) .pubx-empty__acts .aw-u-btn.is-primary{border-color:rgba(232,201,122,.85)!important;color:#fff6dc!important}
@media (max-width:640px){ .pubx-empty{padding:26px 16px 22px} .pubx-empty__acts{flex-direction:column;align-self:stretch} html body:not(#_):not(#__) .pubx-empty__acts .aw-u-btn{min-height:44px;justify-content:center} }

/* ---------- 8. Oficios: el botón de subir nivel no se sale de la caja en pantallas estrechas ---------- */
@media (max-width:480px){
  html body:not(#_):not(#__) .aw-prof-manual{flex-wrap:wrap!important;row-gap:10px}
  html body:not(#_):not(#__) .aw-prof-manual__btn{flex:1 1 100%!important;margin-left:0!important;white-space:normal!important;text-align:center;justify-content:center}
}

/* ---------- 9. Ronda 2 ---------- */
/* N3: Resumen «Sets» en tablet: tres columnas iguales con la etiqueta encima, como #gset a 641–1020 */
@media (min-width:641px) and (max-width:1020px){
  .gsum__sets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 14px;align-items:end}
  .gsum__sets > .gsum__k{grid-column:1/-1}
  .gsum__set{display:grid;gap:4px;margin-right:0}
  html body:not(#_) .gsum__set select{width:100%}
}

/* N4: pantallas táctiles anchas (iPad Pro horizontal, portátiles táctiles): con controles de 44 px no caben 3×4 botones; menú «⋯» hasta 1499 */
@media (pointer:coarse) and (min-width:1340px) and (max-width:1499px){
  html body:not(#_):not(#__) .gset .gset__acts{display:none}
  html body:not(#_):not(#__) .gset .gset__more{display:inline-grid}
}
@media (pointer:coarse) and (min-width:1021px) and (max-width:1699px){ html body:not(#_):not(#__) .gset .gset__ni{width:44px;height:44px} }

/* N5: portátiles con poco alto útil (1366×657, 1280×650, 1536×730…): la página hace un único scroll corto en lugar de
   meter scroll dentro de la columna de huecos; los huecos siguen enteros y las columnas rellenan el alto */
@media (min-width:1021px) and (max-height:760px){
  html body:not(#_):not(#__) #equip-app{height:max(calc(100dvh - var(--eq-top, 230px) - var(--eq-bottom, 30px)),540px)!important}
  /* R3-2: aquí desplaza <main> (no html): el hueco de la barra pasa a <main> y la cabecera se recorta --aw-sbw, como en Personaje y Oficios;
     antes había dos huecos (html vacío + main) y todo el marco saltaba 15 px al cambiar Personaje↔Equipación */
  html:has(#equip-app){scrollbar-gutter:auto}
  html body:not(#_):not(#__) main#main:has(#equip-app){scrollbar-gutter:stable}
  html:has(#equip-app) body:not(#_) header.aw-topbar{box-sizing:border-box;padding-right:var(--aw-sbw,0px)!important}
}

/* ronda 2 (#14): el pie del panel «Incluir el efecto del equipo» mide una línea en los dos estados (antes +31 px al desactivar) */
.gfx__foot{flex-wrap:nowrap}
html body:not(#_) .gfx__n{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gfx__key{flex:none}

/* N6: Oficios a 1021–1180 px: aw-fullwidth.css pide ≥1125 px (528+540) y el panel derecho se cortaba; aquí las dos columnas se reparten el ancho */
@media (min-width:1021px) and (max-width:1180px){
  html body:not(#_):not(#__) #crafteo-app .aw-prof-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  html body:not(#_):not(#__) #crafteo-app .aw-prof-layout > *{min-width:0}
}

/* N13: objetivos táctiles de 44 px en la fila de clase de las 4 páginas (antes compartir 38×40 y Guardar/Publicar/Descartar 40);
   crece igual en todas, así que entre páginas no se mueve nada */
@media (pointer:coarse){
  html body:not(#_):not(#__) #aw-pc-tools .aw-u-btn{min-height:44px!important;height:44px!important}
  html body:not(#_):not(#__) .tv2-head .tv2-ico{width:44px!important;height:44px!important;min-width:44px!important}
  html body:not(#_):not(#__) .tv2-head .tv2-opts__btn{min-height:44px!important}
}

/* R4-B (propuesta del árbitro, BAJA): con la columna ancha (contenido ≥480 px: escritorio ≥~1850 px, y tablet/1021–1100 a una columna) el panel
   «Incluir el efecto del equipo» pasa de 3 filas a 2: [interruptor · «▲ del equipo»] [chips · «N objetos equipados»],
   y se recortan 2+2+2+2+4+4 px de márgenes. Personaje vuelve a caber sin scroll a 1920×969 (1080p habitual), como en orig.
   Con la columna estrecha no cambia nada. Mismo orden en el DOM (lectores y tabulación iguales). */
html body:not(#_):not(#__) .aw-char :has(> .gfx){container:awgfx / inline-size}
@container awgfx (min-width:480px){
  html body:not(#_):not(#__) .aw-char .gfx{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:12px;row-gap:6px;align-items:center;padding-top:6px;padding-bottom:7px;margin-top:2px;margin-bottom:8px}
  html body:not(#_):not(#__) .aw-char .gfx > .gfx__top,html body:not(#_):not(#__) .aw-char .gfx > .gfx__foot{display:contents}
  html body:not(#_):not(#__) .aw-char .gfx .gfx__main{grid-column:1;grid-row:1;justify-self:start}
  html body:not(#_):not(#__) .aw-char .gfx .gfx__key{grid-column:2;grid-row:1;justify-self:end}
  html body:not(#_):not(#__) .aw-char .gfx .gfx__g{grid-column:1;grid-row:2}
  html body:not(#_):not(#__) .aw-char .gfx .gfx__n{grid-column:2;grid-row:2;justify-self:end;flex:none;max-width:100%;white-space:normal;text-align:right;font-size:12px;line-height:13px}
  html body:not(#_):not(#__) .aw-char .gfx + .qs{margin-bottom:10px}
}
