*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --surface2: #242424;
  --border: #2e2e2e;
  --accent: #f47521;
  --accent2: #e85d04;
  --text: #e8e8e8;
  --text-muted: #888;
  --radius: 10px;
}

body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; min-height: 100vh; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 20px; }
.site-logo { text-decoration: none; color: var(--text); font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.site-logo span { color: var(--accent); }

/* Search & Filter */
.anime-main { max-width: 1400px; margin: 0 auto; padding: 24px 20px; }
.search-bar { margin-bottom: 28px; }
.search-bar input { width: 100%; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 1rem; outline: none; transition: border-color .2s; }
.search-bar input:focus { border-color: var(--accent); }
.filters { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.filters select { padding: 8px 14px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: .9rem; cursor: pointer; outline: none; }
.filters select:focus { border-color: var(--accent); }
.stats { margin-top: 10px; color: var(--text-muted); font-size: .85rem; }

/* Grid */
.anime-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
@media (max-width: 600px) { .anime-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; } }

/* Card */
.anime-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; border: 1px solid var(--border); position: relative; }
.anime-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.5); border-color: var(--accent); }
.anime-card.unavailable { opacity: .45; }
.anime-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; background: var(--surface2); }
.anime-card .card-info { padding: 8px 10px; }
.anime-card .card-title { font-size: .8rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.anime-card .card-meta { font-size: .72rem; color: var(--text-muted); margin-top: 4px; }
.badge { position: absolute; top: 6px; left: 6px; padding: 2px 7px; border-radius: 4px; font-size: .68rem; font-weight: 700; }
.badge.new { background: var(--accent); color: #fff; }
.badge.removed { background: #555; color: #ccc; }
.badge.simulcast { background: #1a6e3c; color: #5efa9a; }

/* Load more */
.load-more { text-align: center; margin-top: 32px; }
.load-more button { padding: 12px 32px; background: var(--accent); border: none; border-radius: var(--radius); color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; }
.load-more button:hover { background: var(--accent2); }
.hidden { display: none; }
.load-more.hidden { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal.hidden { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.8); }
.modal-content { position: relative; background: var(--surface); border-radius: 14px; max-width: 680px; width: 100%; max-height: 90vh; overflow-y: auto; z-index: 1; }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--surface2); border: none; color: var(--text); width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-body { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px; }
@media (max-width: 500px) { .modal-body { grid-template-columns: 1fr; } }
.modal-poster img { width: 100%; border-radius: var(--radius); }
.modal-info h2 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 6px; }
.modal-info .original-title { color: var(--text-muted); font-size: .85rem; margin-bottom: 12px; }
.modal-info .description { font-size: .88rem; line-height: 1.6; color: #ccc; margin-bottom: 16px; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.modal-tags span { padding: 3px 10px; background: var(--surface2); border-radius: 20px; font-size: .75rem; color: var(--text-muted); }
.modal-seasons { margin-bottom: 16px; }
.modal-seasons h3 { font-size: .9rem; margin-bottom: 8px; color: var(--text-muted); }
.season-item { background: var(--surface2); border-radius: 6px; padding: 8px 12px; margin-bottom: 6px; font-size: .85rem; display: flex; justify-content: space-between; align-items: center; }
.season-item .ep-count { color: var(--text-muted); font-size: .78rem; }
.modal-link { display: inline-block; padding: 10px 24px; background: var(--accent); border-radius: var(--radius); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.modal-link:hover { background: var(--accent2); }
.removed-notice { background: #2a1a1a; border: 1px solid #5a2020; border-radius: 8px; padding: 10px 14px; font-size: .82rem; color: #e07070; margin-bottom: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); text-align: center; padding: 20px; color: var(--text-muted); font-size: .82rem; margin-top: 40px; }
.site-footer a { color: var(--accent); text-decoration: none; }

/* Loading */
.skeleton { background: linear-gradient(90deg, var(--surface2) 25%, var(--surface) 50%, var(--surface2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 260px; }

/* Stats Bar */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 700px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .stats-bar { grid-template-columns: 1fr 1fr; } }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; text-align: center; }
.stat-card.stat-new { border-color: #1a6e3c; }
.stat-card.stat-removed { border-color: #5a2020; }
.stat-card.stat-sync { border-color: #1a3a5a; }
.stat-val { font-size: 1.5rem; font-weight: 700; color: var(--accent); line-height: 1.2; }
.stat-card.stat-new .stat-val { color: #5efa9a; }
.stat-card.stat-removed .stat-val { color: #e07070; }
.stat-card.stat-sync .stat-val { font-size: 0.78rem; color: #6aabdc; padding-top: 8px; }
.stat-label { font-size: .72rem; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }

/* Results Info */
.results-info { color: var(--text-muted); font-size: .85rem; margin-bottom: 14px; min-height: 1.2em; }

/* Error / No Results */
.grid-error { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--text-muted); }
.grid-error .error-icon { font-size: 2.5rem; margin-bottom: 12px; }
.grid-error p { font-size: .9rem; }

/* Hero Sektionen */
.hero-sections { margin-bottom: 32px; }
.hero-row { margin-bottom: 28px; }
.row-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.row-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.row-scroll::-webkit-scrollbar { height: 4px; }
.row-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.row-scroll .anime-card { flex: 0 0 140px; min-width: 140px; }
@media (max-width: 600px) { .row-scroll .anime-card { flex: 0 0 120px; min-width: 120px; } }
.refresh-btn { align-self: center; padding: 8px 16px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-muted); font-size: .85rem; cursor: pointer; flex-shrink: 0; }
.refresh-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Englische Beschreibung Hinweis */
.desc-lang { display: block; font-size: .75rem; color: var(--text-muted); margin-top: 8px; font-style: italic; }

/* Season Badges */
.card-season {
  display: inline-block;
  font-size: .65rem;
  color: var(--text-muted);
  margin-top: 2px;
  opacity: .8;
}
.modal-season-badge {
  display: inline-block;
  background: rgba(249,115,22,.15);
  color: #f97316;
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 500;
}

/* Kompaktere Hero-Sektionen */
.hero-sections { margin-bottom: 12px; }
.hero-row { margin-bottom: 16px; }
.hero-row .row-title { font-size: 1rem; margin-bottom: 8px; padding: 0 4px; }
.row-scroll { gap: 10px; padding: 0 4px 8px; }
.row-scroll .anime-card { font-size: .8rem; }
.row-scroll .card-info { padding: 6px 8px; }
.row-scroll .card-title { font-size: .82rem; line-height: 1.2; }
.row-scroll .card-meta { font-size: .7rem; }
.stats-bar { margin-bottom: 12px; padding: 10px 0; gap: 8px; }
.stat-card { padding: 10px 14px; }
.stat-val { font-size: 1.4rem; }
.stat-label { font-size: .65rem; }

/* ===== Staffel Accordion ===== */
.season-accordion { border-radius: 8px; overflow: hidden; margin-bottom: 6px; border: 1px solid var(--border); }
.season-accordion.unavailable { opacity: .5; }

.season-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; cursor: pointer;
  background: var(--surface2);
  transition: background .15s;
  user-select: none;
}
.season-header:hover { background: #2e2e2e; }
.season-accordion.open .season-header { background: #2a2a2a; border-bottom: 1px solid var(--border); }

.season-arrow { font-size: .7rem; color: var(--text-muted); flex-shrink: 0; transition: color .15s; }
.season-accordion.open .season-arrow { color: var(--accent); }
.season-name { flex: 1; font-size: .85rem; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dub-badge { font-size: .7rem; font-weight: 400; color: var(--text-muted); }
.season-header .ep-count { color: var(--text-muted); font-size: .78rem; flex-shrink: 0; }
.btn-staffel-gesehen { padding: 3px 10px; background: var(--surface2); border: 1px solid var(--border); border-radius: 20px; color: var(--text-muted); font-size: .75rem; cursor: pointer; flex-shrink: 0; white-space: nowrap; transition: background .15s, color .15s; }
.btn-staffel-gesehen:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Episodenliste */
.season-episodes {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.season-accordion.open .season-episodes { max-height: 600px; overflow-y: auto; }

.ep-loading, .ep-empty {
  padding: 14px 16px; font-size: .82rem; color: var(--text-muted); text-align: center;
}
.ep-empty a { color: var(--accent); }

.episode-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px; text-decoration: none; color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .15s;
}
.episode-item:last-child { border-bottom: none; }
.episode-item:hover { background: rgba(244,117,33,.08); }

.ep-thumb {
  width: 88px; height: 50px; object-fit: cover;
  border-radius: 4px; flex-shrink: 0; background: var(--surface2);
}
.ep-thumb-placeholder { width: 88px; height: 50px; border-radius: 4px; background: var(--surface2); flex-shrink: 0; }

.ep-info { flex: 1; min-width: 0; }
.ep-title { font-size: .82rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-nr { color: var(--accent); font-weight: 600; margin-right: 4px; }
.ep-meta { font-size: .72rem; color: var(--text-muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; }

.ep-badge {
  font-size: .62rem; font-weight: 700; padding: 1px 5px;
  border-radius: 3px; letter-spacing: .03em;
}
.ep-badge.dub { background: rgba(244,117,33,.2); color: var(--accent); }
.ep-badge.sub { background: rgba(100,150,255,.15); color: #7aadff; }

.ep-play { font-size: .75rem; color: var(--text-muted); flex-shrink: 0; opacity: 0; transition: opacity .15s; }
.episode-item:hover .ep-play { opacity: 1; color: var(--accent); }

/* Scrollbar für Episodenliste */
.season-episodes::-webkit-scrollbar { width: 4px; }
.season-episodes::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ===== REDESIGN: Header Stats ===== */
.header-inner { justify-content: space-between; }
.header-stats { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-muted); }
.hstat { white-space: nowrap; }
.hstat-val { color: var(--text); font-weight: 600; }
.hstat-new .hstat-val { color: #5efa9a; }
.hstat-sep { opacity: .4; }
@media (max-width: 480px) { .hstat-sep:last-of-type, .hstat.hstat-sync { display: none; } }

/* ===== REDESIGN: Hero Search Block ===== */
.hero-search-block {
  background: linear-gradient(180deg, #1a1a1a 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 20px 20px 0;
  margin: 0 -20px 24px;
}
.hero-search-inner { max-width: 700px; margin: 0 auto 16px; }
.hero-search-inner input {
  width: 100%; padding: 14px 20px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  color: var(--text); font-size: 1rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.hero-search-inner input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,117,33,.12);
}

/* Discovery Tabs */
.discovery-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.discovery-tabs::-webkit-scrollbar { display: none; }
.dtab {
  padding: 8px 16px; font-size: .85rem; font-weight: 500;
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color .15s, border-color .15s;
  display: flex; align-items: center; gap: 6px;
}
.dtab:hover { color: var(--text); }
.dtab.active { color: var(--accent); border-bottom-color: var(--accent); }

.dtab-refresh {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-size: .85rem; padding: 0 2px; line-height: 1;
  transition: color .15s;
}
.dtab-refresh:hover { color: var(--accent); }

.dtab-panel { padding: 12px 0 8px; }
.dtab-panel.hidden { display: none; }
.dtab-panel .row-scroll { padding-bottom: 4px; }

/* Filters Bar (kompakter) */
.filters-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.filters-bar select {
  padding: 7px 12px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: .85rem;
  cursor: pointer; outline: none; flex: 1; min-width: 120px;
}
.filters-bar select:focus { border-color: var(--accent); }

/* Alte .search-bar und .stats-bar ausblenden falls noch vorhanden */
.search-bar input { display: none; }
.stats-bar { display: none; }

/* Suche in der Filterleiste */
.filters-bar input[type="text"] {
  flex: 2; min-width: 200px;
  padding: 7px 14px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: .9rem;
  outline: none; transition: border-color .2s;
}
.filters-bar input[type="text"]:focus { border-color: var(--accent); }

/* Hero ohne Search-Block Padding oben */
.hero-search-block { padding-top: 0; }
.hero-search-inner { display: none; }

/* ===== Auth Header ===== */
.header-auth { margin-left: auto; }
.btn-login {
  padding: 6px 16px; background: var(--accent); border: none;
  border-radius: 20px; color: #fff; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: background .15s;
}
.btn-login:hover { background: var(--accent2); }

.user-menu { position: relative; }
.btn-user {
  padding: 6px 14px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 20px; color: var(--text); font-size: .85rem; cursor: pointer;
  transition: border-color .15s;
}
.btn-user:hover { border-color: var(--accent); }

.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 160px; z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.user-dropdown button {
  display: block; width: 100%; padding: 10px 16px; background: none; border: none;
  color: var(--text); font-size: .88rem; text-align: left; cursor: pointer;
  transition: background .15s;
}
.user-dropdown button:hover { background: var(--surface2); }

/* ===== Auth Modal ===== */
.auth-modal-content {
  max-width: 380px; padding: 28px;
}
.auth-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.auth-tab {
  flex: 1; padding: 8px; background: none; border: none; color: var(--text-muted);
  font-size: .9rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form.hidden { display: none; }
.auth-form input {
  padding: 10px 14px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: .9rem; outline: none;
}
.auth-form input:focus { border-color: var(--accent); }
.btn-auth-submit {
  padding: 11px; background: var(--accent); border: none; border-radius: var(--radius);
  color: #fff; font-size: .95rem; font-weight: 600; cursor: pointer; margin-top: 4px;
}
.btn-auth-submit:hover { background: var(--accent2); }
.auth-error { font-size: .82rem; color: #e07070; min-height: 1.2em; }

/* ===== Watchlist Button ===== */
.modal-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.btn-watchlist {
  padding: 10px 18px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-muted); font-size: .88rem;
  font-weight: 500; cursor: pointer; transition: all .15s;
}
.btn-watchlist:hover { border-color: var(--accent); color: var(--accent); }
.btn-watchlist.active { background: rgba(244,117,33,.15); border-color: var(--accent); color: var(--accent); }

/* ===== Episode Watched ===== */
.ep-watch-btn {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border);
  background: none; color: var(--text-muted); font-size: .9rem; cursor: pointer;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: all .15s; margin-left: 4px;
}
.ep-watch-btn:hover { border-color: #5efa9a; color: #5efa9a; }
.ep-watch-btn.watched { background: rgba(94,250,154,.15); border-color: #5efa9a; color: #5efa9a; }

.episode-item.ep-watched { opacity: .6; }
.episode-item.ep-watched .ep-title { text-decoration: line-through; color: var(--text-muted); }
.episode-item.ep-watched:hover { opacity: 1; }

/* Watchlist Badges */
.wl-badge { position: absolute; bottom: 42px; left: 0; right: 0; text-align: center; font-size: .7rem; font-weight: 700; padding: 4px 6px; letter-spacing: .03em; }
.wl-badge-new { background: var(--accent); color: #fff; }
.wl-badge-unseen { background: rgba(0,0,0,.7); color: #4ade80; }

/* Passwort vergessen */
.btn-forgot { background: none; border: none; color: var(--text-muted); font-size: .8rem; cursor: pointer; padding: 2px 0; text-align: left; text-decoration: underline; }
.btn-forgot:hover { color: var(--text); }
.auth-success { color: #4ade80; font-size: .85rem; margin-top: 6px; }

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 16px 20px; box-shadow: 0 -4px 20px rgba(0,0,0,.5);
}
.cookie-banner-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 200px; }
.cookie-banner-text strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.cookie-banner-text p { font-size: .82rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.cookie-options { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.cookie-option { display: flex; align-items: center; gap: 8px; font-size: .85rem; cursor: pointer; user-select: none; }
.cookie-option input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.btn-cookie-accept-all {
  padding: 9px 20px; background: var(--accent); border: none;
  border-radius: 20px; color: #fff; font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: background .15s; white-space: nowrap;
}
.btn-cookie-accept-all:hover { background: var(--accent2); }
.btn-cookie-necessary {
  padding: 9px 20px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 20px; color: var(--text-muted); font-size: .88rem;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.btn-cookie-necessary:hover { border-color: var(--accent); color: var(--accent); }
.cookie-datenschutz-link { color: var(--text-muted); font-size: .82rem; text-decoration: underline; white-space: nowrap; }

/* ===== Account Modal ===== */
.account-modal-content { max-width: 400px; padding: 28px; }
.btn-account-action {
  width: 100%; padding: 11px 16px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: .9rem; text-align: left;
  cursor: pointer; transition: all .15s;
}
.btn-account-action:hover { border-color: var(--accent); color: var(--accent); }
.btn-account-danger {
  width: 100%; padding: 11px 16px; background: rgba(224,112,112,.1); border: 1px solid #c0504a;
  border-radius: var(--radius); color: #e07070; font-size: .9rem; text-align: left;
  cursor: pointer; transition: all .15s;
}
.btn-account-danger:hover { background: rgba(224,112,112,.2); }
.delete-confirm-box {
  margin-top: 16px; padding: 16px;
  background: rgba(224,112,112,.08); border: 1px solid #c0504a; border-radius: 8px;
}
.delete-confirm-box p { font-size: .85rem; color: #e07070; line-height: 1.5; margin-bottom: 8px; }
.delete-confirm-box p:first-child { font-weight: 500; }
.delete-confirm-input {
  width: 100%; padding: 8px 12px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text); font-size: .9rem; margin-bottom: 10px; outline: none;
}
.delete-confirm-input:focus { border-color: #e07070; }

/* ===== Legal Pages ===== */
.legal-page { max-width: 800px; margin: 40px auto; padding: 0 20px 60px; }
.legal-page h1 { font-size: 1.6rem; margin-bottom: 8px; }
.legal-page h2 { font-size: 1rem; font-weight: 700; margin: 28px 0 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.legal-page p { font-size: .9rem; line-height: 1.75; color: #ccc; margin-bottom: 10px; }
.legal-page ul { padding-left: 20px; margin-bottom: 10px; }
.legal-page li { font-size: .9rem; line-height: 1.75; color: #ccc; margin-bottom: 4px; }
.legal-page a { color: var(--accent); }
.legal-page strong { color: var(--text); }
