:root {
  --paper: #fbfaf6;
  --paper-soft: #f5f1e8;
  --surface: #ffffff;
  --ink: #18352c;
  --muted: #76857e;
  --emerald: #155f4b;
  --emerald-deep: #0d4537;
  --emerald-soft: #e8f0ec;
  --gold: #b69052;
  --gold-soft: #eadbc2;
  --line: #e8e4da;
  --shadow-sm: 0 8px 26px rgba(24, 53, 44, .06);
  --shadow-lg: 0 24px 80px rgba(24, 53, 44, .13);
  --radius-lg: 30px;
  --radius-md: 22px;
}

* { box-sizing: border-box; }

html {
  font-family: "Cairo", sans-serif;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 280px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(182, 144, 82, .08), transparent 24rem),
    radial-gradient(circle at 94% 14%, rgba(21, 95, 75, .07), transparent 30rem),
    var(--paper);
  font-family: "Cairo", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.is-hidden { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(232, 228, 218, .76);
  background: rgba(251, 250, 246, .82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 95, 75, .15);
  border-radius: 16px;
  color: var(--emerald);
  background: linear-gradient(145deg, #fff, #edf3ef);
  box-shadow: 0 8px 20px rgba(21, 95, 75, .08), inset 0 1px 0 #fff;
}

.brand__mark svg { width: 27px; height: 27px; fill: currentColor; }
.brand__mark svg path + path { fill: var(--gold); }
.brand__copy { min-width: 0; display: grid; line-height: 1.25; }
.brand__copy strong { font-size: 16px; font-weight: 900; letter-spacing: -.02em; }
.brand__copy small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 600; }

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.nav-pill:hover { transform: translateY(-1px); border-color: var(--gold-soft); background: #fff; }
.nav-pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-note { color: var(--muted); font-size: 11px; font-weight: 700; }

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 30px;
}
.page-shell--player { padding-bottom: 154px; }

.home-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
  align-items: center;
  gap: 30px;
  padding: 54px clamp(28px, 5vw, 68px);
  border: 1px solid rgba(21, 95, 75, .08);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,244,235,.94));
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.home-hero::before,
.reciter-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .32;
  background-image:
    linear-gradient(30deg, transparent 24%, rgba(182,144,82,.10) 25%, rgba(182,144,82,.10) 26%, transparent 27%, transparent 74%, rgba(182,144,82,.10) 75%, rgba(182,144,82,.10) 76%, transparent 77%),
    linear-gradient(150deg, transparent 24%, rgba(21,95,75,.08) 25%, rgba(21,95,75,.08) 26%, transparent 27%, transparent 74%, rgba(21,95,75,.08) 75%, rgba(21,95,75,.08) 76%, transparent 77%);
  background-size: 88px 152px;
}

.home-hero__ornament { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.home-hero__ornament--one { width: 330px; height: 330px; inset: -150px -80px auto auto; background: radial-gradient(circle, rgba(21,95,75,.14), transparent 66%); }
.home-hero__ornament--two { width: 280px; height: 280px; left: 12%; bottom: -190px; background: radial-gradient(circle, rgba(182,144,82,.13), transparent 68%); }

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
}
.eyebrow::before,
.section-kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.eyebrow--light { color: #d9bd8f; }

.home-hero h1 {
  max-width: 700px;
  margin: 17px 0 14px;
  color: var(--ink);
  font-size: clamp(36px, 5.1vw, 70px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.045em;
}
.home-hero h1 span { color: var(--emerald); }
.home-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(13px, 1.4vw, 16px); font-weight: 600; line-height: 2; }

.hero-stats {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #5b6f67;
  font-size: 11px;
  font-weight: 700;
}
.hero-stats span { display: inline-flex; align-items: baseline; gap: 5px; }
.hero-stats strong { color: var(--emerald); font-size: 17px; font-weight: 900; }
.hero-stats i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .65; }

.home-hero__seal { display: grid; place-items: center; }
.seal-ring {
  position: relative;
  width: clamp(190px, 22vw, 250px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(21,95,75,.16);
  border-radius: 50%;
  color: var(--emerald-deep);
  background: radial-gradient(circle at 35% 30%, #fff 0, #f4efe4 62%, #ede3cf 100%);
  box-shadow: 0 28px 70px rgba(21,95,75,.14), inset 0 0 0 12px rgba(255,255,255,.62), inset 0 0 0 13px rgba(182,144,82,.18);
}
.seal-ring::before,
.seal-ring::after { content: "✦"; position: absolute; left: 50%; transform: translateX(-50%); color: var(--gold); font-size: 13px; }
.seal-ring::before { top: 26px; }
.seal-ring::after { bottom: 25px; }
.seal-ring span { font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: .04em; }
.seal-ring small { margin-top: 4px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .1em; }

.content-section { margin-top: 34px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.section-head h2 { margin: 5px 0 0; color: var(--ink); font-size: clamp(23px, 3vw, 31px); font-weight: 900; letter-spacing: -.025em; }
.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  color: #816436;
  background: #fffaf1;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.search-box {
  position: relative;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-sm), inset 0 1px 0 #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.search-box:focus-within { border-color: rgba(21,95,75,.32); box-shadow: 0 12px 34px rgba(21,95,75,.09), 0 0 0 4px rgba(21,95,75,.04); transform: translateY(-1px); }
.search-box > svg { width: 21px; height: 21px; margin-right: 19px; flex: 0 0 auto; fill: none; stroke: #8b9892; stroke-width: 1.7; stroke-linecap: round; }
.search-box input { width: 100%; min-width: 0; height: 56px; border: 0; outline: 0; padding: 0 13px; color: var(--ink); background: transparent; font-family: "Cairo", sans-serif; font-size: 13px; font-weight: 700; }
.search-box input::placeholder { color: #a5ada8; opacity: 1; }
.search-box kbd { margin-left: 14px; min-width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 8px; color: #9ba49f; background: #faf9f5; font: 700 11px/1 "Cairo", sans-serif; }
.search-clear { width: 34px; height: 34px; margin-left: 12px; flex: 0 0 auto; border-radius: 50%; color: #7d8c85; background: #f2f0e9; cursor: pointer; font-size: 21px; line-height: 1; }

.reciter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.reciter-card {
  position: relative;
  min-width: 0;
  min-height: 118px;
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) 38px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 26px rgba(24,53,44,.045);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.reciter-card::after { content: ""; position: absolute; inset: auto -30px -50px auto; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(182,144,82,.10), transparent 68%); pointer-events: none; }
.reciter-card:hover { transform: translateY(-4px); border-color: rgba(182,144,82,.34); background: #fff; box-shadow: 0 18px 45px rgba(24,53,44,.10); }
.reciter-card__avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21,95,75,.13);
  border-radius: 19px;
  color: var(--emerald);
  background: linear-gradient(145deg, #f3f8f5, #e8f0ec);
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 #fff;
}
.reciter-card__body { min-width: 0; display: grid; }
.reciter-card__body small { color: var(--gold); font-size: 9px; font-weight: 900; }
.reciter-card__body strong { margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 13px; font-weight: 900; }
.reciter-card__body span { margin-top: 5px; color: #94a099; font-size: 9px; font-weight: 700; }
.reciter-card__action { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--emerald); background: var(--emerald-soft); transition: transform .22s ease, color .22s ease, background .22s ease; }
.reciter-card:hover .reciter-card__action { transform: translateX(-3px); color: #fff; background: var(--emerald); }
.reciter-card__action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.reciter-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 4vw, 46px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 10%, rgba(225,199,153,.16), transparent 23rem),
    linear-gradient(135deg, #0f493a 0%, #12634d 58%, #0b4939 100%);
  box-shadow: 0 26px 70px rgba(13,69,55,.22);
  isolation: isolate;
}
.reciter-hero::before { opacity: .08; background-size: 72px 124px; }
.reciter-hero__pattern { position: absolute; width: 340px; height: 340px; left: -120px; top: -140px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); }
.reciter-hero__main { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; }
.reciter-hero__avatar { width: 88px; height: 88px; flex: 0 0 88px; display: grid; place-items: center; border: 1px solid rgba(234,219,194,.35); border-radius: 28px; color: #f5ddae; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 16px 34px rgba(0,0,0,.12); font-size: 32px; font-weight: 900; backdrop-filter: blur(8px); }
.reciter-hero__copy h1 { margin: 7px 0 8px; font-size: clamp(27px, 4vw, 43px); font-weight: 900; letter-spacing: -.03em; }
.reciter-hero__copy p { max-width: 720px; margin: 0; color: rgba(255,255,255,.68); font-size: 12px; font-weight: 600; line-height: 1.9; }
.reciter-hero__meta { position: relative; z-index: 1; margin-top: 27px; display: flex; flex-wrap: wrap; gap: 9px; }
.reciter-hero__meta > div { min-height: 37px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: rgba(255,255,255,.75); background: rgba(255,255,255,.055); font-size: 9px; font-weight: 800; backdrop-filter: blur(8px); }
.reciter-hero__meta strong { color: #f2dba9; font-size: 13px; font-weight: 900; }
.reciter-hero__meta svg { width: 15px; height: 15px; fill: none; stroke: #f2dba9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.resume-btn { position: absolute; left: clamp(25px,4vw,46px); bottom: clamp(25px,4vw,46px); z-index: 2; min-width: 235px; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; color: #17372c; background: #fff8e9; box-shadow: 0 15px 30px rgba(0,0,0,.14); cursor: pointer; text-align: right; transition: transform .2s ease, box-shadow .2s ease; }
.resume-btn:hover { transform: translateY(-2px); box-shadow: 0 19px 34px rgba(0,0,0,.18); }
.resume-btn__icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--emerald); }
.resume-btn__icon svg { width: 18px; height: 18px; fill: currentColor; }
.resume-btn > span:last-child { min-width: 0; display: grid; }
.resume-btn small { color: #8a7a60; font-size: 8px; font-weight: 800; }
.resume-btn strong { margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 900; }

.content-section--tracks { margin-top: 28px; }
.track-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.track-card {
  min-width: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 43px;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 21px;
  color: var(--ink);
  background: rgba(255,255,255,.88);
  box-shadow: 0 7px 20px rgba(24,53,44,.035);
  text-align: right;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.track-card:hover { transform: translateY(-3px); border-color: rgba(21,95,75,.22); background: #fff; box-shadow: 0 16px 34px rgba(24,53,44,.08); }
.track-card__number { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #ece7db; border-radius: 15px; color: #8a7247; background: #fbf7ed; font-size: 10px; font-weight: 900; font-variant-numeric: tabular-nums; }
.track-card__body { min-width: 0; display: grid; }
.track-card__body small { color: #9ea8a3; font-size: 8px; font-weight: 700; }
.track-card__body strong { margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 900; }
.track-card__body span { margin-top: 4px; color: #a0aaa5; font-size: 8px; font-weight: 700; }
.track-card__play { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; color: var(--emerald); background: #edf4f0; transition: transform .2s ease, color .2s ease, background .2s ease; }
.track-card__play svg { grid-area: 1/1; width: 17px; height: 17px; fill: currentColor; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.track-card__play .icon-pause { display: none; fill: none; }
.track-card:hover .track-card__play { transform: scale(1.05); color: #fff; background: var(--emerald); }
.track-card.is-active { border-color: rgba(182,144,82,.55); background: linear-gradient(135deg,#fffdfa,#fbf6e9); box-shadow: 0 13px 30px rgba(182,144,82,.13), inset 0 0 0 1px rgba(182,144,82,.08); }
.track-card.is-active .track-card__number { border-color: rgba(21,95,75,.15); color: #fff; background: var(--emerald); }
.track-card.is-active .track-card__play { color: #fff; background: var(--emerald); box-shadow: 0 9px 20px rgba(21,95,75,.22); }
.track-card.is-playing .track-card__play .icon-play { display: none; }
.track-card.is-playing .track-card__play .icon-pause { display: block; }

.empty-state { margin: 40px auto 10px; max-width: 420px; display: grid; place-items: center; text-align: center; }
.empty-state__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 20px; color: var(--emerald); background: var(--emerald-soft); font-size: 28px; }
.empty-state strong { margin-top: 13px; font-size: 14px; font-weight: 900; }
.empty-state span { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 600; }

.ad-shell { min-height: 0; margin-top: 28px; overflow: hidden; border-radius: 18px; }
.ad-shell .adsbygoogle { display: block; width: 100%; }

.player-dock {
  position: fixed;
  z-index: 70;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 0 16px max(14px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.player-dock__inner {
  width: min(1120px, 100%);
  min-height: 102px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, .85fr) minmax(330px, 1.35fr) minmax(210px, .85fr);
  align-items: center;
  gap: 20px;
  padding: 14px 17px;
  border: 1px solid rgba(232,228,218,.9);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 70px rgba(24,53,44,.18), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  pointer-events: auto;
}
.player-info { min-width: 0; display: grid; grid-template-columns: 48px minmax(0,1fr) 18px; align-items: center; gap: 10px; }
.now-number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(145deg,var(--emerald),var(--emerald-deep)); box-shadow: 0 10px 20px rgba(21,95,75,.22); font-size: 10px; font-weight: 900; }
.player-info__text { min-width: 0; display: grid; }
.player-info__text small { color: var(--gold); font-size: 8px; font-weight: 900; }
.player-info__text strong { margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 900; }
.player-info__text span { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #899790; font-size: 8px; font-weight: 700; }
.wave-bars { height: 20px; display: flex; align-items: center; justify-content: center; gap: 2px; opacity: .5; }
.wave-bars i { width: 2px; height: 6px; border-radius: 99px; background: var(--emerald); }
.player-dock.is-playing .wave-bars i { animation: wave .8s ease-in-out infinite alternate; }
.player-dock.is-playing .wave-bars i:nth-child(2) { animation-delay: -.3s; }
.player-dock.is-playing .wave-bars i:nth-child(3) { animation-delay: -.55s; }
.player-dock.is-playing .wave-bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes wave { from { height: 5px; } to { height: 18px; } }

.player-center { min-width: 0; display: grid; gap: 10px; }
.transport { display: flex; align-items: center; justify-content: center; gap: 8px; direction: ltr; }
.transport-btn, .tool-btn { display: grid; place-items: center; flex: 0 0 auto; color: #60736a; background: #f3f4f0; cursor: pointer; transition: transform .16s ease, background .18s ease, color .18s ease; }
.transport-btn { width: 38px; height: 38px; border-radius: 13px; }
.transport-btn svg, .tool-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.transport-btn:hover, .tool-btn:hover { color: var(--emerald); background: #eaf2ee; }
.transport-btn:active, .tool-btn:active { transform: scale(.94); }
.transport-btn--main { width: 47px; height: 47px; border-radius: 16px; color: #fff; background: linear-gradient(145deg,var(--emerald),var(--emerald-deep)); box-shadow: 0 10px 22px rgba(21,95,75,.24); }
.transport-btn--main:hover { color: #fff; background: linear-gradient(145deg,#196d55,#0e4c3c); }
.transport-btn--main svg { grid-area: 1/1; fill: currentColor; stroke: currentColor; }
.transport-btn--main .icon-pause { display: none; fill: none; }
.player-dock.is-playing .transport-btn--main .icon-play { display: none; }
.player-dock.is-playing .transport-btn--main .icon-pause { display: block; }
.progress-row { display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; align-items: center; gap: 8px; direction: ltr; color: #8a9891; font-size: 8px; font-weight: 800; font-variant-numeric: tabular-nums; }

.range { width: 100%; height: 4px; appearance: none; -webkit-appearance: none; border-radius: 999px; background: #dfe5e1; cursor: pointer; outline: 0; accent-color: var(--emerald); }
.range::-webkit-slider-thumb { width: 13px; height: 13px; appearance: none; -webkit-appearance: none; border: 3px solid #fff; border-radius: 50%; background: var(--emerald); box-shadow: 0 2px 7px rgba(21,95,75,.32); }
.range::-moz-range-thumb { width: 9px; height: 9px; border: 3px solid #fff; border-radius: 50%; background: var(--emerald); box-shadow: 0 2px 7px rgba(21,95,75,.32); }

.player-tools { min-width: 0; display: flex; align-items: center; justify-content: flex-start; gap: 7px; direction: ltr; }
.tool-btn { width: 36px; height: 36px; border-radius: 12px; }
.tool-btn--speed { color: var(--ink); font-size: 9px; font-weight: 900; }
.tool-btn .icon-muted { display: none; }
.tool-btn.is-muted .icon-volume { display: none; }
.tool-btn.is-muted .icon-muted { display: block; }
.range--volume { width: 82px; direction: ltr; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 128px; max-width: calc(100vw - 32px); padding: 10px 16px; transform: translate(-50%, 12px); border-radius: 999px; color: #fff; background: #18352c; box-shadow: 0 14px 34px rgba(24,53,44,.24); opacity: 0; pointer-events: none; font-size: 10px; font-weight: 800; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

.site-footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 0 0 30px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #a0aaa4; font-size: 9px; font-weight: 700; }
.site-footer i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

@media (max-width: 1020px) {
  .reciter-grid, .track-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .player-dock__inner { grid-template-columns: minmax(175px,.75fr) minmax(300px,1.35fr) auto; gap: 13px; }
  .range--volume { display: none; }
  .resume-btn { position: static; width: fit-content; margin-top: 22px; }
}

@media (max-width: 760px) {
  .site-header__inner, .page-shell, .site-footer { width: min(100% - 24px, 680px); }
  .site-header__inner { height: 68px; }
  .brand__mark { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; }
  .brand__copy strong { font-size: 14px; }
  .brand__copy small { font-size: 8px; }
  .nav-note { display: none; }
  .page-shell { padding-top: 20px; }
  .page-shell--player { padding-bottom: 174px; }

  .home-hero { min-height: auto; grid-template-columns: 1fr; padding: 36px 25px 31px; border-radius: 29px; }
  .home-hero__seal { display: none; }
  .home-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-stats { margin-top: 22px; }

  .reciter-hero { padding: 27px 23px; border-radius: 28px; }
  .reciter-hero__main { align-items: flex-start; gap: 15px; }
  .reciter-hero__avatar { width: 65px; height: 65px; flex-basis: 65px; border-radius: 21px; font-size: 24px; }
  .reciter-hero__copy h1 { font-size: 26px; }
  .reciter-hero__copy p { font-size: 10px; }
  .reciter-hero__meta { margin-top: 20px; }

  .content-section { margin-top: 27px; }
  .section-head { align-items: center; }
  .section-head h2 { font-size: 24px; }
  .search-box { min-height: 54px; border-radius: 17px; }
  .search-box input { height: 52px; font-size: 12px; }
  .search-box kbd { display: none; }

  .reciter-grid, .track-grid { grid-template-columns: 1fr; gap: 10px; }
  .reciter-card { min-height: 104px; grid-template-columns: 52px minmax(0,1fr) 35px; padding: 15px; border-radius: 20px; }
  .reciter-card__avatar { width: 52px; height: 52px; border-radius: 17px; }
  .track-card { min-height: 82px; grid-template-columns: 45px minmax(0,1fr) 40px; padding: 12px 13px; border-radius: 18px; }
  .track-card__number { width: 45px; height: 45px; border-radius: 14px; }
  .track-card__play { width: 40px; height: 40px; }

  .player-dock { padding: 0 10px max(10px, env(safe-area-inset-bottom)); }
  .player-dock__inner { min-height: 0; grid-template-columns: 1fr auto; grid-template-areas: "info transport" "progress progress"; gap: 11px 13px; padding: 12px 13px 13px; border-radius: 23px; }
  .player-info { grid-area: info; grid-template-columns: 42px minmax(0,1fr); }
  .now-number { width: 42px; height: 42px; border-radius: 14px; }
  .wave-bars { display: none; }
  .player-center { display: contents; }
  .transport { grid-area: transport; gap: 5px; }
  .transport-btn { width: 34px; height: 34px; border-radius: 11px; }
  .transport-btn--main { width: 43px; height: 43px; border-radius: 14px; }
  .progress-row { grid-area: progress; grid-template-columns: 34px minmax(0,1fr) 34px; }
  .player-tools { position: absolute; top: -41px; left: 13px; gap: 5px; }
  .tool-btn { width: 34px; height: 34px; border: 1px solid var(--line); background: rgba(255,255,255,.94); box-shadow: 0 7px 18px rgba(24,53,44,.08); }
  .range--volume, #copyBtn { display: none; }
  .toast { bottom: 142px; }
}

@media (max-width: 420px) {
  .site-header__inner, .page-shell, .site-footer { width: calc(100% - 18px); }
  .site-header__inner { height: 64px; }
  .brand__copy small { display: none; }
  .nav-pill { min-height: 38px; padding: 0 11px; }
  .nav-pill span { font-size: 10px; }
  .home-hero { padding: 30px 20px 27px; border-radius: 25px; }
  .home-hero h1 { margin-top: 13px; font-size: clamp(31px, 10.2vw, 40px); line-height: 1.28; }
  .home-hero p { font-size: 11px; line-height: 1.9; }
  .hero-stats { gap: 8px; font-size: 9px; }
  .hero-stats strong { font-size: 14px; }
  .section-kicker { font-size: 9px; }
  .section-head h2 { font-size: 21px; }
  .count-badge { font-size: 9px; }
  .reciter-hero { padding: 22px 18px; }
  .reciter-hero__avatar { width: 55px; height: 55px; flex-basis: 55px; border-radius: 18px; font-size: 21px; }
  .reciter-hero__copy h1 { font-size: 21px; }
  .reciter-hero__copy p { font-size: 9px; line-height: 1.75; }
  .reciter-hero__meta > div { min-height: 32px; padding: 0 10px; font-size: 8px; }
  .resume-btn { width: 100%; min-width: 0; }
  .reciter-card { grid-template-columns: 49px minmax(0,1fr) 32px; gap: 11px; }
  .reciter-card__avatar { width: 49px; height: 49px; }
  .reciter-card__body strong { font-size: 12px; }
  .track-card { grid-template-columns: 42px minmax(0,1fr) 38px; gap: 10px; padding: 11px 12px; }
  .track-card__number { width: 42px; height: 42px; }
  .track-card__play { width: 38px; height: 38px; }
  .player-dock__inner { gap: 9px; padding: 10px 11px 12px; }
  .player-info { grid-template-columns: 39px minmax(0,1fr); gap: 8px; }
  .now-number { width: 39px; height: 39px; border-radius: 12px; }
  .player-info__text strong { font-size: 10px; }
  .transport-btn { width: 31px; height: 31px; }
  .transport-btn--main { width: 40px; height: 40px; }
  .player-tools { top: -38px; left: 10px; }
  .tool-btn { width: 31px; height: 31px; }
}

@media (max-width: 340px) {
  .site-header__inner, .page-shell, .site-footer { width: calc(100% - 14px); }
  .brand__mark { width: 38px; height: 38px; flex-basis: 38px; }
  .brand__copy strong { font-size: 12px; }
  .nav-pill span { display: none; }
  .nav-pill { width: 38px; padding: 0; justify-content: center; }
  .home-hero { padding: 25px 16px; }
  .home-hero h1 { font-size: 29px; }
  .hero-stats span:last-child, .hero-stats i:last-of-type { display: none; }
  .section-head { gap: 8px; }
  .track-card__body span, .reciter-card__body span { display: none; }
  .player-info__text span { display: none; }
  .player-dock__inner { grid-template-columns: 1fr auto; }
  .transport-btn:not(.transport-btn--main) { width: 29px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .site-header { position: static; }
  .page-shell--player { padding-bottom: 116px; }
  .reciter-hero { padding: 20px 24px; }
  .reciter-hero__copy p, .reciter-hero__meta { display: none; }
  .reciter-hero__avatar { width: 56px; height: 56px; flex-basis: 56px; }
  .player-dock__inner { min-height: 74px; grid-template-columns: minmax(170px,.8fr) minmax(300px,1.3fr) auto; grid-template-areas: none; padding: 9px 12px; }
  .player-info { grid-area: auto; }
  .player-center { display: grid; }
  .transport { grid-area: auto; }
  .progress-row { grid-area: auto; }
  .player-tools { position: static; }
  #copyBtn { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   Responsive Type & Touch System v2
   Mobile-first readability: 320px -> 4K
   ========================================================= */

:root {
  --container: 1240px;
  --mobile-gutter: clamp(12px, 3.8vw, 22px);
}

html {
  font-family: "Cairo", sans-serif;
  font-size: 16px;
}

body,
button,
input,
a {
  font-family: "Cairo", sans-serif !important;
}

/* Better large-screen breathing room without over-stretching content */
.site-header__inner,
.page-shell,
.site-footer {
  width: min(var(--container), calc(100% - 40px));
}

/* Fluid typography shared across screen sizes */
.brand__copy strong { font-size: clamp(16px, 1.15vw, 19px); }
.brand__copy small { font-size: clamp(11px, .8vw, 13px); }
.nav-pill { font-size: clamp(12px, .85vw, 14px); }
.nav-note { font-size: clamp(11px, .8vw, 13px); }
.eyebrow,
.section-kicker { font-size: clamp(12px, .8vw, 14px); }
.home-hero p { font-size: clamp(15px, 1.15vw, 18px); }
.hero-stats { font-size: clamp(12px, .85vw, 14px); }
.hero-stats strong { font-size: clamp(18px, 1.3vw, 22px); }
.section-head h2 { font-size: clamp(27px, 2.5vw, 36px); }
.count-badge { min-height: 39px; padding-inline: 15px; font-size: clamp(11px, .78vw, 13px); }
.search-box input { font-size: 16px; }

.reciter-card__body small { font-size: clamp(11px, .74vw, 12px); }
.reciter-card__body strong { font-size: clamp(15px, 1vw, 17px); }
.reciter-card__body span { font-size: clamp(11px, .72vw, 12px); }

.reciter-hero__copy p { font-size: clamp(14px, 1vw, 16px); }
.reciter-hero__meta > div { min-height: 42px; padding-inline: 14px; font-size: clamp(11px, .74vw, 12px); }
.reciter-hero__meta strong { font-size: clamp(15px, 1vw, 17px); }
.resume-btn small { font-size: 11px; }
.resume-btn strong { font-size: 13px; }

.track-card__number { font-size: clamp(12px, .8vw, 14px); }
.track-card__body small { font-size: clamp(10px, .7vw, 12px); }
.track-card__body strong { font-size: clamp(15px, 1vw, 17px); }
.track-card__body span { font-size: clamp(11px, .72vw, 12px); }
.empty-state strong { font-size: 17px; }
.empty-state span { font-size: 13px; }

.player-info__text small { font-size: clamp(10px, .7vw, 12px); }
.player-info__text strong { font-size: clamp(13px, .9vw, 16px); }
.player-info__text span { font-size: clamp(10px, .68vw, 12px); }
.progress-row { font-size: clamp(10px, .68vw, 12px); }
.tool-btn--speed { font-size: 12px; }
.toast { font-size: 12px; }
.site-footer { font-size: 11px; }

/* Touch targets: comfortable on phones/tablets */
.nav-pill,
.transport-btn,
.tool-btn,
.track-card,
.reciter-card,
.search-clear {
  touch-action: manipulation;
}

@media (hover: none) and (pointer: coarse) {
  .nav-pill { min-height: 46px; }
  .transport-btn { min-width: 44px; min-height: 44px; }
  .transport-btn--main { min-width: 54px; min-height: 54px; }
  .tool-btn { min-width: 44px; min-height: 44px; }
  .track-card__play { min-width: 48px; min-height: 48px; }
}

/* Tablet / small laptop */
@media (min-width: 761px) and (max-width: 1100px) {
  .site-header__inner,
  .page-shell,
  .site-footer { width: calc(100% - 36px); }

  .reciter-grid,
  .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .reciter-card,
  .track-card { min-height: 108px; }

  .track-card__body strong,
  .reciter-card__body strong { font-size: 16px; }
}

/* Phones: readability first */
@media (max-width: 760px) {
  .site-header__inner,
  .page-shell,
  .site-footer {
    width: calc(100% - (var(--mobile-gutter) * 2));
  }

  .site-header__inner { height: 74px; gap: 12px; }
  .brand { gap: 10px; }
  .brand__mark { width: 46px; height: 46px; flex-basis: 46px; border-radius: 15px; }
  .brand__copy strong { font-size: clamp(17px, 4.6vw, 20px); }
  .brand__copy small { display: block; margin-top: 3px; font-size: clamp(11px, 3vw, 13px); }
  .nav-pill { min-height: 44px; padding-inline: 14px; font-size: 13px; }

  .page-shell { padding-top: 20px; }
  .page-shell--player { padding-bottom: 205px; }

  .home-hero {
    padding: clamp(30px, 8vw, 42px) clamp(20px, 6vw, 30px);
    border-radius: 30px;
  }
  .home-hero h1 { font-size: clamp(34px, 10.5vw, 48px); }
  .home-hero p { font-size: clamp(15px, 4vw, 17px); line-height: 1.9; }
  .eyebrow,
  .section-kicker { font-size: 13px; }
  .hero-stats { gap: 10px; font-size: 12px; }
  .hero-stats strong { font-size: 18px; }

  .reciter-hero { padding: clamp(25px, 6.5vw, 34px) clamp(20px, 5.5vw, 28px); border-radius: 30px; }
  .reciter-hero__main { gap: 17px; }
  .reciter-hero__avatar { width: 72px; height: 72px; flex-basis: 72px; border-radius: 23px; font-size: 28px; }
  .reciter-hero__copy h1 { margin-top: 8px; font-size: clamp(28px, 7.5vw, 36px); line-height: 1.35; }
  .reciter-hero__copy p { margin-top: 8px; font-size: clamp(14px, 3.7vw, 16px); line-height: 1.95; }
  .reciter-hero__meta { margin-top: 22px; gap: 8px; }
  .reciter-hero__meta > div { min-height: 40px; padding-inline: 13px; font-size: 12px; }
  .reciter-hero__meta strong { font-size: 16px; }

  .resume-btn { padding: 12px 14px; border-radius: 18px; }
  .resume-btn small { font-size: 11px; }
  .resume-btn strong { font-size: 14px; }

  .content-section { margin-top: 31px; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { font-size: clamp(28px, 7.5vw, 34px); line-height: 1.3; }
  .count-badge { min-height: 40px; padding-inline: 14px; font-size: 12px; }

  .search-box { min-height: 62px; border-radius: 20px; }
  .search-box > svg { width: 23px; height: 23px; margin-right: 17px; }
  .search-box input {
    height: 60px;
    padding-inline: 12px;
    font-size: 16px; /* prevents iOS form zoom */
    font-weight: 700;
  }
  .search-clear { width: 40px; height: 40px; font-size: 24px; }

  .reciter-grid,
  .track-grid { grid-template-columns: 1fr; gap: 12px; }

  .reciter-card {
    min-height: 112px;
    grid-template-columns: 58px minmax(0, 1fr) 42px;
    gap: 14px;
    padding: 17px;
    border-radius: 23px;
  }
  .reciter-card__avatar { width: 58px; height: 58px; border-radius: 19px; font-size: 22px; }
  .reciter-card__body small { font-size: 11px; }
  .reciter-card__body strong { margin-top: 3px; font-size: clamp(16px, 4.3vw, 18px); line-height: 1.5; }
  .reciter-card__body span { margin-top: 4px; font-size: 12px; }
  .reciter-card__action { width: 42px; height: 42px; }

  .track-card {
    min-height: 106px;
    grid-template-columns: 54px minmax(0, 1fr) 50px;
    gap: 14px;
    padding: 15px 16px;
    border-radius: 22px;
  }
  .track-card__number { width: 54px; height: 54px; border-radius: 17px; font-size: 13px; }
  .track-card__body small { font-size: 11px; }
  .track-card__body strong { margin-top: 2px; font-size: clamp(17px, 4.5vw, 19px); line-height: 1.45; }
  .track-card__body span { margin-top: 4px; font-size: 12px; }
  .track-card__play { width: 50px; height: 50px; }
  .track-card__play svg { width: 19px; height: 19px; }

  /* Phone player: spacious two-row dock */
  .player-dock { padding: 0 10px max(10px, env(safe-area-inset-bottom)); }
  .player-dock__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "info transport" "progress progress";
    gap: 13px 12px;
    padding: 14px 14px 15px;
    border-radius: 26px;
  }
  .player-info { grid-template-columns: 46px minmax(0,1fr); gap: 11px; }
  .now-number { width: 46px; height: 46px; border-radius: 15px; font-size: 12px; }
  .player-info__text small { font-size: 11px; }
  .player-info__text strong { margin-top: 2px; font-size: clamp(14px, 3.9vw, 16px); line-height: 1.45; }
  .player-info__text span { margin-top: 2px; font-size: 11px; }

  .transport { gap: 6px; }
  .transport-btn { width: 42px; height: 42px; border-radius: 13px; }
  .transport-btn--main { width: 52px; height: 52px; border-radius: 17px; }
  .transport-btn svg { width: 19px; height: 19px; }

  .progress-row {
    grid-template-columns: 44px minmax(0,1fr) 44px;
    gap: 9px;
    font-size: 11px;
  }
  .range { height: 5px; }
  .range::-webkit-slider-thumb { width: 17px; height: 17px; }
  .range::-moz-range-thumb { width: 13px; height: 13px; }

  .player-tools { top: -49px; left: 14px; gap: 6px; }
  .tool-btn { width: 42px; height: 42px; border-radius: 13px; }
  .tool-btn--speed { font-size: 12px; }
  .toast { bottom: 165px; padding: 11px 17px; font-size: 12px; }
}

/* Common modern phones: 360px–430px */
@media (min-width: 360px) and (max-width: 430px) {
  .reciter-hero__copy h1 { font-size: clamp(29px, 8vw, 34px); }
  .track-card__body strong { font-size: 18px; }
  .reciter-card__body strong { font-size: 17px; }
  .section-head h2 { font-size: 30px; }
}

/* Small phones: do not make typography tiny; simplify layout instead */
@media (max-width: 359px) {
  .site-header__inner,
  .page-shell,
  .site-footer { width: calc(100% - 16px); }

  .site-header__inner { height: 68px; }
  .brand__mark { width: 42px; height: 42px; flex-basis: 42px; }
  .brand__copy strong { font-size: 16px; }
  .brand__copy small { font-size: 10px; }
  .nav-pill { min-width: 42px; min-height: 42px; padding-inline: 10px; }
  .nav-pill span { display: none; }

  .reciter-hero { padding: 22px 17px; }
  .reciter-hero__main { gap: 12px; }
  .reciter-hero__avatar { width: 60px; height: 60px; flex-basis: 60px; font-size: 24px; }
  .reciter-hero__copy h1 { font-size: 26px; }
  .reciter-hero__copy p { font-size: 13px; }
  .reciter-hero__meta > div { min-height: 38px; font-size: 11px; }

  .section-head h2 { font-size: 27px; }
  .section-kicker { font-size: 12px; }
  .count-badge { font-size: 11px; }

  .track-card {
    min-height: 100px;
    grid-template-columns: 48px minmax(0,1fr) 46px;
    gap: 10px;
    padding: 13px 12px;
  }
  .track-card__number { width: 48px; height: 48px; font-size: 12px; }
  .track-card__play { width: 46px; height: 46px; }
  .track-card__body strong { font-size: 16px; }
  .track-card__body small { font-size: 10px; }
  .track-card__body span { font-size: 11px; }

  .reciter-card { grid-template-columns: 52px minmax(0,1fr) 38px; padding: 14px; }
  .reciter-card__avatar { width: 52px; height: 52px; }
  .reciter-card__body strong { font-size: 16px; }

  .player-dock__inner { padding: 12px 11px 13px; gap: 11px 8px; }
  .player-info { grid-template-columns: 41px minmax(0,1fr); gap: 8px; }
  .now-number { width: 41px; height: 41px; font-size: 11px; }
  .player-info__text strong { font-size: 13px; }
  .player-info__text small { font-size: 10px; }
  .player-info__text span { display: none; }
  .transport-btn { width: 38px; height: 38px; }
  .transport-btn--main { width: 48px; height: 48px; }
  .progress-row { grid-template-columns: 40px minmax(0,1fr) 40px; font-size: 10px; }
  .player-tools { top: -45px; left: 10px; }
  .tool-btn { width: 38px; height: 38px; }
}

/* Wide desktop / 2K / 4K: keep readable proportions */
@media (min-width: 1440px) {
  :root { --container: 1320px; }
  .home-hero { min-height: 390px; }
  .reciter-grid,
  .track-grid { gap: 15px; }
  .track-card { min-height: 104px; }
  .reciter-card { min-height: 126px; }
}

@media (min-width: 2200px) {
  :root { --container: 1460px; }
  .page-shell { padding-top: 42px; }
  .track-card__body strong,
  .reciter-card__body strong { font-size: 18px; }
}

/* Landscape phones: keep controls usable without consuming the whole viewport */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 950px) {
  .site-header { position: static; }
  .page-shell--player { padding-bottom: 118px; }
  .reciter-hero { padding: 18px 22px; }
  .reciter-hero__copy h1 { font-size: 25px; }
  .reciter-hero__copy p,
  .reciter-hero__meta { display: none; }
  .player-dock__inner {
    min-height: 82px;
    grid-template-columns: minmax(170px,.9fr) minmax(300px,1.3fr) auto;
    grid-template-areas: none;
    padding: 10px 12px;
  }
  .player-info { grid-area: auto; }
  .player-center { display: grid; }
  .transport { grid-area: auto; }
  .progress-row { grid-area: auto; font-size: 10px; }
  .player-tools { position: static; }
  #copyBtn { display: grid; }
}
