.pg-age[hidden],.pg-cookie[hidden]{display:none !important}
html.pg-lock,html.pg-lock body{overflow:hidden}
.pg-age{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:18px;background:rgba(3,7,14,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.pg-age-box{width:100%;max-width:400px;padding:28px 22px 22px;border-radius:22px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);text-align:center}
.pg-age-ic{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border-radius:50%;background:var(--brand-soft);color:var(--brand)}
.pg-age-ic svg{width:28px;height:28px}
.pg-age-box h2{margin:0 0 8px;font-size:22px;font-weight:800}
.pg-age-box p{margin:0 0 20px;line-height:1.5;font-size:14px}
.pg-age-btns{display:grid;gap:8px}
.pg-age-btns .btn{justify-content:center;width:100%}
.pg-cookie{position:fixed;z-index:150;left:12px;right:12px;bottom:calc(12px + var(--sab,0px));max-width:560px;margin:0 auto;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);font-size:13px}
.pg-cookie p{margin:0;flex:1;line-height:1.45}
.pg-cookie .btn{flex:none;white-space:nowrap}
body.has-tabbar .pg-cookie{bottom:calc(78px + var(--sab,0px))}
@media(max-width:480px){.pg-cookie{flex-direction:column;align-items:stretch;text-align:center}.pg-cookie .btn{justify-content:center}}
.pg-page .guest-tools{display:none}
.pg-page .guest-main{display:block;place-items:normal;padding:0;min-height:0}
.pg-wrap{width:100%;max-width:820px;margin:0 auto;padding:0 16px}
.pg-bar{position:sticky;top:0;z-index:20;padding-top:var(--sat,0px);background:var(--topbar-bg);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.pg-bar-in{display:flex;align-items:center;justify-content:space-between;height:58px}
.pg-main{padding-top:22px;padding-bottom:calc(40px + var(--sab,0px))}
.pg-doc{padding:24px 22px}
.pg-doc h1{margin:0 0 4px;font-size:clamp(24px,5vw,34px);font-weight:800;letter-spacing:-.01em}
.pg-upd{margin:0 0 18px;font-size:12px}
.pg-body h2{margin:24px 0 8px;font-size:18px;font-weight:800}
.pg-body p,.pg-body li{line-height:1.65;color:var(--text-2);font-size:15px}
.pg-body p{margin:0 0 12px}
.pg-body ul{margin:0 0 12px;padding-left:20px}
.pg-body li{margin-bottom:6px}
.pg-body strong{color:var(--text)}
.pg-body a{color:var(--brand)}
.pg-links{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center;margin-top:20px;font-size:13px}
.pg-links a{color:var(--muted);text-decoration:none}
.pg-links a:hover{color:var(--brand)}
.pg-draft{display:flex;align-items:center;gap:8px;padding:10px 14px;margin-bottom:12px;border-radius:12px;background:var(--warn-soft,rgba(255,179,26,.12));color:var(--warn,#ffb31a);font-size:13px;font-weight:600}
.pg-draft svg{width:16px;height:16px}
.pg-meta{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;align-items:end}
.pg-foot{padding-bottom:10px}
.pg-ta{min-height:220px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.5;resize:vertical}
.pg-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.pg-del{margin-top:14px}
.pg-ops{text-align:right}
@media(max-width:640px){.pg-meta{grid-template-columns:1fr}.pg-doc{padding:20px 16px}}

.pg-brand{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;min-width:0}
.pg-brand .brand-mark{flex:none}
.pg-brand .brand-name{max-width:none;font-size:18px}
