/* Shared high-contrast palette; player-card artwork keeps its own typography. */
:root{--lime:#c7ff4f;--muted:#c3d5e5;--refresh-bg:#091426;--refresh-panel:#162d45;--refresh-line:#42627f;--refresh-gold:#ffda70;color-scheme:dark}
body{color:#f5f9ff;background:radial-gradient(ellipse at 90% 0,#125b7855,transparent 48%),radial-gradient(ellipse at 5% 65%,#49328555,transparent 55%),#091426}
body>header{background:#102238f5;border-bottom:1px solid #477193}
body :is(.panel,.historical-scenario,.menu-support-panel,dialog){background:#152c43;border-color:#496d8b;color:#f5f9ff}
body :is(.ut-tile,.main-mode-card){--night-accent:#53edc3;--night-tint:#15524f;background:linear-gradient(135deg,var(--night-tint),#16283f 78%);border-color:#44647e;border-top:3px solid var(--night-accent)}
body :is(.ut-grid,.main-mode-grid)>:is(.ut-tile,.main-mode-card):nth-child(5n+2){--night-accent:#ffda70;--night-tint:#514124}
body :is(.ut-grid,.main-mode-grid)>:is(.ut-tile,.main-mode-card):nth-child(5n+3){--night-accent:#64d6ff;--night-tint:#174c70}
body :is(.ut-grid,.main-mode-grid)>:is(.ut-tile,.main-mode-card):nth-child(5n+4){--night-accent:#c9a2ff;--night-tint:#483371}
body :is(.ut-grid,.main-mode-grid)>:is(.ut-tile,.main-mode-card):nth-child(5n){--night-accent:#ffa6ce;--night-tint:#592c51}
body :is(.refresh-hero,.menu-welcome){background:radial-gradient(ellipse at right,#2b8b9466,transparent 65%),linear-gradient(125deg,#154654,#29294e);border-color:#5bbac7}
body :is(main,dialog) :is(h1,h2,h3):not(.card *):not(.crest-card *){color:#f5f9ff}
body :is(main,dialog) :is(p,small,label,td,dd,li):not(.card *):not(.crest-card *):not(.badge){color:#c3d5e5}
body :is(main,dialog) :is(.badge,.sectionlabel,.menu-eyebrow):not(.card *){color:#c7ff4f}
body :is(.refresh-wallet,.sbc-workspace .panel){background:#172e47;border-color:#496d8b}
body .refresh-wallet>div:nth-child(1) strong{color:#ffda70}body .refresh-wallet>div:nth-child(2) strong{color:#c7ff4f}body .refresh-wallet>div:nth-child(3) strong{color:#d5b5ff}body .refresh-wallet>div:nth-child(4) strong{color:#72deff}
body :is(.btn,.view-mode-options button[aria-pressed=true]){background:#c7ff4f;color:#152314;border:1px solid #c7ff4f;font-weight:800;box-shadow:0 3px 0 #6a9938;transition:background .15s,border-color .15s,box-shadow .15s;white-space:normal;line-height:1.35}
body :is(.btn.ghost,.menu-bar button,.ut-nav button){background:#203b56;color:#edf6ff;border:1px solid #6587a5;box-shadow:none}
body :is(.btn,.menu-bar button,.ut-nav button):hover:not(:disabled){background:#e0ff96;color:#152314;border-color:#e0ff96;box-shadow:0 4px 16px #c7ff4f25}
body :is(.btn.ghost,.menu-bar button,.ut-nav button):hover:not(:disabled){background:#2d5775;color:#fff;border-color:#83dcff}
body :is(.btn,.menu-bar button,.ut-nav button):active:not(:disabled){box-shadow:inset 0 2px 4px #0004}
body button[data-ui-action=back]{background:#172b43;color:#a9e7ff;border-color:#5f91b0;box-shadow:none}
body button[data-ui-action=claim]:not(:disabled){background:#59f0be;color:#102f27;border-color:#59f0be;box-shadow:0 3px 0 #238d71}
body button[data-ui-action=review]:not(:disabled){background:#ffda70;color:#342713;border-color:#ffda70;box-shadow:0 3px 0 #ac8528}
body button[data-ui-action=danger]{background:#51283e!important;color:#ffdfeb!important;border-color:#fa8db1!important;box-shadow:none}
body :is(button,.btn):disabled{opacity:1!important;background:#283e53!important;color:#b8c9d8!important;border-color:#4b6277!important;box-shadow:none!important;cursor:not-allowed}
body :is(.ut-nav button.active,.ut-nav button[aria-current=page],.reward-hub-tabs button[aria-pressed=true],.phone-ut-tabs button[aria-pressed=true]){background:#c7ff4f;color:#152314;border-color:#c7ff4f;box-shadow:inset 0 -3px #81b52e}
body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#10243b;color:#f1f7ff;border:1px solid #7395af;accent-color:#59f0be}
body input::placeholder,body textarea::placeholder{color:#b8ccdd;opacity:1}
body :is(.ut-nav,.menu-bar,#squadViewToolbar){background:#10243b;border-color:#496d8b}
body :is(.ut-notice,.refresh-resume){background:#174c45;border-color:#59f0be;color:#e0fff3}
body .ut-table th{background:#235172;color:#f5fbff}body .ut-table tr:nth-child(even){background:#1b364f}body .ut-table td{color:#e3eef9}
body progress{accent-color:#59f0be}body :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #72deff!important;outline-offset:4px}
body :is(.reward-hub-tabs,.phone-ut-tabs){background:#10243b;border-color:#496d8b}body .reward-hub-badge{background:#ffda70;color:#33250c}
body .challenge-task{background:#172e47;border-color:#496d8b}body .challenge-task.is-ready{background:#16443c;border-color:#59f0be}body .challenge-task.is-claimed{background:#23354a;border-color:#60758d}
body :is(.phone-ut-choice,.phone-ut-player-row,.phone-card-inspect,.phone-card-options button){background:linear-gradient(135deg,#20445b,#172e47);color:#f5f9ff;border-color:#5c809e}
body .phone-card-options button[aria-pressed=true]{background:#235547;border:2px solid #c7ff4f}body :is(.phone-ut-player-row>b,.phone-card-options b){color:#c7ff4f}
body :is(.phone-ut-choice small,.phone-ut-player-row small,.phone-card-options small,.phone-ut-heading p){color:#c3d5e5!important}
body #phoneUTDetail{background:#132b42;color:#f5f9ff;border-color:#77a9cb}body .phone-ut-detail-heading{background:#132b42}
body .phone-ut-choice{position:relative}body .phone-ut-choice::after{content:'→';position:absolute;right:10px;top:8px;color:#8edfff;font-size:17px}
@media(max-width:700px){body :is(.btn,.menu-bar button,.ut-nav button){min-height:48px}body :is(input,select,textarea){font-size:16px!important}body :is(.reward-hub-tabs,.phone-cards-toolbar) .btn{font-size:13px}}
@media(prefers-reduced-motion:reduce){body :is(.btn,.ut-tile,.main-mode-card){transition:none!important}}
html[data-view-mode=phone] body :is(.phone-ut-choice,.phone-ut-player-row){background:linear-gradient(135deg,#20445b,#172e47);color:#f5f9ff;border-color:#5c809e}html[data-view-mode=phone] body .phone-ut-tabs button[aria-pressed=true]{background:#c7ff4f;color:#152314}html[data-view-mode=phone] body :is(.phone-ut-choice small,.phone-ut-player-row small,.phone-ut-heading p){color:#c3d5e5}html[data-view-mode=phone] body .phone-ut-player-row>b{color:#c7ff4f}
