/* The entry state is hidden in HTML, before scripts execute. */
[hidden]{display:none!important}
html.walletguard-entry-pending,html.walletguard-entry-pending body{overflow:hidden}
html.walletguard-browser-gated #pageContent{display:none!important}
.language-switch{position:fixed;right:20px;bottom:18px;z-index:10010;display:flex;gap:3px;padding:4px;border:1px solid #263354;border-radius:30px;background:#0f1629f2;box-shadow:0 4px 20px #0004;font:11px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.language-switch a{padding:7px 10px;color:#a9bada;border-radius:20px;text-decoration:none}
.language-switch a[aria-current=page]{background:#4f8fff20;color:#a8ccff}
.language-switch a:focus-visible{outline:2px solid #22d3ee}
.walletguard-safari-notice,.entry-loading{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;overflow-y:auto;padding:36px 18px 80px;background:radial-gradient(ellipse at 50% 0%,#18346050,transparent 70%),#05080f;color:#eef2ff;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.walletguard-safari-card,.entry-card{box-sizing:border-box;width:100%;max-width:460px;margin:auto;padding:36px 28px;background:#0f1629;border:1px solid #263354;border-radius:24px;box-shadow:0 24px 80px #0005;text-align:center}
.walletguard-safari-icon,.entry-mark{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 22px;border-radius:18px;background:#4f8fff16;color:#4f8fff;font-size:32px}
.walletguard-safari-card h1,.entry-card h1{margin:0 0 15px;font-size:27px;line-height:1.35;letter-spacing:-.025em;overflow-wrap:anywhere}
.walletguard-safari-card p,.entry-card p{margin:0;font-size:14px;line-height:1.85;color:#a0afd0}
.walletguard-safari-card label{display:block;margin:26px 0 9px;text-align:left;font-size:12px;color:#a0afd0}
.walletguard-safari-card input{box-sizing:border-box;width:100%;min-width:0;height:49px;border:1px solid #263354;border-radius:10px;padding:10px 12px;background:#090f1e;color:#d3e2ff;font:13px/1.6 ui-monospace,monospace}
.walletguard-safari-card button{display:block;box-sizing:border-box;width:100%;min-height:50px;margin:17px 0 0;padding:12px;border:0;border-radius:12px;background:#4f8fff;color:#fff;font-family:inherit;font-size:14px;font-weight:650;line-height:1.6;cursor:pointer;overflow-wrap:anywhere}
.walletguard-safari-card button:disabled{opacity:.65;cursor:wait}
.walletguard-safari-card input:focus-visible,.walletguard-safari-card button:focus-visible{outline:2px solid #22d3ee;outline-offset:3px}
.walletguard-safari-card #safariActionStatus:not(:empty){margin-top:16px;font-size:12px;color:#a8ccff}
.entry-card .entry-brand{font:10px/1.5 ui-monospace,monospace;letter-spacing:.22em;color:#7d9ecb;margin-bottom:12px}
.entry-card h1{font-size:25px}
.entry-progress{height:5px;overflow:hidden;background:#1c2744;border-radius:5px;margin-top:30px}
#loadingBar{height:100%;width:0;background:linear-gradient(90deg,#4f8fff,#22d3ee);border-radius:5px}
#loadingPercent{display:block;text-align:right;font:12px/1.8 ui-monospace,monospace;color:#7889ab;margin-top:10px}
.workspace-tab{white-space:normal;line-height:1.45}
.hero h1{overflow-wrap:anywhere}.hero-tag{max-width:100%}.hero-tag .pulse{flex-shrink:0}
@media(min-width:901px){.hero{max-height:none}.nav-links{gap:20px}.nav-inner{gap:20px}}
@media(max-width:520px){.rule-fields{grid-template-columns:minmax(0,1fr)}.rule-condition input{width:100px}.hero-tag{font-size:10px}.hero-proof-item{flex:1}.hero-proof-item span{font-size:14px}.hero-proof-item small{font-size:10px}.footer .safe{border-radius:12px;line-height:1.7}.nav-btn{font-size:11px;padding:9px 12px;max-width:120px;text-align:center}.logo{font-size:15px}.hero h1{font-size:32px}.dialog-summary div{grid-template-columns:minmax(0,1fr);gap:4px}}
@media(max-width:360px){.walletguard-safari-card,.entry-card{padding:28px 20px}.walletguard-safari-card h1{font-size:24px}.workspace-tab{font-size:11px}.language-switch{bottom:12px;right:12px}.nav-inner{gap:10px}.logo-mark{width:28px;height:28px}.nav{padding:0 12px}}

/* Keep Japanese headlines and compound phrases readable at narrow widths. */
html[lang=ja] .hero h1{font-size:clamp(28px,4.8vw,46px);line-height:1.35;word-break:normal}
html[lang=ja] .hero h1 .hl{white-space:nowrap}
html[lang=ja] .hero-proof-item span{text-wrap:balance}
