@charset "UTF-8";
:root{--paper:#f7f6f0;--ink:#243c35;--muted:#64736a;--line:#dce1d7;--green:#245b4c;--light:#edf1e7;--gold:#d9b366;--white:#fffef9;--radius:14px;font-family:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;scroll-behavior:smooth;scroll-padding-top:20px}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.38}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b28b3d;outline-offset:4px}button{transition:background .16s,color .16s,transform .16s}button:active:not(:disabled){transform:translateY(1px)}.wrap{max-width:1440px;width:calc(100% - 112px);margin:auto}.site-header{height:100px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:40px}.brand{display:flex;align-items:center;gap:12px}.brand svg{width:32px;height:36px}.brand>span{font-family:Georgia,"Songti SC",serif;font-size:29px;letter-spacing:-1.3px}.brand-sub{font-family:"PingFang SC",sans-serif;font-size:11px;letter-spacing:2.6px;display:block;margin-top:3px}.site-header nav{display:flex;gap:32px;margin:auto;font-size:14px;color:var(--muted)}.site-header nav a{padding:16px 0;position:relative}.site-header nav .active{color:var(--green)}.site-header nav .active:after{content:"";position:absolute;bottom:7px;left:50%;width:4px;height:4px;border-radius:50%;background:var(--green)}.collection-link{font-size:13px;display:flex;align-items:center;gap:8px}.collection-link>span:first-child{font-size:24px}.collection-link>span:last-child{background:#e9ede3;border-radius:20px;min-width:23px;text-align:center;padding:3px;font-size:11px}.intro{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:51px 0 42px}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:600;margin:0 0 15px;line-height:1.5}.intro .eyebrow{display:flex;align-items:center;gap:8px;color:var(--muted)}.eyebrow>span:not(#chord-category){height:5px;width:5px;display:inline-block;background:var(--green);border-radius:50%}h1{font-family:"Songti SC","Noto Serif CJK SC",Georgia,serif;font-weight:600;font-size:clamp(33px,3.1vw,48px);letter-spacing:-1px;line-height:1.25;margin:0 0 16px}h1 em{font-style:normal;color:var(--green)}.intro>div>p{font-size:13px;color:var(--muted);margin:0;line-height:1.8}.search-area{width:43%;max-width:485px;padding-top:15px}#search-form{display:flex;align-items:center;gap:12px;background:var(--white);border:1px solid var(--line);border-radius:10px;padding:8px 8px 8px 16px;box-shadow:0 4px 12px #243c3503}#search-form:focus-within{border-color:var(--green)}#search-form svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1.6;flex-shrink:0}#chord-input{width:100%;min-width:0;border:0;background:none;font-size:13px;padding:9px 0;outline:none}#chord-input::placeholder{color:#7d867d}#search-form button{border:0;background:var(--green);color:var(--white);border-radius:6px;padding:12px 14px;font-size:13px;white-space:nowrap}#search-form button span{margin-left:12px}#search-form button:hover{background:#173f35}#search-help{font-size:11px;color:var(--muted);margin:10px 0 0 1px}.error{color:#a0372e;font-size:12px;margin:8px 0 0}.workspace{display:grid;grid-template-columns:282px minmax(0,1fr);gap:30px;align-items:start;scroll-margin-top:24px}.picker{border:1px solid var(--line);border-radius:var(--radius);background:#f0f1e9;overflow:hidden}.picker-block{padding:23px 21px}.picker-block+.picker-block{border-top:1px solid var(--line)}.section-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.section-top h2{font-size:14px;font-weight:600;margin:0;display:flex;align-items:center;gap:10px}.step{font-family:Georgia,serif;color:#7a8c78;font-size:14px;font-style:italic;font-weight:400}.small-toggle{font-size:13px;border:1px solid #d0d7c9;border-radius:5px;padding:4px 8px;background:transparent;min-height:32px;letter-spacing:2px}.small-toggle span{color:#a1aa9b}.root-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.root-button{min-height:40px;border:1px solid var(--line);border-radius:6px;background:#fbfcf7;font-size:16px;font-weight:500}.root-button.accidental{font-size:13px}.root-button:hover,.quality-button:hover{background:#e2e9db}.root-button[aria-pressed=true],.quality-button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--white)}.tiny{color:var(--muted);font-size:11px}.quality-group-label{font-size:10px;letter-spacing:1px;color:var(--muted);margin:16px 0 8px}.quality-group-label:first-child{margin-top:0}.quality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.quality-button{border:1px solid var(--line);border-radius:5px;background:#f9faf4;min-height:36px;font-size:12px;font-weight:500;padding:5px 2px}.quality-button small{display:block;font-size:9px;margin-top:2px;opacity:.8;font-weight:400}.picker-foot{padding:18px 21px;display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);color:var(--muted)}.picker-foot svg{height:26px;width:26px;stroke:var(--green);fill:none;stroke-width:1.3}.picker-foot p{font-size:11px;line-height:1.8;margin:0}.result{min-width:0}.chord-summary{background:var(--green);color:var(--white);padding:25px 30px 27px;border-radius:var(--radius);display:flex;gap:24px;align-items:stretch;justify-content:space-between;position:relative}.summary-primary{min-width:180px}.chord-summary .eyebrow{font-size:9px;letter-spacing:1.5px;color:#b8cebe;margin-bottom:15px}#chord-category{font-family:"PingFang SC",sans-serif;letter-spacing:0;border:1px solid #6b8b76;color:#d5e4cf;padding:2px 5px;border-radius:3px;margin-left:8px}.chord-heading{display:flex;align-items:center;gap:20px}.chord-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:76px;line-height:1;margin:0;font-weight:400;letter-spacing:-3px}.chord-heading h2.long-chord{font-size:55px}.chord-heading h3{font-size:16px;font-weight:500;margin:7px 0 9px}.chord-heading p{font-size:11px;color:#c5d7c6;margin:0}.summary-detail{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding-top:30px;min-width:180px}.favorite-button{position:absolute;right:25px;top:19px;background:transparent;color:#e3eddf;border:0;padding:4px 0;font-size:11px;min-height:27px}.favorite-button span{font-size:19px;vertical-align:-1px;margin-right:4px}.favorite-button[aria-pressed=true]{color:#f3d38d}.note-label{font-size:10px;color:#d2e2cf;margin:0 0 10px}.note-label>span{font-size:8px;letter-spacing:.8px;margin-left:8px;color:#b6cbb8}.note-list{display:flex;gap:7px}.note-token{min-width:41px;text-align:center}.note-token strong{font-size:20px;line-height:1;font-family:Georgia,serif;font-weight:400;display:block}.note-token:first-child strong{color:#f2d28e}.note-token small{display:block;font-size:9px;color:#b9ceba;margin-top:8px}.instruments{margin-top:19px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:19px}.instrument{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px 23px 18px;min-width:0;display:flex;flex-direction:column}.instrument-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.instrument-header .eyebrow{font-size:9px;margin:0 0 5px;color:var(--muted);letter-spacing:2px}.instrument-header h3{font-size:18px;font-weight:500;margin:0}.play-button{border:1px solid var(--line);border-radius:24px;padding:8px 12px;min-height:36px;background:transparent;font-size:11px;white-space:nowrap}.play-button>span{font-size:9px;margin-right:4px}.play-button:hover{background:var(--light)}.play-button.playing{background:var(--green);color:var(--white);border-color:var(--green)}.instrument-controls{display:flex;justify-content:space-between;align-items:center;gap:7px;color:var(--muted);font-size:10px;min-height:45px;margin-top:10px}.position-controls{display:flex;align-items:center;gap:10px;font-variant-numeric:tabular-nums}.position-controls button{border:0;background:transparent;font-size:23px;line-height:30px;width:26px;min-height:34px}.position-controls span{font-size:10px;min-width:25px;text-align:center}.instrument-controls select{font-size:11px;color:var(--ink);border:1px solid var(--line);border-radius:5px;background:var(--white);padding:7px 19px 7px 8px;max-width:135px}.guitar-diagram{width:100%;max-width:254px;margin:4px auto 0;height:265px}.guitar-diagram svg{width:100%;height:100%;overflow:visible}.shape-caption{text-align:center;font-size:11px;color:var(--muted);line-height:1.8;margin:6px 0 16px}.diagram-legend{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;font-size:9px;color:var(--muted);padding-top:16px;border-top:1px solid #e8ebe2}.diagram-legend>span{display:flex;align-items:center;gap:5px}.diagram-legend i{display:inline-block;border-radius:50%;width:7px;height:7px}.root-dot{background:var(--gold)}.note-dot{background:var(--green)}.instrument-note{font-size:9px;color:var(--muted);line-height:1.7;text-align:center;margin:12px 0 0}.piano-space{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:307px}.piano-diagram{width:100%;margin:17px 0 0}.piano-diagram svg{width:100%;height:auto;display:block;overflow:visible}.piano-notes{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:26px 0 5px}.piano-notes span{border:1px solid var(--line);border-radius:5px;padding:6px 9px;font-size:11px;min-width:36px;text-align:center;background:#f6f8f0}.piano-notes span.is-root{border-color:#d5bf8c;background:#f5edda}.piano-space .shape-caption{margin-top:6px;font-size:10px}.result-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:19px 3px;font-size:10px;color:var(--muted)}.result-footer button{background:transparent;border:0;padding:6px 0;color:var(--green);font-size:10px}.result-footer button>span{margin-left:5px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.section-heading .eyebrow{margin-bottom:7px;color:var(--muted);font-size:9px;letter-spacing:1.7px}.section-heading h2{font-family:"Songti SC",Georgia,serif;font-weight:600;font-size:24px;margin:0}.section-heading>p{font-size:11px;color:var(--muted);margin:0}.quick-section{margin:55px 0 40px}.quick-chords{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.quick-chord{background:none;border:0;border-right:1px solid var(--line);text-align:left;padding:22px 15px;min-height:96px}.quick-chord:first-child{padding-left:0}.quick-chord:last-child{border-right:0}.quick-chord:hover{background:var(--light)}.quick-chord strong{font-family:Georgia,serif;font-size:25px;font-weight:400;display:block;letter-spacing:-.6px}.quick-chord small{font-size:9px;color:var(--muted);display:block;margin-top:7px}.collection-section{padding:10px 0 42px}.collection-section h2>span{font-size:14px;color:var(--muted);font-family:"Avenir Next",sans-serif;margin-left:7px}.favorite-list{display:flex;flex-wrap:wrap;gap:10px}.empty-collection{display:flex;align-items:center;gap:11px;border:1px dashed #cdd6c6;border-radius:8px;width:100%;padding:17px 20px}.empty-collection>span{font-size:23px;color:#8a9b81}.empty-collection p{margin:0;font-size:11px;color:var(--muted);line-height:1.8}.favorite-chip{background:var(--white);border:1px solid var(--line);border-radius:7px;padding:10px 16px;font-size:14px}.favorite-chip:hover{background:var(--light)}.guide-section{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:38px;padding:38px 0 43px;border-top:1px solid var(--line)}.guide-title .eyebrow{font-size:9px;color:var(--muted);margin-bottom:10px}.guide-title h2{font-family:"Songti SC",Georgia,serif;font-weight:500;font-size:28px;line-height:1.5;margin:0}.guide-item>span{font-size:10px;color:var(--muted)}.guide-item h3{font-size:13px;margin:12px 0 10px;font-weight:500}.guide-item p{font-size:11px;line-height:1.9;color:var(--muted);margin:0}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:27px 0 31px;color:var(--muted)}.footer-brand{font-family:Georgia,serif;font-size:20px;color:var(--ink)}.footer-brand span{font-family:"PingFang SC",sans-serif;font-size:10px;letter-spacing:1px;margin-left:12px}.site-footer p{font-size:10px;margin:0}.site-footer>span{font-size:8px;letter-spacing:1px}.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}.skip-link{position:fixed;left:15px;top:-60px;background:var(--green);color:var(--white);z-index:10;padding:12px 20px;border-radius:6px}.skip-link:focus{top:15px}.noscript{padding:25px;text-align:center;color:#a0372e}
@media(min-width:1500px){.wrap{max-width:1360px}.workspace{grid-template-columns:300px minmax(0,1fr);gap:34px}.instrument{padding:27px 30px 22px}.guitar-diagram{height:280px}.piano-space{min-height:322px}}
@media(max-width:1180px){.wrap{width:calc(100% - 64px)}.workspace{grid-template-columns:250px minmax(0,1fr);gap:22px}.picker-block{padding:20px 16px}.instrument{padding:20px 16px 17px}.chord-summary{padding:24px}.chord-heading{gap:14px}.chord-heading h2{font-size:65px}.chord-heading h3{font-size:14px}.chord-heading p{font-size:10px}.summary-primary{min-width:155px}.summary-detail{min-width:160px}.note-token{min-width:31px}.note-label>span{display:none}.instruments{gap:14px}.diagram-legend{gap:8px}.instrument-controls{font-size:9px}.position-controls{gap:3px}.result-footer{font-size:9px}.quick-chord{padding:20px 10px}.guide-section{gap:24px}.site-header nav{gap:24px}}
@media(max-width:960px){.wrap{width:calc(100% - 48px)}.site-header{height:86px;gap:20px}.site-header nav{gap:20px;font-size:12px}.collection-link{font-size:11px}.intro{padding:37px 0 32px;gap:20px}.intro>div>p{font-size:11px}.intro .eyebrow{font-size:8px;letter-spacing:1.1px}h1{font-size:34px}.search-area{width:46%}#search-form{padding-left:12px;gap:8px}#chord-input{font-size:11px}#search-form button{padding:11px;font-size:11px}#search-form button span{margin-left:2px}#search-help{font-size:9px}.workspace{grid-template-columns:220px minmax(0,1fr);gap:20px}.root-grid{gap:5px}.root-button{font-size:14px;min-height:35px}.root-button.accidental{font-size:11px}.section-top h2{font-size:12px;gap:7px}.section-top{margin-bottom:15px}.quality-button{font-size:11px}.quality-grid{gap:5px}.picker-foot{padding:16px}.instruments{grid-template-columns:1fr}.instrument{padding:21px}.guitar-diagram{height:250px}.piano-space{min-height:225px}.piano-diagram{max-width:420px;margin:5px auto}.instrument-controls{font-size:10px}.chord-summary{display:block;padding:23px}.summary-primary .eyebrow{margin-bottom:18px}.chord-heading h2{font-size:70px}.summary-detail{padding-top:22px}.note-list{gap:16px}.note-token{min-width:35px}.note-label>span{display:inline}.favorite-button{right:20px}.result-footer{align-items:flex-start}.audio-status{line-height:1.7;max-width:65%}.result-footer button{white-space:nowrap}.quick-chords{grid-template-columns:repeat(4,minmax(0,1fr))}.quick-chord:nth-child(4){border-right:0}.quick-chord:nth-child(n+5){border-top:1px solid var(--line)}.quick-chord:nth-child(5){padding-left:0}.guide-section{grid-template-columns:1fr 1fr;gap:30px}.guide-title h2 br{display:none}.site-footer{flex-wrap:wrap}.site-footer>span{display:none}}
@media(max-width:640px){.wrap{width:calc(100% - 36px)}.site-header{height:80px;justify-content:space-between;gap:12px}.brand{gap:8px}.brand svg{width:26px;height:30px}.brand>span{font-size:25px}.brand-sub{font-size:9px;letter-spacing:2px}.site-header nav{display:none}.collection-link{gap:5px;font-size:11px}.collection-link>span:first-child{font-size:21px}.intro{display:block;padding:32px 0 24px}.intro .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:12px}h1{font-size:35px;margin-bottom:12px}.intro>div>p{font-size:11px}.search-area{width:100%;max-width:none;padding-top:24px}#search-form{padding:7px 7px 7px 13px;gap:9px}#chord-input{font-size:12px}#search-form button{padding:12px 14px;font-size:12px}#search-help{font-size:10px;margin-top:9px}.workspace{display:block}.picker{margin-bottom:20px}.picker-block{padding:19px 18px}.root-grid{grid-template-columns:repeat(6,1fr);gap:7px}.root-button{min-height:43px;font-size:16px}.root-button.accidental{font-size:13px}.section-top h2{font-size:14px}.small-toggle{min-height:32px}.quality-block{padding-bottom:21px}#quality-picker{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px;align-items:start}.quality-group-label{margin:0 0 7px;font-size:9px}.quality-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.quality-button{min-height:39px;font-size:11px}.quality-button small{font-size:9px}.picker-foot{display:none}.chord-summary{padding:25px 23px;display:block;scroll-margin-top:15px}.summary-primary .eyebrow{font-size:8px;margin-bottom:20px}.chord-heading{gap:24px}.chord-heading h2{font-size:80px}.chord-heading h2.long-chord{font-size:63px}.chord-heading h3{font-size:17px}.chord-heading p{font-size:11px}.summary-detail{padding-top:25px}.note-token strong{font-size:23px}.note-label{margin-bottom:12px}.favorite-button{font-size:10px;right:20px;top:17px}.instruments{margin-top:14px;gap:14px}.instrument{padding:23px 21px 20px}.guitar-diagram{height:265px;max-width:255px}.instrument-header h3{font-size:19px}.instrument-controls{margin-top:12px;font-size:10px;min-height:44px}.position-controls{gap:10px}.position-controls button{min-width:35px;min-height:39px}.play-button{min-height:40px;padding:10px 15px}.piano-space{min-height:245px}.piano-notes{margin-top:28px}.diagram-legend{font-size:10px;gap:12px}.instrument-note{font-size:10px}.result-footer{padding:15px 1px 0;font-size:10px;gap:10px}.result-footer button{font-size:10px;min-height:32px}.audio-status{max-width:60%}.quick-section{margin-top:42px;margin-bottom:30px}.section-heading{margin-bottom:18px;gap:12px}.section-heading h2{font-size:23px}.section-heading>p{display:none}.quick-chord{padding:19px 11px;min-height:89px}.quick-chord strong{font-size:25px}.quick-chord small{font-size:9px}.collection-section{padding-bottom:32px}.section-heading>.tiny{font-size:9px}.empty-collection{padding:16px 13px}.empty-collection p{font-size:10px}.guide-section{grid-template-columns:1fr;padding:29px 0 32px;gap:26px}.guide-title h2{font-size:24px}.guide-title .eyebrow{margin-bottom:7px}.guide-item h3{font-size:14px;margin:9px 0 7px}.guide-item p{font-size:11px}.site-footer{padding:24px 0;gap:12px}.footer-brand{font-size:19px}.footer-brand span{font-size:9px;margin-left:8px}.site-footer p{font-size:9px;line-height:1.8;max-width:140px;text-align:right}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

.quality-group+.quality-group{margin-top:12px}.mobile-quality{display:none}
@media(max-width:640px){#quality-picker{display:none}.mobile-quality{display:block;width:100%;min-height:46px;border:1px solid #cad4c4;border-radius:6px;background:var(--white);padding:10px 12px;font-size:14px;color:var(--ink)}.quality-block .section-top{margin-bottom:12px}}

@media(max-width:640px){.chord-heading{gap:18px}.chord-heading>div{min-width:90px}.chord-heading h2.long-chord{font-size:50px;letter-spacing:-2px}.chord-heading h2.very-long-chord{font-size:39px}.chord-heading h3{font-size:16px}}

@media(max-width:640px){.chord-heading{flex-wrap:wrap;row-gap:8px}.chord-heading>div{flex-shrink:0}}

.site-footer .beian{font-size:10px;color:var(--muted);letter-spacing:.5px}.site-footer .beian:hover{color:var(--ink);text-decoration:underline}@media(max-width:640px){.site-footer .beian{font-size:9px;width:100%;text-align:center}}
