#networkLoading{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:10020;display:flex;align-items:center;gap:12px;padding:14px 20px;max-width:90vw;width:max-content;background:#112641;color:white;border-radius:12px;box-shadow:0 6px 30px #11264140;font:14px/1.4 sans-serif;pointer-events:none}#networkLoading[hidden]{display:none}.loading-spinner{display:inline-block;width:20px;height:20px;flex-shrink:0;border:2px solid #93a9c6;border-top-color:#3876ff;border-radius:50%;animation:loading-turn .8s linear infinite}.loading-state{display:flex;align-items:center;gap:16px;padding:30px 0}.loading-skeleton{height:260px;background:linear-gradient(100deg,#dfe7f2 30%,#f4f7fc 50%,#dfe7f2 70%);background-size:200% 100%;animation:loading-shimmer 1.6s linear infinite;border-radius:12px}.community-mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:20px 0 32px}.community-mini-card{padding:18px;border:1px solid #bdcce0;border-radius:8px;text-decoration:none;color:#112641;display:flex;flex-direction:column;gap:8px}.community-mini-card span{font-size:12px;color:#536c89}.game-preview{width:min(760px,92vw);max-height:86vh;overflow:auto;padding:30px;border:1px solid #b8c9df;border-radius:14px;background:#edf3fc;color:#112641}.game-preview::backdrop{background:#08192bb3}.preview-close{position:absolute;right:10px;top:8px;background:none;border:0;font-size:26px;cursor:pointer}.preview-content{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px}.preview-content>img{width:100%;height:auto;align-self:start}.preview-content h2{margin:0 0 14px}.preview-content p{font-size:14px;line-height:1.7}.preview-content small{display:block;margin-top:14px;color:#536c89}.detail-section table{width:100%;border-collapse:collapse}.detail-section th,.detail-section td{text-align:left;padding:12px;border-bottom:1px solid #bdcce0}@keyframes loading-turn{to{transform:rotate(360deg)}}@keyframes loading-shimmer{to{background-position:-200% 0}}@media(max-width:600px){.preview-content{grid-template-columns:90px minmax(0,1fr);gap:16px}.game-preview{padding:30px 18px}.preview-content .detail-actions{flex-direction:column}.preview-content h2{font-size:23px}}@media(prefers-reduced-motion:reduce){.loading-spinner,.loading-skeleton{animation:none}}
#gameAddDiary{order:-1}.preview-credits{font-size:11px;margin-top:16px}.preview-credits summary{cursor:pointer}.preview-content>.loading-state{grid-column:1/-1}
html.inner-page .home-opening>.game-feature{display:none!important}.preview-title-link{color:inherit;text-decoration:none}.preview-title-link:hover{text-decoration:underline;text-underline-offset:4px}.players-carousel{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:18px 0 10px;max-width:100%;scrollbar-width:thin}.player-mini-card{flex:0 0 min(280px,48%);min-width:180px;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;padding:12px 16px;border:1px solid #bdcce0;border-radius:7px;color:#112641;text-decoration:none;scroll-snap-align:start}.player-mini-card b{font-size:13px}.player-mini-card span,.player-mini-card time{font-size:11px;color:#536c89}.player-mini-card b,.player-mini-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.players-controls{display:flex;gap:8px;margin-bottom:24px}.players-controls button{border:1px solid #bdcce0;background:transparent;color:#112641;border-radius:5px;padding:6px 12px;cursor:pointer}.profile-game-features{display:grid;gap:14px;min-width:0}.profile-game-features .favorite-feature{height:200px}.playing-feature{border-radius:8px}.playing-feature h2 a{color:inherit;text-decoration:none}.playing-feature h2 a:hover{text-decoration:underline}.playing-feature .favorite-label h2{font-size:25px;line-height:1.12;max-width:100%;overflow-wrap:anywhere}.playing-feature .favorite-label{padding:22px}.playing-feature .favorite-overlay{background:linear-gradient(90deg,#0a2033ed,#0a203399)}.player-identity+.playing-feature{max-width:520px;margin:24px 0}
.players-carousel{width:min(440px,100%)}.player-mini-card{flex-basis:min(260px,80%)}
.profile-game-features .favorite-feature{border-radius:8px;overflow:hidden;height:200px}.profile-game-features .favorite-label{padding:22px}.profile-game-features .favorite-label h2{font-size:25px;line-height:1.12;max-width:100%}.playing-manager select{width:100%;padding:12px;border:1px solid #bdcce0;border-radius:8px;background:#fff;color:#112641;margin:8px 0 16px}.playing-manager-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #bdcce0}.playing-manager-list button{padding:8px 12px;border:1px solid #bdcce0;border-radius:6px;background:transparent;cursor:pointer}.playing-manager-list a{font-size:13px}
#searchPageForm.unified-game-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:12px;max-width:900px;margin:24px auto 0;padding:20px;border:1px solid #bdcce0;border-radius:12px;background:#e7eef9;box-sizing:border-box}#searchPageForm .unified-query{grid-column:1/-1}#searchPageForm label{display:flex;flex-direction:column;gap:7px;color:#536c89;font-size:12px;min-width:0}#searchPageForm .unified-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}#searchPageForm input,#searchPageForm select{width:100%;min-width:0;height:44px;border:1px solid #b7c9df;border-radius:7px;background:#f8faff;color:#112641;padding:0 12px;font:14px var(--sans);box-sizing:border-box}#searchPageForm button{height:44px;min-width:0;border-radius:7px;padding:0 18px;text-align:center;font-size:13px}#searchPageForm .clear-search{background:transparent;color:#112641;border:1px solid #b7c9df}@media(max-width:600px){#searchPageForm.unified-game-search{grid-template-columns:1fr 1fr;padding:14px}#searchPageForm .unified-filters{grid-column:1/-1}#searchPageForm input,#searchPageForm select{font-size:16px}}
#searchPageForm.unified-game-search input{flex:none;min-height:44px}#searchPageForm.unified-game-search input:focus-visible,#searchPageForm.unified-game-search select:focus-visible{outline:2px solid #214bd1;outline-offset:2px}
.profile-editor{width:min(840px,94vw);max-height:90vh;overflow:auto;padding:30px;border:1px solid #b8c9df;border-radius:18px;background:#edf3fc;color:#112641;box-sizing:border-box}.profile-editor::backdrop{background:#08192bb3}.profile-editor-close{position:absolute;right:15px;top:12px;border:0;background:none;font-size:25px;cursor:pointer}.profile-editor header{margin-bottom:24px}.profile-editor header h2{font-size:28px;margin:12px 0 4px}.profile-editor header p{color:#60758b}.profile-editor-grid{display:grid;grid-template-columns:minmax(190px, .8fr) minmax(0,1.3fr);gap:32px}.profile-editor label:not(.photo-upload){display:block;font-size:13px;font-weight:600;margin:16px 0 8px}.profile-editor input:not([type=file]),.profile-editor textarea,.profile-editor select{width:100%;box-sizing:border-box;padding:12px;border:1px solid #b9c9df;border-radius:8px;background:#fff;color:#112641;font:14px/1.4 sans-serif}.profile-editor textarea{resize:vertical}.profile-editor input:focus-visible,.profile-editor textarea:focus-visible,.profile-editor select:focus-visible{outline:2px solid #214bd1;outline-offset:2px}.profile-editor input[readonly]{background:#e5ecf5;color:#61758a}.profile-editor .photo-upload{display:grid;place-items:center;width:170px;height:170px;position:relative;border-radius:50%;overflow:hidden;background:#dce8f6;border:1px solid #b9c9df;cursor:pointer;margin:auto}.photo-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:3;width:100%}.photo-upload img{position:absolute;width:100%;height:100%;object-fit:cover;z-index:1}.photo-upload img[hidden]{display:none}.photo-initial{font-size:50px}.photo-upload-hint{position:absolute;bottom:0;left:0;right:0;padding:12px 15px;background:#112641d9;color:white;font-size:11px;text-align:center;z-index:2}.photo-upload:focus-within{outline:3px solid #214bd1;outline-offset:3px}.profile-help,.profile-editor small{font-size:11px;color:#60758b;line-height:1.5}.profile-save{width:100%;margin-top:22px;padding:14px;cursor:pointer;border-radius:8px}.favorite-results{max-height:190px;overflow:auto}.favorite-results button{display:block;width:100%;padding:10px;text-align:left;background:white;color:#112641;border:1px solid #bdcce0;cursor:pointer}.profile-text-button{background:none;border:0;color:#214bd1;cursor:pointer;padding:0}.editor-playing-list>div{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-top:12px}.editor-playing-list button{background:transparent;border:1px solid #b9c9df;border-radius:5px;color:#112641;cursor:pointer}.profile-editor #chosenFavorite{font-size:12px}@media(max-width:600px){.profile-editor{padding:24px 18px}.profile-editor-grid{grid-template-columns:1fr;gap:18px}.profile-editor input:not([type=file]),.profile-editor textarea,.profile-editor select{font-size:16px}}

#accountButton{padding:0;overflow:hidden;flex-shrink:0} #accountButton img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}

.list-author-link{text-transform:none;letter-spacing:normal;text-decoration:underline;text-underline-offset:3px}.list-author-link:hover{color:#214bd1}.list-author-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}

.profile-hero.has-profile-background{background-size:cover;background-position:center;padding:32px;border-radius:12px;overflow:hidden}.profile-hero.has-profile-background .profile-identity,.profile-hero.has-profile-background h1,.profile-hero.has-profile-background p,.profile-hero.has-profile-background .eyebrow,.profile-hero.has-profile-background .profile-meta{color:#f1f6ff}.has-profile-background .profile-intro{color:#f1f6ff}
#profileBackgroundPicker{margin-top:24px}.background-preview{min-height:120px;border-radius:8px;background:#19324d center/cover;display:flex;align-items:center;padding:20px;color:white;margin:12px 0}.background-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.background-options button{padding:0;border:2px solid transparent;border-radius:7px;overflow:hidden;background:#e8eff9;text-align:left;color:#112541}.background-options button[aria-pressed=true]{border-color:#214bd1;box-shadow:0 0 0 2px #214bd133}.background-options img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.background-options span{display:block;font-size:11px;padding:6px}.background-options button:focus-visible{outline:3px solid #214bd1;outline-offset:2px}.background-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.background-actions button{border:1px solid #bccde5;border-radius:6px;padding:7px 10px;background:transparent;color:#193b66}.background-status{font-size:12px;color:#506582}.background-games small{display:block} @media(max-width:600px){.profile-hero.has-profile-background{padding:20px 14px}}

/* Keep profile settings and the background gallery in separate, bounded panels. */
.profile-editor[open]{display:flex;flex-direction:column;width:min(900px,94vw);height:min(760px,90dvh);max-height:90dvh;overflow:hidden;padding:24px 28px 0}.profile-editor>header{flex:none;margin:0 0 14px}.profile-editor header h2{font-size:24px;margin:6px 0 0}.profile-editor header p{margin:3px 0 0;font-size:12px}.profile-editor-tabs{display:flex;gap:8px;border-bottom:1px solid #bfcee2;padding-bottom:10px;flex:none}.profile-editor-tabs button{border:0;border-radius:8px;background:transparent;color:#526b87;padding:10px 16px;font-weight:600}.profile-editor-tabs button[aria-selected=true]{background:#dbe6fa;color:#173c9d}.profile-editor-tabs button:focus-visible{outline:2px solid #214bd1;outline-offset:2px}.profile-editor-form{display:flex;flex-direction:column;min-height:0;flex:1}.profile-editor-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 4px 20px;scrollbar-gutter:stable;flex:1}.profile-editor [role=tabpanel][hidden]{display:none!important}.profile-editor-grid{gap:28px;align-items:start}.profile-editor .photo-upload{width:128px;height:128px}.profile-editor textarea{min-height:130px;max-height:220px}.profile-editor-footer{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex:none;border-top:1px solid #bfcee2;background:var(--card,#fff);padding:14px 0;margin:0}.profile-editor-footer .profile-save{width:auto;min-width:180px;margin:0;padding:12px 22px}.profile-editor-footer #profileSaveStatus{font-size:12px;margin:0;flex:1}.editor-playing-list{max-height:115px;overflow:auto}.profile-editor #profileBackgroundPicker{margin:0}.profile-editor #profileBackgroundPicker>label{margin:0 0 4px}.profile-editor #profileBackgroundPicker>.profile-help{margin:0 0 10px}.profile-editor .background-preview{min-height:90px;margin:0 0 12px;padding:16px}.profile-editor .background-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.profile-editor .background-options span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35;height:36px;padding:4px 6px;font-size:10px}.profile-editor .background-status{margin:10px 0 4px}.profile-editor .background-actions{margin-top:8px}.profile-editor .background-games{max-height:150px}.profile-editor .background-options img{aspect-ratio:16/9}.profile-editor .background-preview span{font-size:13px}
@media(max-width:600px){.profile-editor[open]{padding:18px 16px 0;width:96vw;height:92dvh;max-height:92dvh}.profile-editor>header .eyebrow{font-size:8px}.profile-editor header h2{font-size:22px}.profile-editor-body{padding-top:14px}.profile-editor .background-options{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-editor-footer{gap:8px;padding:12px 0}.profile-editor-footer .profile-save{min-width:0;padding:12px 16px}.profile-editor-tabs button{flex:1;padding:10px 8px}.profile-editor .background-preview{min-height:80px}}

/* Choose an existing collection or create a new one from a game page. */
#modal.list-picker-modal{width:min(480px,calc(100vw - 28px));max-height:86dvh;overflow:auto;padding:28px;border:1px solid #bdcce0;border-radius:16px;background:#f8fbff;color:#172c46;box-sizing:border-box}
#modal.list-picker-modal>.eyebrow{margin:0 0 8px;color:#6383a0;font-size:9px;letter-spacing:.14em}
#modal.list-picker-modal h2{margin:0 32px 5px 0;color:#172c46;font:600 25px/1.2 var(--sans)}
#modal.list-picker-modal>p{margin:0 0 18px;color:#60758b;font-size:13px}
.list-picker-options{display:grid;gap:8px;max-height:min(52dvh,430px);overflow:auto;overscroll-behavior:contain;padding:2px}
.list-picker-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:62px;padding:11px 13px;border:1px solid #c4d4e3;border-radius:9px;background:#fff;color:#172c46;text-align:left;cursor:pointer}
.list-picker-option:hover:not(:disabled){border-color:#86a8c4;background:#eef5fb}
.list-picker-option>span{display:grid;gap:4px;min-width:0}
.list-picker-option b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 13px/1.3 var(--sans)}
.list-picker-option small{color:#60758b;font:10px/1.35 var(--sans)}
.list-picker-option>strong{flex:none;color:#214bd1;font:600 11px var(--sans)}
.list-picker-option:disabled{cursor:default;opacity:.62}
.list-picker-empty{margin:6px 0;padding:13px;border-radius:8px;background:#eaf1f8;color:#536a7d;font-size:12px;line-height:1.5}
.list-picker-create{width:100%;margin-top:12px;padding:12px;border:1px dashed #9cb5ca;border-radius:9px;background:transparent;color:#214bd1;font:600 12px var(--sans);cursor:pointer}
.list-picker-create:hover{background:#eaf1f8}
@media(max-width:600px){#modal.list-picker-modal{padding:24px 18px}#modal.list-picker-modal h2{font-size:22px}}

/* Compact account dialogs with scrolling inside the content, not outside the viewport. */
.profile-editor[open]{width:min(450px,calc(100vw - 32px));height:min(720px,86dvh);max-height:86dvh;padding:20px 22px 0;border-radius:14px}
.profile-editor[open]:not(.account-settings) .profile-editor-grid{grid-template-columns:minmax(0,1fr);gap:14px}
.profile-editor[open]:not(.account-settings) .photo-upload{width:104px;height:104px}
.profile-editor[open]:not(.account-settings) .profile-editor-body{padding:12px 4px 16px}
.profile-editor.account-settings[open]{width:min(450px,calc(100vw - 32px));height:min(650px,84dvh);max-height:84dvh;padding:20px 22px 0}
.profile-editor.account-settings[open]>header{margin-bottom:4px}
.profile-editor.account-settings[open] .account-settings-content{display:grid;gap:14px;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:8px 4px 20px}
.profile-editor.account-settings[open] .account-settings-content section{padding-top:12px}
.account-settings-notice{padding:10px 12px;border:1px solid #d7e1ef;border-radius:6px;background:#e7eef9;color:#435b77!important;font-size:12px!important}
.account-settings-content input:disabled,.account-settings-content button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:600px){.profile-editor[open]{width:calc(100vw - 24px);height:88dvh;max-height:88dvh;padding:18px 16px 0}.profile-editor.account-settings[open]{height:86dvh;max-height:86dvh}.profile-editor[open]:not(.account-settings) .profile-editor-grid{gap:12px}}

.skeleton-screen{width:100%;min-width:0;grid-column:1/-1}.skeleton-block{display:block;border-radius:7px;background:linear-gradient(100deg,#dce5f2 25%,#f5f8fd 45%,#dce5f2 65%);background-size:220% 100%;animation:loading-shimmer 1.8s linear infinite}.skeleton-heading{height:24px;width:75%;margin-bottom:16px}.skeleton-line{height:12px;width:100%;margin-bottom:12px}.skeleton-short{height:12px;width:55%}.skeleton-copy{flex:1;min-width:0}.skeleton-feature{display:flex;gap:28px;align-items:center;padding:28px 0}.skeleton-poster{width:180px;aspect-ratio:2/3}.skeleton-avatar{width:140px;aspect-ratio:1;border-radius:50%}.skeleton-panel{height:130px;margin:18px 0}.skeleton-row{display:flex;gap:18px;align-items:center;padding:14px 0}.skeleton-square{width:70px;aspect-ratio:3/4;flex-shrink:0}.skeleton-cards>.skeleton-shapes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.skeleton-card .skeleton-poster{width:100%;margin-bottom:12px}.skeleton-card .skeleton-heading{height:16px;margin-bottom:10px}.skeleton-gallery>.skeleton-shapes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.skeleton-thumb{aspect-ratio:16/10}.background-options>.skeleton-screen,.preview-content>.skeleton-screen{grid-column:1/-1}.community-rail>.skeleton-screen{flex:0 0 100%;max-width:600px}.community-rail .skeleton-shapes{display:flex;gap:20px}.community-rail .skeleton-row{flex:1}.profile-editor>.skeleton-screen{overflow:hidden}@media(max-width:650px){.skeleton-cards>.skeleton-shapes{grid-template-columns:repeat(2,minmax(0,1fr))}.skeleton-gallery>.skeleton-shapes{grid-template-columns:repeat(2,minmax(0,1fr))}.skeleton-feature{gap:16px}.skeleton-feature>.skeleton-poster{width:100px}.skeleton-avatar{width:90px}}@media(prefers-reduced-motion:reduce){.skeleton-block{animation:none}}
.analytics-dashboard{max-width:1120px;margin:42px auto 80px;padding:36px clamp(20px,5vw,64px);border:1px solid #d7e1ed;border-radius:18px;background:linear-gradient(145deg,#f9fbff,#f0f5fb);box-shadow:0 18px 50px #1d35520c;color:#152b43}.analytics-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;padding-bottom:28px;border-bottom:1px solid #d8e2ef}.analytics-heading h1{font-size:clamp(34px,5vw,50px);letter-spacing:-.045em;margin:12px 0 8px}.analytics-heading p,.analytics-footnote{color:#647b94;line-height:1.6}.analytics-heading p{margin:0}.analytics-back{white-space:nowrap;padding:10px 15px;border:1px solid #c8d6e7;border-radius:8px;color:#25466d;font-weight:600}.analytics-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.analytics-kpis article,.analytics-card{border:1px solid #d9e3ef;border-radius:12px;background:#fff;box-shadow:0 5px 18px #193a5908}.analytics-kpis article{display:grid;gap:8px;padding:20px}.analytics-kpis article>span,.analytics-period{font:10px var(--mono);letter-spacing:.12em;color:#6b8199}.analytics-kpis strong{font-size:30px;letter-spacing:-.04em;color:#163453}.analytics-kpis small{font-size:12px;color:#71849a}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:16px}.analytics-card{padding:22px;min-width:0}.analytics-trend{grid-column:1/-1}.analytics-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.analytics-card-head .eyebrow{font-size:9px}.analytics-card h2{font-size:20px;margin:6px 0 0;letter-spacing:-.025em}.analytics-chart-wrap svg{display:block;width:100%;height:180px;overflow:visible}.analytics-chart-labels{display:flex;justify-content:space-between;font-size:11px;color:#7589a0}.analytics-country-list{display:grid;gap:14px}.analytics-country{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:7px 10px}.analytics-flag{font:700 11px var(--mono);color:#527292}.analytics-country-name{font-size:13px;font-weight:600}.analytics-country-count{font:12px var(--mono);color:#526b85}.analytics-bar{height:5px;grid-column:2/-1;border-radius:8px;background:#edf2f8;overflow:hidden}.analytics-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2451d6,#65a6d7)}.analytics-privacy{font-size:11px;line-height:1.5;color:#74869a;margin:18px 0 0}.analytics-page-list{list-style:none;padding:0;margin:0}.analytics-page-list li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f6;font-size:13px}.analytics-page-list li:last-child{border:0}.analytics-page-list a{color:#234fc9}.analytics-page-list b{font:12px var(--mono);color:#536d88}.analytics-rank{font:10px var(--mono);color:#93a7bd}.analytics-empty{font-size:13px;line-height:1.6;color:#71849a;padding:16px 0}.analytics-footnote{font-size:11px;margin-top:20px}@media(max-width:700px){.analytics-dashboard{margin:22px 14px 48px;padding:22px 16px}.analytics-heading{align-items:start;flex-direction:column}.analytics-kpis{grid-template-columns:1fr;gap:10px}.analytics-kpis article{grid-template-columns:1fr auto;align-items:center;padding:15px}.analytics-kpis article>span,.analytics-kpis small{grid-column:1}.analytics-kpis strong{grid-column:2;grid-row:1/3}.analytics-grid{grid-template-columns:1fr}.analytics-trend{grid-column:auto}.analytics-card{padding:18px}.analytics-chart-wrap svg{height:140px}}
.analytics-activity{margin-top:24px;scroll-margin-top:20px}.analytics-activity-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:0 0 14px}.analytics-activity-heading h2{margin:6px 0 0;font-size:25px;letter-spacing:-.03em}.analytics-activity-heading nav{display:flex;gap:8px;flex-wrap:wrap}.analytics-activity-heading nav a{padding:8px 12px;border:1px solid #d0dceb;border-radius:7px;background:#fff;color:#375879;font-size:12px;font-weight:600}.analytics-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.analytics-recent-card{scroll-margin-top:20px;padding:18px}.analytics-recent-card h3{font-size:17px;margin:5px 0 0}.analytics-recent-list{display:grid;gap:0;list-style:none;margin:0;padding:0}.analytics-recent-list>li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;padding:12px 0;border-top:1px solid #edf1f6}.analytics-recent-list>li:first-child{border-top:0}.analytics-avatar,.analytics-list-icon,.analytics-comment-dot{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#eaf1fb;color:#315585;font-size:12px;font-weight:700}.analytics-list-icon{border-radius:8px;font-size:19px}.analytics-comment-dot{background:#f3f5fa;color:#3868c9}.analytics-recent-list>li>div{min-width:0}.analytics-recent-title{display:block;color:#1c3b5c;font-size:12px;font-weight:700;overflow-wrap:anywhere}.analytics-recent-list small{display:block;margin-top:4px;color:#7a8ba0;font-size:10px;line-height:1.45}.analytics-comment-list>li{grid-template-columns:26px minmax(0,1fr)}.analytics-comment-list .analytics-comment-dot{width:24px;height:24px;font-size:11px}.analytics-comment-meta{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.analytics-comment-meta span{white-space:nowrap;color:#6683a7;font-size:10px}.analytics-comment-list p{margin:7px 0;color:#465d77;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.analytics-comment-list small a{color:#2451d6;font-weight:600}@media(max-width:850px){.analytics-activity-grid{grid-template-columns:1fr 1fr}.analytics-recent-card:last-child{grid-column:1/-1}}@media(max-width:600px){.analytics-activity-heading{align-items:start;flex-direction:column}.analytics-activity-heading nav{width:100%}.analytics-activity-grid{grid-template-columns:1fr}.analytics-recent-card:last-child{grid-column:auto}}

.profile-editor[open]:not(.account-settings){width:min(520px,calc(100vw - 24px))}
.account-settings-back{display:inline-flex;align-items:center;gap:8px;margin:0 36px 14px 0;padding:5px 0;border:0;background:transparent;color:var(--ink);font:600 13px var(--sans);cursor:pointer}.account-settings-back span{font-size:19px;line-height:1}.account-settings-back:hover{text-decoration:underline;text-underline-offset:3px}.account-settings-back:focus-visible{outline:2px solid #214bd1;outline-offset:4px;border-radius:3px}

.photo-upload .photo-upload-hint{opacity:0;pointer-events:none;transition:opacity .18s ease}.photo-edit-icon{position:absolute;right:10px;bottom:9px;z-index:2;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:rgba(17,38,65,.55);color:#fff;pointer-events:none;transition:opacity .18s ease}.photo-edit-icon svg{width:16px;height:16px}.photo-upload:focus-within .photo-upload-hint{opacity:1}.photo-upload:focus-within .photo-edit-icon{opacity:0}@media(hover:hover){.photo-upload:hover .photo-upload-hint{opacity:1}.photo-upload:hover .photo-edit-icon{opacity:0}}@media(prefers-reduced-motion:reduce){.photo-upload .photo-upload-hint,.photo-edit-icon{transition:none}}

.photo-upload .photo-edit-icon{left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%)}.photo-upload:hover .photo-edit-icon,.photo-upload:focus-within .photo-edit-icon{opacity:1}

#gameRatingChart .rating-spectrum{margin-left:auto;margin-right:auto;box-sizing:border-box}#gameReviewComposer{max-width:760px;margin:20px auto;padding:16px;border-radius:16px;box-sizing:border-box;gap:12px;grid-template-columns:190px minmax(0,1fr)}#gameReviewComposer textarea{min-height:64px;height:64px}#gameReviewComposer .game-review-form-status:empty{display:none}#gameCommunity .game-lists-carousel{display:flex;gap:12px;overflow:auto;scroll-snap-type:x proximity;padding:6px 2px 14px}#gameCommunity .game-lists-carousel .community-mini-card{flex:0 0 260px;border-radius:14px;scroll-snap-align:start}#listsPage .lists-random,#listsPage .discovery-list{border-radius:16px;overflow:hidden}.profile-avatar:has(img),.profile-avatar img{background:transparent!important;box-shadow:none!important}.verified-badge{display:inline-flex;width:24px;height:24px;margin-left:8px;vertical-align:middle;flex-shrink:0}.verified-badge svg,.verified-badge img{display:block;width:100%;height:100%;image-rendering:auto}.verified-badge[hidden]{display:none!important}.verification-admin{padding:20px;border:1px solid #b8d2c7;border-radius:16px;margin:24px 0}.verification-admin form{display:flex;gap:10px;flex-wrap:wrap}.verification-admin input{padding:10px;border:1px solid #b8c8d7;border-radius:8px}.verification-admin button{padding:10px;border-radius:8px}.verification-admin p{font-size:13px}@media(max-width:560px){#gameReviewComposer{grid-template-columns:1fr}#gameReviewComposer textarea{height:72px}}

.profile-person h1 .verified-badge{width:54px;height:54px;margin-left:12px;vertical-align:-.13em}
@media(max-width:620px){#publicView .profile-person{min-width:0}#publicView .profile-person h1{font-size:clamp(22px,7.2vw,32px);line-height:1.02}#publicView .profile-person h1 .verified-badge{width:27px;height:27px;margin-left:6px;vertical-align:-.12em}#publicView .profile-topline{gap:8px;align-items:center}#publicView .profile-topline>div{flex-direction:row;flex-wrap:wrap;justify-content:flex-end}#publicView .profile-share,#publicView .profile-edit-link{white-space:nowrap}}
@media(max-width:380px){#publicView .profile-identity{grid-template-columns:68px minmax(0,1fr);gap:10px}#publicView .profile-avatar{width:68px}#publicView .profile-person h1{font-size:clamp(21px,6.8vw,27px)}#publicView .profile-person h1 .verified-badge{width:25px;height:25px;margin-left:5px}}
@media(min-width:621px){#publicView .profile-identity{grid-template-columns:170px minmax(0,1fr);gap:27px}#publicView .profile-avatar{width:170px}#publicView .profile-person .eyebrow{font-size:12px}#publicView .profile-person h1:has(.verified-badge){font-size:clamp(48px,5.4vw,78px);line-height:.98;white-space:nowrap;margin:16px 0 18px}#publicView .profile-person h1 .verified-badge{width:54px;height:54px;margin-left:12px;vertical-align:-.13em}#publicView .profile-person .profile-meta{font-size:13px;gap:14px}#publicView .profile-person>p{font-size:17px;line-height:1.55;margin-top:20px;max-width:620px}}
@media(min-width:621px) and (max-width:700px){#publicView .profile-identity{grid-template-columns:130px minmax(0,1fr);gap:16px}#publicView .profile-avatar{width:130px}#publicView .profile-person h1:has(.verified-badge){font-size:48px}#publicView .profile-person h1 .verified-badge{width:44px;height:44px;margin-left:10px}}
@media(max-width:1240px){#publicView .profile-hero{grid-template-columns:minmax(0,1fr);gap:24px}}
@media(min-width:1241px){#publicView .profile-hero{grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr)}}

.profile-socials{padding:clamp(22px,3vw,34px);background:#e4edf4;border:1px solid #d7e1ea}.profile-socials h2{margin:12px 0 18px;font:500 clamp(25px,3vw,36px)/1.1 var(--serif);letter-spacing:-.04em;color:#15283b}.profile-socials>p{margin:0;color:#687b8d;font-size:13px;line-height:1.6}.profile-social-links{display:flex;flex-wrap:wrap;gap:10px}.profile-social-link{display:inline-flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #c5d5e3;border-radius:999px;color:#315f86;background:#f7f9fc;font-size:12px;text-decoration:none;transition:background .18s,border-color .18s,transform .18s}.profile-social-link:hover{background:#fff;border-color:#75b8de;transform:translateY(-1px)}.profile-social-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.profile-social-link[aria-label="X / Twitter"] svg{fill:currentColor;stroke:none}.profile-social-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin-top:24px;padding-top:18px;border-top:1px solid #d7e1ea}.profile-social-fields>.eyebrow{grid-column:1/-1}.profile-social-fields label{display:grid;gap:6px;color:#536a7d;font-size:12px}.profile-social-fields input{width:100%;min-width:0;padding:10px 11px;border:1px solid #c5d5e3;border-radius:6px;background:#fff;color:#15283b;font:12px var(--sans)}.profile-social-fields input:focus{outline:2px solid #75b8de;outline-offset:1px}@media(max-width:540px){.profile-social-fields{grid-template-columns:1fr}}

#modal.account-modal .account-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#modal.account-modal .account-fields>label{display:grid;grid-template-rows:minmax(2.8em,auto) auto;align-content:start;min-width:0}#modal.account-modal .account-fields input{min-width:0}body.auth-keyboard-open #overlay.open{position:fixed;top:var(--auth-viewport-top,0px);right:0;bottom:auto;left:0;height:var(--auth-viewport-height,100dvh);min-height:0;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;align-items:flex-start;padding:8px 14px}body.auth-keyboard-open #modal.account-modal{max-height:calc(var(--auth-viewport-height,100dvh) - 16px);margin:auto;flex:none;scroll-padding-block:20px;overscroll-behavior:contain}
.profile-social-fields>.profile-social-help{grid-column:1/-1;margin:-6px 0 0;color:#687b8d;font-size:12px;line-height:1.5}

/* Readable follower counts on both plain and illustrated profile headers. */
#publicView .profile-hero .profile-follow-inline{flex-wrap:wrap;gap:10px;margin-top:16px}
#publicView .profile-hero .profile-follow-stats{display:inline-block;flex:0 1 auto;width:auto;max-width:100%;padding:9px 12px;border-radius:10px;background:#edf3f8;color:#29475f;font:400 14px/1.5 var(--sans);white-space:normal;text-shadow:none}
#publicView .profile-hero .profile-follow-stats b{font:700 15px/1.5 var(--sans);color:#19374e}
#publicView .profile-hero .profile-follow-stats i{font-style:normal;color:#61798b;margin:0 6px}
#publicView .profile-hero.has-profile-background .profile-follow-stats{background:rgba(8,23,39,.88);color:#f4f8fc;border:1px solid rgba(255,255,255,.24)}
#publicView .profile-hero.has-profile-background .profile-follow-stats b{color:#fff}
#publicView .profile-hero.has-profile-background .profile-follow-stats i{color:#b8cddd}

/* Complete game ratings, independent of lists and the activity feed. */
.profile-ratings{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}
.profile-ratings .profile-section-title p{font:14px/1.6 var(--sans);color:#536a7d}
.profile-ratings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px}
.profile-rating-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;padding:18px;border:1px solid #cbd9e6;border-radius:16px;background:#fff;color:#19374e;text-decoration:none;align-items:start}
.profile-rating-card:hover{border-color:#7497b7;background:#f7fbff}
.profile-rating-card img,.profile-rating-placeholder{width:64px;aspect-ratio:3/4;object-fit:cover;border-radius:7px;background:#edf3f8}
.profile-rating-placeholder{display:grid;place-items:center;color:#6b88a2}
.profile-rating-card h3{margin:0 0 8px;font:700 16px/1.4 var(--sans);overflow-wrap:anywhere}
.profile-rating-stars{color:#214bd1;font-size:16px}.profile-rating-stars b{color:#29475f;font-size:12px}
.profile-rating-card p{font:13px/1.6 var(--sans);overflow-wrap:anywhere;white-space:pre-wrap;margin:10px 0}
.profile-rating-card time{display:block;margin-top:10px;font:12px/1.5 var(--sans);color:#536a7d}
.profile-ratings-status{font:13px/1.5 var(--sans);color:#536a7d}

/* Profile header: identity and five favorite games. */
#publicView .profile-mosaic-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);align-items:center;gap:28px;background:#1b2f4b;color:#fff;border:0;border-radius:12px;padding:20px 28px;min-height:208px}
#publicView .profile-mosaic-hero .profile-identity{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;align-items:center}
#publicView .profile-mosaic-hero .profile-avatar{width:70px;height:70px;border:0;box-shadow:none;background:transparent}
#publicView .profile-mosaic-hero .profile-avatar>span{display:grid;place-items:center;width:100%;height:100%;background:#e3edf6;border-radius:50%;color:#405441;font-size:28px}
#publicView .profile-mosaic-hero .profile-person{min-width:0}
#publicView .profile-mosaic-hero .profile-person h1{font-size:30px;line-height:1.1;margin:4px 0;color:#fff;white-space:normal;overflow-wrap:anywhere;letter-spacing:0}
#publicView .profile-mosaic-hero .profile-person h1 .verified-badge{width:25px;height:25px;margin-left:7px}
#publicView .profile-mosaic-hero .eyebrow{font-size:9px;letter-spacing:1px;color:#b8d9f7}
#publicView .profile-mosaic-hero .eyebrow:before{display:none}
#publicView .profile-mosaic-hero .profile-meta{font-size:11px;line-height:1.4;color:#b8d9f7;gap:4px;flex-wrap:wrap;margin:0}
#publicView .profile-mosaic-hero .profile-mosaic-intro>p{font-size:13px;line-height:1.5;margin:14px 0 12px;color:#fff;overflow-wrap:anywhere}
#publicView .profile-mosaic-hero .profile-follow-inline{margin-top:0;gap:8px}
#publicView .profile-mosaic-hero .profile-follow-stats{padding:7px 10px;background:#354860;border:0;border-radius:6px;color:#fff;font-size:11px;line-height:1.4}
#publicView .profile-mosaic-hero .profile-follow-stats b{color:#fff;font-size:11px;line-height:1.4}
#publicView .profile-mosaic-hero .profile-follow-stats i{color:#fff;margin:0 3px}
#publicView .profile-mosaic-hero .profile-follow-button{background:#fff;color:#19374e;border:0;border-radius:6px;padding:8px 15px}
.profile-favorites-panel{min-width:0}.profile-favorites-panel h2{font-size:9px;letter-spacing:1px;font-weight:500;color:#b8d9f7;margin:0 0 9px}
.profile-favorites-mosaic{display:grid;grid-template-columns:2.08fr 1fr 1fr;grid-template-rows:repeat(2,83px);gap:9px}
.profile-favorite-tile{position:relative;overflow:hidden;display:block;min-width:0;border:0;border-radius:7px;background:#3a6a50;color:white;text-align:left;padding:0;cursor:pointer;text-decoration:none}
.profile-favorite-tile:first-child{grid-row:span 2}.profile-favorite-tile:nth-child(2){background:#8c4c35}.profile-favorite-tile:nth-child(3){background:#43568c}.profile-favorite-tile:nth-child(4){background:#713f70}.profile-favorite-tile:nth-child(5){background:#2e7180}
.profile-favorite-tile img{width:100%;height:100%;object-fit:cover;display:block}
.profile-favorite-tile span{position:absolute;bottom:0;left:0;right:0;padding:16px 7px 6px;background:linear-gradient(transparent,#000a);font:600 10px/1.35 var(--sans);color:#fff;overflow-wrap:anywhere}
.profile-favorite-tile.is-empty span{background:none;font-weight:400}.profile-favorite-tile:focus-visible{outline:3px solid #b8d9f7;outline-offset:2px}
.editor-favorite{display:flex;align-items:center;gap:6px;margin:8px 0;padding:8px;background:#edf3f8;border-radius:8px}.editor-favorite span{flex:1;min-width:0;font-size:12px}.editor-favorite button{min-width:30px;min-height:30px;border:1px solid #becddd;border-radius:5px;background:white}
@media(max-width:600px){#publicView .profile-mosaic-hero{grid-template-columns:minmax(0,1fr);padding:20px;gap:24px}#publicView .profile-mosaic-hero .profile-identity{grid-template-columns:80px minmax(0,1fr);gap:16px}#publicView .profile-mosaic-hero .profile-avatar{width:80px;height:80px}#publicView .profile-mosaic-hero .profile-meta{font-size:12px}#publicView .profile-mosaic-hero .profile-mosaic-intro>p{font-size:14px;margin:16px 0}#publicView .profile-mosaic-hero .profile-follow-stats,#publicView .profile-mosaic-hero .profile-follow-stats b{font-size:12px}.profile-favorites-mosaic{grid-template-rows:repeat(2,72px);gap:10px}.profile-favorites-panel h2{font-size:10px;font-weight:700;margin-bottom:12px}}

.profile-photo-cropper{width:min(390px,calc(100vw - 28px));padding:22px;border:1px solid #b9c9df;border-radius:16px;background:#f7f9fc;color:#15283b;box-sizing:border-box}.profile-photo-cropper::backdrop{background:#08192bb3}.profile-photo-crop-form h2{margin:0 0 7px;font:600 21px var(--sans)}.profile-photo-crop-form>p{margin:0 0 16px;color:#60758b;font-size:13px;line-height:1.5}.profile-crop-canvas{display:block;width:min(280px,100%);height:auto;aspect-ratio:1;margin:auto;border-radius:8px;touch-action:none;cursor:grab;background:#dce8f6}.profile-crop-canvas:active{cursor:grabbing}.profile-crop-zoom{display:grid;gap:7px;margin:17px 0;color:#536a7d;font-size:12px}.profile-crop-zoom input{width:100%;accent-color:#214bd1}.profile-crop-actions{display:flex;justify-content:flex-end;gap:9px}.profile-crop-actions button{padding:10px 14px;border:1px solid #b9c9df;border-radius:8px;background:#fff;color:#15283b;font:600 13px var(--sans);cursor:pointer}.profile-crop-actions .cta{background:#214bd1;color:white;border-color:#214bd1}

@media(max-width:600px){#publicView .profile-mosaic-hero .profile-person h1{display:flex;align-items:center;gap:5px;min-width:0;width:100%;font-size:clamp(19px,6vw,29px);line-height:1.08;letter-spacing:-.035em;white-space:nowrap;overflow:hidden}#publicView .profile-mosaic-hero .profile-person h1 .profile-name-text{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#publicView .profile-mosaic-hero .profile-person h1 .verified-badge{display:inline-flex;flex:0 0 22px;width:22px;height:22px;margin:0;vertical-align:middle}}@media(max-width:360px){#publicView .profile-mosaic-hero .profile-person h1{font-size:clamp(17px,5.5vw,20px)}#publicView .profile-mosaic-hero .profile-person h1 .verified-badge{flex-basis:20px;width:20px;height:20px}}

/* Profile dashboard: recent games and two balanced content columns. */
#publicView .profile-recent-games{margin:0 0 26px;padding:18px 20px 20px;background:#e4edf4;border-radius:10px;min-width:0}
#publicView .profile-recent-games .profile-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
#publicView .profile-recent-games .profile-section-title .eyebrow{font-size:8px}
#publicView .profile-recent-games .profile-section-title h2{margin:0;font:600 20px/1.2 var(--sans);letter-spacing:-.025em;color:#172c46}
.profile-recent-games-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.profile-recent-game-card{position:relative;min-width:0;aspect-ratio:1.15/1;overflow:hidden;border-radius:7px;background:#294c68;color:#fff;text-decoration:none}
.profile-recent-game-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.profile-recent-game-card:hover img{transform:scale(1.04)}
.profile-recent-game-card>span{position:absolute;inset:auto 0 0;padding:20px 8px 8px;background:linear-gradient(transparent,#10233be8);display:grid;gap:3px}
.profile-recent-game-card b{font:600 11px/1.25 var(--sans);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-recent-game-card small{font:10px var(--sans);color:#f3c96a}
.profile-recent-game-card:focus-visible{outline:3px solid #214bd1;outline-offset:2px}
#publicView .profile-content{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:start;gap:clamp(18px,3vw,40px);border:0;padding-top:0}
#publicView .profile-recent{min-width:0;padding:18px 20px;background:#10233b;border-radius:10px;color:#f4f7fa}
#publicView .profile-recent .profile-section-title h2{color:#f4f7fa;font:600 21px/1.2 var(--sans);letter-spacing:-.02em;margin:7px 0 12px}
#publicView .profile-recent .profile-section-title .eyebrow{color:#a9c9df}
#publicView .profile-recent .profile-empty{color:#c4d2df}
#publicView .profile-recent .profile-activity-item{color:#e0eaf2;border-color:#ffffff20}
#publicView .profile-recent .profile-activity-icon{background:#24415e;color:#b9dcf2}
#publicView .profile-recent .profile-activity-item time{color:#9eb3c7}
#publicView .profile-recent .profile-activity-item blockquote{color:#b7c8d7}
#publicView .profile-recent .profile-activity-more{border-color:#6e8ba7;background:transparent;color:#d7eafa;border-radius:6px}
#publicView .profile-main{display:grid;align-content:start;gap:14px;min-width:0}
#publicView .profile-lists{order:-1;padding:18px 20px;background:#10233b;color:#f4f7fa;border-radius:10px}
#publicView .profile-lists .profile-section-title h2{font:600 21px/1.2 var(--sans);letter-spacing:-.02em;color:#f4f7fa;margin:7px 0 12px}
#publicView .profile-lists .profile-section-title .eyebrow{color:#a9c9df}
#publicView .profile-list-card{grid-template-columns:62px minmax(0,1fr);gap:11px;padding:10px 0;border-color:#ffffff24;color:#f4f7fa}
#publicView .profile-list-art{width:62px;height:62px;border-radius:6px;background:#29415b}
#publicView .profile-list-card h3{font:600 14px/1.25 var(--sans);color:#f4f7fa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#publicView .profile-list-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#b7c8d7}
#publicView .profile-list-card .eyebrow{color:#a9c9df}
#publicView .profile-list-link{color:#a9d5f2}
#publicView .profile-main .profile-clubs,#publicView .profile-main .profile-followers-panel{margin:0;min-height:0;border-radius:10px}
#publicView .profile-main .profile-followers-panel{padding:16px 20px;grid-template-columns:minmax(84px,.7fr) minmax(0,2fr);gap:14px}
@media(max-width:850px){#publicView .profile-content{grid-template-columns:minmax(0,1fr) minmax(260px,.88fr);gap:16px}#publicView .profile-recent-games-grid{gap:9px}}
@media(max-width:620px){#publicView .profile-recent-games{padding:15px;margin-bottom:20px}#publicView .profile-recent-games .profile-section-title h2{font-size:18px}.profile-recent-games-grid{grid-template-columns:repeat(5,minmax(126px,1fr));overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding-bottom:4px}.profile-recent-game-card{scroll-snap-align:start;aspect-ratio:.82/1}#publicView .profile-content{grid-template-columns:minmax(0,1fr);gap:14px}#publicView .profile-recent{order:1;padding:16px}#publicView .profile-main{order:2}#publicView .profile-lists{padding:16px}#publicView .profile-main .profile-clubs{padding:16px}#publicView .profile-main .profile-followers-panel{padding:12px 16px;grid-template-columns:minmax(76px,.7fr) minmax(0,2fr)}}

.profile-recent-games-status{grid-column:1/-1;margin:10px 0;color:#60758b;font-size:12px;line-height:1.5}

/* Keep full portrait covers visible and bring dashboard panels closer to the brand blue. */
.profile-recent-game-card{display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:.82/1;background:#102747}
.profile-recent-game-card img{height:calc(100% - 42px);object-fit:contain;background:#102747}
.profile-recent-game-card>span{position:static;min-height:42px;padding:6px 8px 8px;background:#102747}
#publicView .profile-recent,#publicView .profile-lists{background:#1b3f99}
#publicView .profile-recent .profile-activity-item a{color:#b8d5ff}
@media(max-width:620px){.profile-recent-game-card{aspect-ratio:.82/1}}

/* Two-column profile dashboard from the latest layout sketch. */
#publicView .profile-dashboard{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.72fr);align-items:start;gap:clamp(18px,3vw,38px);margin:0 0 26px;min-width:0}
#publicView .profile-dashboard-primary,#publicView .profile-dashboard-side{display:grid;align-content:start;gap:20px;min-width:0}
#publicView .profile-dashboard .profile-recent-games{margin:0}
#publicView .profile-dashboard .profile-recent-games-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#publicView .profile-dashboard-side .profile-lists{order:0;margin:0;min-height:0;padding:18px 20px;background:#e4edf4;border-radius:10px;color:#172c46}
#publicView .profile-dashboard-side .profile-section-title h2{font:600 21px/1.2 var(--sans);letter-spacing:-.02em;color:#172c46;margin:7px 0 12px}
#publicView .profile-dashboard-side .profile-section-title .eyebrow{color:#6383a0}
#publicView .profile-dashboard-side .profile-list-card{grid-template-columns:72px minmax(0,1fr);gap:11px;padding:10px 0;border-color:#c4d4e3;color:#172c46}
#publicView .profile-dashboard-side .profile-list-art{width:72px;height:auto;aspect-ratio:3/4;border-radius:6px;background:#d3e1ed}
#publicView .profile-dashboard-side .profile-list-art img{width:100%;height:100%;object-fit:contain}
#publicView .profile-dashboard-side .profile-list-card h3{font:600 14px/1.25 var(--sans);color:#172c46;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#publicView .profile-dashboard-side .profile-list-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#536a7d}
#publicView .profile-dashboard-side .profile-list-card .eyebrow{color:#6383a0}
#publicView .profile-dashboard-side .profile-list-link{color:#214bd1}
#publicView .profile-vertical-carousel{overflow-y:auto;overscroll-behavior-y:contain;scroll-snap-type:y proximity;scrollbar-width:thin;scrollbar-color:#9bb2c5 transparent;padding-right:5px}
#publicView .profile-vertical-carousel:focus-visible{outline:2px solid #214bd1;outline-offset:3px;border-radius:5px}
#publicView .profile-vertical-carousel>.profile-list-carousel-track,#publicView .profile-vertical-carousel>.profile-club-list,#publicView .profile-vertical-carousel>.profile-recent-reviews-list,#publicView .profile-vertical-carousel>.profile-activity-feed{display:grid}
#publicView .profile-vertical-carousel .profile-list-card,#publicView .profile-vertical-carousel .profile-club-row,#publicView .profile-vertical-carousel .profile-recent-review,#publicView .profile-vertical-carousel .profile-activity-item{scroll-snap-align:start}
#publicView .profile-carousel-controls{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding-top:8px;border-top:1px solid #c4d4e3}
#publicView .profile-carousel-status{margin-right:auto;color:#60758b;font:10px var(--mono);font-variant-numeric:tabular-nums}
#publicView .profile-carousel-button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #b9cddd;border-radius:7px;background:#f7fafc;color:#214bd1;font:600 15px/1 var(--sans);cursor:pointer}
#publicView .profile-carousel-button:hover:not(:disabled){background:#dce9f2;border-color:#83a7c1}
#publicView .profile-carousel-button:disabled{opacity:.42;cursor:default}
#publicView .profile-recent-reviews{min-width:0;padding:18px 20px;background:#e4edf4;border-radius:10px;color:#172c46}
#publicView .profile-recent-reviews .profile-section-title h2{font:600 21px/1.2 var(--sans);letter-spacing:-.02em;color:#172c46;margin:7px 0 12px}
#publicView .profile-recent-reviews .profile-section-title .eyebrow{color:#6383a0}
.profile-recent-reviews-list{display:grid}
.profile-reviews-status{margin:8px 0;color:#536a7d;font-size:12px;line-height:1.5}
.profile-recent-review{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;padding:12px 0;border-top:1px solid #c4d4e3;color:#172c46;text-decoration:none;min-width:0}
.profile-recent-review>img,.profile-recent-review-placeholder{width:58px;height:76px;object-fit:contain;border-radius:5px;background:#d3e1ed}
.profile-recent-review-placeholder{display:grid;place-items:center;color:#b37a19}
.profile-recent-review-copy{display:grid;align-content:start;gap:5px;min-width:0}
.profile-recent-review-title{display:flex;align-items:baseline;gap:7px;min-width:0}
.profile-recent-review-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 14px/1.3 var(--sans)}
.profile-recent-review-title small{flex:none;color:#60758b;font-size:11px}
.profile-recent-review .profile-rating-stars{font-size:12px;color:#214bd1}
.profile-recent-review-comment{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:#536a7d;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.profile-recent-review .profile-rating-more{color:#214bd1}
.profile-recent-review time{color:#8293a1;font:10px var(--mono)}
.profile-recent-review:hover .profile-recent-review-title b{text-decoration:underline}
@media(max-width:850px){#publicView .profile-dashboard{grid-template-columns:minmax(0,1.35fr) minmax(230px,.8fr);gap:16px}}
@media(max-width:620px){#publicView .profile-dashboard{grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:20px}#publicView .profile-dashboard-primary,#publicView .profile-dashboard-side{gap:14px}#publicView .profile-dashboard .profile-recent-games{padding:15px}#publicView .profile-dashboard .profile-recent-games-grid{grid-template-columns:repeat(4,minmax(126px,1fr));overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding-bottom:4px}#publicView .profile-dashboard-side .profile-lists{padding:16px}#publicView .profile-recent-reviews{padding:16px}}

/* Keep recent game tiles colorful while the section uses the established pale blue. */
#publicView .profile-dashboard .profile-recent-game-card{background:#e4edf4;color:#172c46}
#publicView .profile-dashboard .profile-recent-game-card:nth-child(5n+1){background:linear-gradient(155deg,#cf8351,#81733d)}
#publicView .profile-dashboard .profile-recent-game-card:nth-child(5n+2){background:linear-gradient(155deg,#5388c8,#333e83)}
#publicView .profile-dashboard .profile-recent-game-card:nth-child(5n+3){background:linear-gradient(155deg,#c95764,#72404e)}
#publicView .profile-dashboard .profile-recent-game-card:nth-child(5n+4){background:linear-gradient(155deg,#45bf69,#197451)}
#publicView .profile-dashboard .profile-recent-game-card:nth-child(5n){background:linear-gradient(155deg,#4cc2ae,#1d7081)}
#publicView .profile-dashboard .profile-recent-game-card img{background:transparent}
#publicView .profile-dashboard .profile-recent-game-card>span{background:#e4edf4;color:#172c46}
#publicView .profile-dashboard .profile-recent-game-card .profile-rating-stars{color:#214bd1}

#modal.watch-choice-modal .watch-choice-content h2 em{color:#214bd1}
#modal.watch-choice-modal .watch-choice-icon{color:#315fbe}
#modal.watch-choice-modal .watch-review-stars button.is-selected{color:#214bd1}
.interface-star{color:#214bd1!important}
.interface-star-empty{opacity:.35}
.watch-review-stars button:not(.is-selected) .interface-star{color:#9eb5ee!important}
.profile-rating-stars,#showDetail #gameRatingChart .rating-spectrum-stars{color:#214bd1!important}
#publicView .profile-dashboard .profile-recent-games{border-radius:16px}
#publicView .profile-dashboard .profile-recent-game-card{border-radius:11px}
/* Match the reference: five game covers with titles and stars underneath. */
#publicView .profile-dashboard .profile-recent-games{padding:24px 26px 25px;border-radius:14px}
#publicView .profile-dashboard .profile-recent-games .profile-section-title{display:grid;grid-template-columns:minmax(0,1fr);justify-content:start;gap:4px;margin-bottom:16px}
#publicView .profile-dashboard .profile-recent-games .profile-section-title .eyebrow{display:block;font-size:8px}
#publicView .profile-dashboard .profile-recent-games .profile-section-title h2{font-size:20px;text-align:left;margin:0}
#publicView .profile-dashboard .profile-recent-games-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
#publicView .profile-dashboard .profile-recent-game-item{display:grid;align-content:start;gap:7px;min-width:0}
#publicView .profile-dashboard .profile-recent-game-card{position:relative;display:block;width:100%;aspect-ratio:3/4;overflow:hidden;border-radius:8px;background:linear-gradient(155deg,#cf8351,#81733d);color:#172c46;text-decoration:none}
#publicView .profile-dashboard .profile-recent-game-card img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit;background:transparent;transition:transform .2s ease}
#publicView .profile-dashboard .profile-recent-game-item:nth-child(5n+2) .profile-recent-game-card{background:linear-gradient(155deg,#5388c8,#333e83)}
#publicView .profile-dashboard .profile-recent-game-item:nth-child(5n+3) .profile-recent-game-card{background:linear-gradient(155deg,#c95764,#72404e)}
#publicView .profile-dashboard .profile-recent-game-item:nth-child(5n+4) .profile-recent-game-card{background:linear-gradient(155deg,#45bf69,#197451)}
#publicView .profile-dashboard .profile-recent-game-item:nth-child(5n) .profile-recent-game-card{background:linear-gradient(155deg,#4cc2ae,#1d7081)}
#publicView .profile-dashboard .profile-recent-game-meta{display:grid;align-content:start;gap:3px;min-width:0;color:#172c46}
#publicView .profile-dashboard .profile-recent-game-meta b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;text-overflow:clip;font:600 11px/1.3 var(--sans);color:#172c46}
#publicView .profile-dashboard .profile-recent-game-meta small{font:10px/1.3 var(--sans);letter-spacing:.04em;color:#27884f}
@media(max-width:620px){#publicView .profile-dashboard .profile-recent-games{padding:20px 18px}#publicView .profile-dashboard .profile-recent-games-grid{grid-template-columns:repeat(5,minmax(105px,1fr));gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding-bottom:4px}#publicView .profile-dashboard .profile-recent-game-card{aspect-ratio:3/4;scroll-snap-align:start}}

/* Keep the profile activity panel readable on the requested pale blue surface. */
#publicView .profile-recent{background:#e4edf4;color:#172c46}
#publicView .profile-recent .profile-section-title h2{color:#172c46}
#publicView .profile-recent .profile-section-title .eyebrow{color:#6383a0}
#publicView .profile-recent .profile-empty{color:#536a7d}
#publicView .profile-recent .profile-activity-item{color:#172c46;border-color:#c4d4e3}
#publicView .profile-recent .profile-activity-icon{background:#d3e1ed;color:#50718b}
#publicView .profile-recent .profile-activity-item a{color:#214bd1}
#publicView .profile-recent .profile-activity-item time{color:#60758b}
#publicView .profile-recent .profile-activity-item blockquote{color:#536a7d}

/* Keep the profile sidebar in the requested order: lists, compact clubs, then activity. */
#publicView .profile-dashboard-side .profile-clubs{order:1;min-height:0;margin:0;padding:14px 16px;background:#e4edf4;border-radius:10px;color:#172c46}
#publicView .profile-dashboard-side .profile-clubs .profile-section-title h2{margin:4px 0 8px;font:600 19px/1.2 var(--sans);letter-spacing:-.02em;color:#172c46}
#publicView .profile-dashboard-side .profile-clubs .profile-section-title .eyebrow{color:#6383a0}
#publicView .profile-dashboard-side .profile-clubs>.profile-empty{margin:0;padding:4px 0;color:#60758b;font-size:12px}
#publicView .profile-dashboard-side .profile-clubs .profile-club-row{padding:9px 0;border-color:#c4d4e3}
#publicView .profile-dashboard-side .profile-recent{order:2;margin:0;padding:14px 16px;background:#e4edf4;border-radius:10px;color:#172c46}
#publicView .profile-dashboard-side .profile-recent .profile-section-title h2{margin:4px 0 8px;color:#172c46;font:600 18px/1.2 var(--sans);letter-spacing:-.02em}
#publicView .profile-dashboard-side .profile-recent .profile-section-title .eyebrow{color:#6383a0}
#publicView .profile-dashboard-side .profile-recent .profile-activity-item{grid-template-columns:24px minmax(0,1fr);gap:8px;padding:8px 0;color:#172c46;border-color:#c4d4e3}
#publicView .profile-dashboard-side .profile-recent .profile-activity-item time{grid-column:2;color:#60758b;font-size:9px}
#publicView .profile-dashboard-side .profile-recent .profile-activity-icon{width:22px;height:22px;background:#d4e2ee;color:#527fa1}
#publicView .profile-dashboard-side .profile-recent .profile-activity-item a{color:#214bd1}
#publicView .profile-dashboard-side .profile-recent .profile-activity-item blockquote{color:#536a7d}
@media(max-width:620px){#publicView .profile-dashboard-side .profile-clubs{padding:13px 15px}#publicView .profile-dashboard-side .profile-recent{padding:13px 15px}}

#publicView .profile-dashboard .profile-recent-game-card,#publicView .profile-dashboard .profile-recent-game-item:nth-child(5n+2) .profile-recent-game-card,#publicView .profile-dashboard .profile-recent-game-item:nth-child(5n+3) .profile-recent-game-card,#publicView .profile-dashboard .profile-recent-game-item:nth-child(5n+4) .profile-recent-game-card,#publicView .profile-dashboard .profile-recent-game-item:nth-child(5n) .profile-recent-game-card{background:#e4edf4}
#publicView .profile-dashboard .profile-recent-game-card img{object-fit:contain}
#publicView .profile-dashboard .profile-recent-game-meta .profile-recent-game-unrated{color:#60758b;letter-spacing:0}
#publicView .profile-recent .profile-activity-more{border-color:#aebfd0;background:transparent;color:#214bd1}

/* Search and manage up to five current games inside the profile editor. */
.profile-editor .editor-playing-list{display:grid;gap:8px;max-height:230px;overflow:auto;margin-top:10px}
.profile-editor .editor-playing-list>div.editor-playing-item{align-items:center;margin:0;padding:9px 10px;border:1px solid #c5d5e3;border-radius:7px;background:#f7f9fc}
.profile-editor .editor-playing-item>span{display:grid;gap:3px;min-width:0;font-size:12px}
.profile-editor .editor-playing-item>span b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-editor .editor-playing-item>span small{color:#60758b;font-size:10px}
.profile-editor .editor-playing-actions{display:flex;flex:none;gap:6px}
.profile-editor .editor-playing-actions button{padding:7px 9px;border:1px solid #b9c9df;border-radius:6px;background:#fff;color:#214bd1;font:600 11px var(--sans);cursor:pointer}
.profile-editor .editor-playing-actions button:hover{background:#edf3fc}
.profile-editor .editor-playing-actions button:focus-visible{outline:2px solid #214bd1;outline-offset:2px}
.profile-editor .editor-playing-actions button:disabled{background:#dbe6fa;color:#173c9d;cursor:default}
.profile-editor #playingGameSearch:disabled{background:#e5ecf5;color:#60758b}

.recent-review-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:85dvh;margin:auto;padding:24px;border:1px solid #c7d5e5;border-radius:16px;background:#fff;color:#19374e;overflow:auto;font-family:var(--sans)}
.recent-review-dialog::backdrop{background:#10243a66}.recent-review-dialog h2{font-size:22px;line-height:1.3;margin:0 32px 8px 0}.recent-review-dialog>p{font-size:14px;color:#536a7d}.recent-review-close{position:absolute;right:14px;top:12px;border:0;background:none;font-size:26px;cursor:pointer}
.recent-review-dialog fieldset{border:0;padding:0;margin:20px 0 0;min-width:0}.recent-review-dialog legend,.recent-review-dialog label{font-size:14px;font-weight:600}.recent-review-stars{display:flex;gap:8px;margin:10px 0 18px}.recent-review-stars button{border:0;background:none;color:#9eb5ee;padding:5px;cursor:pointer}.recent-review-stars button.is-selected{color:#214bd1}.recent-review-dialog textarea{box-sizing:border-box;display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #b9c9df;border-radius:8px;font:16px/1.5 var(--sans);resize:vertical}.recent-review-dialog small{font-weight:400}.recent-review-hint,.recent-review-dialog [role=status]{font-size:12px;line-height:1.5;color:#536a7d}.recent-review-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.recent-review-actions button{padding:10px 12px;border:1px solid #b9c9df;border-radius:8px;cursor:pointer;font:600 12px var(--sans)}.recent-review-actions [data-skip]{background:white;color:#315f80}
@media(max-width:600px){.recent-review-dialog{width:100%;max-width:none;max-height:75dvh;margin:auto 0 0;padding:20px 20px max(20px,env(safe-area-inset-bottom));border-radius:18px 18px 0 0}.recent-review-dialog h2{font-size:20px}.recent-review-dialog textarea{max-height:120px}.recent-review-actions{position:sticky;bottom:0;background:white;padding-top:8px}.recent-review-actions button{flex:1;min-height:44px}}
