@font-face { font-family: Inter; src: url(/fonts/Inter.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }
:root { --bg:#000; --fg:#fff; --mut:#8b8b8b; --line:#1f1f1f; --card:#0b0b0b; --acc:#00e676; --warn:#f5b942; --bad:#ff5c5c; color-scheme: dark; }
* { box-sizing: border-box; }
html { overscroll-behavior-y:none; }
html, body { margin:0; background:var(--bg); color:var(--fg); font:15px/1.45 Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing:antialiased; }
a { color:var(--acc); text-decoration:none; } a:hover { text-decoration:underline; }
button { font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
:focus-visible { outline:2px solid var(--acc); outline-offset:2px; border-radius:6px; }
.skip { position:absolute; left:-999px; } .skip:focus { left:8px; top:8px; z-index:99; background:#000; padding:8px; }
.hidden { display:none !important; }
.top { position:sticky; top:0; z-index:10; background:rgba(0,0,0,.82); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--line); padding-top:env(safe-area-inset-top); }
.bar { display:flex; align-items:center; gap:10px; height:52px; padding:0 16px; max-width:640px; margin:0 auto; }
.brand { display:flex; align-items:center; gap:8px; color:var(--fg); font-size:17px; } .brand:hover { text-decoration:none; }
.logo { width:28px; height:28px; border-radius:8px; background:#fff; color:#000; display:grid; place-items:center; font-weight:800; box-shadow:0 3px 0 var(--acc); }
.back { font-size:22px; width:36px; height:36px; border-radius:50%; } .back:hover { background:#151515; }
.live { margin-left:auto; color:var(--mut); font-size:12.5px; display:flex; align-items:center; gap:6px; }
.dot { width:7px; height:7px; border-radius:50%; background:var(--acc); box-shadow:0 0 8px var(--acc); }
.seg { display:flex; max-width:640px; margin:0 auto; }
.seg button { flex:1; padding:12px 0 10px; color:var(--mut); font-weight:600; font-size:14.5px; position:relative; }
.seg button[aria-selected="true"] { color:var(--fg); }
.seg button[aria-selected="true"]::after { content:""; position:absolute; left:50%; bottom:0; width:44px; height:3px; margin-left:-22px; border-radius:3px; background:var(--acc); }
main { max-width:640px; margin:0 auto; min-height:70vh; padding-bottom:64px; border-left:1px solid var(--line); border-right:1px solid var(--line); outline:none; }
@media (max-width:640px) { main { border:0; } }
/* stories row */
.stories { display:flex; gap:14px; overflow-x:auto; padding:14px 16px 12px; border-bottom:1px solid var(--line); scrollbar-width:none; scroll-snap-type:x mandatory; }
.stories::-webkit-scrollbar { display:none; }
.story { flex:0 0 auto; width:80px; overflow:hidden; text-align:center; scroll-snap-align:start; }
.story .ring { width:64px; height:64px; margin:0 auto 6px; border-radius:50%; padding:2.5px; background:conic-gradient(var(--acc) var(--p,100%), #2a2a2a 0); }
.story .ring span { width:100%; height:100%; border-radius:50%; background:#000; border:2px solid #000; display:grid; place-items:center; font-weight:800; font-size:13px; letter-spacing:.02em; }
.story b { display:block; font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.story small { display:block; color:var(--acc); font-size:11.5px; font-variant-numeric:tabular-nums; }
/* posts */
.post { display:flex; gap:12px; padding:14px 16px 6px; border-bottom:1px solid var(--line); cursor:pointer; transition:background .15s; }
.post:hover { background:#070707; }
.post.focus { cursor:default; flex-direction:column; } .post.focus:hover { background:none; }
.av { flex:0 0 auto; width:42px; height:42px; border-radius:50%; display:grid; place-items:center; font-weight:800; font-size:13.5px; letter-spacing:.02em; background:#fff; color:#000; }
.av.g { background:var(--acc); color:#000; } .av.d { background:#161616; color:#fff; border:1px solid #2c2c2c; }
.av.lg { width:72px; height:72px; font-size:22px; }
.pb { flex:1; min-width:0; }
.ph { display:flex; align-items:center; gap:4px; font-size:14.5px; white-space:nowrap; overflow:hidden; }
.ph .nm { font-weight:700; overflow:hidden; text-overflow:ellipsis; color:var(--fg); } .ph .nm:hover { text-decoration:underline; }
.ph .hd, .ph .tm { color:var(--mut); } .ph .tm::before { content:"·"; margin:0 4px; }
.chk { width:16px; height:16px; flex:0 0 auto; } .chk circle { fill:var(--acc); } .chk path { stroke:#000; stroke-width:2.4; fill:none; }
.ptext { margin:2px 0 6px; font-size:15.5px; overflow-wrap:anywhere; } .focus .ptext { font-size:19px; line-height:1.4; margin:12px 0; }
.chips { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0; }
.num { font-weight:800; font-size:13.5px; padding:3px 9px; border-radius:999px; background:#0f1f16; color:var(--acc); border:1px solid #14432a; font-variant-numeric:tabular-nums; }
.tag { font-size:12px; font-weight:600; padding:3px 8px; border-radius:999px; border:1px solid #333; color:#ddd; }
.tag.mm { border-color:var(--acc); color:var(--acc); }
.new { color:#cfcfcf; font-size:14px; margin:4px 0; } .new b { color:var(--fg); }
.acts { display:flex; justify-content:space-between; max-width:430px; margin:2px -8px 0; }
.act { display:flex; align-items:center; gap:5px; color:var(--mut); font-size:13px; padding:8px; border-radius:999px; min-height:36px; }
.act svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.act:hover { color:var(--acc); background:#0d1f15; } .act.on { color:var(--acc); } .act.on svg { fill:var(--acc); }
.act .lbl { display:none; } @media (min-width:520px) { .act .lbl { display:inline; } }
.inline-bd { margin:8px 0; padding:10px 12px; border:1px solid var(--line); border-radius:14px; background:var(--card); font-size:14px; }
/* thread */
.reply { display:flex; gap:12px; padding:12px 16px; border-bottom:1px solid var(--line); position:relative; }
.reply .av { width:34px; height:34px; font-size:11px; }
.reply::before { content:""; position:absolute; left:32px; top:0; height:12px; width:2px; background:#2a2a2a; }
.reply h4 { margin:0 0 2px; font-size:13px; color:var(--mut); font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
.reply p, .reply li { margin:2px 0; } .reply ul { margin:4px 0; padding-left:18px; }
blockquote { margin:6px 0; padding:6px 10px; border-left:3px solid var(--acc); color:#e6e6e6; background:#0a0a0a; border-radius:0 8px 8px 0; }
.meta { color:var(--mut); font-size:13.5px; padding:10px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-top:8px; display:flex; flex-wrap:wrap; gap:4px 14px; }
.discl { color:var(--mut); font-size:12.5px; padding:14px 16px; }
/* profile */
.prof { padding:16px; border-bottom:1px solid var(--line); }
.prof .row { display:flex; align-items:flex-start; justify-content:space-between; }
.prof h2 { margin:10px 0 0; font-size:20px; display:flex; align-items:center; gap:6px; }
.prof .hd { color:var(--mut); } .prof p { margin:8px 0; color:#d9d9d9; }
.btn { border-radius:999px; padding:8px 16px; font-weight:700; font-size:14px; border:1px solid #444; }
.btn.pri { background:#fff; color:#000; border-color:#fff; } .btn:hover { border-color:var(--acc); }
.health { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; }
.health i { width:8px; height:8px; border-radius:50%; background:currentColor; } .ok { color:var(--acc); } .stale { color:var(--warn); } .failing { color:var(--bad); }
.muted { color:var(--mut); } .small { font-size:13px; }
.empty { padding:40px 24px; text-align:center; color:var(--mut); }
.list { list-style:none; margin:0; padding:0; }
.calrow { display:flex; gap:12px; padding:12px 16px; border-bottom:1px solid var(--line); align-items:center; }
.calrow .when { margin-left:auto; text-align:right; font-size:13px; color:var(--mut); font-variant-numeric:tabular-nums; } .calrow .when b { color:var(--acc); display:block; font-size:14px; }
.srcrow { display:flex; gap:12px; padding:12px 16px; border-bottom:1px solid var(--line); align-items:center; cursor:pointer; } .srcrow:hover { background:#070707; }
.sec-h { padding:14px 16px 6px; font-size:13px; color:var(--mut); text-transform:uppercase; letter-spacing:.05em; font-weight:700; }
.newpill { position:fixed; top:calc(112px + env(safe-area-inset-top)); transition:top .15s; left:50%; transform:translateX(-50%); z-index:20; background:var(--acc); color:#000; font-weight:700; padding:8px 16px; border-radius:999px; box-shadow:0 6px 20px rgba(0,230,118,.3); }
/* pull-to-refresh: a floating chip, never changes layout height */
.ptr { position:fixed; left:50%; top:calc(100px + env(safe-area-inset-top)); transform:translate(-50%, 0); z-index:25; background:#0d1f15; color:var(--acc); border:1px solid #14432a; font-size:13px; font-weight:600; padding:6px 12px; border-radius:999px; opacity:0; pointer-events:none; transition:opacity .15s; }
.ptr.on { opacity:1; } .ptr.spin { transform:translate(-50%, 40px); }
.toast { position:fixed; bottom:calc(46px + env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%) translateY(20px); background:#fff; color:#000; padding:9px 16px; border-radius:999px; font-weight:600; font-size:14px; opacity:0; pointer-events:none; transition:.2s; z-index:30; }
.toast.show { opacity:1; transform:translateX(-50%); }
.disc { position:fixed; bottom:0; left:0; right:0; text-align:center; font-size:11.5px; color:var(--mut); background:rgba(0,0,0,.9); border-top:1px solid var(--line); padding:8px 12px calc(8px + env(safe-area-inset-bottom)); z-index:10; }
.loader { padding:20px; text-align:center; color:var(--mut); }
.skel { height:96px; border-bottom:1px solid var(--line); background:linear-gradient(90deg,#050505,#0e0e0e,#050505); background-size:200% 100%; animation:sk 1.2s infinite; }
@keyframes sk { to { background-position:-200% 0; } }
@media (prefers-reduced-motion: reduce) { * { animation:none !important; transition:none !important; } }

/* Upcoming official releases */
.upcoming { border-bottom:1px solid var(--line); scroll-margin-top:120px; }
.up-h { padding:14px 16px 0; } .up-h h2 { margin:0; font-size:15px; font-weight:700; } .up-h p { margin:2px 0 0; color:var(--mut); font-size:13px; }
.upcoming .stories { border-bottom:0; min-height:118px; padding-top:12px; }
.story.sk { height:96px; border-radius:12px; background:#0b0b0b; }
/* highlighted numbers inside the headline */
mark.hl { background:none; color:var(--acc); font-weight:800; font-variant-numeric:tabular-nums; }
/* real site icons */
.av.lg-av { background:#fff; overflow:hidden; padding:5px; } .av.lg-av img { width:100%; height:100%; object-fit:contain; display:block; }
.av.lg-av.tiny { padding:0; } .av.lg-av.tiny img { width:22px; height:22px; margin:auto; }
.av.lg.lg-av.tiny img { width:32px; height:32px; }
a.tag { text-decoration:none; } a.tag:hover { border-color:var(--acc); color:var(--acc); text-decoration:none; }
a.tag.mm:hover { background:#0d1f15; }
.topic-h { padding:16px; border-bottom:1px solid var(--line); } .topic-h h1 { margin:0; font-size:22px; } .topic-h p { margin:4px 0 0; }

/* Saved */
.savedbtn { position:relative; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; color:var(--fg); flex:0 0 auto; }
.savedbtn:hover { background:#151515; text-decoration:none; } .savedbtn svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; }
.savedbtn[aria-current="page"] svg { fill:var(--acc); stroke:var(--acc); }
.savedbtn[data-count]:not([data-count=""])::after { content:attr(data-count); position:absolute; top:1px; right:-2px; min-width:16px; height:16px; padding:0 4px; border-radius:8px; background:var(--acc); color:#000; font-size:10px; font-weight:800; line-height:16px; text-align:center; }
.saved-empty .big svg { width:44px; height:44px; fill:none; stroke:var(--acc); stroke-width:1.6; } .saved-empty h2 { color:var(--fg); margin:8px 0 4px; font-size:18px; }
.saved-empty p { margin:6px auto; max-width:300px; } .saved-empty .soon { font-size:12.5px; border:1px dashed #333; border-radius:999px; display:inline-block; padding:4px 12px; } .saved-empty .btn { display:inline-block; margin-top:10px; }
@media (max-width:380px) { .live #asof { display:none; } }
