@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap');

/*
 * PS5 Remote Bridge - Oberflaeche.
 *
 * Leitidee: Abend vor der Konsole. Tiefes Nachtblau als Grund, darueber
 * langsam ziehende Lichtschleier (Aurora) in PlayStation-Blau, Cyan und
 * Violett, dazu schwebende Tastensymbole (Dreieck, Kreis, Kreuz, Quadrat)
 * in ihren Originalfarben. Flaechen sind Glas statt Blech: halbtransparent,
 * weichgezeichnet, mit Lichtkante oben. Bewegung kommt nur von transform/
 * opacity (GPU), und der Player selbst (body.player) bekommt davon nichts,
 * damit beim Spielen keine Grafikleistung verloren geht.
 *
 * Alle bisherigen Klassennamen bleiben gueltig - die Seiten-Skripte setzen
 * sie direkt (.focused, .done, .msg.err, .status-dot.bereit ...).
 */

:root {
  --ink:        #050A18;   /* Seitengrund */
  --ink-2:      #0A1430;
  --surface:    rgba(255,255,255,.055);
  --surface-2:  rgba(255,255,255,.085);
  --surface-solid: #0E1A36;
  --line:       rgba(160,190,255,.16);
  --line-strong: rgba(160,190,255,.32);

  --accent:     #2F8CFF;   /* PlayStation-Blau, aufgehellt */
  --accent-2:   #00D4FF;   /* Cyan */
  --accent-3:   #7B5CFF;   /* Violett */
  --accent-dim: #1D5FC4;
  --glow:       rgba(47,140,255,.55);

  --live:       #3DE6A0;
  --warn:       #FFC15C;
  --danger:     #FF5D72;
  --text:       #EEF3FF;
  --muted:      #93A6CC;

  /* Tastensymbole */
  --sym-tri:    #3DE6A0;
  --sym-cir:    #FF5D72;
  --sym-x:      #6FA8FF;
  --sym-sq:     #E87BE9;

  --radius-card: 20px;
  --radius-control: 12px;
  --font-display: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 50% -10%, #0F2457 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 55%, #03060F 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

/* ---- Lebendiger Hintergrund ------------------------------------------- */

/* Aurora: drei grosse weiche Lichtflecken, die sich langsam verschieben. */
body::before {
  content: "";
  position: fixed;
  inset: -25vmax;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 30% 35%, rgba(47,140,255,.38), transparent 70%),
    radial-gradient(closest-side at 72% 28%, rgba(123,92,255,.30), transparent 70%),
    radial-gradient(closest-side at 60% 75%, rgba(0,212,255,.22), transparent 70%),
    radial-gradient(closest-side at 18% 80%, rgba(232,123,233,.14), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes aurora {
  0%   { transform: translate3d(-4%, -3%, 0) rotate(0deg) scale(1); }
  35%  { transform: translate3d(5%, 2%, 0) rotate(8deg) scale(1.08); }
  70%  { transform: translate3d(-2%, 5%, 0) rotate(-6deg) scale(1.03); }
  100% { transform: translate3d(4%, -4%, 0) rotate(4deg) scale(1.1); }
}

/* Schwebende Tastensymbole: eine Kachel aus SVG-Formen, die langsam nach
   oben treibt. Bewusst sehr leise (Deckkraft), sie sollen Stimmung machen,
   nicht vom Inhalt ablenken. */
body::after {
  content: "";
  position: fixed;
  inset: -420px 0 0 0;
  z-index: -1;
  pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M70 40 L96 86 L44 86 Z' stroke='%233DE6A0'/%3E%3Ccircle cx='300' cy='70' r='24' stroke='%23FF5D72'/%3E%3Cpath d='M180 210 L222 252 M222 210 L180 252' stroke='%236FA8FF'/%3E%3Crect x='330' y='280' width='44' height='44' rx='3' stroke='%23E87BE9'/%3E%3Cpath d='M60 300 L78 331 L42 331 Z' stroke='%233DE6A0' opacity='.6'/%3E%3Ccircle cx='150' cy='370' r='14' stroke='%23FF5D72' opacity='.6'/%3E%3Cpath d='M380 150 L398 168 M398 150 L380 168' stroke='%236FA8FF' opacity='.6'/%3E%3Crect x='250' y='150' width='22' height='22' rx='2' stroke='%23E87BE9' opacity='.6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 420px 420px;
  animation: drift 90s linear infinite;
  will-change: transform;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-140px, 420px, 0); }
}

/* Player: kein Hintergrund-Schauspiel waehrend gestreamt wird. */
body.player { background: #000; }
body.player::before, body.player::after { display: none; }

/* ---- Typografie -------------------------------------------------------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}

.gradient-text {
  background: linear-gradient(100deg, #FFFFFF 0%, #BFD8FF 40%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Einblend-Animation beim Laden ------------------------------------ */

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.shell > *, .home-shell > *, .gate-card, .cc-shell > * {
  animation: rise .6s var(--ease-out) backwards;
}
.shell > *:nth-child(2), .home-shell > *:nth-child(2) { animation-delay: .05s; }
.shell > *:nth-child(3), .home-shell > *:nth-child(3) { animation-delay: .1s; }
.shell > *:nth-child(4), .home-shell > *:nth-child(4) { animation-delay: .15s; }
.shell > *:nth-child(5), .home-shell > *:nth-child(5) { animation-delay: .2s; }
.shell > *:nth-child(n+6), .home-shell > *:nth-child(n+6) { animation-delay: .25s; }

/* ---- Grundlayout -------------------------------------------------------- */

.shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 16px;
  margin-bottom: 28px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 30px rgba(0,0,0,.25);
}

.brand {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Marke: Glas-Baustein mit umlaufendem Farbverlauf. */
.brand-mark {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: .02em;
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    conic-gradient(from var(--spin, 0deg), var(--accent), var(--accent-2), var(--accent-3), var(--sym-sq), var(--accent)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 18px rgba(47,140,255,.45);
  animation: spin-border 6s linear infinite;
}
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin-border { to { --spin: 360deg; } }

/* ---- Glas-Flaechen ------------------------------------------------------ */

.console-card, .step, .gate-card {
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 40px rgba(0,0,0,.28);
}

.console-card { padding: 24px; margin-bottom: 28px; }

.console-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.console-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.console-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.state.live    { color: var(--live);   border-color: rgba(61,230,160,.35); }
.state.live .dot   { background: var(--live); box-shadow: 0 0 10px var(--live); animation: pulse-dot 1.8s ease-in-out infinite; }
.state.off .dot    { background: var(--muted); }
.state.busy  { color: var(--warn); border-color: rgba(255,193,92,.35); }
.state.busy .dot   { background: var(--warn); }

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: .55; }
}

/* ---- Bedienelemente ----------------------------------------------------- */

button, .btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .18s var(--ease-out), border-color .18s, background .18s, box-shadow .18s;
}
button:hover, .btn:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}
button:active, .btn:active { transform: translateY(0) scale(.98); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--accent), 0 0 18px var(--glow);
}
button:disabled { opacity: .45; cursor: not-allowed; transform: none; }

button.primary, .btn.primary {
  background: linear-gradient(120deg, var(--accent) 0%, #3E7BFF 45%, var(--accent-2) 100%);
  background-size: 200% 100%;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px rgba(47,140,255,.35);
}
button.primary:hover, .btn.primary:hover {
  background-position: 100% 0;
  box-shadow: 0 10px 28px rgba(0,212,255,.4);
}

button.ghost { background: transparent; border-color: transparent; }
button.ghost:hover { background: var(--surface-2); border-color: var(--line); }

.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

input[type=text], input[type=password], input[type=number], select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  background: rgba(3,8,20,.45);
  color: var(--text);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus, select:focus {
  border-color: var(--accent);
  background: rgba(3,8,20,.6);
}
select option { background: var(--surface-solid); }
input::placeholder { color: #61779F; }
input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }

label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
label > input, label > select { margin-top: 6px; }

/* ---- Einrichtungsschritte ---------------------------------------------- */

.step { padding: 20px 22px; margin-bottom: 16px; }

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.step-num {
  width: 30px; height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(47,140,255,.12);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  display: grid; place-items: center;
}
.step.done .step-num {
  background: var(--live); border-color: var(--live); color: #04140C;
  box-shadow: 0 0 16px rgba(61,230,160,.5);
}
.step.done { border-color: rgba(61,230,160,.28); }

.step-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.step-body { padding-left: 42px; }
.step p { color: var(--muted); font-size: 13.5px; margin: 6px 0 12px; }

/* ---- Rueckmeldungen ---------------------------------------------------- */

.msg { font-size: 13.5px; margin-top: 10px; min-height: 20px; }
.msg.ok   { color: var(--live); }
.msg.err  { color: var(--danger); }

.device {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 14px; margin-bottom: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
}
.device-meta { color: var(--muted); font-size: 12.5px; }

.note {
  color: var(--muted);
  font-size: 12.5px;
  border-left: 2px solid var(--accent-dim);
  padding-left: 12px;
  margin-top: 14px;
}

/* ---- Loginseite --------------------------------------------------------- */

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.gate-card {
  width: 100%;
  max-width: 400px;
  padding: 36px 32px 30px;
  border-radius: 26px;
  position: relative;
}
.gate-card::before {
  /* Lichtkante, die langsam um die Karte laeuft */
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, var(--accent-2) 80%, var(--accent) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-border 7s linear infinite;
  pointer-events: none;
}
.gate-title { font-size: 26px; margin-bottom: 4px; }
.gate-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.gate-hero {
  display: flex; gap: 14px; justify-content: center;
  margin: -4px 0 26px;
}

/* ---- Startbildschirm ---------------------------------------------------- */

.home-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 40px 120px;
}

.home-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: 46px;
}
.home-tagline { margin-top: 2px; font-size: 13px; color: var(--muted); }
.home-profile { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 15px; }
.home-clock {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.home-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 0 2px rgba(255,255,255,.15), 0 6px 18px rgba(123,92,255,.35);
}

.home-hero { margin-bottom: 26px; }
.home-greeting {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: var(--accent-2);
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 6px;
}
.home-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
}

/* Einstellungs-Leiste unter dem Titel (Controller, Qualitaet automatisch) */
.home-options {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 22px 0 36px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip input { margin: 0; }
.chip:has(input:checked) { color: var(--text); border-color: rgba(47,140,255,.5); background: rgba(47,140,255,.14); }
.chip .chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.chip.ok .chip-dot { background: var(--live); box-shadow: 0 0 8px var(--live); }

.tile-section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
}

/* ---- alte einfache Kacheln (Nutzerverwaltung u.a.) ---------------------- */

.tile-grid { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 44px; }

.tile {
  position: relative;
  width: 190px; height: 190px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 20px;
  cursor: pointer;
  font-family: var(--font-display);
  color: var(--text);
  transition: transform .2s var(--ease-out), border-color .2s, box-shadow .2s;
}
.tile-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--surface-2);
  display: grid; place-items: center; font-size: 24px;
}
.tile-label { font-size: 15px; font-weight: 600; text-align: center; }
.tile-sub { font-size: 11px; color: var(--muted); text-align: center; }
.tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tile.focused {
  border-color: rgba(255,255,255,.85);
  transform: scale(1.07);
  box-shadow: 0 0 0 3px rgba(47,140,255,.35), 0 0 30px var(--glow), 0 18px 36px rgba(0,0,0,.45);
  z-index: 1;
}
.tile.add { border-style: dashed; }
.tile.add .tile-icon { background: transparent; border: 1px dashed var(--line-strong); }
.tile.danger-hover:hover { border-color: var(--danger); }

.tile-options {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(3,8,20,.55);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 15px;
  color: var(--muted);
  padding: 0;
  z-index: 2;
  transition: color .18s, border-color .18s, transform .3s var(--ease-out);
}
.tile-options:hover { color: var(--text); border-color: var(--line-strong); transform: rotate(60deg); }

.status-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--muted); flex: none;
}
.status-dot.bereit, .status-dot.im_spiel { background: var(--live); box-shadow: 0 0 10px var(--live); animation: pulse-dot 2s ease-in-out infinite; }
.status-dot.ruhezustand { background: var(--warn); box-shadow: 0 0 8px rgba(255,193,92,.6); }
.status-dot.nicht_erreichbar { background: var(--danger); }

.role-badge {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
}
.role-badge.admin { color: #fff; border-color: transparent; background: linear-gradient(120deg, var(--accent-3), var(--accent)); }

.user-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px; margin-bottom: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .18s, box-shadow .18s, transform .18s var(--ease-out);
}
.user-row.focused { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(47,140,255,.25), 0 0 20px var(--glow); transform: translateX(4px); }

/* ---- Konsolen-Kacheln --------------------------------------------------- */

.console-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.console-card-tile {
  --hue: 215;
  min-height: 400px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 70% at 50% 0%, hsla(var(--hue), 95%, 60%, .28), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 22px 22px 20px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.3);
  transition: transform .28s var(--ease-out), border-color .28s, box-shadow .28s;
  animation: rise .7s var(--ease-out) backwards;
}
.console-card-tile:nth-child(2) { animation-delay: .08s; }
.console-card-tile:nth-child(3) { animation-delay: .16s; }
.console-card-tile:nth-child(n+4) { animation-delay: .24s; }

/* Lichtstreifen, der beim Fokus ueber die Karte wischt */
.console-card-tile::after {
  content: "";
  position: absolute; top: -50%; bottom: -50%; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent);
  transform: translateX(-120%) rotate(12deg);
  pointer-events: none;
}
.console-card-tile:hover, .console-card-tile.focused {
  transform: translateY(-6px) scale(1.025);
  border-color: rgba(255,255,255,.7);
  box-shadow:
    0 0 0 2px hsla(var(--hue), 95%, 65%, .35),
    0 0 40px hsla(var(--hue), 95%, 60%, .45),
    0 26px 50px rgba(0,0,0,.45);
}
.console-card-tile:hover::after, .console-card-tile.focused::after {
  animation: sheen 1.1s var(--ease-out);
}
@keyframes sheen { to { transform: translateX(420%) rotate(12deg); } }

/* Buehne mit Lichtkegel hinter der Konsole */
.console-art {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  margin: 6px 0 8px;
}
.console-art::before {
  content: "";
  position: absolute;
  width: 210px; height: 210px; border-radius: 50%;
  background: radial-gradient(circle, hsla(var(--hue), 100%, 65%, .45), transparent 65%);
  filter: blur(6px);
  transition: transform .4s var(--ease-out), opacity .4s;
  opacity: .55;
}
.console-card-tile:hover .console-art::before, .console-card-tile.focused .console-art::before {
  transform: scale(1.15); opacity: .9;
}
.console-card-tile.st-bereit .console-art::before,
.console-card-tile.st-im_spiel .console-art::before { animation: breathe 3.2s ease-in-out infinite; opacity: .85; }
.console-card-tile.st-ruhezustand .console-art::before { opacity: .25; }
@keyframes breathe {
  0%, 100% { transform: scale(.95); opacity: .65; }
  50%      { transform: scale(1.12); opacity: 1; }
}
/* Boden-Reflexion */
.console-art::after {
  content: "";
  position: absolute; bottom: 8px;
  width: 130px; height: 16px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%);
}

.ps5-icon {
  width: 88px; height: 160px; position: relative; z-index: 1;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.5));
  transition: transform .4s var(--ease-out);
}
.console-card-tile:hover .ps5-icon, .console-card-tile.focused .ps5-icon { transform: translateY(-6px) rotate(-2deg); }
.ps5-icon::before, .ps5-icon::after {
  content: ""; position: absolute; top: 7px; bottom: 9px; width: 40px;
  border-radius: 40px 9px 11px 34px;
  background: linear-gradient(160deg, #ffffff, #b4bccb 62%, #e9ecf2);
}
.ps5-icon::before { left: 5px; transform: skewY(-5deg); }
.ps5-icon::after { right: 5px; transform: scaleX(-1) skewY(-5deg); }
.ps5-icon .core {
  position: absolute; left: 37px; top: 14px; width: 14px; height: 136px;
  border-radius: 6px; background: linear-gradient(#121923, #05080d);
  box-shadow: 0 0 12px hsla(var(--hue), 100%, 65%, .9), inset 0 0 6px hsla(var(--hue), 100%, 70%, .6);
}
.ps5-icon .pad {
  position: absolute; width: 76px; height: 33px; left: 6px; bottom: 0;
  border-radius: 16px 16px 9px 9px;
  background: linear-gradient(#f6f8fa, #aab2c0);
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 6px 11px rgba(0,0,0,.3);
}

.console-card-name { font-family: var(--font-display); font-size: 23px; font-weight: 700; margin-top: 4px; line-height: 1.15; }
.console-card-type { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.console-card-status {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  color: var(--text); font-size: 12.5px; font-weight: 600;
  margin-top: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(3,8,20,.45);
  border: 1px solid var(--line);
}
.console-card-cta {
  margin-top: auto;
  padding-top: 16px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase;
  color: #fff;
  opacity: .75;
  transition: opacity .2s, transform .28s var(--ease-out);
}
.console-card-cta .x-key {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px var(--glow);
}
.console-card-tile:hover .console-card-cta, .console-card-tile.focused .console-card-cta { opacity: 1; transform: translateX(4px); }

.now-playing {
  margin-top: 8px;
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
}
.now-playing b {
  display: block;
  color: #fff; font-family: var(--font-display); font-size: 16px;
  text-transform: none; letter-spacing: 0;
  margin-top: 2px;
}

.add-console-tile {
  align-items: center; justify-content: center;
  text-align: center; gap: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border-style: dashed;
  border-color: var(--line-strong);
}
.add-console-plus {
  width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 44px; font-weight: 200; color: var(--text);
  margin-bottom: 12px;
  background: rgba(47,140,255,.08);
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .3s;
}
.add-console-tile:hover .add-console-plus, .add-console-tile.focused .add-console-plus {
  transform: rotate(90deg) scale(1.06);
  border-color: var(--accent-2);
  box-shadow: 0 0 26px rgba(0,212,255,.45);
}
.add-console-sub { color: var(--muted); font-size: 13px; max-width: 190px; line-height: 1.45; }

/* ---- Tastenleiste unten ------------------------------------------------- */

.key-footer {
  display: flex; justify-content: flex-end; gap: 26px;
  color: var(--muted); font-size: 13.5px; margin-top: 8px;
}
.key-footer .circle-key {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid currentColor;
  display: inline-grid; place-items: center;
  font-size: 12px; margin-right: 8px; color: var(--text);
  background: rgba(3,8,20,.4);
}
.key-footer > span:nth-child(1) .circle-key { color: var(--sym-x); }
.key-footer > span:nth-child(2) .circle-key { color: var(--sym-tri); }
.key-footer > span:nth-child(3) .circle-key { color: var(--sym-cir); }

/* ---- Bildschirmtastatur ------------------------------------------------- */
.osk {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: rgba(8,16,36,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px rgba(0,0,0,.35);
}
.osk-row { display: flex; gap: 6px; justify-content: center; margin-bottom: 6px; }
.osk-key {
  min-width: 34px; height: 42px; padding: 0 8px;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text);
  font-family: var(--font-body); font-size: 15px;
  display: grid; place-items: center; cursor: pointer;
}
.osk-key.wide { min-width: 90px; font-size: 12.5px; }
.osk-key.focused {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(47,140,255,.4), 0 0 16px var(--glow);
  background: var(--accent-dim);
}

.control-hints {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  gap: 26px;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(to top, rgba(5,10,24,.92), transparent);
  font-size: 12.5px;
  color: var(--muted);
  pointer-events: none;
}
.control-hints .k {
  display: inline-block;
  width: 18px; height: 18px;
  line-height: 17px;
  text-align: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-right: 6px;
  font-size: 11px;
}

/* ---- Verbindungs-Overlay mit Tastensymbol-Animation --------------------- */

.connect-overlay {
  position: fixed; inset: 0; z-index: 20;
  background:
    radial-gradient(600px 400px at 50% 45%, rgba(47,140,255,.18), transparent 70%),
    rgba(4,8,20,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  animation: fade-in .3s ease both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Ersatz fuer den alten Kreisel: vier Tastensymbole, die nacheinander
   aufleuchten (Markup: .ps-loader mit vier <i>). Der alte .connect-spinner
   bleibt als Fallback gestylt. */
.ps-loader {
  display: flex; gap: 18px; margin-bottom: 30px;
}
.ps-loader i {
  width: 34px; height: 34px; display: block; position: relative;
  animation: sym-bounce 1.4s var(--ease-out) infinite;
  filter: drop-shadow(0 0 10px currentColor);
}
.ps-loader i:nth-child(1) { color: var(--sym-tri); animation-delay: 0s; }
.ps-loader i:nth-child(2) { color: var(--sym-cir); animation-delay: .15s; }
.ps-loader i:nth-child(3) { color: var(--sym-x);   animation-delay: .3s; }
.ps-loader i:nth-child(4) { color: var(--sym-sq);  animation-delay: .45s; }
.ps-loader svg { width: 100%; height: 100%; display: block; }
@keyframes sym-bounce {
  0%, 60%, 100% { transform: translateY(0) scale(1); opacity: .45; }
  25%           { transform: translateY(-14px) scale(1.12); opacity: 1; }
}

.connect-spinner {
  width: 56px; height: 56px; border-radius: 50%;
  border: 4px solid var(--line);
  border-top-color: var(--accent-2);
  animation: connect-spin 0.9s linear infinite;
  margin-bottom: 24px;
}
@keyframes connect-spin { to { transform: rotate(360deg); } }
.connect-title {
  font-family: var(--font-display); font-size: clamp(22px,4.5vw,34px); font-weight: 700;
}
.connect-sub {
  color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 380px;
}
.connect-sub.warn { color: var(--warn); }

/* Vollbild-Ebenen (Kalibrierung u.a.) */
#calibration {
  background:
    radial-gradient(600px 400px at 50% 45%, rgba(123,92,255,.18), transparent 70%),
    rgba(4,8,20,.94) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
  .home-shell { padding: 26px 16px 110px; }
  .home-header { margin-bottom: 30px; }
  .home-clock { display: none; }
  .console-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .console-card-tile { min-height: 320px; padding: 16px 14px 14px; border-radius: 22px; }
  .console-art { height: 150px; }
  .ps5-icon { transform: scale(.8); }
  .key-footer { justify-content: center; gap: 16px; font-size: 12.5px; }
}

@media (max-width: 480px) {
  .shell { padding: 20px 14px 48px; }
  .console-head { flex-direction: column; }
  .step-body { padding-left: 0; }
  .tile { width: 42vw; height: 42vw; max-width: 190px; max-height: 190px; }
  .topbar { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Ruhige Variante der Symbol-Animation (Anmeldeseite) */
.ps-loader.calm i { animation-duration: 3.2s; }
.ps-loader.calm i:nth-child(2) { animation-delay: .4s; }
.ps-loader.calm i:nth-child(3) { animation-delay: .8s; }
.ps-loader.calm i:nth-child(4) { animation-delay: 1.2s; }

/* Seiten, die lange offen bleiben (Handy-Controller): Hintergrund ohne
   Dauer-Animation, schont den Akku. */
body.calm-bg::before, body.calm-bg::after { animation: none; }
body.calm-bg .brand-mark { animation: none; }

/* ---- Avatare ------------------------------------------------------------ */

.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-grid; place-items: center; flex: none;
  font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 2px rgba(255,255,255,.14), 0 6px 18px rgba(0,0,0,.35);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar svg { width: 60%; height: 60%; display: block; filter: drop-shadow(0 0 6px currentColor); }
.avatar-violet { background: linear-gradient(135deg, var(--accent-3), var(--sym-sq)); }
.avatar-sunset { background: linear-gradient(135deg, #FF9A3D, var(--sym-cir)); }
.avatar-mint   { background: linear-gradient(135deg, #1FBF86, var(--accent-2)); }
.avatar-tri, .avatar-cir, .avatar-x, .avatar-sq { background: radial-gradient(circle at 50% 30%, #1A2C55, #060C1E 75%); }
.avatar-tri { color: var(--sym-tri); }
.avatar-cir { color: var(--sym-cir); }
.avatar-x   { color: var(--sym-x); }
.avatar-sq  { color: var(--sym-sq); }
.avatar-image { background: #000; }
.avatar.lg { width: 76px; height: 76px; font-size: 30px; }
.avatar.sm { width: 32px; height: 32px; font-size: 13px; }

.avatar-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 14px 4px 4px;
  background: transparent; border-color: transparent;
  font-size: 15px;
}
.avatar-btn:hover { background: var(--surface-2); border-color: var(--line); }

/* ---- Dialog (Profil) ----------------------------------------------------- */

.dialog-backdrop {
  position: fixed; inset: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(3,6,16,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in .2s ease both;
}
.dialog {
  width: 100%; max-width: 470px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 24px 26px 22px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(22,36,74,.96), rgba(10,18,40,.97));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.55);
  animation: rise .35s var(--ease-out) backwards;
}
.dialog-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.dialog-head > div { flex: 1; min-width: 0; }
.dialog-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.dialog-close { width: 40px; height: 40px; padding: 0; font-size: 16px; }

.avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 12px; }
.avatar-option {
  padding: 0; width: 52px; height: 52px; border-radius: 50%;
  background: transparent; border: none;
  display: grid; place-items: center;
}
.avatar-option .avatar { width: 48px; height: 48px; font-size: 19px; transition: transform .2s var(--ease-out), box-shadow .2s; }
.avatar-option:hover { background: transparent; }
.avatar-option:hover .avatar { transform: scale(1.08); }
.avatar-option.selected .avatar { box-shadow: 0 0 0 3px #fff, 0 0 18px var(--glow); }

/* ---- Verwaltung ----------------------------------------------------------- */

.admin-section-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 6px 0 14px;
}
.admin-section-title h2 { font-size: 20px; }
.admin-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px;
  padding: 14px 16px; margin-bottom: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.admin-row-main { display: flex; align-items: center; gap: 12px; flex: 1 1 220px; min-width: 0; }
.admin-row-main .who { min-width: 0; }
.admin-row-main strong { font-family: var(--font-display); font-size: 16px; }
.admin-row-sub { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-sm { padding: 7px 13px; font-size: 13px; }
button.danger { color: #FFD3D9; border-color: rgba(255,93,114,.45); background: rgba(255,93,114,.12); }
button.danger:hover { background: rgba(255,93,114,.22); border-color: var(--danger); }
.admin-inline { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; padding-top: 4px; }
.admin-inline input { flex: 1 1 200px; width: auto; }
.badge-warn {
  display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 2px 8px; border-radius: 999px; color: #2B1B00; background: var(--warn);
}
[data-tile].focused:is(button) {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(47,140,255,.45), 0 0 18px var(--glow);
}

/* ---- Dialog "Empfohlene Einstellungen" (netdialog.js) ------------------- */

.net-dialog { max-width: 560px; }
.net-dialog .dialog-head { margin-bottom: 18px; }
.net-dialog.busy .net-proposal, .net-dialog.busy .net-metrics { opacity: .45; }

/* Farbe je Verbindungsart: Heimnetz gruen, Festnetz cyan, Mobilfunk gelb */
.net-lan    { --net: var(--live);     --net-bg: rgba(61,230,160,.14); --net-line: rgba(61,230,160,.42); }
.net-remote { --net: var(--accent-2); --net-bg: rgba(0,212,255,.13);  --net-line: rgba(0,212,255,.42); }
.net-mobile { --net: var(--warn);     --net-bg: rgba(255,193,92,.14); --net-line: rgba(255,193,92,.45); }

.net-icon {
  width: 52px; height: 52px; flex: none;
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--net, var(--accent));
  background: radial-gradient(circle at 50% 30%, var(--net-bg, rgba(47,140,255,.16)), rgba(3,8,20,.5) 80%);
  border: 1px solid var(--net-line, var(--line));
  box-shadow: 0 0 22px var(--net-bg, transparent);
}
.net-icon svg, .net-badge svg {
  fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round;
}
.net-icon svg { width: 28px; height: 28px; stroke-width: 2; filter: drop-shadow(0 0 6px currentColor); }

.net-block { margin-bottom: 16px; }
.net-label {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 600;
  color: var(--muted); text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 8px;
}

.net-detect { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.net-detect-text { font-size: 15px; font-weight: 600; color: var(--text); }
.net-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
  color: var(--net, var(--text));
  background: var(--net-bg, var(--surface-2));
  border: 1px solid var(--net-line, var(--line));
}
.net-badge svg { width: 14px; height: 14px; stroke-width: 2.4; }

.net-metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.net-metric {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(3,8,20,.42);
  border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.net-metric b {
  color: var(--text);
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.net-reasons { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.45; }

.net-proposal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.net-cell {
  min-width: 0;
  padding: 11px 12px 10px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--line);
}
.net-cell span {
  display: block;
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.net-cell b {
  display: block; margin-top: 3px;
  font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.net-cell.changed { border-color: rgba(0,212,255,.45); }
.net-cell.changed b { color: var(--accent-2); }
.net-note {
  margin-top: 10px; padding-left: 10px;
  border-left: 2px solid var(--accent-dim);
  font-size: 12.5px; color: var(--muted);
}

/* "Anpassen" */
.net-adjust {
  margin: 0 0 14px; padding: 14px 14px 2px;
  border-radius: 16px;
  background: rgba(3,8,20,.35);
  border: 1px solid var(--line);
}
.net-adjust[hidden], .net-warn[hidden] { display: none; }
.net-adjust-group { margin-bottom: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-opt {
  padding: 7px 13px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,.04);
}
.seg-opt:hover { color: var(--text); }
.seg-opt.selected { color: #fff; background: rgba(47,140,255,.24); border-color: rgba(47,140,255,.65); }
.net-warn { margin-top: 8px; font-size: 12px; color: var(--warn); }
.net-remeasure-ic { display: inline-block; font-size: 15px; line-height: 1; }
.net-dialog.busy .net-remeasure-ic { animation: connect-spin 1s linear infinite; }

.net-remember { margin: 2px 0 0; }

/* Eine Zeile: Hauptaktion nimmt den Rest, die beiden anderen ihre Breite */
.net-actions {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px;
  margin-top: 18px;
}
.net-actions button { white-space: nowrap; }
.net-actions button[aria-disabled="true"] { opacity: .5; cursor: progress; }
.net-actions button.active { border-color: rgba(61,230,160,.5); background: rgba(61,230,160,.12); }

/* Tastensymbole in Schaltflaechen (✕ △ ○ in ihren Originalfarben) */
.key-ic {
  width: 20px; height: 20px; flex: none;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1.5px solid currentColor;
  background: rgba(3,8,20,.35);
  font-size: 10.5px; line-height: 1;
}
.key-ic.x   { color: var(--sym-x); }
.key-ic.tri { color: var(--sym-tri); }
.key-ic.cir { color: var(--sym-cir); }
button.primary .key-ic.x { color: #fff; background: rgba(255,255,255,.14); }

/* Controller-Fokus im Dialog */
.net-dialog [data-tile].focused {
  color: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(47,140,255,.5), 0 0 20px var(--glow);
}
.net-dialog button.primary.focused { box-shadow: 0 0 0 2px #fff, 0 0 28px var(--glow); }

/* Kurzer Hinweis im Verbindungs-Overlay ("nicht mehr fragen" gespeichert) */
.net-hint {
  position: relative; overflow: hidden;
  max-width: min(520px, 100%);
  margin-top: 22px; padding: 12px 16px 14px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.net-hint-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 14.5px;
}
.net-hint-text { color: var(--text); font-weight: 600; }
.net-hint-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left center;
  animation: net-hint-bar 2s linear forwards;
}
@keyframes net-hint-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (max-width: 560px) {
  .net-dialog { padding: 20px 18px 18px; }
  .net-dialog .dialog-title { font-size: 19px; }
  .net-proposal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-actions { grid-template-columns: 1fr; }
}
