html body #app .checkers-home .checkers-elo{display:block;margin-top:6px;font:14px 'Golos Text',sans-serif;color:#cfbc87}
html body #app .checkers-resume-card{padding:22px 24px;margin:0 0 24px;background:#172b1ee8;border:1px solid #b6a06b66;border-radius:6px;max-width:520px}
html body #app .resume-label{font:13px 'Golos Text',sans-serif;color:#bfc6ae}
html body #app .resume-opponent{display:flex;align-items:center;gap:16px;margin:18px 0 22px}
html body #app .resume-opponent .avatar-art{width:64px;height:64px;border-radius:50%;flex-shrink:0}
html body #app .resume-opponent h3{font:500 23px/1.4 'Literata',Georgia;margin:0 0 5px}
html body #app .resume-opponent p{font:13px/1.5 'Golos Text',sans-serif;margin:0;color:#c7c9b3}
html body #app .checkers-quiet{display:block;width:100%;margin-top:10px;border:0;background:transparent;color:#c6c6af;font:14px 'Golos Text',sans-serif;min-height:40px}
html body #app .checkers-invite{margin:26px 0 12px;border-top:1px solid #bfa77440;padding-top:20px}
html body #app .checkers-invite summary{font:500 19px/1.5 'Literata',Georgia;cursor:pointer}
html body #app .checkers-invite form{margin-top:22px}
html body #app .checkers-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:10px}
html body #app .checkers-code-row input{min-width:0;width:100%}
.checkers-rating-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0 22px;color:#d7c48f}
.checkers-rating-summary>strong{font:500 32px 'Literata',Georgia}.checkers-rating-summary small{font:14px 'Golos Text',sans-serif}
html body #app .elo-examples{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.elo-examples>div{display:flex;flex-direction:column;gap:14px;padding:18px;background:#192d21;border-radius:5px}.elo-examples strong{font:28px 'Literata',Georgia;color:#dfc688}
html body #app .checkers-rating-explainer p{font:15px/1.7 'Golos Text',sans-serif}
html body #app .checkers-queue{text-align:center;padding:24px 0}.checkers-queue h3{font:26px 'Literata',Georgia}.queue-duel{display:flex;align-items:center;justify-content:center;gap:28px;margin:28px 0}.queue-duel .avatar-art,.waiting-opponent{width:70px;height:70px;border-radius:50%;border:1px solid #bda875}.waiting-opponent{display:grid;place-items:center;font:28px Georgia;border-style:dashed;color:#b5bba4}.checkers-queue button{display:block;width:100%;margin-top:24px}
html body #app .checkers-search-notice{width:100%;padding:14px 18px;margin:0 0 24px;text-align:left;background:#253a27;color:#e3d7b5;border:1px solid #bca16c66}
html body #app .checkers-leaderboard-row{display:grid;grid-template-columns:24px 42px minmax(0,1fr) auto;gap:14px;align-items:center;width:100%;text-align:left;margin-bottom:10px}.checkers-leaderboard-row .avatar-art{width:42px;height:42px;border-radius:50%}.checkers-leaderboard-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #app .profile-deck-entry{display:flex;justify-content:space-between;align-items:center;width:100%;margin:16px 0;padding:14px 16px}
@media(max-width:720px){html body #app .game-switcher{margin-top:12px}.checkers-resume-card{padding:18px!important}html body #app .elo-examples{grid-template-columns:1fr}.elo-examples>div{flex-direction:row;justify-content:space-between;align-items:center}.checkers-leaderboard-row{gap:8px!important}.checkers-leaderboard-row span:last-child{font-size:13px}}
html body #app .checkers-home .rank-navigation button{min-width:0;white-space:normal;overflow-wrap:anywhere}
html body #app .checkers-home .home-subhead h2{overflow-wrap:anywhere}

html body.at-home #app .checkers-home::before{background-image:url('/checkers/assets/room-v267.png')}

/* Game choice is a separate, quiet dock, outside the play actions. */
html body #app .game-switcher{position:relative;z-index:1;--game-icon-fill:#122219;display:flex;align-items:center;gap:8px;width:fit-content;margin:28px 0 0;padding:5px;border:1px solid #baa16b45;border-radius:18px;background:#102017f5}
html body #app .game-switcher button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:110px;min-height:46px;padding:6px 14px;border:1px solid transparent!important;border-radius:12px;background:transparent!important;color:#bfc5af!important;font:14px 'Golos Text',sans-serif;transition:background .15s,color .15s}
html body #app .game-switcher svg{width:34px;height:32px;flex-shrink:0}
html body #app .game-switcher button[aria-pressed=true]{--game-icon-fill:#32432b;background:#32432b!important;color:#f1d99b!important;border-color:#bda46a70!important}
html body #app .game-switcher button:hover{background:#263d2c!important;color:#fff0cc!important}
html body #app .game-switcher button:focus-visible{outline:2px solid #e2c884;outline-offset:3px}
@media(min-width:1100px){html body.at-home #app .game-switcher{position:fixed;left:50%;bottom:21px;transform:translateX(-50%);margin:0;z-index:15}}
@media(max-width:1099px){html body #app .game-switcher{align-self:flex-start;margin-top:24px;margin-bottom:12px}}

html body #app .game-switcher button{touch-action:manipulation}html body #app .checkers-home .rank-progress{margin:20px 0 24px}

/* Compact ongoing-game entry, keeping secondary actions out of the main flow. */
html body #app .checkers-home .checkers-resume-card{padding:14px 16px!important;margin:0 0 20px;max-width:none;border-color:#b6a06b45;background:#15291ed9}
html body #app .checkers-home .resume-opponent{gap:12px;margin:0 0 12px;min-width:0}
html body #app .checkers-home .resume-opponent .avatar-art{width:44px;height:44px;flex:0 0 44px}
html body #app .checkers-home .resume-copy{flex:1;min-width:0}
html body #app .checkers-home .resume-copy h3{font:500 20px/1.3 'Literata',Georgia;margin:0 0 3px;overflow-wrap:anywhere}
html body #app .checkers-home .resume-copy p{font:12px/1.4 'Golos Text',sans-serif;color:#bdc4ad;margin:0;overflow-wrap:anywhere}
html body #app .checkers-home .resume-more{display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px!important;margin:0!important;flex:0 0 44px;background:transparent!important;border:1px solid transparent!important;border-radius:6px;color:#d2c6a3!important;box-shadow:none!important}
html body #app .checkers-home .resume-more svg{width:22px;height:22px;fill:currentColor}
html body #app .checkers-home .resume-more:hover{background:#baa16e20!important;border-color:#baa16e55!important;color:#f5e3b6!important}
html body #app .checkers-home .resume-continue{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin:0!important;padding:10px 16px!important;font:500 15px/1.4 'Golos Text',sans-serif!important}
html body #app .checkers-home .resume-continue span{font:inherit!important;color:inherit!important}
html body #app .checkers-home :is(.resume-more,.resume-continue):focus-visible{outline:2px solid #f0d69a;outline-offset:3px}

.tournament-entry{display:flex;justify-content:space-between;padding:14px 16px;margin:12px 0;color:#e3d3a5;border:1px solid #a893615e;border-radius:6px;font:20px Literata,Georgia,serif;text-decoration:none;background:#152c20}

/* Shared menu pictograms: the same line weight and colour as the online indicators. */
:root{--menu-icon-casual:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2211%22%20height%3D%2215%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M15%207h3a3%203%200%200%201%203%203v8a3%203%200%200%201-3%203h-5a3%203%200%200%201-3-3%22%2F%3E%3C%2Fsvg%3E")}
:root{--menu-icon-ranked:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10v6a5%205%200%200%201-10%200ZM7%205H3v3a4%204%200%200%200%204%204m10-7h4v3a4%204%200%200%201-4%204M12%2014v5m-4%202h8%22%2F%3E%3C%2Fsvg%3E")}
:root{--menu-icon-gift:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%2210%22%20width%3D%2216%22%20height%3D%2211%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%2218%22%20height%3D%224%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M12%207v14m0-14C5%208%204%202%207%202c3%200%205%205%205%205Zm0%200c7%201%208-5%205-5-3%200-5%205-5%205Z%22%2F%3E%3C%2Fsvg%3E")}
:root{--menu-icon-cups:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2028%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209h5v5a2.5%202.5%200%200%201-5%200Zm0%202H1v2a2%202%200%200%200%202%202m2.5%201.5V21m-2%202h4M24%209h5v5a2.5%202.5%200%200%201-5%200Zm5%202h2v2a2%202%200%200%201-2%202m-2.5%201.5V21m-2%202h4%22%2F%3E%3Cpath%20d%3D%22M12%203h8v7a4%204%200%200%201-8%200Zm0%202h-2v3a2%202%200%200%200%202%202m8-5h2v3a2%202%200%200%201-2%202m-4%204v7m-3%203h6%22%2F%3E%3C%2Fsvg%3E")} 
.tournament-entry::before{content:"";display:block;flex:0 0 26px;width:26px;height:26px;background:currentColor;mask:var(--menu-icon-gift) center/contain no-repeat}
.tournament-entry[href="/tournaments.html"]::before{mask-image:var(--menu-icon-cups)}
.tournament-entry{align-items:center;justify-content:flex-start;gap:12px}
.tournament-entry>span:last-child{margin-left:auto}
.salon-play #instant-play>span:first-child::before,.salon-play #instant-ranked>span:first-child::before,.salon-play [data-checkers-search]>span:first-child::before{content:"";display:inline-block;width:25px;height:25px;margin-right:11px;vertical-align:-3px;background:currentColor;mask:var(--menu-icon-casual) center/contain no-repeat}
.salon-play #instant-ranked>span:first-child::before,.salon-play [data-checkers-search="ranked"]>span:first-child::before{mask-image:var(--menu-icon-ranked)}

.throw-rule-control{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;font:14px 'Golos Text',sans-serif;color:#d6c8a7}.throw-rule-control select{width:auto;max-width:65%;min-height:36px;padding:6px 10px;font:inherit;color:inherit;background:#172e21;border:1px solid #aa956b66;border-radius:5px}

:root{--menu-icon-medal:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2011%204%202h6l3%207m3%202%204-9h-6l-2%205%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2216%22%20r%3D%226%22%2F%3E%3Cpath%20d%3D%22m12%2012%201.1%202.3%202.5.4-1.8%201.8.4%202.5-2.2-1.2-2.2%201.2.4-2.5-1.8-1.8%202.5-.4Z%22%2F%3E%3C%2Fsvg%3E")}
.rank-navigation [data-home-page="leaderboard"]::before,.rank-navigation [data-home-page="ranks"]::before{content:"";display:inline-block;flex:0 0 23px;width:23px;height:23px;margin-right:10px;vertical-align:-5px;background:currentColor;mask:var(--menu-icon-ranked) center/contain no-repeat}
.rank-navigation [data-home-page="ranks"]::before{mask-image:var(--menu-icon-medal)}
