/* Each destination has one colour, one recognisable glyph and an explicit label. */
[data-nav-tone=green],[data-section-tone=green]{--section-ink:#176446;--section-pale:#e5f5eb;--section-line:#a4d4b7;--section-bright:#39a776}
[data-nav-tone=blue],[data-section-tone=blue]{--section-ink:#225e9d;--section-pale:#e7f1ff;--section-line:#afcaee;--section-bright:#4996e1}
[data-nav-tone=purple],[data-section-tone=purple]{--section-ink:#79429d;--section-pale:#f2eafa;--section-line:#d3b4e6;--section-bright:#ad75d4}
[data-nav-tone=orange],[data-section-tone=orange]{--section-ink:#a55412;--section-pale:#fff0df;--section-line:#eec49c;--section-bright:#ef994a}
[data-nav-tone=rose],[data-section-tone=rose]{--section-ink:#ac3159;--section-pale:#ffebf2;--section-line:#edb1c8;--section-bright:#e86c99}
[data-nav-tone=cyan],[data-section-tone=cyan]{--section-ink:#08717f;--section-pale:#e2f6f7;--section-line:#9ed9df;--section-bright:#3ab3c0}
[data-nav-tone=gold],[data-section-tone=gold]{--section-ink:#8b6012;--section-pale:#fff5d8;--section-line:#e5ce91;--section-bright:#d6ab3c}
[data-nav-tone=indigo],[data-section-tone=indigo]{--section-ink:#525ba1;--section-pale:#ecefff;--section-line:#bcc2eb;--section-bright:#8390d8}
[data-nav-tone=pink],[data-section-tone=pink]{--section-ink:#a14183;--section-pale:#fbeafa;--section-line:#e5b4d9;--section-bright:#d978bd}
[data-nav-tone=slate],[data-section-tone=slate]{--section-ink:#4b607a;--section-pale:#eaf0f7;--section-line:#bbcbdc;--section-bright:#8bacc6}
body.player-ux{background:#f4f7fb;background-image:radial-gradient(ellipse at 0 10%,#e8f3ee,transparent 50%),radial-gradient(ellipse at 100% 35%,#edf0ff,transparent 55%)}
.player-ux #tabs{gap:8px;padding-bottom:20px}.player-ux #tabs button[data-nav-tone]{position:relative;color:var(--section-ink);background:#fff;border:1px solid var(--section-line);border-radius:14px;min-height:64px;padding:10px;box-shadow:0 3px 10px #223c5510;transition:box-shadow .15s,background .15s}
.player-ux #tabs button[data-nav-tone]:hover{background:var(--section-pale);box-shadow:0 4px 14px #223c551c;transform:none}
.player-ux #tabs button[data-nav-tone].active{background:var(--section-pale);color:var(--section-ink);border:2px solid var(--section-ink);box-shadow:0 4px 16px #233c5516}
.player-ux #tabs .nav-tile-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;background:var(--section-pale);color:var(--section-ink);border-radius:11px}
.player-ux #tabs .nav-tile-icon svg{width:24px;height:24px}.player-ux #tabs button.active .nav-tile-icon{background:var(--section-ink);color:#fff}.player-ux #tabs .nav-tile-label{font-weight:700;line-height:1.3}
.ux-icon-home,.ux-icon-flock,.ux-icon-breeding,.ux-icon-race,.ux-icon-shop,.ux-icon-trophy,.ux-icon-mail,.ux-icon-community{fill:color-mix(in srgb,currentColor 13%,transparent)}
.player-ux #ux-home-heading h1,.player-ux .section-head h2,.player-ux .unified-shop-heading h2,.player-ux .training-heading h2{color:var(--section-ink)}
.player-ux :is(.flock-toolbar,.training-heading,.unified-shop-heading,.distance-heading){border-block-start:3px solid var(--section-bright);border-radius:14px;padding-block-start:16px}
.player-ux .loft-status{border-color:#d5e0ed;border-radius:18px;background:#ffffffed;box-shadow:0 5px 22px #253c5610}.player-ux #stats .stat{border-radius:13px;border-color:#dbe4ee;background:#ffffffed;box-shadow:0 2px 6px #253c5506}
.player-ux #stats .stat:nth-child(1){border-block-start:3px solid #dfb149}.player-ux #stats .stat:nth-child(2){border-block-start:3px solid #66a1dc}.player-ux #stats .stat:nth-child(3){border-block-start:3px solid #71ac7c}.player-ux #stats .stat:nth-child(4){border-block-start:3px solid #c183be}
@media(max-width:900px){
 .player-ux #tabs button[data-nav-tone]{flex-direction:column;gap:5px;min-height:64px;padding:7px 4px;border-radius:12px;box-shadow:none;font-size:10px}.player-ux #tabs .nav-tile-icon{display:grid;width:26px;height:26px;flex-basis:26px;border-radius:8px}.player-ux #tabs .nav-tile-icon svg{width:18px;height:18px}
 .player-ux #ux-mobile-nav{padding-top:7px;background:#fffffff7;border-top-color:#d6e1ed;gap:3px;box-shadow:0 -5px 22px #213b5412}
 .player-ux #ux-mobile-nav button[data-nav-tone]{color:var(--section-ink);gap:4px;min-height:62px;padding:4px 1px;border:1px solid transparent;font-size:10px;font-weight:700;border-radius:13px}
 .player-ux #ux-mobile-nav .ux-nav-icon{display:grid;place-items:center;width:33px;height:30px;border-radius:10px;background:var(--section-pale);color:var(--section-ink)}
 .player-ux #ux-mobile-nav svg{width:22px;height:22px}.player-ux #ux-mobile-nav button[aria-current=page]{background:var(--section-pale);border-color:var(--section-line)}.player-ux #ux-mobile-nav button[aria-current=page] .ux-nav-icon{background:var(--section-ink);color:#fff}
}
@media(prefers-reduced-motion:reduce){.player-ux #tabs button[data-nav-tone]{transition:none}}
.player-ux #content :is(h1,h2){color:var(--section-ink)}#clock-onboarding{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;border-radius:0 13px 13px 0;padding:12px 14px}#clock-onboarding>div{display:grid;gap:3px}#clock-onboarding b{font-size:13px}#clock-onboarding span{font-size:11px;color:#4a6858}#clock-onboarding button{font-size:11px;min-height:38px;padding:6px 10px;flex-shrink:0}.day-countdown-meta{min-width:0}.day-countdown-value{flex-shrink:0;white-space:nowrap}
@media(max-width:360px){#clock-onboarding{gap:7px;padding:10px}#clock-onboarding button{font-size:10px;padding:5px 7px}#clock-onboarding b{font-size:12px}}
body.player-ux #tabs{grid-template-columns:repeat(12,minmax(0,1fr))}.player-ux #tabs button[data-ux-primary=true]{grid-column:span 2}.player-ux #tabs button[data-ux-primary=false]{grid-column:span 3}
@media(min-width:901px) and (max-width:1100px){.player-ux #tabs button[data-ux-primary=true]{flex-direction:column;gap:5px;padding:8px 5px}.player-ux #tabs button[data-ux-primary=true] .nav-tile-label{text-align:center}}
@media(max-width:900px){body.player-ux #tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.player-ux #tabs button[data-ux-primary=false]{grid-column:auto}}

/* Readable lettering in framed menus, on desktop and narrow laptop/tablet views. */
.player-ux #tabs button[data-nav-tone]{font-size:14px;line-height:1.35;font-weight:700;min-height:54px}.player-ux #tabs .nav-tile-label{color:inherit;font-weight:700}.player-ux #scene-controls .action-dock button small{font-size:12px;line-height:1.35;font-weight:700}.player-ux .loft-status .honour-badges small{font-size:11px;line-height:1.3;color:#4f604d}
@media(max-width:900px){.player-ux #tabs button[data-nav-tone]{font-size:12px;min-height:72px;line-height:1.3}.player-ux #ux-mobile-nav button[data-nav-tone]{font-size:11px;min-height:64px}.player-ux #scene-controls .action-dock button small{font-size:11px}.player-ux .loft-status .honour-badges small{font-size:10px}}
