/* Desktop Ice Citadel. Deliberately isolated from the mobile UI. */
@media (min-width:1024px) {
 html body {--camp-ink:#234459;--camp-muted:#627e90;--camp-line:#d5e3eb;--camp-blue:#286f91;--camp-nav:#173448;background:#edf3f7;color:var(--camp-ink)}
 body .winter-desktop,body .admin-workspace {background:radial-gradient(ellipse at top right,#d9eaf3 0,transparent 58%),#edf3f7}
 body .winter-desktop {grid-template-columns:232px minmax(0,1fr)}
 body .admin-workspace {grid-template-columns:232px minmax(0,1fr)}
 body .profile-sidebar,body .admin-workspace .admin-sidebar {background:linear-gradient(170deg,#203f53,#102d40);border-right:1px solid #294c60;color:#d6e6ef;padding:28px 18px 20px;box-shadow:5px 0 24px #19364b0c}
 body .snow-brand,body .console-brand {color:#f1f8fc;gap:11px;align-items:center;padding:0 4px 28px;min-width:0}
 body .snow-brand {font-size:16px;line-height:1.55}
 body .snow-brand>div,body .console-brand>div {min-width:0}
 body .snow-brand small,body .console-brand strong {color:#9ebacb;font-size:10px;line-height:1.7;letter-spacing:.4px;white-space:normal;overflow-wrap:anywhere}
 body .console-brand>div {font-size:17px;line-height:1.55}
 body .console-brand>span {background:none;border:0;box-shadow:none;width:40px;flex:0 0 40px}
 body .snow-section-label,body .sidebar-label {color:#8fabbc;font-size:11px;letter-spacing:2px;margin:16px 12px 13px}
 body .profile-sidebar nav button,body .admin-tabs button {min-height:46px;border-radius:9px;border:1px solid transparent;color:#bad0de;font-size:14px;padding:12px 14px;gap:12px;background:transparent;transition:background .16s,color .16s}
 body .profile-sidebar nav button:hover,body .admin-tabs button:hover {background:#ffffff0b;color:#fff}
 body .profile-sidebar nav button.selected,body .admin-tabs button.active {background:linear-gradient(100deg,#3b728e,#2c576e);color:#fff;border-color:#6a9ab14d;box-shadow:inset 3px 0 #99d8ee,0 5px 15px #081e3020}
 body .admin-tabs button>span {background:#ffffff16;color:#dff5ff}
 body .sidebar-account {border:1px solid #7498ad3d;background:#ffffff06;border-radius:10px;padding:17px;margin-top:28px}
 body .sidebar-account span,body .sidebar-account button {color:#a7c2d2}
 body .sidebar-account strong {color:#eef8ff;line-height:1.6;overflow-wrap:anywhere}
 body .sidebar-footer {border-color:#68899c36;color:#aac5d5;padding:20px 12px 0}
 body .sidebar-footer strong {color:#e5f3fc}
 body .sidebar-snow {color:#54839c;opacity:.65}
 body .sidebar-snow p {color:#a0bdce}
 body:has(.winter-desktop) .session-bar,body:has(.admin-workspace) .session-bar {background:#f9fcfe;border-bottom:1px solid #d6e4ed;padding:12px 32px 12px 264px;min-height:54px;color:#657f90;font-size:12px}
 body .session-bar button {color:#426c84;font-size:12px}
 body .winter-desktop .profile-workspace {max-width:1640px;padding:0 32px 32px}
 body .admin-content {padding:0 32px 32px;max-width:1800px;min-width:0}
 body .profile-desktop-heading {padding:26px 0 24px;gap:20px}
 body .winter-app .profile-desktop-heading h1 {font-size:28px;font-weight:700;letter-spacing:.5px;color:#23465c;margin:8px 0 0}
 body .snow-eyebrow {color:#6c8799;font-size:11px;letter-spacing:1px}
 body .profile-desktop-heading>div>p {display:none}
 body .console-topline {height:54px;border-bottom-color:#d4e2eb;font-size:11px;color:#6d8799}
 body .admin-heading {padding:24px 0;min-height:unset}
 body .admin-heading:after {display:none}
 body .admin-heading h1 {font-size:30px!important;margin:8px 0;color:#24465c!important}
 body .admin-heading p {font-size:13px;color:#637f92;line-height:1.6}
 body .admin-eyebrow {font-size:11px;color:#5b8aa3;letter-spacing:.6px}
 body .winter-desktop .winter-main {gap:20px}
 body .winter-desktop .winter-profile {background:linear-gradient(90deg,#f3f9fc 3%,#edf6fbea 40%,#edf6fb16 100%),url('/images/desktop-ice-citadel.webp') right 42%/cover;border:1px solid #ccdfe9;border-radius:16px;box-shadow:0 10px 30px #34546b10;min-height:248px}
 body .winter-desktop .winter-profile:after {display:none}
 body .winter-desktop .winter-identity h1 {font-size:32px;font-weight:750;color:#21485f;text-shadow:0 1px #fff}
 body .winter-desktop .winter-avatar {border:3px solid #fff!important;box-shadow:0 5px 18px #214c6724;background:#e8f2f8}
 body .winter-desktop .profile-facts {border-top:1px solid #91b5c844;gap:0}
 body .winter-desktop .profile-facts button {background:transparent!important;border-color:#94b3c738;color:#365f76}
 body .winter-desktop .profile-facts strong {color:#244f68;font-size:20px;font-weight:700}
 body .winter-desktop .profile-facts .fact-label {color:#557d93;font-size:12px}
 body .winter-card,body .desktop-account-overview,body .alliance-detail-card,body .alliance-activities,body .alliance-workflows,body .alliance-publish-card,body .alliance-member-panel,body .admin-panel {background:#ffffff;border:1px solid var(--camp-line);border-radius:14px;box-shadow:0 5px 20px #254f6608}
 body .winter-desktop h2,body .alliance-dashboard h2 {color:#294d63;font-size:20px;font-weight:700}
 body .winter-desktop .winter-barracks {padding:24px}
 body .winter-desktop .winter-barracks h2 {padding-bottom:15px;border-bottom:1px solid #e4edf3;margin-bottom:12px}
 body .winter-desktop .winter-troop {background:#f3f8fb;border:1px solid #e2ebf1;min-height:60px;border-radius:9px}
 body .winter-desktop .winter-troop:hover {background:#e9f4fa;border-color:#aacddd}
 body .winter-desktop .winter-troop strong {color:#326d88;font-weight:700}
 body .winter-desktop .winter-expedition {background:linear-gradient(130deg,#e3f0f7,#f6fafc);border-color:#c6dfea}
 body .winter-desktop .winter-expedition strong {font-variant-numeric:tabular-nums;color:#276d8c;font-size:28px}
 body .winter-desktop .winter-friends {background:linear-gradient(130deg,#f9fbfd,#eaf3f8)}
 body .winter-arrow {background:#397e9d}
 body .desktop-account-list button {background:#f6f9fb;border-color:#e0eaf0;border-radius:9px}
 body .desktop-account-list button.active {border-color:#8bb8cd;background:#eaf5fa;box-shadow:inset 3px 0 #3885a4}
 body .desktop-account-list strong {color:#365b72;font-size:14px}
 body .desktop-account-list small {color:#748e9e;font-size:11px}
 body .winter-secondary {background:linear-gradient(135deg,#fff 50%,#e5f1f8)}
 body .desktop-resources>div {background:#f2f7fa;border:1px solid #dce8f0;border-radius:10px;padding:24px}
 body .desktop-resources strong {color:#286d8c;font-variant-numeric:tabular-nums}
 body .alliance-hero {background:linear-gradient(90deg,#eff7fc 0%,#edf6fbe8 40%,#eef7fb18 100%),url('/images/desktop-ice-citadel.webp') right 38%/cover;border:1px solid #c9dfe9;border-radius:16px;box-shadow:0 8px 26px #31556e12;padding:30px}
 body .alliance-hero h1,body .alliance-hero h2 {color:#21485f;font-size:32px;letter-spacing:1px}
 body .alliance-hero p,body .alliance-hero .alliance-eyebrow {color:#426e85}
 body .alliance-hero-actions button {background:#ffffffed;border-color:#c8dce8;box-shadow:0 3px 12px #193e5210}
 body .alliance-publish-card {background:linear-gradient(150deg,#23465d,#15354b);border-color:#355a6f;position:relative}
 body .alliance-publish-card h2 {color:#f4fbff}
 body .alliance-publish-card p {color:#c1d8e6}
 body .alliance-publish-card .winter-primary {background:#d9b77d!important;color:#243f50!important;border-color:#e8cca3!important;box-shadow:0 4px 12px #071e3330}
 body .countdown-summary {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 body .countdown-summary>div {background:#f0f6fa;border:1px solid #dce8f0;border-radius:10px;padding:18px;min-width:0}
 body .countdown-summary strong {color:#2b4f65;font-size:16px}
 body .countdown-summary span {color:#347d9d;font-size:17px;font-weight:650;font-variant-numeric:tabular-nums}
 body .countdown-summary small {color:#718b9d;font-size:11px}
 body .alliance-event-grid>button,body .alliance-workflows button {border-color:#d4e4ee;background:#f5f9fc;border-radius:11px;transition:background .16s,border-color .16s}
 body .alliance-event-grid>button:hover,body .alliance-workflows button:hover {background:#eaf4fa;border-color:#92bbd0}
 body .alliance-member-card,body .member-profile-troops>section,body .kingdom-group {border:1px solid #d4e3ed;background:#f8fbfd;border-radius:12px;box-shadow:0 4px 14px #20486108}
 body .kingdom-group {padding:22px}
 body .kingdom-group h3,body .alliance-section-heading h2 {color:#2b526b}
 body .admin-overview {gap:14px;margin-bottom:24px}
 body .admin-overview section {border:1px solid #d4e3ed;background:linear-gradient(130deg,#fff,#f1f7fb);border-radius:12px;padding:20px 18px;gap:14px;box-shadow:0 6px 18px #264c6607}
 body .admin-overview section:after {display:none}
 body .admin-overview strong {font-size:32px;color:#274e66;font-variant-numeric:tabular-nums;margin-top:8px}
 body .admin-overview section>div>span {font-size:12px;color:#617e92}
 body .stat-icon {width:42px;height:42px;border-radius:11px;background:#e7f2f8}
 body .admin-panel {margin-bottom:24px;overflow:hidden}
 body .panel-title {padding:23px 24px;background:#fbfdfe;border-bottom:1px solid #e0eaf1}
 body .panel-title h2 {font-size:18px;font-weight:700;color:#2c5068}
 body .panel-title h2:before {background:#4c91af;width:3px}
 body .panel-title p {font-size:12px;color:#6e899b;margin-top:6px}
 body .admin-toolbar {padding:18px 24px;background:#f2f7fa;border-bottom:1px solid #e0eaf0;gap:12px}
 body .admin-workspace .registered-accounts-table th {background:#eaf2f7;color:#526f83;font-size:12px;padding:15px 16px;border-bottom:1px solid #d7e5ef;font-weight:600}
 body .admin-workspace .registered-accounts-table td {padding:19px 16px;border-bottom:1px solid #e6eef4;color:#365a71;vertical-align:middle}
 body .admin-workspace .registered-accounts-table tr:nth-child(even) {background:#f6fafc}
 body .admin-workspace .registered-accounts-table tbody tr:hover {background:#edf6fb}
 body .desktop-account-identity strong {font-size:15px;color:#284e65}
 body .admin-workspace td small {font-size:11px;color:#6d899c;line-height:1.65}
 body .desktop-account-avatar {background:#e4f0f7;color:#4383a1;border:1px solid #d5e6ef;border-radius:10px}
 body .desktop-role.platform {color:#2c7190;background:#e6f2f9;border-radius:5px;padding:4px 6px;display:inline-block}
 body .admin-workspace .events-table th {background:#eaf2f7;color:#526f83;padding:14px;font-size:12px}
 body .admin-workspace .events-table td {padding:17px 14px;border-color:#e2ecf3}
 body .invite-record,body .application-card {background:#f9fcfe;border-color:#d5e4ef;border-radius:12px}
 body .audit-timeline li {border-color:#e1ebf2;padding-top:18px;padding-bottom:18px}
 body .risk-policy-panel {padding:26px}
 body .platform-settings-form {padding:26px;max-width:1040px}
 body .platform-settings-form legend {color:#2c5973;padding:10px 0 16px;border-bottom:1px solid #e0eaf1;width:100%;margin-bottom:16px}
 body .risk-policy-panel header {border-bottom:1px solid #e0eaf1;padding-bottom:18px}
 body :is(.winter-app,.admin-workspace,.auth-shell,.admin-dialog,.winter-dialog,.kingdom-sheet) button {border-radius:9px;font-weight:500}
 body :is(.winter-app,.admin-workspace,.auth-shell,.admin-dialog,.winter-dialog,.kingdom-sheet) button:focus-visible {outline:3px solid #65b3d5;outline-offset:3px}
 body :is(.winter-app,.admin-workspace,.admin-dialog,.winter-dialog,.kingdom-sheet) .winter-primary,body .admin-primary,body .auth-card form>button[type=submit] {background:linear-gradient(180deg,#3c89a8,#286d8b)!important;border-color:#367e9e!important;color:#fff!important;box-shadow:0 3px 10px #2255721c}
 body :is(.winter-app,.admin-workspace) .danger-action,body .alliance-danger {color:#a64f5b;background:#fff4f5;border-color:#ecd0d5}
 body :is(.admin-dialog,.winter-dialog,.kingdom-sheet) {border:1px solid #bfd6e4;border-radius:16px;box-shadow:0 24px 90px #0c29364d;background:#fff;max-height:88dvh;overflow-y:auto}
 body :is(.admin-dialog,.winter-dialog,.kingdom-sheet)::backdrop {background:#112c4266;backdrop-filter:blur(5px)}
 body :is(.admin-dialog,.winter-dialog,.kingdom-sheet) h2 {color:#28516a}
 body :is(.admin-dialog,.winter-dialog,.kingdom-sheet) input:not([type=checkbox]):not([type=radio]),body :is(.admin-dialog,.winter-dialog,.kingdom-sheet) select {background:#f6fafc;border-color:#cbdfe9}
 body .auth-shell {background:linear-gradient(90deg,#0d263d66,#163d5440),url('/images/desktop-ice-citadel.webp') center/cover fixed;min-height:100dvh;padding:48px}
 body .auth-card {background:#fbfdff;border:1px solid #e0edf5;border-radius:18px;box-shadow:0 24px 80px #071c3755;padding:34px 38px;max-width:470px}
 body .auth-card:before {opacity:.28}
 body .auth-card h1 {color:#254e67;font-weight:700;letter-spacing:1px}
 body .auth-card .auth-tabs {background:#eaf3f8;border:1px solid #dfebf2}
 body .auth-card .auth-tabs button.active {color:#296e8d;background:#fff;box-shadow:0 3px 10px #1f526714}
 body .site-copyright {font-size:11px;color:#7c94a4;padding-top:12px}
 /* Quiet scenic layers inside cards; opaque reading surfaces over the scenery. */
 body .winter-desktop .winter-barracks,body .desktop-account-overview,body .alliance-activities,body .alliance-workflows {background:linear-gradient(105deg,#ffffff 15%,#fffffff5 60%,#f3f8fbd9),url('/images/desktop-ice-citadel.webp') right top/auto 280px no-repeat,#fff}
 body .winter-desktop .winter-barracks h2:before,body .desktop-account-overview h2:before {content:'';display:inline-block;width:19px;height:19px;margin-right:8px;vertical-align:-3px;background:url('/share/winter-logo-128-v6.png') center/contain no-repeat}
 body .desktop-account-overview>div:first-child>svg {display:none}
 body .winter-desktop .winter-expedition {background:linear-gradient(90deg,#e6f2f9 20%,#eaf4f9e0 60%,#eaf4f9a8),url('/images/desktop-ice-citadel.webp') 40% 35%/cover}
 body .winter-desktop .winter-friends {background:linear-gradient(90deg,#f7fbfd 20%,#f5fafce8 60%,#f5fafcb8),url('/images/desktop-ice-citadel.webp') 90% 70%/cover}
 body .winter-desktop .profile-facts button:nth-child(2) strong {color:#9a6b32}
 body .winter-desktop .profile-facts button:nth-child(2) .fact-label {color:#907249}
 body .alliance-detail-card,body .winter-secondary {background:linear-gradient(120deg,#fff 35%,#ffffffef 70%,#edf6f9d9),url('/images/desktop-ice-citadel.webp') right top/auto 300px no-repeat,#fff}
 body .countdown-summary>div {box-shadow:inset 0 1px 0 #fff;background:linear-gradient(135deg,#f6fbfeee,#e7f2f8ef);border-color:#cbdfe9}
 body .admin-overview section {background:linear-gradient(110deg,#fff 20%,#f4f9fcf2 70%,#edf5facf),url('/images/desktop-ice-citadel.webp') right 35%/auto 210px no-repeat;box-shadow:inset 0 1px 0 #fff,0 5px 16px #25475c08}
 body .winter-app.winter-desktop .home-dashboard .winter-profile {grid-column:1/9;height:268px;min-height:268px;padding:28px;grid-template-columns:86px minmax(0,1fr);gap:20px;background:linear-gradient(90deg,#f3f9fc 0%,#eef7fbeb 48%,#edf6fb66 100%),url('/images/desktop-ice-citadel.webp') right 38%/cover}
 body .winter-app.winter-desktop .home-dashboard .winter-avatar {width:86px;height:86px}
 body .winter-app.winter-desktop .home-dashboard .winter-identity h1 {font-size:28px;line-height:1.4;margin-bottom:20px}
 body .winter-app.winter-desktop .home-dashboard .profile-facts strong {font-size:18px;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
 body .winter-app.winter-desktop .home-dashboard .winter-actions button {min-height:38px;height:auto}
 body .winter-app.winter-desktop .home-dashboard .desktop-account-overview {grid-column:9/-1;height:268px;min-height:268px;padding:24px}
 body .winter-app.winter-desktop .home-dashboard .military-panels {grid-column:1/9;height:auto;min-height:300px;gap:20px}
 body .winter-app.winter-desktop .home-dashboard .military-panels .winter-barracks {height:auto;min-height:300px;padding:22px}
 body .winter-app.winter-desktop .home-dashboard .military-panels .winter-barracks h2 {margin-bottom:16px;font-size:18px;line-height:1.5}
 body .winter-app.winter-desktop .home-dashboard .military-panels .winter-troop {height:60px;min-height:60px;gap:8px}
 body .winter-app.winter-desktop .home-dashboard .winter-expedition,body .winter-app.winter-desktop .home-dashboard .winter-friends {grid-column:9/-1;height:auto;min-height:140px}
 body .winter-app.winter-desktop .home-dashboard .winter-expedition strong {font-size:28px}
 body .winter-desktop .profile-facts button:nth-child(2) strong {color:#9a6b32!important}
 body .alliance-publish-card button {background:#dbbb86!important;border-color:#eed5ac!important;color:#233e50!important}
 @media(max-width:1279px) {
  body .winter-app.winter-desktop .home-dashboard .winter-profile {grid-column:1/-1;grid-row:1}
  body .winter-app.winter-desktop .home-dashboard .military-panels {grid-column:1/-1;grid-row:2}
  body .winter-app.winter-desktop .home-dashboard .winter-expedition {grid-column:1/7;grid-row:3}
  body .winter-app.winter-desktop .home-dashboard .winter-friends {grid-column:7/-1;grid-row:3}
  body .winter-app.winter-desktop .home-dashboard .desktop-account-overview {grid-column:1/-1;grid-row:4;height:auto;min-height:150px}
  body .winter-desktop,body .admin-workspace {grid-template-columns:204px minmax(0,1fr)}
  body .winter-desktop .profile-workspace,body .admin-content {padding-left:22px;padding-right:22px}
  body .snow-brand {font-size:14px;gap:7px}
  body .console-brand>div {font-size:15px}
  body .admin-overview {grid-template-columns:repeat(3,minmax(0,1fr))}
  body:has(.winter-desktop) .session-bar,body:has(.admin-workspace) .session-bar {padding-left:226px}
  body .countdown-summary {grid-template-columns:repeat(2,minmax(0,1fr))}
 }
 /* Pale snow / ice direction selected by the user. */
 body .profile-sidebar,body .admin-workspace .admin-sidebar {background:linear-gradient(150deg,#fbfeff,#edf7fc 68%,#e7f3fa);border-right:1px solid #cddfe9;color:#426b83;box-shadow:4px 0 22px #7fb0c70a}
 body .snow-brand,body .console-brand {color:#326987}
 body .snow-brand small,body .console-brand strong {color:#7393a7}
 body .snow-section-label,body .sidebar-label {color:#85a2b5}
 body .profile-sidebar nav button,body .admin-tabs button {color:#537f98;background:transparent}
 body .profile-sidebar nav button:hover,body .admin-tabs button:hover {background:#e7f3fa;color:#2f7da1}
 body .profile-sidebar nav button.selected,body .admin-tabs button.active {background:linear-gradient(110deg,#d9edf8,#eaf7fd);color:#287b9f;border-color:#b7dceb;box-shadow:inset 3px 0 #5caccb,inset 0 1px 0 #fff,0 4px 14px #77a9be0c}
 body .admin-tabs button>span {background:#cce7f5;color:#398aaf}
 body .sidebar-account {border-color:#cee2ed;background:#f7fcffb8;box-shadow:inset 0 1px 0 #fff}
 body .sidebar-account span,body .sidebar-account button {color:#7097ad}
 body .sidebar-account strong {color:#365e76}
 body .sidebar-footer {border-color:#d1e3ed;color:#7d9cad}
 body .sidebar-footer strong {color:#3e6c87}
 body .sidebar-snow {color:#b8d8e8;opacity:.8}
 body .sidebar-snow p {color:#8eacbc}
 body .winter-desktop,body .admin-workspace {background:radial-gradient(ellipse at top right,#e1f2fb 0,transparent 65%),#f0f6fa}
 body .alliance-hero {background:linear-gradient(90deg,#f5fafdeF 0%,#f4f9fde8 45%,#f4f9fdb3 100%),url('/images/desktop-ice-citadel.webp') right 38%/cover}
 body .winter-app.winter-desktop .home-dashboard .winter-profile {background:linear-gradient(90deg,#f5fafdf8 0%,#f4f9fde8 48%,#f4f9fdad 100%),url('/images/desktop-ice-citadel.webp') right 38%/cover}
 body .alliance-publish-card {background:linear-gradient(120deg,#f1f9fdee,#e5f3facf),url('/images/desktop-ice-citadel.webp') 85% 35%/cover;border-color:#cce2ee;box-shadow:inset 0 1px #fff,0 6px 20px #5e93ac0c}
 body .alliance-publish-card h2 {color:#2c607b}
 body .alliance-publish-card p {color:#7193a7}
 body .alliance-publish-card button,body .alliance-publish-card .winter-primary {background:linear-gradient(180deg,#65abc7,#4997b6)!important;border-color:#68afca!important;color:#fff!important;box-shadow:0 4px 12px #5a9eb426}
 body :is(.winter-app,.admin-workspace,.admin-dialog,.winter-dialog,.kingdom-sheet) .winter-primary,body .admin-primary,body .auth-card form>button[type=submit] {background:linear-gradient(180deg,#62aac7,#4794b3)!important;border-color:#67abc5!important;box-shadow:0 3px 10px #619db421}
 body .auth-shell {background:linear-gradient(110deg,#edf7fbd9,#eaf6fccc),url('/images/desktop-ice-citadel.webp') center/cover fixed}
 body .auth-card {box-shadow:0 16px 50px #5c869d24;border-color:#d2e5ef}
 body .winter-desktop .winter-barracks,body .desktop-account-overview,body .alliance-activities,body .alliance-workflows,body .alliance-detail-card,body .winter-secondary {background-size:cover,cover;background-position:center,right center}
 @media(prefers-reduced-motion:reduce) {body .profile-sidebar nav button,body .admin-tabs button {transition:none}}
}
