.gp-board{background:#fff;border:1px solid #e1e9de;border-radius:6px;padding:20px;margin-bottom:18px;color:#193d31}.gp-board-title span,.gp-eyebrow,.gp-section-label{color:#bd7c50;font-size:9px;letter-spacing:1.3px;font-weight:700;text-transform:uppercase}.gp-board-title h2,.gp-dialog h2{font:700 25px Georgia,serif;letter-spacing:-.5px;margin:6px 0}.gp-board-title i,.gp-dialog h2 i{font-style:normal;color:#d98751}.gp-modes{display:grid;grid-template-columns:repeat(3,1fr);background:#eff4ed;border:1px solid #dfe9de;border-radius:5px;padding:3px;margin:16px 0 9px}.gp-modes button{border:0;border-radius:4px;background:none;padding:8px 2px;font:700 11px 'DM Sans',Arial,sans-serif;color:#829486;cursor:pointer}.gp-modes button.is-active{background:#fff;box-shadow:0 1px 5px #244b2b20;color:#245840}.gp-ranks{margin:0;padding:0;list-style:none}.gp-ranks li{display:flex;align-items:center;gap:7px;border-bottom:1px solid #edf1eb;padding:7px 2px;min-width:0}.gp-ranks li.is-me{background:#e8f3e7;border:1px solid #c9dfc8;border-radius:5px;padding:7px 4px;margin-top:3px}.gp-rank{font-size:10px;font-weight:700;width:17px;text-align:center;color:#87a08b;flex:none}.gp-avatar{width:45px;height:45px;display:inline-flex;flex:none;border-radius:50%;overflow:hidden;background:#e4f0e5}.gp-avatar svg{width:100%;height:100%;display:block}.gp-avatar-sm{width:28px;height:28px}.gp-player{min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;border:0;padding:3px 0;text-align:left;background:none;color:#193d31;font:700 11px 'DM Sans',Arial,sans-serif;cursor:pointer}.gp-player:hover{text-decoration:underline}.gp-player small{font-size:8px;color:#609365}.gp-ranks strong{font-size:12px;margin-left:auto;white-space:nowrap}.gp-ranks strong small{font-size:8px;color:#94a698}.gp-empty{font-size:11px;line-height:1.5;color:#788e7e;margin:12px 0}.gp-dialog{box-sizing:border-box;width:min(570px,calc(100vw - 28px));max-height:min(90vh,850px);overflow:auto;border:1px solid #dce7dc;border-radius:8px;background:#fff;padding:26px;color:#193d31;font-family:'DM Sans',Arial,sans-serif;box-shadow:0 25px 90px #142c2250}.gp-dialog::backdrop{background:#142c22a8}.gp-dialog *{box-sizing:border-box}.gp-dialog-head{display:flex;align-items:start;justify-content:space-between}.gp-dialog-head h2{font-size:30px}.gp-close{border:0;background:none;padding:0;color:#769180;font-size:28px;line-height:1;cursor:pointer}.gp-intro,.gp-hint,.gp-dialog p{color:#788e7e;font-size:12px;line-height:1.5}.gp-dialog form>label{display:block;margin:17px 0;font-size:11px;font-weight:700;color:#53725b}.gp-dialog input:not([type=radio]),.gp-dialog select{display:block;width:100%;padding:11px;border:1px solid #cfdfd0;border-radius:5px;background:#fbfcfa;color:#193d31;font:13px 'DM Sans',Arial,sans-serif;margin-top:7px}.gp-dialog .gp-hint{display:block;font-size:10px;font-weight:400;margin-top:5px}.gp-primary,.gp-social{border:1px solid #245840;border-radius:5px;background:#245840;color:#fff;padding:11px 15px;font:700 12px 'DM Sans',Arial,sans-serif;cursor:pointer}.gp-primary:hover{background:#173e2b}.gp-full{display:block;width:100%;margin:10px 0}.gp-social{background:#fff;color:#245840;border-color:#cadccc}.gp-social:disabled{opacity:.5;cursor:not-allowed}.gp-link{border:0;background:none;padding:0;color:#356f4a;font:700 11px 'DM Sans',Arial,sans-serif;cursor:pointer}.gp-link:hover{text-decoration:underline}.gp-switch{text-align:center}.gp-notice,.gp-save-error{border-radius:5px;padding:10px 12px;background:#eff6eb;color:#315f3b!important}.gp-save-error{background:#fff0eb;color:#8e3e2a!important}.gp-identity{display:flex;align-items:center;gap:15px;margin:18px 0}.gp-avatar-lg{width:78px;height:78px;border:4px solid #fff;outline:3px solid #bfd1c0}.gp-frame-bronze{outline-color:#b77b55}.gp-frame-silver{outline-color:#9fada9}.gp-frame-gold{outline-color:#d7ac47}.gp-frame-slugger{outline-color:#cc704f}.gp-frame-explorer{outline-color:#639779}.gp-identity h3{font:700 22px Georgia,serif;margin:0 0 5px}.gp-identity p{margin:0}.gp-stats,.gp-bests{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e1e9df;background:#f8faf5;border-radius:6px}.gp-stats div,.gp-bests div{padding:15px 5px;text-align:center;border-right:1px solid #e1e9df}.gp-stats div:last-child,.gp-bests div:last-child{border:0}.gp-stats b{display:block;font:700 23px Georgia,serif}.gp-stats span,.gp-bests span{display:block;color:#7e9581;font-size:10px;margin-top:5px}.gp-bests b{display:block;font-size:15px;margin-top:4px}.gp-section-label{margin:21px 0 8px!important}.gp-actions{display:flex;align-items:center;gap:18px;margin-top:20px}.gp-signout{margin-left:auto}.gp-dialog fieldset{padding:0;border:0;margin:18px 0}.gp-dialog legend{font-size:11px;font-weight:700;color:#53725b;margin-bottom:8px}.gp-avatar-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.gp-choice{display:flex;flex-direction:column;align-items:center;gap:4px;position:relative;text-align:center;border:1px solid #dfe8de;border-radius:5px;padding:9px 3px;font-size:9px;color:#65806b;cursor:pointer}.gp-choice:has(input:checked){border-color:#4f8a5c;background:#e9f4e8;box-shadow:inset 0 0 0 1px #4f8a5c}.gp-choice input{position:absolute;opacity:0}.gp-choice:has(input:focus-visible){outline:3px solid #d69962;outline-offset:2px}.gp-choice small{font-size:9px;line-height:1.2}.gp-back{margin-top:20px}.gp-dialog button:focus-visible,.gp-dialog input:focus-visible,.gp-dialog select:focus-visible,.gp-board button:focus-visible{outline:3px solid #d69962;outline-offset:2px}@media(max-width:500px){.gp-dialog{padding:20px}.gp-avatar-choices{grid-template-columns:repeat(3,1fr)}}
.gp-casual{color:#879b89;font-size:9px;line-height:1.45;margin:12px 0 0}
/* Keep the diamond visible and keep an out-of-top-ten player's rank in view. */
.gp-ranks:not(.gp-own-rank){max-height:180px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#aac3ad transparent}
.gp-ranks.gp-own-rank{overflow:visible}
.gp-avatar-sm[class*="gp-frame-"]{outline:2px solid #bfd1c0;outline-offset:1px;margin:2px}
.gp-avatar-sm.gp-frame-bronze{outline-color:#b77b55}.gp-avatar-sm.gp-frame-silver{outline-color:#9fada9}.gp-avatar-sm.gp-frame-gold{outline-color:#d7ac47}.gp-avatar-sm.gp-frame-slugger{outline-color:#cc704f}.gp-avatar-sm.gp-frame-explorer{outline-color:#639779}
.gp-recovery-link{text-align:right;margin:0 0 12px}.gp-actions{flex-wrap:wrap}
.gp-dialog .gp-verify-message{margin:20px 0;padding:16px;border-left:4px solid #5c9467;border-radius:4px;background:#eef6ea;color:#315c3b;font-size:14px;line-height:1.6}

/* Place the favorite-country chevron comfortably inside the selector. */
.gp-dialog select[name="favorite"]{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%234b7057' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;background-size:14px}

/* Keep an expanded landmark collection compact in the profile editor. */
.gp-avatar-choices{max-height:310px;overflow-y:auto;padding:2px 4px 6px;scrollbar-width:thin;scrollbar-color:#aac3ad transparent}

/* Give leaderboard scores enough contrast and space to scan. */
.gp-ranks strong{display:flex;align-items:baseline;gap:4px;flex:none;padding:5px 8px;border:1px solid #d0e2ce;border-radius:6px;background:#edf6e9;color:#174b30;font-size:16px;line-height:1;font-variant-numeric:tabular-nums}
.gp-ranks strong small{font-size:9px;color:#52775b;font-weight:700}

/* Collapsible choices keep profile editing compact while showing the current selection. */
.gp-selector{margin:12px 0;border:1px solid #d9e7d7;border-radius:7px;background:#f8fbf7;overflow:hidden}
.gp-selector summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:10px 14px;list-style:none;cursor:pointer;color:#315a40}
.gp-selector summary::-webkit-details-marker{display:none}.gp-selector summary:hover{background:#edf5eb}.gp-selector summary:focus-visible{outline:3px solid #d69962;outline-offset:-3px}
.gp-selector summary b,.gp-selector summary small{display:block}.gp-selector summary b{font-size:12px}.gp-selector .gp-selected{margin-top:3px;color:#68816d;font-size:11px;line-height:1.3}.gp-selector-chevron{width:14px;height:14px;flex:none;fill:none;stroke:#4b7057;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}.gp-selector[open] .gp-selector-chevron{transform:rotate(180deg)}
.gp-dialog .gp-selector fieldset{margin:0;padding:10px 12px 14px;border-top:1px solid #dfeade}.gp-selector legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gp-selector .gp-avatar-choices,.gp-selector .gp-frame-options{margin-top:0}
@media(prefers-reduced-motion:reduce){.gp-selector-chevron{transition:none}}

/* Show the chosen item before opening each profile menu. */
.gp-selector-heading{display:flex;align-items:center;gap:13px;min-width:0}.gp-selector-heading>span:last-child{min-width:0}
.gp-selector .gp-selector-preview{width:36px;height:36px;flex:none;margin:5px;background:#e4f0e5}
.gp-selector .gp-selector-frame{background:#fbfcf8}.gp-selector-frame .frame-center{display:block;width:100%;height:100%;border-radius:50%;background:#fbfcf8}.gp-selector-frame::after{display:none!important}


.gp-placeholder{cursor:default}.gp-placeholder:hover{text-decoration:none}.gp-placeholder small{font-size:8px;color:#78947c;font-weight:700}
/* Public profile choices are independent, keyboard accessible toggles. */
.gp-visibility>label{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e1ecdf;font-size:14px;font-weight:600;color:#28583d}.gp-visibility>label input{width:19px;height:19px;flex:none;accent-color:#285b40}.gp-visibility .gp-actions{margin-top:16px}
.gp-dialog .gp-visibility>label{display:flex;align-items:center;gap:12px;margin:0;padding:12px 0}.gp-dialog .gp-visibility>label input[type=checkbox]{display:block;width:19px;height:19px;flex:0 0 19px;padding:0;margin:0;accent-color:#285b40}.gp-visibility>label span{flex:1}.gp-visibility>label b{font-size:12px;color:#193d31;text-align:right}.gp-extra-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.gp-extra-stats div{padding:10px;background:#f5f9f3;border:1px solid #e1e9df;border-radius:6px}.gp-extra-stats b,.gp-extra-stats span{display:block}.gp-extra-stats b{font-size:16px}.gp-extra-stats span{font-size:10px;color:#718a75;margin-top:3px}

/* Give equipped frames enough room to show their ornaments on leaderboard rows. */
.gp-ranks .gp-leader-avatar{width:34px;height:34px;margin:7px;flex:none}
.gp-ranks .gp-leader-avatar>.geo-favorite-flag{width:16px;height:12px;top:-3px;right:-5px}

/* Score caveats are necessary context, so keep them easy to read. */
.gp-casual{color:#4c6653;font-size:13px;line-height:1.55}
/* On phones the leaderboard expands in the page instead of nesting a scroller. */
.gp-board-expand{display:none}
@media(max-width:600px){
 .gp-ranks:not(.gp-own-rank){max-height:none;overflow:visible}
 .gp-board:not(.gp-board-expanded) .gp-ranks:not(.gp-own-rank)>li:nth-child(n+4){display:none}
 .gp-board-expand{display:block;min-height:44px;width:100%;margin:8px 0;padding:9px 12px;border:1px solid #b8d2b8;border-radius:7px;background:#f4f9ef;color:#24583d;font:700 13px 'DM Sans',sans-serif;cursor:pointer}
}
