/* Real or Slop — Theme v19.0 (unified) */
*{box-sizing:border-box}html,body{height:100%}
:root{--bg:#0b0f14;--panel:#0f1620;--card:#0f1724;--card-2:#101b2a;--text:#d7e2ef;--muted:#a5b1c3;--muted-2:#7e8aa0;--line:rgba(255,255,255,.08);--line-2:rgba(255,255,255,.12);--accent:#3b82f6;--accent-2:#60a5fa;--good:#22c55e;--good-2:#16a34a;--bad:#ef4444;--bad-2:#dc2626;--shadow:0 12px 32px rgba(0,0,0,.35);--radius:14px}
body{margin:0;background:var(--bg);color:var(--text);font:15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:var(--accent-2);text-decoration:none}a:hover{text-decoration:underline}
.container{width:min(1120px,92vw);margin:0 auto}.sep{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--line-2);margin-inline:8px}
.bg-ornaments{position:fixed;inset:0;pointer-events:none;z-index:0}.bg-ornaments .gridlines{position:absolute;inset:0;background-image:linear-gradient(to right,rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.04) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(ellipse at 75% 80%,rgba(0,0,0,.9),rgba(0,0,0,.5),transparent 70%)}.orb{position:absolute;filter:blur(66px);border-radius:50%;opacity:.6}.orb-a{width:340px;height:340px;right:-120px;bottom:-60px;background:radial-gradient(closest-side,#0ea5e9,transparent)}.orb-b{width:300px;height:300px;left:-120px;top:-70px;background:radial-gradient(closest-side,#22c55e,transparent)}
.header{position:sticky;top:0;z-index:5;backdrop-filter:blur(8px);background:rgba(11,15,20,.6);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:14px}.brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none}.brand-logo{width:30px;height:30px;border-radius:8px;background:conic-gradient(from 160deg,#0ea5e9,#3b82f6,#22c55e);box-shadow:0 4px 16px rgba(14,165,233,.35)}.brand h1{font-size:20px;margin:0;letter-spacing:.2px}.brand small{display:block;margin-top:2px;font-size:12px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:10px}
.btn{--bg:#1a2432;--fg:var(--text);--bd:var(--line-2);background:var(--bg);color:var(--fg);border:1px solid var(--bd);padding:8px 12px;border-radius:10px;cursor:pointer;transition:transform .08s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;box-shadow:none;font:600 13px/1 system-ui,-apple-system,Segoe UI,Roboto;text-decoration:none}.btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.22)}.btn:active{transform:translateY(0)}.btn.primary{--bg:linear-gradient(180deg,#2563eb,#1d4ed8);--bd:#1e40af;color:#e6eefc}.btn.success{--bg:linear-gradient(180deg,#22c55e,#16a34a);--bd:#065f46;color:#08140c}.btn.ghost{background:transparent;border-color:var(--line)}.btn.small{padding:6px 10px;font-size:12px;border-radius:9px}.btn[disabled]{opacity:.6;cursor:not-allowed;transform:none!important}
.hero{padding:18px 0 6px;position:relative}.search-wrap{position:relative;display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:12px;padding:10px 12px}.search-wrap .icon{opacity:.7}#search{flex:1;border:0;outline:none;background:transparent;color:var(--text);font-size:14px}.subtle{color:var(--muted);margin-top:10px}
.main{position:relative;z-index:1;margin-top:8px;padding-bottom:60px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}@media (max-width:720px){.grid{grid-template-columns:1fr;gap:14px}}
.card{background:linear-gradient(180deg,var(--card),var(--card-2));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px}.creator-title{display:flex;align-items:center;gap:10px;margin-bottom:10px}.avatar{width:22px;height:22px;border-radius:50%;background:#0e1624;border:1px solid var(--line);object-fit:cover}.embed{border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#0d1421;margin:10px 0}.embed iframe{display:block;width:100%;height:220px}
.progress{position:relative;height:8px;background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:999px;overflow:hidden}.progress .ai{position:absolute;top:0;left:0;height:100%;background:linear-gradient(180deg,var(--bad),var(--bad-2))}.progress .human{position:absolute;top:0;right:0;height:100%;background:linear-gradient(180deg,var(--good),var(--good-2))}
.stats{display:flex;justify-content:space-between;margin:8px 0 12px;color:var(--muted);font-size:12px}.stats b{color:var(--text)}
.card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.comment-box{flex:1 1 220px;min-height:38px;resize:vertical;border-radius:10px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--text);padding:8px 10px}.comment-box::placeholder{color:var(--muted-2)}
#deckMode[hidden]{display:none!important}.deck{max-width:720px;margin:0 auto}.deck-counter{text-align:right;color:var(--muted);margin-bottom:8px}.deck-cards{position:relative;min-height:420px}.deck-card{position:relative;margin:0 auto;width:min(100%,560px);touch-action:pan-y}.deck-controls{margin-top:12px;display:flex;flex-direction:column;gap:10px}.deck-comment{border-radius:10px;border:1px solid var(--line);padding:8px 10px;background:rgba(255,255,255,.04);color:var(--text);min-height:38px}.deck-buttons{display:flex;gap:10px;justify-content:space-between}.deck-nope{background:linear-gradient(180deg,var(--bad),var(--bad-2));border-color:#7f1d1d}.deck-like{background:linear-gradient(180deg,var(--good),var(--good-2));border-color:#0f5132;color:#04140a}.deck-skip{background:transparent;border-color:var(--line);color:var(--muted)}
.footer{color:var(--muted);padding:24px 0;border-top:1px solid var(--line);margin-top:24px}
.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%) translateY(20px);background:rgba(19,28,42,.9);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:10px 14px;z-index:1100;opacity:0;pointer-events:none;transition:transform .18s ease,opacity .18s ease}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.helper{color:var(--muted);font-size:13px}.center{text-align:center}
.modal-backdrop{position:fixed;inset:0;display:none;z-index:1000;opacity:0;transition:opacity .22s ease}.modal-backdrop.visible{opacity:1}.modal-backdrop::before{content:"";position:absolute;inset:0;background:rgba(3,8,15,.64);backdrop-filter:blur(2px)}
.modal{position:fixed;background:linear-gradient(180deg,var(--panel),#0f1724);color:var(--text);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);width:min(560px,calc(100vw - 40px));max-height:min(82vh,calc(100dvh - 80px));overflow:auto;padding:16px;top:50%;left:50%;transform:translate(-50%,-50%) scale(1);transition:top .24s ease,left .24s ease,transform .24s ease,opacity .24s ease;will-change:top,left,transform,opacity}
.modal.from-anchor{top:clamp(24px,var(--start-y,50%),calc(100% - 24px));left:clamp(24px,var(--start-x,50%),calc(100% - 24px));transform:translate(-50%,-50%) scale(.86);opacity:0}
.modal.open{top:50%!important;left:50%!important;transform:translate(-50%,-50%) scale(1)!important;opacity:1!important}
@supports (height:100svh){.modal{max-height:min(82svh,calc(100svh - 80px))}}
.card-elev{box-shadow:var(--shadow)}.modal h3{margin:0 0 10px;font-size:18px}.row{display:flex;gap:10px;margin:8px 0}.row input,.row textarea{flex:1;border-radius:10px;border:1px solid var(--line);padding:10px 12px;background:rgba(255,255,255,.04);color:var(--text);outline:none}.row textarea{min-height:90px;resize:vertical}.row.end{justify-content:flex-end}
.card.glow{box-shadow:0 0 0 2px rgba(59,130,246,.7),0 0 44px rgba(59,130,246,.28);transition:box-shadow .6s ease}
.icon{display:inline-block;vertical-align:middle}input,textarea,button,select{color:inherit;font:inherit}


/* rros toast */
.rros-toast{position:fixed;left:50%;transform:translateX(-50%) translateY(20px);bottom:24px;min-width:220px;max-width:80vw;padding:10px 14px;border-radius:8px;background:rgba(30,30,30,.95);color:#fff;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s ease, transform .2s ease;z-index:9999;border:1px solid rgba(255,255,255,.1)}
.rros-toast.ok{border-color:rgba(60,200,120,.35)}
.rros-toast.err{border-color:rgba(255,80,80,.45)}
.rros-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
