/*
 * Materiály.Vyučuji.cz – Material detail baseline mirror
 *
 * Run 290 moved a current baseline copy of page-specific rules from frontend.css
 * into this later-loaded page CSS file. The original frontend.css rules are kept
 * as a compatibility fallback in this run, so this should not change visual output.
 *
 * Scope: material and bundle detail routes only
 * Safe selector pattern: body.mvy-detail-route-material .mvy-material-detail-page ...
 *
 * Future edits for this surface belong here. Do not add broad global selectors
 * such as .card, .btn, section, h2, .mvy-btn or .mvy-front-card unless they are
 * protected by the page body class / page wrapper.
 */



/* --- Migrated baseline mirror from assets/css/frontend.css (run 290) --- */

/* Run 30 – material detail page standalone-first integration */
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero-shell{padding:24px 24px 18px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr);gap:24px;align-items:start;margin:0}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy{display:grid;gap:12px;align-content:start;min-width:0}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy h1{margin:0;font-size:54px;line-height:1;letter-spacing:-.05em;max-width:none}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-teaser{margin:0;color:var(--muted);font-size:18px;line-height:1.6}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-badge-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-meta-summary{margin-top:2px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-meta-summary .mvy-chip-success{background:rgba(34,197,94,.10);color:#15803d;border-color:rgba(34,197,94,.18)}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-price-row{align-items:flex-end;margin-top:22px;gap:18px;flex-wrap:wrap}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-price-stack{display:grid;gap:4px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-price-note{margin:0;max-width:48ch;font-size:14px;color:var(--muted)}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-main-media{display:block;aspect-ratio:1/1;border-radius:26px;overflow:hidden;box-shadow:var(--shadow-soft);background:linear-gradient(135deg,rgba(47,107,255,.12),rgba(139,92,246,.14))}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-main-media-inner{display:block;width:100%;height:100%}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-main-media img{width:100%;height:100%;object-fit:cover;display:block}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-media-stack{display:grid;gap:12px;min-width:0}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-thumb-row{display:flex;gap:10px;flex-wrap:wrap}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-thumb{display:block;width:74px;height:74px;border-radius:16px;overflow:hidden;border:1px solid rgba(15,23,42,.08);background:#fff;box-shadow:var(--shadow-soft)}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-thumb img{width:100%;height:100%;object-fit:cover;display:block}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-grid{display:grid;grid-template-columns:minmax(0,1.12fr) 330px;gap:22px;align-items:start}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-main,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-side{padding:0;border:none;background:transparent;box-shadow:none}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-main{display:grid;gap:18px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-side{display:grid;gap:16px;align-content:start;position:sticky;top:94px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card{padding:18px;border-radius:22px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:var(--shadow-soft)}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card h3{margin:0 0 10px;font-size:20px;letter-spacing:-.03em}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card p{color:var(--muted)}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card .mvy-btn,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card .mvy-btn-primary,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card .mvy-btn-soft{width:100%;justify-content:center}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head{display:flex;gap:12px;align-items:center}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head .avatar,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head img,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head .mvy-custom-avatar{width:54px;height:54px;border-radius:999px;object-fit:cover;display:block}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head strong{display:block;font-size:16px;line-height:1.1}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head span{display:block;color:var(--muted);font-size:13px;margin-top:2px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metric,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-item,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-note-item,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-source-box{padding:14px;border-radius:18px;background:rgba(247,248,255,.88);border:1px solid rgba(15,23,42,.07)}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metric strong{display:block;font-size:18px;line-height:1}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metric span{display:block;font-size:12px;color:var(--muted);margin-top:4px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-item strong{display:block;font-size:15px;margin-bottom:4px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-item span{display:block;font-size:13px;color:var(--muted)}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-source-box{margin-top:14px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-source-box h4{margin:0 0 10px;font-size:15px;letter-spacing:-.02em}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-note-list{display:grid;gap:10px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-note-item strong{display:block;font-size:15px;margin-bottom:4px}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-note-item span{display:block;font-size:13px;color:var(--muted)}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}

@media (max-width:1120px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:1024px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-grid,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .cards{grid-template-columns:1fr}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-side{position:static}
}

@media (max-width:860px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy h1{font-size:clamp(34px,8vw,46px)}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-grid,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-grid--compact,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metrics{grid-template-columns:1fr}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero-shell{padding:18px}
}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-shop-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:end;
  margin-top:22px;
}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-shop-media{display:grid;gap:14px;min-width:0;}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-action-row{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin:0;}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-action-row .btn{min-height:48px;padding:0 18px;white-space:nowrap;}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-action-row .btn.primary{color:#fff !important;background:linear-gradient(135deg,#2f6bff,#8b5cf6);box-shadow:0 16px 32px rgba(47,107,255,.22);}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-thumb-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:0;}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-thumb{width:82px;height:82px;border-radius:16px;border:1px solid rgba(15,23,42,.10);background:#fff;box-shadow:0 8px 18px rgba(2,6,23,.07);transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-thumb:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(2,6,23,.10);border-color:rgba(47,107,255,.28);}

.mvy-ui-scope.mvy-material-detail-page .mvy-detail-main-media{cursor:zoom-in;}

@media (min-width:901px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero{align-items:stretch;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy{min-height:100%;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-shop-row{margin-top:auto;}
}

@media (max-width:900px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-shop-row{grid-template-columns:1fr;align-items:start;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-action-row{justify-content:flex-start;}
}

/* Run 134 – restore desktop material detail hero two-column layout.
   Only thumbnails and CTA live in the right purchase column; title/price remain on the right side of the main thumbnail. */
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-media-col{
  min-width:0;
  display:block;
}

@media (min-width:861px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero{
    display:grid !important;
    grid-template-columns:minmax(360px,.92fr) minmax(0,1.08fr) !important;
    gap:28px !important;
    align-items:stretch !important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-media-col{
    grid-column:1;
    grid-row:1;
    align-self:start;
    min-width:0;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy{
    grid-column:2;
    grid-row:1;
    min-width:0;
    min-height:100%;
    display:flex !important;
    flex-direction:column;
    align-content:stretch;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-shop-row{
    margin-top:auto !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:18px !important;
    align-items:end !important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-action-row{
    justify-content:flex-end !important;
    align-self:end;
  }
}

@media (max-width:860px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero{
    grid-template-columns:1fr !important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy{
    display:grid !important;
  }
}

/* 1.18.249: Collapsed author material owner tools. */
.mvy-material-detail-page .mvy-detail-purchased-access{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  border-color:rgba(47,107,255,.16);
  background:linear-gradient(135deg,rgba(47,107,255,.08),rgba(139,92,246,.07)),#fff;
}

.mvy-material-detail-page .mvy-detail-purchased-access strong{font-size:18px;color:rgba(10,14,20,.92)}

.mvy-material-detail-page .mvy-detail-purchased-access p{margin:0;color:rgba(10,14,20,.66);max-width:680px}

.mvy-material-detail-page .btn.is-static,
.mvy-material-detail-page .mvy-btn.is-static{pointer-events:none;opacity:.86}

.mvy-material-detail-page .mvy-material-owner-panel{
  padding:0!important;
  overflow:hidden;
  border-color:rgba(47,107,255,.16);
  background:linear-gradient(135deg,rgba(47,107,255,.06),rgba(139,92,246,.05)),#fff;
}

.mvy-material-detail-page .mvy-material-owner-details{display:block}

.mvy-material-detail-page .mvy-material-owner-summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:12px;
  align-items:center;
  min-height:66px;
  padding:14px 18px;
  cursor:pointer;
  list-style:none;
}

.mvy-material-detail-page .mvy-material-owner-summary::-webkit-details-marker{display:none}

.mvy-material-detail-page .mvy-owner-summary-copy{display:grid;gap:2px;min-width:0}

.mvy-material-detail-page .mvy-owner-summary-copy strong{font-size:17px;line-height:1.2;color:rgba(10,14,20,.92)}

.mvy-material-detail-page .mvy-owner-summary-copy small{font-size:13px;color:rgba(10,14,20,.58);line-height:1.35}

.mvy-material-detail-page .mvy-owner-summary-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 12px;border-radius:999px;border:1px solid rgba(15,23,42,.12);background:#fff;color:#2f6bff;font-size:12px;font-weight:900;box-shadow:0 6px 16px rgba(2,6,23,.05)}

.mvy-material-detail-page .mvy-owner-summary-toggle .is-open{display:none}

.mvy-material-detail-page .mvy-material-owner-details[open] .mvy-owner-summary-toggle .is-open{display:inline}

.mvy-material-detail-page .mvy-material-owner-details[open] .mvy-owner-summary-toggle .is-closed{display:none}

.mvy-material-detail-page .mvy-owner-status{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:900;border:1px solid rgba(15,23,42,.10);background:#fff;color:rgba(10,14,20,.72);white-space:nowrap}

.mvy-material-detail-page .mvy-owner-status.is-live{border-color:rgba(34,197,94,.22);background:rgba(34,197,94,.10);color:#15803d}

.mvy-material-detail-page .mvy-owner-status.is-hidden{border-color:rgba(245,158,11,.24);background:rgba(245,158,11,.12);color:#92400e}

.mvy-material-detail-page .mvy-material-owner-body{padding:0 18px 18px;border-top:1px solid rgba(15,23,42,.08)}

.mvy-material-detail-page .mvy-material-owner-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:18px 0}

.mvy-material-detail-page .mvy-owner-metric{border:1px solid rgba(15,23,42,.10);border-radius:18px;background:rgba(255,255,255,.88);padding:15px;box-shadow:0 6px 16px rgba(2,6,23,.05)}

.mvy-material-detail-page .mvy-owner-metric span{display:block;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:rgba(10,14,20,.52)}

.mvy-material-detail-page .mvy-owner-metric strong{display:block;margin-top:5px;font-size:24px;line-height:1.1;color:rgba(10,14,20,.92)}

.mvy-material-detail-page .mvy-owner-metric small{display:block;margin-top:6px;color:rgba(10,14,20,.58);line-height:1.35}

.mvy-material-detail-page .mvy-material-owner-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 0}

.mvy-material-detail-page .mvy-owner-toggle-form{display:inline-flex;margin:0}

.mvy-material-detail-page .mvy-owner-danger-button{border-color:rgba(180,35,24,.18)!important;background:#fff7f7!important;color:#b42318!important;box-shadow:0 6px 16px rgba(180,35,24,.06)!important}

.mvy-material-detail-page .mvy-owner-price-breakdown{margin-top:20px;border-top:1px solid rgba(15,23,42,.10);padding-top:18px}

.mvy-material-detail-page .mvy-owner-price-breakdown h3{margin:0 0 6px;font-size:18px;color:rgba(10,14,20,.92)}

.mvy-material-detail-page .mvy-owner-price-breakdown p{margin:0 0 14px;color:rgba(10,14,20,.62)}

.mvy-material-detail-page .mvy-owner-price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}

.mvy-material-detail-page .mvy-owner-price-grid div{padding:13px 14px;border-radius:16px;border:1px solid rgba(15,23,42,.10);background:#fff}

.mvy-material-detail-page .mvy-owner-price-grid span{display:block;font-size:12px;color:rgba(10,14,20,.56);font-weight:800}

.mvy-material-detail-page .mvy-owner-price-grid strong{display:block;margin-top:3px;color:rgba(10,14,20,.92);font-weight:900}

@media (max-width:720px){.mvy-material-detail-page .mvy-material-owner-summary{grid-template-columns:minmax(0,1fr);align-items:start}.mvy-material-detail-page .mvy-owner-status,.mvy-material-detail-page .mvy-owner-summary-toggle{justify-self:start}}

@media (max-width:640px){.mvy-material-detail-page .mvy-material-owner-actions .btn{width:100%}.mvy-material-detail-page .mvy-owner-toggle-form{width:100%}.mvy-material-detail-page .mvy-owner-toggle-form .btn{width:100%}}

/* --- Run 291 finalized split from assets/css/frontend.css --- */
.mvy-detail-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.9fr);gap:24px;align-items:start}
.mvy-detail-main,.mvy-detail-side{border-radius:var(--mvy-r-xl)}
.mvy-detail-hero{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,1fr);gap:20px;margin:0 0 18px}
.mvy-detail-copy h1{font-size:34px;letter-spacing:-.6px;margin:0 0 10px}
.mvy-detail-teaser{font-size:16px;line-height:1.6;margin:0 0 12px}
.mvy-side-price{font-size:28px;font-weight:900;margin:0 0 12px}
@media (max-width:980px){
.mvy-detail-grid,.mvy-detail-hero{grid-template-columns:1fr}
}
.mvy-detail-media-stack{display:grid;gap:12px}
.mvy-detail-thumb-row{display:flex;gap:10px;flex-wrap:wrap}
.mvy-detail-thumb{width:72px;height:72px;border-radius:14px;overflow:hidden;border:1px solid rgba(15,23,42,.08);background:#fff;box-shadow:var(--mvy-sh2)}
.mvy-detail-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.mvy-side-price-note{margin:-4px 0 12px;color:var(--mvy-muted);font-size:13px}
.mvy-ui-scope .mvy-detail-grid{display:grid;grid-template-columns:minmax(0,1.15fr) 320px;gap:22px;align-items:start}
.mvy-ui-scope .mvy-detail-main,.mvy-ui-scope .mvy-detail-side{padding:20px;border-radius:22px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:var(--shadow-soft)}
.mvy-ui-scope .mvy-detail-teaser{margin:0;color:var(--muted);font-size:18px;line-height:1.6}
.mvy-ui-scope .mvy-detail-copy h1{margin:0 0 10px;font-size:54px;line-height:1;letter-spacing:-.05em;max-width:none}
.mvy-ui-scope .mvy-detail-copy{display:grid;gap:12px;align-content:start}
.mvy-ui-scope .mvy-detail-hero{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1.05fr);gap:20px;margin:0 0 20px}
.mvy-ui-scope .mvy-side-price{font-size:34px;font-weight:900;letter-spacing:-.05em;margin:0}
.mvy-ui-scope .mvy-side-price-note{margin:0;color:var(--muted);font-size:14px}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero-shell{padding:24px 24px 18px}
@media (max-width:1120px){
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1024px){
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-grid,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .cards{grid-template-columns:1fr}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-side{position:static}
}
@media (max-width:860px){
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy h1{font-size:clamp(34px,8vw,46px)}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-grid,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-grid--compact,.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metrics{grid-template-columns:1fr}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero-shell{padding:18px}
}
.mvy-detail-tax-panels{display:grid;gap:12px;margin-top:16px;}
.mvy-detail-tax-panel{padding:14px;border:1px solid rgba(15,23,42,.08);border-radius:16px;background:rgba(247,248,255,.68);}
.mvy-detail-tax-panel strong{display:block;margin-bottom:9px;font-size:13px;color:rgba(10,14,20,.72);}
.mvy-detail-tax-chip-row{display:flex;flex-wrap:wrap;gap:8px;}
.mvy-detail-tax-chip-row a{display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border-radius:999px;background:#fff;border:1px solid rgba(15,23,42,.08);font-size:13px;font-weight:800;color:inherit;text-decoration:none;}
.mvy-detail-tax-chip-row a:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(2,6,23,.07);}
.mvy-detail-vat-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:13px 14px;border-radius:16px;border:1px dashed rgba(245,158,11,.35);background:rgba(255,251,235,.70);color:rgba(10,14,20,.82);}
.mvy-detail-vat-note strong{font-size:13px;}
.mvy-detail-vat-note span{font-size:13px;color:rgba(10,14,20,.68);}
@media (max-width:700px){
.mvy-detail-vat-note{display:grid;}
}
@media (min-width:901px){
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero{align-items:stretch;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy{min-height:100%;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-shop-row{margin-top:auto;}
}
@media (max-width:900px){
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-shop-row{grid-template-columns:1fr;align-items:start;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-action-row{justify-content:flex-start;}
}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-media-col{min-width:0;
  display:block;}
@media (min-width:861px){
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero{display:grid !important;
    grid-template-columns:minmax(360px,.92fr) minmax(0,1.08fr) !important;
    gap:28px !important;
    align-items:stretch !important;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-media-col{grid-column:1;
    grid-row:1;
    align-self:start;
    min-width:0;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy{grid-column:2;
    grid-row:1;
    min-width:0;
    min-height:100%;
    display:flex !important;
    flex-direction:column;
    align-content:stretch;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-shop-row{margin-top:auto !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:18px !important;
    align-items:end !important;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-action-row{justify-content:flex-end !important;
    align-self:end;}
}
@media (max-width:860px){
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero{grid-template-columns:1fr !important;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy{display:grid !important;}
}
.mvy-material-detail-page .mvy-detail-purchased-access{display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  border-color:rgba(47,107,255,.16);
  background:linear-gradient(135deg,rgba(47,107,255,.08),rgba(139,92,246,.07)),#fff;}
@media (max-width:720px){
.mvy-material-detail-page .mvy-material-owner-summary{grid-template-columns:minmax(0,1fr);align-items:start}
.mvy-material-detail-page .mvy-owner-status,.mvy-material-detail-page .mvy-owner-summary-toggle{justify-self:start}
}
@media (max-width:640px){
.mvy-material-detail-page .mvy-material-owner-actions .btn{width:100%}
.mvy-material-detail-page .mvy-owner-toggle-form{width:100%}
.mvy-material-detail-page .mvy-owner-toggle-form .btn{width:100%}
}
.mvy-bundle-side-card .mvy-side-price .mvy-price-discount{font-size:24px;}

/* --- Run 291 selector-group split from assets/css/frontend.css --- */
.mvy-gallery-lightbox{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:26px;background:rgba(4,8,18,.78);backdrop-filter:blur(10px);}
.mvy-gallery-lightbox.is-open{display:flex;}
.mvy-gallery-lightbox__stage{position:relative;display:grid;gap:14px;max-width:min(1120px,96vw);max-height:94vh;width:100%;}
.mvy-gallery-lightbox__frame{display:grid;place-items:center;min-height:min(70vh,780px);border-radius:24px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);box-shadow:0 24px 70px rgba(0,0,0,.28);overflow:hidden;touch-action:pan-y;}
.mvy-gallery-lightbox__img{max-width:100%;max-height:82vh;object-fit:contain;display:block;}
.mvy-gallery-lightbox__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;font-weight:850;}
.mvy-gallery-lightbox__count{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);}
.mvy-gallery-lightbox__close,.mvy-gallery-lightbox__nav{appearance:none;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.14);color:#fff;box-shadow:none;cursor:pointer;}
.mvy-gallery-lightbox__close{width:44px;height:44px;border-radius:999px;font-size:26px;line-height:1;display:grid;place-items:center;}
.mvy-gallery-lightbox__nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:58px;border-radius:18px;font-size:34px;line-height:1;display:grid;place-items:center;}
.mvy-gallery-lightbox__nav--prev{left:12px;}
.mvy-gallery-lightbox__nav--next{right:12px;}
.mvy-gallery-lightbox__close:hover,.mvy-gallery-lightbox__nav:hover{background:rgba(255,255,255,.22);}
@media (max-width:700px){
.mvy-gallery-lightbox{padding:14px;}
.mvy-gallery-lightbox__frame{min-height:62vh;border-radius:18px;}
.mvy-gallery-lightbox__nav{width:42px;height:50px;font-size:28px;}
.mvy-gallery-lightbox__nav--prev{left:4px;}
.mvy-gallery-lightbox__nav--next{right:4px;}
}
.mvy-bundle-hero-cover{position:relative;}
.mvy-bundle-hero .mvy-bundle-cover{aspect-ratio:4/3;}
.mvy-bundle-preview-stack{min-width:0;}
.mvy-bundle-preview-media .mvy-detail-main-image,.mvy-bundle-preview-media img{border-radius:18px;}
.mvy-bundle-preview-kicker{display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(47,107,255,.10);
  color:#2f6bff;
  font-size:12px;
  font-weight:900;}
.mvy-bundle-preview-copy h4{margin:10px 0 8px;
  font-size:24px;
  line-height:1.18;
  letter-spacing:-.02em;}
.mvy-bundle-preview-copy p{margin:0 0 12px;
  color:rgba(10,14,20,.66);}
.mvy-bundle-preview-meta .mvy-detail-meta-summary,.mvy-bundle-preview-meta{margin-top:10px;}
.mvy-bundle-preview-actions{margin-top:14px;}
.mvy-bundle-inline-preview{min-width:0;}

/* 1.18.628 – mobile material detail compaction and overflow hardening. */
@media (max-width: 700px){
  body.mvy-detail-route-material,
  body.mvy-detail-route-material .site-main,
  body.mvy-detail-route-material .ct-container,
  body.mvy-detail-route-material .ct-container-full,
  body.mvy-detail-route-material .entry-content{overflow-x:hidden;}

  body.mvy-detail-route-material .mvy-front-shell.mvy-material-detail-page,
  body.mvy-detail-route-material .mvy-front-shell.mvy-shell-wide.mvy-material-detail-page{
    width:100%;
    max-width:100%;
    padding-inline:12px;
  }

  .mvy-ui-scope.mvy-material-detail-page,
  .mvy-ui-scope.mvy-material-detail-page *{min-width:0;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-breadcrumbs{font-size:13px;margin:0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

  .mvy-ui-scope.mvy-material-detail-page .list-card,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card{
    border-radius:20px;
    padding:16px;
  }

  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-grid,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-main,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-side{gap:14px;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero-shell{padding:12px;border-radius:22px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-hero{gap:14px;margin-bottom:0;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy{gap:9px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy .kicker{display:none;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy h1{font-size:clamp(34px,9vw,42px);line-height:1.03;letter-spacing:-.045em;margin:0;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-teaser{font-size:15px;line-height:1.48;margin:0;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-meta-summary{gap:7px;margin-top:2px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-meta-summary .mvy-chip{min-height:30px;padding:6px 10px;font-size:12px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-shop-row{gap:10px;margin-top:10px!important;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-price-stack{gap:2px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-price-stack .eyebrow{font-size:11px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-side-price,
  .mvy-ui-scope.mvy-material-detail-page .price{font-size:30px;line-height:1.05;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-price-note{font-size:13px;line-height:1.4;margin-top:4px;max-width:none;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-action-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-action-row .btn{width:100%;min-height:44px;padding-inline:12px;font-size:14px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-thumb-row{gap:8px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-thumb{width:56px;height:56px;border-radius:13px;}

  .mvy-ui-scope.mvy-material-detail-page .list-head{margin-bottom:12px;gap:10px;}
  .mvy-ui-scope.mvy-material-detail-page .list-head h3,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card h3,
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-block h3{font-size:26px;line-height:1.08;letter-spacing:-.04em;margin:0;}
  .mvy-ui-scope.mvy-material-detail-page .list-head p{font-size:14px;line-height:1.45;margin-top:4px;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-rich-text,
  .mvy-ui-scope.mvy-material-detail-page .mvy-rich-text *{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-rich-text{font-size:15px;line-height:1.62;overflow:hidden;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-rich-text p{margin:0 0 14px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-rich-text ul,
  .mvy-ui-scope.mvy-material-detail-page .mvy-rich-text ol{padding-left:1.1rem;margin:10px 0 14px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-rich-text li{margin:0 0 8px;padding-left:0;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-rich-text table{display:block;width:100%;max-width:100%;overflow-x:auto;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-rich-text img,
  .mvy-ui-scope.mvy-material-detail-page .mvy-rich-text iframe{max-width:100%;height:auto;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-classification-card .mvy-detail-info-grid,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-facts-card .mvy-detail-info-grid,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-facts-card .mvy-detail-info-grid--compact{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-item{padding:11px 12px;border-radius:15px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-item strong{font-size:13px;line-height:1.25;margin-bottom:4px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-info-item span{font-size:12.5px;line-height:1.35;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-vat-note{display:none;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-source-box{padding:12px;border-radius:15px;margin-top:10px;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head{gap:10px;align-items:center;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head .avatar,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head img,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head .mvy-custom-avatar{width:48px;height:48px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;margin:12px 0;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metric{padding:10px 12px;border-radius:15px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metric strong{font-size:18px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metric span{font-size:12px;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card > p{font-size:13px;line-height:1.45;margin:6px 0 10px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-side-price{margin-bottom:8px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-side-price-note{font-size:13px;line-height:1.4;margin:0 0 10px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card .mvy-btn,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card .mvy-btn-primary,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-side-card .mvy-btn-soft{min-height:44px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-report-side-card{padding:14px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-report-side-card h3{font-size:20px;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-review-block{padding:16px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head{display:block;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-kicker,
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head p{display:none;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-block.is-empty{padding:16px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-block.is-empty .mvy-review-empty{margin-top:10px;font-size:14px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score{margin-top:10px;max-width:150px;padding:12px;border-radius:16px;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .list-head{display:grid;align-items:start;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .list-head .btn{width:max-content;min-height:40px;padding:0 14px;font-size:13px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .cards{grid-template-columns:1fr!important;gap:12px;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-curator-toolbar{display:grid;gap:10px;padding:14px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-curator-toolbar p{display:none;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-curator-toolbar .btn{width:max-content;min-height:42px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-curator-collections{padding:14px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-curator-collections p{display:none;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-curator-collections h3{font-size:22px;margin-bottom:10px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-material-owner-panel{border-radius:18px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-material-owner-summary{min-height:0;padding:12px;gap:8px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-material-owner-body{padding:0 12px 12px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-material-owner-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-owner-metric{padding:10px;border-radius:15px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-owner-metric strong{font-size:18px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-owner-price-breakdown{margin-top:12px;padding-top:12px;}
}

@media (max-width: 390px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-classification-card .mvy-detail-info-grid,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-facts-card .mvy-detail-info-grid,
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-facts-card .mvy-detail-info-grid--compact{grid-template-columns:1fr;}
}

/* 1.18.629 – material detail mobile review / related / author polish. */
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-top .mvy-detail-author-head{min-width:0;flex:1 1 auto}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-profile-btn{min-height:40px;padding:0 14px;font-size:13px;white-space:nowrap;flex:0 0 auto}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-related-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
.mvy-ui-scope.mvy-material-detail-page .mvy-related-material-card{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;align-items:center;padding:10px;border-radius:18px;border:1px solid rgba(15,23,42,.09);background:rgba(255,255,255,.92);box-shadow:0 8px 18px rgba(2,6,23,.05);color:inherit;text-decoration:none;min-width:0}
.mvy-ui-scope.mvy-material-detail-page .mvy-related-material-thumb{display:block;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,rgba(47,107,255,.10),rgba(139,92,246,.12));min-width:0}
.mvy-ui-scope.mvy-material-detail-page .mvy-related-material-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mvy-ui-scope.mvy-material-detail-page .mvy-related-material-thumb>span{display:grid;place-items:center;width:100%;height:100%;font-size:12px;font-weight:900;color:rgba(47,107,255,.75)}
.mvy-ui-scope.mvy-material-detail-page .mvy-related-material-copy{display:grid;gap:5px;min-width:0}
.mvy-ui-scope.mvy-material-detail-page .mvy-related-material-copy strong{font-size:15px;line-height:1.15;letter-spacing:-.02em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mvy-ui-scope.mvy-material-detail-page .mvy-related-material-copy small{font-size:12px;line-height:1.25;color:rgba(10,14,20,.58);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mvy-ui-scope.mvy-material-detail-page .mvy-related-material-price{font-size:14px;font-weight:950;color:rgba(10,14,20,.92)}

@media (max-width: 900px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-related-track{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width: 700px){
  body.mvy-detail-route-material{overflow-x:clip;}
  body.mvy-detail-route-material .site-main,
  body.mvy-detail-route-material .ct-container,
  body.mvy-detail-route-material .ct-container-full,
  body.mvy-detail-route-material .entry-content{overflow-x:visible;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-review-block{padding:14px!important;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head{display:flex!important;align-items:center;justify-content:space-between;gap:10px;flex-wrap:nowrap;margin-bottom:8px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head h3{font-size:21px!important;line-height:1.05;letter-spacing:-.035em;white-space:nowrap;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline{flex:0 0 auto;gap:5px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline .mvy-rating-meter{font-size:14px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline small{font-size:10.5px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-empty{margin-top:8px;font-size:13px;line-height:1.4;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-list{gap:10px;margin-top:10px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-item{padding:12px;border-radius:16px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-item p{font-size:14px;line-height:1.48;margin:9px 0 0;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .list-head{display:flex!important;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .list-head h3{font-size:23px!important;line-height:1.05;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .list-head p{display:none;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-related .list-head .btn{flex:0 0 auto;min-height:36px;padding:0 12px;font-size:12px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-related-track{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;margin-inline:-4px;padding:0 4px 4px;-webkit-overflow-scrolling:touch;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-related-material-card{grid-template-columns:78px minmax(0,1fr);flex:0 0 82%;scroll-snap-align:start;padding:9px;border-radius:17px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-related-material-copy strong{font-size:14px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-related-material-copy small{font-size:11.5px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-related-material-price{font-size:13px;}

  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-card{padding:14px!important;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-top{gap:8px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-profile-btn{min-height:36px;padding:0 12px;font-size:12px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-metrics{margin:10px 0 0!important;}
}

@media (max-width: 374px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head{align-items:flex-start;flex-wrap:wrap;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline{width:100%;justify-content:flex-start;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-related-material-card{flex-basis:88%;}
}

/* 1.18.630 – material detail mobile title, review header and author follow polish. */
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head{
  color:inherit;
  text-decoration:none;
}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head:hover{
  opacity:.92;
}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-follow-form{
  display:block;
  margin:0;
  flex:0 0 auto;
}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-follow-btn{
  min-height:40px;
  padding:0 14px;
  font-size:13px;
  white-space:nowrap;
}

@media (max-width:700px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-copy h1{
    font-size:clamp(24px,6.4vw,30px)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    flex-wrap:nowrap!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head > div:first-child{
    min-width:0;
    flex:1 1 auto;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head h3{
    margin:0!important;
    font-size:20px!important;
    line-height:1.1!important;
    letter-spacing:-.03em!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score.mvy-review-score-inline{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    margin:0!important;
    padding:0!important;
    max-width:none!important;
    min-width:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    line-height:1!important;
    align-self:center!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline .mvy-rating-meter{
    display:inline-block!important;
    font-size:14px!important;
    line-height:1!important;
    vertical-align:middle!important;
    transform:none!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline small{
    display:inline-flex!important;
    align-items:center!important;
    margin:0!important;
    font-size:10.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-card{padding:13px!important;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-head{gap:9px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-top{align-items:center;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-author-follow-btn{
    min-height:34px;
    padding:0 11px;
    font-size:12px;
  }
}

/* 1.18.631 – clickable compact classification chips and price label cleanup. */
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-price-stack--plain{gap:0;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact .mvy-detail-tax-panel{padding:12px;border-radius:15px;min-width:0;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact .mvy-detail-tax-panel strong{margin-bottom:8px;font-size:13px;line-height:1.2;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact .mvy-detail-tax-chip-row{gap:7px;}
.mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact .mvy-detail-tax-chip-row a{min-height:30px;padding:0 10px;font-size:12.5px;line-height:1.15;max-width:100%;}

@media (max-width:700px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-price-stack--plain{gap:0!important;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact .mvy-detail-tax-panel{padding:10px;border-radius:14px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact .mvy-detail-tax-panel strong{font-size:12.5px;margin-bottom:7px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact .mvy-detail-tax-chip-row{gap:6px;}
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact .mvy-detail-tax-chip-row a{min-height:28px;padding:0 9px;font-size:12px;}
}

@media (max-width:360px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-detail-tax-panels--compact{grid-template-columns:1fr;}
}


/* 1.18.632 – lock mobile review header to one optical baseline. */
@media (max-width:700px){
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:8px!important;
    row-gap:0!important;
    flex-wrap:nowrap!important;
    margin-bottom:12px!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head > div:first-child{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    min-height:24px!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-head h3{
    display:block!important;
    margin:0!important;
    padding:0!important;
    font-size:19px!important;
    line-height:1!important;
    letter-spacing:-.025em!important;
    white-space:nowrap!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score.mvy-review-score-inline{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:5px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:24px!important;
    height:24px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    text-align:right!important;
    line-height:1!important;
    align-self:center!important;
    white-space:nowrap!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline .mvy-rating-meter{
    position:relative!important;
    display:inline-block!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
    font-size:13px!important;
    line-height:1!important;
    height:1em!important;
    letter-spacing:.02em!important;
    vertical-align:middle!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline .mvy-rating-meter-base,
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline .mvy-rating-meter-fill{
    display:block!important;
    margin:0!important;
    padding:0!important;
    line-height:1!important;
    height:1em!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline .mvy-rating-meter-fill{
    position:absolute!important;
    top:0!important;
    left:0!important;
  }
  .mvy-ui-scope.mvy-material-detail-page .mvy-review-score-inline small{
    display:inline-flex!important;
    align-items:center!important;
    align-self:center!important;
    margin:0!important;
    padding:0!important;
    font-size:10px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}

/* 1.18.633 – material detail report link is inline text, not a separate button. */
.mvy-ui-scope.mvy-material-detail-page .mvy-report-side-card p{
  margin:0;
}
.mvy-ui-scope.mvy-material-detail-page .mvy-report-side-card .mvy-report-link--inline-danger{
  display:inline;
  color:#b42318;
  font-weight:900;
  font-size:inherit;
  line-height:inherit;
  text-decoration:none;
  text-underline-offset:3px;
}
.mvy-ui-scope.mvy-material-detail-page .mvy-report-side-card .mvy-report-link--inline-danger:hover{
  color:#8a1c13;
  text-decoration:underline;
}
