.chart-page{padding-top:24px}.chart-page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:10px 0 30px}.chart-page-heading h1{font-size:36px;color:var(--green);margin:12px 0}.chart-page-heading p{font-size:14px;line-height:1.9;color:#7b8971;margin:0}.chart-human-badge{font-size:12px;color:#719159;white-space:nowrap;background:#edf4e6;padding:9px 14px;border-radius:8px}.chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:8;background:#fafbf7f7;backdrop-filter:blur(10px);padding:14px 0;border-bottom:1px solid var(--line)}.chart-category-tabs{display:flex;gap:6px;flex-wrap:wrap}.chart-category-tabs button{padding:10px 17px;min-height:44px;border-radius:9px;font-size:14px;color:#768b68}.chart-category-tabs small{margin-left:8px;font-size:10px;color:#a0ad96}.chart-category-tabs .selected{background:var(--green);color:#fff}.chart-category-tabs .selected small{color:#d3e1c6}.chart-view-switch{display:flex;border:1px solid #dce5d3;border-radius:9px;padding:3px;background:#fff;flex-shrink:0}.chart-view-switch button{padding:7px 12px;min-height:36px;font-size:12px;color:#7b8a6c;border-radius:6px}.chart-view-switch .selected{background:#edf3e6;color:#345d3d;font-weight:600}.chart-listen-bar{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:15px 0 20px;min-height:68px}.chart-listen-status{color:#819273;font-size:12px;line-height:1.8}.chart-listen-bar button{padding:7px 12px;min-height:36px}.chart-collection{--chart-fill:#f9f5e8;--chart-border:#e5d9b7;--chart-ink:#7c6336;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.chart-collection.finals{--chart-fill:#f1f6eb;--chart-border:#d3e2c4;--chart-ink:#416945}.chart-collection.whole{--chart-fill:#f5f0f5;--chart-border:#e0d3df;--chart-ink:#7a5978}.chart-collection-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.chart-collection-heading h2{font-size:19px;color:var(--green);margin:0}.chart-collection-heading>span{font-size:11px;color:#92a084}.chart-guidance{font-size:12px;color:#879377;line-height:1.9;margin:-8px 0 22px}.chart-letter-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.chart-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-width:0;width:100%;min-height:114px;padding:19px 6px 13px;border-radius:12px;border:1px solid var(--chart-border);background:var(--chart-fill);color:var(--chart-ink);box-shadow:0 2px 0 #304a2e04;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}.chart-symbol{font:500 35px/1.5 "Pinyin Learning",sans-serif;white-space:nowrap}.chart-card-play{position:absolute;top:9px;right:10px;font-size:10px;opacity:.6}.chart-card-label{font-size:10px;color:#8b9a7d;white-space:nowrap}.chart-card:hover:not(:disabled){background:#fff;border-color:#87a174;filter:none;box-shadow:0 3px 10px #37532f0d}.chart-card.is-playing{background:#e7f0dc;border-color:#5f8951;box-shadow:0 0 0 3px #dce9d2}.chart-card.is-playing .chart-card-play{font-size:13px;opacity:1;color:var(--green)}.chart-card:active:not(:disabled){transform:translateY(1px)}.chart-card:focus-visible{outline:3px solid #d6a169;outline-offset:3px}.chart-card.unavailable{background:#f6f6f2;border-color:#e7e8e1;color:#a9afa1;cursor:not-allowed;box-shadow:none}.chart-card.unavailable .chart-card-play{display:none}.chart-tone-rows{display:flex;flex-direction:column;gap:16px}.chart-tone-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;align-items:center;padding-bottom:16px;border-bottom:1px solid #edf0e7}.chart-tone-row:last-child{border:0;padding-bottom:0}.chart-row-label strong{display:block;font:500 30px/1.5 "Pinyin Learning",sans-serif;color:var(--chart-ink)}.chart-row-label small{font-size:10px;color:#94a187}.chart-four-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.chart-four-cards .chart-card{min-height:112px}.chart-bottom-note{font-size:11px;color:#94a185;line-height:1.9;margin:22px 4px 0}@media(max-width:900px){.chart-toolbar{align-items:flex-start;gap:12px;flex-direction:column}.chart-letter-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:650px){.chart-page{padding-top:12px}.chart-page-heading{gap:12px;align-items:flex-start;margin-bottom:20px}.chart-page-heading h1{font-size:27px}.chart-page-heading .eyebrow{font-size:8px;letter-spacing:1px}.chart-page-heading p{font-size:11px}.chart-human-badge{font-size:8px;padding:6px 8px;margin-top:27px}.chart-toolbar{padding:9px 0;gap:9px}.chart-category-tabs{width:100%;gap:4px}.chart-category-tabs button{flex:1;padding:9px 5px;font-size:11px;white-space:nowrap}.chart-category-tabs small{margin-left:4px;font-size:8px}.chart-view-switch button{font-size:10px;padding:6px 12px;min-height:32px}.chart-listen-bar{padding:12px 0;min-height:62px}.chart-listen-status{font-size:10px}.chart-listen-bar button{font-size:10px;min-height:34px}.chart-collection{padding:17px 13px;border-radius:15px}.chart-collection-heading{margin-bottom:17px;align-items:flex-start}.chart-collection-heading h2{font-size:16px;white-space:nowrap}.chart-collection-heading>span{font-size:9px;line-height:1.8;text-align:right}.chart-guidance{font-size:10px;margin:-5px 0 16px}.chart-letter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.chart-card{min-height:93px;padding:17px 3px 10px;gap:7px;border-radius:9px}.chart-symbol{font-size:28px}.chart-card-label{font-size:8px}.chart-card-play{top:7px;right:7px;font-size:9px}.chart-tone-row{grid-template-columns:1fr;gap:8px;padding-bottom:14px}.chart-row-label{display:flex;align-items:center;gap:12px}.chart-row-label strong{font-size:24px}.chart-four-cards{gap:6px}.chart-four-cards .chart-card{min-height:95px}.chart-four-cards .chart-symbol{font-size:23px}.chart-four-cards .chart-card-label{font-size:7px}.chart-bottom-note{font-size:9px}.mobile-nav{gap:0}.mobile-nav button{flex:1}}@media(prefers-reduced-motion:reduce){.chart-card{transition:none}}
.chart-view-switch button:disabled{opacity:.4;cursor:not-allowed;filter:none}@media(min-width:651px) and (max-width:900px){.header{gap:12px}.desktop-nav{gap:12px}.desktop-nav button{font-size:12px}}
.chart-tip{background:#f7f5e9;border:1px solid #e6e3cc;border-radius:15px;padding:20px 23px;margin:0 0 20px}.chart-tip>strong{font-size:13px;color:#687849}.chart-tip-definitions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:16px}.chart-tip h2{font-size:13px;margin:0 0 7px;color:#466344}.chart-tip p{font-size:12px;line-height:1.9;margin:0;color:#899278}.pinyin-example{display:block;font:500 18px/1.8 "Pinyin Learning",sans-serif;color:#5d7950;margin-top:6px}@media(max-width:650px){.chart-tip{padding:16px 17px;margin-bottom:15px}.chart-tip>strong{font-size:11px}.chart-tip-definitions{grid-template-columns:1fr;gap:14px;margin-top:14px}.chart-tip h2{font-size:12px;margin-bottom:4px}.chart-tip p{font-size:11px}.pinyin-example{font-size:17px;margin-top:3px}}
.chart-collection{background:linear-gradient(135deg,#fbfcf6,#f2f5eb);border:1px solid #d9e2cd;box-shadow:inset 0 2px 0 #ffffff,0 8px 24px #3f573409;padding-bottom:30px}.chart-letter-grid{row-gap:20px}.chart-card{overflow:hidden;background:linear-gradient(145deg,#ffffffb8,var(--chart-fill));border-top-color:#fff;border-bottom-color:var(--chart-border);box-shadow:0 5px 0 var(--chart-border),0 8px 10px #3f57340c,inset 0 1px 0 #ffffff;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}.chart-card:hover:not(:disabled){background:linear-gradient(145deg,#fff,var(--chart-fill));box-shadow:0 5px 0 var(--chart-border),0 9px 15px #3f573416,inset 0 1px 0 #fff}.chart-card:active:not(:disabled){transform:translateY(4px);box-shadow:0 1px 0 var(--chart-border),0 3px 5px #3f57340c,inset 0 1px 0 #fff}.chart-card.is-playing{background:linear-gradient(145deg,#f8fff0,#e6f0d9);border-color:#a8bf92;box-shadow:0 5px 0 #a8bf92,0 0 0 3px #e0eccf,inset 0 1px 0 #fff}.chart-card-play{width:20px;height:20px;display:flex;align-items:center;justify-content:center;background:#ffffff9c;border:1px solid #ffffff;border-radius:50%;top:7px;right:7px;font-size:9px;opacity:.8}.chart-card.is-playing .chart-card-play{animation:chart-speaker-pulse .8s ease-in-out infinite}.chart-four-cards{padding-bottom:5px}.chart-card.unavailable{background:#f1f2eb;box-shadow:0 3px 0 #e0e3d7}.chart-press-ripple{position:absolute;pointer-events:none;width:100px;height:100px;border-radius:50%;background:#88a66b}@keyframes chart-speaker-pulse{50%{background:#c8dfb2;box-shadow:0 0 0 3px #c8dfb244}}@media(prefers-reduced-motion:reduce){.chart-card{transition:none}.chart-card.is-playing .chart-card-play{animation:none}}
.chart-tip summary{font-size:13px;color:#687849;cursor:pointer;font-weight:600;line-height:1.8}.chart-tip summary::marker{color:#89996a}@media(max-width:650px){.chart-tip summary{font-size:11px}}
#chart-content{display:flex;flex-direction:column;gap:28px}.chart-collection{scroll-margin-top:var(--chart-offset,100px)}.chart-symbol{font-size:48px}.chart-card.long-symbol .chart-symbol{font-size:42px}.chart-four-cards .chart-symbol{font-size:46px}.chart-four-cards .long-symbol .chart-symbol{font-size:40px}.chart-card{min-height:116px;gap:0;padding:18px 6px}.chart-header-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.chart-header-actions .chart-human-badge{margin:0}.chart-tip-trigger{min-height:38px}.chart-tip-definitions h2{font-size:15px;color:var(--green)}.chart-tip-definitions p{font-size:13px;line-height:1.9;color:#7d8e6d}#dialog .chart-tip-definitions{grid-template-columns:1fr;gap:15px}#dialog .pinyin-example{font-size:24px}@media(max-width:650px){.chart-symbol{font-size:38px}.chart-card.long-symbol .chart-symbol{font-size:31px}.chart-four-cards .chart-symbol{font-size:32px}.chart-four-cards .long-symbol .chart-symbol{font-size:26px}.chart-card{min-height:96px;padding:18px 3px}.chart-header-actions{flex-direction:column;gap:7px;align-items:flex-end;margin-top:18px}.chart-tip-trigger{font-size:10px;min-height:34px;padding:7px 10px}#chart-content{gap:22px}}
.chart-tone-row{grid-template-columns:minmax(0,1fr)}
.chart-card.medium-symbol .chart-symbol{font-size:44px}@media(max-width:650px){.chart-card.medium-symbol .chart-symbol{font-size:32px}.chart-card.long-symbol .chart-symbol{font-size:27px}.chart-four-cards .chart-card.long-symbol .chart-symbol{font-size:26px}}
@media(max-width:650px){.chart-letter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.chart-letter-grid .chart-symbol{font-size:42px}.chart-letter-grid .medium-symbol .chart-symbol{font-size:38px}.chart-letter-grid .long-symbol .chart-symbol{font-size:34px}.chart-four-cards .chart-card.medium-symbol .chart-symbol{font-size:30px}}
@media(min-width:651px) and (max-width:900px){.chart-letter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(min-width:901px) and (max-width:1100px){.chart-letter-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.chart-letter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:650px){.chart-letter-grid .chart-symbol{font-size:38px}.chart-letter-grid .medium-symbol .chart-symbol{font-size:32px}.chart-letter-grid .long-symbol .chart-symbol{font-size:25px}}
