/* ═══════════════════════════════════════════════════════════
   LAYOUT — App Shell, Navigation, Page System
   GeniusHub v21 — Redesign

   Ruhig, solide, kein Glass, kein Gradient auf dem Logo.
   Klassen identisch zu v20, nur Styling neu.
   shell.css kommt NACH dieser Datei und übernimmt Sidebar +
   macht Top/Nav für Desktop ruhig/unsichtbar.
   ═══════════════════════════════════════════════════════════ */

/* ── Grid Helpers ── */
.g2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 12px;
}
.g3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 10px;
}


/* ── App Shell (wird von shell.css überschrieben, wenn Sidebar aktiv) ── */
#app {
  display: none;
  flex-direction: column;
  height: 100%;
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--f-sans);
}
#app.on { display: flex; }


/* ── Top Bar (shell.css macht sie auf Desktop ruhig; hier nur Defaults) ── */
.top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(10px + var(--safe-t)) calc(14px + var(--safe-r)) 10px calc(14px + var(--safe-l));
  background: var(--bg-0);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  overflow-x: auto;
  min-height: 48px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.top::-webkit-scrollbar { display: none; }

.t-logo {
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  background: none;
  -webkit-text-fill-color: var(--fg);
  flex-shrink: 0;
  letter-spacing: -.01em;
  cursor: pointer;
}

.t-sep {
  width: 1px;
  height: 18px;
  background: var(--line);
  flex-shrink: 0;
}

.t-user {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--bg-1);
}

.t-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: #0b0c0e;
  background: var(--accent);
  flex-shrink: 0;
}

.t-spacer { flex: 1; }

.t-btn {
  padding: 6px 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--f-sans);
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  min-height: 32px;
  cursor: pointer;
}
.t-btn:hover { background: var(--bg-2); color: var(--fg); border-color: var(--line-2); }
.t-btn.lo { color: var(--fg-dim); }
.t-btn.lo:hover { color: var(--err); border-color: color-mix(in oklab, var(--err) 40%, var(--line)); }


/* ── Navigation Tabs (Mobile + kleine Screens) ── */
.nav {
  display: flex;
  gap: 2px;
  padding: 0 calc(14px + var(--safe-r)) 0 calc(14px + var(--safe-l));
  background: var(--bg-0);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav::-webkit-scrollbar { display: none; }

.nt {
  padding: 12px 12px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--f-sans);
  color: var(--fg-dim);
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.nt:hover { color: var(--fg-muted); }
.nt.on {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
  background: transparent;
}


/* ── Page Container ── */
.pg {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 20px calc(20px + var(--safe-r)) 20px calc(20px + var(--safe-l));
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(20px + var(--safe-b));
  background: var(--bg-0);
}
.pg.on {
  display: block;
  animation: fadeUp .25s var(--ease);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ═══ GENIUS TAB ═══ */
.genius-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.genius-tabs::-webkit-scrollbar { display: none; }
.genius-tab {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--f-sans);
  color: var(--fg-dim);
  border: 0;
  background: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.genius-tab:hover { color: var(--fg-muted); background: transparent; }
.genius-tab.on {
  color: var(--accent);
  background: transparent;
  border-color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.genius-article {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-bottom: 12px;
  backdrop-filter: none;
}
.genius-article h2 {
  font-family: var(--f-sans);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
.genius-article h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0 6px;
  color: var(--fg);
}
.genius-article p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin: 0 0 10px;
}
.genius-article .meta {
  font-size: 10px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  font-weight: 500;
}
.genius-search {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--fg);
  font-size: 13px;
  font-family: var(--f-sans);
  margin-bottom: 14px;
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.genius-search:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.genius-term {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  margin-bottom: 8px;
}
.genius-term dt {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--fg);
}
.genius-term dd {
  font-size: 12.5px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin: 0;
}
.genius-term .cat {
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 8px;
  font-weight: 500;
}
.genius-feed-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-bottom: 10px;
}
.genius-feed-card .icon {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--fg-muted);
}
.genius-feed-card .title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--fg);
}
.genius-feed-card .text {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.65;
}


/* ── Empty State ── */
.empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--fg-dim);
}
.empty .icon {
  font-size: 32px;
  opacity: .4;
  margin-bottom: 12px;
  color: var(--fg-muted);
}
.empty p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
  color: var(--fg-muted);
}


/* ═══════════════════════════════════════════
   BENTO HOMEPAGE
   ═══════════════════════════════════════════ */

.bento-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 16px;
}
#hLeaderboard {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 60%;
  flex-shrink: 0;
}
#hLeaderboard::-webkit-scrollbar { display: none; }

.bento-h1 {
  font-family: var(--f-sans);
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 700;
  margin: 0;
  letter-spacing: -.025em;
  color: var(--fg);
  line-height: 1.1;
}
.bento-sub {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 6px 0 0;
}
.bento-streak { flex-shrink: 0; }


/* Stats Row */
.bento-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.bento-stat {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 12px;
  text-align: left;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: default;
  transition: border-color var(--dur-1) var(--ease);
  box-shadow: none;
}
.bento-stat:hover { border-color: var(--line-2); }
.bento-stat-num {
  font-family: var(--f-sans);
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--fg);
}
.bento-stat-label {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 8px;
  font-weight: 500;
}


/* Bento Row */
.bento-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.bento-row-3 { grid-template-columns: 1fr 1fr 1fr; }


/* News Feed (Home) */
.bento-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bento-feed-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.bento-feed-item:last-child { border-bottom: none; }
.bento-feed-item:hover .bento-feed-title { color: var(--accent); }
.bento-feed-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.bento-feed-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 3px;
  line-height: 1.4;
  transition: color var(--dur-1) var(--ease);
}
.bento-feed-sub {
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.bento-feed-date {
  font-size: 10px;
  color: var(--fg-dim);
  margin-top: 4px;
  font-family: var(--f-mono);
}


/* News Feed Modal */
.bento-feed-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bento-feed-modal-box {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2);
}
.bento-feed-modal-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.bento-feed-modal-title {
  font-family: var(--f-sans);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--fg);
  letter-spacing: -.01em;
}
.bento-feed-modal-date {
  font-size: 11px;
  color: var(--fg-dim);
  margin-bottom: 16px;
  font-family: var(--f-mono);
}
.bento-feed-modal-body {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.7;
  white-space: pre-line;
}
.bento-feed-modal-close { margin-top: 20px; width: 100%; }


/* News Badge (auf Top-Button) */
.news-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #0b0c0e;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}


/* News Panel (Dropdown vom Glocken-Button) */
.news-panel {
  position: fixed;
  top: 56px;
  right: 20px;
  width: 300px;
  max-height: 440px;
  overflow-y: auto;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  z-index: 8500;
}
.news-panel-head {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--fg);
}
.news-panel-close {
  background: none;
  border: none;
  color: var(--fg-dim);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 4px;
  border-radius: var(--r-sm);
}
.news-panel-close:hover { background: var(--bg-2); color: var(--fg); }
.news-panel-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-1) var(--ease);
}
.news-panel-item:last-child { border-bottom: none; }
.news-panel-item:hover { background: var(--bg-2); }
.news-panel-tag {
  font-size: 9px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 3px;
}
.news-panel-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
  line-height: 1.35;
}
.news-panel-sub {
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.news-panel-date {
  font-size: 10px;
  color: var(--fg-dim);
  margin-top: 4px;
  font-family: var(--f-mono);
}


/* Bento Card */
.bento-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.bento-h2 {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -.005em;
  color: var(--fg);
}
.bento-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 10px;
  min-height: 60px;
}
.bento-item {
  padding: 10px 4px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease);
  margin: 0 -4px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: var(--r-sm);
}
.bento-item:last-child { border-bottom: 0; }
.bento-item:hover {
  background: var(--bg-2);
  border-color: transparent;
}
.bento-item-title {
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg);
}
.bento-item-sub {
  font-size: 11px;
  color: var(--fg-dim);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--f-mono);
}
.bento-empty {
  font-size: 12px;
  color: var(--fg-dim);
  text-align: center;
  padding: 16px 0;
}
.bento-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 0 0;
  transition: opacity var(--dur-1) var(--ease);
  font-family: var(--f-sans);
}
.bento-link:hover { opacity: .75; }


/* Quick Access */
.bento-quick {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.bento-qi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--fg);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: left;
  font-family: var(--f-sans);
  min-height: 72px;
}
.bento-qi:hover {
  border-color: var(--line-2);
  background: var(--bg-2);
  transform: none;
  box-shadow: none;
}
.bento-qi-icon {
  font-size: 18px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.bento-qi:hover .bento-qi-icon { background: var(--bg-3); }
.bento-qi-accent {
  border-color: var(--accent-ring);
  background: var(--accent-weak);
  color: var(--fg);
}
.bento-qi-accent .bento-qi-icon {
  background: var(--accent);
  color: #0b0c0e;
  border-color: transparent;
}
.bento-qi-accent:hover {
  border-color: var(--accent);
  background: var(--accent-weak);
}


/* Tool Highlights */
.bento-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.bento-tool {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
  text-decoration: none;
  color: var(--fg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: relative;
  min-height: 80px;
}
.bento-tool:hover {
  border-color: var(--line-2);
  background: var(--bg-2);
  transform: none;
}
.bento-tool-icon {
  font-size: 16px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.bento-tool-name {
  font-size: 11px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  color: var(--fg);
}
.bento-tool-edit {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--fg-muted);
  font-size: 10px;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--dur-1) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
}
.bento-tool:hover .bento-tool-edit { opacity: 1; }
.bento-tool-empty {
  border-style: dashed;
  opacity: .6;
}
.bento-tool-empty:hover { opacity: 1; }


/* Tool Picker Modal */
.tp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tp-modal {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 380px;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-2);
}
.tp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.tp-title {
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--fg);
  letter-spacing: -.005em;
}
.tp-close {
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  min-height: 30px;
}
.tp-close:hover { background: var(--bg-2); color: var(--fg); }
.tp-list {
  overflow-y: auto;
  padding: 8px;
  -webkit-overflow-scrolling: touch;
}
.tp-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-dim);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 10px 4px;
}
.tp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: background var(--dur-1) var(--ease);
  color: var(--fg);
}
.tp-item:hover { background: var(--bg-2); }
.tp-used {
  opacity: .35;
  cursor: default;
}
.tp-used:hover { background: none; }
.tp-badge {
  margin-left: auto;
  font-size: 10px;
  color: var(--fg-dim);
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
}
.tp-clear {
  color: var(--err);
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  padding-bottom: 12px;
}


/* Bento Mobile */
@media (max-width: 480px) {
  .bento-stats { grid-template-columns: repeat(2, 1fr); }
  .bento-row { grid-template-columns: 1fr; }
  .bento-row-3 { grid-template-columns: 1fr; }
  .bento-quick { grid-template-columns: repeat(3, 1fr); }
  .bento-tools { grid-template-columns: repeat(2, 1fr); }
  .bento-qi { padding: 12px; font-size: 11px; min-height: 64px; }
  .bento-qi-icon { width: 28px; height: 28px; font-size: 15px; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .bento-quick { grid-template-columns: repeat(4, 1fr); }
  .bento-tools { grid-template-columns: repeat(3, 1fr); }
  .bento-stats { grid-template-columns: repeat(3, 1fr); }
}


/* ── Subject Pages ── */
.subject-hd {
  display: flex;
  align-items: center;
  gap: 12px;
}
.subject-hd-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--fg-muted);
}
.subject-coming {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 32px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: var(--bg-1);
}
.coming-pill {
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  font-size: 10px;
  color: var(--fg-dim);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}


/* ── Responsive ── */
@media (max-width: 480px) {
  .top {
    padding: calc(8px + var(--safe-t)) calc(12px + var(--safe-r)) 8px calc(12px + var(--safe-l));
    gap: 6px;
    min-height: 44px;
  }
  .t-logo { font-size: 14px; }
  .pg { padding: 14px calc(14px + var(--safe-r)) 14px calc(14px + var(--safe-l)); }
}

@media (min-width: 768px) {
  .pg { padding: 24px 32px; }
}

@media (min-width: 1200px) {
  .pg { padding: 28px 48px; }
}


/* ═══════════════════════════════════════════════════════════
   WHITE / ALTERNATIV MODES — Layout Overrides
   Alle Overrides entfernt — Tokens steuern das jetzt komplett.
   Nur ein paar spezifische Anpassungen:
   ═══════════════════════════════════════════════════════════ */

html.white-mode body { background: var(--bg-0); color: var(--fg); }
html.white-mode #app { color: var(--fg); }
html.white-mode .t-av { color: #fff; }
