
/* Shared theme: typography, spacing and fixed positioning remain unchanged. */
.theme-tools{display:flex;gap:calc(10 * var(--u));align-items:center}
.theme-toggle{flex:none;color:#3656eb}
.theme-toggle .sun{display:none}
html[data-theme="dark"]{color-scheme:dark;--ink:#edf2ff;--muted:#a6b4ce;--line:#2b3b59;--blue:#87a7ff;--panel:#172238}
html[data-theme="dark"] body{background:#0c1424}
html[data-theme="dark"] .app{background:linear-gradient(#101a2d,#0d1729)}
html[data-theme="dark"] :is(.fixed-top,.asset-heading,.deposit-top){background:#101a2d;border-color:var(--line)}
html[data-theme="dark"] :is(.card,.dock,dialog){background:linear-gradient(145deg,#1b2841,#151f33);border-color:var(--line);box-shadow:0 5px 16px #0003}
html[data-theme="dark"] :is(.quote,.story,.history-row,.deposit-record,.asset-select,.amount-box,.address-input,.time-units span){background:linear-gradient(145deg,#1d2b45,#18243b);border-color:#354669;color:var(--ink)}
html[data-theme="dark"] :is(.bell,.back,.more){background:linear-gradient(145deg,#263656,#1c2943);border-color:#3b507a;color:#9bb6ff;box-shadow:0 3px 8px #0002}
html[data-theme="dark"] :is(.service-tabs){background:#172238;border-color:var(--line);box-shadow:0 4px 12px #0002}
html[data-theme="dark"] :is(.service-tabs button,.dock :is(button, a)){color:#aab8d1}
html[data-theme="dark"] :is(.service-tabs [aria-selected=true],.dock [aria-current=page]){background:linear-gradient(135deg,#383c78,#2a3566);color:#bdc6ff}
html[data-theme="dark"] .dock [aria-current=page] .icon{stroke:#a1b5ff}
html[data-theme="dark"] :is(.field-label,fieldset legend,.amount-box span,.wallet-address,dialog p,.tab){color:var(--muted)}
html[data-theme="dark"] :is(.return,#max,.copy-wallet){color:#83acff}
html[data-theme="dark"] :is(.vip,.order-status.ready){background:#233d68;color:#a1c1ff}
html[data-theme="dark"] .order-status:not(.ready){background:#164a3c;color:#71e4b5}
html[data-theme="dark"] .start-service:disabled{background:linear-gradient(135deg,#344159,#2c374c);color:#94a1ba}
html[data-theme="dark"] .change{background:#512b3e;color:#ff91a6}
html[data-theme="dark"] :is(.positive,.status.received,.status.completed){color:#5ee1a8}
html[data-theme="dark"] :is(.negative,.error){color:#ff8e99}
html[data-theme="dark"] .status.received{background:#174b3c}
html[data-theme="dark"] .wallet-row{border-color:var(--line)}
html[data-theme="dark"] .info-list li:before{background:#243f66;color:#8cc6ff}
html[data-theme="dark"] .badge{background:linear-gradient(145deg,#2d4266,#20334f);box-shadow:inset 0 1px #ffffff15,0 3px 8px #0002;color:#7fbaff}
html[data-theme="dark"] .badge.green{color:#65dba7}
html[data-theme="dark"] .badge.gold{color:#ffc875}
html[data-theme="dark"] .badge.rose{color:#ff95b2}
html[data-theme="dark"] .badge.purple{color:#b59aff}
html[data-theme="dark"] .tile{--tile-top:#20334e;--tile:#192940;--plate-top:#365b87;--plate-bottom:#22436b;color:var(--ink);border-color:#344b70;box-shadow:inset 0 1px #ffffff12,0 5px 10px #0002}
html[data-theme="dark"] .tile.withdraw{--tile-top:#2c284a;--tile:#22203a;--plate-top:#63528b;--plate-bottom:#413365}
html[data-theme="dark"] .tile.service{--tile-top:#193b39;--tile:#182e30;--plate-top:#30786a;--plate-bottom:#215447}
html[data-theme="dark"] .tile.learn{--tile-top:#3c3225;--tile:#30291f;--plate-top:#886538;--plate-bottom:#654924}
html[data-theme="dark"] .asset-actions :is(button, a){background:linear-gradient(145deg,#203555,#192a44);border-color:#354b71}
html[data-theme="dark"] .asset-actions .withdraw-action{background:linear-gradient(145deg,#332c50,#25223d)}
html[data-theme="dark"] .theme-toggle .moon{display:none}
html[data-theme="dark"] .theme-toggle .sun{display:block}
html[data-theme="dark"] select option{background:#172238;color:#edf2ff}
html[data-theme="dark"] .address-input::placeholder{color:#9aaac5}
