/* Guest profile is a separate, user-opened dialog; it never takes game space. */
.guest-profile-dialog{--safe-dialog-width:640px}.guest-profile-actions{font-size:14px;letter-spacing:normal;text-transform:none}.guest-profile-actions button{font-size:14px;letter-spacing:normal;text-transform:none}
.guest-profile-dialog>.guest-profile-actions{display:flex;flex:0 0 auto;justify-content:flex-end;box-sizing:border-box;margin:0;max-width:none;width:100%;font-size:14px;letter-spacing:normal;text-transform:none}
.guest-profile-progress{margin-top:18px}.guest-profile-explanation{margin:18px 0}.guest-profile-explanation>summary{display:flex;align-items:center;min-height:44px;font-size:13px;color:var(--gold,#d6b36b);cursor:pointer;list-style:revert}.guest-profile-explanation>summary::before{content:'▸';margin-right:8px}.guest-profile-explanation[open]>summary::before{content:'▾'}.guest-profile-explanation>p{font-size:12px;line-height:1.6;color:var(--muted,#c0b89f);margin:8px 0}
.guest-profile-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));max-width:none;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto;padding:0;border:1px solid #d6b36b88;border-radius:12px;background:#202b23;color:var(--ivory,#f6efdf);overflow:hidden}.guest-profile-dialog[open]{display:flex;flex-direction:column}.guest-profile-dialog::backdrop{background:#07120dcc}.guest-profile-dialog [hidden]{display:none!important}.guest-profile-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:14px 18px;border-bottom:1px solid #d6b36b33}.guest-profile-header h2{margin:0;font:normal 25px/1.2 Georgia,serif}.guest-profile-dialog button{min-width:44px;min-height:44px;touch-action:manipulation}.guest-profile-dialog button:focus-visible{outline:3px solid var(--gold,#d6b36b);outline-offset:2px}.guest-profile-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px;scroll-padding-block:12px}.guest-profile-content h3{font-size:17px;line-height:1.3;margin:0 0 12px}.guest-profile-content>section+section{margin-top:24px}.guest-profile-identity{display:flex;align-items:center;gap:12px}.guest-profile-avatar{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border:1px solid #d6b36b66;border-radius:50%;font-size:28px;color:var(--gold,#d6b36b)}.guest-profile-identity>div{min-width:0}.guest-profile-identity strong{display:block;overflow-wrap:anywhere;font-size:19px}.guest-profile-identity p{margin:3px 0 0;color:var(--muted,#c0b89f);font-size:12px}.guest-profile-local-note,.guest-profile-help,.guest-profile-empty,.guest-profile-progress>p{font-size:12px;line-height:1.6;color:var(--muted,#c0b89f);overflow-wrap:anywhere}.guest-profile-local-note{padding:10px;border:1px solid #d6b36b33;border-radius:7px;margin:15px 0 22px}.guest-profile-storage-status{padding:10px;border:1px solid #edc17d88;border-radius:7px;color:#f6daaf;font-size:13px;line-height:1.5}.guest-profile-level{display:flex;justify-content:space-between;gap:12px;font-size:16px}.guest-profile-level>span{font-variant-numeric:tabular-nums;color:var(--gold,#d6b36b)}.guest-profile-progress progress{display:block;width:100%;height:10px;margin:10px 0;accent-color:var(--gold,#d6b36b)}.guest-profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.guest-profile-summary>div{padding:10px;border:1px solid #d6b36b33;border-radius:7px;min-width:0}.guest-profile-summary dt{font-size:11px;line-height:1.5;color:var(--muted,#c0b89f)}.guest-profile-summary dd{margin:5px 0 0;font-size:23px;font-weight:700;font-variant-numeric:tabular-nums}.guest-profile-achievements,.guest-profile-games,.guest-profile-history{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}.guest-profile-achievement{display:flex;gap:10px;padding:10px;border:1px solid #d6b36b22;border-radius:7px;color:var(--muted,#c0b89f)}.guest-profile-achievement.is-earned{border-color:#d6b36b66;background:#d6b36b08;color:var(--ivory,#f6efdf)}.guest-profile-achievement>span{font-size:24px;flex:0 0 24px;color:var(--gold,#d6b36b)}.guest-profile-achievement strong,.guest-profile-games strong,.guest-profile-history strong{font-size:14px;line-height:1.4}.guest-profile-achievement p{font-size:12px;line-height:1.5;margin:4px 0}.guest-profile-achievement small,.guest-profile-games small,.guest-profile-history small{font-size:11px;line-height:1.5;color:var(--muted,#c0b89f)}.guest-profile-games li{padding:10px;border:1px solid #d6b36b33;border-radius:7px}.guest-profile-games span,.guest-profile-games small,.guest-profile-history small,.guest-profile-history li>div>span{display:block;margin-top:3px}.guest-profile-games span,.guest-profile-history li>div>span{font-size:12px;line-height:1.5}.guest-profile-history li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #d6b36b22}.guest-profile-history li>div{min-width:0;overflow-wrap:anywhere}.guest-profile-history-xp{flex:0 0 auto;font-size:11px;line-height:1.4;color:var(--gold,#d6b36b);max-width:94px;text-align:right}.guest-profile-actions{display:flex;flex:0 0 auto;justify-content:flex-end;padding:12px 18px;border-top:1px solid #d6b36b33}
@media(max-width:420px){.guest-profile-dialog{width:calc(100vw - 12px - env(safe-area-inset-left) - env(safe-area-inset-right));max-height:calc(100dvh - 12px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:9px}.guest-profile-header,.guest-profile-content,.guest-profile-actions{padding:12px}.guest-profile-header h2{font-size:22px}.guest-profile-summary{gap:5px}.guest-profile-summary>div{padding:8px}.guest-profile-summary dd{font-size:21px}.guest-profile-actions button{width:100%}}
