:root {
  --void: #08070b;
  --ash: #121018;
  --panel: #18151f;
  --line: #2e2938;
  --ink: #f4eee4;
  --mute: #9b9388;
  --hex: #d8ff3a;
  --curse: #ff3d8a;
  --spell: #8b7cff;
  --warn: #ffb020;
  --sans: "Outfit", system-ui, sans-serif;
  --display: "Anton", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { background: var(--void); color: var(--ink); margin: 0; min-height: 100%; }
body { font-family: var(--sans); }
::selection { background: var(--hex); color: #111; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

.hex-grid {
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(216, 255, 58, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(255, 61, 138, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(139, 124, 255, 0.08), transparent 55%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hex-grid::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.wrap { width: min(1152px, calc(100% - 32px)); margin-inline: auto; }
.display { font-family: var(--display); letter-spacing: 0.04em; line-height: 0.95; }
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.mute { color: var(--mute); }
.hex { color: var(--hex); }
.curse { color: var(--curse); }
.spell { color: var(--spell); }
.warn { color: var(--warn); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--void) 80%, transparent);
  backdrop-filter: blur(12px);
}
.site-header .bar { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--hex); }
.brand span { font-family: var(--display); font-size: 24px; letter-spacing: 0.06em; color: var(--ink); }
.logo-mark { display: block; border-radius: 6px; flex-shrink: 0; object-fit: cover; }

.app-shell { min-height: 100dvh; padding-bottom: 72px; }
.app-top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--void) 88%, transparent);
  backdrop-filter: blur(12px);
}
.app-main { padding: 0 0 24px; }
.app-hero { padding: 20px 16px 8px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.app-feed { padding: 8px 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.app-tab {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--void) 94%, transparent);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
}
.app-tab a {
  text-align: center; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); padding: 8px 4px;
}
.app-tab a.on, .app-tab a:hover { color: var(--hex); }
.is-app .site-header .nav { display: none; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.nav a:hover { color: var(--hex); }
.header-user { display: flex; align-items: center; gap: 12px; }
.social-links { display: inline-flex; align-items: center; gap: 10px; }
.social-links a { color: var(--mute); display: inline-flex; line-height: 0; }
.social-links a:hover { color: var(--hex); }
.social-links svg { display: block; }
.header-social { display: none; flex-shrink: 0; }
.header-social svg, .nav-social svg { width: 20px; height: 20px; }
.nav-social { margin-left: 8px; }
.foot-social { margin-top: 16px; }
.social-field > span { display: flex; align-items: center; gap: 8px; }
.social-field svg { color: var(--hex); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inbox-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.inbox-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.inbox-media img, .inbox-media video, .inbox-media iframe {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; border: 0; display: block;
}
.avatar { width: 28px; height: 28px; object-fit: cover; background: var(--panel); }
.btn-hex { background: var(--hex); color: var(--void); padding: 6px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.btn-ghost { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.menu-btn { display: none; width: 36px; height: 36px; border: 1px solid var(--line); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--ash); padding: 16px 0; }
.mobile-nav.open { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav a, .mobile-nav button { text-transform: uppercase; letter-spacing: 0.16em; font-size: 14px; }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--hex); color: var(--void); }
.ticker-track { display: flex; width: max-content; white-space: nowrap; padding: 6px 0; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; animation: marquee 28s linear infinite; }
.ticker-track span { padding: 0 16px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.masthead { padding-top: 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.masthead h1 { font-family: var(--display); font-size: clamp(48px, 10vw, 96px); margin: 8px 0 0; letter-spacing: 0.04em; }
.rule-thick { height: 3px; background: var(--ink); margin-top: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { padding: 6px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--line); color: var(--mute); }
.chip.on { background: var(--hex); color: var(--void); border-color: var(--hex); }

.hero { position: relative; display: block; overflow: hidden; margin-top: 32px; }
.hero img { width: 100%; height: 62vh; min-height: 420px; object-fit: cover; object-position: 72% 40%; transition: transform .7s; }
.hero:hover img { transform: scale(1.03); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--void), color-mix(in srgb, var(--void) 50%, transparent), transparent); }
.hero-copy { position: absolute; inset-inline: 0; bottom: 0; padding-bottom: 40px; }
.hero-copy h2 { font-family: var(--serif); font-size: clamp(32px, 5vw, 60px); line-height: 1.05; max-width: 48rem; margin: 16px 0 0; }
.hero-copy p { max-width: 36rem; font-size: 18px; color: color-mix(in srgb, var(--ink) 80%, transparent); }

.layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 48px; margin-top: 48px; padding-bottom: 64px; }
.section-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--hex); margin: 0; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
.stack { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.mt-14 { margin-top: 56px; }

.card { display: flex; flex-direction: column; border: 1px solid var(--line); background: color-mix(in srgb, var(--ash) 40%, transparent); transition: transform .35s, box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--hex) 45%, var(--line)); box-shadow: 0 18px 40px -24px rgba(216,255,58,.45); }
.card .media { position: relative; overflow: hidden; }
.card .media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .7s; }
.card:hover .media img { transform: scale(1.05); }
.card .body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-family: var(--serif); font-size: 20px; line-height: 1.25; margin: 8px 0 0; }
.card:hover h3 { color: var(--hex); }
.card .excerpt { color: var(--mute); font-size: 14px; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }

.card-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 12px; }
.card-row .media img { aspect-ratio: 4/3; height: 100%; }
.card-row h3 { font-size: 24px; }

.badge { display: inline-flex; padding: 2px 8px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.badge-hex { background: var(--hex); color: var(--void); }
.badge-curse { background: var(--curse); color: #fff; }
.badge-spell { background: var(--spell); color: #fff; }
.badge.abs { position: absolute; left: 12px; top: 12px; }
.badge.abs-right { position: absolute; right: 12px; top: 12px; left: auto; }
.play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.play span {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--hex); color: var(--void);
  display: grid; place-items: center; font-size: 15px; padding-left: 3px;
}
.media-grid { display: grid; gap: 14px; }
.media-slot {
  display: block; border: 1px solid var(--line); padding: 14px;
  background: color-mix(in srgb, var(--ash) 40%, transparent);
}
.add-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 12px; }
.add-media-3 { grid-template-columns: 1fr 1fr 1fr; }
.add-tile {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 180px; padding: 20px;
  border: 1px dashed var(--line);
  background: color-mix(in srgb, var(--ash) 45%, transparent);
  cursor: pointer;
}
.add-tile b { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.add-tile p { margin: 0; font-size: 13px; }
.add-tile:hover, .add-tile.on, .add-tile.drag {
  border-color: var(--hex);
  border-style: solid;
  background: color-mix(in srgb, var(--hex) 8%, var(--ash));
}
.add-tile-mp4:hover, .add-tile-mp4.on, .add-tile-mp4.drag {
  border-color: var(--curse);
  background: color-mix(in srgb, var(--curse) 10%, var(--ash));
}
.add-tile-mp4 .hex { color: var(--curse); }
.add-tile-pc:hover, .add-tile-pc.on, .add-tile-pc.drag {
  border-color: var(--spell);
  background: color-mix(in srgb, var(--spell) 12%, var(--ash));
}
.add-tile-pc .hex { color: var(--spell); }
.add-tile-source {
  cursor: default;
  min-height: 0;
  margin: 0 0 24px;
}
.add-tile-source:hover {
  border-color: var(--spell);
  border-style: dashed;
  background: color-mix(in srgb, var(--spell) 8%, var(--ash));
}
.add-tile-source .hex { color: var(--spell); }
.add-source-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.add-source-head .admin-input { width: auto; min-width: 200px; }
.add-source-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: 12px;
  position: relative;
}
.add-source-row .admin-input { flex: 1; min-width: 0; }
.add-source-row .btn-hex { padding: 12px 18px; white-space: nowrap; }
.add-file-btn {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hex);
  cursor: pointer;
}
.add-file-btn:hover { border-color: var(--hex); border-style: solid; }
.soc-row { display: flex; gap: 12px; align-items: end; }
.soc-row .lbl { margin: 0; }
.soc-row .lbl:first-child { width: 180px; flex-shrink: 0; }
.file-abs {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.media-prev { margin-top: 10px; }
.media-prev img, .media-prev iframe, .media-prev video {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; border: 0;
}
.frame.is-gif img { object-fit: contain; background: #111; }
.frame.is-portrait, .media-prev.is-portrait, .inbox-media.is-portrait {
  display: flex; justify-content: center; background: #000;
}
.frame.is-portrait iframe, .media-prev.is-portrait iframe, .inbox-media.is-portrait iframe {
  aspect-ratio: 9 / 16;
  max-width: 420px;
  width: 100%;
  object-fit: contain;
}
.frame.is-image iframe, .media-prev.is-image iframe {
  aspect-ratio: 4 / 5;
  max-width: 540px;
  margin-inline: auto;
  display: block;
}

.side { display: flex; flex-direction: column; gap: 32px; position: sticky; top: 96px; align-self: start; }
.panel { border: 1px solid var(--line); background: color-mix(in srgb, var(--ash) 50%, transparent); padding: 20px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.stats dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.stats dd { font-family: var(--serif); font-size: 24px; margin: 0; }
.trend { list-style: none; padding: 0; margin: 16px 0 0; }
.trend li { margin: 0 0 12px; }
.trend a { display: flex; gap: 12px; }
.trend .n { font-family: var(--display); font-size: 24px; color: color-mix(in srgb, var(--hex) 70%, transparent); }
.people { list-style: none; padding: 0; margin: 16px 0 0; }
.people li { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.people img, .ph { width: 36px; height: 36px; object-fit: cover; background: var(--panel); }
.ph { display: grid; place-items: center; color: var(--hex); }

.site-footer { margin-top: auto; border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 40px; padding: 48px 0; grid-template-columns: 1.4fr 1fr 1fr; }
.foot-copy { border-top: 1px solid var(--line); padding: 16px; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.foot-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.foot-bottom p { margin: 0; }
.foot-views { color: var(--mute); }
.foot-views b { color: var(--hex); font-weight: 600; letter-spacing: 0.04em; margin-right: 4px; }
.foot-views span { margin: 0 6px; opacity: .6; }
.foot-bottom nav { display: flex; gap: 16px; }
.foot-bottom a:hover { color: var(--hex); }

.legal-page { width: min(760px, calc(100% - 32px)); margin: 48px auto 80px; }
.legal-page .eyebrow { margin: 0; }
.legal-page h1 { font-family: var(--display); font-size: clamp(40px, 8vw, 64px); margin: 8px 0 12px; letter-spacing: 0.04em; }
.legal-page .lead { color: var(--mute); font-size: 18px; margin: 0 0 28px; }
.legal-page h2 { font-family: var(--serif); font-size: 26px; margin: 32px 0 10px; }
.legal-page p, .legal-page address { color: var(--mute); line-height: 1.7; font-style: normal; margin: 0 0 12px; }
.legal-page a { color: var(--hex); }

.nl-band {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--ash) 70%, transparent);
  padding: 40px 0;
}
.nl-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; }
.nl-inner h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); margin: 8px 0 8px; }
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-form .admin-input { flex: 1; min-width: 180px; width: auto; }
.nl-form .btn-hex { padding: 12px 18px; white-space: nowrap; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.flash { margin: 0 0 12px; font-size: 14px; }
.flash.ok { color: var(--hex); }
.flash.error { color: var(--curse); }

@media (max-width: 960px) {
  .nl-inner { grid-template-columns: 1fr; }
}

.post { width: min(768px, calc(100% - 32px)); margin: 40px auto 80px; }
.post h1 { font-family: var(--serif); font-size: clamp(32px, 5vw, 48px); line-height: 1.15; margin: 16px 0 0; }
.post .lede { font-size: 18px; color: var(--mute); }
.frame { margin-top: 32px; overflow: hidden; border: 1px solid var(--line); }
.frame img, .frame video, .frame iframe { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.prose { margin-top: 32px; font-size: 17px; line-height: 1.8; color: color-mix(in srgb, var(--ink) 90%, transparent); }
.prose p { margin: 0 0 20px; }
.reacts { display: flex; flex-wrap: wrap; gap: 6px; border-block: 1px solid var(--line); padding: 20px 0; margin-top: 40px; }
.react { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); padding: 6px 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--mute); }
.react.on { border-color: var(--hex); background: color-mix(in srgb, var(--hex) 15%, transparent); color: var(--hex); }
.comments { margin-top: 48px; }
.comment { display: flex; gap: 12px; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); padding-bottom: 20px; margin-bottom: 20px; }
.comment img, .comment .ph { width: 36px; height: 36px; }

.form { border: 1px solid var(--line); background: color-mix(in srgb, var(--ash) 50%, transparent); padding: 16px; }
.admin-input, textarea.admin-input, select.admin-input {
  display: block; width: 100%; background: #0e0c12; border: 1px solid var(--line);
  color: var(--ink); padding: 11px 14px; outline: none;
}
.admin-input:focus { border-color: var(--hex); box-shadow: 0 0 0 3px rgba(216,255,58,.12); }
label.lbl { display: block; }
label.lbl > span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.err { color: var(--curse); font-size: 14px; }
.ok { color: var(--hex); font-size: 14px; }

.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-art { position: relative; }
.auth-art img { width: 100%; height: 100%; object-fit: cover; }
.auth-art .shade { position: absolute; inset: 0; background: color-mix(in srgb, var(--void) 40%, transparent); }
.auth-art p { position: absolute; bottom: 32px; left: 32px; max-width: 24rem; font-family: var(--serif); font-size: 30px; font-style: italic; }
.auth-box { display: flex; align-items: center; justify-content: center; padding: 64px 24px; }
.auth-box form { display: flex; flex-direction: column; gap: 16px; width: min(380px, 100%); }
.auth-top { display: flex; justify-content: space-between; padding: 16px 20px; }

.admin { display: flex; min-height: 100vh; }
.admin-side { width: 224px; flex-shrink: 0; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--ash) 60%, transparent); display: flex; flex-direction: column; }
.admin-side nav { display: flex; flex-direction: column; gap: 4px; padding: 0 12px; flex: 1; }
.admin-side nav a { padding: 8px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.admin-side nav a:hover, .admin-side nav a.on { background: var(--panel); color: var(--hex); }
.admin-side .who { border-top: 1px solid var(--line); padding: 16px; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-bar { display: flex; justify-content: flex-end; border-bottom: 1px solid var(--line); padding: 12px 32px; }
.admin-body { padding: 32px; }

.admin {
  --admin-sans: "Instrument Sans", "Outfit", system-ui, sans-serif;
  --admin-display: "Fraunces", "Instrument Serif", Georgia, serif;
  font-family: var(--admin-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.014em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.admin .display {
  font-family: var(--admin-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-transform: none;
}
.admin h1.display {
  font-size: clamp(2rem, 3.6vw, 2.85rem) !important;
  margin: 2px 0 8px !important;
}
.admin .serif { font-family: var(--admin-display); font-optical-sizing: auto; letter-spacing: -0.02em; }
.admin .mute { font-size: 0.95em; line-height: 1.55; letter-spacing: -0.01em; }
.admin .mono {
  font-family: var(--admin-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin .section-label {
  font-family: var(--admin-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.admin-side .brand span {
  font-family: var(--admin-display);
  font-optical-sizing: auto;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.admin-side nav a {
  font-family: var(--admin-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  text-transform: none;
  border-radius: 8px;
  padding: 9px 12px;
}
.admin-side .who { font-size: 14.5px; }
.admin-side .who .mono { font-size: 11px; }
.admin .btn-hex, .admin .btn-ghost, .admin .chip {
  font-family: var(--admin-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.admin .admin-input, .admin textarea.admin-input, .admin select.admin-input {
  font-family: var(--admin-sans);
  font-size: 15.5px;
  letter-spacing: -0.014em;
  line-height: 1.4;
  border-radius: 8px;
}
.admin label.lbl > span {
  font-family: var(--admin-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.admin table.data { font-size: 15px; letter-spacing: -0.012em; }
.admin table.data th {
  font-family: var(--admin-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.admin table.data .serif { font-size: 17px; font-weight: 560; }
.admin .actions {
  font-family: var(--admin-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.admin .kpi b {
  font-family: var(--admin-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.admin .add-tile b {
  font-family: var(--admin-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.admin .type-picks button {
  font-family: var(--admin-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.admin .flash, .admin .err, .admin .ok { font-size: 15px; letter-spacing: -0.01em; }
.admin .foot-copy { font-family: var(--admin-sans); font-size: 12px; letter-spacing: 0.02em; text-transform: none; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 32px; }
.kpi { border: 1px solid var(--line); background: color-mix(in srgb, var(--ash) 40%, transparent); padding: 20px; }
.kpi b { font-family: var(--serif); font-size: 36px; font-weight: 400; display: block; }
.dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 32px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 176px; margin-top: 24px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bar-stack { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 144px; width: 100%; }
.bar-stack span { width: 6px; }
.mix-row { margin: 16px 0; }
.mix-track { height: 6px; background: var(--panel); }
.mix-track > div { height: 100%; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); margin-top: 24px; }
table.data { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
table.data th { background: var(--ash); font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); padding: 12px; }
table.data td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.row-media { display: flex; gap: 12px; align-items: center; }
.row-media img { width: 64px; height: 48px; object-fit: cover; }
.actions { display: flex; gap: 10px; justify-content: flex-end; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; }
.filter-row .admin-input { width: auto; }
.user-create {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.4fr 1.1fr 8.5rem auto;
  gap: 10px;
  align-items: end;
  margin-top: 24px;
}
.user-create .admin-input { width: 100%; }
.user-create .btn-hex { padding: 12px 18px; white-space: nowrap; height: 44px; }
.w-64 { width: 16rem; }
.w-40 { width: 10rem; }
.w-28 { width: 7rem; }
.type-picks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.type-picks button { padding: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid var(--line); color: var(--mute); }
.type-picks button.on { background: var(--hex); color: var(--void); border-color: var(--hex); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
.space > * + * { margin-top: 20px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.comment-mod { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px; border-bottom: 1px solid var(--line); }

.rank { position: relative; }
.rank-n { position: absolute; left: 12px; top: 12px; z-index: 2; font-family: var(--display); font-size: 30px; color: var(--hex); text-shadow: 0 2px 8px #000; }

.empty { border: 1px dashed var(--line); padding: 40px; text-align: center; color: var(--mute); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.delta { font-size: 12px; margin: 6px 0 0; }
.delta.up { color: var(--hex); }
.delta.down { color: var(--curse); }
.delta.flat { color: var(--mute); }

.stat-bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; margin-top: 16px; }
.stat-bars .b { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.stat-bars .bar { width: 100%; background: var(--hex); min-height: 2px; }
.stat-bars .val { font-family: var(--mono); font-size: 9px; color: var(--hex); margin-bottom: 4px; letter-spacing: 0; text-transform: none; }
.stat-bars .cap { font-family: var(--mono); font-size: 9px; color: var(--mute); margin-top: 6px; letter-spacing: 0; text-transform: none; }
.stat-bars.bars-wd { height: 170px; gap: 8px; }
.stat-barx { display: flex; justify-content: space-between; color: var(--mute); font-size: 11px; margin-top: 6px; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }

.donut-box { display: flex; align-items: center; gap: 22px; margin-top: 16px; }
.donut-chart { width: 168px; height: 168px; position: relative; flex-shrink: 0; }
.donut-ring { width: 100%; height: 100%; border-radius: 50%; }
.donut-hole {
  position: absolute; inset: 22%;
  background: var(--ash); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.donut-hole b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.donut-hole span { font-size: 11px; color: var(--mute); margin-top: 2px; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.donut-legend { flex: 1; min-width: 0; }
.donut-legend .lg { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.donut-legend .lg:last-child { border-bottom: 0; }
.donut-legend .lg i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.donut-legend .lg .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donut-legend .lg .pct { color: var(--mute); font-size: 12px; white-space: nowrap; }
.donut-legend .lg .ct { color: var(--hex); font-weight: 600; white-space: nowrap; }

.reflist { margin-top: 12px; }
.refrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.refname { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.refbarwrap { height: 5px; background: var(--panel); margin-top: 6px; }
.refbar { height: 100%; background: var(--hex); }
.refmeta { color: var(--mute); font-size: 12px; white-space: nowrap; }
.refval { color: var(--hex); font-weight: 600; font-size: 14px; min-width: 48px; text-align: right; }

@media (max-width: 960px) {
  .layout, .auth-split, .dash-grid, .form-grid, .kpis, .grid-3, .foot-grid, .user-create, .two-col, .kontakt-grid, .inbox-card, .add-media, .add-media-3 { grid-template-columns: 1fr; }
  .soc-row, .add-source-row { flex-direction: column; }
  .soc-row .lbl:first-child { width: auto; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .nav, .header-user { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .header-social { display: inline-flex; margin-left: auto; }
  .mobile-nav .social-links { margin-top: 8px; }
  .admin-side { display: none; }
  .card-row { grid-template-columns: 1fr; }
  .hero img { height: 48vh; min-height: 280px; }
  .admin-body { padding: 16px; }
  .auth-art { display: none; }
  .donut-box { flex-direction: column; align-items: flex-start; }
  .refrow { grid-template-columns: minmax(0, 1fr) auto; }
  .refmeta { display: none; }
}
