/* Tanpura typography: Latin UI + display, Devanagari UI + display. */
:root{
  --font-body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-display:'Fraunces',Georgia,'Times New Roman',serif;
  --font-hi-body:'Hind','Noto Sans Devanagari',system-ui,sans-serif;
  --font-hi-display:'Noto Serif Devanagari',Georgia,serif;
}
:root{
  --paper:#fffdfa;--cream:#f7f3eb;--ink:#302924;--muted:#6a6059;--maroon:#542d2c;--maroon-dark:#381f21;
  --rust:#9a5f41;--gold:#bd955a;--gold-light:#e9d6b8;--line:#e6ded2;--sage:#375b4a;--shadow:0 18px 54px rgba(65,42,25,.065);
  color-scheme:light
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:300px;color:var(--ink);background:var(--cream);font:16px/1.6 var(--font-body);-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}a{color:inherit}a:hover{color:var(--rust)}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #bd8c53;outline-offset:3px}
.wrap{width:min(1160px,100%);margin-inline:auto;padding-inline:28px}
.skip-link{position:absolute;left:15px;top:-100px;background:var(--maroon);color:white;padding:10px 16px;z-index:20}.skip-link:focus{top:14px}
.topbar{border-bottom:1px solid #e5d9cb;background:rgba(255,253,250,.95)}.header{height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:var(--maroon);font-size:22px;letter-spacing:-.05em;font-weight:800;white-space:nowrap}.brand-domain{font-weight:500;color:#998475}.logo{width:44px;height:44px;display:grid;place-items:center;color:#f7e5c2;background:var(--maroon);border-radius:14px;font:700 27px/1.2 var(--font-hi-display);letter-spacing:0}.header-nav{display:flex;align-items:center;gap:28px}.header-anchor{text-decoration:none;color:#554a44;font-size:14px;font-weight:640;white-space:nowrap}.lang-switch{display:flex;align-items:center;padding:3px;border:1px solid var(--line);border-radius:13px;background:#f5f0e7}.lang-switch a{text-decoration:none;font-size:13px;font-weight:700;color:#756a62;border-radius:9px;padding:7px 12px;white-space:nowrap}.lang-switch a[aria-current=page]{background:white;color:var(--maroon);box-shadow:0 1px 5px #39251c20}
.intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:33px;padding-bottom:26px;position:relative;overflow:hidden}.intro-copy{position:relative;z-index:2;max-width:760px}.eyebrow,.section-overline{font-size:11px;letter-spacing:.17em;font-weight:800;color:var(--rust);text-transform:uppercase}.eyebrow{display:inline-flex;align-items:center;gap:8px}.eyebrow-dot{display:block;width:8px;height:8px;border-radius:50%;background:var(--gold)}.intro h1{font:600 clamp(37px,4vw,56px)/1.16 var(--font-display);letter-spacing:-.04em;color:#452b28;margin:9px 0 8px}.intro p{font-size:16px;line-height:1.65;color:var(--muted);margin:0;max-width:670px}.intro-mark{height:108px;width:170px;position:relative;flex:0 0 170px;display:grid;place-items:center}.intro-mark .intro-music{width:73px;height:73px;position:relative;z-index:2;color:#b68b57;filter:drop-shadow(0 3px 5px #b58c5726);transform:rotate(-9deg)}.intro-mark i{position:absolute;inset:0;border:1px solid #d9c1a4;border-radius:50%;transform:scaleX(.65)}.intro-mark i:nth-of-type(2){inset:12px 20px;opacity:.65}.intro-mark i:nth-of-type(3){inset:24px 40px;opacity:.35}
.studio-grid{display:grid;grid-template-columns:minmax(0,1.27fr) minmax(0,.83fr);gap:20px;align-items:start}.panel{border:1px solid var(--line);background:var(--paper);border-radius:22px;box-shadow:var(--shadow)}.studio{padding:30px}.studio-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.studio-heading h2,.instrument-top h2{font:600 27px/1.22 var(--font-display);letter-spacing:-.018em;margin:5px 0 9px;color:var(--maroon)}.studio-heading p,.instrument-description{font-size:14px;color:var(--muted);line-height:1.65;margin:0;max-width:490px}.acoustic-mark{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#426754;background:#eff5ef;border:1px solid #d6e3d9;border-radius:100px;padding:6px 10px;white-space:nowrap;font-weight:750}.mic-dot{width:7px;height:7px;border-radius:50%;background:#4b8d65}
.pitch-quick{margin-top:22px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.pitch-key{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:70px;padding:8px 1px;border:1px solid #e3d9cc;border-radius:11px;background:#fbf8f2;color:#44342e;transition:background .13s,border-color .13s,transform .13s}.pitch-key strong{font-size:20px;line-height:1.1;font-weight:800;letter-spacing:-.04em}.pitch-key small{font-size:11px;line-height:1.3;color:#796f68}.pitch-key:hover{border-color:#bb936c;background:#fff5e5;transform:translateY(-1px)}.pitch-key[aria-pressed=true]{background:var(--maroon);border-color:var(--maroon);color:#fff7eb;box-shadow:0 4px 12px #532e2933}.pitch-key[aria-pressed=true] small{color:#efd4b8}.visually-hidden{position:absolute!important;height:1px!important;width:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;left:-10000px}
.separator{height:1px;background:var(--line);margin:23px 0}.mode-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.mode-heading h3{font-size:15px;color:#42372f;margin:0;white-space:nowrap}.mode-heading span{font-size:12px;color:#83786e;text-align:right;line-height:1.45;max-width:350px}.mode-row{display:flex;align-items:stretch;gap:10px;margin-top:12px}.mode-button{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:55px;padding:9px 12px;border:1px solid #e3d6c6;border-radius:12px;background:#fbf8f2;color:#4b403a}.mode-button strong{font-weight:800;font-size:17px}.mode-button small{font-size:11px;color:#847971}.mode-button[aria-pressed=true]{background:#f4e5d4;border-color:#a96b53;color:#723b31;box-shadow:inset 0 0 0 1px #a96b53}.mode-disabled{display:flex;align-items:center;justify-content:center;padding:10px;border:1px dashed #e6ddd0;border-radius:12px;color:#928982;font-size:11px;max-width:120px;text-align:center}
.play-card{background:linear-gradient(115deg,#48292c,#6b3d33);border:1px solid #7c5145;box-shadow:0 15px 32px #54322e2b;border-radius:16px;margin-top:23px;padding:18px 19px;color:#fff6e9}.play-top{display:flex;align-items:center;gap:9px;margin-bottom:13px}.play-top .dot{height:8px;width:8px;border-radius:50%;background:#d3a66b}.state{font-size:12px;color:#e6d8ca;font-weight:680;flex:1}.play-wave{display:flex;align-items:center;gap:3px;height:13px}.play-wave i{height:3px;width:3px;border-radius:5px;background:#bd9672;display:block}.is-playing .play-top .dot{background:#b5d58b;box-shadow:0 0 0 4px #afcc8b25}.is-playing .play-wave i{animation:equalizer .75s infinite alternate}.is-playing .play-wave i:nth-child(2){animation-delay:.2s}.is-playing .play-wave i:nth-child(3){animation-delay:.4s}.is-playing .play-wave i:nth-child(4){animation-delay:.6s}@keyframes equalizer{to{height:13px}}
.play-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border:0;min-height:57px;border-radius:11px;background:#eacb9c;color:#402726;font-size:17px;font-weight:850;transition:background .13s}.play-button:hover{background:#f9dcac}.play-button:disabled{opacity:.65;cursor:wait}.play-symbol{font-size:13px}.play-note{margin:10px 0 0;text-align:center;font-size:12px;color:#e9d8c3}
.volume-line{margin-top:20px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 15px}.volume-title{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.volume-title label{font-weight:750;font-size:13px}.volume-title output{font-size:12px;color:#83796f}.range{display:block;width:100%;height:28px;accent-color:#8d5746}.mute-button,.small-action{border:1px solid #dfd0bd;border-radius:9px;padding:8px 15px;color:#65413a;background:#fcf9f3;font-weight:750;font-size:12px}.mute-button:hover,.small-action:hover{background:#f3e4d0}.mute-button[aria-pressed=true]{background:#5d3530;color:#fff}.advanced{margin-top:19px;border:1px solid #e5d9cb;border-radius:12px;background:#fdfbf6;overflow:hidden}.advanced>summary{font-weight:750;list-style:none;padding:13px 15px;font-size:13px;display:flex;justify-content:space-between;align-items:center;color:#5a4037;cursor:pointer}.advanced>summary::-webkit-details-marker{display:none}.advanced>summary span{font-size:20px;line-height:1;color:#9a674c;transition:transform .2s}.advanced[open]>summary span{transform:rotate(45deg)}.advanced-body{border-top:1px solid var(--line);padding:18px 16px}.adv-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.control{display:flex;flex-direction:column;gap:7px}.control label{font-size:12px;font-weight:750}.control select{max-width:100%;padding:10px 11px;min-height:45px;border:1px solid #d9cdbc;border-radius:10px;background:white;color:#352d28}.minor{color:#786e65;font-size:12px;margin:10px 0;line-height:1.6}.fine-control{margin:19px 0}.between{display:flex;justify-content:space-between;gap:10px;align-items:center}.between output{color:#8b7966;font-size:12px}.session-display{display:flex;flex-direction:column;justify-content:center;gap:4px}.session-display span{font-size:12px;color:#71645a}.session-display strong{font-size:29px;font-variant-numeric:tabular-nums;color:var(--maroon);line-height:1.2}.practice-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.feedback{font-size:12px;color:#3d6a51;margin:8px 0;min-height:1px}.player-bottom{color:#857a72;font-size:11px;line-height:1.55;margin-top:12px}
.instrument-panel{padding:26px;position:relative;align-self:start;overflow:hidden;background:linear-gradient(155deg,#4b2e2d 0%,#663f37 56%,#3d2c2a 100%);color:#fff3e6;border-color:#66463e}.instrument-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.instrument-top h2{color:#f7e7d5;margin-top:6px;font-size:25px}.instrument-panel .section-overline{color:#e6c59e}.instrument-description{color:#dfc8b3}.note-chip{padding:9px 12px;text-align:right;background:#ffffff14;border:1px solid #ffffff29;border-radius:13px;flex-shrink:0}.note-chip strong{display:block;font-size:25px;color:#f4ddba;line-height:1.15}.note-chip small{color:#e3c5a5;font-size:11px}.instrument-art{height:220px;margin:18px 0 5px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.instrument-art:before{content:'';position:absolute;width:175px;height:175px;left:50%;top:55%;transform:translate(-50%,-50%);background:radial-gradient(circle,#ca9b5b25,transparent 68%)}.gourd{position:absolute;bottom:8px;width:116px;height:104px;border-radius:52% 52% 56% 56%;border:3px solid #cc9a64;background:linear-gradient(100deg,#a46c46,#d6a274 48%,#7c4630 99%);box-shadow:inset 4px 0 20px #60352c66,0 14px 28px #0002}.neck{position:absolute;width:53px;height:144px;border:3px solid #c69768;bottom:79px;background:linear-gradient(90deg,#8c553d,#bb8756 40%,#975c3c);border-radius:18px 18px 7px 7px;box-shadow:inset 3px 0 9px #51322b55}.neck:before{content:'';position:absolute;width:78px;height:15px;top:-3px;left:50%;transform:translateX(-50%);border-radius:10px;background:#b58354;box-shadow:0 3px 8px #0002}.bridge{position:absolute;bottom:55px;width:60px;height:13px;border-radius:60%;background:#eed0a6;box-shadow:0 2px 4px #0005;z-index:4}.art-string{position:absolute;width:1px;height:156px;bottom:62px;background:linear-gradient(#e1bc8e,#fff4c8,#b88b5e);z-index:3}.art-string-1{margin-left:-22px}.art-string-2{margin-left:-7px}.art-string-3{margin-left:7px}.art-string-4{margin-left:22px}.art-orbit{position:absolute;width:270px;height:144px;border:1px solid #e8c59719;border-radius:50%}.orbit-2{width:340px;height:182px;opacity:.7}.orbit-3{width:405px;height:220px;opacity:.45}.is-playing .art-orbit{animation:resonance 4s ease-in-out infinite alternate}@keyframes resonance{to{transform:scale(1.12);opacity:.2}}
.strings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:5px}.string-btn{display:flex;flex-direction:column;align-items:center;gap:6px;background:#ffffff10;border:1px solid #ffffff28;border-radius:10px;padding:13px 3px 11px;min-width:0}.string-rail{display:block;width:24px;height:2px;border-radius:2px;background:#e3be88}.string-name{font-size:12px;font-weight:800;text-align:center}.string-hz{font-size:10px;color:#dfbb9d;white-space:nowrap}.tuning-caption{font-size:12px;color:#f0d7bd;margin:16px 0 0;line-height:1.7}.source-hint,.recording-info{font-size:11px;color:#cdb3a0;line-height:1.65;margin:13px 0 0}.recording-info{font-size:10px;margin-top:9px;border-top:1px solid #ffffff20;padding-top:12px}
.learn-section{padding-top:47px}.learn-header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:19px}.learn-header h2,.faqs h2{font:600 31px/1.26 var(--font-display);color:var(--maroon);margin:5px 0}.learn-header>p{font-size:12px;color:#83766b;max-width:330px;margin:0}.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.steps li{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:20px 17px;display:flex;gap:13px;align-items:flex-start}.step-index{background:#f0e1c8;color:#7f4c36;font-size:14px;font-weight:800;border-radius:9px;min-width:32px;height:32px;display:grid;place-items:center}.steps h3{font-size:16px;margin:1px 0 6px;color:#422e2a}.steps p{color:#756b62;font-size:14px;line-height:1.65;margin:0}.editorial{padding-top:24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.editorial-card{padding:22px 20px;background:#f3ede4;border:1px solid #e7d9c9;border-radius:16px}.editorial-icon{color:#9d633d;font-size:18px;font-family:var(--font-display);font-weight:700}.editorial-card h2{font-size:16px;color:#512f2b;margin:13px 0 8px;line-height:1.4}.editorial-card p{font-size:14px;line-height:1.72;color:#6f635b;margin:0}.faqs{padding-top:52px;padding-bottom:35px}.faqs h2{margin-bottom:22px}.faq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.faq-list details{border:1px solid var(--line);border-radius:13px;background:var(--paper);padding:16px 18px;align-self:start}.faq-list summary{cursor:pointer;font-weight:750;font-size:14px;line-height:1.45}.faq-list p{margin:10px 0 0;font-size:14px;line-height:1.75;color:#72685e}.transparency{margin-bottom:40px;background:#f0ebe2;border-radius:16px;padding-top:17px;padding-bottom:17px;display:flex;gap:18px;border:1px solid #e8dccc}.transparency-title{min-width:125px;font-size:13px;font-weight:800;color:#654139}.transparency p{font-size:12px;color:#6f6256;line-height:1.65;margin:0}.transparency a{color:#713b34;text-decoration:underline;text-underline-offset:3px}.footer{background:#efe7db;border-top:1px solid #e5d7c4;padding:25px 0;color:#77675d;font-size:12px}.footer-flex{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
@media(max-width:1020px){.wrap{padding-inline:22px}.studio-grid{grid-template-columns:minmax(0,1fr) minmax(0,.79fr)}.studio{padding:22px}.instrument-panel{padding:21px}.studio-heading{display:block}.acoustic-mark{margin-top:11px}.mode-heading{display:block}.mode-heading span{display:block;text-align:left;margin-top:4px;max-width:none}.pitch-quick{gap:6px}.pitch-key strong{font-size:18px}.mode-row{gap:6px}.mode-button{padding:8px 6px}.mode-disabled{padding:5px}}
@media(max-width:800px){.header{height:67px}.header-nav{gap:13px}.header-anchor{display:none}.brand{font-size:20px}.intro{padding-top:24px;padding-bottom:22px}.intro-mark{height:93px;width:95px;flex-basis:95px}.intro-mark .intro-music{width:49px;height:49px}.intro h1{font-size:clamp(32px,5vw,45px)}.intro p{font-size:14px}.studio-grid{grid-template-columns:1fr}.studio,.instrument-panel{padding:22px}.studio-heading{display:flex}.acoustic-mark{margin-top:0}.instrument-art{height:145px}.neck{height:122px;bottom:34px}.gourd{height:84px;width:95px;bottom:0}.bridge{bottom:28px}.art-string{height:133px;bottom:34px}.learn-section{padding-top:35px}.steps,.editorial{grid-template-columns:1fr 1fr}.editorial-card:last-child{grid-column:1/-1}.faq-list{grid-template-columns:1fr}}
@media(max-width:560px){.wrap{padding-inline:15px}.header{gap:8px}.brand{font-size:18px;gap:8px}.logo{height:36px;width:36px;font-size:22px;border-radius:10px}.lang-switch a{font-size:12px;padding:7px 8px}.intro-mark{display:none}.intro{padding-top:19px;padding-bottom:17px}.intro h1{font-size:clamp(29px,8vw,36px);margin-top:6px;line-height:1.2}.intro p{font-size:13px;line-height:1.56}.studio-grid{gap:13px}.studio,.instrument-panel{padding:17px;border-radius:15px}.studio-heading{display:block}.studio-heading h2{font-size:25px}.studio-heading p{font-size:12px}.acoustic-mark{margin-top:8px}.pitch-quick{margin-top:16px;gap:5px}.pitch-key{min-height:57px;border-radius:8px;padding:7px 0}.pitch-key strong{font-size:16px}.pitch-key small{font-size:10px}.separator{margin:18px 0}.mode-heading h3{font-size:14px}.mode-heading span{font-size:11px}.mode-row{gap:7px}.mode-button{min-height:51px}.mode-button strong{font-size:15px}.mode-button small{font-size:10px}.mode-disabled{font-size:10px}.play-card{margin-top:17px;padding:15px}.play-button{min-height:53px;font-size:16px}.instrument-top h2{font-size:22px}.instrument-art{height:126px}.instrument-description{font-size:12px}.learn-header{display:block}.learn-header h2,.faqs h2{font-size:27px}.learn-header>p{margin-top:5px}.steps,.editorial{grid-template-columns:1fr;gap:10px}.steps li{padding:15px}.editorial-card{padding:17px}.editorial-card:last-child{grid-column:auto}.faqs{padding-top:36px}.transparency{display:block;padding:15px;margin-bottom:22px}.transparency p{margin-top:5px}.adv-grid{gap:9px}.control select{font-size:12px;padding:9px}.footer-flex{display:grid}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Script-aware web typography. Latin pitch labels retain precise glyph spacing. */
.brand,.pitch-key strong,.note-chip strong,.session-display strong,.string-hz{font-family:var(--font-body)}
.pitch-key strong{font-weight:750;font-variant-numeric:tabular-nums}
html[lang="hi"] body{font-family:var(--font-hi-body);font-size:16px;line-height:1.68;letter-spacing:0}
html[lang="hi"] .intro h1,html[lang="hi"] .studio-heading h2,
html[lang="hi"] .instrument-top h2,html[lang="hi"] .learn-header h2,
html[lang="hi"] .faqs h2{font-family:var(--font-hi-display);font-weight:600;letter-spacing:0;line-height:1.45}
html[lang="hi"] .intro h1{line-height:1.4}
html[lang="hi"] .eyebrow,html[lang="hi"] .section-overline{letter-spacing:0}
html[lang="hi"] .studio-heading p,html[lang="hi"] .instrument-description,
html[lang="hi"] .steps p,html[lang="hi"] .editorial-card p,
html[lang="hi"] .faq-list p{font-size:14px;line-height:1.76}
html[lang="hi"] .pitch-key small{font-size:11px;line-height:1.4}
html[lang="hi"] .mode-button strong{font-family:var(--font-hi-body)}
html[lang="hi"] .play-button{font-size:17px}
@media(max-width:560px){
  html[lang="hi"] .intro h1{font-size:clamp(28px,7vw,34px)}
  html[lang="hi"] .pitch-key small{font-size:10px}
  html[lang="hi"] .studio-heading h2{font-size:24px}
  .pitch-key small{font-size:10px}
}


/* Music-first source picker: prominent without competing with the Start button. */
.sound-source-section{margin-top:20px}
.source-section-label{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:9px;color:var(--rust);font-size:11px;font-weight:800;letter-spacing:.12em}
.source-section-hint{font-size:11px;font-weight:500;letter-spacing:0;color:#89776b}
.source-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.source-choice{display:flex;align-items:center;gap:9px;min-width:0;padding:11px 12px;border:1px solid #e2d6ca;border-radius:13px;background:#fcf9f5;color:var(--ink);text-align:left;transition:background .15s,border-color .15s,box-shadow .15s;min-height:75px}
.source-choice:hover{border-color:#b38d78;background:#fff6ed}
.source-choice[aria-pressed="true"]{border-color:#975b48;background:#f8e9dd;box-shadow:inset 0 0 0 1px #975b48,0 2px 8px #7c483012}
.source-choice-icon{flex:0 0 36px;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#eee0d3;color:#74463a;font:700 20px/1 var(--font-body)}
.source-choice-icon-electronic{font-size:23px;background:#e5e7db;color:#486558}
.source-choice[aria-pressed="true"] .source-choice-icon{background:#643e37;color:#fff0da}
.source-choice>span:nth-child(2){display:flex;flex-direction:column;min-width:0;gap:2px}
.source-choice strong{font-weight:750;font-size:15px;line-height:1.22}
.source-choice small{font-size:11px;color:#76685e;line-height:1.4}
.source-check{margin-left:auto;opacity:0;font-size:16px;color:#7c4334}
.source-choice[aria-pressed="true"] .source-check{opacity:1}
.source-help{font-size:12px;color:#7b6e63;margin:9px 2px 0;min-height:19px;line-height:1.55}
.sound-source-section+.play-card{margin-top:14px}
body[data-sound-source="electronic"] .acoustic-mark{background:#eef1e9;border-color:#dce5d4;color:#4a6351}
@media(max-width:560px){.sound-source-section{margin-top:16px}.source-choice{gap:7px;padding:10px 8px;min-height:70px}.source-choice-icon{width:31px;height:31px;flex-basis:31px;font-size:18px}.source-choice strong{font-size:14px}.source-choice small{font-size:10px}.source-check{font-size:13px}.source-section-hint{font-size:10px}.source-help{font-size:11px}}
@media(max-width:360px){.source-choice-icon{display:none}.source-choice{padding:10px}}

/* Brand refresh: the approved maroon/gold Tanpura illustration, not text in an icon. */
.topbar{position:relative;z-index:10;background:rgba(255,253,250,.97);border-bottom:1px solid #e7dbce;box-shadow:0 3px 22px rgba(62,36,29,.035)}
.header{height:78px}
.brand{gap:11px;min-width:0;letter-spacing:-.045em}
.brand-name{display:inline-block;white-space:nowrap}
.brand-mark{display:block;width:44px;height:44px;flex:0 0 44px;border-radius:12px;box-shadow:0 4px 12px rgba(79,43,33,.15)}
.brand:hover .brand-mark{box-shadow:0 5px 15px rgba(79,43,33,.23)}
.header-nav{gap:12px}
.header-anchor{padding:9px 12px;border-radius:9px;font-weight:700;color:#55423c;transition:color .15s,background-color .15s}
.header-anchor:hover{background:#f2e6d8;color:var(--maroon);text-decoration:none}
.lang-switch{background:#f5eee6;border-color:#e6d6c8;border-radius:12px}
.lang-switch a{transition:background-color .15s,color .15s}
.lang-switch a:hover{color:#532d2d;background:#fff8f0}
.lang-switch a[aria-current=page]:hover{background:#fff}

.site-footer{color:#f4e7d8;background:linear-gradient(117deg,#392323 0%,#4e2e2c 58%,#5b3931 100%);border-top:3px solid #b68a58;position:relative;overflow:hidden}
.site-footer::after{content:'';position:absolute;width:350px;height:350px;border:1px solid rgba(233,205,166,.095);border-radius:50%;right:-220px;top:-160px;pointer-events:none}
.footer-shell{position:relative;z-index:1;padding-block:43px 19px}
.footer-main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(150px,.8fr) minmax(180px,.9fr);gap:clamp(22px,5vw,68px);align-items:start}
.footer-identity{max-width:395px}
.footer-brand{display:inline-flex;align-items:center;gap:13px;color:#fdf5e8;text-decoration:none;white-space:nowrap;font-family:var(--font-body);font-weight:800;font-size:24px;letter-spacing:-.055em}
.footer-brand:hover{color:#fff;text-decoration:none}
.footer-brand img{height:48px;width:48px;flex:0 0 48px;border-radius:13px;border:1px solid rgba(255,244,219,.18);box-shadow:0 7px 17px #22100e50}
.footer-domain{font-weight:500;color:#ddbf9b}
.footer-identity p{margin:16px 0 15px;color:#e6cfc0;line-height:1.72;font-size:14px}
.footer-audio-chip{display:inline-flex;align-items:center;gap:8px;color:#ead8b9;border:1px solid rgba(233,202,167,.25);background:rgba(255,250,236,.055);padding:7px 11px;border-radius:99px;font-size:11px;font-weight:680}
.footer-chip-dot{width:7px;height:7px;border-radius:50%;background:#caa36d;box-shadow:0 0 0 3px #caa36d25;flex-shrink:0}
.footer-links{display:flex;flex-direction:column;align-items:start;gap:13px}
.footer-links h2{font:700 12px/1.4 var(--font-body);color:#deb486;letter-spacing:.12em;text-transform:uppercase;margin:4px 0 6px}
.footer-links a{display:inline-block;color:#f4e8dd;text-decoration:none;font-size:14px;line-height:1.4;transition:color .15s,transform .15s}
.footer-links a:hover{color:#f0c98d;text-decoration:underline;text-underline-offset:5px;transform:translateX(2px)}
.footer-bottom{border-top:1px solid rgba(240,222,204,.18);margin-top:35px;padding-top:19px;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;color:#d4bcad;font-size:12px;line-height:1.55}
.footer-privacy{display:inline-flex;align-items:center;gap:8px}
.footer-privacy-mark{color:#d9b07b;font-size:15px}
html[lang="hi"] .footer-links h2{font-family:var(--font-hi-body);font-size:13px;letter-spacing:0;text-transform:none}
html[lang="hi"] .footer-identity p,html[lang="hi"] .footer-links a{font-family:var(--font-hi-body);font-size:15px;line-height:1.7}
@media(max-width:800px){
  .header-nav{gap:9px}
  .footer-main{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:29px 25px}
  .footer-identity{grid-column:1/-1;max-width:590px}
  .footer-shell{padding-top:35px}
}
@media(max-width:560px){
  .header{height:68px;gap:6px}
  .brand{gap:7px;font-size:18px}
  .brand-mark{width:37px;height:37px;flex-basis:37px;border-radius:10px}
  .header-nav{gap:5px}
  .lang-switch a{padding:7px 8px;font-size:12px}
  .footer-main{gap:25px 14px}
  .footer-brand{font-size:22px}
  .footer-identity p{margin-top:12px}
  .footer-links{gap:12px}
  .footer-links h2{font-size:11px}
  .footer-links a{font-size:13px}
  .footer-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:26px}
}
@media(max-width:350px){.brand-name{font-size:16px}.brand-mark{width:33px;height:33px;flex-basis:33px}.header{gap:4px}.lang-switch a{padding:6px 6px;font-size:11px}}

/* v1.0 volume control: accessible, themed, and visibly tracks actual output. */
.volume-panel{margin-top:21px;padding:16px 17px 14px;border:1px solid #e3d5c5;border-radius:17px;background:linear-gradient(135deg,#fffdf9,#f8f0e5);box-shadow:0 5px 17px rgba(75,44,32,.035)}
.volume-panel .volume-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.volume-panel .volume-title label{font-weight:780;font-size:14px;color:#51332c}
.volume-panel .volume-title output{min-width:52px;text-align:center;padding:5px 10px;border-radius:99px;background:#efe0ca;border:1px solid #e5cfb0;font-size:13px;line-height:1.2;font-weight:800;color:#684239;font-variant-numeric:tabular-nums}
.volume-controls{display:flex;align-items:center;gap:13px;min-width:0}
.volume-mute{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:44px;padding:7px 12px;border:1px solid #ddc9b6;border-radius:12px;background:#fff9ef;color:#6a4035;font-weight:750;font-size:12px;transition:background .17s,border-color .17s,box-shadow .17s}
.volume-mute:hover{background:#f1dfcb;border-color:#c9a480}
.volume-mute[aria-pressed=true]{background:#5a3532;color:#fff5e6;border-color:#5a3532}
.volume-mute .volume-symbol{width:22px;height:22px;display:block;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex:0 0 22px}
.volume-mute .sound-cross{display:none}
.volume-mute[data-muted=true] .sound-wave{display:none}
.volume-mute[data-muted=true] .sound-cross{display:block}
.volume-mute[data-level=low] .wave-outer{display:none}
.volume-slider-wrap{flex:1;min-width:0;display:flex;align-items:center;min-height:44px}
input.volume-slider{-webkit-appearance:none;appearance:none;display:block;flex:1;min-width:0;width:100%;height:9px;padding:0;border:0;border-radius:99px;cursor:pointer;background:linear-gradient(to right,#87523e 0%,#ba8b5c var(--volume-progress,80%),#e4d7c5 var(--volume-progress,80%),#e4d7c5 100%);box-shadow:inset 0 1px 2px #4a33291c;outline-offset:7px}
input.volume-slider::-webkit-slider-runnable-track{height:9px;border:0;background:transparent;border-radius:99px}
input.volume-slider::-moz-range-track{height:9px;border:0;background:transparent;border-radius:99px}
input.volume-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:23px;height:23px;margin-top:-7px;border-radius:50%;background:#82503d;border:4px solid #fff9ed;box-shadow:0 2px 8px #5c392954,0 0 0 1px #ad865e;transition:box-shadow .15s}
input.volume-slider::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#82503d;border:4px solid #fff9ed;box-shadow:0 2px 8px #5c392954,0 0 0 1px #ad865e}
input.volume-slider:hover::-webkit-slider-thumb{box-shadow:0 2px 10px #5c392977,0 0 0 3px #cfa57244}
.volume-max-icon{display:grid;place-items:center;color:#946a4c;flex:0 0 25px}
.volume-max-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.volume-help{font-size:11px;line-height:1.45;margin:9px 0 0;color:#8e7865}
html[lang=hi] .volume-panel .volume-title label{font-family:var(--font-hi-body);font-size:15px}
@media(max-width:560px){.volume-panel{margin-top:16px;padding:13px;border-radius:14px}.volume-controls{gap:9px}.volume-mute{padding:7px 9px}.volume-mute .mute-text{font-size:11px}.volume-max-icon{flex-basis:20px}.volume-max-icon svg{width:20px;height:20px}}
@media(max-width:345px){.volume-controls{gap:7px}.volume-mute{padding:7px 8px}.volume-mute .mute-text{display:none}}


/* Branded advanced-control selects. Chromium uses the styled native picker;
   other browsers keep their accessible OS picker and a matching closed field. */
.control select.fancy-select{
  display:block;width:100%;min-width:0;max-width:100%;min-height:46px;
  padding:11px 14px;border:1.5px solid #d5bfa5;border-radius:12px;
  background:#fffaf3;color:#49322d;font-size:14px;line-height:1.35;
  font-weight:650;cursor:pointer;box-shadow:0 1px 2px #5b3c2510;
  transition:border-color .18s,background-color .18s,box-shadow .18s;
}
.control select.fancy-select:hover{border-color:#b78a5b;background:#fff8ed}
.control select.fancy-select:focus-visible,.control select.fancy-select:open{
  outline:2px solid #b78a5b;outline-offset:2px;border-color:#a4754c;
  background:#fffdf8;box-shadow:0 0 0 4px #bd90532e;
}
@supports (appearance:base-select){
  .control select.fancy-select,
  .control select.fancy-select::picker(select){appearance:base-select}
  .control select.fancy-select{align-items:center;justify-content:space-between;gap:12px}
  .control select.fancy-select::picker-icon{
    content:"⌄";font-size:22px;line-height:1;color:#936648;transition:rotate .18s ease;
    margin-inline-start:8px;align-self:center;
  }
  .control select.fancy-select:open::picker-icon{rotate:180deg}
  .control select.fancy-select::picker(select){
    width:anchor-size(width);max-width:calc(100vw - 26px);
    padding:7px;margin-block-start:6px;border:1px solid #d8c1a6;
    border-radius:14px;background:#fffbf5;color:#49322d;
    box-shadow:0 18px 38px #412b2540,0 4px 12px #412b251a;
    max-height:min(360px,65vh);overflow:auto;
  }
  .control select.fancy-select option{
    display:flex;align-items:center;gap:8px;min-height:40px;
    margin:2px 0;padding:10px 12px;border:0;border-radius:9px;
    background:transparent;color:#49322d;line-height:1.35;
    font-size:13px;font-weight:600;white-space:normal;
    cursor:pointer;transition:background-color .12s ease;
  }
  .control select.fancy-select option:hover,
  .control select.fancy-select option:focus{
    background:#f4e7d6;color:#4c2f29;
  }
  .control select.fancy-select option:checked{
    background:#efe0cb;color:#5d342e;font-weight:800;
  }
  .control select.fancy-select option::checkmark{color:#925d3f;margin-inline-end:5px}
  .control select.fancy-select option:disabled{opacity:.46;cursor:not-allowed}
  .control select.fancy-select option[hidden]{display:none}
}
@media(max-width:560px){
 .control select.fancy-select{min-height:46px;font-size:13px;padding:11px 12px}
 .control select.fancy-select::picker(select){max-height:55vh;padding:5px}
 .control select.fancy-select option{min-height:44px;padding:11px 10px}
}

/* v1.0.3: keep the control label and a familiar chevron in ONE row.
   The former UA picker-icon showed as a second-line "v" on Chromium.
   A background SVG works with both the custom picker and the OS fallback. */
.control select.fancy-select{
  -webkit-appearance:none;appearance:none;
  display:block;width:100%;min-width:0;
  padding:11px 40px 11px 13px;
  line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  background-color:#fffaf3;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5b41' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position:right 12px center;background-repeat:no-repeat;background-size:17px 17px;
}
.control select.fancy-select:hover{background-color:#fff7ec}
.control select.fancy-select:focus-visible,.control select.fancy-select:open{background-color:#fffdf8}
@supports (appearance:base-select){
  .control select.fancy-select{
    appearance:base-select;
    display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;
    min-height:46px;max-height:49px;
  }
  .control select.fancy-select::picker-icon{display:none;content:none}
  .control select.fancy-select option::checkmark{flex-shrink:0}
}
@media(max-width:560px){
  .control select.fancy-select{padding:11px 37px 11px 11px;background-position:right 10px center}
}


/* Pinned navigation: keep the same compact header visible during page scroll.
   The header is a top-level body child on English, Hindi and sound-credits pages. */
html{scroll-padding-top:98px}
.topbar{
 position:sticky;top:0;z-index:1000;
 background:rgba(255,253,250,.975);
 -webkit-backdrop-filter:blur(12px);
 backdrop-filter:blur(12px);
 box-shadow:0 3px 16px rgba(62,36,29,.09);
}
#tanpura-player,#how-to,#faq-title,.learn-section,.faqs{scroll-margin-top:98px}
@media(max-width:800px){
 html{scroll-padding-top:82px}
 #tanpura-player,#how-to,#faq-title,.learn-section,.faqs{scroll-margin-top:82px}
 .topbar{top:0}
}
