.page-intro { margin-top:12px; color:var(--muted); font-size:16px; line-height:1.8; max-width:43em; }
.new-label { display:flex; justify-content:space-between; margin:0 0 14px; color:var(--muted); font-size:13px; }
.old-label { margin-top:34px; }
.discovery-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:20px; }
.discovery-card { display:block; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.discovery-card:hover { box-shadow:0 10px 25px #213b3012; }
.cassette { width:78%; max-width:365px; margin:33px auto 32px; padding:17px 17px 12px; border:1px solid #3b3b32; border-radius:13px; transform:rotate(-6deg); background:#414a3c; color:#f0e9cc; box-shadow:7px 8px 0 #d3d4b9; }
.tape-label { display:flex; justify-content:space-between; gap:8px; padding:9px; border-radius:5px 5px 0 0; color:#3a3828; background:#e7c37c; font:700 clamp(8px,1vw,11px)/1.4 var(--mono); letter-spacing:.04em; }
.tape-label b { white-space:nowrap; }
.tape-window { display:flex; align-items:center; justify-content:space-around; gap:7px; margin-block:10px; padding:14px 10px; border:1px solid #8e9680; border-radius:35px; background:#2e3529; font:9px var(--mono); letter-spacing:.1em; }
.tape-window i { width:42px; aspect-ratio:1; border:8px dashed #b4c3a3; border-radius:50%; background:#263026; box-shadow:0 0 0 4px #1c241c; }
.tape-footer { display:flex; justify-content:space-between; font:9px var(--mono); }
.practice-cover { background:linear-gradient(150deg,#eeefda,#e6e9d0); }
.discovery-copy { padding:22px 24px 24px; border-top:1px solid #263d331c; background:#fffdf5d9; }
.discovery-copy h2 { margin-block:8px 10px !important; font-size:clamp(23px,2.6vw,30px); }
.discovery-copy > p:not(.eyebrow) { font-size:14px; color:var(--muted); }
.round-link { display:flex; justify-content:space-between; align-items:center; margin-top:18px; font-size:14px; font-weight:700; color:#365a43; }
.round-link b { display:grid; place-items:center; width:30px; height:30px; border:1px solid #bdc9ad; border-radius:50%; }
.reading-cover { background:#e8dfcd; }
.reading-art { position:relative; height:230px; margin:10px 20px 0; }
.book { position:absolute; display:block; border-radius:2px 6px 6px 2px; border-left:6px solid #203c2b33; box-shadow:6px 6px 0 #c0b69e; writing-mode:vertical-rl; text-orientation:upright; font-family:"Songti SC","STSong",serif; }
.book-one { left:14%; top:24px; width:114px; height:160px; padding:20px; transform:rotate(-13deg); background:#42654d; color:#f4e8b9; font-size:21px; }
.book-two { left:42%; top:39px; width:100px; height:142px; padding:20px; transform:rotate(8deg); background:#cf8d61; color:#352d26; font-size:19px; }
.mini-calendar { position:absolute; right:6%; bottom:25px; width:133px; height:75px; border:8px solid #f6f1e4; border-radius:4px; transform:rotate(-7deg); background-color:#42654d; background-image:linear-gradient(90deg,transparent 0 10px,#e3e7d7 10px 13px),linear-gradient(0deg,transparent 0 10px,#e3e7d7 10px 13px); background-size:13px 13px; box-shadow:2px 3px 8px #203c2b25; }
.example-label { display:inline-block; padding:4px 9px; border:1px solid #bfc4b5; border-radius:15px; color:#4d5b51; background:#faf8ef; font-size:12px; }
.reading-art > .example-label { position:absolute; right:0; top:6px; }
.skill-shelf { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.skill-card { display:flex; flex-direction:column; align-items:start; padding:23px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.skill-symbol { display:grid; place-items:center; width:44px; height:44px; margin-bottom:18px; border-radius:11px; background:#dce6cb; font:27px Georgia,serif; }
.skill-symbol.peach { background:#efddcb; }
.skill-symbol.blue { background:#dce4e9; }
.skill-card h3 { margin-block:6px 10px; font-size:23px; }
.skill-card > p:not(.tag), .skill-card details { font-size:14px; color:var(--muted); }
.skill-card details { width:100%; margin-block:16px 20px; }
.skill-card summary { cursor:pointer; color:#365a43; padding-block:6px; font-weight:650; }
.skill-card blockquote { margin:8px 0 12px; padding-left:11px; border-left:2px solid #94aa84; }
.skill-card .text-link { margin-top:auto; font-size:13px; }
.sample-label { margin-top:10px; font-size:11px; letter-spacing:.1em; }
.back-link { display:inline-block; margin-bottom:24px; color:#365a43; font-size:14px; }
.practice-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:26px; margin-top:28px; align-items:start; }
.practice-settings { padding:20px; border-radius:12px; border:1px solid var(--line); background:#edf0e2; }
.scenario-buttons { display:grid; gap:6px; margin-block:13px 22px; }
.scenario-buttons button { padding:12px; border:1px solid #c6cebd; border-radius:7px; color:var(--ink); background:#faf9ef; text-align:left; font-size:14px; }
.scenario-buttons button[aria-pressed="true"] { color:var(--lime); background:var(--green); border-color:var(--green); }
.practice-settings label { display:block; margin-top:15px; font-size:13px; }
.practice-settings select { width:100%; min-height:40px; padding:6px; border:1px solid #9da78d; border-radius:6px; color:var(--ink); background:var(--surface); font-size:13px; }
.practice-settings input[type="range"] { width:100%; accent-color:var(--green); }
.practice-settings output { float:right; }
#hide-text { width:100%; margin-top:15px; }
#speech-status { min-height:3em; margin-top:15px; color:var(--muted); font-size:12px; }
.practice-progress { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; min-height:35px; margin-bottom:13px; font-size:13px; color:var(--muted); }
.practice-item { padding:20px 22px; margin-bottom:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.phrase-number { display:block; color:#557148; font:12px var(--mono); }
.phrase { min-height:2.8em; margin-top:9px; font-size:clamp(19px,2.1vw,24px); line-height:1.45; }
.translation { color:var(--muted); font-size:14px; margin-block:8px 16px; }
.phrase-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.phrase-actions label { display:inline-flex; align-items:center; gap:6px; font-size:13px; }
.phrase-actions input { width:17px; height:17px; accent-color:var(--green); }
.text-hidden .phrase { filter:blur(7px); user-select:none; }
.reading-dashboard { overflow:hidden; margin-top:26px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.reading-summary { display:grid; grid-template-columns:1.4fr 1fr; gap:30px; padding:30px; background:#e6ebdb; }
.reading-summary h2 { font-size:clamp(24px,2.7vw,32px); margin-block:8px 12px; }
.reading-summary p:not(.eyebrow) { font-size:14px; color:var(--muted); max-width:34em; }
.reading-summary dl { display:flex; justify-content:space-around; gap:12px; align-items:center; margin:0; }
.reading-summary dt { font-size:12px; color:var(--muted); }
.reading-summary dd { margin:7px 0 0; font:42px/1.1 Georgia,serif; }
.reading-summary dd small { font:12px system-ui,sans-serif; }
.reading-calendar { padding:23px 30px; border-bottom:1px solid var(--line); }
.calendar-caption { display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--muted); font-size:12px; }
.calendar-caption > span:last-child { display:inline-flex; align-items:center; gap:4px; }
.calendar-caption i { width:10px; height:10px; background:#e6eadf; }
.calendar-caption i:nth-of-type(2) { background:#c6d3ad; }
.calendar-caption i:nth-of-type(3) { background:#87a16f; }
.calendar-caption i:nth-of-type(4) { background:#44634c; }
#reading-calendar { display:grid; grid-template-rows:repeat(7,1fr); grid-template-columns:repeat(12,minmax(0,1fr)); grid-auto-flow:column; gap:5px; margin-top:13px; }
.day { height:17px; background:#e9ede3; border-radius:2px; }
.day.level-1 { background:#c6d3ad; }
.day.level-2 { background:#87a16f; }
.day.level-3 { background:#44634c; }
.reading-books { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; padding:30px 30px 15px; }
.book-pick { min-height:180px; padding:18px; text-align:left; border:2px solid transparent; border-left:10px solid #0002; border-radius:2px 8px 8px 2px; box-shadow:3px 4px 0 #d7d3c2; }
.book-pick[aria-pressed="true"] { outline:2px solid #3d6348; outline-offset:4px; }
.book-pick span { display:block; margin-bottom:22px; font:11px var(--mono); }
.book-pick strong { display:block; font:700 clamp(20px,2.2vw,29px)/1.3 "Songti SC","STSong",serif; }
.book-pick small { display:block; margin-top:8px; font-size:12px; }
.green-book { background:#45634d; color:#f5e6bf; }
.orange-book { background:#d3986d; color:#38291f; }
.cream-book { background:#efe2b9; color:#3b4a32; }
.reading-note { margin:15px 30px 30px; padding:25px; border-radius:8px; background:#f5f0e3; }
.reading-note h2 { font-size:25px; margin-block:9px 12px; }
.reading-note p:not(.eyebrow) { font-size:15px; color:var(--muted); line-height:1.8; }
#note-tags { display:block; margin-top:18px; color:#5c7255; font-size:12px; }
@media (max-width:760px) {
  .discovery-grid, .skill-shelf, .practice-layout, .reading-summary { grid-template-columns:1fr; }
  .practice-layout { gap:18px; }
  .practice-settings { padding:15px; }
  .scenario-buttons { grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; margin-bottom:16px; }
  .scenario-buttons button { padding:10px 4px; text-align:center; font-size:12px; }
  .reading-summary, .reading-calendar { padding:22px 18px; }
  .reading-books { padding:24px 18px 10px; gap:10px; }
  .book-pick { padding:12px 7px; min-height:170px; border-left-width:6px; }
  .book-pick strong { font-size:19px; }
  .reading-note { margin:15px 18px 22px; padding:18px; }
  .cassette { max-width:330px; }
}
.practice-tape.cassette { width:100%; margin:0 0 22px; padding:10px; transform:rotate(-3deg); box-shadow:3px 4px 0 #cbd2bc; }
.practice-tape .tape-label { font-size:7px; padding:6px; }
.practice-tape .tape-window { padding:11px 3px; margin-bottom:0; font-size:7px; }
.practice-tape .tape-window i { width:28px; border-width:5px; animation:tape-spin 2s linear infinite; animation-play-state:paused; }
.practice-tape.is-playing .tape-window i { animation-play-state:running; }
@keyframes tape-spin { to { transform:rotate(360deg); } }
.control-hint, #image-info { color:var(--muted); font-size:12px; line-height:1.7; }
.caption-stage { display:grid; align-content:start; gap:10px; min-width:0; }
.caption-stage canvas { width:auto; height:auto; max-width:100%; max-height:68vh; margin-inline:auto; }
.caption-controls input[type="file"] { min-width:0; max-width:100%; font-size:12px; }
.caption-controls input[type="range"] { width:100%; accent-color:var(--green); }
.caption-controls select { width:100%; min-height:42px; padding:6px 9px; margin-block:5px 16px; border:1px solid #939d8f; border-radius:6px; color:var(--ink); background:var(--surface); }
.caption-controls label:not(.upload-label) { margin-top:13px; }
.caption-controls output { float:right; }
#use-sample { margin-top:8px; }
.export-result { display:flex; align-items:center; gap:25px; padding:22px; margin-top:18px; border:1px solid #bacbad; border-radius:12px; background:#edf0e2; }
.export-result[hidden] { display:none; }
.export-result img { display:block; max-width:45%; max-height:260px; border:7px solid var(--surface); box-shadow:2px 3px 8px #213b3020; }
.export-result p { margin-bottom:10px; }
@media (max-width:760px) {
  .practice-tape.cassette { max-width:240px; margin-inline:auto; }
  .export-result { flex-direction:column; align-items:start; }
  .export-result img { max-width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .practice-tape .tape-window i { animation:none; }
}
.custom-practice { margin-top:24px; padding:24px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.custom-practice h2 { font-size:25px; margin-bottom:18px; }
.custom-practice label { display:block; margin-bottom:8px; font-size:14px; }
.custom-practice textarea { width:100%; padding:12px; border:1px solid #939d8f; border-radius:7px; background:#fffdf7; color:var(--ink); font:inherit; resize:vertical; }
.custom-practice .actions { margin-block:12px; }
.subtitle-cover { background:#d8e4dc; padding:20px; }
.subtitle-sheet { display:grid; gap:7px; width:78%; padding:15px 20px; border-radius:6px; border:1px solid #a6b6a6; transform:rotate(-4deg); background:#faf7e9; box-shadow:6px 7px 0 #b4c6af; }
.subtitle-sheet > span { color:#48634e; font:11px var(--mono); letter-spacing:.12em; }
.subtitle-sheet strong { font:16px var(--mono); margin-top:7px; }
.subtitle-sheet i { font-size:14px; font-style:normal; color:#48634e; }
.tool-sections { display:flex; flex-wrap:wrap; gap:10px; margin:24px 0 32px; }
.tool-sections a { display:flex; align-items:center; gap:20px; padding:10px 16px; border:1px solid var(--line); border-radius:24px; background:var(--surface); font-size:14px; }
.tool-sections a:hover { border-color:var(--green); }
.tool-sections span { color:var(--muted); font:12px var(--mono); }
#ready-tools, #showcase, #skills { scroll-margin-top:30px; }
.new-label h2 { font-size:21px; color:var(--ink); }
.ready-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.ready-grid .cover { height:220px; }
.ready-grid .card-body { padding:20px; }
.ready-grid .cassette { width:82%; padding:12px; }
.ready-grid .tape-window { padding:12px 6px; }
.ready-grid .subtitle-sheet { width:84%; padding:15px; }
.ready-grid .subtitle-sheet strong { font-size:14px; }
.showcase-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.showcase-grid .card { background:var(--surface); }
.caption-controls textarea { display:block; width:100%; min-width:0; margin-top:5px; padding:10px; border:1px solid #939d8f; border-radius:6px; color:var(--ink); background:var(--surface); font:inherit; line-height:1.7; resize:vertical; }
.caption-controls select:disabled { opacity:.6; }
@media (max-width:900px) {
  .ready-grid { grid-template-columns:1fr; }
  .ready-grid .cover { height:240px; }
  .ready-grid .cassette { max-width:300px; }
  .ready-grid .subtitle-sheet { max-width:330px; }
}
@media (max-width:760px) {
  .showcase-grid { grid-template-columns:1fr; }
  .new-label { align-items:start; gap:15px; }
  .new-label > span { font-size:12px; }
}

#reading-learning { scroll-margin-top: 30px; }
.learning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.learning-grid .practice-cover { height: 220px; }
.discovery-copy h3 { margin-block: 8px 10px; font-size: clamp(23px, 2.6vw, 30px); }
.tool-card-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; }
#skills .skill-shelf { grid-template-columns: minmax(0, 420px); }
@media (max-width: 760px) {
  .learning-grid { grid-template-columns: 1fr; }
}
.travel-cover img { object-position: center top; }
