/* Copyright (C) 2026 dan1eIDT */
:root{--ultra:#5b3fa0;--pink:#d49bbb;--butter:#d9c8f6;--ink:#150f26;--bg:#150f26;--surface:#241c3d;--text:#ede8f8;--muted:#a399c4;--line:rgba(237,232,248,.18);--bar:rgba(21,15,38,.92);--display:"Unbounded","Noto Sans JP",sans-serif;--body:"Golos Text","Noto Sans JP",sans-serif;--sent:26px 26px 6px 26px;--recv:26px 26px 26px 6px}
[data-theme=light]{--bg:#f1edf8;--surface:#fff;--text:#1e1733;--muted:#6a6288;--line:rgba(30,23,51,.18);--bar:rgba(241,237,248,.93)}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{min-height:100svh;background:var(--bg);color:var(--text);font:400 17px/1.6 var(--body);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--pink);outline-offset:3px}
h1,h2,h3{font-family:var(--display);line-height:1.12;letter-spacing:-.02em}
.btn,.pill{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 24px;border:0;border-radius:var(--sent);background:var(--butter);color:var(--ink);font:600 16px/1.2 var(--body);text-decoration:none;cursor:pointer}
.pill{padding:10px 18px;font-size:14px}
.btn-ghost,.btn-outline{background:none;border:2px solid currentColor;color:var(--text)}
.btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px max(20px,calc(50% - 590px));background:var(--bar);border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.brand,.logo{display:flex;align-items:center;gap:10px;font:700 20px var(--display);text-decoration:none}
.brand img{width:34px;height:34px;border-radius:10px}
.top-actions{display:flex;align-items:center;gap:16px}
.back{font-weight:500;font-size:15px}
.lang{height:40px;padding:0 14px;border:1.5px solid currentColor;border-radius:99px;background:none;color:inherit;font:600 14px var(--body);appearance:none;cursor:pointer}
.lang option{color:#111}
body>main{width:min(1000px,100% - 40px);margin:0 auto;padding:56px 0 96px}
.hero h1{font-size:clamp(32px,5.6vw,64px);font-weight:800;letter-spacing:-.03em;margin-bottom:18px}
.hero p{max-width:52ch;color:var(--muted);font-size:19px}
.hero{margin-bottom:40px}
.notice{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:32px;padding:20px 26px;background:var(--pink);color:var(--ink);border-radius:var(--recv)}
.notice .btn{background:var(--ink);color:#fff}
.panel{padding:clamp(24px,4vw,40px);background:var(--surface);border-radius:var(--recv)}
.panel.download{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;background:var(--ultra);color:#fff}
.panel.download.no-qr{grid-template-columns:1fr}
.section-title{font-size:clamp(24px,3vw,34px);font-weight:700;margin-bottom:22px}
.meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 28px;margin-bottom:22px}
.meta dt{font-size:14px;opacity:.75}
.meta dd{font-weight:600;overflow-wrap:anywhere}
.relstate{margin-bottom:20px;opacity:.85}
.actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.panel.download .btn{background:var(--butter);color:var(--ink)}
.link{font-weight:600}
.qr-card{max-width:250px;padding:20px;background:#fff;color:var(--ink);border-radius:var(--sent);font-size:14px;line-height:1.4}
.qr-card h3{font-size:16px;margin:8px 0 6px}
.qr-box{width:210px}
.block{margin-top:clamp(56px,8vw,96px)}
.steps{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;counter-reset:step}
.step{display:flex;flex-direction:column;gap:12px;padding:26px;border:2px solid var(--line);border-radius:var(--recv)}
.step:nth-child(even){border-radius:var(--sent)}
.step-head{display:flex;align-items:center;gap:16px}
.step-head h3{font-size:18px}
.step-icon{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--ultra);color:#fff}
.step-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.step-num{font-size:13px;color:var(--muted)}
.step-num::before{counter-increment:step;content:counter(step)}
.step p{color:var(--muted)}
.step .note,.note{font-size:15px;color:var(--muted)}
.panel.verify{background:none;border:2px solid var(--line)}
.panel.verify>p{color:var(--muted);margin-bottom:22px}
.sha{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px;padding:14px 18px;background:var(--surface);border-radius:14px}
.sha-label{font-weight:600;font-size:14px}
.sha code,.cmd code{font:14px/1.5 ui-monospace,Menlo,Consolas,monospace;overflow-wrap:anywhere}
.sha code{flex:1 1 280px}
.copy{padding:8px 16px;border:1.5px solid currentColor;border-radius:99px;background:none;color:inherit;font:600 14px var(--body);cursor:pointer}
.copy.attention{background:var(--butter);border-color:var(--butter);color:var(--ink)}
.missing{margin-bottom:22px;color:var(--muted)}
.howto h3{font-size:16px;margin-bottom:14px}
.cmds{display:grid;gap:10px}
.cmd{display:grid;grid-template-columns:90px 1fr;gap:14px;padding:12px 16px;background:var(--surface);border-radius:12px}
.cmd span{font-weight:600;font-size:14px}
.faq details{border-top:1px solid var(--line)}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{padding:22px 0;cursor:pointer;font-size:19px;font-weight:600}
.faq details p{padding-bottom:24px;max-width:62ch;color:var(--muted)}
.fade-in{animation:rise .4s ease backwards}
@keyframes rise{from{opacity:0;transform:translateY(10px)}}
body>main:has(#card){display:grid;place-items:center;min-height:calc(100svh - 70px);padding:32px 0}
.card{width:min(520px,100%);padding:clamp(28px,5vw,48px);background:var(--surface);border-radius:var(--recv);text-align:center}
.card .avatar{width:112px;height:112px;margin:0 auto 24px;display:grid;place-items:center;overflow:hidden;border:4px solid var(--butter);border-radius:50%;background:var(--ink)}
.avatar img{width:100%;height:100%;object-fit:cover}
.avatar.is-glyph{font:700 40px var(--display);color:var(--butter)}
.card .title{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:clamp(24px,4vw,32px);font-weight:700}
.verified{width:26px;height:26px;flex:none}
.subtitle{margin-top:8px;color:var(--muted)}
.desc{margin-top:16px;color:var(--muted)}
.card .actions{flex-direction:column;align-items:stretch;gap:12px;margin-top:28px}
.status{margin-top:14px;font-size:14px;color:var(--muted)}
.status:empty{display:none}
.card .note{margin-top:20px}
.ghosts{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 26px;margin-top:22px}
.ghost{display:inline-block;margin-top:20px;color:var(--muted);font-weight:500}
.ghosts .ghost{margin-top:0}
.ghost .size{margin-left:6px;font-size:13px}
.ghost:hover{color:var(--text)}
.wrap{width:min(780px,100% - 40px);margin:0 auto}
body>header nav{display:flex;justify-content:space-between;align-items:center;padding:14px max(20px,calc(50% - 390px))}
.logo-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--ultra);color:#fff;font:700 18px var(--display)}
.logo{color:var(--text)}
.btn-ghost{padding:9px 18px;font-size:14px}
main.wrap{padding:48px 0 96px}
.doc-head{margin-bottom:36px}
.doc-head .title{font-size:clamp(26px,4.4vw,44px);font-weight:800;letter-spacing:-.03em;margin-bottom:14px}
.updated{color:var(--muted);font-size:15px}
.toc{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:36px}
.toc a{padding:6px 14px;border:1.5px solid var(--line);border-radius:99px;font-size:14px;text-decoration:none}
.toc a:hover{background:var(--ultra);border-color:var(--ultra);color:#fff}
section.doc-section{padding:30px 0;border-top:1px solid var(--line);scroll-margin-top:16px}
section.doc-section h2{display:flex;gap:16px;align-items:baseline;margin-bottom:14px;font-size:clamp(20px,2.6vw,26px);font-weight:700}
.num{flex:none;color:var(--pink);font-size:.8em}
section.doc-section p,section.doc-section li{max-width:68ch;margin-bottom:10px;line-height:1.7}
section.doc-section ul{padding-left:22px}
.muted{color:var(--muted)}
.mail{font-weight:600}
.err{display:grid;grid-template-columns:1.1fr .9fr;min-height:100svh;background:var(--ultra);color:#fff}
.err-code{display:grid;place-items:center;font:800 clamp(110px,22vw,320px)/1 var(--display);letter-spacing:-.06em}
.err-panel{display:grid;align-content:center;gap:18px;padding:clamp(28px,6vw,72px)}
.err-panel img{width:48px;height:48px;border-radius:14px}
.err-panel h1{font-size:clamp(28px,4vw,44px);font-weight:800}
.err-panel p{max-width:36ch;font-size:18px}
.err-actions{display:flex;gap:12px;flex-wrap:wrap}
.err .btn-ghost{color:#fff}
.err-links{display:flex;gap:20px;font-size:15px}
@media(max-width:820px){.panel.download,.err{grid-template-columns:1fr}.steps{grid-template-columns:1fr}.err{min-height:100svh}.err-code{padding-top:48px;font-size:42vw}}
@media(max-width:560px){.meta{grid-template-columns:1fr}.cmd{grid-template-columns:1fr;gap:4px}.back{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.ghost,.link,.back,.faq+p a{text-decoration:none}main>p a+a,main>.foot a+a{margin-left:20px}
.overall{display:flex;align-items:center;gap:16px;margin-bottom:12px;padding:26px 30px;background:var(--surface);border-radius:var(--recv);font:700 clamp(20px,3vw,28px)/1.2 var(--display);letter-spacing:-.02em}
.overall .dot{flex:none;width:16px;height:16px;border-radius:50%;background:var(--muted)}
.overall.is-ok .dot{background:#5fd08c}
.overall.is-slow .dot{background:#e8b45a}
.overall.is-down .dot{background:#e5708a}
.checks{padding:0 4px}
.svc{display:grid;grid-template-columns:1fr auto 84px;gap:4px 18px;align-items:center;padding:22px 0;border-top:1px solid var(--line)}
.svc:last-child{border-bottom:1px solid var(--line)}
.svc h3{font-size:18px;margin-bottom:2px}
.svc p{color:var(--muted);font-size:15px}
.state{padding:4px 14px;border:1.5px solid currentColor;border-radius:99px;font-size:14px;font-weight:600;white-space:nowrap}
.state.is-ok{color:#5fd08c}
.state.is-slow,.state.is-unk{color:#e8b45a}
.state.is-down{color:#e5708a}
.state.is-pending{color:var(--muted)}
[data-theme=light] .state.is-ok{color:#1f8a52}
[data-theme=light] .state.is-slow,[data-theme=light] .state.is-unk{color:#9a6a12}
[data-theme=light] .state.is-down{color:#c2385c}
.ms{color:var(--muted);font-size:14px;text-align:right;font-variant-numeric:tabular-nums}
.recheck{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:32px}
.recheck .btn:disabled{opacity:.5;cursor:default}
.updated{color:var(--muted);font-size:14px}
@media(max-width:560px){.svc{grid-template-columns:1fr auto}.svc .ms{display:none}}
