/* Oberfläche „Neu“ – Bausteine (nu-…) nach dem Website-Canvas 11/2026 (agg.css). Nur Variablen aus tokens.css, keine
   Farbwerte. Handy bis 760 px. Seiten nutzen diese Klassen und ergänzen Eigenes als nu-<seite>-… in ihrer eigenen Datei.

   Raster      nu-wrap · nu-sec, nu-sec-lg · nu-row, nu-row-w, nu-col, nu-grow, nu-sp · nu-g2 … nu-g6 (+ nu-keep2, nu-keep3)
               nu-split, nu-split-l · nu-scroll (+ nu-sm2) · nu-hide-m, nu-only-m · nu-only-light, nu-only-dark · nu-hr
   Schrift     nu-h0 … nu-h4 · nu-lbl (+ nu-lbl-g) · nu-mut, nu-sm, nu-xs, nu-num, nu-gtxt, nu-gold · nu-clamp1, nu-clamp2
               nu-head (Überschrift links, nu-more rechts) · nu-ph (Seitenkopf), nu-crumb
   Knöpfe      nu-b + nu-b-main | nu-b-2 | nu-b-soft | nu-b-line | nu-b-off · nu-b-lg, nu-b-sm, nu-b-ic, nu-b-full · nu-ico, nu-ico-s
   Karten      nu-card (+ nu-card-p, nu-card-me) · nu-flat
   Chips       nu-chip (+ nu-chip-on bzw. aria-pressed, nu-chip-l) · nu-tag + nu-tag-live | -demo | -soon | -new | -gold | -ink · nu-dot
   GG-Coins    nu-gg (+ nu-gg-chip, nu-gg-lg)
   Balken      nu-bar (+ nu-bar-g) mit <i style="width:…%">
   Umschalter  nu-seg (Segment) · nu-tabs (Reiter) – aktiv: nu-on, aria-pressed, aria-selected oder aria-current
   Avatar      nu-av (+ nu-av-s | -l | -xl | -xxl) um A.lookAv(…)
   Spiele      nu-gt (Kachel: nu-gt-c, nu-gt-tl, nu-gt-b, nu-gt-n, nu-gt-art) · nu-gr (Zeile) · nu-play (großes Feld, nu-pbtn)
               nu-gicon (+ -s | -l | -xl) · nu-plat
   Listen      nu-li (+ nu-li-c) · nu-rk
   Zustände    nu-empty (+ nu-empty-ic) · nu-note (+ nu-note-g) · nu-skel (+ nu-skel-txt)
   Eingabe     nu-fld (+ nu-fld-a) */

/* ---------- Raster ---------- */
.nu-wrap { width: 100%; max-width: var(--nu-max); margin: 0 auto; padding: 0 var(--nu-gutter); box-sizing: border-box; }
/* nur oben und unten: so dürfen nu-wrap (Seitenrand) und nu-sec auf demselben Element stehen */
.nu-sec { padding-block: var(--nu-sec); }
.nu-sec-lg { padding-block: var(--nu-sec-lg); }
.nu-row { display: flex; align-items: center; gap: var(--nu-s3); }
.nu-row-w { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.nu-col { display: flex; flex-direction: column; gap: var(--nu-s3); }
.nu-grow { flex: 1 1 0; min-width: 0; }
.nu-sp { justify-content: space-between; }
.nu-g2, .nu-g3, .nu-g4, .nu-g5, .nu-g6 { display: grid; gap: var(--nu-s4); }
.nu-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nu-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nu-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nu-g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.nu-g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.nu-split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--nu-s6); align-items: start; }
.nu-split-l { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: var(--nu-s6); align-items: start; }
.nu-only-m { display: none; }
/* Nur in einem Schema zeigen (als Block) */
.nu-only-light { display: var(--nu-show-light) !important; }
.nu-only-dark { display: var(--nu-show-dark) !important; }
.nu-hr { height: 1px; margin: 0; border: 0; background: var(--nu-line); }

/* ---------- Schrift ---------- */
.nu-h0, .nu-h1, .nu-h2, .nu-h3, .nu-h4 { margin: 0; font-family: var(--nu-font-head); color: inherit; }
.nu-h0 { font-weight: 700; font-size: var(--nu-fs-h0); line-height: 1.06; letter-spacing: -.01em; }
.nu-h1 { font-weight: 700; font-size: var(--nu-fs-h1); line-height: 1.14; letter-spacing: 0; }
.nu-h2 { font-weight: 600; font-size: var(--nu-fs-h2); line-height: 1.2; letter-spacing: 0; }
.nu-h3 { font-weight: 600; font-size: var(--nu-fs-h3); line-height: 1.25; letter-spacing: 0; }
.nu-h4 { font-weight: 600; font-size: var(--nu-fs-h4); line-height: 1.25; letter-spacing: 0; }
.nu-lbl { margin: 0; font: 800 var(--nu-fs-lbl)/1.3 var(--nu-font); letter-spacing: .07em; text-transform: uppercase; color: var(--nu-muted); }
.nu-lbl-g { color: var(--nu-brand-text); }
.nu-mut { color: var(--nu-muted); }
.nu-sm { font-size: var(--nu-fs-sm); line-height: 1.4; font-weight: 600; }
.nu-xs { font-size: var(--nu-fs-xs); line-height: 1.4; font-weight: 600; }
.nu-num { font-variant-numeric: tabular-nums; }
.nu-gtxt { color: var(--nu-brand-text); }
.nu-gold { color: var(--nu-gold-ink); }
.nu-clamp1 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nu-clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Kopf eines Abschnitts: Überschrift links, „Alle …“ rechts */
.nu-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--nu-s4); margin-bottom: var(--nu-s4); }
.nu-more { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; font-size: var(--nu-fs-sm); font-weight: 800; color: var(--nu-brand-text); white-space: nowrap; text-decoration: none; }
.nu-more:hover { text-decoration: underline; }
/* Seitenkopf */
.nu-ph { padding-block: 36px var(--nu-s2); }
.nu-crumb { display: flex; align-items: center; gap: var(--nu-s2); margin-bottom: 10px; font-size: var(--nu-fs-xs); font-weight: 700; color: var(--nu-muted); }

/* ---------- Knöpfe ---------- */
.nu-b { display: inline-flex; align-items: center; justify-content: center; gap: var(--nu-s2); box-sizing: border-box; min-height: 46px; padding: 0 var(--nu-s5); border: 0; border-radius: var(--nu-r-m); background: var(--nu-surface); color: var(--nu-ink); font: 800 15px/1.1 var(--nu-font); white-space: nowrap; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .08s, box-shadow .08s, background-color .15s; }
.nu-b:hover { background-image: linear-gradient(var(--nu-hover), var(--nu-hover)); }
.nu-b:focus-visible, .nu-chip:focus-visible, .nu-seg > :focus-visible, .nu-tabs > :focus-visible, .nu-more:focus-visible { outline: 3px solid var(--nu-focus); outline-offset: 2px; }
/* Hauptknopf: genau einer je Ansicht */
.nu-b-main { background: var(--nu-brand); color: var(--nu-brand-ink); box-shadow: var(--nu-edge); }
.nu-b-main:hover { background: var(--nu-brand-hi); }
.nu-b-main:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--nu-brand-edge); }
/* Zweitknopf */
.nu-b-2 { background: var(--nu-btn-2); color: var(--nu-btn-2-ink); box-shadow: var(--nu-edge-2); }
.nu-b-2:hover { background: var(--nu-btn-2-hi); }
.nu-b-2:active { transform: translateY(3px); box-shadow: 0 0 0 var(--nu-btn-2-edge); }
.nu-b-soft { background: var(--nu-brand-tint); color: var(--nu-brand-text); }
.nu-b-soft:hover { background: var(--nu-brand-tint-2); }
.nu-b-line { background: transparent; color: var(--nu-ink); box-shadow: inset 0 0 0 1.5px var(--nu-line); }
.nu-b-off:hover, .nu-b:disabled:hover, .nu-b[aria-disabled="true"]:hover { background-image: none; }
.nu-b-off, .nu-b:disabled, .nu-b[aria-disabled="true"] { background: var(--nu-surface-2); color: var(--nu-muted); box-shadow: none; transform: none; cursor: default; }
.nu-b-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.nu-b-sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: var(--nu-r-s); }
.nu-b-ic { width: 46px; padding: 0; flex: none; }
.nu-b-ic.nu-b-lg { width: 54px; }
.nu-b-ic.nu-b-sm { width: 38px; }
.nu-b-full { width: 100%; }
.nu-ico { width: 20px; height: 20px; flex: none; }
.nu-ico-s { width: 16px; height: 16px; flex: none; }

/* ---------- Karten ---------- */
/* In einer Karte liegt --nu-surface auf --nu-inset: Chips, Zeilen, Knöpfe und Felder bleiben dort in beiden Schemata sichtbar */
.nu-card { --nu-surface: var(--nu-inset); display: block; box-sizing: border-box; border-radius: var(--nu-r-l); background: var(--nu-card); color: var(--nu-ink); box-shadow: var(--nu-ring), var(--nu-sh); text-decoration: none; }
.nu-card.nu-row, .nu-card.nu-row-w { display: flex; }
.nu-card.nu-col { display: flex; }
.nu-card-p { padding: var(--nu-pad); }
.nu-card-me { box-shadow: var(--nu-ring-2), var(--nu-sh); }
a.nu-card, button.nu-card { border: 0; font: inherit; text-align: inherit; cursor: pointer; transition: transform .15s, box-shadow .15s; }
a.nu-card:hover, button.nu-card:hover { transform: translateY(-2px); box-shadow: var(--nu-ring-2), var(--nu-sh-2); }
a.nu-card:focus-visible, button.nu-card:focus-visible, .nu-gt:focus-visible, .nu-gr:focus-visible, .nu-play:focus-visible { outline: 3px solid var(--nu-focus); outline-offset: 3px; }
.nu-flat { border-radius: var(--nu-r-m); background: var(--nu-surface); }

/* ---------- Chips und Etiketten ---------- */
.nu-chip { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; min-height: 34px; padding: 0 var(--nu-s3); border: 0; border-radius: var(--nu-r-pill); background: var(--nu-surface); color: var(--nu-ink); font: 700 var(--nu-fs-xs)/1.2 var(--nu-font); white-space: nowrap; text-decoration: none; }
button.nu-chip, a.nu-chip { cursor: pointer; }
button.nu-chip:hover, a.nu-chip:hover { background-image: linear-gradient(var(--nu-hover), var(--nu-hover)); }
/* Gewählt = grüner Schimmer mit grüner Linie, nicht voll grün: Vollgrün bleibt dem einen Hauptknopf je Ansicht (CI) */
.nu-chip-on, .nu-chip[aria-pressed="true"], .nu-chip[aria-current="page"] { background: var(--nu-brand-tint); color: var(--nu-brand-text); box-shadow: inset 0 0 0 1.5px var(--nu-brand); }
button.nu-chip-on:hover, a.nu-chip-on:hover, .nu-chip[aria-pressed="true"]:hover, .nu-chip[aria-current="page"]:hover { background: var(--nu-brand-tint-2); background-image: none; }
.nu-chip-l { background: transparent; box-shadow: inset 0 0 0 1px var(--nu-line); }
.nu-tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: var(--nu-r-pill); font: 800 11px/1 var(--nu-font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.nu-tag-live { background: var(--nu-brand-tint-2); color: var(--nu-brand-text); }
/* mit feiner Linie: bleibt auch auf Zeilen in Karten sichtbar (dort liegt im Dunkeln dieselbe Fläche darunter) */
.nu-tag-demo { background: var(--nu-surface-2); color: var(--nu-ink); box-shadow: inset 0 0 0 1px var(--nu-line); }
.nu-tag-soon { background: transparent; color: var(--nu-muted); box-shadow: inset 0 0 0 1px var(--nu-line); }
.nu-tag-new { background: var(--nu-brand); color: var(--nu-brand-ink); }
.nu-tag-gold { background: var(--nu-gold-tint); color: var(--nu-gold-ink); }
.nu-tag-ink { background: var(--nu-ink); color: var(--nu-bg); }
.nu-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nu-brand); flex: none; }

/* ---------- GG-Coins (Gold) ---------- */
.nu-gg { display: inline-flex; align-items: center; gap: 6px; font-family: var(--nu-font-head); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--nu-gold-ink); white-space: nowrap; text-decoration: none; }
.nu-gg > img, .nu-gg > span:first-child:empty { width: 20px; height: 20px; flex: none; }
.nu-gg-chip { height: 38px; padding: 0 14px 0 9px; border-radius: var(--nu-r-pill); background: var(--nu-gold-tint); }
.nu-gg-lg { font-size: 28px; }
.nu-gg-lg > img, .nu-gg-lg > span:first-child:empty { width: 34px; height: 34px; }

/* ---------- Fortschritt ---------- */
.nu-bar { display: block; height: 8px; border-radius: var(--nu-r-pill); background: var(--nu-track); overflow: hidden; }
/* nur für Vorlese-Programme sichtbar */
.nu-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.nu-bar > i { display: block; height: 100%; border-radius: var(--nu-r-pill); background: var(--nu-brand); }
.nu-bar-g > i { background: var(--nu-gold); }

/* ---------- Segment und Reiter ---------- */
.nu-seg { display: inline-flex; gap: var(--nu-s1); padding: var(--nu-s1); border-radius: var(--nu-r-m); background: var(--nu-surface); }
.nu-seg > * { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 var(--nu-s4); border: 0; border-radius: var(--nu-r-s); background: transparent; color: var(--nu-muted); font: 800 var(--nu-fs-sm)/1.1 var(--nu-font); white-space: nowrap; text-decoration: none; cursor: pointer; }
.nu-seg > :hover { color: var(--nu-ink); }
.nu-seg > .nu-on, .nu-seg > [aria-pressed="true"], .nu-seg > [aria-selected="true"], .nu-seg > [aria-current="page"] { background: var(--nu-card); color: var(--nu-ink); box-shadow: 0 0 0 1px var(--nu-line); }
.nu-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--nu-line); overflow-x: auto; scrollbar-width: none; }
.nu-tabs::-webkit-scrollbar { display: none; }
.nu-tabs > * { flex: none; min-height: 44px; padding: var(--nu-s3) 14px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: transparent; color: var(--nu-muted); font: 800 14.5px/1.2 var(--nu-font); white-space: nowrap; text-decoration: none; cursor: pointer; }
.nu-tabs > :hover { color: var(--nu-ink); }
.nu-tabs > .nu-on, .nu-tabs > [aria-selected="true"], .nu-tabs > [aria-current="page"] { color: var(--nu-ink); border-bottom-color: var(--nu-brand); }

/* ---------- Avatar mit Rahmen ----------
   Hülle um A.lookAv(avatar, name, '', look): <span class="nu-av nu-av-l">${A.lookAv(…)}</span>. Die Hülle ist so groß wie der
   Rahmen; das Bild bekommt 70 % davon – so stehen Bilder mit und ohne Rahmen in einer Liste gleich groß untereinander. */
.nu-av { --nu-av: 44px; display: inline-grid; place-items: center; width: var(--nu-av); height: var(--nu-av); flex: none; }
html.agg-neu .nu-av > * > :first-child { width: calc(var(--nu-av) * .7); height: calc(var(--nu-av) * .7); font-size: calc(var(--nu-av) * .26); }
.nu-av-s { --nu-av: 34px; }
.nu-av-l { --nu-av: 72px; }
.nu-av-xl { --nu-av: 120px; }
.nu-av-xxl { --nu-av: 168px; }

/* ---------- Spiele ---------- */
.nu-gicon { width: 48px; height: 48px; border-radius: var(--nu-r-s); object-fit: cover; flex: none; background: var(--nu-surface-2); }
.nu-gicon-s { width: 36px; height: 36px; border-radius: 10px; }
.nu-gicon-l { width: 72px; height: 72px; border-radius: var(--nu-r-m); }
.nu-gicon-xl { width: 104px; height: 104px; border-radius: var(--nu-r-l); box-shadow: var(--nu-sh-2); }
.nu-plat { display: flex; align-items: center; gap: 6px; color: var(--nu-muted); }
.nu-plat svg { width: 15px; height: 15px; }
/* Kachel: Bild 16:9 (nu-gt-c), darunter Symbol, Name, Gattung (nu-gt-b). Ohne Bild: nu-gt-art mit Farbverlauf aus den Daten */
.nu-gt { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--nu-r-l); background: var(--nu-card); color: var(--nu-ink); box-shadow: var(--nu-ring), var(--nu-sh); text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.nu-gt:hover { transform: translateY(-3px); box-shadow: var(--nu-ring-2), var(--nu-sh-2); }
.nu-gt-c { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--nu-surface-2); }
.nu-gt-c > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nu-gt-tl { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.nu-gt-tl .nu-tag { background: var(--nu-art-tag); color: var(--nu-art-ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: none; }
.nu-gt-tl .nu-tag-live { color: var(--nu-art-live); }
.nu-gt-art { display: flex; align-items: flex-end; padding: 14px; background: var(--nu-art-card); color: var(--nu-art-ink); font: 700 22px/1.05 var(--nu-font-head); }
.nu-gt-b { display: flex; align-items: center; gap: var(--nu-s3); padding: var(--nu-s3) 14px 14px; }
.nu-gt-n { display: block; font: 600 16px/1.2 var(--nu-font-head); }
/* Zeile: Symbol, Name mit Zusatz, rechts ein Knopf oder Etikett (Suche, „Meine Spiele“, Listen) */
.nu-gr { display: flex; align-items: center; gap: var(--nu-s3); min-height: 56px; padding: var(--nu-s2); border-radius: var(--nu-r-m); color: var(--nu-ink); text-decoration: none; }
a.nu-gr:hover { background: var(--nu-hover); }
/* Großes Feld „sofort spielen“: Bild, Verlauf, unten Name und runder Knopf */
.nu-play { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--nu-r-l); background: var(--nu-art-card); color: var(--nu-art-ink); box-shadow: var(--nu-ring), var(--nu-sh); text-decoration: none; }
.nu-play > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.nu-play:hover > img { transform: scale(1.04); }
.nu-play-sc { position: absolute; inset: 0; background: var(--nu-scrim-b); }
.nu-play-in { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 14px; padding: var(--nu-s5); }
.nu-play .nu-mut { color: var(--nu-art-muted); }
.nu-play .nu-tag { background: var(--nu-art-tag); color: var(--nu-art-ink); box-shadow: none; }
.nu-play .nu-tag-live { color: var(--nu-art-live); }
.nu-pbtn { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; flex: none; background: var(--nu-brand); color: var(--nu-brand-ink); box-shadow: var(--nu-edge); }

/* ---------- Listenzeilen ---------- */
.nu-li { display: flex; align-items: center; gap: var(--nu-s3); padding: var(--nu-s3) 14px; border-radius: var(--nu-r-m); background: var(--nu-surface); color: var(--nu-ink); text-decoration: none; }
.nu-li-c { --nu-surface: var(--nu-inset); background: var(--nu-card); box-shadow: var(--nu-ring); }
a.nu-li:hover, button.nu-li:hover { background-image: linear-gradient(var(--nu-hover), var(--nu-hover)); }
a.nu-li-c:hover, button.nu-li-c:hover { background-image: none; box-shadow: var(--nu-ring-2); }
button.nu-li { width: 100%; border: 0; font: inherit; text-align: left; cursor: pointer; }
.nu-rk { width: 30px; flex: none; text-align: center; font: 700 var(--nu-fs)/1 var(--nu-font-head); color: var(--nu-muted); }
/* Platz 1 in Gold (steht nach .nu-rk, damit die Farbe gewinnt) */
.nu-rk.nu-gold { color: var(--nu-gold-ink); }

/* ---------- Zustände ---------- */
/* Leer: ein Satz und ein Knopf (optional ein Symbol aus /brand/icons/v2) */
.nu-empty { display: flex; flex-direction: column; align-items: center; gap: var(--nu-s3); padding: var(--nu-s8) var(--nu-s6); border-radius: var(--nu-r-l); background: var(--nu-surface); color: var(--nu-ink); text-align: center; }
.nu-empty > p { max-width: 46ch; margin: 0; color: var(--nu-muted); }
.nu-empty > .nu-b { margin-top: var(--nu-s2); }
.nu-empty-ic { width: 64px; height: 64px; object-fit: contain; }
/* Hinweis: grün = gut zu wissen, Gold = Belohnung wartet */
.nu-note { padding: 14px var(--nu-s4); border-radius: var(--nu-r-m); background: var(--nu-brand-tint); color: var(--nu-ink); font-size: var(--nu-fs-sm); font-weight: 600; }
.nu-note-g { background: var(--nu-gold-tint); }
/* Ladezustand: Platzhalter in der Form des späteren Inhalts (Maße per Klasse oder style) */
.nu-skel { display: block; min-height: 12px; border-radius: var(--nu-r-s); background: var(--nu-surface-2) linear-gradient(90deg, transparent 25%, var(--nu-hover) 50%, transparent 75%) 0 0 / 200% 100%; animation: nu-skel 1.4s linear infinite; }
.nu-skel-txt { height: 14px; border-radius: var(--nu-r-pill); }
@keyframes nu-skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .nu-skel { animation: none; } .nu-b, a.nu-card, .nu-gt, .nu-play > img { transition: none; } }

/* ---------- Eingabe ----------
   input, textarea oder eine Hülle mit Symbol und input. Mit html.agg-neu.agg-next davor, weil web/next allen Eingabefeldern
   feste dunkle Farben gibt (.agg-next input[type=text] …). */
html.agg-neu.agg-next .nu-fld { display: flex; align-items: center; gap: 10px; box-sizing: border-box; width: 100%; min-height: 50px; padding: 0 var(--nu-s4); border: 0; border-radius: var(--nu-r-m); background: var(--nu-surface); color: var(--nu-ink); font: 600 var(--nu-fs)/1.3 var(--nu-font); box-shadow: inset 0 0 0 1px var(--nu-line); }
html.agg-neu.agg-next .nu-fld::placeholder { color: var(--nu-muted); opacity: 1; }
html.agg-neu.agg-next .nu-fld:focus, html.agg-neu.agg-next .nu-fld:focus-within { outline: none; box-shadow: inset 0 0 0 2px var(--nu-focus); }
html.agg-neu.agg-next .nu-fld-a { align-items: flex-start; min-height: 120px; padding: 14px var(--nu-s4); resize: vertical; }
/* Feld in einer Hülle (z. B. Lupe davor): das innere Feld ohne eigenen Rahmen */
html.agg-neu.agg-next .nu-fld > input { flex: 1; min-width: 0; min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; box-shadow: none; outline: none; }
html.agg-neu.agg-next .nu-fld > input::placeholder { color: var(--nu-muted); opacity: 1; }

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  .nu-g2, .nu-g3, .nu-g4, .nu-g5, .nu-g6, .nu-split, .nu-split-l { grid-template-columns: minmax(0, 1fr); gap: var(--nu-s3); }
  .nu-keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nu-keep3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Wischreihe: am Rechner ein Raster, am Handy nebeneinander zum Wischen (bis an den Bildschirmrand) */
  .nu-scroll { display: flex; gap: var(--nu-s3); overflow-x: auto; margin: 0 calc(-1 * var(--nu-gutter)); padding: 2px var(--nu-gutter) 6px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--nu-gutter); scrollbar-width: none; }
  .nu-scroll::-webkit-scrollbar { display: none; }
  .nu-scroll > * { flex: 0 0 78%; scroll-snap-align: start; }
  .nu-scroll.nu-sm2 > * { flex-basis: 46%; }
  .nu-hide-m { display: none !important; }
  .nu-only-m { display: flex; }
  .nu-ph { padding: var(--nu-s5) 0 var(--nu-s1); }
  .nu-b-lg { min-height: 52px; }
  .nu-play { aspect-ratio: 16 / 11; }
  .nu-gt-b { gap: 10px; padding: 10px var(--nu-s3) var(--nu-s3); }
  .nu-gt-b .nu-gicon { width: 36px; height: 36px; border-radius: 10px; }
  .nu-gt-n { font-size: 14.5px; white-space: normal; }
  .nu-seg > * { padding: 0 var(--nu-s3); }
  .nu-tabs > * { padding: var(--nu-s3) 11px; }
  .nu-empty { padding: var(--nu-s7) var(--nu-s4); }
}
/* Touch-Geräte: Tippflächen mindestens 44 px */
@media (pointer: coarse) {
  .nu-b-sm, .nu-seg > *, button.nu-chip, a.nu-chip { min-height: 44px; }
  .nu-b-ic.nu-b-sm { width: 44px; }
}

/* Das Attribut hidden gewinnt immer – auch gegen Bausteine, die display setzen (nu-li, nu-row …) */
.nu-li[hidden], .nu-row[hidden], .nu-row-w[hidden], .nu-col[hidden], .nu-card[hidden], .nu-flat[hidden], .nu-b[hidden], .nu-chip[hidden], .nu-tag[hidden], .nu-note[hidden], .nu-empty[hidden], .nu-gt[hidden], .nu-gr[hidden], .nu-play[hidden], .nu-seg[hidden], .nu-tabs[hidden], .nu-head[hidden], .nu-g2[hidden], .nu-g3[hidden], .nu-g4[hidden], .nu-g5[hidden], .nu-g6[hidden], .nu-split[hidden], .nu-split-l[hidden], .nu-scroll[hidden], .nu-gg[hidden], .nu-bar[hidden], .nu-av[hidden], .nu-fld[hidden], .nu-rk[hidden], .nu-sec[hidden], .nu-wrap[hidden] { display: none !important; }
