.pf-entry-nav{grid-column:1/-1;display:flex;justify-content:flex-end;gap:12px}.pf-entry-nav button{background:transparent;border:0;font-size:14px;text-decoration:underline;color:inherit;cursor:pointer}
#pf-locked{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#171316f5;color:#f7eedc}#pf-locked>div{max-width:480px;line-height:1.6}#pf-locked h1{color:#ffcf00}#pf-locked button{border:1px solid #675853;border-radius:12px;padding:12px 20px;margin:8px 8px 0 0;background:#312b2d;color:#fff;font:inherit;cursor:pointer}#pf-locked .pf-primary{background:#ffcf00;color:#171316;font-weight:800}.deco-featured{display:flex;gap:6px;overflow-x:auto;margin:8px 0;padding-bottom:4px}.deco-featured button{flex:none;white-space:nowrap}
.pf-dialog{color:#f7eedc;background:#1c191c;border:1px solid #675853;border-radius:22px;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:24px;box-sizing:border-box;box-shadow:0 24px 100px #0008;z-index:300}.pf-dialog::backdrop{background:#080709ab;backdrop-filter:blur(6px)}.pf-dialog h2{margin:0 0 8px}.pf-dialog p{line-height:1.5}.pf-dialog label{display:grid;gap:6px;margin:12px 0;font-size:14px}.pf-dialog input:not([type=checkbox]){width:100%;box-sizing:border-box;background:#2d282c;color:#fff;border:1px solid #74666c;border-radius:10px;padding:12px;font:inherit}.pf-dialog a{color:#ffd000}.pf-names{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pf-dialog .pf-terms{display:flex;align-items:flex-start;gap:10px}.pf-terms input{width:20px;height:20px;flex:none}.pf-note{font-size:12px;color:#c1b5b2}.pf-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.pf-dialog button,.pf-guide button{border:1px solid #635750;border-radius:10px;padding:10px 14px;background:#312b2d;color:#fff;font:inherit;cursor:pointer}.pf-dialog .pf-primary{background:#ffcf00;color:#171316;font-weight:800;border-color:#ffcf00}.pf-dialog button:disabled{opacity:.5}.pf-error{color:#ffaea9;font-size:14px;min-height:20px}.pf-guide{position:fixed;right:18px;bottom:112px;z-index:76;width:320px;max-width:calc(100vw - 36px);max-height:55dvh;overflow:auto;background:#241c20f7;color:#fff2dc;border:1px solid #89694e;border-radius:18px;padding:18px;box-sizing:border-box;box-shadow:0 8px 28px #0006;pointer-events:auto}.pf-guide[hidden]{display:none}.pf-guide small{color:#ffd000;font-weight:700}.pf-guide h3{margin:8px 0;font-size:20px}.pf-guide p{font-size:14px;line-height:1.45;margin:8px 0}.pf-choices{display:grid;gap:8px}.pf-choices button{text-align:left;display:flex;justify-content:space-between;gap:10px;font-size:13px}.pf-choices span{white-space:nowrap;color:#ffd000}.pf-highlight{outline:3px solid #ffd000!important;outline-offset:5px}.pf-verify{position:fixed;top:calc(86px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);max-width:calc(100vw - 36px);z-index:78}.pf-verify button{border:1px solid #947b39;border-radius:24px;background:#2b2618;color:#ffe39a;font:inherit;font-size:12px;padding:8px 14px;cursor:pointer}.pf-account{position:fixed;top:calc(12px + env(safe-area-inset-top));right:16px;z-index:78;border:1px solid #65534c;background:#221d20;color:#f9eede;border-radius:20px;padding:8px 14px;cursor:pointer}@media(max-width:600px){.pf-guide{right:12px;bottom:96px;width:280px;padding:14px;max-height:40dvh}.pf-guide h3{font-size:17px}.pf-guide p{font-size:12px}.pf-account{top:44px;font-size:11px}.pf-dialog{padding:18px}.pf-names{gap:8px}}@media(prefers-reduced-motion:reduce){.pf-guide,.pf-dialog{scroll-behavior:auto}}
.pf-dialog{margin:auto;inset:0}.pf-replay{right:154px}
.pf-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;background:#080709ab;display:flex;align-items:center;justify-content:center;overflow:auto;padding:24px 0;box-sizing:border-box}.pf-dialog-fallback[open]{display:block;position:relative;top:auto;right:auto;bottom:auto;left:auto;margin:auto;max-height:calc(100vh - 48px);overflow:auto}
.pf-dialog [hidden]{display:none!important}

/* Account/guide shares the HUD's layout instead of floating over floor/camera controls. */
#pf-tools{position:relative}
#pf-tools summary{display:grid;place-items:center;width:44px;height:44px;box-sizing:border-box;border:1px solid var(--linha-hud);border-radius:50%;background:var(--painel-hud);color:var(--tinta-hud);font-size:21px;cursor:pointer}
#pf-tools>div{position:absolute;right:52px;bottom:0;display:grid;gap:6px;min-width:160px;padding:8px;border:1px solid var(--linha-hud);border-radius:14px;background:var(--painel-hud);box-shadow:0 4px 16px #0005}
#hud .lado #pf-tools button.pf-account{position:static;display:block!important;width:100%;height:auto;min-height:44px;margin:0;padding:10px 14px;font:inherit;font-size:14px;border-radius:10px;white-space:nowrap}

.pf-login-sent{margin:16px 0;padding:16px;border:1px solid #8f793b;border-radius:14px;background:#30291c;color:#f7eedc}.pf-login-sent h3{margin:0 0 8px;color:#ffcf00}.pf-login-sent p{margin:0;font-size:14px}
