/* Home "నేటి దర్శనం": today's features as large picture tiles (home-today.js). */
.home-compact #homeView .home-feature-grid,
.home-compact #homeView .home-explained-feature { display: none !important; }
.home-today { margin: 0; }
.today-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.today-tile { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-width: 0; padding: 10px 16px 10px 10px; border: 0; border-radius: 20px; background: var(--home-paper, #fffaf0); box-shadow: 0 0 0 1px var(--home-line, #e6d4ae); color: inherit; text-align: left; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.today-tile:hover, .today-tile:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--home-gold, #c9a24e), 0 12px 22px -16px rgba(110,60,10,.6); }
.today-tile:focus-visible { outline: 3px solid #b8843c; outline-offset: 2px; }
/* Every picture sits in the same fixed frame. */
.today-art { display: block; width: 110px; height: 96px; overflow: hidden; border-radius: 14px; background: #0e4545; }
.today-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.today-icon { background: linear-gradient(160deg, #1b5245, #0f3b33); }
.today-icon::after { content: ''; display: block; height: 100%; background: url('assets/devotional-icons/venkateswara-v2.png') center/contain no-repeat; background-origin: content-box; padding: 6px; box-sizing: border-box; }
.today-explained .today-icon { background: linear-gradient(160deg, #8a4a22, #5c2c12); }
.today-explained .today-icon::after { background-image: url('assets/devotional-icons/palm-leaf-manuscript-v2.png'); }
.today-audio .today-icon { background: linear-gradient(160deg, #27406e, #162848); }
.today-audio .today-icon::after { background-image: url('assets/devotional-icons/annamacharya-tambura-v1.png'); }
.today-copy { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.today-copy .today-label { color: var(--home-kum, #a3302a); font-size: 15px; line-height: 1.5; }
.today-pallavi { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 400 19px/1.55 'Noto Serif Telugu', serif; color: var(--home-head, #0f3b33); }
.today-meta { display: block; font-size: 15px; line-height: 1.6; color: var(--home-muted, #6f5a40); }
.today-meta i { font-style: normal; }
.today-meta i + i::before { content: ' · '; }
.today-tile > em { font-style: normal; color: var(--home-kum, #a3302a); font-size: 22px; }
/* Audio everywhere: the music icon in a gold ring, never a play triangle. */
.today-audio > em { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle, #fffaf0, #f6e3b8); box-shadow: 0 0 0 2px #c9a24e, 0 6px 14px -8px rgba(110,60,10,.7); }
.today-audio > em::before { content: ''; width: 24px; height: 24px; background: #a3302a; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18.5V6.2l11-2.7v12.3' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cellipse cx='6.3' cy='18.6' rx='3' ry='2.4' transform='rotate(-20 6.3 18.6)'/%3E%3Cellipse cx='17.3' cy='15.9' rx='3' ry='2.4' transform='rotate(-20 17.3 15.9)'/%3E%3Cpath d='M9 9.4l11-2.7' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18.5V6.2l11-2.7v12.3' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cellipse cx='6.3' cy='18.6' rx='3' ry='2.4' transform='rotate(-20 6.3 18.6)'/%3E%3Cellipse cx='17.3' cy='15.9' rx='3' ry='2.4' transform='rotate(-20 17.3 15.9)'/%3E%3Cpath d='M9 9.4l11-2.7' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; }
.today-audio:hover > em { box-shadow: 0 0 0 2px #c9a24e, 0 0 18px -2px rgba(226,170,70,.7); }

@media (max-width: 1250px) { .today-tiles { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 650px) {
  .today-tile { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; }
  .today-art { width: 76px; height: 76px; }
  .today-pallavi { font-size: 18px; }
}

/* Top-bar Back (app.js syncTopBack): shown away from Home. */
.top-back { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #d9c9a8; border-radius: 50%; background: #fffaf0; color: #1e5551; font-size: 20px; line-height: 1; cursor: pointer; }
.top-back[hidden] { display: none; }
.top-back:focus-visible { outline: 3px solid #b38635; outline-offset: 2px; }
@media (max-width: 650px) { .top-back { flex-basis: 42px; width: 42px; height: 42px; } }

/* రేకు దర్శనం: one copper-plate card per రేకు (app.js loadPlates). */
.reku-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.reku-toolbar label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 6px 0 16px; border: 1px solid var(--line, #d9c49d); border-radius: 999px; background: var(--paper, #fffaf0); }
.reku-jump { flex: 0 0 auto; }
.reku-jump span { color: #a46435; font-weight: 600; }
.reku-jump input { width: 90px; border: 0; background: transparent; font: inherit; font-size: 18px; letter-spacing: .08em; }
.reku-jump button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: #1e5551; color: #f8e7c4; font: inherit; cursor: pointer; }
.reku-search { flex: 1 1 260px; }
.reku-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 17px; }
.reku-toolbar input:focus { outline: none; }
.reku-toolbar label:focus-within { outline: 3px solid #b38635; outline-offset: 2px; }
#platesView .reku-ranges { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 10px 0 4px; padding: 2px 2px 8px; scrollbar-width: thin; }
#platesView .reku-range { flex: 0 0 auto; height: 38px; padding: 0 14px; border: 1px solid var(--line, #d9c49d); border-radius: 999px; background: var(--paper, #fffaf0); color: #183b39; font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer; }
#platesView .reku-range.active { background: #1e5551; border-color: #1e5551; color: #f8e7c4; }
.reku-count { margin: 6px 2px 12px; color: #5c6b66; }
#platesView .reku-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
#platesView .reku-card { display: block; padding: 0; overflow: hidden; border: 1px solid #8a5432; border-radius: 16px; background: #fffaf0; box-shadow: 0 10px 26px rgba(90,50,25,.12); cursor: default; }
#platesView .reku-card.focused { box-shadow: 0 0 0 3px #d9ad58, 0 14px 34px rgba(150,90,30,.25); }
.reku-head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 6px; padding: 12px 10px; background: linear-gradient(135deg, #b8733f, #7a4224 60%, #9b5a2f); color: #fbe2bd; }
.reku-head > div { text-align: center; }
.reku-head span { display: block; font-size: 13px; opacity: .85; }
.reku-head strong { display: block; font-family: inherit; font-size: 28px; line-height: 1.1; font-weight: 400; letter-spacing: .12em; text-shadow: 0 -1px 0 rgba(60,25,10,.6); }
.reku-head i { display: block; margin-top: 2px; font-style: normal; font-size: 13px; opacity: .9; }
.reku-step { width: 40px; height: 40px; border: 1px solid rgba(251,226,189,.45); border-radius: 50%; background: rgba(255,255,255,.08); color: #fbe2bd; font-size: 18px; cursor: pointer; }
.reku-step:hover, .reku-step:focus-visible { background: rgba(255,255,255,.2); outline: none; }
.reku-songs { margin: 0; padding: 6px 0; list-style: none; }
.reku-song { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; width: 100%; padding: 10px 14px; border: 0; border-bottom: 1px solid #efe2c9; background: none; color: #183b39; font: inherit; text-align: left; cursor: pointer; }
.reku-songs li:last-child .reku-song { border-bottom: 0; }
.reku-song:hover, .reku-song:focus-visible { background: #f8eedc; outline: none; }
.reku-song b { grid-row: span 2; align-self: start; padding-top: 2px; color: #a46435; font-family: inherit; font-size: 16px; font-weight: 400; }
.reku-song .pallavi-preview { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 17px; line-height: 1.55; }
.reku-song small { color: #7a6f60; font-size: 13px; }
@media (max-width: 650px) { #platesView .reku-grid { grid-template-columns: minmax(0,1fr); } .reku-jump { flex: 1 1 100%; } .reku-jump input { flex: 1; } }

/* Series label (పె.అ., చి.శృ. …) on keertana cards and plates; none = Annamacharya. */
.series-mark { display: inline-block; padding: 0 7px; border-radius: 999px; background: #efe2c9; color: #7a3f1c; font-size: .85em; font-weight: 600; }
/* రేకు దర్శనం: one pill per series (author + type). */
.reku-series-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
#platesView .reku-series { display: flex; flex-direction: column; align-items: flex-start; height: auto; padding: 8px 16px; border: 1px solid var(--line, #d9c49d); border-radius: 14px; background: var(--paper, #fffaf0); color: #183b39; font: inherit; text-align: left; cursor: pointer; }
#platesView .reku-series b { font-size: 15px; }
#platesView .reku-series span { font-size: 13px; color: #7a6f60; }
#platesView .reku-series.active { background: #1e5551; border-color: #1e5551; color: #f8e7c4; }
#platesView .reku-series.active span { color: #e7d6b0; }
@media (max-width: 650px) { .reku-series-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } #platesView .reku-series { flex: 0 0 auto; } }

/* సంపుటాల వివరణ page. */
.guide-authors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.guide-authors article { position: relative; padding: 18px 20px 20px 24px; border: 1px solid #d8c5a6; border-radius: 18px; background: linear-gradient(115deg, #fffdf8, #f5ebd9); box-shadow: 0 10px 26px rgba(16,48,45,.08); overflow: hidden; }
.guide-authors article::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(#e2ad4e, #a95735 48%, #1c5b55); }
.guide-authors h3 { margin: 0 0 8px; font-size: 19px; color: #183b39;  font-weight: 400;}
.guide-authors p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; color: #3d4a46; }
.guide-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #efe2c9; color: #7a3f1c; font-size: 14px; font-weight: 600; }
.guide-note { margin: 0 0 22px; padding: 18px 22px; border: 1px dashed #c9a46a; border-radius: 16px; background: #fffaf0; }
.guide-note h3 { margin: 0 0 8px; font-size: 18px; color: #a46435;  font-weight: 400;}
.guide-note p { margin: 0 0 8px; font-size: 16px; line-height: 1.8; }
.guide-table-wrap { overflow-x: auto; border: 1px solid #d8c5a6; border-radius: 16px; background: #fffdf8; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.guide-table caption { padding: 14px 16px; text-align: left; font-weight: 400; font-size: 18px; color: #183b39; }
.guide-table th, .guide-table td { padding: 10px 12px; border-top: 1px solid #ecdfc6; text-align: left; vertical-align: middle; }
.guide-table thead th { position: sticky; top: 0; background: #1e5551; color: #f8e7c4; font-weight: 400; white-space: nowrap; }
.guide-table tbody th { text-align: center; }
.guide-table tr.guide-first > * { border-top: 2px solid #d8c5a6; }
.guide-table .guide-num { text-align: right; font-variant-numeric: tabular-nums; }
.guide-kind { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.guide-adhyatma .guide-kind { background: #e3efe9; color: #1e5551; }
.guide-sringara .guide-kind { background: #f6e1d4; color: #8a3f1c; }
.guide-volume { min-width: 44px; height: 36px; border: 1px solid #8a5432; border-radius: 10px; background: linear-gradient(145deg, #c27a43, #8a4a26); color: #fbe2bd; font-family: inherit; font-size: 17px; font-weight: 400; cursor: pointer; }
.guide-plates { border: 0; background: none; color: #1e5551; font: inherit; font-variant-numeric: tabular-nums; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.guide-table small { display: block; color: #7a6f60; font-size: 12px; }
.guide-table small.guide-count, .guide-table small.guide-earlier-note { display: none; }
.guide-foot { margin: 12px 4px 0; color: #5c6b66; font-size: 14px; }
@media (max-width: 900px) { .guide-authors { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 650px) { .guide-table { font-size: 14px; } .guide-table th, .guide-table td { padding: 8px; } }
/* Phones: keep the four useful columns on screen; "earlier number" folds
   under the volume badge and "తాళ్లపాక" is dropped from the author cell. */
@media (max-width: 650px) {
  .guide-table th:nth-child(2), .guide-table td.guide-earlier { display: none; }
  .guide-table .guide-tp { display: none; }
  .guide-table small.guide-earlier-note { display: block; margin-top: 4px; }
  .guide-table th, .guide-table td { padding: 8px 5px; }
  .guide-table { font-size: 15px; }
  .guide-table thead th { white-space: normal; font-size: 12px; }
  /* Plate range and count stack in one cell so nothing runs off-screen. */
  .guide-table th:nth-child(6), .guide-table td.guide-num { display: none; }
  .guide-table small.guide-count { display: block; }
  .guide-plates { white-space: nowrap; }
  .guide-kind { padding: 2px 6px; font-size: 12px; }
}

/* సంకీర్తన భాండాగారం: plate register (TTD record) above plate browsing. */
.plate-register { margin: 22px 0 28px; padding: 20px 22px; border: 1px solid #d8c5a6; border-radius: 20px; background: linear-gradient(115deg, #fffdf8, #f5ebd9); box-shadow: 0 12px 30px rgba(16,48,45,.08); }
.plate-register > header h3 { margin: 0 0 6px; font-size: 21px; color: #183b39;  font-weight: 400;}
.plate-register > header p { margin: 0 0 16px; color: #5c6b66; font-size: 15px; line-height: 1.7; }
.plate-register-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; gap: 18px; align-items: start; }
.plate-register-group { border: 1px solid #e2d3b4; border-radius: 14px; background: #fffdf8; overflow: hidden; }
.plate-register-group:nth-child(2) { grid-row: span 3; }
.plate-register-group h4 { margin: 0; padding: 10px 14px; background: linear-gradient(135deg, #b8733f, #7a4224 60%, #9b5a2f); color: #fbe2bd; font-size: 16px;  font-weight: 400;}
.plate-register-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.plate-register-table th { padding: 7px 10px; background: #f3e7cf; color: #5a3a1c; font-size: 15px; font-weight: 400; text-align: left; }
.plate-register-table td { padding: 8px 10px; border-top: 1px solid #efe2c9; vertical-align: top; }
.plate-register-table tbody tr { cursor: pointer; }
.plate-register-table tbody tr:hover, .plate-register-table tbody tr:focus-visible { background: #f8eedc; outline: none; }
.plate-register-table .reg-range { font-variant-numeric: tabular-nums; white-space: nowrap; color: #1e5551; }
.reg-missing { color: #9a3b22; white-space: nowrap; }
.plate-register-table small { color: #7a6f60; font-size: 15px; }
.reg-full { color: #2f6b55; font-size: 16px; }
.minor-works { margin-top: 18px; padding: 14px 18px; border: 1px dashed #c9a46a; border-radius: 14px; background: #fffaf0; }
.minor-works h4 { margin: 0 0 8px; color: #a46435; font-size: 17px;  font-weight: 400;}
.minor-works ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 28px; font-size: 16px; line-height: 1.9; }
.reku-browse-title { margin: 8px 2px 12px; font-size: 21px; color: #183b39;  font-weight: 400;}
@media (max-width: 900px) { .plate-register-groups { grid-template-columns: minmax(0,1fr); } .plate-register-group:nth-child(2) { grid-row: auto; } }
@media (max-width: 650px) { .plate-register { padding: 14px 12px; } .plate-register-table { font-size: 15px; } .plate-register-table td, .plate-register-table th { padding: 7px 6px; } .minor-works ol { columns: 1; } }

/* భాండాగారం: one page — jump links, then authors, volume table, plate
   register, minor works and plate browser, each under a standard heading. */
#volumeGuideView .bhandagara-jump { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
#volumeGuideView .bhandagara-jump a { display: inline-block !important; width: auto !important; padding: 6px 14px; border: 1px solid var(--line, #d9c49d); border-radius: 999px; background: var(--paper, #fffaf0); color: #1e5551; font-size: 16px; text-decoration: none; }
#volumeGuideView .bhandagara-jump a:hover, #volumeGuideView .bhandagara-jump a:focus-visible { background: #1e5551; color: #f8e7c4; outline: none; }
#volumeGuideView > .section-heading { margin-top: 34px; scroll-margin-top: 90px; }
#volumeGuideView .guide-authors { margin-top: 6px; }
.plate-register-intro { margin: 0 0 14px; color: #5c6b66; font-size: 16px; line-height: 1.7; }
#volumeGuideView .plate-register { margin-top: 6px; }
#volumeGuideView .minor-works { margin-top: 6px; }
@media (max-width: 650px) { #volumeGuideView .bhandagara-jump { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } #volumeGuideView .bhandagara-jump a { flex: 0 0 auto; } }
/* Phones: the type badge sits under the author, freeing a column. */
.guide-table .guide-kind-inline { display: none; }
@media (max-width: 650px) {
  .guide-table th:nth-child(3), .guide-table td.guide-kind-cell { display: none; }
  .guide-table .guide-kind-inline { display: inline-block; margin-top: 4px; }
}

/* సంపుట-రేకుల పట్టిక: same look as the భాండాగారం page. */
#volumeGuideView .guide-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 18px 0 6px; }
#volumeGuideView .guide-summary > div { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 6px 14px; border-left: 1px solid rgba(251,226,189,.25); }
#volumeGuideView .guide-summary > div:first-child { border-left: 0; }
#volumeGuideView .guide-summary > div > span { grid-row: span 2; }
#volumeGuideView .guide-authors article { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; }
.guide-author-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 18px; background: linear-gradient(145deg, #24675f, #0e4545); box-shadow: 0 8px 18px rgba(14,69,69,.22); }
.guide-author-icon img { width: 58px; height: 58px; object-fit: contain; }
#volumeGuideView .guide-authors small { display: block; margin-bottom: 2px; color: #a46435; font-size: 15px; }
#volumeGuideView .guide-note { position: relative; padding-left: 190px; min-height: 150px; }
.guide-plate-sample { position: absolute; left: 22px; top: 22px; width: 146px; padding: 12px 10px; border: 1px solid #6d3a1e; border-radius: 14px; background: linear-gradient(145deg, #c27a43, #8a4a26 60%, #a8602f); color: #fbe2bd; text-align: center; box-shadow: inset 0 1px 0 rgba(255,220,170,.4), 0 8px 18px rgba(90,45,20,.22); }
.guide-plate-sample small { display: block; font-size: 14px; opacity: .85; }
.guide-plate-sample b { display: block; font-size: 26px; font-weight: 400; letter-spacing: .06em; }
.guide-plate-sample i { display: block; font-style: normal; font-size: 13px; opacity: .9; }
@media (max-width: 900px) { #volumeGuideView .guide-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; } #volumeGuideView .guide-summary > div:nth-child(3) { border-left: 0; } }
@media (max-width: 650px) {
  #volumeGuideView .guide-authors article { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .guide-author-icon { width: 60px; height: 60px; border-radius: 14px; } .guide-author-icon img { width: 46px; height: 46px; }
  #volumeGuideView .guide-note { padding-left: 18px; padding-top: 128px; }
  .guide-plate-sample { left: 50%; transform: translateX(-50%); top: 16px; }
}
/* Author names never split mid-word; family name sits on its own line. */
#volumeGuideView .guide-authors h3 { overflow-wrap: normal; word-break: keep-all; line-height: 1.45; }
#volumeGuideView .guide-family { display: block; font-size: .78em; color: #5c6b66; }
#volumeGuideView .guide-badge { display: inline-block; white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1300px) { #volumeGuideView .guide-authors h3 { font-size: 19px; } }

/* Phones: illustrated page headers (left illustration + right figure) left the
   title ~210px of 370. Both images become small top ornaments; text spans the card. */
@media (max-width: 650px) {
  .page-intro.illustrated-page-intro.with-lord-icon { padding: 86px 18px 22px !important; min-height: 0 !important; }
  .page-intro.illustrated-page-intro.with-lord-icon::after { left: 16px !important; top: 14px !important; bottom: auto !important; transform: none !important; width: 64px !important; height: 64px !important; background-size: contain !important; }
  .page-intro.illustrated-page-intro.with-lord-icon::before { display: none !important; }
  .page-intro.illustrated-page-intro.with-lord-icon > .page-title-lord { top: 12px !important; right: 14px !important; width: 56px !important; height: 68px !important; transform: none !important; }
}

/* ఆడియో కీర్తనలు: featured recording, stats, browse rows, themed track rows. */
.audio-home { margin: 20px 0 8px; }
.audio-feature { display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; border: 1px solid #d8c5a6; border-radius: 22px; background: linear-gradient(120deg, #0e4545, #1e5551 55%, #2f6b5f); color: #f8e7c4; box-shadow: 0 18px 44px rgba(14,69,69,.25); }
.audio-feature-art { min-height: 220px; background: radial-gradient(circle at 50% 45%, #2b6d63, #0b3434); }
.audio-feature-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.audio-feature-icon { display: block; height: 100%; min-height: 220px; background: url('assets/devotional-icons/annamacharya-tambura-v1.png') center/62% no-repeat; }
.audio-feature-copy { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px 28px; }
.audio-feature-copy small { color: #f3cd7d; font-size: 16px; }
.audio-feature-copy h3 { margin: 0; color: #fffaf0; font-size: 26px; font-weight: 400; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.audio-feature-copy p { margin: 0; color: #d9e6dc; font-size: 16px; }
.audio-feature-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.audio-big-play, .audio-play-all { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 10px; border: 0; border-radius: 999px; font: inherit; font-size: 17px; cursor: pointer; }
.audio-big-play { background: linear-gradient(145deg, #edc66f, #c98a3d); color: #173e3c; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.audio-big-play i { width: 36px; height: 36px; border-radius: 50%; background: #173e3c; -webkit-mask: none; position: relative; }
.audio-big-play i::after { content: ''; position: absolute; inset: 0; margin: auto; left: 3px; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #f3cd7d; }
.audio-play-all { padding: 0 20px; background: rgba(255,255,255,.1); color: #f8e7c4; border: 1px solid rgba(243,205,125,.5); }
.audio-big-play:hover, .audio-play-all:hover { filter: brightness(1.08); }
.audio-stats { margin: 14px 4px 4px; color: #5c6b66; font-size: 16px; }
.audio-stats b { color: #1e5551; font-weight: 400; font-size: 18px; }
.audio-row { margin: 18px 0 4px; }
.audio-row h4 { margin: 0 0 10px; color: #a46435; font-size: 17px; font-weight: 400; }
.audio-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.audio-chip { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 150px; max-width: 220px; padding: 12px 14px; border: 1px solid #d8c5a6; border-radius: 16px; background: linear-gradient(115deg, #fffdf8, #f5ebd9); color: #183b39; font: inherit; text-align: left; cursor: pointer; }
.audio-chip b { font-size: 16px; font-weight: 400; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.audio-chip small { color: #7a6f60; font-size: 13px; }
.audio-chip:hover, .audio-chip:focus-visible { border-color: #d9ad58; box-shadow: 0 0 0 1px rgba(217,173,88,.5); outline: none; }
.audio-singer { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
.audio-singer .audio-avatar { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #24675f, #0e4545); color: #f3cd7d; font-size: 15px; }
.audio-singer b, .audio-singer small { flex: 1 1 100px; }
.audio-recent { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
/* Track row (replaces the grey browser player). */
:is(#audiosView, #recordingShelf) .audio-track { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; width: 100%; min-height: 0; padding: 8px 12px 8px 8px; border: 1px solid #ecdfc6; border-radius: 14px; background: #fffdf8; color: #183b39; font: inherit; text-align: left; cursor: pointer; }
:is(#audiosView, #recordingShelf) .audio-track + .audio-track, #audiosView .audio-more .audio-track { margin-top: 6px; }
:is(#audiosView, #recordingShelf) .audio-track:hover, :is(#audiosView, #recordingShelf) .audio-track:focus-visible { border-color: #d9ad58; background: #fbf4e6; outline: none; }
.audio-track-play { position: relative; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(145deg, #edc66f, #c98a3d); box-shadow: 0 4px 10px rgba(150,90,30,.25); }
.audio-track-play i { position: absolute; inset: 0; margin: auto; left: 4px; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #173e3c; }
.audio-track-copy { min-width: 0; display: flex; flex-direction: column; }
.audio-track-copy b { font-size: 16px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-track-copy small { color: #7a6f60; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-track-time { color: #5c6b66; font-size: 15px; font-variant-numeric: tabular-nums; }
.audio-wave { display: none; align-items: flex-end; gap: 3px; height: 18px; }
.audio-wave i { width: 3px; height: 40%; border-radius: 2px; background: #c98a3d; }
:is(#audiosView, #recordingShelf) .audio-track.is-playing { border-color: #1e5551; background: #eef4f0; }
:is(#audiosView, #recordingShelf) .audio-track.is-playing .audio-wave { display: flex; }
:is(#audiosView, #recordingShelf) .audio-track.is-playing .audio-track-play i { left: 0; width: 12px; height: 14px; border: 0; border-left: 4px solid #173e3c; border-right: 4px solid #173e3c; }
.audio-big-play.is-playing { box-shadow: 0 0 0 3px rgba(243,205,125,.6), 0 8px 20px rgba(0,0,0,.25); }
.audio-more-toggle { margin-top: 8px; padding: 6px 14px; border: 1px dashed #c9a46a; border-radius: 999px; background: none; color: #1e5551; font: inherit; font-size: 15px; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .audio-wave i { animation: audio-wave 1s ease-in-out infinite; }
  .audio-wave i:nth-child(2) { animation-delay: .15s; } .audio-wave i:nth-child(3) { animation-delay: .3s; } .audio-wave i:nth-child(4) { animation-delay: .45s; }
  @keyframes audio-wave { 0%, 100% { height: 30%; } 50% { height: 100%; } }
}
@media (max-width: 760px) {
  .audio-feature { grid-template-columns: minmax(0,1fr); }
  .audio-feature-art, .audio-feature-icon { min-height: 190px; max-height: 230px; }
  .audio-feature-copy { padding: 18px 18px 20px; }
  .audio-feature-copy h3 { font-size: 21px; }
  :is(#audiosView, #recordingShelf) .audio-track { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  :is(#audiosView, #recordingShelf) .audio-track .audio-wave { display: none !important; }
  .audio-track-play { width: 40px; height: 40px; }
}

/* Audio page polish: browse chips wrap (full names, no sideways scroll);
   featured painting shown whole, never cropped. */
.audio-row h4 small { color: #7a6f60; font-size: 14px; }
.audio-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.audio-chips .audio-chip { flex: 0 1 auto; min-width: 0; max-width: 100%; padding: 8px 14px; border-radius: 999px; flex-direction: row; align-items: center; gap: 8px; }
.audio-chips .audio-chip[hidden] { display: none; }
.audio-chips .audio-chip b { white-space: normal; overflow: visible; text-overflow: clip; font-size: 15px; }
.audio-chips .audio-chip small { white-space: nowrap; }
.audio-chips .audio-singer .audio-avatar { flex: 0 0 30px; width: 30px; height: 30px; font-size: 12px; }
.audio-chips .audio-singer b, .audio-chips .audio-singer small { flex: 0 1 auto; }
.audio-show-all { margin-top: 10px; padding: 6px 16px; border: 1px solid #d8c5a6; border-radius: 999px; background: #fffaf0; color: #1e5551; font: inherit; font-size: 15px; cursor: pointer; }
.audio-show-all:hover, .audio-show-all:focus-visible { background: #1e5551; color: #f8e7c4; outline: none; }
.audio-feature-art { display: grid; place-items: center; background: #0b3434; }
.audio-feature-art img { width: 100%; height: 100%; max-height: 300px; object-fit: contain; }
@media (max-width: 760px) { .audio-feature-art img { max-height: 240px; } }

/* Audio page browse panel: tabs + tidy list (replaces featured card and chip rows). */
.audio-browse { margin: 18px 0 6px; padding: 6px 16px 14px; border: 1px solid #d8c5a6; border-radius: 18px; background: linear-gradient(115deg, #fffdf8, #f5ebd9); }
.audio-tabs { display: flex; gap: 4px; border-bottom: 1px solid #e2d3b4; }
.audio-tab { padding: 10px 14px 8px; border: 0; border-bottom: 3px solid transparent; background: none; color: #5c6b66; font: inherit; font-size: 16px; cursor: pointer; }
.audio-tab small { color: #a46435; font-size: 13px; }
.audio-tab.active { color: #1e5551; border-bottom-color: #1e5551; }
.audio-tab:focus-visible { outline: 2px solid #b38635; outline-offset: -2px; }
.audio-browse-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.audio-browse-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 12px; border: 1px solid #e2d3b4; border-radius: 12px; background: #fffdf8; color: #183b39; font: inherit; text-align: left; cursor: pointer; }
.audio-browse-item[hidden] { display: none; }
.audio-browse-item b { flex: 1; min-width: 0; font-size: 15px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-browse-item small { color: #7a6f60; font-size: 14px; }
.audio-browse-item .audio-avatar { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #24675f, #0e4545); color: #f3cd7d; font-size: 12px; }
.audio-browse-item:hover, .audio-browse-item:focus-visible { border-color: #d9ad58; background: #fbf4e6; outline: none; }
.audio-browse .audio-show-all { margin-top: 10px; }
@media (max-width: 900px) { .audio-browse-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .audio-browse { padding: 4px 10px 12px; } .audio-browse-list { grid-template-columns: minmax(0,1fr); } .audio-tab { padding: 10px 10px 8px; font-size: 15px; } }

/* Audio page, singer-first: one row of singer cards; the singer pill below is
   redundant (cards filter the same list), album/raga/volume stay as pills. */
#audiosView label.filter-pill:has(#audioLibrarySinger) { display: none !important; }
.audio-singers { margin: 18px 0 8px; }
.audio-singers header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; }
/* Narrow phones: keep each control on one line; the row wraps instead of the words. */
.audio-singers header > * { white-space: nowrap; }
.audio-singers h3 { flex: 1 1 auto; margin: 0 0 0 2px; color: #183b39; font-size: 21.6px; font-weight: 400; }
.audio-singers h3 small { color: #a46435; font-size: 14px; }
.audio-singers .audio-show-all { margin: 0 0 0 auto; }
.audio-singers-clear { padding: 6px 12px; border: 0; background: none; color: #9a3b22; font: inherit; font-size: 15px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.audio-singer-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.audio-singer-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid #d8c5a6; border-radius: 16px; background: linear-gradient(115deg, #fffdf8, #f5ebd9); color: #183b39; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 6px 16px rgba(16,48,45,.06); }
.audio-singer-card .audio-avatar { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #24675f, #0e4545); color: #f3cd7d; font-size: 15px; }
.audio-singer-card b { min-width: 0; font-size: 16px; font-weight: 400; line-height: 1.35; overflow-wrap: anywhere; }
.audio-singer-card small { color: #7a6f60; font-size: 13px; }
.audio-singer-card:hover, .audio-singer-card:focus-visible { border-color: #d9ad58; box-shadow: 0 0 0 1px rgba(217,173,88,.5), 0 8px 20px rgba(150,100,40,.12); outline: none; }
.audio-singer-card.active { background: #1e5551; border-color: #1e5551; color: #f8e7c4; }
.audio-singer-card.active small { color: #e7d6b0; }
.audio-singer-card.active .audio-avatar { background: #f3cd7d; color: #173e3c; }
.audio-singer-cards.open { max-height: 460px; overflow-y: auto; padding-right: 4px; }
@media (max-width: 1100px) { .audio-singer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .audio-singer-cards { grid-template-columns: 1fr 1fr; gap: 8px; } .audio-singer-card { grid-template-columns: 38px minmax(0, 1fr); padding: 10px; column-gap: 8px; } .audio-singer-card .audio-avatar { width: 38px; height: 38px; font-size: 13px; } .audio-singer-card b { font-size: 14px; } }
/* Names wrap between words only; a single long word ends in "…". */
.audio-singer-card b { overflow-wrap: normal; word-break: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 650px) { .audio-singer-card b { -webkit-line-clamp: 2; } .audio-singer-card { align-items: center; } }

/* Compact keertana cards on the audio page: reference + pallavi on one line,
   slim track rows, smaller lyrics button. */
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) { padding: 8px 12px; margin-block: 6px; border-radius: 12px; }
#audiosView .audio-song-heading { gap: 10px; margin-bottom: 4px; align-items: center; }
#audiosView .audio-song-heading > div { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
#audiosView .audio-song-heading small { flex: 0 0 auto; color: #a46435; font-size: 13px; white-space: nowrap; }
#audiosView .audio-song-heading h3 { min-width: 0; margin: 0; font-size: 17px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; -webkit-line-clamp: unset; }
#audiosView .audio-song-heading button { width: 34px; height: 34px; min-height: 34px; padding: 0; flex: 0 0 34px; }
#audiosView .audio-song-heading button svg { width: 18px; height: 18px; }
#audiosView .voice-versions { padding: 0; border: 0; }
:is(#audiosView, #recordingShelf) .audio-track { padding: 4px 10px 4px 4px; gap: 10px; border-radius: 10px; }
:is(#audiosView, #recordingShelf) .audio-track + .audio-track { margin-top: 4px; }
:is(#audiosView, #recordingShelf) .audio-track .audio-track-play { width: 32px; height: 32px; }
:is(#audiosView, #recordingShelf) .audio-track .audio-track-play i { border-width: 6px 0 6px 10px; left: 3px; }
:is(#audiosView, #recordingShelf) .audio-track.is-playing .audio-track-play i { width: 10px; height: 11px; border-left-width: 3px; border-right-width: 3px; }
:is(#audiosView, #recordingShelf) .audio-track { grid-template-columns: 32px minmax(0, 1fr) auto auto; }
:is(#audiosView, #recordingShelf) .audio-track-copy { flex-direction: row; align-items: baseline; gap: 8px; }
:is(#audiosView, #recordingShelf) .audio-track-copy b { flex: 0 1 auto; font-size: 15px; }
:is(#audiosView, #recordingShelf) .audio-track-copy small { flex: 1 1 0; font-size: 13px; }
:is(#audiosView, #recordingShelf) .audio-track-time { font-size: 14px; }
@media (max-width: 650px) {
  :is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) { padding: 8px 10px; }
  #audiosView .audio-song-heading > div { flex-direction: column; gap: 0; }
  #audiosView .audio-song-heading h3 { font-size: 16px; }
  :is(#audiosView, #recordingShelf) .audio-track { grid-template-columns: 32px minmax(0, 1fr) auto; }
  :is(#audiosView, #recordingShelf) .audio-track-copy { flex-direction: column; gap: 0; }
}
/* Track rows inherit a 44px min-height from older card button rules; drop it.
   Phones: pallavi stays on one line. */
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track { min-height: 0; height: auto; border-radius: 10px; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track + .audio-track { margin-top: 3px; }
@media (max-width: 650px) {
  #audiosView .audio-song-heading h3 { white-space: nowrap !important; display: block !important; -webkit-line-clamp: unset !important; overflow: hidden; text-overflow: ellipsis; }
  :is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track-copy small { display: none; }
}
/* Heading: text column shrinks, lyrics button keeps its own space. */
#audiosView .audio-song-heading { display: flex !important; }
#audiosView .audio-song-heading > div { flex: 1 1 0 !important; min-width: 0 !important; overflow: hidden; }
#audiosView .audio-song-heading > button { flex: 0 0 34px !important; }
/* Slim track rows (older rules give every card button 44px and 8px padding). */
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) button.audio-track { min-height: 0 !important; padding: 3px 10px 3px 3px !important; border-radius: 10px !important; }
/* Audio strips: slimmer than the keertana title line (title 17px). */
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) button.audio-track { grid-template-columns: 24px minmax(0, 1fr) auto !important; gap: 8px !important; padding: 2px 10px 2px 2px !important; border-radius: 8px !important; border-color: #efe4cf !important; background: #fffefa !important; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track .audio-track-play { width: 24px; height: 24px; box-shadow: none; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track .audio-track-play i { border-width: 5px 0 5px 8px; left: 2px; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track.is-playing .audio-track-play i { width: 8px; height: 9px; border-left-width: 3px; border-right-width: 3px; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track-copy b { font-size: 14px; line-height: 1.5; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track-copy small { font-size: 12px; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track-time { font-size: 13px; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track .audio-wave { display: none !important; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track + .audio-track { margin-top: 2px; }
/* Audio strips: smaller text and a soft teal tint, clearly secondary to the
   pallavi; the playing strip turns solid teal. */
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) button.audio-track { background: #eef4f1 !important; border-color: #d3e3dc !important; padding: 1px 10px 1px 2px !important; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) button.audio-track:hover, :is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) button.audio-track:focus-visible { background: #e1ede8 !important; border-color: #9cc4b6 !important; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track .audio-track-play { width: 22px; height: 22px; background: #1e5551; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track .audio-track-play i { border-color: transparent transparent transparent #f3cd7d; border-width: 4px 0 4px 7px; left: 2px; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track-copy b { font-size: 12.5px; color: #1e4a46; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track-copy small { font-size: 11px; color: #6c7f78; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track-time { font-size: 11.5px; color: #5c6b66; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) button.audio-track.is-playing { background: #1e5551 !important; border-color: #1e5551 !important; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track.is-playing .audio-track-copy b, :is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track.is-playing .audio-track-time { color: #f8e7c4; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track.is-playing .audio-track-copy small { color: #cfe0d6; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track.is-playing .audio-track-play { background: #f3cd7d; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track.is-playing .audio-track-play i { width: 7px; height: 8px; border-left: 2.5px solid #173e3c; border-right: 2.5px solid #173e3c; border-top: 0; border-bottom: 0; left: 0; }
/* Lighter play button: soft teal circle, teal arrow. */
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track .audio-track-play { background: #cfe3dc; border: 1px solid #a9cbbf; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) .audio-track .audio-track-play i { border-color: transparent transparent transparent #1e5551; }
:is(#audiosView .audio-library-song, #recordingShelf .audio-shelf-tracks) button.audio-track:hover .audio-track-play { background: #b9d8cd; }

/* Filter picker (filter-picker.js): searchable panel; bottom sheet on phones. */
select.fpick-native { pointer-events: none; }
.fpick-backdrop { position: fixed; inset: 0; z-index: 900; background: rgba(12,34,33,.18); }
.fpick-panel { position: fixed; z-index: 901; display: flex; flex-direction: column; max-height: min(70vh, 560px); border: 1px solid #d8c5a6; border-radius: 18px; background: #fffdf8; box-shadow: 0 24px 60px rgba(12,34,33,.25); overflow: hidden; color: #183b39; }
.fpick-panel header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 6px 18px; }
.fpick-panel header h3 { margin: 0; font-size: 18px; font-weight: 400; }
.fpick-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #1e5551; color: #fbf7ed; font-size: 17px; line-height: 1; cursor: pointer; }
.fpick-close:hover { background: #164441; }
.fpick-search { margin: 4px 14px 6px; padding: 10px 16px; border: 1px solid #d8c5a6; border-radius: 999px; background: #fffaf0; font: inherit; font-size: 16px; }
.fpick-search:focus { outline: 2px solid #b38635; outline-offset: 1px; }
.fpick-actions { padding: 0 18px 6px; min-height: 8px; }
.fpick-clear { padding: 4px 0; border: 0; background: none; color: #9a3b22; font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fpick-hint { color: #7a6f60; font-size: 14px; }
.fpick-list { overflow-y: auto; padding: 0 8px 12px; overscroll-behavior: contain; }
.fpick-list h4 { margin: 10px 10px 4px; color: #a46435; font-size: 14px; font-weight: 400; }
.fpick-list h4 small { color: #7a6f60; }
.fpick-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: #183b39; font: inherit; font-size: 15px; text-align: left; cursor: pointer; scroll-margin-top: 44px; }
.fpick-option span { flex: 1; min-width: 0; }
.fpick-option small { color: #7a6f60; font-size: 13px; }
.fpick-option:hover, .fpick-option:focus-visible { background: #f3ead8; outline: none; }
.fpick-option.selected { background: #1e5551; color: #f8e7c4; }
.fpick-option.selected small { color: #e7d6b0; }
.fpick-letters { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 8px; background: #fffdf8; border-bottom: 1px solid #efe2c9; }
.fpick-letters button { min-width: 26px; height: 26px; border: 0; border-radius: 6px; background: none; color: #1e5551; font: inherit; font-size: 13px; cursor: pointer; }
.fpick-letters button:hover { background: #f3ead8; }
.fpick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 4px 6px 4px; }
.fpick-cell { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 2px; border: 1px solid #e2d3b4; border-radius: 10px; background: #fffaf0; color: #183b39; font: inherit; cursor: pointer; }
.fpick-cell b { font-size: 17px; font-weight: 400; }
.fpick-cell small { color: #7a6f60; font-size: 11px; }
.fpick-cell:hover, .fpick-cell:focus-visible { border-color: #d9ad58; outline: none; }
.fpick-cell.selected { background: #1e5551; border-color: #1e5551; color: #f8e7c4; }
.fpick-cell.selected small { color: #e7d6b0; }
.fpick-empty { padding: 12px; color: #7a6f60; }
/* Long lists: several columns in the large desktop panel (one column on phones). */
.fpick-panel-wide .fpick-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 6px; }
.fpick-panel-wide .fpick-option { align-items: flex-start; }
@media (max-width: 650px) {
  .fpick-panel { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto !important; max-height: 78vh; max-height: 78dvh; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .fpick-panel::before { content: ''; align-self: center; width: 44px; height: 4px; margin-top: 8px; border-radius: 2px; background: #d8c5a6; }
  body.fpick-open { overflow: hidden; }
  .fpick-grid { grid-template-columns: repeat(5, 1fr); }
  /* dvh = the screen area actually visible between the browser bars (iOS). */
  .fpick-panel-wide { max-height: 85vh; max-height: 85dvh; }
}
/* Letter bar is a horizontal strip (site nav rules stack navs vertically). */
nav.fpick-letters { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; }
nav.fpick-letters button { flex: 0 0 auto; }

/* Filter pickers use the page's serif, not the button sans. */
.fpick-panel, .fpick-panel * { font-family: 'Noto Serif Telugu', serif; }
/* ✕ on an active filter pill: above the invisible select that covers the pill. */
:is(#libraryView,#audiosView,#bhavaCatalogueView) label.filter-pill .filter-pill-x { position: relative; z-index: 2; display: inline-grid; place-items: center; width: 22px; height: 22px; min-height: 0 !important; margin: 0 -6px 0 0; padding: 0; border: 0; border-radius: 50%; background: rgba(248,231,196,.22); color: inherit; font-size: 12px; line-height: 1; cursor: pointer; }
:is(#libraryView,#audiosView,#bhavaCatalogueView) label.filter-pill .filter-pill-x[hidden] { display: none; }
:is(#libraryView,#audiosView,#bhavaCatalogueView) label.filter-pill .filter-pill-x:hover { background: rgba(248,231,196,.4); }
:is(#libraryView,#audiosView,#bhavaCatalogueView) label.filter-pill:has(.filter-pill-x:not([hidden])) .filter-pill-caret { display: none; }

/* Swipeable filter row on phones: fade where pills are hidden + a thin position line. */
.filter-pill-scroller { position: relative; }
.filter-pill-scroller .filter-scroll-track { display: none; }
@media (max-width: 650px) {
  .filter-pill-scroller.more-right .filter-pill-row { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .filter-pill-scroller.more-left .filter-pill-row { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
  .filter-pill-scroller.more-left.more-right .filter-pill-row { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
  .filter-pill-scroller.overflows .filter-scroll-track { display: block; position: relative; height: 3px; margin: 6px auto 0; width: 64px; border-radius: 3px; background: rgba(30,85,81,.14); overflow: hidden; }
  .filter-pill-scroller .filter-scroll-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #1e5551; opacity: .7; }
}
/* Singer cards: a devotional icon instead of name initials. */
.audio-singer-card .audio-avatar { overflow: hidden; background: radial-gradient(circle, #fffaf0, #f3e2bd); box-shadow: 0 0 0 1.5px #c9a24e; }
.audio-singer-card .audio-avatar img { display: block; width: 36px; height: 36px; object-fit: contain; }
