/* ============ Landing, Dashboard, Admin ============ */

/* ---------- Hintergrund-Szene ---------- */
.bg-scene { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none;
  background: radial-gradient(1200px 700px at 70% -10%, rgba(145,70,255,.22), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(61,224,255,.12), transparent 60%), var(--bg); }
.bg-scene .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.bg-scene .b1 { width: 520px; height: 520px; background: #6d28d9; top: -120px; right: 8%; }
.bg-scene .b2 { width: 460px; height: 460px; background: #0891b2; bottom: -160px; left: -80px; animation-delay: -6s; }
.bg-scene .b3 { width: 380px; height: 380px; background: #db2777; top: 40%; left: 45%; opacity: .3; animation-delay: -12s; }
.bg-scene.subtle .blob { opacity: .28; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,-40px) scale(1.1); } 100% { transform: translate(-40px,50px) scale(.95); } }
.grid-floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background-image: linear-gradient(rgba(145,70,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(145,70,255,.35) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: top;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 95%);
  animation: floor 6s linear infinite; opacity: .5; }
@keyframes floor { from { background-position: 0 0; } to { background-position: 0 64px; } }

/* ---------- Landing ---------- */
.topnav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.topnav-links { display: flex; align-items: center; gap: 26px; }
.topnav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; transition: color .2s; }
.topnav-links a:not(.btn):hover { color: var(--fg); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding: 60px 0 100px; min-height: calc(100vh - 90px); }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .45em 1em; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 1.6s infinite; }
.hero-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.03em; margin: 26px 0 22px; }
.grad-text { background: linear-gradient(100deg, #c7a6ff 0%, var(--accent) 35%, var(--cyan) 70%, #9ff 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-sub b { color: var(--fg); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 10px 0 0; list-style: none; }
.hero-badges li { font-size: .85rem; color: var(--muted); padding: .35em .9em; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.hero-badges li::before { content: "✓ "; color: var(--green); }

.hero-demo { position: relative; }
.demo-card { position: relative; z-index: 1; padding: 26px; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .6s; }
.demo-card:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.demo-glow { position: absolute; inset: 10% 5%; background: conic-gradient(from 0deg, var(--accent), var(--cyan), var(--pink), var(--accent)); filter: blur(70px); opacity: .45; animation: spin 14s linear infinite; z-index: 0; border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.demo-head > div:nth-child(2) { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.demo-avatar { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--cyan)); }
.demo-label { font-size: .72rem; letter-spacing: .3em; color: var(--muted); text-align: center; }
.demo-timer { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); text-align: center; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #c9b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px rgba(145,70,255,.55)); margin: 6px 0 20px; }
.demo-feed { display: flex; flex-direction: column; gap: 8px; min-height: 190px; }
.demo-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); animation: slideIn .5s cubic-bezier(.2,.9,.3,1.3) both; }
.demo-item .di-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .9rem; }
.demo-item b { font-weight: 600; }
.demo-item .di-plus { margin-left: auto; font-family: var(--f-mono); font-weight: 700; color: var(--green); font-size: .85rem; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-12px) scale(.96); } to { opacity: 1; transform: none; } }

.section { padding: 90px 0; }
.section-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.02em; margin: 0 0 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; transition: transform .3s, border-color .3s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.feature h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; margin: 18px 0 8px; }
.feature p { color: var(--muted); margin: 0; }
.f-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; }
.f-sub, .s-sub { color: #c4a5ff; } .f-sub { background: rgba(145,70,255,.16); box-shadow: 0 0 30px -6px rgba(145,70,255,.6); }
.f-gift, .s-gift { color: var(--pink); } .f-gift { background: rgba(255,79,216,.14); box-shadow: 0 0 30px -6px rgba(255,79,216,.5); }
.f-bits, .s-bits { color: var(--cyan); } .f-bits { background: rgba(61,224,255,.13); box-shadow: 0 0 30px -6px rgba(61,224,255,.5); }
.f-web { background: rgba(62,240,161,.12); color: var(--green); }
.f-obs { background: rgba(255,201,77,.12); color: var(--gold); }
.f-ctl { background: rgba(255,255,255,.08); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding: 28px; }
.step-n { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.05)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-family: var(--f-display); font-weight: 600; margin: 10px 0 6px; font-size: 1.1rem; }
.steps p { color: var(--muted); margin: 0; }
.center-cta { display: flex; justify-content: center; margin-top: 46px; }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner nav a { color: var(--muted); text-decoration: none; }
.footer-inner nav a:hover { color: var(--fg); }

/* ---------- Message / Login ---------- */
.page-message { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.message-card { width: min(480px, 100%); padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.message-card h1 { font-family: var(--f-display); font-size: 1.6rem; margin: 6px 0 0; }
.message-card .btn { margin-top: 12px; }
.msg-code { font-family: var(--f-display); font-weight: 800; font-size: 3.2rem; letter-spacing: .05em; background: linear-gradient(135deg, var(--accent), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-top: 18px; }
.admin-login .msg-code { font-size: 1rem; letter-spacing: .5em; padding: .5em 1em .5em 1.5em; border: 1px solid var(--line-2); border-radius: 999px; -webkit-text-fill-color: initial; color: var(--muted); background: none; }

/* ---------- Legal ---------- */
.legal { padding: 40px; margin-block: 20px 40px; max-width: 860px; }
.legal h1 { font-family: var(--f-display); }
.legal h2 { font-size: 1.1rem; margin-top: 2em; }
.legal p { color: #d6d2ee; }

/* ---------- App-Layout ---------- */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px; border-right: 1px solid var(--line); background: rgba(10,8,22,.55); backdrop-filter: blur(20px); display: flex; flex-direction: column; gap: 22px; }
.sidebar > .logo { padding: 4px 8px; }
.admin-badge { align-self: flex-start; margin: -10px 8px 0; font-size: .68rem; font-weight: 800; letter-spacing: .3em; padding: .3em .8em .3em 1.1em; border-radius: 999px; background: linear-gradient(135deg, var(--red), var(--gold)); color: #120b00; }
.side-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid transparent; background: none; text-align: left; cursor: pointer; color: var(--muted); font-weight: 500; transition: all .2s; }
.side-link:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.side-link.active { color: var(--fg); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent), rgba(255,255,255,.02)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.side-ico { width: 22px; text-align: center; opacity: .9; }
.side-foot { display: flex; flex-direction: column; gap: 12px; }
.side-user { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.side-user img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; }
.side-user span { display: flex; flex-direction: column; line-height: 1.2; overflow: hidden; }
.side-user small { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; }

.main { padding: 32px clamp(18px, 3vw, 44px) 60px; min-width: 0; }
.tab { display: none; animation: fadeUp .35s ease both; }
.tab.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 4px; letter-spacing: -.01em; }
.page-head p { margin: 0; }
.head-actions { display: flex; gap: 10px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; align-items: start; }
.grid-2.tight { gap: 12px; margin-bottom: 4px; }
.span-2 { grid-column: 1 / -1; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.card { padding: 22px; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; }
.card-label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Timer-Karte */
.timer-card { display: flex; flex-direction: column; gap: 20px; position: relative; overflow: hidden; }
.timer-card::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); pointer-events: none; }
.big-timer { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 6vw, 5rem); text-align: center; font-variant-numeric: tabular-nums; letter-spacing: .01em; line-height: 1;
  background: linear-gradient(180deg, #fff 20%, #cdbdff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 28px color-mix(in srgb, var(--accent) 60%, transparent)); padding: 10px 0; }
.timer-controls { display: flex; justify-content: center; gap: 12px; }
.timer-controls .btn { min-width: 200px; }
.quick-add, .set-time { display: flex; flex-direction: column; gap: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .5em .95em; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; font-weight: 600; font-size: .88rem; font-family: var(--f-mono); transition: all .15s; }
.chip:hover { background: color-mix(in srgb, var(--accent) 25%, transparent); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.chip-neg:hover { background: rgba(255,84,112,.15); border-color: rgba(255,84,112,.5); }
.hms { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.hms label { display: flex; flex-direction: column; gap: 3px; }
.hms input { width: 84px; text-align: center; font-family: var(--f-mono); }
.hms span { font-size: .72rem; color: var(--dim); text-align: center; text-transform: uppercase; letter-spacing: .1em; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat-grid-4 { grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.stat { padding: 18px; display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden; }
.stat b { font-family: var(--f-display); font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat span:last-child { color: var(--muted); font-size: .85rem; }
.stat-ico { position: absolute; right: 14px; top: 12px; font-size: 1.2rem; opacity: .9; }
.s-time { color: var(--green); font-weight: 800; }

/* Feed */
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 330px; overflow: auto; }
.feed li { flex-shrink: 0; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.feed li.new { animation: slideIn .5s cubic-bezier(.2,.9,.3,1.3) both; }
.feed .fi-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.fi-sub { background: rgba(145,70,255,.18); color: #c4a5ff; }
.fi-gift { background: rgba(255,79,216,.15); color: var(--pink); }
.fi-bits { background: rgba(61,224,255,.13); color: var(--cyan); }
.fi-manual { background: rgba(255,255,255,.08); }
.feed .fi-text { line-height: 1.25; min-width: 0; }
.feed .fi-text b { font-weight: 600; }
.feed .fi-text small { display: block; color: var(--muted); font-size: .78rem; }
.feed .fi-plus { font-family: var(--f-mono); font-weight: 700; color: var(--green); font-size: .85rem; }
.feed .fi-plus.zero { color: var(--dim); }
.feed .feed-empty { display: block; text-align: center; color: var(--dim); padding: 20px; background: none; border: 1px dashed var(--line-2); }
.tag-test { font-size: .65rem; font-weight: 800; letter-spacing: .1em; padding: .1em .5em; border-radius: 6px; background: var(--gold); color: #1a1200; margin-left: 6px; vertical-align: middle; }

/* Formulare */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span { font-weight: 600; font-size: .92rem; }
.field small { color: var(--muted); font-size: .8rem; }
input[type="text"], input[type="number"], input:not([type]), select, textarea, .search {
  background: rgba(0,0,0,.3); border: 1px solid var(--line-2); border-radius: 12px; padding: .7em .9em; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
input:focus, select:focus, textarea:focus, .search:focus { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
textarea { resize: vertical; }
select option { background: #15122a; }
.search { width: 260px; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 3.6em; }
.input-suffix em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--dim); font-size: .85rem; pointer-events: none; }
.example { font-size: .85rem; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: rgba(61,224,255,.06); border: 1px solid rgba(61,224,255,.18); }
.example b { color: var(--fg); }
.save-bar { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.toggle { display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tgl { flex: 0 0 auto; width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; transition: background .25s; border: 1px solid var(--line-2); }
.tgl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.3,1.4,.5,1); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.toggle input:checked + .tgl { background: linear-gradient(135deg, var(--accent), var(--cyan)); }
.toggle input:checked + .tgl::after { transform: translateX(18px); }
.toggle input:focus-visible + .tgl { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }

.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.theme-opt { cursor: pointer; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.theme-opt input { position: absolute; opacity: 0; }
.theme-swatch { width: 100%; aspect-ratio: 16/10; border-radius: 12px; border: 2px solid transparent; transition: all .2s;
  background: radial-gradient(circle at 25% 30%, var(--s1), transparent 55%), radial-gradient(circle at 80% 70%, var(--s2), transparent 55%), radial-gradient(circle at 60% 20%, var(--s3), transparent 50%), #0a0814; }
.theme-opt input:checked + .theme-swatch { border-color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.theme-name { font-size: .82rem; color: var(--muted); }
.color-row { display: flex; gap: 10px; }
.color-row input[type="color"] { width: 54px; height: 44px; padding: 3px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.3); cursor: pointer; }
.slug-input { display: flex; align-items: center; background: rgba(0,0,0,.3); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.slug-input span { padding: 0 0 0 .9em; color: var(--dim); white-space: nowrap; }
.slug-input input { border: 0; background: none; padding-left: .2em; box-shadow: none !important; font-weight: 600; }

/* Webseite generieren */
.generate-card { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center; padding: 34px; position: relative; overflow: hidden; }
.gen-art { aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.gen-orb { width: 80%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), var(--cyan), var(--pink), var(--accent)); filter: blur(2px); animation: spin 8s linear infinite; box-shadow: 0 0 80px color-mix(in srgb, var(--accent) 70%, transparent); position: relative; }
.gen-orb::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: #0b0918; box-shadow: inset 0 0 40px rgba(145,70,255,.6); }
.gen-copy h2 { font-family: var(--f-display); font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 0 0 8px; }
.gen-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.gen-form .slug-input { flex: 1; min-width: 260px; }

.link-card { margin-bottom: 18px; display: flex; flex-direction: column; gap: 18px; }
.link-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.link-row > div:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.big-link { font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.4rem); text-decoration: none; background: linear-gradient(90deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; word-break: break-all; }
.code-link { word-break: break-all; }
.link-actions { display: flex; gap: 8px; }

/* Tabellen */
.table-wrap { overflow: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: rgba(255,255,255,.02); }
.table .mono { font-family: var(--f-mono); font-size: .85rem; }
.t-user { display: flex; align-items: center; gap: 10px; }
.t-user img { width: 34px; height: 34px; border-radius: 10px; }
.t-user small { display: block; color: var(--muted); }
.t-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2em .6em; border-radius: 6px; background: rgba(255,255,255,.08); }
.badge-ok { background: rgba(62,240,161,.15); color: var(--green); }
.badge-warn { background: rgba(255,201,77,.15); color: var(--gold); }
.badge-err { background: rgba(255,84,112,.15); color: var(--red); }

.status-list, .info-list, .mini-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.status-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); gap: 10px; }
.info-list li { color: var(--muted); }
.info-list b { color: var(--fg); }
.mini-list li { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03); }
.mini-list .mono { font-family: var(--f-mono); }

.danger-card { border-color: rgba(255,84,112,.3); max-width: 640px; }
.danger-card h3 { margin-top: 0; }

/* Modal */
.modal { width: min(440px, 92vw); padding: 26px; color: var(--fg); }
.modal::backdrop { background: rgba(5,4,12,.7); backdrop-filter: blur(4px); }
.modal h3 { margin-top: 0; font-family: var(--f-display); font-size: 1.1rem; }

/* Toasts */
.toast-host { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 100; }
.toast { padding: 12px 16px; border-radius: 12px; background: #1a1630; border: 1px solid var(--line-2); box-shadow: 0 10px 40px rgba(0,0,0,.5); animation: slideIn .35s both; max-width: 380px; }
.toast-ok { border-color: rgba(62,240,161,.4); }
.toast-err { border-color: rgba(255,84,112,.5); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 30px; }
  .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: sticky; z-index: 10; height: auto; flex-direction: row; align-items: center; padding: 12px 14px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); gap: 12px; }
  .sidebar > .logo span, .side-foot .side-user, .admin-badge { display: none; }
  .side-nav { flex-direction: row; flex: 1; }
  .side-link { padding: 8px 12px; white-space: nowrap; font-size: .88rem; }
  .side-foot { flex-direction: row; }
  .generate-card { grid-template-columns: 1fr; }
  .gen-art { width: 160px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .topnav-links a:not(.btn) { display: none; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
}
