/* haggle's look (15 Nov 2026), the hybrid the user means: the glass panels of the first (game) concept over a darker, still
   light without any yellow (canvas.backdrop, drawn once in app.js), white accents as in the all-dark concept, and the new
   structure (menu as words on the left, the account at the top right, four tiles). Gold stays only in the logo, the
   current menu word and the trading dot. Loaded last, over app.css and account.css.
   Spacing on one scale: 4 8 12 16 24 32 48. Type on one scale: 12 13 14 16 20 28 64. Nothing moves unless asked. */
:root{--mark:var(--text);--bg:#0d0d0c;--tile:#16151480;--tile-solid:#1a1918;--tile-edge:#ffffff1c;--hair:#ffffff12;--hair-strong:#ffffff24;--row-hover:#ffffff06;
 --up:#8fd3a6;--accent-text:#ffbf47;--muted:#b0ada5;--line-ink:#e9e5dc;--bar:#e9e5dc;
 --btn-fill:#3a2c12;--btn-fill-hover:#4a3816;--btn-edge:#6b5121;--btn-edge-hover:#8c6a2a;--btn-ink:#ffbf47}
:root[data-theme=light]{--bg:#ececea;--tile:#ffffffa6;--tile-solid:#fbfbfa;--tile-edge:#0000001a;--text:#1d1f1c;--secondary:#4c4f49;--muted:#5d605a;
 --hair:#00000012;--hair-strong:#00000024;--row-hover:#00000005;--up:#26693f;--accent-text:#7a4f04;--line-ink:#2a2c28;--bar:#2a2c28;
 --btn-fill:#fbe9c4;--btn-fill-hover:#f8dfa8;--btn-edge:#e2b55c;--btn-edge-hover:#cf9c35;--btn-ink:#5a3d06}
body{background:var(--bg)}
/* The light: a canvas fixed behind everything, painted once per window size and theme; nothing moves in it. */
.backdrop{position:fixed;inset:0;width:100vw;height:100vh;z-index:-1;pointer-events:none;display:block}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Tiles are the game's glass: a see-through dark fill and a thin light edge, no blur (MenuWidgets.Glass). */
.card{background:var(--tile);border:1px solid var(--tile-edge);border-radius:16px;box-shadow:0 24px 48px -28px #000000b3}
:root[data-theme=light] .card{box-shadow:0 12px 32px -24px #0000004d}
.session-card{background:var(--tile)}

/* One accent. Green stays only as the sign of money. */
.green{color:var(--up)}
.dot.active,.game-hud-status .dot.active{background:var(--accent);box-shadow:none;animation:none}
.pill,.pill.green,.pill.gray{background:none;padding:0;color:var(--secondary);font-size:13px}
.pill.green::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.plan-badge,.plan-badge.green{color:var(--muted);border:0;background:none;padding:0}
.item-name.legendary,.item-name.rare,.item-name.uncommon,.item-name.epic,.item-name.mythic,.item-name.special{color:var(--text)}
.order-progress{background:var(--hair-strong)}
.order-progress i,.order-progress.buy i{background:var(--bar)}
.status-label,.status-label.secondary{color:var(--muted)}
.status-label.green,.status-label.amber{color:var(--text)}
.status-label .dot{background:currentColor}
.avatar{background:none;border:1px solid var(--hair-strong);color:var(--text)}
.side-plan.green,.side-plan{color:var(--muted)}

/* Buttons: the main one is solid ink (light on dark, dark on light), the rest are words with a thin edge. No gold. */
.primary-button,.quiet-button{border:1px solid var(--hair-strong);border-radius:8px;transition:border-color .15s ease-out,background-color .15s ease-out,color .15s ease-out}
/* The main button is solid ink: light on dark, dark on light. */
.primary-button{background:var(--text);border-color:var(--text);color:var(--bg);font-weight:600}
.primary-button:hover{background:var(--secondary);border-color:var(--secondary)}
.quiet-button{background:none;color:var(--text)}
.quiet-button:hover{background:var(--row-hover);border-color:var(--secondary)}
input,select,textarea{background:var(--bg);border-color:var(--tile-edge)}
.segments{border:0;padding:0;gap:16px}
.segments button{padding:4px 0;border-radius:0;color:var(--muted);transition:color .15s ease-out}
.segments button:hover{color:var(--text)}
.segments button.on{background:none;color:var(--text);box-shadow:inset 0 -2px 0 var(--mark)}
.text-button:hover,.view-link:hover{color:var(--text)}
.round-count,.nav-count{background:none;padding:0;color:var(--muted)}

/* The menu, as on the title screen: the logo, the bot you watch, the sections as words; account, theme and home at the foot. */
/* Top right: what the bot does, then the account (face, name, purse); with two accounts or more it opens the switcher. */
/* Top: on the left what the bot does and how fresh the prices are, on the right the account. */
.topbar{height:auto;border-bottom:0;padding:0 0 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.topbar-left{display:flex;align-items:center;gap:24px;min-width:0}
.market-age{font-size:14px;color:var(--muted);white-space:nowrap;padding-left:24px;border-left:1px solid var(--hair-strong)}
.topbar-right{display:flex;align-items:center;gap:24px;margin-left:auto}
.bot-status{display:flex;align-items:center;gap:10px;font-size:16px;color:var(--secondary);white-space:nowrap}
.bot-status b{font-weight:600;color:var(--text)}
.bot-status .dot{width:8px;height:8px}
/* On the overview the Now tile says what the bot does; the top bar does not repeat it there. */
.bot-card-wrap{position:relative}
.bot-card{display:flex;align-items:center;gap:12px;padding:0;background:none;border:0;color:var(--text);text-align:left}
button.bot-card{cursor:pointer}
.bot-card .avatar{width:36px;height:36px;border-radius:9px;font-size:15px;flex:none}
.bot-name{display:flex;flex-direction:column;gap:2px;font-size:14px;font-weight:600}
.bot-name small{font-size:12px;font-weight:400;color:var(--secondary);white-space:nowrap}
.bot-sep{font-style:normal}
.bot-card>.icon{width:16px;height:16px;color:var(--muted)}
.bot-card-wrap .switcher{right:0;left:auto;top:calc(100% + 8px);width:300px;background:var(--tile-solid);border-color:var(--tile-edge);box-shadow:0 16px 40px #0006}
.side-theme{display:flex;align-items:center;gap:11px;padding:8px 12px;color:var(--secondary);font-size:13px;border-radius:8px}
.side-theme:hover{color:var(--text)}
@media(min-width:1181px){
 :root{--sidebar-width:264px}
 .sidebar{background:none;border-right:1px solid var(--hair);padding:40px 32px 32px;gap:0}
 .brand{padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid var(--hair-strong)}
 .brand small{display:none}
 .side-nav{gap:4px}
 .side-nav a{padding:6px 0;border-radius:0;background:none!important;font-size:20px;font-weight:600;letter-spacing:-.01em;color:var(--secondary);transition:color .15s ease-out}
 .side-nav:not(.side-foot) a>.icon{display:none}
 .side-nav a:hover{color:var(--text)}
 .side-nav a[aria-current=page]{color:var(--accent-text)}
 .side-nav a[aria-current=page]::after{content:"→";font-weight:400;margin-left:12px}
 .nav-count{margin-left:8px;font-size:13px;font-weight:400}
 .side-foot{margin-top:auto;border-top:1px solid var(--hair-strong);padding-top:16px;gap:0}
 .side-foot a,.side-foot .side-me,.side-foot .side-theme{padding:6px 0;font-size:14px;font-weight:400;margin:0;background:none!important;color:var(--secondary)}
 .side-foot a:hover,.side-foot .side-me:hover,.side-foot .side-theme:hover{color:var(--text)}
 .side-me::after{display:none}
 .side-me .side-plan{display:inline;margin-left:6px}
 .side-me .nav-text{display:flex;align-items:baseline}
 .side-foot .icon{display:block;width:16px;height:16px}
 .side-foot a::after{content:none!important}
}
@media(max-width:1180px) and (min-width:731px){
 .sidebar{background:none;border-right:1px solid var(--hair)}
 .side-theme{justify-content:center;padding:11px 15px}.side-theme .nav-text{display:none}
}
@media(max-width:730px){
 .sidebar{background:none;border-bottom-color:var(--hair);flex-wrap:wrap}
 .side-foot{display:flex;flex-direction:row;gap:0;order:3}
 .side-foot a[aria-label=Home]{display:none}
 .side-theme .nav-text{display:none}.side-theme{padding:8px}
 .topbar{padding-bottom:16px}
 .topbar-left{display:none}
 .topbar-right{width:100%;justify-content:space-between;gap:12px}
}
.workspace{padding-top:40px}
/* The page uses the screen's width beside the menu (up to 1680 px), starting right at the menu instead of floating in the middle. */
@media(min-width:1181px){.workspace{max-width:1680px;justify-self:start;padding-left:48px;padding-right:48px}}
@media(max-width:730px){
 .workspace{padding-top:16px}
 .page-tools{flex-wrap:wrap}
 .page-tools .search-box{flex:1 1 100%;min-width:0}
 .full-table{padding:4px 16px 12px;overflow-x:auto}
 #order-results .orders-table{min-width:0}
 #order-results .orders-table th:nth-child(3),#order-results .orders-table td:nth-child(3){display:none}  /* the price waits in the row's details on a phone */
 .page-tabs{gap:24px}
}
.workspace-footer{border-top-color:var(--hair);font-size:12px}

/* The landing and the terms: the same ground and the same solid ink button as the site. */
.cta{background:var(--text);color:var(--bg);border-radius:8px}
.cta:hover{background:var(--secondary)}

/* Three themes (15 Nov 2026): Gold, the first concept everybody liked (the game's warm light, gold for the lines and the
   main buttons); Dark, the same glass with white accents and no warmth; Light. Gold is what a first visit sees. */
:root[data-theme=gold]{--mark:#ffbf47;--bg:#151412;--tile:#1412108f;--tile-solid:#1b1916;--tile-edge:#ffffff1f;--bar:#ffbf47;--line-ink:#ffbf47}
:root[data-theme=gold] .status-label.green,:root[data-theme=gold] .status-label.amber{color:var(--accent-text)}
:root[data-theme=gold] .primary-button,:root[data-theme=gold] .cta{background:var(--btn-fill);border-color:var(--btn-edge);color:var(--btn-ink);box-shadow:inset 0 0 0 1px var(--btn-edge)}
:root[data-theme=gold] .primary-button:hover,:root[data-theme=gold] .cta:hover{background:var(--btn-fill-hover);border-color:var(--btn-edge-hover)}
:root[data-theme=gold] #chart-fill stop{stop-opacity:.14}

/* Sign in and sign up: the logo on the flat ground, one tile, tabs underlined like the site's. */
.auth-top{height:auto;border-bottom:0;padding:32px 40px}
.auth-top .brand small{display:none}
.auth-wrap{min-height:calc(100vh - 120px)}
.auth-card{background:var(--tile)!important;border:1px solid var(--tile-edge);border-radius:16px;box-shadow:none;padding:32px}
.auth-card h1{font-size:28px;letter-spacing:-.02em}
.auth-card .segments{border-bottom:1px solid var(--hair-strong);gap:24px;justify-content:flex-start}
.auth-card .segments button{flex:none;padding:0 0 10px;font-size:15px;font-weight:600}
.auth-card .segments button.on{box-shadow:inset 0 -2px 0 var(--mark)}
.auth-card label{color:var(--secondary)}
.auth-card .seg-pill{display:none}  /* the sliding pill of the old tabs; the underline marks the tab now */
.auth-card input{height:44px}
@media(max-width:730px){.auth-top{padding:16px}.auth-card{padding:24px 20px}}

/* A page's head: its title and a line on what it holds; tabs under it when it has two views. */
.page-heading{padding:0 0 24px;align-items:flex-end}
.page-heading h1{font-size:32px;letter-spacing:-.02em}
.page-heading p{font-size:14px;color:var(--secondary);margin-top:6px}
.date-chip{display:none}
.page-tabs{display:flex;gap:32px;border-bottom:1px solid var(--hair-strong);margin:0 0 24px}
.page-tabs a{padding:0 0 12px;font-size:16px;font-weight:600;color:var(--muted);box-shadow:inset 0 -2px 0 transparent;transition:color .15s ease-out}
.page-tabs a:hover{color:var(--text)}
.page-tabs a[aria-current=page]{color:var(--text);box-shadow:inset 0 -2px 0 var(--mark)}
.page-tabs span{margin-left:8px;font-size:13px;font-weight:400;color:var(--muted)}
.page-tools{gap:16px}
.search-box{background:var(--tile);border-color:var(--tile-edge);border-radius:8px}
.full-table{padding:24px 24px 8px}
.full-table:has(>.history-table){padding-top:16px}  /* the head row carries its own room above */

/* A section with parts of its own (Account, Owner): the parts as a short menu on the left, the chosen part on the right. */
.sub-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px;align-items:start}
.sub-nav{display:flex;flex-direction:column;gap:2px;position:sticky;top:24px}
.sub-nav button{display:flex;align-items:center;justify-content:space-between;text-align:left;padding:10px 12px;border-radius:8px;font-size:14px;font-weight:500;color:var(--secondary);transition:background-color .15s ease-out,color .15s ease-out}
.sub-nav button:hover{color:var(--text);background:var(--row-hover)}
.sub-nav button.on{color:var(--text);background:var(--tile);box-shadow:inset 0 0 0 1px var(--tile-edge)}
.sub-nav button span{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}
.sub-body{min-width:0}
.sub-body .acc-off{display:none}
.account-col{max-width:none}
.quiet-button.red{color:var(--red);border-color:color-mix(in srgb,var(--red) 45%,transparent)}
@media(max-width:900px){
 .sub-layout{grid-template-columns:1fr;gap:16px}
 .sub-nav{position:static;flex-direction:row;overflow-x:auto;gap:4px;border-bottom:1px solid var(--hair-strong);padding-bottom:8px}
 .sub-nav button{white-space:nowrap}
}

/* The tiles: six columns. Today 4x2, Now 2x2; then In orders, Goal, Limit; then Open orders 4 and Latest sales 2. */
.bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:row dense;gap:16px;align-items:stretch}
.bento>*{padding:24px;margin:0;min-width:0}
.bento>.performance{grid-column:span 4;grid-row:span 2}
.bento>.session-card{grid-column:span 2;grid-row:span 2}
.bento>.strip-tile,.bento>.trades-tile{grid-column:1/-1}
/* One strip, three parts split by hairlines: what sits in orders, the goal, the day's limit. */
.strip-tile{display:grid;grid-template-columns:repeat(var(--parts,3),minmax(0,1fr));padding:0!important}
.strip-2{--parts:2}.strip-1{--parts:1}
.strip-tile>.card{background:none;border:0;border-radius:0;padding:24px;min-width:0}
.strip-tile>.card+.card{border-left:1px solid var(--hair-strong)}
/* The open orders beside the latest sales, split by a hairline. */
.trades-tile{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);padding:0!important}
.trades-tile>section{padding:24px;margin:0;min-width:0}
.trades-tile>.activity{border-left:1px solid var(--hair-strong);border-top:0}
/* Every tile opens with the same quiet label. */
.tile-label,.eyebrow,.session-label,.block-heading h2,.section-line h2{font-size:14px;font-weight:500;color:var(--secondary);letter-spacing:0}
.goal-top{margin-bottom:12px}

/* Today: the big number, the hour, the line, three small figures. */
.keys{display:grid;grid-template-columns:auto 1fr;column-gap:48px;align-items:baseline;row-gap:8px;margin-top:16px}
.keys-one{grid-template-columns:1fr}
.performance-value{display:block;margin:0;font-size:64px;line-height:1;font-weight:600;letter-spacing:-.03em}
.key-value{font-size:28px;line-height:1;font-weight:550;letter-spacing:-.02em;white-space:nowrap}
.key-value small{font-size:16px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:2px}
.key-label{font-size:14px;color:var(--muted)}
.key-label .hint{border-bottom:0}
.chart-shell{margin:24px 0 0;height:170px}
.chart-grid{stroke:var(--hair)}
.chart-line{stroke:var(--bar);stroke-width:2}
.chart-end{fill:var(--line-ink);stroke:none}
.chart-label{font-size:12px}
#chart-fill stop{stop-color:var(--bar);stop-opacity:.08}
.performance-bottom{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--hair);margin-top:16px;padding:16px 0 0}
.inline-stat{gap:4px}
.inline-stat small{font-size:13px}
.inline-stat strong{font-size:20px;font-weight:550;letter-spacing:-.01em}

/* Now: what the bot is doing, with the item it is on drawn large and sharp. */
.session-top{margin-bottom:16px}
.session-card h2{font-size:20px;letter-spacing:-.01em}
.session-card .reason{font-size:14px;min-height:0;margin:8px 0 16px}
.current-product{flex-direction:row;align-items:center;gap:16px;border:0;padding:12px 16px;margin:0;background:var(--row-hover);border-radius:12px}
.current-product .item-icon{width:48px;height:48px;filter:none}
/* What the bot does and for how long stands at the page's top left, so the card starts with the step itself. */
@media(min-width:731px){.session-card .session-top{display:none}}
.current-product .item-name{font-size:16px}
.session-metrics{margin:16px 0}
.session-metrics strong{font-size:20px;font-weight:550}
.session-foot{border-top-color:var(--hair)}
/* The session rate is a key number of Today; Now does not repeat it. */
.bento:has(.keys:not(.keys-one)) .session-pace{display:none}
/* Whether the player is in the game and the purse stand at the head of the menu; the tile does not repeat them. */
.bento .session-card .session-foot{display:none}

/* In orders, Goal, Limit: one figure each and a thin bar. */
.capital-tile .order-capital{display:grid;grid-template-columns:1fr 1fr;row-gap:12px;column-gap:16px;padding:0;margin:12px 0 0;border:0}
.capital-tile .order-capital-total{grid-column:1/-1}
.capital-tile .order-capital-total dt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}  /* the tile already says In orders */
.capital-tile .order-capital-total dd{font-size:28px}
.order-capital dd{font-size:16px}
.goal-title{font-size:20px;font-weight:600}
.goal-progress{gap:0;height:4px;border-radius:2px;margin:16px 0 8px;overflow:hidden;background:var(--hair-strong)}
.goal-progress span{border-radius:0;background:transparent}
.goal-progress span.done{background:var(--bar);box-shadow:1px 0 0 var(--bar)}  /* no seams between the 24 parts */
.goal-note{font-size:13px}
.limit-card .goal-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Open orders and Latest sales: rows with the item pictures large enough to know at a glance. */
.orders-panel .block-heading,.activity .section-line{margin:0 0 8px}
.orders-panel .orders-table th,.orders-panel .orders-table td{padding-left:0}
.orders-table th{border-bottom-color:var(--hair);padding-top:8px}
.orders-table td{border-bottom-color:var(--hair);padding-top:12px;padding-bottom:12px}
.orders-table .item-icon{width:32px;height:32px}
.orders-table tbody tr:hover td{background:var(--row-hover)}
.orders-table tbody tr td{transition:background-color .15s ease-out}
.activity-list{margin-top:0}
.activity-row{padding:10px 0;border-bottom:1px solid var(--hair)}
.activity-row:last-child{border-bottom:0}
.activity-row .item-icon{width:32px;height:32px}
.item-icon{image-rendering:pixelated;filter:none}

/* Nothing under 12px but the logo's tagline and key caps. */
.profile-sub,.side-plan,.orders-table th,.orders-table td,.order-side,.status-label,.session-metrics small,.session-foot,.hotkey,.round-count,.activity-copy small,.activity-row .when,.activity-row .amount,.goal-values,.item-sub{font-size:12px}
.activity-copy,.orders-table .item-name{font-size:14px}
kbd{font-size:11px}

@media(max-width:1180px){
 .bento{grid-template-columns:repeat(4,minmax(0,1fr))}
 .bento>.performance{grid-column:1/-1;grid-row:auto}
 .bento>.session-card{grid-column:1/-1;grid-row:auto}
 .trades-tile{grid-template-columns:1fr}
 .trades-tile>.activity{border-left:0;border-top:1px solid var(--hair-strong)}
}
@media(max-width:1000px){.keys{grid-template-columns:1fr;row-gap:4px}.keys>.key-label-main{grid-row:2;margin-bottom:12px}}
@media(max-width:730px){
 .bento{grid-template-columns:minmax(0,1fr)}
 .bento>*{grid-column:1/-1!important;grid-row:auto!important;padding:20px}
 .strip-tile{grid-template-columns:1fr}
 .strip-tile>.card+.card{border-left:0;border-top:1px solid var(--hair-strong)}
 .strip-tile>.card,.trades-tile>section{padding:20px}
 .performance-value{font-size:48px}
}
/* Fingers need 44px: on touch screens the small controls grow to it, the look stays. */
@media(pointer:coarse){
 .segments button,.text-button,.view-link,.primary-button,.quiet-button{min-height:44px}
 .icon-button,.side-nav a,.side-me{min-width:44px;min-height:44px;justify-content:center}
 .text-button,.segments button{min-width:44px;justify-content:center}
 .sidebar .brand{min-height:44px;align-items:center}
 .side-theme,.sub-nav button,.page-tabs a{min-height:44px}
 .side-theme{min-width:44px;justify-content:center}
 .search-box{min-height:44px}
 .search-box input{min-height:40px}
}
@media(prefers-reduced-motion:reduce){
 .primary-button,.quiet-button,.segments button,.side-nav a,.orders-table tbody tr td,.page-tabs a,.sub-nav button{transition:none}
}
/* The session card is as tall as Today beside it: Stop sits at its foot instead of in the middle. */
/* Today has the same room at its foot as at its head, wherever it stands (the tiles or All accounts). */
.performance{padding:24px}
@media(max-width:730px){.performance{padding:20px}}
/* The time under the chart sits halfway between the chart's base line and the line above the totals. */
.performance-bottom{margin-top:8px}
.bento .session-card{display:flex;flex-direction:column}
.bento .session-card .session-action{margin-top:auto}
/* Gold: the purse line sits on the brightest part of the light, so it is a step lighter. */
:root[data-theme=gold] .bot-name small{color:#d8d4cb}
/* All accounts: the accounts as rows in one tile beside Today (no cards inside a card), the latest sales across. */
.bento>.accounts-tile{grid-column:span 2;grid-row:span 2;display:flex;flex-direction:column}
.accounts-tile .tile-label{margin-bottom:8px}
.accounts-tile .account-card{background:none;border:0;border-radius:0;box-shadow:none;padding:16px 0;gap:12px;border-top:1px solid var(--hair-strong)}
.accounts-tile .account-card:first-of-type{border-top:0}
.accounts-tile .account-card:hover{border-color:var(--hair-strong)}
.accounts-tile .account-card:hover .account-name{color:var(--accent-text)}
.accounts-tile .account-stats small,.accounts-tile .account-limit small{font-size:12px;color:var(--muted)}
.accounts-tile .account-stats strong{font-size:16px}
.accounts-tile .account-pace{border-top:0;padding-top:0;display:flex;justify-content:space-between;align-items:baseline;font-size:13px}
.accounts-tile .account-pace strong{font-size:14px}
.trades-one{grid-template-columns:minmax(0,1fr)}
.trades-one>.activity{border-left:0}
@media(max-width:1180px){.bento>.accounts-tile{grid-column:1/-1;grid-row:auto}}
/* Profile: the email's buttons side by side. */
.acc-buttons{display:flex;flex-direction:column;gap:8px;align-items:stretch}
/* Phones: the account card sits on the left, so its menu opens to the right and never past the screen (21 Nov 2026). */
@media(max-width:730px){.bot-card-wrap .switcher{left:0;right:auto;width:min(300px,calc(100vw - 32px))}}
/* Account pages sit in the middle like Home and Checkout, not against the left edge (21 Nov 2026) */
.account-col{max-width:1060px;margin-inline:auto;width:100%}
/* Phone header (21 Nov 2026): row one is the logo and the sections; row two the account switcher on the left, theme and
account on the right, all centred on one line and the same size. The top bar's own copy of the switcher hides there. */
.side-bot{display:none}
@media(max-width:730px){
 .sidebar{align-items:center;row-gap:10px}
 .side-bot{display:block;order:3;flex:0 0 calc(100% - 100px);min-width:0}  /* row two: the switcher, then theme and account (80 px) */
 /* the switcher takes only the room left beside theme and account: purse and orders stack in two lines, never push them down */
 .side-bot .bot-card-wrap,.side-bot .bot-card{width:100%;min-width:0}
 .side-bot .bot-name{flex:0 1 auto;min-width:0}  /* the chevron stays right after the text */
 /* the gold theme's sun sits on a full-width horizon line that reads lower than the account icon: lift it to the same level */
 .side-foot .icon:has(use[href="#i-gold"]){transform:translateY(-2px)}
 .side-bot .bot-name,.side-bot .bot-name small,.side-bot .bot-orders{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .side-bot .bot-orders{display:block}
 .side-bot .bot-sep{display:none}
 .side-foot{order:4;align-items:center;gap:4px;margin:0;padding:0;border:0}
 .side-foot>*{display:grid!important;place-items:center;width:38px;height:38px;padding:0!important;border-radius:9px}
 .side-foot .nav-text{display:none}
 .topbar{display:none}
}
