/* ApkVault – Lite theme: community, member and content pages (builder B – DMCA, request an app, Notify me links, member
   area, CMS pages, questions, contact). Markup shared with the Vault theme (.pg-* classes, themes/common/b/); colours only
   through the Lite tokens. Loaded by themes/lite/b/frame.blade.php. */
.pg{padding-bottom:8px}
.pg-head{margin-top:18px;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px}
.pg-head-txt{flex:1 1 420px;min-width:0}
.pg-head h1{font-size:clamp(24px,2.6vw,32px);font-weight:800;line-height:1.2}
.pg-head h1 em{font-style:normal;color:var(--accent-text)}
.pg-head p{color:var(--muted);margin-top:6px;font-size:15.5px;max-width:720px}
.pg-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;margin-top:18px;align-items:start}
.pg-side{position:sticky;top:84px;display:flex;flex-direction:column;gap:20px}
.pg-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.pg-main.card{display:block}
.pg-one{max-width:760px;margin:24px auto 0}
.pg-list{margin-top:16px}
.pg-cover{width:100%;height:auto;border-radius:12px;margin-bottom:16px}
@media (max-width:979px){.pg-grid{grid-template-columns:minmax(0,1fr)}.pg-side{position:static}}
.btn-ghost{background:var(--surface);color:var(--accent-text);border-color:var(--line)}
.btn-ghost:hover{background:var(--soft);border-color:var(--accent)}
.btn-danger{background:#B42318;color:#fff}.btn-danger:hover{background:#912018}
.btn .lbl-done,.copied .lbl-copy{display:none}.copied .lbl-done{display:inline}
.c-h small{margin-left:auto;font-size:13px;font-weight:600;color:var(--muted)}
.fm{display:grid;gap:14px}
.fm label{display:grid;gap:6px;font-weight:700;font-size:14px;min-width:0}
.fm input:not([type=checkbox]):not([type=radio]),.fm select,.fm textarea{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:10px 12px;font:inherit;font-size:15px;font-weight:400}
.fm textarea{min-height:100px;resize:vertical}
.fm input:focus,.fm select:focus,.fm textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--soft)}
.fm .row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.fm .hint{font-weight:400;font-size:13px;color:var(--muted)}
.fm .err{font-weight:700;font-size:13px;color:#B42318}
[data-theme="dark"] .fm .err{color:#FDA29B}
.fm .check{display:flex;align-items:flex-start;gap:10px;font-weight:600;font-size:14.5px}
.fm .check input{width:20px;height:20px;margin-top:2px;accent-color:var(--btn);flex:none}
.fm-acts{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.fm-acts .xs{flex:1 1 220px}
.fm-acts form{display:contents}
.xs a,.side-note a,.lnk{color:var(--accent-text);font-weight:700;text-decoration:underline}
@media (max-width:640px){.fm .row2{grid-template-columns:1fr}.fm-acts .btn{width:100%}}
.mt{margin-top:14px}
.plist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.prow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 2px;border-bottom:1px solid var(--line)}
.prow:last-child{border-bottom:0}
.prow.plink{grid-template-columns:minmax(0,1fr)}
.prow img{width:48px;height:48px;border-radius:12px}
.prow strong{display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prow.plink strong{white-space:normal}
.prow strong a:hover{color:var(--accent-text)}
.prow small{display:block;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.prow code{font-size:12.5px}
.p-acts{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.p-acts form{display:contents}
.p-votes{display:grid;place-items:center;min-width:48px;height:48px;border-radius:12px;background:var(--soft);color:var(--accent-text);font-weight:800;font-size:17px;line-height:1}
.p-votes small{color:var(--accent-text);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-top:2px}
@media (max-width:560px){.prow{grid-template-columns:auto minmax(0,1fr)}.prow.plink{grid-template-columns:minmax(0,1fr)}.p-acts{grid-column:1/-1;justify-content:flex-start}}
.st-chip{display:inline-flex;align-items:center;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:2px 7px;border-radius:6px;background:var(--surface-2);color:var(--muted);vertical-align:middle}
.st-chip.on{background:var(--btn);color:var(--btn-text)}
.st-chip.sun{background:var(--soft);color:var(--accent-text)}
.mtabs{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 8px;margin-top:16px;scrollbar-width:thin}
.mtabs a,.mtabs button{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:40px;padding:0 14px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-weight:700;font-size:14px;white-space:nowrap;color:var(--text);cursor:pointer}
.mtabs a:hover,.mtabs button:hover{border-color:var(--accent)}
.mtabs a[aria-current="page"]{background:var(--btn);color:var(--btn-text);border-color:var(--btn)}
.mtabs form{display:contents}
.mtabs .i{width:18px;height:18px}
.prose{font-size:15.5px;line-height:1.7;overflow-wrap:anywhere}
.prose>*+*{margin-top:12px}
.prose h2{font-size:20px;margin-top:22px}.prose h3{font-size:17px;margin-top:18px}
.prose ul,.prose ol{padding-left:22px}
.prose li+li{margin-top:4px}
.prose a{color:var(--accent-text);text-decoration:underline}
.prose img{border-radius:10px;height:auto}
.prose blockquote{margin:0;padding:10px 14px;border-left:4px solid var(--accent);background:var(--surface-2);border-radius:0 10px 10px 0}
.prose table{width:100%;border-collapse:collapse}.prose td,.prose th{border:1px solid var(--line);padding:8px 10px;text-align:left}
.qa{border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.qa+.qa{margin-top:8px}
.qa summary{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;cursor:pointer;font-weight:700;list-style:none}
.qa summary::-webkit-details-marker{display:none}
.qa summary .chev{margin-left:auto;flex:none;transition:transform .2s}
.qa[open] summary .chev{transform:rotate(180deg)}
.qa[open]{border-color:var(--accent)}
.qa .prose{padding:0 14px 14px;color:var(--muted);font-size:15px}
.topic-h{display:flex;align-items:center;gap:12px;margin:24px 0 10px}
.topic-h:first-child{margin-top:0}
.topic-h .p-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--soft);color:var(--accent-text);flex:none}
.topic-h h2{font-size:18px}
.topic-h small{display:block;color:var(--muted);font-size:13.5px}
.topics{display:flex;flex-wrap:wrap;gap:8px}
.big-ok{display:grid;justify-items:center;text-align:center;gap:12px;padding:40px 24px}
.big-ok .p-ic{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:var(--btn);color:var(--btn-text)}
.big-ok .p-ic.off{background:var(--surface-2);color:var(--muted)}
.big-ok .p-ic .i{width:38px;height:38px}
.big-ok h1{font-size:clamp(22px,2.6vw,28px)}
.big-ok p{color:var(--muted);max-width:520px}
.big-ok .app-mini{display:flex;align-items:center;gap:12px;text-align:left;padding:8px 14px 8px 8px;border-radius:12px;border:1px solid var(--line)}
.big-ok .app-mini img{width:48px;height:48px;border-radius:12px}
.big-ok .app-mini small{display:block;color:var(--muted);font-size:13px}
.big-ok .fm-acts{justify-content:center}
.kv-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.kv-list li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px}
.kv-list .i{color:var(--accent-text);margin-top:2px;flex:none}
.side-note{font-size:14.5px;color:var(--muted)}
.qr-box{display:grid;place-items:center;padding:12px;background:#fff;border-radius:12px;border:1px solid var(--line);width:max-content;max-width:100%}
.qr-box svg{width:170px;height:170px}
.code-key{font:700 15px/1.6 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.08em;background:var(--surface-2);border:1px dashed var(--line);border-radius:10px;padding:8px 12px;overflow-wrap:anywhere}
.codes{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font:700 15px ui-monospace,Menlo,Consolas,monospace}
.codes li{background:var(--surface-2);border-radius:8px;padding:8px 10px;text-align:center}
.avatar-lg{width:80px;height:80px;border-radius:20px;object-fit:cover;display:grid;place-items:center;background:var(--btn);color:var(--btn-text);font-weight:800;font-size:28px;flex:none}
.prof-top{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.prof-top>label{flex:1 1 220px}
.card.danger{border:1px solid #F4C7C3}
[data-theme="dark"] .card.danger{border-color:#5A2420}
.pg-social{margin-top:0}
.pager{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:16px}
.pager a,.pager span{display:inline-grid;place-items:center;min-width:40px;height:40px;padding:0 10px;border-radius:10px;border:1px solid var(--line);font-weight:700}
.pager [aria-current]{background:var(--btn);color:var(--btn-text);border-color:var(--btn)}
.pager .off{opacity:.45}
