/* Reuse the English learner interface; only language-specific details differ. */
.native-flag{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;font-size:21px;line-height:1;vertical-align:middle}
body[data-native-language=ko] .sync-speaker{display:block;margin:0 0 6px;font-size:11px;font-weight:700;line-height:1.4;color:var(--tt-accent,#1768e9)}
body[data-native-language=ko].mini-talks-player .glr-scene-briefing{display:flex;align-items:flex-start;gap:9px;margin:7px 0 14px;padding:10px 12px;border-left:3px solid var(--tt-accent,#1768e9);border-radius:0 11px 11px 0;background:color-mix(in srgb,var(--tt-accent,#1768e9) 6%,var(--tt-card,#fff));color:var(--tt-muted,#607086)}
body[data-native-language=ko].mini-talks-player .glr-scene-briefing[hidden]{display:none}
body[data-native-language=ko].mini-talks-player .glr-scene-briefing-label{flex:none;color:var(--tt-accent,#1768e9);font-size:11px;font-weight:800;letter-spacing:.03em}
body[data-native-language=ko].mini-talks-player .glr-scene-briefing p{margin:0;font-size:13px;line-height:1.55}
body[data-native-language=ko].mini-talks-player .dialogue-speaker{color:var(--tt-accent,#1768e9);font-size:13px;font-weight:800;line-height:1.4}
body[data-native-language=ko] .mini-talks-preview-notice{margin:0 0 12px;padding:10px 14px;border:1px solid color-mix(in srgb,var(--tt-accent,#1768e9) 30%,var(--tt-line,#d8e0e6));border-radius:14px;background:color-mix(in srgb,var(--tt-accent,#1768e9) 7%,var(--tt-card,#fff));color:var(--tt-text,#21344f);font-size:13px;font-weight:700;line-height:1.5}
body[data-native-language=ko][data-mini-talks-preview=true] .lesson-card-actions .tt-completion-button{width:auto;min-width:112px}
body[data-native-language] .talktag-global-home{display:none!important}
body[data-native-language] .player-card h1{font-size:clamp(26px,4vw,34px);line-height:1.2}
body[data-native-language] .lesson-copy h2{font-size:clamp(22px,3vw,30px);line-height:1.25}
body[data-native-language=ja] .player-card h1,body[data-native-language=ja] .lesson-copy h2{word-break:keep-all;overflow-wrap:normal}
body[data-native-language] .option.speed-control>span,body[data-native-language] .option.loop-control>span{font-size:14px}
body[data-native-language=ja] .sync-line ruby{ruby-align:center}
/* Preserve native ruby rendering in both Safari and Chromium. */
body[data-native-language=ja] .sync-line rt{font-size:.55em;font-weight:500;line-height:1.4;letter-spacing:0;color:var(--tt-muted,#607086)}
body[data-native-language=ja] .sync-lines:not(.with-furigana) .sync-line rt{display:none}
body[data-native-language=ja] .with-furigana .sync-line>span:first-child{line-height:2.2}
@media(max-width:620px){html[data-appearance] body[data-native-language=ja] .player-card .script-controls{flex-direction:column!important;align-items:stretch!important;gap:8px!important}html[data-appearance] body[data-native-language=ja] .player-card .compact-script{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}html[data-appearance] body[data-native-language=ja] .player-card .compact-script button{width:100%!important;min-width:0!important;min-height:44px!important;padding:8px 6px!important;font-size:13px!important;white-space:nowrap}}
body[data-native-language] .tt-route-tools>a{min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
body[data-native-language=ko] .native-paired-script .script-list li{display:grid;gap:6px}
body[data-native-language=ko] .native-paired-script .native-line-korean{color:var(--tt-text,#21344f);font-size:16px;font-weight:700;line-height:1.6}
body[data-native-language=ko] .native-paired-script .native-line-meaning{color:var(--tt-muted,#607086);font-size:15px;line-height:1.6}
/* The paired-script rows retain a light surface in Dark mode; keep both lines legible there. */
html[data-appearance=dark] body[data-native-language=ko] .native-paired-script .native-line-korean{color:#21344f}
html[data-appearance=dark] body[data-native-language=ko] .native-paired-script .native-line-meaning{color:#52657d}
body[data-native-language=ko] .native-paired-script:not(.show-meaning) .native-line-meaning{display:none}
body[data-native-language=ko].retired-essay-page .retired-essay-note{max-width:680px;margin:24px auto 64px;padding:clamp(24px,6vw,44px);border:1px solid var(--tt-line,#d8e0e6);border-radius:28px;background:var(--tt-card,#fff);box-shadow:0 14px 38px rgba(20,45,77,.07)}
body[data-native-language=ko].retired-essay-page .retired-essay-eyebrow{margin:0 0 20px;color:var(--tt-accent,#1768e9);font-size:12px;font-weight:800;letter-spacing:.15em}
body[data-native-language=ko].retired-essay-page .retired-essay-note h1{margin:0 0 20px;color:var(--tt-text,#21344f);font-size:clamp(28px,7vw,42px);line-height:1.16;letter-spacing:-.04em}
body[data-native-language=ko].retired-essay-page .retired-essay-note>p:not(.retired-essay-eyebrow){margin:0 0 26px;color:var(--tt-muted,#607086);font-size:16px;line-height:1.65}
body[data-native-language=ko].retired-essay-page .retired-essay-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border-radius:14px;background:var(--tt-accent,#1768e9);color:#fff;font-size:16px;font-weight:800;text-decoration:none}
body[data-native-language=ko].retired-essay-page .retired-essay-action:focus-visible{outline:3px solid var(--tt-text,#21344f);outline-offset:3px}
@media(max-width:430px){body[data-native-language=ko].retired-essay-page .retired-essay-note{margin:16px 0 48px;padding:24px 20px;border-radius:22px}}
