/* 52MEX homepage v6. Route scoped: existing players and libraries keep their behavior. */
body.cs-home-v6 {
  --mh-bg:#0b0c0f; --mh-panel:#14161b; --mh-soft:#1d2027;
  --mh-text:#f5f3ef; --mh-muted:#a7acb5; --mh-line:#2b2e35;
  --mh-accent:#dfb56b; --mh-primary:#dbb16a; --mh-onprimary:#19140c;
  --mh-glow:rgba(219,177,106,.12); --mh-shadow:0 16px 36px rgba(0,0,0,.23);
  --mh-space:32px; background:var(--mh-bg) !important; color:var(--mh-text);
  color-scheme:dark; font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;
}
html[data-cs-theme="day"] body.cs-home-v6 {
  --mh-bg:#f6f5f2; --mh-panel:#ffffff; --mh-soft:#eeece7;
  --mh-text:#20232a; --mh-muted:#666b73; --mh-line:#dededb;
  --mh-accent:#85612a; --mh-primary:#d5ac66; --mh-onprimary:#1d170e;
  --mh-glow:rgba(213,172,102,.15); --mh-shadow:0 10px 28px rgba(42,39,31,.07);
  background:var(--mh-bg) !important; color-scheme:light;
}
body.cs-home-v6 .cs3-shell {
  --ink:var(--mh-text); --muted:var(--mh-muted); --gold:var(--mh-accent); --panel:var(--mh-panel);
  display:grid; grid-template-columns:184px minmax(0,1fr);
  background:var(--mh-bg); color:var(--mh-text); min-height:100vh;
}
body.cs-home-v6 .cs3-shell *,body.cs-home-v6 .cs3-shell *::before,
body.cs-home-v6 .cs3-shell *::after { box-sizing:border-box; }
body.cs-home-v6 #root,body.cs-home-v6 #root > div,body.cs-home-v6 #root > div > main { background:var(--mh-bg) !important; }
body.cs-home-v6 .cs3-shell,body.cs-home-v6 .cs3-page,body.cs-home-v6 .cs3-content { min-width:0; background:var(--mh-bg) !important; color:var(--mh-text); }
body.cs-home-v6 .cs3-sidebar { width:184px; align-items:stretch; border-color:var(--mh-line); background:var(--mh-panel); }
body.cs-home-v6 .cs3-brand { height:112px; align-items:flex-start; padding:0 24px; color:var(--mh-text); }
body.cs-home-v6 .cs3-brand span { color:var(--mh-accent); font-size:30px; }
body.cs-home-v6 .cs3-brand small { color:var(--mh-muted); font-size:8px; }
body.cs-home-v6 .cs3-sidebar-nav { align-items:stretch; justify-content:flex-start; width:100%; padding:12px 10px; gap:5px; }
body.cs-home-v6 .cs3-sidebar-nav a {
  width:100%; min-height:46px; padding:0 16px; justify-content:flex-start;
  writing-mode:horizontal-tb; letter-spacing:0; text-align:left;
  border-radius:3px; color:var(--mh-muted); font-size:14px; font-weight:600; line-height:1.4;
}
body.cs-home-v6 .cs3-sidebar-nav a.active,
body.cs-home-v6 .cs3-sidebar-nav a:hover { background:var(--mh-glow); color:var(--mh-accent); }
body.cs-home-v6 .cs3-sidebar-nav a.active::before { left:0; height:24px; background:var(--mh-accent); }
body.cs-home-v6 .cs3-sidebar-foot { padding:20px 24px; color:var(--mh-muted); text-align:left; font-size:8px; }
body.cs-home-v6 .cs3-page-progress { left:184px; background:var(--mh-accent); }
body.cs-home-v6 .cs3-topbar {
  position:sticky; top:0; left:auto; right:auto; z-index:40; display:flex;
  height:76px; gap:12px; padding:0 var(--mh-space);
  border-bottom:1px solid var(--mh-line); border-color:var(--mh-line) !important;
  background:var(--mh-panel) !important; color:var(--mh-text) !important; box-shadow:none !important;
}
body.cs-home-v6 .cs3-search-wrap { width:auto; min-width:0; max-width:600px; flex:1 1 auto; margin-right:auto; }
body.cs-home-v6 .cs3-search { height:44px; border-radius:3px; border-color:var(--mh-line); background:var(--mh-bg); box-shadow:none; }
body.cs-home-v6 .cs3-search:focus-within { border-color:var(--mh-accent); background:var(--mh-bg); box-shadow:0 0 0 2px var(--mh-glow); }
body.cs-home-v6 .cs3-topbar .cs3-search input { font-size:14px; color:var(--mh-text) !important; background:transparent !important; border:0 !important; }
body.cs-home-v6 .cs3-topbar .cs3-search input::placeholder { color:var(--mh-muted) !important; opacity:1; }
body.cs-home-v6 .cs3-topbar .cs3-search button { height:38px; min-width:38px; border-radius:2px; background:var(--mh-soft); color:var(--mh-text) !important; }
body.cs-home-v6 .cs3-search-panel { background:var(--mh-panel); border-color:var(--mh-line); box-shadow:var(--mh-shadow); border-radius:3px; backdrop-filter:none; }
body.cs-home-v6 .cs3-search-panel-head { border-color:var(--mh-line); }
body.cs-home-v6 .cs3-search-panel-head strong,
body.cs-home-v6 .cs3-search-ranks a { color:var(--mh-text); }
body.cs-home-v6 .cs3-search-ranks em,body.cs-home-v6 .cs3-search-ranks p { color:var(--mh-muted); }
body.cs-home-v6 .cs3-search-ranks a:hover { background:var(--mh-soft); color:var(--mh-text); }
body.cs-home-v6 .cs3-langs { margin:0; padding:0; border-color:var(--mh-line); border-radius:3px; background:var(--mh-bg); }
body.cs-home-v6 .cs3-topbar .cs3-langs button { min-width:36px; height:42px; padding:0 9px; border-radius:2px; color:var(--mh-muted) !important; background:transparent !important; font-size:11px; }
body.cs-home-v6 .cs3-topbar .cs3-langs button.active { background:var(--mh-primary) !important; color:var(--mh-onprimary) !important; }
body.cs-home-v6 .cs3-all { display:none; }
body.cs-home-v6 .mh-theme,body.cs-home-v6 .mh-utility > summary {
  display:inline-flex; min-height:44px; min-width:44px; align-items:center; justify-content:center; gap:7px;
  padding:0 12px; border:1px solid var(--mh-line); border-radius:3px;
  background:var(--mh-bg); color:var(--mh-text) !important; font-family:inherit; font-weight:600; font-size:12px; line-height:1.2; cursor:pointer; white-space:nowrap;
}
body.cs-home-v6 .mh-theme:hover,body.cs-home-v6 .mh-utility > summary:hover { border-color:var(--mh-accent); color:var(--mh-accent); }
body.cs-home-v6 .mh-utility { position:relative; flex:0 0 auto; }
body.cs-home-v6 .mh-utility > summary { list-style:none; }
body.cs-home-v6 .mh-utility > summary::-webkit-details-marker { display:none; }
body.cs-home-v6 .mh-utility-menu {
  position:absolute; z-index:50; top:calc(100% + 8px); right:0;
  width:208px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 124px); overflow-y:auto; padding:7px;
  border:1px solid var(--mh-line); border-radius:3px; background:var(--mh-panel); box-shadow:var(--mh-shadow);
}
body.cs-home-v6 .mh-utility-menu .cs3-legacy-actions { display:grid; gap:2px; overflow:visible; }
body.cs-home-v6 .mh-utility-menu .cs3-legacy-actions a,
body.cs-home-v6 .mh-utility-menu .cs3-legacy-actions button {
  display:flex; width:100%; min-height:44px; align-items:center; padding:0 12px;
  border:0; border-radius:2px; color:var(--mh-text) !important; background:transparent; font-size:13px; text-align:left;
}
body.cs-home-v6 .mh-utility-menu .cs3-legacy-actions a:hover,
body.cs-home-v6 .mh-utility-menu .cs3-legacy-actions button:hover { background:var(--mh-soft); color:var(--mh-accent); }
body.cs-home-v6 .cs3-hero { padding:0; min-height:0; overflow:visible; background:none; }
body.cs-home-v6 .cs3-hero::before,body.cs-home-v6 .cs3-hero::after { display:none; }
body.cs-home-v6 .mh-feature {
  position:relative; display:grid; grid-template-columns:minmax(0,1fr) 210px;
  align-items:center; gap:38px; min-height:330px; margin:22px var(--mh-space) 0;
  overflow:hidden; padding:28px 42px; border:1px solid var(--mh-line); border-radius:4px;
  background:radial-gradient(ellipse at 95% 30%,var(--mh-glow),transparent 65%),var(--mh-panel);
}
body.cs-home-v6 .mh-feature-copy { min-width:0; max-width:740px; }
body.cs-home-v6 .mh-kicker { display:block; margin:0 0 12px; color:var(--mh-accent); font-size:11px; line-height:1.4; font-weight:750; letter-spacing:.12em; }
body.cs-home-v6 .mh-feature h1 {
  margin:0; max-width:100%; color:var(--mh-text); font-family:inherit;
  font-size:clamp(30px,3.3vw,48px); font-weight:750; line-height:1.16;
  letter-spacing:-.03em; overflow-wrap:anywhere; text-shadow:none; text-wrap:balance;
}
body.cs-home-v6 .mh-meta { margin-top:13px; color:var(--mh-muted); font-size:13px; line-height:1.5; }
body.cs-home-v6 .mh-description { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; max-width:580px; margin:12px 0 0; color:var(--mh-muted); font-size:14px; line-height:1.7; }
body.cs-home-v6 .mh-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
body.cs-home-v6 .mh-actions a,body.cs-home-v6 .mh-actions button {
  display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:7px; padding:0 18px;
  border:1px solid var(--mh-line); border-radius:3px; background:var(--mh-soft); color:var(--mh-text);
  font-family:inherit; font-size:13px; font-weight:700; line-height:1.3; text-decoration:none; cursor:pointer;
}
body.cs-home-v6 .mh-actions .mh-primary { border-color:var(--mh-primary); background:var(--mh-primary); color:var(--mh-onprimary); }
body.cs-home-v6 .mh-actions .mh-save[aria-pressed="true"] { border-color:var(--mh-accent); color:var(--mh-accent); }
body.cs-home-v6 .mh-actions a:hover,body.cs-home-v6 .mh-actions button:hover { filter:brightness(1.06); }
body.cs-home-v6 .mh-feature-switch { display:flex; gap:5px; align-items:center; margin-top:14px; }
body.cs-home-v6 .mh-feature-switch button { display:grid; min-width:44px; min-height:44px; padding:0 10px; place-items:center; border:0; border-bottom:2px solid var(--mh-line); border-radius:0; background:transparent; color:var(--mh-muted); font-family:inherit; font-weight:600; font-size:12px; line-height:1; cursor:pointer; }
body.cs-home-v6 .mh-feature-switch button.active { border-bottom-color:var(--mh-accent); color:var(--mh-accent); }
body.cs-home-v6 .mh-feature-art { display:flex; justify-content:flex-end; align-items:center; min-width:0; }
body.cs-home-v6 .mh-feature-art a { display:block; width:184px; height:276px; overflow:hidden; border:1px solid var(--mh-line); border-radius:3px; background:var(--mh-soft); box-shadow:var(--mh-shadow); }
body.cs-home-v6 .mh-feature-art img { display:block; width:100%; height:100%; object-fit:cover; }
body.cs-home-v6 .mh-shortcuts { display:flex; gap:8px; overflow-x:auto; padding:16px 0 6px; margin:0 var(--mh-space); scrollbar-width:thin; scrollbar-color:var(--mh-line) transparent; }
body.cs-home-v6 .mh-shortcuts a { display:inline-flex; flex:0 0 auto; min-height:44px; align-items:center; padding:0 16px; border:1px solid var(--mh-line); border-radius:3px; color:var(--mh-text); background:var(--mh-panel); font-size:13px; font-weight:600; text-decoration:none; white-space:nowrap; }
body.cs-home-v6 .mh-shortcuts a:hover { border-color:var(--mh-accent); color:var(--mh-accent); }
body.cs-home-v6 .cs3-section { padding:24px var(--mh-space); background:var(--mh-bg); }
body.cs-home-v6 .cs3-section-head { align-items:center; gap:16px; margin-bottom:16px; }
body.cs-home-v6 .cs3-section-head h2 { margin:0; color:var(--mh-text); font-family:inherit; font-size:23px; line-height:1.35; font-weight:750; letter-spacing:-.02em; }
body.cs-home-v6 .cs3-section-head small { display:block; margin:0 0 4px; color:var(--mh-muted); font-size:10px; line-height:1.4; letter-spacing:.06em; }
body.cs-home-v6 .cs3-section-head > a { display:inline-flex; flex:0 0 auto; min-height:44px; align-items:center; color:var(--mh-muted); font-size:12px; line-height:1.4; letter-spacing:0; text-decoration:none; }
body.cs-home-v6 .cs3-section-head > a:hover { color:var(--mh-accent); }
body.cs-home-v6 .mh-row { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(190px,230px); justify-content:start; gap:14px; overflow-x:auto; padding:0 0 10px; scrollbar-width:thin; scrollbar-color:var(--mh-line) transparent; }
body.cs-home-v6 .mh-card { min-width:0; }
body.cs-home-v6 .mh-card > a { display:block; color:var(--mh-text); text-decoration:none; }
body.cs-home-v6 .mh-thumb { position:relative; display:block; overflow:hidden; aspect-ratio:16/9; border-radius:3px; background:var(--mh-soft); }
body.cs-home-v6 .mh-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
body.cs-home-v6 .mh-thumb::after { content:""; position:absolute; inset:45% 0 0; background:linear-gradient(transparent,rgba(0,0,0,.45)); pointer-events:none; }
body.cs-home-v6 .mh-progress { position:absolute; z-index:2; right:0; bottom:0; left:0; display:block; height:3px; background:rgba(255,255,255,.3); }
body.cs-home-v6 .mh-progress i { display:block; height:100%; max-width:100%; background:var(--mh-primary); }
body.cs-home-v6 .mh-card strong { display:block; overflow:hidden; margin-top:9px; color:var(--mh-text); font-size:14px; font-weight:700; line-height:1.45; text-overflow:ellipsis; white-space:nowrap; }
body.cs-home-v6 .mh-card small { display:block; overflow:hidden; margin-top:4px; color:var(--mh-muted); font-size:12px; line-height:1.45; text-overflow:ellipsis; white-space:nowrap; }
body.cs-home-v6 .mh-status { display:block; margin-top:5px; color:var(--mh-accent); font-size:12px; font-weight:600; line-height:1.45; }
body.cs-home-v6 .mh-row.mh-row-empty { display:block; padding-bottom:0; }
body.cs-home-v6 .mh-personal { padding-top:18px; padding-bottom:18px; }
body.cs-home-v6 .mh-personal + .mh-updates[hidden] + .cs3-trending { padding-top:18px; }
body.cs-home-v6 .mh-empty { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:68px; width:100%; margin:0; padding:14px 18px; border:1px solid var(--mh-line); border-radius:3px; background:var(--mh-panel); color:var(--mh-muted); font-size:13px; line-height:1.6; }
body.cs-home-v6 .mh-empty p { margin:0; }
body.cs-home-v6 .mh-empty a { display:inline-flex; flex:0 0 auto; min-height:44px; align-items:center; color:var(--mh-accent); font-weight:600; text-decoration:none; }
body.cs-home-v6 .mh-row-empty { display:block; }
body.cs-home-v6 .cs3-trending .cs3-rank-row { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; margin:0; overflow:visible; }
body.cs-home-v6 .cs3-trending .cs3-rank-row .cs3-card { display:block; min-width:0; width:auto; flex:none; }
body.cs-home-v6 .cs3-trending .cs3-rank { display:none; }
body.cs-home-v6 .cs3-card a,body.cs-home-v6 .cs3-card > a > strong { color:var(--mh-text); }
body.cs-home-v6 .cs3-card > a > strong { margin-top:10px; font-size:14px; font-weight:700; line-height:1.5; }
body.cs-home-v6 .cs3-card > a > small { margin-top:4px; color:var(--mh-muted); font-size:12px; line-height:1.45; letter-spacing:0; }
body.cs-home-v6 .cs3-card-image { border-radius:3px; background:var(--mh-soft); }
body.cs-home-v6 .cs3-card-image i { background:var(--mh-primary); color:var(--mh-onprimary); }
body.cs-home-v6 .cs3-card-image img { transition:transform .2s; }
body.cs-home-v6 .cs3-catalogue { scroll-margin-top:90px; background:var(--mh-bg) !important; padding-bottom:44px; }
body.cs-home-v6 .cs3-native-library-host { min-height:0; margin:0 calc(-1 * var(--mh-space)); }
body.cs-home-v6 .cs3-native-library-host > .bg-background { min-height:0 !important; background:var(--mh-bg) !important; color:var(--mh-text); }
body.cs-home-v6 .cs3-native-library-host > .bg-background > .bg-muted\/30 { border-color:var(--mh-line); background:var(--mh-panel) !important; }
body.cs-home-v6 .cs3-native-library-host .text-muted-foreground { color:var(--mh-muted) !important; }
body.cs-home-v6 .cs3-native-library-host .bg-card { background:var(--mh-panel) !important; color:var(--mh-text) !important; border-color:var(--mh-line) !important; }
body.cs-home-v6 .cs3-native-library-host .bg-muted { background:var(--mh-soft) !important; color:var(--mh-text) !important; }
body.cs-home-v6 .cs3-native-library-host .text-foreground,
body.cs-home-v6 .cs3-native-library-host [data-vod-card] h3 { color:var(--mh-text) !important; }
body.cs-home-v6 .cs3-native-library-host [data-vod-card] { background:var(--mh-panel) !important; color:var(--mh-text) !important; border-color:var(--mh-line) !important; border-radius:3px; }
body.cs-home-v6 .cs3-native-library-host > .bg-background > .bg-muted\/30 button,
body.cs-home-v6 .cs3-native-library-host button.bg-secondary { min-height:40px; border-color:var(--mh-line) !important; border-radius:3px; background:var(--mh-soft) !important; color:var(--mh-text) !important; }
body.cs-home-v6 .cs3-native-library-host > .bg-background > .bg-muted\/30 button.bg-primary { border-color:var(--mh-primary) !important; background:var(--mh-primary) !important; color:var(--mh-onprimary) !important; }
body.cs-home-v6 .cs3-native-library-host input,body.cs-home-v6 .cs3-native-library-host select { border-color:var(--mh-line) !important; background:var(--mh-panel) !important; color:var(--mh-text) !important; border-radius:3px; }
body.cs-home-v6 .cs3-shell :focus-visible { outline:2px solid var(--mh-accent) !important; outline-offset:3px; }
body.cs-home-v6 .mh-bottom-nav { display:none; }
body.cs-home-v6 .mh-mobile-brand,body.cs-home-v6 .mh-mobile-langs { display:none; }
@media (min-width:701px) and (max-width:1100px) {
  body.cs-home-v6 { --mh-space:24px; }
  body.cs-home-v6 .cs3-shell { grid-template-columns:156px minmax(0,1fr); }
  body.cs-home-v6 .cs3-sidebar { width:156px; }
  body.cs-home-v6 .cs3-page-progress { left:156px; }
  body.cs-home-v6 .cs3-brand { padding-left:22px; }
  body.cs-home-v6 .cs3-sidebar-nav a { padding:0 11px; font-size:13px; }
  body.cs-home-v6 .cs3-topbar { gap:8px; }
  body.cs-home-v6 .mh-theme { padding:0 9px; font-size:11px; }
  body.cs-home-v6 .mh-feature { grid-template-columns:minmax(0,1fr) 150px; gap:22px; padding:26px; }
  body.cs-home-v6 .mh-feature-art a { width:148px; height:222px; }
  body.cs-home-v6 .mh-feature h1 { font-size:34px; }
  body.cs-home-v6 .mh-feature-switch { margin-top:10px; }
  body.cs-home-v6 .cs3-trending .cs3-rank-row { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px 14px; }
  body.cs-home-v6 .cs3-trending .cs3-rank-row .cs3-card:nth-child(n+4) { display:block; }
}
@media (max-width:700px) {
  body.cs-home-v6 { --mh-space:16px; }
  body.cs-home-v6 .cs3-shell { display:block; padding-bottom:calc(74px + env(safe-area-inset-bottom,0px)); }
  body.cs-home-v6 .cs3-sidebar { display:none; }
  body.cs-home-v6 .cs3-page-progress { left:0; }
  body.cs-home-v6 .cs3-topbar { display:grid; grid-template-columns:44px minmax(0,1fr) auto auto; height:auto; min-height:112px; padding:8px var(--mh-space); gap:6px 8px; }
  body.cs-home-v6 .cs3-topbar .cs3-menu { grid-column:1; grid-row:1; display:grid; width:44px; height:44px; padding:0; place-items:center; border:0; border-radius:3px; color:var(--mh-text) !important; background:transparent; }
  body.cs-home-v6 .cs3-topbar .mh-mobile-brand { grid-column:2; grid-row:1; display:flex; min-width:0; min-height:44px; flex-direction:column; justify-content:center; gap:3px; color:var(--mh-text) !important; text-decoration:none; }
  body.cs-home-v6 .mh-mobile-brand b { font-size:16px; font-weight:800; line-height:1.1; letter-spacing:-.03em; }
  body.cs-home-v6 .mh-mobile-brand small { color:var(--mh-accent); font-size:8px; line-height:1.1; letter-spacing:.13em; }
  body.cs-home-v6 .cs3-search-wrap { grid-row:2; grid-column:1/-1; width:100%; max-width:none; margin:0; }
  body.cs-home-v6 .cs3-search { height:44px; }
  body.cs-home-v6 .cs3-search-ranks { grid-template-columns:1fr; }
  body.cs-home-v6 .mh-theme { grid-column:3; grid-row:1; justify-self:start; min-width:44px; padding:0 8px; font-size:11px; }
  body.cs-home-v6 .mh-utility { grid-column:4; grid-row:1; }
  body.cs-home-v6 .cs3-topbar > .cs3-langs { display:none; }
  body.cs-home-v6 .mh-mobile-langs { display:flex; gap:4px; padding:8px 5px 2px; border-top:1px solid var(--mh-line); }
  body.cs-home-v6 .cs3-topbar .mh-mobile-langs button { flex:1; min-height:44px; min-width:44px; border:1px solid var(--mh-line); border-radius:3px; background:var(--mh-bg) !important; color:var(--mh-muted) !important; font-size:12px; cursor:pointer; }
  body.cs-home-v6 .cs3-topbar .mh-mobile-langs button.active { background:var(--mh-primary) !important; border-color:var(--mh-primary); color:var(--mh-onprimary) !important; }
  body.cs-home-v6 .mh-utility > summary { padding:0 8px; min-width:44px; font-size:11px; }
  body.cs-home-v6 .mh-feature { grid-template-columns:minmax(0,1fr) 104px; align-items:start; gap:14px; min-height:248px; margin-top:14px; padding:20px 16px 14px; }
  body.cs-home-v6 .mh-kicker { font-size:10px; margin-bottom:9px; letter-spacing:.07em; }
  body.cs-home-v6 .mh-feature h1 { font-size:25px; line-height:1.2; }
  body.cs-home-v6 .mh-meta { margin-top:9px; font-size:11px; }
  body.cs-home-v6 .mh-description { margin-top:8px; font-size:12px; line-height:1.6; }
  body.cs-home-v6 .mh-actions { margin-top:14px; gap:7px; }
  body.cs-home-v6 .mh-actions a,body.cs-home-v6 .mh-actions button { min-height:44px; padding:0 11px; font-size:12px; }
  body.cs-home-v6 .mh-feature-switch { margin-top:7px; gap:3px; flex-wrap:wrap; }
  body.cs-home-v6 .mh-feature-switch button { min-width:44px; padding:0 7px; min-height:44px; }
  body.cs-home-v6 .mh-feature-art { padding-top:3px; }
  body.cs-home-v6 .mh-feature-art a { width:104px; height:156px; }
  body.cs-home-v6 .mh-shortcuts { gap:7px; padding-top:12px; padding-bottom:4px; }
  body.cs-home-v6 .mh-shortcuts a { min-height:44px; padding:0 13px; font-size:12px; }
  body.cs-home-v6 .cs3-section { padding:20px var(--mh-space); }
  body.cs-home-v6 .cs3-section.mh-personal { padding-top:14px; padding-bottom:14px; }
  body.cs-home-v6 .mh-personal + .mh-updates[hidden] + .cs3-trending { padding-top:14px; }
  body.cs-home-v6 .cs3-section-head { margin-bottom:13px; gap:10px; }
  body.cs-home-v6 .cs3-section-head h2 { font-size:20px; }
  body.cs-home-v6 .cs3-section-head small { font-size:9px; letter-spacing:.03em; }
  body.cs-home-v6 .cs3-section-head > a { font-size:11px; }
  body.cs-home-v6 .mh-empty { gap:12px; min-height:68px; padding:10px 12px; font-size:12px; }
  body.cs-home-v6 .mh-row { grid-auto-columns:minmax(176px,66vw); gap:12px; }
  body.cs-home-v6 .mh-card strong { font-size:13px; }
  body.cs-home-v6 .mh-card small,body.cs-home-v6 .mh-status { font-size:11px; }
  body.cs-home-v6 .cs3-trending .cs3-rank-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 12px; }
  body.cs-home-v6 .cs3-card > a > strong { font-size:13px; }
  body.cs-home-v6 .cs3-card > a > small { font-size:11px; }
  body.cs-home-v6 .cs3-shell.menu-open .cs3-sidebar { width:240px; background:var(--mh-panel); }
  body.cs-home-v6 .cs3-shell.menu-open .cs3-brand { padding-left:26px; }
  body.cs-home-v6 .cs3-shell.menu-open .cs3-sidebar-nav { padding:10px 12px; }
  body.cs-home-v6 .cs3-shell.menu-open .cs3-sidebar-nav a { min-height:48px; padding:0 16px; color:var(--mh-muted); }
  body.cs-home-v6 .cs3-shell.menu-open .cs3-sidebar-nav a.active { color:var(--mh-accent); }
  body.cs-home-v6 .cs3-shell.menu-open .cs3-menu-close { width:44px; height:44px; top:14px; right:14px; border-radius:3px; color:var(--mh-text); border-color:var(--mh-line); }
  body.cs-home-v6 .mh-bottom-nav { position:fixed; z-index:45; bottom:0; left:0; right:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:stretch; min-height:64px; padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px)); border-top:1px solid var(--mh-line); background:var(--mh-panel); }
  body.cs-home-v6 .mh-bottom-nav a { display:flex; min-width:0; min-height:54px; align-items:center; justify-content:center; flex-direction:column; gap:5px; padding:4px 1px; color:var(--mh-muted); text-decoration:none; }
  body.cs-home-v6 .mh-bottom-nav a span { display:block; font-size:20px; line-height:1; }
  body.cs-home-v6 .mh-bottom-nav a small { max-width:100%; overflow:hidden; font-size:10px; line-height:1.3; text-overflow:ellipsis; white-space:nowrap; }
  body.cs-home-v6 .mh-bottom-nav a.active,body.cs-home-v6 .mh-bottom-nav a[aria-current="page"] { color:var(--mh-accent); }
  body.cs-home-v6 .cs3-catalogue { scroll-margin-top:122px; }
}
@media (max-width:360px) {
  body.cs-home-v6 { --mh-space:12px; }
  body.cs-home-v6 .cs3-topbar { column-gap:5px; }
  body.cs-home-v6 .mh-feature { grid-template-columns:minmax(0,1fr) 80px; gap:10px; padding:16px 12px 10px; }
  body.cs-home-v6 .mh-feature h1 { font-size:23px; }
  body.cs-home-v6 .mh-feature-art a { width:80px; height:120px; }
  body.cs-home-v6 .mh-actions a,body.cs-home-v6 .mh-actions button { padding:0 8px; font-size:11px; }
  body.cs-home-v6 .mh-meta { font-size:10px; }
}
@media (prefers-reduced-motion:reduce) {
  body.cs-home-v6 .cs3-shell *,body.cs-home-v6 .cs3-shell *::before,
  body.cs-home-v6 .cs3-shell *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
