/* Maesdy design system. One shared layer for every page, loaded after the page styles.
   Day pages (Market, Blog) are bright like a shop; night pages (Music, Lessons, About) are dark like a studio.
   The blue fluor gradient is the brand mark: main buttons, the logo dot, the sound wave. */

:root {
  --m-ink: #0B0B10; --m-night: #07070B; --m-card: #101018; --m-line: rgba(255,255,255,.08);
  --m-day: #FFFFFF; --m-dcard: #FFFFFF; --m-dline: #EAEAEE; --m-dtext: #0E0F14; --m-dmuted: #5A5D6B;
  --m-neon: linear-gradient(135deg, #4D6BFF 0%, #7A4DFF 100%); --m-blue: #4D6BFF; --m-sky: #9DB2FF; --m-amber: #B45309;
  --m-r: 16px;
}

/* ---------- base ---------- */
html { background: var(--m-night) !important; background-image: none !important; }
html::before, html::after { display: none !important; animation: none !important; }
:root:root body { font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: var(--m-night); }
:root:root body.m-day { --ink: #0E0F14; --paper: #FFFFFF; --surface: #FFFFFF; --line: #EAEAEE; --muted: #5A5D6B; --accent: #3D4FE0; --accent-hi: #3D4FE0; color: #0E0F14; background: transparent; color-scheme: light; }
html:has(body.m-day) { background: var(--m-day) !important; }
:root:root body.m-night { --ink: #F2F3FA; --paper: #07070B; --surface: #101018; --line: rgba(255,255,255,.08); --muted: #A3A6B8; --accent: #9DB2FF; color: #F2F3FA; }
:root:root body h1, :root:root body h2, :root:root body h3 { font-family: Sora, "Plus Jakarta Sans", sans-serif; letter-spacing: -0.025em; text-wrap: balance; }
:root:root body h2 { font-size: clamp(24px, 3.6vw, 34px); }
:root:root body p { text-wrap: pretty; }
:root:root body .eyebrow { font: 700 12px/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--m-sky); }
:root:root body.m-day .eyebrow { color: var(--m-amber); }
:root:root body .wrap { gap: 72px; }
@media (max-width: 759px) { :root:root body .wrap { gap: 52px; } }
:root:root body .wrap > section::before, :root:root body .wrap > section::after, :root:root body main > section::before, :root:root body main > section::after { display: none !important; }
:root:root body .mk-bg .sheen { display: none; }
:root:root body .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
:root:root body :focus-visible { outline: 2px solid var(--m-blue); outline-offset: 3px; }
:root:root body ::selection { background: rgba(77,107,255,.35); }

/* ---------- header: one black bar ---------- */
:root:root body header.top {
  position: sticky; top: 0; z-index: 30; max-width: 1120px; margin: 0 auto 0; padding: 12px 0; gap: 8px 20px;
  background: var(--m-ink) !important; border: 0 !important; box-shadow: 0 0 0 100vmax var(--m-ink) !important; clip-path: inset(0 -100vmax);
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
:root:root body header.top::before { display: none !important; }
:root:root body header.top .logo { color: #fff !important; font-size: 23px; }
:root:root body header.top .logo i { background: var(--m-blue) !important; box-shadow: 0 0 10px 2px rgba(77,107,255,.7) !important; }
:root:root body header.top nav.links { margin-left: auto; gap: 4px; }
:root:root body header.top nav.links a { color: #B9BBC9 !important; background: transparent !important; border: 0 !important; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 15px; }
:root:root body header.top nav.links a:hover { color: #fff !important; background: rgba(255,255,255,.08) !important; }
:root:root body header.top nav.links a[aria-current] { color: #fff !important; background: rgba(255,255,255,.12) !important; }
:root:root body header.top .langbtn { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.28) !important; border-radius: 999px; }
:root:root body header.top .cartbtn { background: #fff !important; color: var(--m-ink) !important; border: 0 !important; }
@media (max-width: 759px) {
  :root:root body header.top { padding: 10px 0; }
  :root:root body header.top nav.links { display: none !important; }
  :root:root body header.top .langbtn, :root:root body header.top .cartbtn { margin-left: auto; }
}

/* ---------- bottom menu bar (phones) ---------- */
:root:root body .tabbar { display: none; }
@media (max-width: 759px) {
  :root:root body .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(11,11,16,.97); border-top: 1px solid rgba(255,255,255,.08); padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  :root:root body .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; color: #8B8EA0; text-decoration: none; font: 600 11px/1.1 "Plus Jakarta Sans", sans-serif; min-height: 44px; justify-content: center; -webkit-tap-highlight-color: transparent; }
  :root:root body .tabbar a[aria-current] { color: #fff; }
  :root:root body .tabbar a[aria-current] svg { color: var(--m-sky); }
  :root:root body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important; }
  :root:root body .wafab { bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; width: 50px; height: 50px; }
  :root:root body .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ---------- buttons and chips ---------- */
:root:root body .btn { border-radius: 12px; font-weight: 700; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:root:root body .btn:active { transform: translateY(1px) scale(.985); }
:root:root body .btn.pink, :root:root body .btn.pink:hover { background: var(--m-neon) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 8px 22px rgba(77,107,255,.38) !important; }
:root:root body .btn.white, :root:root body .btn.white:hover { background: #fff !important; color: var(--m-ink) !important; border-color: #fff !important; }
:root:root body.m-night .btn:not(.pink):not(.white) { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.16); }
:root:root body.m-day .btn:not(.pink):not(.white) { background: var(--m-ink); color: #fff; border: 1px solid var(--m-ink); }
:root:root body.m-day .btn:not(.pink):not(.white):hover { background: #23242E; color: #fff; }
:root:root body .chip { border-radius: 999px; font-weight: 600; }
:root:root body.m-day .chip { background: #fff; color: var(--m-dtext); border: 1px solid var(--m-dline); }
:root:root body.m-day .chip:hover { border-color: var(--m-dtext); color: var(--m-dtext); }
:root:root body .chip[aria-pressed="true"] { background: var(--m-ink) !important; color: #fff !important; border-color: var(--m-ink) !important; }
:root:root body.m-night .chip[aria-pressed="true"] { background: #fff !important; color: var(--m-ink) !important; border-color: #fff !important; }
@media (hover: hover) and (pointer: fine) { :root:root body .btn.pink:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(77,107,255,.5) !important; } }

/* ---------- photo credit ---------- */
:root:root body .pcredit { position: absolute; right: 12px; bottom: 8px; z-index: 2; margin: 0; font-size: 10.5px; color: rgba(255,255,255,.7); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
:root:root body .pcredit a { color: inherit; }

/* ---------- page hero (Music, Lessons, About) ---------- */
:root:root body .phero { position: relative; overflow: hidden; border-radius: 22px; min-height: 420px; display: flex; align-items: flex-end; background: #0B0B10 center / cover no-repeat; color: #fff; margin-top: 18px; }
:root:root body .phero .ptext { position: relative; z-index: 1; padding: clamp(22px, 4vw, 48px) clamp(22px, 4vw, 48px) 40px; display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
:root:root body .phero h1 { margin: 0; font-size: clamp(38px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.035em; color: #fff; }
:root:root body .phero .plead { margin: 0; font-size: clamp(16px, 1.8vw, 19px); color: rgba(255,255,255,.86); max-width: 44ch; }
:root:root body .phero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
:root:root body .phero .cta .btn { min-height: 48px; padding: 12px 22px; }
@media (max-width: 759px) { :root:root body .phero { margin: 10px -16px 0; border-radius: 0; min-height: 460px; } :root:root body .phero .cta .btn { flex: 1 1 auto; justify-content: center; } }
:root:root body.m-music .phero { background-image: linear-gradient(180deg, rgba(7,7,11,.35) 0%, rgba(7,7,11,.55) 45%, rgba(7,7,11,.94) 100%), url("https://images.unsplash.com/photo-1514320291840-2e0a9bf2a9ae?auto=format&fit=crop&w=1600&q=70"); }
:root:root body.m-learn .phero { background-image: linear-gradient(180deg, rgba(7,7,11,.35) 0%, rgba(7,7,11,.55) 45%, rgba(7,7,11,.94) 100%), url("https://images.unsplash.com/photo-1633933769681-dc8d28bdeb6d?auto=format&fit=crop&w=1600&q=70"); }
:root:root body.m-about .phero { background-image: linear-gradient(180deg, rgba(7,7,11,.35) 0%, rgba(7,7,11,.55) 45%, rgba(7,7,11,.94) 100%), url("https://images.unsplash.com/photo-1741746239350-9021ddfa3d59?auto=format&fit=crop&w=1600&q=70"); background-position: center 55%; }
@media (max-width: 759px) {
  :root:root body.m-music .phero { background-image: linear-gradient(180deg, rgba(7,7,11,.35) 0%, rgba(7,7,11,.55) 45%, rgba(7,7,11,.94) 100%), url("https://images.unsplash.com/photo-1514320291840-2e0a9bf2a9ae?auto=format&fit=crop&w=900&q=65"); }
  :root:root body.m-learn .phero { background-image: linear-gradient(180deg, rgba(7,7,11,.35) 0%, rgba(7,7,11,.55) 45%, rgba(7,7,11,.94) 100%), url("https://images.unsplash.com/photo-1633933769681-dc8d28bdeb6d?auto=format&fit=crop&w=900&q=65"); }
  :root:root body.m-about .phero { background-image: linear-gradient(180deg, rgba(7,7,11,.35) 0%, rgba(7,7,11,.55) 45%, rgba(7,7,11,.94) 100%), url("https://images.unsplash.com/photo-1741746239350-9021ddfa3d59?auto=format&fit=crop&w=900&q=65"); }
}
:root:root body .wave { display: flex; align-items: flex-end; gap: 3px; height: 52px; margin: 4px 0; }
:root:root body .wave i { flex: 1; border-radius: 2px; background: rgba(255,255,255,.28); height: 40%; }
:root:root body .wave i:nth-child(-n+16) { background: var(--m-blue); }
:root:root body .wave i:nth-child(3n) { height: 75%; } :root:root body .wave i:nth-child(4n+1) { height: 55%; } :root:root body .wave i:nth-child(5n+2) { height: 95%; } :root:root body .wave i:nth-child(7n) { height: 30%; } :root:root body .wave i:nth-child(6n+3) { height: 65%; }

/* ---------- section heads ---------- */
:root:root body .shead { margin-bottom: 18px; align-items: end; }
:root:root body .shead h2 { margin-top: 6px !important; }
:root:root body .shead p { line-height: 1.6; }

/* ---------- cards (night) ---------- */
:root:root body.m-night .beat, :root:root body.m-night .pack, :root:root body.m-night .lessons, :root:root body.m-night .free, :root:root body.m-night .soon, :root:root body.m-night .empty, :root:root body.m-night .noposts, :root:root body.m-night .svc, :root:root body.m-night .padwrap {
  background: var(--m-card) !important; border: 1px solid rgba(255,255,255,.07) !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-radius: var(--m-r);
}
:root:root body.m-night .beat.playing { background: rgba(77,107,255,.14) !important; border-color: rgba(157,178,255,.5) !important; }
:root:root body.m-night .playbtn { background: rgba(255,255,255,.1); }
:root:root body.m-night .playbtn:hover, :root:root body.m-night .beat.playing .playbtn { background: var(--m-neon); }
:root:root body.m-night .snd { background: rgba(255,255,255,.05) !important; color: #E6E8F2 !important; border-color: rgba(255,255,255,.1) !important; }
:root:root body.m-night .snd.more { background: rgba(77,107,255,.16) !important; color: #D3DBFF !important; border-color: rgba(157,178,255,.4) !important; font-weight: 600; }
:root:root body.m-night .snd.on { background: var(--m-neon) !important; color: #fff !important; }
:root:root body.m-night .tag, :root:root body.m-night .styles li { background: rgba(255,255,255,.06); color: #C9CBD8; border-color: rgba(255,255,255,.12); }
:root:root body.m-night input, :root:root body.m-night select, :root:root body.m-night textarea { background: rgba(255,255,255,.06) !important; color: #fff !important; border-color: rgba(255,255,255,.16) !important; }
:root:root body.m-night input::placeholder { color: rgba(255,255,255,.45); }
:root:root body.m-night .services { background: #FFFFFF !important; color: var(--m-dtext) !important; border: 0 !important; border-radius: 18px; }
:root:root body.m-night .services .eyebrow { color: var(--m-amber); }
:root:root body.m-night .services h3, :root:root body.m-night .services strong, :root:root body.m-night .services b { color: var(--m-dtext) !important; }
:root:root body.m-night .services p, :root:root body.m-night .services li, :root:root body.m-night .services span, :root:root body.m-night .services small { color: #41444F; }
:root:root body.m-night .services .btn:not(.pink) { background: var(--m-ink) !important; color: #fff !important; border-color: var(--m-ink) !important; }
:root:root body.m-night .services a:not(.btn) { color: #3D4FE0; }
:root:root body.m-night .services .svc { background: #FFFFFF !important; border: 1px solid #EAEAEE !important; color: var(--m-dtext) !important; padding: 14px !important; border-radius: 14px !important; }
:root:root body.m-night .services .svc * { color: inherit; }
:root:root body.m-night .services .svc p, :root:root body.m-night .services .svc small { color: #41444F !important; }
:root:root body.m-night .services .svc .tag, :root:root body.m-night .services .tag { background: #EEF1FF !important; color: #2A3FA8 !important; border-color: transparent !important; }

/* ---------- About ---------- */
:root:root body.m-about .about { align-items: start; }
:root:root body.m-about .ph2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); }
:root:root body.m-about .portrait { border-radius: 20px; box-shadow: none; }
@media (max-width: 820px) { :root:root body.m-about .portrait { max-width: 340px; max-height: 420px; } }

/* ---------- footer (all pages) ---------- */
:root:root body footer#contact { background: var(--m-ink) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.06) !important; border-radius: 22px; box-shadow: none !important; }
:root:root body footer#contact h2 { color: #fff; }
:root:root body footer#contact p { color: #A9ABBA; }
:root:root body footer#contact .btn:not(.pink) { background: rgba(255,255,255,.08) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.18) !important; }
:root:root body footer#contact .cbtns .btn:first-child { background: var(--m-neon) !important; border-color: transparent !important; }
:root:root body footer#contact .mail { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.16); }
:root:root body footer#contact .socials a { color: #C9CBD8; border-color: rgba(255,255,255,.16); }
:root:root body footer#contact .fine, :root:root body footer#contact .fine span { color: #7D8091; }
@media (max-width: 759px) { :root:root body footer#contact { margin: 0 -16px; border-radius: 22px 22px 0 0; } }

/* =================== MARKET (day) =================== */
:root:root body.m-market .mk-bg { height: 560px !important; background: #0B0B10 url("https://images.unsplash.com/photo-1758487424832-a53ae6cdefdb?auto=format&fit=crop&w=1800&q=70") center 45% / cover no-repeat !important; filter: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
:root:root body.m-market .mk-bg::before { background: linear-gradient(90deg, rgba(11,11,16,.9) 0%, rgba(11,11,16,.62) 45%, rgba(11,11,16,.15) 85%), linear-gradient(180deg, rgba(11,11,16,.4) 0%, rgba(11,11,16,0) 30%, rgba(11,11,16,.35) 85%, rgba(11,11,16,.6) 100%) !important; }
@media (max-width: 700px) {
  :root:root body.m-market .mk-bg { height: 560px !important; background-image: url("https://images.unsplash.com/photo-1758487424832-a53ae6cdefdb?auto=format&fit=crop&w=900&q=65") !important; }
  :root:root body.m-market .mk-bg::before { background: linear-gradient(180deg, rgba(11,11,16,.7) 0%, rgba(11,11,16,.5) 35%, rgba(11,11,16,.82) 100%) !important; }
}
:root:root body.m-market .mk-intro { position: relative; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 0 44px !important; color: #fff; }
:root:root body.m-market .mk-intro .eyebrow { color: #FFD08A !important; text-shadow: none; }
:root:root body.m-market .mk-intro h1 { color: #fff; font-weight: 800; font-size: clamp(44px, 7vw, 84px); letter-spacing: -0.04em; text-shadow: none; margin: 10px 0 14px; }
:root:root body.m-market .mk-lead { color: rgba(255,255,255,.88) !important; text-shadow: none; }
:root:root body.m-market .mk-intro .cta { display: flex; flex-wrap: wrap; gap: 10px; }
:root:root body.m-market .mk-intro .cta .btn { min-height: 48px; padding: 12px 22px; }
:root:root body.m-market .mk-intro .cta .btn:not(.pink) { background: #fff !important; color: var(--m-ink) !important; border-color: #fff !important; }
:root:root body.m-market .mk-intro .pcredit { right: 0; bottom: 10px; }
@media (max-width: 700px) { :root:root body.m-market .mk-intro .cta .btn { flex: 1 1 auto; justify-content: center; } :root:root body.m-market .mk-intro { min-height: 500px; } }
:root:root body.m-market .wrap { gap: 56px; }

/* shop tiles */
:root:root body .mk-shop h2 { margin: 0 0 16px; }
:root:root body .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 759px) { :root:root body .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
:root:root body .tile { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--m-dtext); }
:root:root body .tile .timg { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #1B1D2A; }
:root:root body .tile .timg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
:root:root body .tile:hover .timg img { transform: scale(1.04); }
:root:root body .tile .ttag { position: absolute; left: 10px; top: 10px; font: 700 11px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .05em; text-transform: uppercase; background: rgba(255,255,255,.94); color: var(--m-dtext); border-radius: 6px; padding: 6px 8px; }
:root:root body .tile .tname { font-weight: 700; font-size: 15px; }
:root:root body .jumptools { margin-top: 12px; display: flex; justify-content: flex-end; }
:root:root body .jumptools .chip { font-size: 13px; padding: 8px 14px; }

/* order strip */
:root:root body .mk-order { position: relative; overflow: hidden; border-radius: 20px; min-height: 220px; display: flex; align-items: flex-end; color: var(--m-dtext); background: #fff linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 50%, rgba(255,255,255,.25) 100%), #fff url("https://images.unsplash.com/photo-1513884923967-4b182ef167ab?auto=format&fit=crop&w=1400&q=65") center / cover no-repeat; background-image: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 50%, rgba(255,255,255,.25) 100%), url("https://images.unsplash.com/photo-1513884923967-4b182ef167ab?auto=format&fit=crop&w=1400&q=65"); border: 1px solid var(--m-dline); }
:root:root body .mk-order .otext { position: relative; z-index: 1; padding: 26px; max-width: 520px; display: flex; flex-direction: column; gap: 8px; }
:root:root body .mk-order .eyebrow { color: var(--m-amber) !important; }
:root:root body .mk-order h2 { margin: 0; color: var(--m-dtext); }
:root:root body .mk-order p { margin: 0; color: #2E3140; }
:root:root body .mk-order .pcredit { color: #41444F; text-shadow: none; }
@media (max-width: 759px) { :root:root body .mk-order { background-image: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.93) 55%, rgba(255,255,255,.97) 100%), url("https://images.unsplash.com/photo-1513884923967-4b182ef167ab?auto=format&fit=crop&w=800&q=60"); } }

/* business blocks */
:root:root body.m-market .biz { gap: 14px; }
:root:root body.m-market .bizhead { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; align-items: flex-end; flex-direction: row !important; justify-content: space-between; gap: 12px; }
:root:root body.m-market .bizhead .eyebrow { color: var(--m-amber) !important; }
:root:root body.m-market .bizhead h2 { margin-top: 4px !important; color: var(--m-dtext); }
:root:root body.m-market .bizdesc { color: var(--m-dmuted); margin: 4px 0 0; }
:root:root body.m-market .bizhead .tog { flex: none; background: transparent !important; color: var(--m-dtext) !important; border: 1px solid var(--m-dline) !important; font-size: 13px; padding: 8px 12px; min-height: 36px; }
:root:root body.m-market .bizlogo { border-radius: 14px; }
:root:root body.m-market .bizpay, :root:root body.m-market .adult { color: var(--m-dmuted); font-size: 13px; }
:root:root body.m-market .plist { flex-direction: row !important; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 10px; margin: 0 -2px; scrollbar-width: thin; }
@media (max-width: 759px) { :root:root body.m-market .plist { margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none; } :root:root body.m-market .plist::-webkit-scrollbar { display: none; } }
:root:root body.m-market .prow { flex: none; width: 170px; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; padding: 0 !important; background: #fff !important; border: 1px solid var(--m-dline) !important; border-radius: 16px !important; overflow: hidden; scroll-snap-align: start; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; transform: none !important; }
:root:root body.m-market .prow .pmain { display: flex; flex-direction: column; gap: 0; text-decoration: none; color: var(--m-dtext); }
:root:root body.m-market .prow .pthumb { width: 100% !important; height: auto !important; aspect-ratio: 1; border-radius: 0 !important; background: #EEECE6; }
:root:root body.m-market .prow .ptext, :root:root body.m-market .prow .ptext h3, :root:root body.m-market .prow .ptext .price { text-align: left !important; }
:root:root body.m-market .prow .ptext { padding: 10px 12px 4px; }
:root:root body.m-market .prow .ptext h3 { font-size: 15px; color: var(--m-dtext); }
:root:root body.m-market .prow .ptext .price { font: 700 14px/1.3 "Plus Jakarta Sans", sans-serif !important; color: var(--m-dtext) !important; margin-top: 4px; }
:root:root body.m-market .prow .pact { padding: 8px 12px 12px; display: flex; gap: 8px; }
:root:root body.m-market .prow .btn.order { flex: 1; justify-content: center; background: var(--m-ink) !important; color: #fff !important; box-shadow: none !important; min-height: 40px !important; border-radius: 10px; }
:root:root body.m-market .prow .sharebtn { width: 40px !important; min-height: 40px !important; background: #fff !important; color: var(--m-dtext) !important; border: 1px solid var(--m-dline) !important; border-radius: 10px; }
:root:root body.m-market .prow .natag { flex: 1; text-align: center; background: #F1F0EC; color: var(--m-dmuted); border-radius: 10px; border: 0; }
:root:root body.m-market .prow.na .ptext .price { color: var(--m-dmuted) !important; font-weight: 600 !important; }
@media (hover: hover) and (pointer: fine) { :root:root body.m-market .prow:hover { border-color: #C9C5BA !important; box-shadow: 0 10px 26px rgba(20,20,30,.08) !important; } }
:root:root body.m-market .bizbanner { border-radius: 16px; }

/* Maesdy Store strip */
:root:root body.m-market .slim { background: #fff !important; border: 1px solid var(--m-dline) !important; border-radius: 18px !important; padding: 18px 20px !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:root:root body.m-market .slim .muted { color: var(--m-dmuted); }
:root:root body.m-market .slim strong { color: var(--m-dtext); }

/* Amazon picks */
:root:root body.m-market #picks .shead p, :root:root body.m-market .disclose { color: var(--m-dmuted); }
:root:root body.m-market #picks .shead { flex-direction: row; }
:root:root body.m-market #picks .shead .tog { background: transparent !important; color: var(--m-dtext) !important; border: 1px solid var(--m-dline) !important; font-size: 13px; }
:root:root body.m-market .pick { background: #fff !important; border: 1px solid var(--m-dline) !important; border-radius: 16px !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:root:root body.m-market .pick h3 { color: var(--m-dtext); }
:root:root body.m-market .pick p { color: var(--m-dmuted); }
:root:root body.m-market .pick .pdtoggle { color: #3D4FE0 !important; }
:root:root body.m-market .pick .btn.order { background: #FFD08A !important; color: var(--m-ink) !important; box-shadow: none !important; }
:root:root body.m-market .pick .sharebtn { background: #fff !important; color: var(--m-dtext) !important; border: 1px solid var(--m-dline) !important; }
:root:root body.m-market .catgroup h3, :root:root body.m-market .catgroup > p { color: var(--m-dtext); }

/* studio strip (links to Music) */
:root:root body .mk-studio { background: var(--m-ink); color: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
:root:root body .mk-studio .stext { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
:root:root body .mk-studio .eyebrow { color: var(--m-sky) !important; }
:root:root body .mk-studio h2 { margin: 0; color: #fff; }
:root:root body .mk-studio p { margin: 0; color: #B9BBC9; }
:root:root body .mk-studio .scovers { flex: 1 1 340px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
:root:root body .mk-studio .scovers a { display: flex; flex-direction: column; gap: 6px; color: #fff; text-decoration: none; font-weight: 700; }
:root:root body .mk-studio .scovers img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
:root:root body .mk-studio .scovers small { color: #A9ABBA; font-weight: 500; margin-top: -4px; }
@media (max-width: 759px) { :root:root body .mk-studio { margin: 0 -16px; border-radius: 0; } }

/* sample pack covers: drum photo + name on top */
:root:root body .pack .art.cover { position: relative; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
:root:root body .pack .art.cover .covtitle { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-width: none; box-sizing: border-box; padding: 48px 16px 14px; text-align: left; font: 800 24px/1.05 Sora, sans-serif; letter-spacing: -0.02em; color: #fff; background: linear-gradient(180deg, transparent, rgba(7,7,11,.85)); }
:root:root body .pack .art.cover .covtitle small { display: block; margin-top: 6px; font: 700 11px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--m-sky); }

:root:root body .pcredit2 { flex-basis: 100%; margin: 10px 0 0; font-size: 11px; color: #8B8EA0; }
:root:root body .pcredit2 a { color: inherit; }

/* dialogs keep their light look */
:root:root body .mdlg { background: #fff; color: #0E1021; }

/* =================== BLOG (day) =================== */
:root:root body.m-blog .bintro .eyebrow { color: #4338CA; }
:root:root body.m-blog .bintro h1 { color: var(--m-dtext); font-weight: 800; letter-spacing: -0.035em; }
:root:root body.m-blog .blead { color: #4A4D5A; }
:root:root body.m-blog .post, :root:root body.m-blog .noposts, :root:root body.m-blog .soon, :root:root body.m-blog .empty { background: #fff !important; border: 1px solid var(--m-dline) !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: var(--m-dtext); }
:root:root body.m-blog .post h3, :root:root body.m-blog .post a { color: var(--m-dtext); }
:root:root body.m-blog .post p, :root:root body.m-blog .post time, :root:root body.m-blog .post small { color: var(--m-dmuted); }
:root:root body.m-blog section h2 { color: var(--m-dtext); }
:root:root body.m-blog .bnav a, :root:root body.m-blog .bnav button { background: #fff; color: var(--m-dtext); border: 1px solid var(--m-dline); }
:root:root body.m-blog .tag { background: #EEF0FF; color: #2A3FA8; border-color: transparent; }


/* =================== MUSIC: alive =================== */
:root:root body.m-music .phero .wave i { transition: height .08s linear; }
@media (prefers-reduced-motion: no-preference) {
  :root:root body.m-music .phero .wave i { animation: mwave 1.6s ease-in-out infinite alternate; }
  :root:root body.m-music .phero .wave i:nth-child(2n) { animation-duration: 1.2s; } :root:root body.m-music .phero .wave i:nth-child(3n) { animation-duration: 2.1s; } :root:root body.m-music .phero .wave i:nth-child(5n) { animation-delay: -.6s; }
  :root:root body.has-nowbar .phero .wave i { animation: none; }
}
@keyframes mwave { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
:root:root body.m-music .phero .wave i { transform-origin: bottom; }
:root:root body.m-music section > .shead h2 { font-size: clamp(26px, 3.6vw, 36px); }
:root:root body.m-music .beatlist { gap: 8px; }
:root:root body.m-music .beat { padding: 12px 16px 10px 12px; row-gap: 8px; }
:root:root body.m-music .beat .playbtn { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, #2A2F55, #4D3A8C) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
:root:root body.m-music .beatlist .beat:nth-child(3n+1) .playbtn { background: linear-gradient(135deg, #4D6BFF, #7A4DFF) !important; }
:root:root body.m-music .beatlist .beat:nth-child(3n+2) .playbtn { background: linear-gradient(135deg, #1E3A5F, #2F80FF) !important; }
:root:root body.m-music .beatlist .beat:nth-child(3n) .playbtn { background: linear-gradient(135deg, #3B1E5F, #B44DFF) !important; }
:root:root body.m-music .beat.playing .playbtn { box-shadow: 0 0 0 2px #fff, 0 8px 24px rgba(77,107,255,.55); }
:root:root body.m-music .beat .name strong { font-size: 17px; }
:root:root body.m-music .beat canvas.spec { grid-column: 1 / -1; grid-row: auto; width: 100%; height: 40px; display: block; cursor: pointer; }
:root:root body.m-music .beat.playing { box-shadow: 0 10px 30px rgba(77,107,255,.18) !important; }
:root:root body.m-music .beat .eq { display: none; }

/* now playing bar */
:root:root body .nowbar { position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px;
  background: rgba(16,16,24,.96); border: 1px solid rgba(157,178,255,.28); box-shadow: 0 18px 40px rgba(0,0,0,.5); color: #fff; max-width: 760px; margin: 0 auto; }
:root:root body .nowbar[hidden] { display: none; }
:root:root body .nowbar .nart { flex: none; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #4D6BFF, #7A4DFF); }
:root:root body .nowbar .ntext { display: flex; flex-direction: column; min-width: 0; flex: 0 1 34%; }
:root:root body .nowbar .nlabel { font: 700 10px/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--m-sky); }
:root:root body .nowbar .ntitle { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root:root body .nowbar .nspec { flex: 1 1 auto; min-width: 60px; height: 36px; }
:root:root body .nowbar .npause { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #0B0B10; display: grid; place-items: center; cursor: pointer; }
@media (max-width: 759px) { :root:root body .nowbar { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); left: 8px; right: 8px; } :root:root body.has-nowbar .wafab { display: none !important; } }

/* =================== BLOG: photo header =================== */
:root:root body.m-blog .bintro { position: relative; overflow: hidden; border-radius: 22px; margin-top: 18px; padding: clamp(28px, 5vw, 56px) clamp(22px, 4vw, 48px) 46px !important; color: #fff;
  background: #2A1E14 linear-gradient(180deg, rgba(14,10,6,.55) 0%, rgba(14,10,6,.72) 60%, rgba(14,10,6,.9) 100%), #2A1E14 url("https://images.unsplash.com/photo-1772396867158-e26d9e6256b2?auto=format&fit=crop&w=1600&q=70") center / cover no-repeat;
  background-image: linear-gradient(180deg, rgba(14,10,6,.55) 0%, rgba(14,10,6,.72) 60%, rgba(14,10,6,.9) 100%), url("https://images.unsplash.com/photo-1772396867158-e26d9e6256b2?auto=format&fit=crop&w=1600&q=70"); }
:root:root body.m-blog .bintro .eyebrow { color: #FFD08A !important; }
:root:root body.m-blog .bintro h1 { color: #fff !important; font-size: clamp(36px, 6vw, 60px); }
:root:root body.m-blog .bintro .blead { color: rgba(255,255,255,.88) !important; max-width: 60ch; }
:root:root body.m-blog .bnav { margin-top: 18px; }
@media (max-width: 759px) { :root:root body.m-blog .bintro { margin: 10px -16px 0; border-radius: 0; background-image: linear-gradient(180deg, rgba(14,10,6,.55) 0%, rgba(14,10,6,.75) 60%, rgba(14,10,6,.92) 100%), url("https://images.unsplash.com/photo-1772396867158-e26d9e6256b2?auto=format&fit=crop&w=900&q=65"); } }


/* =================== likes =================== */
:root:root body .mlike { display: inline-flex; align-items: center; gap: 5px; font: 700 13px/1 "Plus Jakarta Sans", sans-serif; border-radius: 999px; padding: 7px 11px; min-height: 36px; cursor: pointer; transition: transform .12s ease, background .15s ease, color .15s ease; -webkit-tap-highlight-color: transparent; }
:root:root body .mlike svg { display: block; }
:root:root body .mlike:active { transform: scale(.92); }
:root:root body .mlike.on svg { animation: mpop .35s ease; }
@keyframes mpop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
:root:root body.m-night .mlike, :root:root body .mk-studio .mlike { color: #C9CBD8; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
:root:root body.m-day .mlike { color: var(--m-dtext); background: rgba(255,255,255,.92); border: 1px solid var(--m-dline); }
:root:root body .mlike.on { color: #FF4F7B !important; border-color: rgba(255,79,123,.45) !important; }
:root:root body.m-market .prow { position: relative; }
:root:root body.m-market .prow > .likeslot { position: absolute; top: 8px; right: 8px; z-index: 2; }
:root:root body.m-market .prow > .likeslot .mlike { padding: 6px 9px; min-height: 32px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
:root:root body.m-music .beat { position: relative; }
:root:root body.m-music .beat .ttl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
:root:root body.m-music .beat .ttl .mlike { padding: 5px 9px; min-height: 30px; font-size: 12px; }
:root:root body.m-music .pack { position: relative; }
:root:root body.m-music .pack > .mlike { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(7,7,11,.6); }

/* ---------- speed and comfort ---------- */
@media (max-width: 759px) { :root:root body * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } :root:root body .tabbar { -webkit-backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { :root:root body *, :root:root body *::before, :root:root body *::after { animation: none !important; transition: none !important; } }
