/* Private guest history and the shared account quiz history. */
main.container.guest-profile-main{width:100%;max-width:none;padding:0!important;box-sizing:border-box}
.guest-profile{width:min(1280px,calc(100% - 40px));margin:36px auto 56px;color:var(--text-main,#1e293b)}
.guest-profile .guest-profile-heading{position:static;top:auto;z-index:auto;box-sizing:border-box;padding:24px;margin-bottom:16px;border:1px solid #dce5f1;border-radius:20px;background:#fff}
.guest-profile-identity{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 10px}
.guest-profile-guest-label{font-size:13px;line-height:1.4;color:#475569;background:#f1f5f9;padding:4px 9px;border-radius:999px}
.guest-profile-name{font-size:24px;font-weight:700;line-height:1.3;color:var(--text-main,#1e293b)}
.guest-profile .guest-profile-heading h1{margin:0}
.guest-profile h1{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:6px 0 14px}
.guest-profile h2,.guest-profile-panel>h2{font-size:20px;margin:0 0 12px;display:flex;gap:8px;align-items:center}
.guest-profile-intro{max-width:780px;margin-bottom:24px;color:#475569}
.guest-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.guest-profile-layout>*,.guest-profile-result>*{min-width:0}
.guest-profile-panel{background:#fff;border:1px solid #dce5f1;border-radius:20px;padding:24px;margin-bottom:20px}
.guest-profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.guest-profile-stats .guest-profile-panel{padding:18px;display:flex;flex-direction:column;gap:4px}
.guest-profile-stats strong{font-size:28px;line-height:1.2}
.guest-profile-stats span,.guest-profile-muted{font-size:13px;color:#64748b}
.guest-profile-result{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-top:1px solid #e5edf6}
.guest-profile-result h3{font-size:16px;margin:0 0 4px;line-height:1.4}
.guest-profile-result h3 a{color:inherit;text-decoration:none}
.guest-profile-result h3 a:hover{text-decoration:underline}
.guest-profile-result p{margin:0}
.guest-profile-result-score{display:flex;flex-direction:column;text-align:right;gap:3px;font-size:14px;flex-shrink:0}
.guest-profile-rank{font-size:12px;color:#475569;display:flex;gap:5px;align-items:center;justify-content:flex-end}
.guest-profile-rank .ph-icon{color:#b77908}
.guest-profile-save{background:linear-gradient(135deg,#f3f7ff,#fff)}
.guest-profile-save p,.guest-profile-layout aside p{font-size:14px;margin-bottom:16px;color:#475569}
.guest-profile-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;background:var(--fq-button-primary-bg,#2563eb);color:#fff;border:0;border-radius:12px;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none}
.guest-profile-button:hover{background:var(--fq-button-primary-hover,#1d4ed8);color:#fff}
.guest-profile-login{display:block;margin-top:14px;font-size:14px}
.guest-profile .pack-account-panel h3{font-size:16px;margin-bottom:8px}
.guest-profile .pack-guest-form{display:flex;flex-direction:column;gap:10px}
.guest-profile .pack-guest-form label{font-size:13px}
.guest-profile .pack-guest-form input:not([type=checkbox]){width:100%;box-sizing:border-box;min-height:44px;padding:10px;border:1px solid #cbd5e1;border-radius:10px;font:inherit}
.guest-profile .pack-account-consent{display:flex;align-items:flex-start;gap:8px;line-height:1.5}
.guest-profile .pack-account-consent input{margin-top:4px;flex-shrink:0}
.guest-profile .pack-game-button{padding:12px;border:0;border-radius:12px;background:var(--fq-button-primary-bg,#2563eb);color:#fff;cursor:pointer;font-weight:600}
.guest-profile button:disabled{opacity:.6;cursor:wait}
.guest-profile .pack-guest-delete{background:transparent;border:0;color:#1d4ed8;text-decoration:underline;cursor:pointer}
.guest-profile :focus-visible{outline:3px solid #93c5fd;outline-offset:3px}
@media(max-width:800px){.guest-profile-layout{grid-template-columns:1fr}.guest-profile-layout aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:560px){.guest-profile .guest-profile-heading{padding:18px}.guest-profile{width:calc(100% - 28px);margin-top:24px}.guest-profile-panel{padding:18px}.guest-profile-stats{gap:8px}.guest-profile-stats .guest-profile-panel{padding:12px}.guest-profile-stats span{font-size:12px}.guest-profile-result{align-items:flex-start;flex-direction:column;gap:8px}.guest-profile-result-score{text-align:left}.guest-profile-rank{justify-content:flex-start}.guest-profile-layout aside{display:block}}

.guest-profile-results-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.guest-profile-results-heading h2{margin:0}
.guest-profile-sort{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:#475569}
.guest-profile-sort select{max-width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:10px;padding:8px 30px 8px 10px;background:#fff;color:#1e293b;font:inherit;cursor:pointer}

/* Existing Phosphor SVGs used on the guest page. */
.guest-profile .ph-icon{display:inline-block;width:1.15em;height:1.15em;min-width:1.15em;flex-shrink:0;vertical-align:-.18em;background-color:currentColor;mask:var(--ph-icon) center/contain no-repeat;-webkit-mask:var(--ph-icon) center/contain no-repeat}
.guest-profile .ph-icon--calendar-dots{--ph-icon:url("../icons/calendar-dots.svg");color:#b77908}
.guest-profile .ph-icon--medal{--ph-icon:url("../icons/medal.svg");color:#b77908}
.guest-profile .ph-icon--arrow-right{--ph-icon:url("../icons/arrow-right.svg")}

.guest-profile-result .guest-profile-muted a{color:#1d4ed8;text-underline-offset:2px}
/* Keep control text and the account form clear of card edges and buttons. */
.guest-profile-sort select{padding-right:38px;padding-left:12px}
.guest-profile-sort{padding-right:4px}
.guest-profile-save #guest-profile-create{margin-bottom:12px}
.guest-profile-save #guest-profile-signup{margin-top:14px}
.guest-profile #guest-profile-signup .pack-account-panel{padding:0;border:0;background:transparent}
.guest-profile #guest-profile-signup .pack-account-panel>p{margin-top:0}
.guest-profile #guest-profile-signup .pack-account-panel .pack-guest-form{gap:14px}
.guest-profile #guest-profile-signup .pack-guest-form label:first-child{margin-top:2px}
.guest-profile #guest-profile-signup .pack-guest-form input[type=email]{margin-top:4px}
