:root{color-scheme:dark;--bg:#151515;--surface:#242323;--accent:#ff771f;--ink:#fff;--muted:#b4adab;--button-ink:#231106;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background-color:var(--bg);color:var(--ink);line-height:1.5}
body::before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:240px;background:radial-gradient(ellipse at 13% -70%,color-mix(in srgb,var(--accent) 33%,transparent),transparent 68%),radial-gradient(ellipse at 94% -95%,color-mix(in srgb,var(--accent) 20%,transparent),transparent 69%);pointer-events:none}
button,input{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
header{position:sticky;top:0;z-index:3;transition:background .18s}
header.scrolled{background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(14px);box-shadow:0 1px 0 #ffffff12}
.bar-inner,main{max-width:640px;padding-inline:16px;margin:auto}
.bar-inner{height:64px;display:flex;align-items:center;justify-content:space-between;position:relative}
.logo{display:flex;align-items:center;max-width:46%;height:38px}
#brand{font:bold italic 27px/1 Georgia,serif;letter-spacing:-1.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#logoImg{max-height:38px;max-width:min(180px,100%);object-fit:contain}
#shortTitle{position:absolute;left:50%;top:50%;transform:translate(-50%,-30%);font-size:17px;font-weight:600;opacity:0;transition:opacity .2s,transform .2s;max-width:40%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;pointer-events:none}
.scrolled #shortTitle{opacity:1;transform:translate(-50%,-50%)}
#info{width:34px;height:34px;border-radius:50%;border:0;background:#ffffff12;color:var(--muted);display:grid;place-items:center}
#info:hover{background:#ffffff25}
main{padding-top:16px;padding-bottom:32px}
h1{font-size:34px;font-weight:800;line-height:1.15;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
#intro{font-size:16px;line-height:1.45;max-width:34rem;margin:8px 0 22px;color:var(--muted);white-space:pre-line}
.recommend{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;min-height:58px;border-radius:14px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 84%,#a5400b),var(--accent) 69%,color-mix(in srgb,var(--accent) 75%,white));color:var(--button-ink);box-shadow:0 3px 8px #0003}
.recommend::before{content:"";position:absolute;inset:0;z-index:-1;background-image:var(--pattern,none);background-size:92px 48px;opacity:.11;pointer-events:none}
.recommend[href]:hover{filter:brightness(1.08)}.recommend[aria-disabled=true]{cursor:default}
.caption{display:grid;line-height:1.2;min-width:0}.caption strong{font-size:17px;font-weight:700}.caption small{font-size:13px;margin-top:2px;overflow-wrap:anywhere}
.search{display:flex;align-items:center;gap:7px;background:var(--surface);border-radius:10px;padding:0 9px;margin:28px 0 24px;color:var(--muted);height:38px}
.search svg{width:16px;height:16px}.search input{flex:1;min-width:0;background:none;border:0;outline:none;font-size:17px;height:38px;padding:0}
.search input::placeholder{color:var(--muted);opacity:.8}.search:focus-within{box-shadow:0 0 0 2px var(--accent)}
.group{background:var(--surface);border-radius:12px;overflow:hidden}ul{padding:0;margin:0;list-style:none}
.row{height:50px;display:flex;align-items:center;gap:12px;padding:0 16px;position:relative;font-size:17px}
li+li .row::before{content:"";height:1px;background:#ffffff0b;position:absolute;top:0;left:38px;right:0}
.row:hover{background:#ffffff08}.dot{height:10px;width:10px;flex:none;border-radius:50%;background:#8a8886}
.dot[data-state=up]{background:#1cda52;box-shadow:0 0 5px #20df5055}.dot[data-state=down]{background:#e86a55}
.host{flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-weight:500}
.badge{background:color-mix(in srgb,var(--accent) 15%,var(--surface));color:color-mix(in srgb,var(--accent) 80%,white);font-size:12px;line-height:17px;font-weight:700;padding:2px 8px;border-radius:20px;max-width:41%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.chevron{width:8px;height:8px;border:solid var(--muted);border-width:2px 2px 0 0;transform:rotate(45deg);opacity:.55;flex:none}
#message{padding:15px 16px;color:var(--muted);font-size:15px;margin:0}
footer{text-align:center;margin-top:36px;color:var(--muted);font-size:13px}#age{display:inline-block;border:1px solid currentColor;border-radius:5px;padding:1px 6px;font-size:11px;font-weight:700;line-height:15px}footer p{margin:6px 0 0;white-space:pre-line}
dialog{width:min(432px,calc(100% - 32px));max-height:80vh;border:0;border-radius:16px;padding:20px;background:var(--surface);color:var(--ink);box-shadow:0 20px 60px #0005}
dialog::backdrop{background:#0008;backdrop-filter:blur(3px)}dialog h2{margin:0;font-size:20px}dialog p{color:var(--muted);line-height:1.5;margin:12px 0 22px;white-space:pre-line}
dialog button{width:100%;height:50px;border:0;border-radius:14px;background:#ffffff12;color:var(--ink);font-size:17px;font-weight:600}
@media(max-width:360px){.row{gap:8px;padding-inline:12px}.badge{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
