/* La Forge du Temps — shared design system. Application geometry stays in page styles. */
html[data-lft-design] {
 --site-ui:Arial,Helvetica,sans-serif;--site-brand:Georgia,'Times New Roman',serif;--site-sidebar-width:236px;
 --site-bg:#f1f4f4;--site-panel:#fffef9;--site-soft:#e7eef1;--site-raised:#f5f7f6;--site-ink:#283b48;--site-muted:#536875;--site-border:#d6dfe0;
 --site-accent:#3c7397;--site-accent-hover:#2e5c7b;--site-on-accent:#fffef9;--site-dark:#172c3d;--site-dark-line:#344c5e;--site-dark-card:#233b4e;--site-dark-ink:#eef3f5;--site-dark-muted:#c1d0d7;
 --site-sale-bg:#e4edf1;--site-sale-ink:#37586c;--site-trade-bg:#eae8df;--site-trade-ink:#686148;
 --site-success:#316342;--site-success-bg:#e5f0e5;--site-danger:#943b36;--site-danger-bg:#f7e6e1;--site-warning:#805d27;--site-warning-bg:#f5ecd5;
}
html[data-lft-design][data-theme="boutique"] {
 --site-bg:#f5f4ee;--site-panel:#fffefa;--site-soft:#e7e4d7;--site-raised:#f0f1e8;--site-ink:#34392e;--site-muted:#58634d;--site-border:#d8ddcf;
 --site-accent:#4f683b;--site-accent-hover:#3d512e;--site-on-accent:#fffefa;--site-dark:#262d26;--site-dark-line:#454e40;--site-dark-card:#343d30;--site-dark-ink:#f3f2e9;--site-dark-muted:#c5ccb9;
 --site-sale-bg:#e9eee2;--site-sale-ink:#536e3f;--site-trade-bg:#eeeadb;--site-trade-ink:#77653c;
}
html[data-lft-design][data-theme="fire"] {
 --site-bg:#f6f0e7;--site-panel:#fffbf4;--site-soft:#eee2d2;--site-raised:#f8f2e8;--site-ink:#4b3225;--site-muted:#705a47;--site-border:#dfd0bd;
 --site-accent:#a3532d;--site-accent-hover:#874223;--site-on-accent:#fffbf4;--site-dark:#30231e;--site-dark-line:#574238;--site-dark-card:#443027;--site-dark-ink:#f4e8d7;--site-dark-muted:#d8bfa6;
 --site-sale-bg:#efe1cc;--site-sale-ink:#83562e;--site-trade-bg:#eadfdb;--site-trade-ink:#815148;
}
html[data-lft-design][data-theme] body:is([class],:not([class])) {
 --bg:var(--site-bg);--bg-1:var(--site-bg);--bg-2:var(--site-bg);--panel:var(--site-panel);--panel-2:var(--site-soft);
 --surface-1:var(--site-panel);--surface-2:var(--site-soft);--surface-3:var(--site-raised);--input-bg:var(--site-panel);
 --ink:var(--site-ink);--ink-strong:var(--site-ink);--text:var(--site-ink);--muted:var(--site-muted);--border:var(--site-border);--line:var(--site-border);
 --accent:var(--site-accent);--accent-dark:var(--site-accent-hover);--accent-ink:var(--site-on-accent);--wood:var(--site-accent);--wood-2:var(--site-accent-hover);
 --danger:var(--site-danger);--success:var(--site-success);--ok:var(--site-success);--warn:var(--site-warning);--bad:var(--site-danger);--h:var(--site-brand);--b:var(--site-ui);--heading-font:var(--site-brand);--primary-font:var(--site-ui);
 --radius:4px;--shadow-sm:0 3px 12px #18251c08;--shadow-md:0 8px 24px #18251c10;--shadow-lg:0 18px 45px #18251c24;
 --dict-copper:var(--site-accent);--dict-soft:var(--site-soft);--sell-copper:var(--site-accent);--sell-soft:var(--site-soft);--community-copper:var(--site-accent);--community-soft:var(--site-soft);
 --market-dark:var(--site-dark);--market-dark-line:var(--site-dark-line);--market-dark-ink:var(--site-dark-ink);--market-dark-muted:var(--site-dark-muted);--market-dark-card:var(--site-dark-card);
 --market-bg:var(--site-bg);--market-panel:var(--site-panel);--market-soft:var(--site-soft);--market-ink:var(--site-ink);--market-muted:var(--site-muted);--market-line:var(--site-border);
 --market-accent:var(--site-accent);--market-accent-hover:var(--site-accent-hover);--market-sale-bg:var(--site-sale-bg);--market-sale-ink:var(--site-sale-ink);--market-trade-bg:var(--site-trade-bg);--market-trade-ink:var(--site-trade-ink);
 background:var(--site-bg);color:var(--site-ink);font-family:var(--site-ui);color-scheme:light;height:auto;min-height:100vh;
}
html[data-lft-design] body:before,html[data-lft-design] body:after{display:none}
html[data-lft-design] body [hidden]{display:none!important}
html[data-lft-design] body :is(h1,h2,.sect-title,.auth-title,.hero-title,.mobileProfileName,.mobileTopBrandName){font-family:var(--site-brand);font-weight:400;letter-spacing:-.025em;text-shadow:none;color:var(--site-ink)}
html[data-lft-design] body :is(button,input,select,textarea,label){font-family:var(--site-ui)}
html[data-lft-design] body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--site-accent);outline-offset:3px}
html[data-lft-design] body :is(.btn,.button,.hero-btn,.auth-submit,.go-to-cart-btn){border-radius:3px;box-shadow:none;text-shadow:none}
html[data-lft-design][data-theme] body :is(.btn.primary,.auth-submit,.hero-btn--primary,.offers-add-btn){background:var(--site-accent);border-color:var(--site-accent);color:var(--site-on-accent)}
html[data-lft-design][data-theme] body :is(.btn.primary,.auth-submit,.hero-btn--primary,.offers-add-btn):hover{background:var(--site-accent-hover);border-color:var(--site-accent-hover)}
html[data-lft-design][data-theme] body :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]){color:var(--site-ink);background-color:var(--site-panel);border-color:var(--site-border);border-radius:3px;box-shadow:none}
html[data-lft-design] body :is(input,textarea)::placeholder{color:var(--site-muted);opacity:1}
html[data-lft-design][data-theme] body :is(.sect,.panel,.auth-card,.buy-money-card,.payment-card,.search-card,.market-choices,.community-search,.msg-window,.msg-sidebar,.msg-chat,.msg-composer,.profile-card,.mobileProfilePanel,.mobileProfileHero,.capture-panel,.results-panel,.stat,.info-card,.mtg-panel,.mobileHomeWelcome,.mobileHomeExplore){background:var(--site-panel);color:var(--site-ink);border-color:var(--site-border);border-radius:4px;box-shadow:none}
html[data-lft-design][data-theme] body :is(.card,.offer,.set-card,.msg-stat,.community-member,.profile-metric,.mobileProfileAlert.info){background-color:var(--site-panel);color:var(--site-ink);border-color:var(--site-border);box-shadow:none}
html[data-lft-design][data-theme] body :is(.selected,.is-selected,.active):is(.card,.entry,.profileSectionPicker,.profileSectionLink){background-color:var(--site-soft);border-color:var(--site-accent);color:var(--site-ink)}
html[data-lft-design] body :is(.auth-sub,.auth-copy,.auth-note,.auth-helper,.muted,.sub,.hero-lead,.hero-copy,.search-note,.sect-sub,.msg-hero-sub,.msg-stat-label){color:var(--site-muted)}
html[data-lft-design] body :is(.auth-card,.buy-money-card,.payment-card,.search-card){border:1px solid var(--site-border)}
html[data-lft-design] body :is(.auth-logo-wrap,.auth-brand){color:var(--site-ink);text-shadow:none}
html[data-lft-design] body :is(.auth-divider,.auth-input,.auth-ctrl){border-color:var(--site-border)}
html[data-lft-design] body :is(.auth-alert.err,.err,.alert-danger){background-color:var(--site-danger-bg);color:var(--site-danger);border-color:color-mix(in srgb,var(--site-danger) 35%,var(--site-panel))}
html[data-lft-design] body :is(.auth-alert.ok,.alert-success){background-color:var(--site-success-bg);color:var(--site-success);border-color:color-mix(in srgb,var(--site-success) 35%,var(--site-panel))}
html[data-lft-design] body :is(.table-wrap,.offers-table-wrap){background:var(--site-panel);border-color:var(--site-border);border-radius:3px}
html[data-lft-design] body :is(.table-wrap,.offers-table-wrap) th{background:var(--site-soft);color:var(--site-muted);border-color:var(--site-border)}
html[data-lft-design] body :is(.table-wrap,.offers-table-wrap) td{background:var(--site-panel);border-color:var(--site-border);color:var(--site-ink)}
html[data-lft-design] body :is(.table-wrap,.offers-table-wrap) tr:hover td{background:var(--site-raised)}
/* Shared desktop navigation; existing account/cart markup and actions are retained. */
html[data-lft-design] body:has(.site-sidebar){padding:0 0 0 var(--site-sidebar-width)}
html[data-lft-design] body.home-market .home-workspace{margin-left:0}
html[data-lft-design][data-theme] body .site-sidebar{position:fixed;inset:0 auto 0 0;width:var(--site-sidebar-width);height:100dvh;padding:27px 20px 22px;background:var(--site-dark);color:var(--site-dark-ink);border-right:1px solid var(--site-dark-line);display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain;z-index:110}
html[data-lft-design][data-theme] body .site-sidebar-brand{display:flex;align-items:center;gap:11px;color:var(--site-dark-ink);font:400 27px/1 Georgia,serif;letter-spacing:-1px;text-decoration:none}
html[data-lft-design] .site-sidebar-brand img{width:44px;height:44px;object-fit:cover;border-radius:50%;flex-shrink:0}
html[data-lft-design] .site-sidebar-brand small{display:block;color:var(--site-dark-muted);font:7px Arial,sans-serif;letter-spacing:1.8px;margin-top:9px}
html[data-lft-design] .site-sidebar-label{color:var(--site-dark-muted);font:9px/1.4 Arial,sans-serif;letter-spacing:1.2px;margin:26px 12px 10px}
html[data-lft-design] .site-sidebar nav{display:flex;flex-direction:column;gap:4px}
html[data-lft-design][data-theme] body .site-sidebar nav a{display:flex;align-items:center;gap:12px;background:transparent;border:0;border-radius:3px;color:var(--site-dark-ink);font:12px/1.5 Arial,sans-serif;padding:10px 12px;text-decoration:none;box-shadow:none}
html[data-lft-design] .site-sidebar nav a>span{width:18px;flex-shrink:0;font:17px Arial;color:var(--site-dark-muted)}
html[data-lft-design][data-theme] body .site-sidebar nav a:hover{background:var(--site-dark-card)}
html[data-lft-design][data-theme] body .site-sidebar nav a.is-current{background:var(--site-soft);color:var(--site-ink)}
html[data-lft-design] .site-sidebar nav a.is-current>span{color:var(--site-accent)}
html[data-lft-design] .site-sidebar nav b{margin-left:auto;font:10px Arial;padding:3px 6px;border-radius:2px;background:var(--site-soft);color:var(--site-ink)}
html[data-lft-design] body .site-sidebar .site-sidebar-secondary{display:grid;grid-template-columns:1fr 1fr;gap:3px}
html[data-lft-design] .site-sidebar .site-sidebar-secondary a{font-size:11px}
html[data-lft-design] .site-sidebar-bottom{margin-top:auto;padding-top:25px;display:flex;flex-direction:column;gap:17px}
html[data-lft-design] .site-sidebar-publish{background:var(--site-soft);color:var(--site-ink);border-radius:2px;padding:12px 8px;font:11px Arial;line-height:1.6;text-align:center;text-decoration:none}
html[data-lft-design] .site-sidebar-help{font:10px Arial;color:var(--site-dark-muted);text-decoration:none}
html[data-lft-design][data-theme] body .site-topbar{background:var(--site-dark);color:var(--site-dark-ink);border:0;border-bottom:1px solid var(--site-dark-line);position:sticky;top:0;z-index:120;overflow:visible;isolation:auto;transform:none;backdrop-filter:none;box-shadow:none}
html[data-lft-design] .site-topbar:before,html[data-lft-design] .site-topbar:after{display:none}
html[data-lft-design][data-theme] body .site-topbar .hdr-wrap.big{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;max-width:none;min-height:74px;padding:15px 4%;gap:22px}
html[data-lft-design] body .site-topbar .brand,html[data-lft-design] body .site-topbar .menu-wrap{display:none}
html[data-lft-design] .site-header-context{display:flex;align-items:center;gap:12px;min-width:0;margin-right:auto;font:11px/1.5 Arial;color:var(--site-dark-ink)}
html[data-lft-design] .site-header-context a{color:var(--site-dark-muted);text-decoration:none}
html[data-lft-design] .site-topbar .nav{display:flex;align-items:center;gap:14px;padding:0;margin:0;background:none;border:0}
html[data-lft-design] body .site-topbar .header-actions-toggle{background:transparent;color:var(--site-dark-ink);border:1px solid var(--site-dark-line);border-radius:3px;box-shadow:none}
html[data-lft-design] body .site-topbar .header-actions-toggle:hover{background:var(--site-dark-card)}
html[data-lft-design] body .header-actions-panel{background:var(--site-panel);border-color:var(--site-border);border-radius:4px;color:var(--site-ink);box-shadow:var(--shadow-lg)}
html[data-lft-design] body .site-theme-switch{display:flex;gap:3px;align-items:center;padding:4px;max-width:100%;border:1px solid var(--site-border);border-radius:3px;background:var(--site-soft)}
html[data-lft-design] body .site-theme-switch button{border:0;border-radius:1px;background:none;color:var(--site-muted);font:11px/1.4 Arial,sans-serif;padding:8px 11px;min-height:32px;cursor:pointer;white-space:nowrap;box-shadow:none}
html[data-lft-design] body .site-theme-switch button[aria-pressed=true]{background:var(--site-panel);color:var(--site-ink)}
html[data-lft-design] body .site-theme-switch button:hover{color:var(--site-accent)}
html[data-lft-design] .site-topbar .site-theme-switch{background:var(--site-dark-card);border-color:var(--site-dark-line)}
html[data-lft-design] .site-topbar .site-theme-switch button{color:var(--site-dark-muted)}
html[data-lft-design] .site-topbar .site-theme-switch button[aria-pressed=true]{background:var(--site-soft);color:var(--site-ink)}
html[data-lft-design] body .site-appearance-bar{display:flex;justify-content:flex-end;padding:12px max(20px,4%);background:var(--site-dark);border-bottom:1px solid var(--site-dark-line);position:relative;z-index:20}
html[data-lft-design] body .auth-topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
html[data-lft-design] body .auth-topbar>.site-theme-switch{margin-left:auto}
.site-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Page families share palette tokens, including old standalone/embedded views. */
html[data-lft-design][data-theme] body:is(.about,.faqpage,.contact,.security,.how,.seller,.privacy,.cookies,.legal,.terms,.fees,.bp){
 --info-bg-1:var(--site-bg);--info-bg-2:var(--site-bg);--info-panel:var(--site-panel);--info-panel-2:var(--site-soft);--info-border:var(--site-border);--info-border-strong:var(--site-border);
 --info-ink:var(--site-ink);--info-ink-strong:var(--site-ink);--info-muted:var(--site-muted);--info-link:var(--site-accent);--info-accent:var(--site-accent);
 --info-surface-1:var(--site-panel);--info-surface-2:var(--site-soft);--info-surface-3:var(--site-raised);--info-input:var(--site-panel);--info-banner-text:var(--site-ink);
 --info-radius:4px;--info-btn-font:var(--site-ui);--info-shadow-sm:none;--info-shadow-md:none;--info-shadow-lg:var(--shadow-lg);
}
html[data-lft-design] body:is(.about,.faqpage,.contact,.security,.how,.seller,.privacy,.cookies,.legal,.terms,.fees,.bp) :is(.section,.faq-item,.card,.hero,.container,.panel){background:var(--site-panel);border-color:var(--site-border);box-shadow:none;border-radius:4px}
html[data-lft-design] body:is(.about,.faqpage,.contact,.security,.how,.seller,.privacy,.cookies,.legal,.terms,.fees,.bp) :is(h1,h2,h3,h4,.num){font-family:var(--site-brand);color:var(--site-ink)}
html[data-lft-design][data-theme] body .page-profile .profile-wrap,
html[data-lft-design][data-theme] body :is(.profile-wrap,.purchases,.sales,.trades,.cards-app,.decks-app,.fpr){--profile-accent:var(--site-accent);--profile-accent-ink:var(--site-on-accent)}
html[data-lft-design][data-theme] body :is(.profile-tabs .tab.active,.tab-button.active,.profileSectionLink.active){background:var(--site-accent);color:var(--site-on-accent);border-color:var(--site-accent)}
html[data-lft-design] body:has(.site-sidebar) :is(.messaging-app,.community-wrap,.market-shell,.mtg-shell,.profile-wrap){width:calc(100% - 48px);max-width:1400px}
html[data-lft-design] body:has(.site-sidebar) .trade-window{width:calc(100% - 40px);max-width:1600px}
html[data-lft-design][data-theme] body.trade-app {
 --trade-bg:var(--site-bg);--trade-surface:var(--site-panel);--trade-raised:var(--site-soft);--trade-border:var(--site-border);--trade-ink:var(--site-ink);--trade-muted:var(--site-muted);--trade-gold:var(--site-accent);--trade-gold-dark:var(--site-accent-hover);
 --trade-success:var(--site-success);--trade-danger:var(--site-danger);--trade-success-bg:var(--site-success-bg);--trade-danger-bg:var(--site-danger-bg);
 --forge-bg-0:var(--site-bg);--forge-bg-1:var(--site-panel);--forge-bg-2:var(--site-soft);--forge-ink:var(--site-ink);--forge-muted:var(--site-muted);--forge-border:var(--site-border);--forge-gold:var(--site-accent);--forge-gold-2:var(--site-accent-hover);
 --ice-panel-top:var(--site-panel);--ice-panel-bottom:var(--site-soft);--fire-panel-top:var(--site-panel);--fire-panel-bottom:var(--site-soft);
 --trade-window-gradient:linear-gradient(var(--site-panel),var(--site-panel));--trade-header-gradient:linear-gradient(var(--site-panel),var(--site-panel));--trade-footer-gradient:linear-gradient(var(--site-soft),var(--site-soft));
 --trade-seller-gradient:linear-gradient(var(--site-panel),var(--site-soft));--trade-buyer-gradient:linear-gradient(var(--site-panel),var(--site-soft));--trade-divider-gradient:linear-gradient(var(--site-soft),var(--site-soft));
 --trade-frame-gradient:linear-gradient(var(--site-border),var(--site-border));--trade-shadow:none;
 background:var(--site-bg);color:var(--site-ink);
}
html[data-lft-design][data-theme] body.trade-app :is(.trade-window,.player-panel,.trade-header,.trade-footer,.trade-summary-card,.inventory-slot,.modal-content){background:var(--site-panel);border-color:var(--site-border);color:var(--site-ink);box-shadow:none;border-image:none}
html[data-lft-design] body.trade-app :is(.seller-panel,.buyer-panel,.trade-header):before{display:none}
html[data-lft-design] body.trade-app :is(.trade-title,.player-name,.inventory-title,.chat-title){color:var(--site-ink);font-family:var(--site-brand);text-shadow:none}
html[data-lft-design] body.trade-app :is(.trade-summary-label,.trade-summary-foot,.trade-id,.trade-validation-help){color:var(--site-muted)}
html[data-lft-design] body.trade-app :is(.trade-area,.chat-messages,.inventory-grid,.trade-summary-details,.trade-next-step){background-color:var(--site-soft);border-color:var(--site-border);color:var(--site-ink)}
html[data-lft-design] body :is(.camera-stage,video,#photoCanvas){background-color:#10201b}
html[data-lft-design] body :is(.camera-badge,.camera-label){color:#fff}
html[data-lft-design] body .empty-result,html[data-lft-design] body .welcome{color:var(--site-muted)}
/* Mobile navigation keeps its drawer, cart and bottom bar interactions. */
html[data-lft-design][data-theme] body .mobileTopHeader{background:var(--site-dark);color:var(--site-dark-ink);border-color:var(--site-dark-line);box-shadow:none;border-radius:3px}
html[data-lft-design] body .mobileTopBrandName{color:var(--site-dark-ink);font:400 21px/1.1 Georgia,serif}
html[data-lft-design] body .mobileTopHeader:before,html[data-lft-design] body .mobileTopHeader:after{display:none}
html[data-lft-design] body :is(.mobileMenuTrigger,.mobileTopCartLink,.mobileTopPrimaryTab){background:var(--site-dark-card);color:var(--site-dark-ink);border-color:var(--site-dark-line);box-shadow:none;border-radius:3px}
html[data-lft-design] body .mobileTopPrimaryTab.active{background:var(--site-soft);color:var(--site-ink);border-color:var(--site-soft)}
html[data-lft-design] body .mobileSideMenu{background:var(--site-panel);color:var(--site-ink);border-color:var(--site-border);box-shadow:var(--shadow-lg)}
html[data-lft-design] body :is(.mobileSideHeader,.mobileSideUtility,.mobileSideSection,.mobileSideSpotlight){background:var(--site-panel);border-color:var(--site-border);color:var(--site-ink)}
html[data-lft-design] body :is(.mobileSideItem,.mobileSideLink,.mobileSideClose){background:transparent;border-color:transparent;color:var(--site-ink);box-shadow:none;border-radius:3px}
html[data-lft-design] body .mobileSideItem.active{background:var(--site-soft);border-color:var(--site-border);color:var(--site-accent)}
html[data-lft-design] body :is(.mobileSideIconWrap,.mobileSideThemeBtn){background:var(--site-soft);color:var(--site-accent);border-color:var(--site-border);box-shadow:none}
html[data-lft-design] body :is(.mobileBottomNav,.mobileBottomBar){background:var(--site-panel);border-color:var(--site-border);color:var(--site-muted)}
html[data-lft-design] body .mobileBottomItem.active{color:var(--site-accent)}
html[data-lft-design] body :is(.mobileProfilePanel,.mobileProfileHero,.mobileProfileAvatarEdit,.profileSectionPicker,.mobileHomeCatalogueSearch){background:var(--site-panel);color:var(--site-ink);border-color:var(--site-border);border-radius:4px;box-shadow:none}
html[data-lft-design] body .mobileSideSection .site-theme-switch{justify-content:space-between;margin:9px 0}
html[data-lft-design] body .mobileSideSection .site-theme-switch button{padding:9px 10px}
html[data-lft-design] body .site-footer{background:var(--site-panel);border-top:1px solid var(--site-border);color:var(--site-ink);box-shadow:none}
html[data-lft-design] body .site-footer .ft-title{font:400 20px/1.3 Georgia,serif;color:var(--site-ink)}
html[data-lft-design] body .site-footer :is(.ft-text,.ft-copy,.ft-list a,.link-like){color:var(--site-muted)}
html[data-lft-design] body .site-footer .ft-bottom{background:var(--site-panel);color:var(--site-muted)}
html[data-lft-design] body .site-footer .ft-wrap{max-width:1440px}
@media(max-width:1200px){html[data-lft-design]{--site-sidebar-width:210px}html[data-lft-design] .site-sidebar-brand{font-size:25px}html[data-lft-design] .site-sidebar-brand img{width:38px;height:38px}html[data-lft-design] .site-sidebar-brand small{font-size:6px}html[data-lft-design] .site-sidebar nav a{font-size:11px}html[data-lft-design] .site-header-context{font-size:10px;gap:9px}}
@media(max-width:1000px){html[data-lft-design] .site-header-context{display:none!important}html[data-lft-design] .site-topbar .site-theme-switch{margin-right:auto}html[data-lft-design] .site-topbar .site-theme-switch button{font-size:10px;padding:8px 10px}}
@media(max-width:800px){
 html[data-lft-design] body:has(.site-sidebar){padding-left:0}
 html[data-lft-design][data-theme] body .site-sidebar{position:relative;inset:auto;width:auto;height:auto;padding:19px 5%;border:0;border-bottom:1px solid var(--site-dark-line);display:block}
 html[data-lft-design] .site-sidebar-brand{font-size:26px}html[data-lft-design] .site-sidebar-label,html[data-lft-design] .site-sidebar-account,html[data-lft-design] body .site-sidebar .site-sidebar-secondary,html[data-lft-design] .site-sidebar-bottom{display:none!important}
 html[data-lft-design] .site-sidebar .site-sidebar-main{flex-direction:row;flex-wrap:wrap;margin-top:18px;gap:5px}
 html[data-lft-design] .site-sidebar .site-sidebar-main a{font-size:11px;padding:8px 10px}
 html[data-lft-design] .site-sidebar .site-sidebar-main a>span{font-size:15px}
 html[data-lft-design][data-theme] body .site-topbar .hdr-wrap.big{min-height:65px;padding:12px 5%;gap:12px}
 html[data-lft-design] .site-theme-switch button{font-size:10px;padding:8px 9px}
 html[data-lft-design] body:has(.site-sidebar) :is(.messaging-app,.community-wrap,.market-shell,.mtg-shell,.profile-wrap){width:calc(100% - 28px)}
 html[data-lft-design] body:has(.site-sidebar) .trade-window{width:calc(100% - 20px)}
 html[data-lft-design] body .site-appearance-bar{padding:10px 5%}
}
@media(max-width:480px){html[data-lft-design] .site-topbar .site-theme-switch button{font-size:9px;padding:7px 8px}html[data-lft-design] body .site-topbar .hdr-wrap.big{gap:10px}html[data-lft-design] .site-topbar .google-header-auth{display:none}html[data-lft-design] .site-theme-switch{gap:2px}html[data-lft-design] .auth-topbar>.site-theme-switch{margin-left:0}html[data-lft-design] .site-sidebar .site-sidebar-main a{font-size:10px}}
@media(prefers-reduced-motion:reduce){html[data-lft-design] body,html[data-lft-design] body *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{html[data-lft-design] body:has(.site-sidebar){padding:0}html[data-lft-design] :is(.site-sidebar,.site-topbar,.site-appearance-bar,.site-theme-switch){display:none!important}}
/* Final compatibility details for standalone forms and narrow content. */
html[data-lft-design] body .flash{width:auto;min-width:0;max-width:calc(100% - 48px);margin:16px 24px;box-sizing:border-box;overflow-wrap:anywhere;background:var(--site-soft);color:var(--site-ink);border-color:var(--site-border)}
html[data-lft-design] body:is(.how,.faqpage,.about,.seller,.bp) :is(.grid,.cards){min-width:0;max-width:100%}
html[data-lft-design] body:is(.how,.faqpage,.about,.seller,.bp) .card{min-width:0;overflow-wrap:anywhere}
html[data-lft-design] body:is(.auth-login,.auth-signup,.auth-forgot,.auth-reset) .auth-logo-wrap{width:112px;max-width:100%;margin:18px auto 24px}
html[data-lft-design] body:is(.auth-login,.auth-signup,.auth-forgot,.auth-reset) .auth-brand img{width:112px;height:112px;max-width:100%;border-radius:50%;object-fit:cover;box-shadow:none;filter:none}
html[data-lft-design] body :is(.auth-card,.buy-money-card,.payment-card):before,html[data-lft-design] body :is(.auth-card,.buy-money-card,.payment-card):after{display:none}
html[data-lft-design] body .auth-links a{border-radius:3px;background:var(--site-soft);color:var(--site-ink);font:12px/1.5 Arial,sans-serif;text-shadow:none}
html[data-lft-design][data-theme] body.page-arena{--arena-accent-readable:var(--site-accent);--arena-success-readable:var(--site-success);--arena-danger-readable:var(--site-danger)}
html[data-lft-design] body .arena-hero{background:var(--site-panel);border-color:var(--site-border);border-radius:4px;box-shadow:none}
html[data-lft-design] body .arena-hero:before{display:none}
html[data-lft-design] body .arena-panel{background:var(--site-panel);border-radius:4px;border-color:var(--site-border);box-shadow:none}
html[data-lft-design] body .mtg-panel{background:var(--site-panel);border-color:var(--site-border);box-shadow:none}
html[data-lft-design][data-theme] body.trade-app{--trade-ice:var(--site-accent);--trade-fire:var(--site-accent);--ice-core:var(--site-accent);--fire-core:var(--site-accent)}
html[data-lft-design][data-theme] body.trade-app :is(.trade-summary,.trade-summary-details,.trade-summary-cash-banner,.trade-shipping-breakdown,.trade-steps,.player-header){background:var(--site-soft);border-color:var(--site-border);color:var(--site-ink)}
html[data-lft-design] body.trade-app :is(.trade-header,.player-header):before,html[data-lft-design] body.trade-app :is(.trade-header,.player-header):after{display:none}
html[data-lft-design][data-theme] body.trade-app :is(.trade-summary-name,.trade-summary-metric-value,.trade-summary-cash-value,.gold-amount,.gold-total,.value-box strong,.trade-review-money strong,.trade-review-net>strong){color:var(--site-ink);text-shadow:none}
html[data-lft-design][data-theme] body.trade-app :is(.trade-summary-name,.trade-title,.player-name){font-family:var(--site-brand);text-transform:none;letter-spacing:-.02em}
html[data-lft-design][data-theme] body.trade-app :is(.trade-summary-foot,.trade-summary-foot-label,.trade-summary-metric-label,.trade-summary-kicker,.trade-summary-tag,.trade-validation-help,.trade-review-note,.trade-review-agreement,.trade-review-label,.trade-review-shipping,.trade-review-empty,.shipping-help-text){color:var(--site-muted);text-shadow:none}
html[data-lft-design] body.trade-app .trade-shipping-breakdown [style*="color"]{color:var(--site-muted)!important}
html[data-lft-design][data-theme] body :is(dialog,.sheet,.modal-content,.modal-header,.trade-review-dialog){background:var(--site-panel);color:var(--site-ink);border-color:var(--site-border);border-radius:4px;box-shadow:var(--shadow-lg)}
html[data-lft-design] body :is(main,section,article,div)>header:not(.site-topbar):not(.mobileTopHeader){position:relative;top:auto;transform:none;backdrop-filter:none;box-shadow:none}
@media(max-width:600px){html[data-lft-design] body.how .grid{grid-template-columns:minmax(0,1fr)}html[data-lft-design] body .auth-logo-wrap,html[data-lft-design] body .auth-brand img{width:88px;height:auto}html[data-lft-design] body .flash{max-width:calc(100% - 28px);margin:14px}}
html[data-lft-design][data-theme] body.page-offers #offers-main{max-width:1600px;margin-left:auto;margin-right:auto;padding:0 24px 30px;box-sizing:border-box}
html[data-lft-design][data-theme] body.trade-app .trade-summary-intro h2{font:400 25px/1.25 var(--site-brand);color:var(--site-ink);text-shadow:none;text-transform:none;letter-spacing:-.02em}
html[data-lft-design] body.trade-app #trade-next-step-text{color:var(--site-muted);font:12px/1.8 var(--site-ui)}
html[data-lft-design][data-theme] body.trade-app .trade-summary-details>summary{color:var(--site-ink);font:600 12px/1.6 var(--site-ui)}
html[data-lft-design][data-theme] body.trade-app :is(.gold-section,.trade-summary-status strong){background:var(--site-panel);color:var(--site-ink)}
html[data-lft-design][data-theme] body.trade-app .trade-summary-exchange .trade-summary-kicker{color:var(--site-muted)}
html[data-lft-design] body .site-topbar .nav .header-actions-toggle{border-radius:3px;background:transparent;color:var(--site-dark-ink);border-color:var(--site-dark-line)}
@media(max-width:800px){html[data-lft-design][data-theme] body.page-offers #offers-main{padding-left:14px;padding-right:14px}}
/* Preserve the conversation viewport and keyboard-aware composer on mobile. */
html[data-lft-design][data-theme] body.mobileMessagesPage.has-selection{
 height:var(--messages-viewport-height,100dvh);min-height:0;overflow:hidden;
}
html[data-lft-design][data-theme] body .site-language .site-language-apply{background:var(--site-accent);border-color:var(--site-accent);color:var(--site-on-accent);border-radius:3px}
html[data-lft-design] body :is(.mobileSideItem,.mobileSideLink,.mobileSideLabel,.mobileSideUtility,.mobileSideSection .site-language){font-family:var(--site-ui)}
/* Messaging workspace: match the market navigation and all three palettes. */
html[data-lft-design][data-theme] body.page-messages .messaging-app{margin:32px auto 48px}
html[data-lft-design][data-theme] body.page-messages .msg-hero{background:transparent;border:0;border-radius:0;padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid var(--site-border)}
html[data-lft-design] body.page-messages .msg-page-kicker{font:10px/1.5 var(--site-ui);letter-spacing:.16em;color:var(--site-accent);margin:0 0 12px}
html[data-lft-design] body.page-messages #msgPageTitle{font:400 clamp(30px,3vw,44px)/1.15 var(--site-brand);margin:0}
html[data-lft-design][data-theme] body.page-messages .msg-stat{background:transparent;border-radius:0}
html[data-lft-design] body.page-messages .msg-window{grid-template-columns:minmax(240px,29%) minmax(0,1fr);height:clamp(620px,76vh,900px);border-radius:4px;box-shadow:none}
html[data-lft-design][data-theme] body.page-messages .msg-sidebar{background:var(--site-raised);border-radius:0}
html[data-lft-design] body.page-messages :is(.msg-sidebar,.msg-main,.msg-thread,.msg-chat-header-left,.msg-chat-identity,.msg-chat-header-right,.msg-invite-form){min-width:0}
html[data-lft-design] body.page-messages :is(.msg-chat-header,.msg-input-form,.msg-send-hint){background:var(--site-panel)}
html[data-lft-design] body.page-messages .msg-chat-header{gap:12px;padding:18px 20px;border-bottom:1px solid var(--site-border)}
html[data-lft-design] body.page-messages .msg-chat-name{font:600 15px/1.4 var(--site-ui)}
html[data-lft-design] body.page-messages .msg-conv-item{border-radius:3px}
html[data-lft-design] body.page-messages .msg-conv-item.active{background:var(--site-soft);border-color:var(--site-border)}
html[data-lft-design] body.page-messages :is(.msg-avatar-lg,.msg-thread-avatar,.msg-avatar-sm){background:var(--site-soft);color:var(--site-accent);border-radius:4px;box-shadow:none}
html[data-lft-design] body.page-messages .msg-bubble{background:var(--site-raised);color:var(--site-ink);border-color:var(--site-border);border-radius:4px 12px 12px 12px;overflow-wrap:anywhere}
html[data-lft-design] body.page-messages .msg-bubble.me{background:var(--site-soft);color:var(--site-ink);border-color:var(--site-border);border-radius:12px 4px 12px 12px}
html[data-lft-design] body.page-messages .msg-bubble-wrap{min-width:0}
html[data-lft-design] body.page-messages .msg-unread-badge{background:var(--site-accent);color:var(--site-on-accent)}
html[data-lft-design] body.page-messages .msg-empty-icon{border-radius:50%;background:var(--site-soft)}
html[data-lft-design] body.page-messages .msg-start-btn{background:var(--site-accent);color:var(--site-on-accent);border-radius:3px}
html[data-lft-design] body.page-messages .msg-conversation-options{background:var(--site-panel)}
html[data-lft-design] body.page-messages .msg-input-bar{background:var(--site-raised);border-color:var(--site-border);border-radius:4px}
html[data-lft-design][data-theme] body.page-messages textarea.msg-input{background:transparent}
html[data-lft-design] body.page-messages .msg-send-btn{background:var(--site-accent);color:var(--site-on-accent);border-radius:3px}
/* Community directory: compact editorial introduction, useful member cards. */
html[data-lft-design] body.page-communaute .community-wrap{margin:32px auto 48px;padding:0;gap:32px}
html[data-lft-design][data-theme] body.page-communaute .community-hero{padding:0 0 30px;gap:32px;background:transparent;border:0;border-bottom:1px solid var(--site-border);border-radius:0;box-shadow:none}
html[data-lft-design] body.page-communaute .hero-title{font:400 clamp(34px,3.5vw,52px)/1.1 var(--site-brand);max-width:600px}
html[data-lft-design] body.page-communaute .hero-kicker{color:var(--site-accent);font-family:var(--site-ui)}
html[data-lft-design] body.page-communaute .hero-lead{font-size:14px;line-height:1.75}
html[data-lft-design] body.page-communaute .hero-stats{padding-left:28px;margin:0;align-content:center}
html[data-lft-design] body.page-communaute .hero-stat{background:transparent}
html[data-lft-design] body.page-communaute .hero-stat dd{font:400 30px/1 var(--site-brand)}
html[data-lft-design][data-theme] body.page-communaute .sect{background:transparent;padding:0;border:0;box-shadow:none}
html[data-lft-design] body.page-communaute #communityMembersTitle{font:400 28px/1.2 var(--site-brand)}
html[data-lft-design] body.page-communaute .users-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html[data-lft-design] body.page-communaute .user-tile{min-width:0;padding:20px;gap:16px 12px;background:var(--site-panel);border:1px solid var(--site-border);border-radius:4px;box-shadow:none}
html[data-lft-design] body.page-communaute .user-tile:hover{border-color:var(--site-accent);box-shadow:none;transform:none}
html[data-lft-design] body.page-communaute :is(.tile-main,.tile-heading,.tile-top){min-width:0}
html[data-lft-design] body.page-communaute .tile-name{overflow-wrap:anywhere}
html[data-lft-design] body.page-communaute .member-emblem{background:var(--site-soft);color:var(--site-accent)}
html[data-lft-design] body.page-communaute .tile-actions{flex-wrap:wrap;gap:5px}
html[data-lft-design] body.page-communaute .tile-actions .tile-link--contact{background:var(--site-soft);color:var(--site-accent);border-radius:3px}
html[data-lft-design] body.page-communaute .community-search{border-radius:3px}
@media(min-width:801px) and (max-width:1120px){
 html[data-lft-design] body.page-messages .msg-window{grid-template-columns:240px minmax(0,1fr)}
 html[data-lft-design] body.page-messages .msg-chat-header{flex-wrap:wrap}
 html[data-lft-design] body.page-messages .msg-chat-header-right{width:100%;justify-content:flex-end}
 html[data-lft-design] body.page-messages .msg-invite-form{flex:1}
 html[data-lft-design] body.page-messages .msg-invite-input{width:100%;min-width:0}
 html[data-lft-design] body.page-messages .msg-thread{padding:20px 14px}
}
@media(max-width:1200px){html[data-lft-design] body.page-communaute .users-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 html[data-lft-design] body.page-messages .messaging-app,html[data-lft-design] body.page-communaute .community-wrap{margin:24px auto 32px}
 html[data-lft-design] body.page-messages .msg-window{grid-template-columns:minmax(0,1fr);height:auto}
 html[data-lft-design] body.page-messages .msg-main{height:640px}
 html[data-lft-design] body.page-messages .msg-sidebar{max-height:420px}
 html[data-lft-design] body.page-messages.has-conversation .msg-sidebar{display:none}
 html[data-lft-design] body.page-messages .msg-back-btn{display:inline-flex}
 html[data-lft-design] body.page-communaute .community-hero{grid-template-columns:1fr;gap:24px}
 html[data-lft-design] body.page-communaute .hero-stats{grid-template-columns:repeat(3,minmax(0,1fr));border-left:0;border-top:1px solid var(--site-border);padding:18px 0 0;gap:12px}
}
@media(max-width:560px){
 html[data-lft-design] body.page-messages .msg-hero{gap:18px}
 html[data-lft-design] body.page-messages .msg-stat{min-width:70px;padding:6px 10px}
 html[data-lft-design] body.page-communaute .users-grid{grid-template-columns:minmax(0,1fr)}
 html[data-lft-design] body.page-communaute .community-toolbar{flex-wrap:wrap}
 html[data-lft-design] body.page-communaute .community-search{flex-basis:100%}
}

/* Keep long pseudonyms inside the conversation list's grid track. */
html[data-lft-design] body.page-messages{--h:var(--site-ui)}
html[data-lft-design] body.page-messages .msg-conv-list{grid-template-columns:minmax(0,1fr)}
html[data-lft-design] body.page-messages :is(.msg-side-section,.msg-conv-item,.msg-conv-link,.msg-conv-main){min-width:0;max-width:100%}
html[data-lft-design] body.page-messages .msg-avatar-lg{flex-shrink:0}
html[data-lft-design] body.page-messages .msg-send-btn{font-family:var(--site-ui);text-transform:none;letter-spacing:0}

/* Card markets contain intentionally wide tables; scrolling belongs to their wrappers. */
html[data-lft-design] body.market-page .wrap{width:100%;max-width:1400px;grid-template-columns:minmax(0,1fr);padding:24px}
html[data-lft-design] body.market-page :is(.panel,.hero>div,.chart-box,.months,.offers-wrap){min-width:0;max-width:100%}
html[data-lft-design] body.market-page .hero{grid-template-columns:240px minmax(0,1fr)}
html[data-lft-design] body.market-page :is(.chart-box,.months,.offers-wrap){overflow-x:auto}
html[data-lft-design][data-theme] body.market-page :is(.market-quote,.chart-box,.vcard.is-current){background:var(--site-soft);border-color:var(--site-border);box-shadow:none}
html[data-lft-design] body.market-page .offers thead th{background:var(--site-soft);color:var(--site-muted)}
html[data-lft-design] body.market-page .quote-source{color:var(--site-accent)}
html[data-lft-design] body :is(.card-visual-panel,.card-info,.alt-section,.card-image-frame){background:var(--site-panel);border-color:var(--site-border);box-shadow:none;border-radius:4px}
html[data-lft-design] body.fees .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-lft-design] body.fees .card{min-width:0;overflow-wrap:anywhere}
html[data-lft-design] body.fees .banner{background:var(--site-soft);color:var(--site-ink);border-color:var(--site-border);box-shadow:none}
html[data-lft-design] body:has(>.container>.enter-button) .container{max-width:600px;width:calc(100% - 40px);box-sizing:border-box;background:var(--site-panel);color:var(--site-ink);border:1px solid var(--site-border);border-radius:4px;box-shadow:none}
html[data-lft-design] body:has(>.container>.enter-button) .enter-button{background:var(--site-accent);color:var(--site-on-accent);border-radius:3px;box-shadow:none}
@media(max-width:960px){html[data-lft-design] body.market-page .hero{grid-template-columns:minmax(0,1fr)}}
@media(max-width:880px){html[data-lft-design] body.fees .grid-2{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){html[data-lft-design] body.market-page .wrap{padding:14px}}

/* Complete footer destinations: one navigation, one information layout, one footer. */
html[data-lft-design][data-theme] body.info-page .info-page-shell{display:grid;grid-template-columns:minmax(0,1fr) 200px;align-items:start;gap:40px;width:calc(100% - 48px);max-width:1400px;margin:36px auto 56px}
html[data-lft-design][data-theme] body.info-page .info-page-content{width:100%;max-width:none;min-width:0;margin:0;padding:0;background:transparent;border:0;box-shadow:none;line-height:1.75}
html[data-lft-design][data-theme] body.info-page .info-page-content>.hero{position:relative;margin:0 0 28px;padding:0 0 28px;background:transparent;border:0;border-bottom:1px solid var(--site-border);border-radius:0;box-shadow:none}
html[data-lft-design] body.info-page .hero::before,html[data-lft-design] body.info-page .hero::after{display:none}
html[data-lft-design][data-theme] body.info-page .hero h1{font:400 clamp(32px,3vw,46px)/1.15 var(--site-brand);letter-spacing:-.035em;color:var(--site-ink);text-shadow:none;margin:0 0 18px}
html[data-lft-design] body.info-page .hero p{max-width:75ch;font-size:15px;margin:10px 0 0;color:var(--site-muted)}
html[data-lft-design][data-theme] body.info-page .info-page-content :is(.section,.card,.item,.faq-item,.pill,.step){min-width:0;background:var(--site-panel);border-color:var(--site-border);border-radius:4px;box-shadow:none;color:var(--site-ink)}
html[data-lft-design][data-theme] body.info-page .info-page-content :is(.section,.card){padding:24px}
html[data-lft-design][data-theme] body.info-page .info-page-content :is(.section.grid-2,.section.grid-3){padding:0;border:0;background:transparent}
html[data-lft-design][data-theme] body.info-page .info-page-content :is(.grid,.grid-2,.grid-3,.cards,.row){min-width:0;max-width:100%}
html[data-lft-design] body.info-page .info-page-content .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-lft-design] body.info-page .info-page-content :is(h2,h3){font-family:var(--site-brand);font-weight:400;letter-spacing:-.02em;line-height:1.3;color:var(--site-ink);text-shadow:none}
html[data-lft-design] body.info-page .info-page-content h2{font-size:26px}
html[data-lft-design] body.info-page .info-page-content h3{font-size:22px}
html[data-lft-design] body.info-page .info-page-content :is(p,li,td,th){overflow-wrap:anywhere}
html[data-lft-design] body.info-page .info-page-content a{color:var(--site-accent);text-underline-offset:3px}
html[data-lft-design][data-theme] body.info-page .info-page-content :is(.btn,.chip,.badge){font:500 12px/1.5 var(--site-ui);letter-spacing:0;text-transform:none;border:1px solid var(--site-border);border-radius:3px;background:var(--site-soft);color:var(--site-ink);box-shadow:none}
html[data-lft-design][data-theme] body.info-page .info-page-content .btn{padding:11px 16px}
html[data-lft-design][data-theme] body.info-page .info-page-content :is(button[type=submit],.btn.primary,.chip.active){background:var(--site-accent);color:var(--site-on-accent);border-color:var(--site-accent)}
html[data-lft-design][data-theme] body.info-page .info-page-content :is(.note,.banner,.callout,.alert){background:var(--site-soft);color:var(--site-ink);border-color:var(--site-border);border-radius:4px;box-shadow:none;text-shadow:none}
html[data-lft-design][data-theme] body.info-page .info-page-content :is(.alert.error,.errors){background:var(--site-danger-bg);color:var(--site-danger);border-color:var(--site-danger)}
html[data-lft-design][data-theme] body.info-page .info-page-content :is(.alert.success,.ok){background:var(--site-success-bg);color:var(--site-success);border-color:var(--site-success)}
html[data-lft-design] body.info-page .info-page-content :is(.table-wrap,table){max-width:100%}
html[data-lft-design] body.info-page .info-page-content :target{scroll-margin-top:100px}
html[data-lft-design] body.info-page .info-page-directory{position:sticky;top:102px;min-width:0;padding-left:22px;border-left:1px solid var(--site-border)}
html[data-lft-design] body.info-page .info-directory-kicker{margin:0 0 22px;font:9px/1.5 var(--site-ui);letter-spacing:.12em;color:var(--site-muted)}
html[data-lft-design] body.info-page .info-directory-group{display:grid;gap:4px;margin-bottom:24px}
html[data-lft-design] body.info-page .info-directory-heading{font:600 11px/1.5 var(--site-ui);color:var(--site-ink);margin:0 0 8px}
html[data-lft-design] body.info-page .info-page-directory a{font:12px/1.5 var(--site-ui);padding:9px 10px;border-radius:3px;color:var(--site-muted);text-decoration:none;overflow-wrap:anywhere}
html[data-lft-design] body.info-page .info-page-directory a:hover{background:var(--site-raised);color:var(--site-ink)}
html[data-lft-design] body.info-page .info-page-directory a.is-current{background:var(--site-soft);color:var(--site-accent)}
html[data-lft-design][data-theme] body.info-page #cookie-banner{left:calc(var(--site-sidebar-width) + 24px);right:24px;max-width:none;background:var(--site-panel);border-color:var(--site-border);color:var(--site-ink);box-shadow:var(--shadow-lg);border-radius:4px}
@media(max-width:1200px){html[data-lft-design] body.info-page .info-page-shell{grid-template-columns:minmax(0,1fr) 180px;gap:24px}}
@media(max-width:1100px){
 html[data-lft-design][data-theme] body.info-page .info-page-shell{grid-template-columns:minmax(0,1fr);gap:24px}
 html[data-lft-design] body.info-page .info-page-directory{position:static;order:-1;padding:0 0 12px;border-left:0;border-bottom:1px solid var(--site-border)}
 html[data-lft-design] body.info-page .info-directory-kicker,html[data-lft-design] body.info-page .info-directory-heading{display:none}
 html[data-lft-design] body.info-page .info-page-directory nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:4px}
 html[data-lft-design] body.info-page .info-directory-group{display:contents}
 html[data-lft-design] body.info-page .info-page-directory a{flex:none;white-space:nowrap}
}
@media(max-width:800px){
 html[data-lft-design][data-theme] body.info-page .info-page-shell{width:calc(100% - 28px);margin:24px auto 36px}
 html[data-lft-design] body.info-page .info-page-content .grid-2{grid-template-columns:minmax(0,1fr)}
 html[data-lft-design][data-theme] body.info-page .info-page-content :is(.section,.card){padding:18px}
 html[data-lft-design][data-theme] body.info-page #cookie-banner{left:14px;right:14px}
}

/* Information cards contain prose, unlike the horizontal catalogue .card component. */
html[data-lft-design][data-theme] body.info-page .info-page-content .card{display:block;transform:none;overflow-wrap:anywhere}
html[data-lft-design][data-theme] body.info-page .info-page-content .card:hover{transform:none;box-shadow:none;border-color:var(--site-border)}
html[data-lft-design] body.info-page .info-page-content .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-lft-design] body.info-page .info-page-content .grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-lft-design] body.info-page .info-page-content .switch{display:flex;max-width:100%;background:var(--site-raised);border-color:var(--site-border);color:var(--site-ink);border-radius:3px}
html[data-lft-design] body.info-page .info-page-content .switch input{flex-shrink:0;width:18px;height:18px;accent-color:var(--site-accent)}
html[data-lft-design] body.info-page .info-page-content .switch label{min-width:0;margin:0;font-size:14px;line-height:1.5}
@media(max-width:900px){html[data-lft-design] body.info-page .info-page-content :is(.grid,.grid-3){grid-template-columns:minmax(0,1fr)}}

/* Standalone results and seller contact are part of the same appearance. */
html[data-lft-design] body.contact-seller-page .wrap{background:var(--site-panel);border-color:var(--site-border);border-radius:4px;box-shadow:none}
html[data-lft-design] body.contact-seller-page .order-summary{background:var(--site-soft);color:var(--site-ink);border-radius:4px}
html[data-lft-design] body.contact-seller-page .btn{background:var(--site-accent);color:var(--site-on-accent);border-color:var(--site-accent);box-shadow:none}
html[data-lft-design] body.contact-seller-page .btn.secondary{background:var(--site-soft);color:var(--site-ink);border-color:var(--site-border)}
html[data-lft-design] body.contact-seller-page .alert.error{background:var(--site-danger-bg);color:var(--site-danger);border-color:var(--site-danger)}
html[data-lft-design] body.contact-seller-page .alert.success,html[data-lft-design] body.auth-result .ok{background:var(--site-success-bg);color:var(--site-success);border-color:var(--site-success);border-radius:4px}
html[data-lft-design] body.auth-result .card{box-sizing:border-box;background:var(--site-panel);border-color:var(--site-border);border-radius:4px;box-shadow:none}
html[data-lft-design] body.auth-result a{color:var(--site-accent)}
html[data-lft-design] .avatar-wrapper:has(#layerBase){max-width:100%;box-sizing:border-box}
html[data-lft-design] body:has(.avatar-wrapper>#layerBase) .controls{flex-wrap:wrap}

/* Editorial badges must not inherit the catalogue's absolute price-badge position. */
html[data-lft-design][data-theme] body.info-page .info-page-content .badge{position:static;inset:auto;display:inline-flex;align-items:center;margin:0;white-space:normal}
html[data-lft-design] body.info-page .info-page-content .badges{display:flex;flex-wrap:wrap;gap:8px}
html[data-lft-design] body.info-page .info-page-content .step .num{background:var(--site-soft);color:var(--site-accent);border-color:var(--site-border);text-shadow:none;box-shadow:none}

html[data-lft-design] body.info-page .info-page-content .grid-3>.pill{display:block;font:400 14px/1.7 var(--site-ui);white-space:normal;text-align:left}
html[data-lft-design] body.info-page .info-page-content .grid-3>.pill strong{display:block;font:600 14px/1.5 var(--site-ui);margin:0 0 8px;color:var(--site-accent)}
html[data-lft-design] body.info-page .info-page-content .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html[data-lft-design] body.info-page .info-page-content .step{padding:22px;min-width:0}
html[data-lft-design] body.info-page .info-page-content .step .num{position:static;display:inline-grid;place-items:center;width:30px;height:30px;margin:0 0 12px;font:600 13px/1 var(--site-ui)}
@media(max-width:900px){html[data-lft-design] body.info-page .info-page-content .steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){html[data-lft-design] body.info-page .info-page-content .steps{grid-template-columns:minmax(0,1fr)}}

/* Appearance choices live inside Compte, alongside language and universe. */
html[data-lft-design] body .site-topbar .hdr-wrap.big>.nav{margin-left:auto}
html[data-lft-design][data-theme] body .header-actions-panel .site-account-themes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;margin:6px 0;padding:4px;background:var(--site-soft);border-color:var(--site-border)}
html[data-lft-design][data-theme] body .header-actions-panel .site-account-themes button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:40px;padding:9px 5px;background:transparent;color:var(--site-muted);font:12px/1.4 Arial,sans-serif;border-radius:2px}
html[data-lft-design][data-theme] body .header-actions-panel .site-account-themes button::before{content:"";display:block;width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#4f683b}
html[data-lft-design][data-theme] body .header-actions-panel .site-account-themes button[data-site-theme=fire]::before{background:#a3532d}
html[data-lft-design][data-theme] body .header-actions-panel .site-account-themes button[data-site-theme=ice]::before{background:#3c7397}
html[data-lft-design][data-theme] body .header-actions-panel .site-account-themes button[aria-pressed=true]{background:var(--site-panel);color:var(--site-ink);font-weight:600}
html[data-lft-design][data-theme] body .header-actions-panel .site-account-themes button:hover{color:var(--site-accent)}

html[data-lft-design][data-theme] body .site-topbar .nav .header-actions-toggle[aria-expanded=true]{background:var(--site-dark-card);color:var(--site-dark-ink);border-color:var(--site-dark-line)}

/* Align the dropdown to Compte, including the narrow desktop header. */
html[data-lft-design][data-theme] body .site-topbar .nav .header-actions-panel{left:auto;right:0;transform:none;min-width:0;width:min(304px,calc(100vw - 48px));box-sizing:border-box}

/* Mobile edition: use the shared palette even inside legacy header scopes. */
html[data-lft-design][data-theme] body :is(header.mobileTopHeader.mobileSiteHeader,.mobileSideMenu){
 --ink:var(--site-ink);--muted:var(--site-muted);--panel:var(--site-panel);
 --border:var(--site-border);--surface-1:var(--site-panel);--surface-2:var(--site-soft);
 --accent:var(--site-accent);--accent-ink:var(--site-on-accent);
}
html[data-lft-design][data-theme] body header.mobileTopHeader.mobileSiteHeader{
 --ink:var(--site-dark-ink);--muted:var(--site-dark-muted);--border:var(--site-dark-line);
 --surface-1:var(--site-dark-card);--surface-2:var(--site-dark-card);
 background:var(--site-dark);border-color:var(--site-dark-line);border-radius:8px;
}
html[data-lft-design] body header.mobileSiteHeader .mobileTopBrandName{
 color:var(--site-dark-ink);font:400 20px/1.15 var(--site-brand);letter-spacing:-.025em;
}
html[data-lft-design] body header.mobileSiteHeader .mobileTopLogo{border-radius:50%}
html[data-lft-design] body header.mobileSiteHeader :is(.mobileMenuTrigger,.mobileTopCartLink){
 background:var(--site-dark-card);color:var(--site-dark-ink);border-color:var(--site-dark-line);border-radius:6px;
}
html[data-lft-design] body header.mobileSiteHeader .mobileSiteLogin{color:var(--site-dark-ink)}
html[data-lft-design] body .mobileSideMenu{max-height:100dvh}
html[data-lft-design] body .mobileSideScroll{min-height:0;scroll-padding-block:16px}
html[data-lft-design] body .mobileSideMenu :is(.mobileSideItem,.mobileSideLink,.mobileSideClose,.site-theme-switch button){min-height:44px}
html[data-lft-design] body.mobileHomePage .wrap{max-width:760px;padding:0 12px 28px}
html[data-lft-design] body.mobileHomePage .card{padding:20px;margin:0 0 16px;border-radius:8px;content-visibility:visible}
html[data-lft-design] body.mobileHomePage .mobileHomeWelcome{padding:28px 22px;background:var(--site-soft);border-color:var(--site-border)}
html[data-lft-design] body.mobileHomePage .mobileHomeWelcome h1{max-width:18ch;font:400 clamp(30px,7vw,42px)/1.1 var(--site-brand);letter-spacing:-.035em;margin:0 0 16px}
html[data-lft-design] body.mobileHomePage .mobileHomeWelcome p{font:15px/1.7 var(--site-ui);color:var(--site-muted);max-width:48ch;margin:0 0 22px}
html[data-lft-design] body.mobileHomePage .mobileHomeWelcome .btn{background:var(--site-accent);border-color:var(--site-accent);color:var(--site-on-accent);font:600 15px/1.4 var(--site-ui);min-height:48px;border-radius:5px;padding:12px 16px}
html[data-lft-design] body.mobileHomePage .mobileHomeWelcome .btn:hover{background:var(--site-accent-hover);transform:none}
html[data-lft-design] body.mobileHomePage .sectionHead{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px}
html[data-lft-design] body.mobileHomePage .sectionKicker{font:600 10px/1.5 var(--site-ui);letter-spacing:.12em;color:var(--site-accent);margin-bottom:6px}
html[data-lft-design] body.mobileHomePage .card h2{font:400 25px/1.2 var(--site-brand);letter-spacing:-.025em;margin:0}
html[data-lft-design] body.mobileHomePage .sectionLink{font:600 12px/1.4 var(--site-ui);text-transform:none;letter-spacing:0;min-height:44px;border-radius:4px;background:var(--site-soft);border-color:var(--site-border);color:var(--site-accent)}
html[data-lft-design] body.mobileHomePage .offer{gap:14px;padding:16px 0;margin:0;border:0;border-bottom:1px solid var(--site-border);border-radius:0;background:transparent;box-shadow:none}
html[data-lft-design] body.mobileHomePage .offer:last-child{border-bottom:0;padding-bottom:0}
html[data-lft-design] body.mobileHomePage .offer img{width:64px;height:90px;object-fit:contain;flex-shrink:0;border-radius:4px}
html[data-lft-design] body.mobileHomePage .offer .t{font:600 15px/1.45 var(--site-ui);overflow-wrap:anywhere;margin:0 0 6px}
html[data-lft-design] body.mobileHomePage .offer .t a{display:inline-block;padding:4px 0}
html[data-lft-design] body.mobileHomePage .offer .s{font:13px/1.6 var(--site-ui);overflow-wrap:anywhere}
html[data-lft-design] body.mobileHomePage .pill{background:var(--site-soft);color:var(--site-ink);border-color:var(--site-border);font:13px/1.5 var(--site-ui);border-radius:4px;white-space:normal}
html[data-lft-design] body.mobileHomePage .mobileHomeExplore{border:1px solid var(--site-border);border-radius:8px;padding:0 16px}
html[data-lft-design] body.mobileHomePage .mobileHomeExplore>summary{min-height:56px;padding:17px 0;font:600 14px/1.5 var(--site-ui);color:var(--site-ink)}
html[data-lft-design] body.mobileHomePage .mobileHomeExplore .card{padding:18px 0;border:0;border-top:1px solid var(--site-border);border-radius:0}
html[data-lft-design] body.mobileHomePage .hscroll{scroll-snap-type:x proximity;overscroll-behavior-x:contain}
html[data-lft-design] body.mobileHomePage .hscroll>*{scroll-snap-align:start;max-width:100%}
@media(max-width:800px){
 html[data-lft-design] body:has(.mobileSiteHeader) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]){font-size:16px}
 html[data-lft-design] body .mobileHomeCatalogueSearch{border-radius:8px}
 html[data-lft-design] body .mobileHomeCatalogueSearch :is(input,button){min-height:44px}
 html[data-lft-design] body :is(.mobileProfilePanel,.mobileProfileHero){border-radius:8px}
 html[data-lft-design] body .mobileSideMenu{padding-right:max(14px,env(safe-area-inset-right));padding-left:max(14px,env(safe-area-inset-left))}
}
@media(max-width:360px){
 html[data-lft-design] body header.mobileSiteHeader .mobileTopBrandName{font-size:17px}
 html[data-lft-design] body header.mobileSiteHeader .mobileTopBrand{gap:7px}
 html[data-lft-design] body header.mobileSiteHeader .mobileTopActions{gap:5px}
 html[data-lft-design] body.mobileHomePage .card{padding:16px}
 html[data-lft-design] body.mobileHomePage .mobileHomeWelcome{padding:24px 18px}
 html[data-lft-design] body.mobileHomePage .mobileHomeExplore .card{padding:16px 0}
}
/* Keep long card names readable and the welcome surface consistent in all palettes. */
html[data-lft-design][data-theme] body.mobileHomePage .mobileHomeWelcome{background:var(--site-soft)}
html[data-lft-design] body.mobileHomePage .offer .t{white-space:normal;overflow:visible;text-overflow:clip}

/* Transparent theme dragons: preserve the complete silhouette without a logo tile. */
html[data-lft-design][data-theme] body img[data-logo-boutique]{
 object-fit:contain;border-radius:0!important;border:0!important;background:transparent!important;box-shadow:none!important;filter:none;
}

/* Cart belongs to the account menu, with the same treatment as other actions. */
html[data-lft-design][data-theme] body .header-actions-panel .header-account-cart { display:flex; align-items:center; gap:10px; width:100%; min-height:42px; padding:10px 12px; border:0; border-radius:4px; background:transparent; color:var(--site-ink); text-align:left; text-decoration:none; box-shadow:none; font:500 13px/1.5 var(--site-ui); cursor:pointer; }
html[data-lft-design][data-theme] body .header-actions-panel .header-account-cart:hover { background:var(--site-soft); color:var(--site-accent); }
html[data-lft-design][data-theme] body .header-account-cart .header-cart-icon { width:19px; height:19px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; }
html[data-lft-design][data-theme] body .header-account-cart [data-cart-count-label] { margin-left:auto; min-width:22px; height:22px; padding:2px 6px; border:0; border-radius:5px; background:var(--site-soft); color:var(--site-accent); box-shadow:none; font:600 11px/1.5 var(--site-ui); }
html[data-lft-design][data-theme] body .account-cart-badge { display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; padding:2px 5px; border-radius:999px; background:var(--site-accent); color:var(--site-on-accent); font:700 11px/1 var(--site-ui); box-shadow:none; }
html[data-lft-design] body .account-cart-badge[hidden] { display:none!important; }
html[data-lft-design] body .mobileAccountCart { display:flex; align-items:center; justify-content:space-between; gap:12px; }

/* NUIT palette: shared tokens keep the same components readable in dark mode. */
html[data-lft-design][data-theme="nuit"] {
 --site-bg:#111820;--site-panel:#19232d;--site-soft:#24313d;--site-raised:#1e2a35;--site-ink:#e5edf4;--site-muted:#b3c0ca;--site-border:#394957;
 --site-accent:#8fc6df;--site-accent-hover:#abd9ed;--site-on-accent:#101820;--site-dark:#0b1117;--site-dark-line:#263440;--site-dark-card:#17232d;--site-dark-ink:#e5edf4;--site-dark-muted:#b3c0ca;
 --site-sale-bg:#283942;--site-sale-ink:#b9d9e6;--site-trade-bg:#39363a;--site-trade-ink:#e1d2b4;
 --site-success:#8dcc9a;--site-success-bg:#20382b;--site-danger:#ffaaa3;--site-danger-bg:#442b2d;--site-warning:#e7c77e;--site-warning-bg:#403722;
 color-scheme:dark;
}
html[data-lft-design][data-theme="nuit"] body { color-scheme:dark; }
html[data-lft-design][data-theme="nuit"] body .site-topbar { background:var(--site-panel);border-color:var(--site-border); }
html[data-lft-design][data-theme="nuit"] body .site-topbar::before,
html[data-lft-design][data-theme="nuit"] body .site-topbar::after { opacity:0; }
html[data-lft-design][data-theme="nuit"] body .site-theme-switch,
html[data-lft-design][data-theme="nuit"] body .header-actions-panel,
html[data-lft-design][data-theme="nuit"] body .mobileSideMenu,
html[data-lft-design][data-theme="nuit"] body .mobileBottomNav { background:var(--site-panel);color:var(--site-ink);border-color:var(--site-border); }
html[data-lft-design][data-theme="nuit"] body :is(.site-topbar .site-theme-switch,.site-appearance-bar) { background:var(--site-dark);border-color:var(--site-dark-line); }
html[data-lft-design][data-theme="nuit"] body :is(.site-topbar .site-theme-switch button,.site-sidebar .site-sidebar-main a) { color:var(--site-dark-muted); }
html[data-lft-design][data-theme="nuit"] body :is(.site-topbar .site-theme-switch button[aria-pressed=true],.site-theme-switch button[aria-pressed=true]) { background:var(--site-soft);color:var(--site-ink); }
html[data-lft-design][data-theme="nuit"] body :is(.table-wrap,.offers-table-wrap) th { background:var(--site-soft);color:var(--site-ink); }
html[data-lft-design][data-theme="nuit"] body :is(.table-wrap,.offers-table-wrap) td,
html[data-lft-design][data-theme="nuit"] body :is(.table-wrap,.offers-table-wrap) tr:hover td { background:var(--site-panel);color:var(--site-ink); }
html[data-lft-design][data-theme="nuit"] body :is(.site-footer,.site-footer .ft-bottom) { background:var(--site-panel);color:var(--site-ink); }
html[data-lft-design][data-theme="nuit"] body .header-actions-panel .site-account-themes button::before { background:#526b7d; }
html[data-lft-design][data-theme="nuit"] body .header-actions-panel .site-account-themes button[data-site-theme="fire"]::before { background:#d17b55; }
html[data-lft-design][data-theme="nuit"] body .header-actions-panel .site-account-themes button[data-site-theme="ice"]::before { background:#68a9ce; }
html[data-lft-design][data-theme="nuit"] body .header-actions-panel .site-account-themes button[data-site-theme="nuit"]::before { background:#8fc6df; }
