/* Shared user-facing theme for RWA-HUB Atlas and Studio. */
html.atlas-viewport { background: #09111b; color-scheme: dark; }
body.atlas-ui {
    --atlas-bg: #050c17;
    --atlas-surface: #0b1521;
    --atlas-panel: #0d1925;
    --atlas-text: #f2eae0;
    --atlas-muted: #b0a9a7;
    --atlas-gold: #edb973;
    --atlas-teal: #6dd9c4;
    --atlas-line: #78644755;
    --atlas-serif: Georgia, "Times New Roman", serif;
    --bs-body-color: var(--atlas-text);
    --bs-body-bg: var(--atlas-bg);
    --bs-border-color: var(--atlas-line);
    --bs-secondary-color: var(--atlas-muted);
    color: var(--atlas-text);
    background: radial-gradient(ellipse at 75% 8%, #21183055, transparent 48%), linear-gradient(#02070e, #071421 85%);
    min-width: 0;
    margin: 0;
    min-height: 100dvh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color-scheme: dark;
}
.atlas-ui [hidden] { display: none !important; }
.atlas-ui a { color: var(--atlas-gold); }
.atlas-ui :focus-visible { outline: 2px solid var(--atlas-teal); outline-offset: 3px; }
.atlas-ui small, .atlas-ui .text-muted { color: var(--atlas-muted) !important; }
.atlas-ui .text-dark { color: var(--atlas-text) !important; }
.atlas-ui .text-success, .atlas-ui .text-primary, .atlas-teal { color: var(--atlas-teal) !important; }
.atlas-ui h1, .atlas-ui h2, .atlas-ui h3 { color: var(--atlas-text); }
.atlas-ui h1, .atlas-display-title { font-family: var(--atlas-serif); font-weight: 500; line-height: 1.06; }
.atlas-ui .main-content { margin-top: 0 !important; min-height: calc(100vh - 122px) !important; }
.atlas-ui .container { width: min(100%, 1510px); max-width: 100%; }
.atlas-ui > footer { background: transparent !important; border-color: var(--atlas-line) !important; }
.atlas-home > footer { display: none; }
.atlas-ui .navbar {
    position: sticky !important; top: 0; padding: 10px 0; background: #030810f5 !important;
    border-color: var(--atlas-line) !important; z-index: 1020;
}
.atlas-ui .navbar > .container { max-width: 1600px; padding: 0 22px; gap: clamp(16px, 8vw, 135px); }
.atlas-ui .navbar .navbar-brand { color: var(--atlas-text); font-size: 22px; letter-spacing: -.035em; padding: 0; margin: 0; }
.atlas-ui .navbar-collapse { gap: 15px; justify-content: space-between; min-width: 0; }
.atlas-ui .navbar-nav { flex-direction: row; align-items: center; gap: clamp(7px, 1vw, 16px); white-space: nowrap; }
.atlas-ui .navbar .nav-link { color: #c6bab0; font-size: 12px; padding: 11px 4px; border-bottom: 1px solid transparent; }
.atlas-ui .navbar .nav-link.active { color: var(--atlas-gold); border-color: var(--atlas-gold); }
.atlas-nav-actions { gap: clamp(10px, 2vw, 28px); }
.atlas-ui #walletBtn, .atlas-button.gold, .atlas-ui .btn-primary {
    background: linear-gradient(120deg, #f3d29c, #dfab65 55%, #eec287) !important;
    color: #170f08 !important; border: 1px solid #b88652 !important;
    box-shadow: inset 0 0 0 2px #ffe1ad30; font-weight: 650;
}
.atlas-ui #walletBtn { min-height: 39px; padding: 8px 13px !important; white-space: nowrap; font-size: 12px !important; }
.atlas-ui #walletMenu {
    width: min(330px, calc(100vw - 24px)); min-width: 0 !important;
    margin-top: 9px; max-height: calc(100dvh - 76px); overflow-y: auto;
    background: linear-gradient(152deg, #201c30f5, #0b1723fa 43%) !important;
    color: var(--atlas-text); border-color: #a786555e !important;
    backdrop-filter: blur(15px); box-shadow: inset 0 1px #e7b77722, 0 14px 35px #0009 !important;
}
.atlas-ui #walletMenu #walletAddressDisplay {
    background: #131f2c !important; color: var(--atlas-text) !important;
    border: 1px solid var(--atlas-line); font-family: ui-monospace, monospace;
}
.atlas-ui #walletMenu .wallet-portfolio-link {
    display: inline-flex !important; align-items: center; min-height: 36px;
    background: transparent !important; color: var(--atlas-gold) !important;
}
.atlas-ui #walletMenu .wallet-portfolio-link:hover { background: #e4b57618 !important; }
.atlas-ui #walletMenu :is(.wallet-balance-container,.wallet-commission) {
    background: #07131e !important; color: var(--atlas-muted) !important;
    border: 1px solid var(--atlas-line); padding: 8px 10px !important;
}
.atlas-ui #walletMenu #walletBalanceInDropdown { color: var(--atlas-teal); font-variant-numeric: tabular-nums; }
.atlas-ui #walletMenu #walletCommissionInDropdown { color: var(--atlas-gold); font-variant-numeric: tabular-nums; }
.atlas-ui #walletMenu :is(#userAssetsSection,.wallet-actions) { border-color: var(--atlas-line) !important; }
.atlas-ui #walletMenu :is(.wallet-section-title,.asset-quantity) { color: var(--atlas-muted) !important; }
.atlas-ui #walletMenu .wallet-assets-list .asset-name { color: var(--atlas-text) !important; }
.atlas-ui #walletMenu .wallet-assets-list .asset-quantity { background: #192635; color: var(--atlas-teal) !important; }
.atlas-ui #walletMenu .wallet-actions { flex-direction: row; }
.atlas-ui #walletMenu .wallet-assets-list .asset-link { background: transparent !important; color: var(--atlas-text) !important; }
.atlas-ui #walletMenu .wallet-actions button { min-height: 36px !important; background: #121d29 !important; color: var(--atlas-text) !important; border: 1px solid var(--atlas-line) !important; }
.atlas-ui #walletMenu .wallet-actions button:last-child { color: #ffb2ac !important; }
.atlas-ui #walletSelector .wallet-selector-card, .atlas-ui #readonlyModal #mobileWalletInterface { background: #0b1724 !important; color: var(--atlas-text); border: 1px solid var(--atlas-line); box-shadow: 0 18px 48px #0009; }
.atlas-ui #walletSelector .wallet-selector-option { background: #142033 !important; border-color: var(--atlas-line) !important; color: var(--atlas-text) !important; }
.atlas-ui #walletSelector .wallet-selector-card :is(h5,h6,button) { color: var(--atlas-text) !important; }
.atlas-ui #walletSelector .wallet-selector-card input { background: #08131e; color: var(--atlas-text); border-color: var(--atlas-line) !important; }
.atlas-ui #walletSelector .wallet-selector-card button[onclick] { background: var(--atlas-gold) !important; color: #170f08 !important; }
.atlas-readonly-note { padding: 9px 11px; background: #132533; color: #bfe9e5; border: 1px solid #539b9066; border-radius: 7px; font-size: 12px; }
.atlas-ui #buyModal { --bs-modal-bg: #091624; --bs-modal-color: var(--atlas-text); --bs-modal-border-color: var(--atlas-line); }
.atlas-ui #buyModal .modal-content { background: #0b1927; color: var(--atlas-text); border: 1px solid #b894657b; }
.atlas-ui #buyModal .modal-header, .atlas-ui #buyModal .modal-footer { border-color: var(--atlas-line); }
.atlas-ui #buyModal .btn-close { filter: invert(1); }
.atlas-ui #buyModal .list-group-item { padding: 8px 0; gap: 8px; color: var(--atlas-text) !important; background: transparent; border-color: var(--atlas-line); }
.atlas-ui #buyModal #modalRecipientAddress { max-width: 60%; color: var(--atlas-gold); text-align: right; overflow-wrap: anywhere; }
.atlas-ui #buyModal #modalAssetName { text-align: right; }
.atlas-dock, .atlas-market-switch { display: none; }
.atlas-shell { width: min(100%, 1600px); margin: 0 auto; padding: 22px clamp(15px, 2.7vw, 42px) 24px; }
.atlas-home .atlas-shell { padding-top: 0; position: relative; }
.atlas-page-head { margin-bottom: 14px; }
.atlas-page-head h1 { font-size: clamp(30px, 3vw, 50px); margin: 0 0 5px; }
.atlas-page-head p { color: var(--atlas-muted); margin: 0; }
.atlas-panel { border: 1px solid var(--atlas-line); background: #0a152096; border-radius: 11px; }
.atlas-glass {
    background:
        radial-gradient(ellipse at 15% 0%, #ffd5993b, transparent 35%) padding-box,
        radial-gradient(ellipse at 98% 100%, #c9914c36, transparent 45%) padding-box,
        linear-gradient(135deg, #283240ac, #08131ed6 36%, #141226d2 79%, #302131ba) padding-box,
        linear-gradient(145deg, #ffcc80, #9b774f4f 32%, #654e736e 58%, #edb472) border-box;
    border: 1px solid transparent; border-radius: 18px; backdrop-filter: blur(16px) saturate(145%);
    box-shadow: inset 0 0 0 2px #0e14218c, inset 2px 2px 9px #ffe0a364, inset -3px -3px 12px #ecaa445a, 0 12px 27px #05060c9c;
}
.atlas-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px;
    border: 1px solid #b88c577b; padding: 8px 15px; border-radius: 7px; text-decoration: none;
    color: var(--atlas-text); background: #090f19ca; font-weight: 600; white-space: nowrap;
}
.atlas-button:hover { border-color: var(--atlas-gold); color: var(--atlas-gold); }
.atlas-button.small { min-height: 32px; padding: 5px 10px; color: var(--atlas-gold); font-size: 12px; }
.atlas-tag {
    display: inline-flex; align-items: center; gap: 4px; border-radius: 20px; background: #bf8d4f19;
    color: var(--atlas-gold); font-size: 10px; padding: 2px 7px; white-space: nowrap; vertical-align: middle;
}
.atlas-tag.neutral { color: var(--atlas-muted); background: #ffffff0d; }
.atlas-tag.minted { color: var(--atlas-teal); background: #1b756a36; }
.atlas-hero { display: grid; grid-template-columns: minmax(255px, 28%) minmax(0, 1fr) clamp(133px, 12vw, 185px); position: relative; align-items: start; min-height: clamp(470px, 41vw, 650px); }
.atlas-hero-copy { position: relative; z-index: 2; padding: clamp(35px, 4vw, 65px) 0 20px; pointer-events: none; }
.atlas-hero-copy h1 { font-size: clamp(44px, 4.05vw, 67px); margin-bottom: 18px; letter-spacing: -.045em; }
.atlas-hero-copy h1 :is(span,em) { display: block; }
.atlas-hero-copy h1 em { color: var(--atlas-gold); font-style: normal; }
.atlas-hero-copy > p { color: var(--atlas-muted); font-size: clamp(11px, 1.1vw, 16px); margin-bottom: 19px; }
.atlas-hero-copy a { pointer-events: auto; }
.atlas-hero-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.atlas-hero-note { color: var(--atlas-muted); margin: 18px 0; font-size: 12px; }
.atlas-hero-note i { color: var(--atlas-teal); margin-right: 5px; }
.atlas-hero-evidence { background: #0b1923e6; display: flex; align-items: center; gap: 9px; padding: 12px; max-width: 385px; font-size: 11px; }
.atlas-hero-evidence > i { font-size: 28px; color: var(--atlas-teal); }
.atlas-hero-evidence strong, .atlas-hero-evidence small { display: block; }
.atlas-hero-evidence strong { color: var(--atlas-teal); }
.atlas-hero-evidence > div:last-child { border-left: 1px solid var(--atlas-line); padding-left: 10px; flex: 0 0 auto; }
.atlas-hero .atlas-map { position: absolute; inset: 0 -20px 0 16%; }
.atlas-hero .atlas-map-tools { left: auto; right: clamp(163px, 14vw, 220px); top: auto; bottom: 24px; }
.atlas-home-data .atlas-categories { position: absolute; right: clamp(15px, 2.7vw, 42px); top: 26px; width: clamp(143px, 12vw, 185px); }
.atlas-map { height: 100%; min-height: 210px; position: relative; overflow: hidden; isolation: isolate; }
.atlas-map canvas, .atlas-map-pins { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas-map[data-interactive-map] canvas { touch-action: none; }
.atlas-map[data-coordinate-picker] canvas { cursor: crosshair; }
.atlas-coordinate-pin { position: absolute; pointer-events: none; color: var(--atlas-gold); font-size: 27px; transform: translate(-50%, -90%); text-shadow: 0 0 12px #050c17; }
.atlas-map-pins { pointer-events: none; }
.atlas-map-credit { position: absolute; bottom: 7px; right: 9px; font-size: 9px; pointer-events: none; }
.atlas-map-tools { position: absolute; z-index: 2; left: 12px; top: 12px; display: grid; background: #070e19dd; border: 1px solid var(--atlas-line); border-radius: 8px; }
.atlas-map-tools button { color: var(--atlas-text); background: none; border: 0; width: 32px; height: 31px; }
.atlas-map-tools button + button { border-top: 1px solid var(--atlas-line); }
.atlas-pin, .atlas-cluster-toggle { position: absolute; pointer-events: auto; display: flex; align-items: center; justify-content: center; padding: 0; text-decoration: none; border: 0; border-radius: 50%; background: #10212a; }
.atlas-pin:not([style]), .atlas-pin.is-map-hidden { display: none; }
.atlas-pin-image, .atlas-thumb, .atlas-feature-image {
    position: relative; display: inline-grid; place-items: center; background: #141924;
    color: var(--atlas-gold); overflow: hidden; flex: 0 0 auto; border: 1px solid var(--atlas-line);
}
.atlas-pin-image { width: 100%; height: 100%; border-radius: 50%; border-color: #ddb780; }
.atlas-thumb { width: 67px; height: 43px; border-radius: 6px; }
.atlas-pin-image img, .atlas-thumb img, .atlas-feature-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.atlas-pin-label { display: none; min-width: 0; color: var(--atlas-text); font-size: 11px; line-height: 1.16; }
.atlas-pin-expanded { justify-content: start; gap: 7px; border-radius: 9px; padding: 6px; background: #071521f2; border: 1px solid #b894658a; box-shadow: 0 4px 14px #020812a0, inset 0 1px #ffd69c20; }
.atlas-pin-expanded .atlas-pin-image { width: 40px; height: 40px; border-radius: 7px; }
.atlas-pin-expanded .atlas-pin-label { display: grid; gap: 2px; }
.atlas-pin-label strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.atlas-pin-label small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.atlas-pin:hover, .atlas-pin:focus-visible, .atlas-cluster-toggle:hover { z-index: 2; filter: brightness(1.17); }
.atlas-cluster-toggle > span:last-child { position: absolute; right: -4px; bottom: -3px; min-width: 18px; padding: 1px 3px; border-radius: 9px; color: #06151a; background: var(--atlas-teal); border: 1px solid #c6fff1; font-size: 10px; font-weight: 700; }
.atlas-cluster-menu { position: absolute; z-index: 5; pointer-events: auto; background: #071521fa; box-shadow: 0 6px 22px #000a; overflow-y: auto; padding: 8px 10px; }
.atlas-cluster-menu > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--atlas-text); }
.atlas-cluster-menu button { background: transparent; color: var(--atlas-gold); border: 0; font-size: 21px; min-width: 28px; }
.atlas-cluster-menu a { display: block; border-top: 1px solid var(--atlas-line); padding: 7px 0; font-size: 12px; }
.atlas-categories { z-index: 3; padding: 9px; display: flex; flex-direction: column; gap: 3px; align-self: start; }
.atlas-categories button { background: transparent; border: 1px solid transparent; color: var(--atlas-text); display: flex; align-items: center; gap: 9px; padding: 11px 8px; font-size: 12px; text-align: left; border-radius: 7px; white-space: nowrap; }
.atlas-categories button small { margin-left: auto; }
.atlas-categories button[aria-pressed=true] { background: #16403f66; color: var(--atlas-teal); border-color: #39817c52; }
.atlas-discovery { display: grid; grid-template-columns: minmax(0, 1fr) clamp(155px, 19vw, 245px); gap: 16px; margin-bottom: 12px; }
.atlas-discovery .atlas-map { height: clamp(310px, 31vw, 475px); border: 1px solid var(--atlas-line); border-radius: 11px; background: #071521; }
.atlas-section-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--atlas-line); }
.atlas-section-head h2 { font-size: 14px; margin: 0; display: flex; align-items: center; gap: 8px; }
.atlas-section-head time, .atlas-filters time { color: var(--atlas-muted); font-size: 11px; white-space: nowrap; }
.atlas-dot { display: inline-block; width: 7px; height: 7px; background: var(--atlas-teal); border-radius: 50%; box-shadow: 0 0 10px #53cdb977; }
.atlas-ticker { padding: 0 9px 8px; }
.atlas-ticker-track, .atlas-stats { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #8b6846 transparent; }
.atlas-ticker-cell { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 9px; flex: 1 0 24%; padding: 13px 12px 9px; min-width: 190px; text-decoration: none; color: var(--atlas-text) !important; }
.atlas-ticker-cell + .atlas-ticker-cell, .atlas-stat + .atlas-stat { border-left: 1px solid var(--atlas-line); }
.atlas-ticker-cell .atlas-thumb { width: 54px; height: 54px; border-radius: 50%; }
.atlas-ticker-cell strong, .atlas-ticker-cell small { display: block; font-size: 11px; }
.atlas-ticker-price { font-size: 20px; white-space: nowrap; }
.atlas-ticker-price small { display: inline; font-size: 9px; }
.atlas-ui progress { display: block; width: 100%; height: 4px; accent-color: var(--atlas-teal); border: 0; margin-top: 6px; }
.atlas-ui progress::-webkit-progress-bar { background: #24313c; border-radius: 3px; }
.atlas-ui progress::-webkit-progress-value { background: var(--atlas-teal); border-radius: 3px; }
.atlas-stats { padding: 13px 1px; }
.atlas-stat { display: flex; align-items: center; justify-content: center; flex: 1 0 auto; gap: 12px; padding: 8px 13px; }
.atlas-stat > i { color: var(--atlas-gold); font-size: clamp(19px, 2.5vw, 39px); }
.atlas-stat strong { color: var(--atlas-gold); font-size: clamp(19px, 2vw, 33px); font-variant-numeric: tabular-nums; font-weight: 580; }
.atlas-stat small { display: block; font-size: 11px; }
.atlas-market-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 22%); gap: 15px; }
.atlas-market-layout .atlas-stats { margin-bottom: 17px; }
.atlas-market-layout .atlas-stat strong { font-size: clamp(16px, 1.6vw, 25px); }
.atlas-primary .atlas-table tbody tr { height: 94px; }
.atlas-primary .atlas-thumb { width: clamp(64px, 6vw, 105px); height: 67px; }
.atlas-primary .atlas-feature h3 { margin-top: 7px; }
.atlas-table-panel { padding: 8px; min-width: 0; }
.atlas-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 4px 4px 9px; }
.atlas-filters input, .atlas-filters select, .atlas-ui :is(.form-control,.form-select) {
    background-color: #0b1723; color: var(--atlas-text); border: 1px solid var(--atlas-line);
    border-radius: 6px; padding: 7px 9px; max-width: 100%;
}
.atlas-filters input, .atlas-filters select { font-size: 12px; }
.atlas-filters time { margin-left: auto; }
.atlas-table-scroll { overflow-x: auto; position: relative; }
.atlas-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 12px; }
.atlas-table th { color: var(--atlas-muted); font-weight: 500; background: #ffffff07; text-align: left; }
.atlas-table :is(th, td) { padding: 10px 8px; border: 1px solid var(--atlas-line); }
.atlas-table td:last-child { text-align: right; }
.atlas-asset-name { display: flex; align-items: center; gap: 9px; min-width: 155px; text-decoration: none; color: var(--atlas-text) !important; }
.atlas-asset-name small { display: block; }
.atlas-results, .atlas-empty { color: var(--atlas-muted); padding: 12px; margin: 0; }
.atlas-market-rail { display: grid; gap: 14px; align-content: start; }
.atlas-feature { padding: 12px; }
.atlas-feature h2 { font-family: var(--atlas-serif); color: var(--atlas-gold); font-size: 18px; }
.atlas-feature h3 { font-size: 16px; margin-top: 12px; }
.atlas-feature p { color: var(--atlas-muted); }
.atlas-feature-image { width: 100%; aspect-ratio: 2 / 1; border-radius: 8px; }
.atlas-feature .atlas-button { width: 100%; }
.atlas-data { margin: 10px 0; }
.atlas-data > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--atlas-line); padding: 6px 0; }
.atlas-data dt { color: var(--atlas-muted); font-weight: 450; }
.atlas-data dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.atlas-sequence { display: grid; gap: 10px; padding-left: 22px; }
.atlas-sequence li::marker { color: var(--atlas-gold); }
.atlas-secondary-hero { display: grid; grid-template-columns: 1.4fr .60fr 1fr; gap: 24px; align-items: center; position: relative; padding: 20px 0; min-height: 565px; isolation: isolate; }
.atlas-secondary-hero .atlas-map { position: absolute; inset: 140px 39% -20px -7%; height: auto; z-index: -1; opacity: .72; }
.atlas-secondary-heading { align-self: start; padding-top: 10px; }
.atlas-secondary-hero h1 { font-size: clamp(38px, 4.5vw, 70px); margin: 16px 0; }
.atlas-secondary-hero p { color: var(--atlas-muted); }
.atlas-early, .atlas-roadmap { padding: 22px; }
.atlas-early h2, .atlas-roadmap h2 { font-family: var(--atlas-serif); }
.atlas-early .atlas-button { width: 100%; }
.atlas-early-notice { display: flex; align-items: center; gap: 12px; border: 1px solid var(--atlas-line); border-radius: 8px; margin: 14px 0; padding: 15px; }
.atlas-early-notice i { color: var(--atlas-gold); font-size: 20px; }
.atlas-early-notice p { margin: 0; }
.atlas-roadmap-steps { list-style: none; counter-reset: stages; margin: 0; padding: 0; }
.atlas-roadmap-steps li { counter-increment: stages; position: relative; padding: 11px 0 11px 34px; margin-left: 11px; border-left: 1px solid var(--atlas-line); }
.atlas-roadmap-steps li::before { content: counter(stages); position: absolute; top: 12px; left: -13px; width: 25px; height: 25px; display: grid; place-items: center; color: var(--atlas-gold); background: #0f1824; border: 1px solid var(--atlas-gold); border-radius: 50%; }
.atlas-roadmap-steps p { font-size: 11px; margin: 5px 0; }
.atlas-secondary-status { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.atlas-secondary-status section { padding: 15px; }
.atlas-secondary-status h2 { font-size: 17px; margin-bottom: 12px; }
.atlas-secondary-status ul { display: flex; gap: 0; padding: 0; margin: 0; list-style: none; }
.atlas-secondary-status :is(a, li) { color: var(--atlas-muted); }
.atlas-secondary-status li { flex: 1; padding: 10px; }
.atlas-secondary-status li + li { border-left: 1px solid var(--atlas-line); }
.atlas-secondary-status i { display: block; margin-bottom: 8px; font-size: 20px; color: var(--atlas-teal); }
.atlas-secondary-status section + section i { color: var(--atlas-gold); }
.atlas-ui :is(.card,.modal-content,.list-group-item) { color: var(--atlas-text); background: var(--atlas-surface); border-color: var(--atlas-line); }
.atlas-ui :is(.card-header,.modal-header,.modal-footer) { background: #ffffff05; border-color: var(--atlas-line); }
.atlas-ui :is(.bg-light,.bg-white):not(.navbar):not(footer) { background: var(--atlas-surface) !important; }
.atlas-ui .btn-outline-primary, .atlas-ui .btn-outline-success { color: var(--atlas-gold); background: transparent; border-color: #b88c577b; }
.atlas-ui .btn-outline-primary:hover, .atlas-ui .btn-outline-success:hover { background: #edb97318; }
.atlas-ui .btn-close { filter: invert(1); }
.atlas-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.atlas-news article > img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 7px; margin-bottom: 10px; }
.atlas-back { display: inline-block; margin-bottom: 12px; color: var(--atlas-muted) !important; font-size: 12px; }
.atlas-detail-heading { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding-bottom: 15px; margin-bottom: 17px; border-bottom: 1px solid var(--atlas-line); }
.atlas-detail-heading h1 { font-size: clamp(28px, 3.1vw, 47px); margin-bottom: 8px; }
.atlas-detail-location { color: var(--atlas-muted); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.atlas-detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(295px, 1fr); grid-template-areas: "gallery offer" "info offer"; gap: 15px 22px; align-items: start; }
.atlas-detail-gallery { grid-area: gallery; min-width: 0; }
.atlas-detail-main { grid-area: info; min-width: 0; }
.atlas-detail .asset-detail-page #assetImages { border: 1px solid var(--atlas-line); border-radius: 10px; overflow: hidden; height: clamp(235px, 24vw, 375px) !important; }
.atlas-detail #assetImages :is(.carousel-inner,.carousel-item) { height: 100% !important; }
.atlas-detail #assetImages img { height: 100% !important; width: 100%; object-fit: cover; }
.atlas-detail #assetImages :is(.carousel-control-prev,.carousel-control-next) { width: 42px; height: 42px; top: calc(50% - 21px); opacity: 1; background: #080f19c9; border-radius: 50%; margin-inline: 10px; }
.atlas-detail #assetImages :is(.carousel-control-prev-icon,.carousel-control-next-icon) { width: 16px; height: 16px; }
.atlas-detail-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; }
.atlas-detail-thumbs button { padding: 0; overflow: hidden; border: 1px solid var(--atlas-line); border-radius: 7px; background: none; width: 102px; height: 57px; flex: 0 0 auto; }
.atlas-detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.atlas-detail-stats { display: flex; overflow-x: auto; margin: 10px 0; }
.atlas-detail-stats div { flex: 1 0 auto; padding: 8px 12px; }
.atlas-detail-stats div + div { border-left: 1px solid var(--atlas-line); }
.atlas-detail-stats small, .atlas-detail-stats strong { display: block; }
.atlas-detail-stats strong { color: var(--atlas-teal); }
.atlas-tabs { display: flex; gap: 14px; overflow-x: auto; border-bottom: 1px solid var(--atlas-line); margin: 8px 0 12px; }
.atlas-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; color: var(--atlas-muted); white-space: nowrap; padding: 8px 4px; }
.atlas-tabs button[aria-pressed=true] { border-color: var(--atlas-gold); color: var(--atlas-gold); }
.atlas-detail-main .card h5 { font-family: var(--atlas-serif); }
.atlas-detail-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; }
.atlas-description { white-space: pre-wrap; line-height: 1.6; }
.atlas-detail-map .atlas-map { min-height: 140px; height: 140px; border-radius: 7px; background: #08121f; }
.atlas-detail-map .atlas-pin-label { display: none; }
.atlas-purchase-rail { grid-area: offer; display: grid; gap: 12px; position: sticky; top: 76px; }
.atlas-ui .trade-card { border-color: #ba8a56a0; border-radius: 11px !important; }
.atlas-ui .trade-card .card-body { padding: 13px !important; }
.atlas-ui .trade-card .card-header.atlas-offer-heading { background: linear-gradient(115deg, #403023, #191b23); color: var(--atlas-gold); padding: 11px 13px; border-bottom: 1px solid var(--atlas-line); }
.atlas-token-quote { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 12px; }
.atlas-token-quote h3 { font-size: 18px; margin: 0; }
.atlas-token-quote > div:last-child { text-align: right; }
.atlas-token-quote > div:last-child > small { display: block; }
.atlas-token-quote strong { color: var(--atlas-teal); font-size: 22px; white-space: nowrap; }
.atlas-token-quote strong small { font-size: 10px; }
.atlas-token-supply { display: grid; grid-template-columns: auto 1fr; gap: 5px; align-items: baseline; font-size: 12px; padding: 8px 10px; border: 1px solid var(--atlas-line); border-radius: 7px; background: #0d1a26; }
.atlas-token-supply strong { text-align: right; color: var(--atlas-teal); }
.atlas-token-supply progress { grid-column: 1 / -1; margin-top: 0; }
.atlas-order-fields { display: grid; grid-template-columns: 1fr minmax(100px, 1fr); gap: 10px; align-items: stretch; margin: 12px 0; }
.atlas-order-fields > label, .atlas-order-total > span { color: var(--atlas-muted); display: block; font-size: 12px; }
.atlas-order-fields input { margin-top: 3px; }
.atlas-order-total { border: 1px solid var(--atlas-line); border-radius: 6px; padding: 5px 8px; text-align: right; }
.atlas-order-total strong { color: var(--atlas-teal); font-size: 17px; overflow-wrap: anywhere; }
.atlas-token-disclosure { border-top: 1px solid var(--atlas-line); margin-top: 12px; padding-top: 8px; }
.atlas-token-disclosure summary { cursor: pointer; color: var(--atlas-gold); margin-bottom: 6px; font-size: 12px; }
.atlas-ui .trade-card .py-3 { padding-block: 7px !important; }
.atlas-ui .trade-card .mb-4 { margin-bottom: 13px !important; }
.atlas-purchase-note { margin: 7px 0 0; color: var(--atlas-muted); font-size: 11px; }
.atlas-proof { font-size: 12px; }
.atlas-mobile-offer { display: none; }
.studio-shell { display: grid; grid-template-columns: minmax(150px, 17%) minmax(0, 1fr) minmax(190px, 22%); gap: 13px 20px; align-items: start; }
.studio-heading { grid-area: 1 / 2; margin: 0; }
.studio-eyebrow { color: var(--atlas-gold); text-transform: uppercase; letter-spacing: .11em; font-size: 10px; font-weight: 650; }
.studio-wallet-gate { padding: clamp(18px, 3vw, 34px); background: radial-gradient(ellipse at 0 0, #352d3d7d, #0b1521); }
.studio-wallet-gate > i { color: var(--atlas-gold); font-size: 25px; margin-bottom: 12px; }
.studio-wallet-gate h2 { font-family: var(--atlas-serif); font-size: 24px; }
.studio-wallet-gate p { color: var(--atlas-muted); max-width: 49ch; }
.studio-current-step { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; padding: 7px 0; border-bottom: 1px solid var(--atlas-line); }
.studio-current-step h2 { font-size: 18px; margin: 1px 0; }
.studio-current-step > div > small { color: var(--atlas-teal) !important; }
.studio-listing-card { background: linear-gradient(145deg, #211c32bd, #0b1622 55%); }
.studio-workspace { grid-area: 2 / 2; }
.studio-steps { grid-area: 1 / 1 / 3; }
.studio-preview { grid-area: 1 / 3 / 3; }
.studio-steps, .studio-preview { position: sticky; top: 77px; }
.studio-steps { display: flex; flex-direction: column; gap: 18px; padding: 17px 12px; min-height: 65vh; }
.studio-steps button { display: flex; gap: 10px; background: none; border: 0; color: var(--atlas-muted); text-align: left; padding: 0; align-items: start; }
.studio-steps button strong, .studio-steps button small { display: block; }
.studio-steps button small { font-size: 11px; line-height: 1.25; margin-top: 4px; }
.studio-steps button[aria-current=step] { color: var(--atlas-gold); }
.studio-step-number { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--atlas-line); flex: 0 0 auto; }
.studio-step-mobile { display: none; }
.studio-steps [aria-current=step] .studio-step-number { background: var(--atlas-gold); color: #211304; border-color: var(--atlas-gold); }
.studio-steps .completed .studio-step-number { color: var(--atlas-teal); border-color: var(--atlas-teal); }
.studio-manage { text-decoration: none; color: var(--atlas-gold) !important; }
.studio-steps .studio-manage { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--atlas-line); }
.studio-preview { display: grid; gap: 10px; }
.studio-workspace .card { background: transparent; }
.studio-workspace .studio-basics { border: 1px solid var(--atlas-line); background: #0b152170; }
.studio-workspace .studio-basics > .card-header { display: none; }
.studio-workspace .card-body { padding: 14px; }
.studio-workspace textarea { min-height: 95px; }
.studio-coordinate-picker { padding: 10px 12px; }
.studio-coordinate-picker summary { cursor: pointer; font-weight: 600; color: var(--atlas-gold); }
.studio-coordinate-picker p { margin: 10px 0; font-size: 12px; }
.studio-coordinate-picker .atlas-map { height: clamp(182px, 29vw, 285px); min-height: 0; background: #081320; border-radius: 8px; }
.studio-coordinate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.studio-workspace .invalid-feedback { display: none !important; }
.studio-workspace .is-invalid ~ .invalid-feedback,
.studio-workspace .was-validated :invalid ~ .invalid-feedback { display: block !important; }
.studio-preparation { display: grid; gap: 10px; margin: 12px 0; }
.studio-preparation > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 1px dashed var(--atlas-line); border-radius: 8px; padding: 10px 12px; }
.studio-preparation small { grid-column: 1; }
.studio-preparation :is(button,.atlas-tag) { grid-column: 2; grid-row: 1 / span 2; }
.studio-workspace .dropzone { border: 1px dashed #bc935c75; border-radius: 8px; padding: 14px; text-align: center; cursor: pointer; background: #0a1722; }
.studio-workspace .dropzone > i { color: var(--atlas-gold); margin-bottom: 5px; }
.studio-workspace .upload-progress { display: none; }
.studio-actions { display: flex; gap: 9px; align-items: center; justify-content: end; flex-wrap: wrap; border-top: 1px solid var(--atlas-line); padding-top: 12px; }
.studio-actions [role=status] { color: var(--atlas-teal); margin-right: auto; font-size: 12px; }
.atlas-button:disabled { opacity: .45; cursor: not-allowed; }
.studio-confirm { display: flex; gap: 9px; align-items: start; margin: 12px 0; }
.studio-confirm input { margin-top: 4px; accent-color: var(--atlas-gold); }
.atlas-ui.atlas-portfolio .main-content .profile-container { background: transparent !important; width: min(100%, 1510px); max-width: 100% !important; padding: 22px !important; }
.atlas-ui.atlas-portfolio .main-content .profile-header { background: transparent !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 12px !important; }
.atlas-ui.atlas-portfolio .profile-header h1 { font-size: clamp(33px, 4.4vw, 61px); }
.atlas-portfolio-tagline { margin: 0 0 5px; color: var(--atlas-muted); }
.atlas-ui.atlas-portfolio .profile-header .wallet-info { background: #0d1926 !important; border: 1px solid var(--atlas-line); margin-top: 10px !important; padding: 9px 12px !important; }
.atlas-ui.atlas-portfolio .profile-header .wallet-address { background: none !important; padding: 0 !important; font-size: 13px !important; }
.atlas-ui.atlas-portfolio .main-content .stats-grid { display: flex !important; overflow-x: auto; gap: 0 !important; margin-bottom: 15px !important; border: 1px solid #b18b6159; border-radius: 12px; background: linear-gradient(140deg, #252336, #0c1924 48%, #1b202f); box-shadow: inset 0 1px #f6ca8c2c; }
.atlas-ui.atlas-portfolio .main-content .stat-card { flex: 1 0 auto; background: transparent !important; border: 0 solid var(--atlas-line) !important; border-inline-end-width: 1px !important; box-shadow: none !important; padding: 9px 14px !important; border-radius: 0 !important; }
.atlas-ui.atlas-portfolio .main-content .stat-card:last-child { border-inline-end-width: 0 !important; }
.atlas-ui.atlas-portfolio .main-content .stat-card:hover { transform: none !important; }
.atlas-ui.atlas-portfolio .main-content .stat-value { color: var(--atlas-gold) !important; font-size: 23px !important; }
.atlas-ui.atlas-portfolio .main-content .stat-label, .atlas-ui.atlas-portfolio .main-content .profile-card h5 { color: var(--atlas-text) !important; }
.atlas-ui.atlas-portfolio .main-content .profile-tabs { display: flex !important; overflow-x: auto; background: transparent !important; box-shadow: none !important; padding: 0 !important; border-bottom: 1px solid var(--atlas-line); margin-bottom: 14px !important; }
.atlas-ui.atlas-portfolio .main-content .profile-tab { background: none !important; color: var(--atlas-muted) !important; box-shadow: none !important; white-space: nowrap; border-radius: 0 !important; }
.atlas-ui.atlas-portfolio .main-content .profile-tab.active { color: var(--atlas-gold) !important; border-bottom: 2px solid var(--atlas-gold) !important; }
.atlas-ui.atlas-portfolio .main-content .profile-card { background: #0a1622 !important; border: 1px solid var(--atlas-line); box-shadow: none !important; padding: 12px !important; }
.atlas-portfolio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 26%); gap: 13px; align-items: start; }
.atlas-portfolio-grid .atlas-table { min-width: 540px; }
.atlas-portfolio-grid .atlas-table small { display: block; }
.atlas-holding-identity { display: flex; gap: 9px; align-items: center; }
.atlas-holding-identity img.atlas-thumb { flex: none; width: 39px; height: 39px; border-radius: 50%; }
.atlas-activity-list { padding: 0; margin: 12px 0; list-style: none; }
.atlas-activity-list li { padding: 8px 0; border-bottom: 1px solid var(--atlas-line); display: grid; }
.atlas-activity-list li a { font-size: 12px; }
.atlas-allocation { padding: 12px; margin-bottom: 12px; }
.atlas-allocation-items { display: flex; gap: 10px; overflow-x: auto; }
.atlas-allocation-items > div { flex: 1 0 110px; }
.atlas-allocation-items small { display: block; }
.atlas-ui.atlas-portfolio #assets-tab .btn-outline-primary { color: var(--atlas-gold) !important; background: transparent !important; border: 1px solid var(--atlas-line) !important; }
.atlas-ui.atlas-portfolio .profile-tab { border: 0; }
.atlas-ui.atlas-portfolio .profile-card .badge.bg-light { background: #152433 !important; color: var(--atlas-muted) !important; }
.atlas-ui.atlas-portfolio .profile-card h5 i { color: var(--atlas-gold) !important; }
.atlas-ui.atlas-portfolio .profile-card .alert { background: #111e2a; color: var(--atlas-text); border-color: var(--atlas-line); }
.atlas-commission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.atlas-commission-grid > div { padding: 11px 7px; text-align: center; overflow-wrap: anywhere; }
.atlas-commission-grid > div > div:first-child { color: var(--atlas-gold); font-size: clamp(14px, 4vw, 24px) !important; }
.atlas-commission-grid > div > div:last-child { color: var(--atlas-muted); font-size: 12px !important; }
.atlas-ui .asset-list-page :is(.card,.bg-light) { background: var(--atlas-panel) !important; border-color: var(--atlas-line); color: var(--atlas-text); }
.atlas-ui .asset-list-page .card-img-top { object-fit: cover; }
.atlas-ui .asset-list-page .card h5 { color: var(--atlas-text); overflow-wrap: anywhere; }
.atlas-ui .asset-list-page .card [class*="text-gray"] { color: var(--atlas-muted); }
.atlas-ui .news-detail-page { background: none; }
.atlas-ui .news-detail-page::before { display: none; }
.atlas-ui .news-detail-page :is(.news-card,.news-summary,.news-body blockquote,.news-body code,.news-body th,.news-recommendations a) { background: var(--atlas-panel); border-color: var(--atlas-line); }
.atlas-ui .news-detail-page :is(.news-title,.news-body,.news-body :is(h1,h2,h3,h4,h5,h6,strong,b,th),.news-recommendations h4) { color: var(--atlas-text); }
.atlas-ui .news-detail-page :is(.back-button,.share-button,.news-body a,.tag) { color: var(--atlas-gold); }
.atlas-ui .news-detail-page :is(.news-date,.news-summary,.news-tags-title,.news-recommendations p) { color: var(--atlas-muted); }
.atlas-ui .news-detail-page .recommendation-title { color: var(--atlas-text); }
.atlas-ui .news-detail-page .news-title { background: none; -webkit-text-fill-color: currentColor; }
.atlas-ui .news-detail-page :is(.news-card,.back-button) { animation: none; }
.atlas-ui .news-detail-page .news-category { background: #2e2434; color: var(--atlas-gold); }
.atlas-ui .news-detail-page .news-image-placeholder { height: clamp(112px, 24vw, 190px); background: linear-gradient(135deg, #141f2d, #211c31); color: var(--atlas-gold); }
.atlas-ui .news-detail-page .news-header--no-cover { height: auto; }
.atlas-ui .news-detail-page .news-header--no-cover::after { display: none; }
.atlas-ui .dividend-page { --primary-gradient: linear-gradient(145deg,#24243b,#132333); --success-gradient: #10312e; --warning-gradient: #302630; background: none; min-height: 0; }
.atlas-dividend-breadcrumb { margin-bottom: 12px; border-bottom: 1px solid var(--atlas-line); }
.atlas-dividend-breadcrumb .btn { padding-left: 0; }
.atlas-ui .dividend-page :is(.glass-card,.info-panel,.table-modern thead,.input-group-text,.bg-light) { background: var(--atlas-panel) !important; color: var(--atlas-text) !important; border-color: var(--atlas-line) !important; }
.atlas-ui .dividend-page .glass-card { border: 1px solid var(--atlas-line); border-radius: 11px; overflow: hidden; }
.atlas-ui .dividend-page :is(.glass-card:hover,.btn-modern:hover) { transform: none; box-shadow: none; }
.atlas-ui .dividend-page .info-panel { background: #151d2e !important; border-bottom: 1px solid var(--atlas-line); }
.atlas-ui .dividend-page .info-panel::before { display: none; }
.atlas-ui .dividend-page .stats-card::before { height: 2px; background: #bc8d57 !important; }
.atlas-ui .dividend-page .icon-wrapper { color: var(--atlas-gold); margin-bottom: 0; flex-shrink: 0; }
.atlas-ui .dividend-page :is(.form-control-modern,.form-control-modern:focus) { background: #0a131f; color: var(--atlas-text); border-color: #78644780; padding: 10px; }
.atlas-ui .dividend-page .form-control-modern::placeholder { color: var(--atlas-muted); }
.atlas-ui .dividend-page :is(.alert-modern,.alert) { background: #111e2a; color: var(--atlas-text); border-color: var(--atlas-line); }
.atlas-ui .dividend-page .btn-modern { background: var(--atlas-gold); color: #170f08; }
.atlas-ui .dividend-page .table-responsive { overflow-x: auto; }
.atlas-ui .dividend-page .fade-in-up { animation: none; }
.atlas-edit-workspace { max-width: 960px; }
.atlas-edit-workspace #walletAlert { border: 1px solid var(--atlas-line); border-radius: 9px; padding: 12px; color: var(--atlas-gold); background: #30242b; }
.atlas-edit-workspace #walletAlert svg { width: 18px; height: 18px; }
.atlas-edit-workspace #editForm { padding: clamp(12px, 2vw, 24px); background: var(--atlas-panel) !important; border: 1px solid var(--atlas-line); border-radius: 10px; }
.atlas-edit-workspace .hidden { display: none !important; }
.atlas-edit-workspace form :is(input, select, textarea) { display: block; width: 100%; min-width: 0; color: var(--atlas-text); background: #08141f !important; border: 1px solid var(--atlas-line) !important; border-radius: 6px; }
.atlas-edit-workspace form :is(h3,label) { margin-top: 12px; color: var(--atlas-text); }
.atlas-edit-workspace #currentImages img { max-width: 128px; border-radius: 7px; }
.atlas-edit-workspace #submitButton { background: var(--atlas-gold); color: #170f08 !important; }
@media (min-width: 861px) {
    .atlas-ui.atlas-portfolio .main-content .profile-container { display: grid !important; grid-template-columns: minmax(230px, 34%) minmax(0, 1fr); gap: 8px 15px; align-content: start; }
    .atlas-ui.atlas-portfolio .main-content .stats-grid { align-self: start; margin-top: 3px; }
    .atlas-ui.atlas-portfolio .main-content .profile-tabs, .atlas-portfolio-grid { grid-column: 1 / -1; }
    .atlas-ui.atlas-portfolio .profile-header .fa-user-circle { display: none; }
}
@media (max-width: 1100px) {
    .atlas-ui .navbar > .container { gap: 24px; }
}
@media (max-width: 860px), (max-width: 1100px) and (hover: none) and (pointer: coarse) {
    body.atlas-ui {
        --atlas-safe-top: env(safe-area-inset-top, 0px);
        --atlas-safe-right: env(safe-area-inset-right, 0px);
        --atlas-safe-bottom: env(safe-area-inset-bottom, 0px);
        --atlas-safe-left: env(safe-area-inset-left, 0px);
        --atlas-top-height: calc(56px + var(--atlas-safe-top));
        --atlas-dock-height: calc(56px + var(--atlas-safe-bottom));
    }
    .atlas-ui .navbar { height: var(--atlas-top-height); padding: calc(8px + var(--atlas-safe-top)) 0 8px; }
    .atlas-ui .navbar > .container { display: block; padding: 0 max(14px, var(--atlas-safe-right)) 0 max(14px, var(--atlas-safe-left)); }
    .atlas-ui .navbar .navbar-brand { display: inline-flex; min-height: 40px; align-items: center; font-size: 20px; }
    .atlas-ui .navbar .navbar-collapse { display: block !important; width: 100%; }
    .atlas-ui .navbar-nav, .atlas-ui .wallet-portfolio-link { display: none !important; }
    .atlas-nav-actions { position: absolute; right: max(14px, var(--atlas-safe-right)); top: calc(8px + var(--atlas-safe-top)); }
    .atlas-ui #walletBtnText { display: inline; }
    .atlas-ui .main-content { min-height: calc(100dvh - 152px) !important; }
    .atlas-ui { padding-bottom: var(--atlas-dock-height); }
    .atlas-dock { display: grid; position: fixed; z-index: 1019; inset: auto 0 0; grid-template-columns: repeat(5, minmax(0, 1fr)); height: var(--atlas-dock-height); padding: 4px max(5px, var(--atlas-safe-right)) calc(4px + var(--atlas-safe-bottom)) max(5px, var(--atlas-safe-left)); background: #09111b; border-top: 1px solid var(--atlas-line); }
    .atlas-dock a { display: grid; place-items: center; gap: 3px; min-height: 43px; text-decoration: none; color: var(--atlas-muted); font-size: 11px; }
    .atlas-dock i { font-size: 18px; }
    .atlas-dock a.active { color: var(--atlas-gold); }
    .atlas-shell { padding: 17px 12px; }
    .atlas-home .main-content { min-height: 0 !important; }
    .atlas-home .atlas-shell { padding: 0; display: flex; flex-direction: column; min-height: calc(100dvh - var(--atlas-top-height) - var(--atlas-dock-height)); }
    .atlas-hero { flex: 1 0 auto; display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
    .atlas-hero-copy { padding: 13px max(13px, var(--atlas-safe-right)) 5px max(13px, var(--atlas-safe-left)); }
    .atlas-hero-copy h1 { font-size: clamp(31px, 6.4vw, 52px); margin-bottom: 7px; }
    .atlas-hero-copy > p { font-size: 12px; margin-bottom: 9px; }
    .atlas-hero-note, .atlas-hero-evidence { display: none; }
    .atlas-hero .atlas-map { position: relative; inset: auto; flex: 1 0 auto; height: auto; min-height: clamp(182px, min(54vw, 32dvh), 365px); background: radial-gradient(ellipse at 56% 44%, #102a3d6b, transparent 68%); }
    .atlas-hero .atlas-map-tools { left: max(8px, var(--atlas-safe-left)); right: auto; bottom: 15px; }
    .atlas-map-tools button { min-width: 36px; min-height: 36px; }
    .atlas-pin-expanded .atlas-pin-image { width: 32px; height: 32px; }
    .atlas-home-data { position: sticky; z-index: 4; bottom: var(--atlas-dock-height); margin-top: auto; padding: 0 max(6px, var(--atlas-safe-right)) 0 max(6px, var(--atlas-safe-left)); background: #091622; }
    .atlas-home-data .atlas-categories { position: relative; inset: auto; width: 100%; margin: 0; }
    .atlas-categories { flex-direction: row; overflow-x: auto; padding: 4px; scrollbar-width: thin; border-radius: 10px; }
    .atlas-categories button { padding: 8px; flex-shrink: 0; }
    .atlas-categories button small { display: none; }
    .atlas-discovery, .atlas-market-layout, .atlas-secondary-hero { display: grid; grid-template-columns: minmax(0, 1fr); }
    .atlas-discovery { gap: 8px; }
    .atlas-discovery .atlas-map { height: clamp(225px, 68vw, 420px); }
    .atlas-ticker { padding: 0 3px; margin-top: 3px; border-radius: 7px; }
    .atlas-section-head { padding: 5px 8px; }
    .atlas-section-head h2, .atlas-section-head time { font-size: 11px; }
    .atlas-section-head small { display: none; }
    .atlas-ticker-cell { min-width: 100px; flex-basis: 25%; padding: 5px; gap: 3px; }
    .atlas-ticker-cell .atlas-thumb { width: 26px; height: 26px; }
    .atlas-ticker-name { min-height: 35px; }
    .atlas-ticker-name strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
    .atlas-ticker-name small { display: none; }
    .atlas-ticker-name .atlas-tag { font-size: 8px; padding: 1px 4px; }
    .atlas-ticker-price, .atlas-ticker-supply { grid-column: 1 / -1; }
    .atlas-ticker-price { font-size: 16px; }
    .atlas-ticker-supply small { font-size: 9px; }
    .atlas-home-data .atlas-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(84px, 1.4fr) repeat(2, minmax(0, 1fr)); padding: 3px 0; }
    .atlas-home-data .atlas-stat { flex-direction: column; text-align: center; padding: 3px 2px; gap: 2px; }
    .atlas-home-data .atlas-stat i { font-size: 14px; }
    .atlas-home-data .atlas-stat strong { font-size: clamp(12px, 3.2vw, 18px); }
    .atlas-home-data .atlas-stat:nth-child(3) strong { font-size: clamp(10px, 2.7vw, 16px); overflow-wrap: anywhere; }
    .atlas-home-data .atlas-stat small { line-height: 1.12; text-wrap: balance; }
    .atlas-market-switch { display: flex; gap: 8px; border-bottom: 1px solid var(--atlas-line); padding-bottom: 8px; margin-bottom: 14px; }
    .atlas-market-switch a { padding: 7px 10px; color: var(--atlas-muted); text-decoration: none; }
    .atlas-market-switch a[aria-current=page] { color: var(--atlas-gold); border-bottom: 1px solid var(--atlas-gold); }
    .atlas-stat { padding: 8px 11px; gap: 6px; }
    .atlas-stat strong { font-size: 18px; }
    .atlas-stat small { font-size: 9px; }
    .atlas-secondary-hero { padding: 18px 0; min-height: auto; }
    .atlas-secondary-hero .atlas-map { inset: 0 0 auto; height: 250px; opacity: .5; }
    .atlas-detail-grid, .atlas-portfolio-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .atlas-detail-grid { grid-template-areas: "gallery" "offer" "info"; }
    .atlas-detail-overview { grid-template-columns: minmax(0, 1fr); }
    .atlas-detail .asset-detail-page #assetImages { height: clamp(150px, 51vw, 245px) !important; }
    .atlas-detail-heading { align-items: start; width: 100%; }
    .atlas-detail-heading .btn { font-size: 0; padding: 6px; }
    .atlas-detail-heading .btn i { font-size: 13px; margin: 0 !important; }
    .atlas-detail-stats div { padding: 6px 7px; font-size: 11px; }
    .atlas-purchase-rail { scroll-margin-top: calc(var(--atlas-top-height) + 8px); position: static; }
    .atlas-mobile-offer { display: flex; position: fixed; left: 8px; right: 8px; bottom: var(--atlas-dock-height); z-index: 1018; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: 8px; }
    .atlas-mobile-offer small { display: block; font-size: 10px; }
    .atlas-detail { padding-bottom: calc(113px + env(safe-area-inset-bottom)); }
    .studio-shell { display: flex; flex-direction: column; gap: 12px; }
    .studio-shell > * { width: 100%; min-width: 0; }
    .studio-heading { order: 0; }
    .studio-steps { order: 1; position: static; flex-direction: row; justify-content: space-between; min-height: 0; gap: 5px; overflow-x: auto; padding: 7px; }
    .studio-steps button { align-items: center; white-space: nowrap; gap: 3px; }
    .studio-step-desktop, .studio-steps .studio-manage { display: none; }
    .studio-step-mobile { display: inline; font-size: 10px; }
    .studio-step-number { width: 21px; height: 21px; font-size: 11px; }
    .studio-preview { order: 2; position: static; }
    .studio-preview > section:first-child { display: grid; grid-template-columns: 94px minmax(0, 1fr); column-gap: 10px; }
    .studio-preview > section:first-child h2 { grid-column: 1 / -1; }
    .studio-preview .atlas-feature-image { grid-row: 2 / span 3; height: 70px; }
    .studio-preview .atlas-tag { justify-self: start; }
    .studio-preview .atlas-feature h3, .studio-preview .atlas-feature p { margin: 0; }
    .studio-preview > [data-studio-checklist] { display: none; }
    .studio-workspace { order: 3; }
    .studio-workspace .row > .col-md-6 { flex: 0 0 auto; width: 50%; }
    .studio-actions { position: sticky; bottom: var(--atlas-dock-height); z-index: 3; background: #08111c; padding: 8px 0; }
    .studio-actions .atlas-button { padding: 7px 9px; font-size: 12px; }
    .atlas-ui.atlas-portfolio .main-content .profile-container { padding: 14px !important; }
    .atlas-ui.atlas-portfolio .main-content .stats-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; overflow: hidden; }
    .atlas-ui.atlas-portfolio .main-content .stat-card { min-width: 0; padding: 7px 4px !important; }
    .atlas-ui.atlas-portfolio .main-content .stat-value { font-size: clamp(13px, 3.68vw, 20px) !important; overflow-wrap: anywhere; margin-bottom: 2px !important; }
    .atlas-ui.atlas-portfolio .main-content .stat-label { font-size: 11px !important; line-height: 1.2; }
    .atlas-allocation-items > div { flex-basis: 88px; overflow-wrap: anywhere; }
    .atlas-ui .dividend-page .atlas-dividend-summary > div { flex: 1 1 0; min-width: 0; }
    .atlas-ui .dividend-page .stats-card { padding: 9px 7px !important; }
    .atlas-ui .dividend-page .stats-card .icon-wrapper { display: none; }
    .atlas-ui .dividend-page .stats-card h3 { font-size: 16px; overflow-wrap: anywhere; }
    .atlas-ui .dividend-page .stats-card h6 { font-size: 11px; }
    .atlas-ui .dividend-page .info-panel { padding: 13px; }
    .atlas-primary .atlas-table tbody tr { height: auto; }
    .atlas-primary .atlas-thumb { width: 58px; height: 42px; }
    .atlas-secondary-status { grid-template-columns: 1fr; }
}
@media (max-height: 560px) and (max-width: 860px), (max-height: 560px) and (max-width: 1100px) and (hover: none) and (pointer: coarse) {
    .atlas-home-data { position: static; }
}
@media (max-width: 343px) {
    .atlas-ui #walletBtnText { display: none; }
    .atlas-ui.atlas-portfolio .main-content .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
