/* UltraMAX DEV Home: Refined Dark single-colour system, 2026-10-13.
 * Presentation only. Classic and Light unchanged. Account and Nuvio preserved.
 */
html.native-app.um-home-refined.um-home-dark {
 --home-bg:#11171e;
 --home-paper:#202832;
 --home-soft:#283542;
 --home-text:#edf2f7;
 --home-muted:#b4c2d0;
 --home-stroke:#394654;
 --home-accent:#aec2d4;
 --home-accent-bg:#304153;
 --home-ok:#63ceaa;
 --home-shadow:none;
}
html.native-app.um-home-refined.um-home-dark body {
 background:#11171e !important;
 background-image:none !important;
 /* The fixed nav is already accounted for inside .wrap. */
 padding-bottom:0 !important;
}
html.native-app.um-home-refined.um-home-dark .wrap {
 display:flex !important;
 flex-direction:column !important;
 /* Fill the full viewport; reserve fixed navigation clearance once. */
 min-height:100dvh !important;
 padding-bottom:calc(100px + env(safe-area-inset-bottom)) !important;
 box-sizing:border-box !important;
}
html.native-app.um-home-refined.um-home-dark .wrap > .footer-links {
 margin-top:auto !important;
 padding-top:18px !important;
 padding-bottom:0 !important;
}
html.native-app.um-home-refined.um-home-dark :is(
 #continueCard,.home-draft-card,.um-supporter-home-card,
 .wrap > .tiles,#homeMoreTools,#homeMoreTools > summary,
 .wrap > .tiles > a.tile) {
 background:#202832 !important;
 background-image:none !important;
 border-color:#394654 !important;
 box-shadow:none !important;
 color:#edf2f7 !important;
}
html.native-app.um-home-refined.um-home-dark :is(
 #continueCard,.home-draft-card,.wrap > .tiles > a.tile
 )::before {
 display:none !important;
 content:none !important;
 background:none !important;
}
html.native-app.um-home-refined.um-home-dark :is(#continueCard,.home-draft-card){
 overflow:hidden !important;
}
html.native-app.um-home-refined.um-home-dark :is(
 #continueCard,.home-draft-card,.wrap > .tiles > a.tile
 ) :is(.continue-copy,.tile-name,.tile-desc,.continue-title,.continue-subtitle) {
 position:relative !important;
 background:none !important;
 background-image:none !important;
 box-shadow:none !important;
 filter:none !important;
}
html.native-app.um-home-refined.um-home-dark #continueCard .continue-icon,
html.native-app.um-home-refined.um-home-dark .home-draft-card .home-draft-icon,
html.native-app.um-home-refined.um-home-dark
 .wrap > .tiles :is(#homeAccountTile,#homeNewSetupTile) .tile-badge {
 background:#304d68 !important;
 background-image:none !important;
 color:#e6f0f8 !important;
 border:1px solid #44627f !important;
 box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-dark
 .wrap > .tiles #homeNuvioTile .tile-badge {
 background:#25473e !important;
 background-image:none !important;
 border:1px solid #38695b !important;
 box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-dark
 .wrap > .tiles #homeNuvioTile .tile-badge img {
 box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-dark #homeMoreTools .home-more-icon {
 background:#304153 !important;
 background-image:none !important;
 border:1px solid #435568 !important;
 color:#aec2d4 !important;
 box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-dark #homeMoreTools > summary::after {
 content:none !important;
 display:none !important;
}
html.native-app.um-home-refined.um-home-dark #homeMoreTools .home-more-chev {
 color:#aebdcc !important;
 background:transparent !important;
 border:0 !important;
 box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-dark
  :is(.um-supporter-home-card,.um-supporter-identity) {
 border-color:#4b5868 !important;
 background:#202832 !important;
 background-image:none !important;
 box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-dark
  :is(.um-supporter-home-kicker,.continue-eyebrow,.home-draft-eyebrow) {
 color:#a9bdce !important;
 -webkit-text-fill-color:#a9bdce !important;
}
html.native-app.um-home-refined.um-home-dark #umSidebarNav a.active {
 background:#304153 !important;
 background-image:none !important;
 color:#aec2d4 !important;
 border:0 !important;
 box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-dark #umSidebarNav a.active :is(svg,span){
 color:#aec2d4 !important;
}
html.native-app.um-home-refined.um-home-dark .home-nuvio-chip,
html.native-app.um-home-refined.um-home-dark .um-supporter-home-verified {
 color:#63ceaa !important;
 background:#273d38 !important;
 border-color:#3e665c !important;
 box-shadow:none !important;
}
/* Cosmic-theme draws a second coloured layer via ::after, unaffected by
   background-color and background-image rules on the cards themselves. */
html.native-app.um-home-refined.um-home-dark .wrap > .tiles > a.tile::after,
html.native-app.um-home-refined.um-home-dark #homeMoreTools .home-more-grid > a.tile::after,
html.native-app.um-home-refined.um-home-dark #homeMoreTools .home-more-grid > a.tile::before {
 content:none !important;
 display:none !important;
 background:none !important;
 box-shadow:none !important;
}
html.native-app.um-home-refined.um-home-dark #continueCard::after,
html.native-app.um-home-refined.um-home-dark .home-draft-card::after {
 /* Keep a simple chevron at the right, not a coloured card-sized overlay. */
 content:"›" !important;
 position:absolute !important;
 inset:auto 12px auto auto !important;
 top:50% !important;
 left:auto !important;
 right:12px !important;
 transform:translateY(-50%) !important;
 display:block !important;
 width:auto !important;
 height:auto !important;
 padding:0 !important;
 background:none !important;
 background-image:none !important;
 color:#aebdcc !important;
 -webkit-text-fill-color:#aebdcc !important;
 font-size:27px !important;
 font-weight:400 !important;
 text-shadow:none !important;
 box-shadow:none !important;
 opacity:1 !important;
}
html.native-app.um-home-refined.um-home-dark .footer-links a {
 color:#aebdcc !important;
 -webkit-text-fill-color:#aebdcc !important;
}
/* Refined Dark uses flat icons. Don't resurrect glossy cosmic highlights. */
html.native-app.um-home-refined.um-home-dark .tile-badge::after {
 content:none !important;
 display:none !important;
}
