/* /languages, Language Coach (preview 548, approved 29 Oct 2026). */
.lc-hero{position:relative;background:var(--night);color:#fff;overflow:hidden}
.lc-hero:before{content:"";position:absolute;right:-220px;top:-340px;width:880px;height:880px;background:radial-gradient(closest-side,rgba(116,87,255,.42),rgba(116,87,255,0));pointer-events:none;animation:lcDrift 14s ease-in-out infinite alternate}
.lc-hero:after{content:"";position:absolute;left:-200px;bottom:-380px;width:760px;height:760px;background:radial-gradient(closest-side,rgba(244,63,94,.14),rgba(244,63,94,0));pointer-events:none}
@keyframes lcDrift{to{transform:translate(-80px,60px)}}
.lc-hero-in{position:relative;z-index:1;max-width:1240px;margin:0 auto;padding:64px 24px 72px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);gap:56px;align-items:center}
.lc-kw{font-size:13px;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:rgba(255,255,255,.55);margin:0 0 14px;max-width:560px}
.lc-title{display:block;font-size:58px;line-height:1.03;letter-spacing:-.04em;font-weight:800;margin-bottom:18px}
.lc-title em{font-style:normal;color:#9C87FF}
.lc-cta{min-width:236px}
.lc-live{display:flex;align-items:center;gap:12px;margin-top:26px;font-size:13.5px;color:rgba(255,255,255,.7);white-space:nowrap;flex-wrap:wrap}
.lc-live i{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 0 rgba(18,161,80,.6);animation:lcPulse 1.8s infinite}
@keyframes lcPulse{70%{box-shadow:0 0 0 8px rgba(18,161,80,0)}100%{box-shadow:0 0 0 0 rgba(18,161,80,0)}}
.lc-live b{color:#fff}
.lc-live .sep{width:1px;height:14px;background:rgba(255,255,255,.2)}

.lc-scene,.lc-ic-card{background:#fff;color:var(--ink);border-radius:var(--r);box-shadow:0 40px 80px -40px rgba(0,0,0,.7);overflow:hidden}
.lc-sc-top{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}
.lc-sc-top div{flex:1;min-width:0}
.lc-sc-top b{display:block;font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lc-sc-top small{font-size:12.5px;color:var(--muted);white-space:nowrap}
.lc-flag{width:36px;height:36px;flex-shrink:0;border-radius:var(--r);background:var(--brand-soft);color:var(--brand-dk);display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:12.5px;font-weight:700}
.lc-stars{color:var(--lock);font-size:15px;letter-spacing:2px;white-space:nowrap}
.lc-sc-body{padding:14px 18px;height:300px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;background:var(--bg)}
.lc-ic-card .lc-sc-body{height:auto}
.lc-ln{flex-shrink:0;max-width:84%;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:10px 14px;animation:lcIn .4s ease both}
.lc-ln.me{align-self:flex-end;background:var(--brand-soft);border-color:#DCD4FF}
.lc-ln.on{box-shadow:0 0 0 2px var(--brand)}
.lc-ln em{font-style:normal;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.lc-ln p{font-size:16px;font-weight:600;margin:2px 0}
.lc-ln small{font-size:12.5px;color:var(--ink2)}
@keyframes lcIn{from{opacity:0;transform:translateY(8px)}}
.lc-sc-foot{display:flex;align-items:center;gap:12px;padding:14px 18px;border-top:1px solid var(--line);font-size:13.5px;color:var(--ink2);white-space:nowrap}
.lc-wave{display:flex;gap:3px;align-items:center;height:22px}
.lc-wave i{width:3px;height:6px;border-radius:2px;background:var(--live);animation:lcWave 1s ease-in-out infinite}
.lc-wave i:nth-child(2){animation-delay:.1s}.lc-wave i:nth-child(3){animation-delay:.2s}.lc-wave i:nth-child(4){animation-delay:.3s}.lc-wave i:nth-child(5){animation-delay:.4s}.lc-wave i:nth-child(6){animation-delay:.5s}.lc-wave i:nth-child(7){animation-delay:.6s}
@keyframes lcWave{50%{height:20px}}
.lc-score{margin-left:auto;height:28px;min-width:44px;padding:0 8px;border-radius:var(--r);background:#E3F6EB;color:var(--ok);font-weight:700;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}
.lc-score.on{opacity:1}

.lc-kpis{background:#fff;border-bottom:1px solid var(--line)}
.lc-kgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.lc-k{padding:26px 24px;border-left:1px solid var(--line)}
.lc-k:first-child{border-left:0;padding-left:0}
.lc-k small{display:block;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.lc-k b{display:block;font-size:34px;letter-spacing:-.02em;font-weight:800;margin:4px 0 2px}
.lc-k span{font-size:13px;color:var(--ink2);white-space:nowrap}

.lc-tbl-w{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow-x:auto}
.lc-tbl,.lc-cmp{width:100%;border-collapse:collapse;font-size:14.5px}
.lc-tbl th,.lc-cmp th{position:sticky;top:0;background:#FAFBFD;text-align:left;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
.lc-tbl th[data-k]{cursor:pointer}
.lc-tbl th[data-k]:hover{color:var(--ink)}
.lc-tbl th.s:after{content:" ↓";color:var(--brand)}
.lc-tbl td,.lc-cmp td{padding:12px 16px;border-bottom:1px solid var(--grid);white-space:nowrap;vertical-align:middle}
.lc-tbl tr:last-child td,.lc-cmp tr:last-child td{border-bottom:0}
.lc-tbl tbody tr:hover{background:#FAFBFD}
.lc-tbl .r,.lc-tbl td.r{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums}
.lc-lang{display:flex;align-items:center;gap:12px}
.lc-lang b{display:block;font-size:14.5px}
.lc-lang small{font-size:12px;color:var(--muted)}
.lc-pbar{display:flex;align-items:center;gap:10px;min-width:170px}
.lc-pbar i{flex:1;height:6px;border-radius:3px;background:var(--grid);overflow:hidden;position:relative}
.lc-pbar i u{position:absolute;inset:0 auto 0 0;background:var(--brand);border-radius:3px}
.lc-pbar span{font-family:var(--mono);font-size:12.5px;color:var(--ink2);min-width:64px;text-align:right}
.lc-spark{display:flex;align-items:center;gap:10px}
.lc-spark svg{width:84px;height:24px}
.lc-spark span{font-family:var(--mono);font-size:12.5px;color:var(--ok);min-width:44px}
.lc-tbl td.act{width:184px;text-align:right}
.lc-tbl td.act .btn{width:168px;height:34px;font-size:13.5px}
.lc-note{margin-top:14px;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px}
.lc-tick{width:18px;height:18px;border-radius:50%;background:#E3F6EB;color:var(--ok);display:inline-flex;align-items:center;justify-content:center;font-size:11px}

.lc-mini{width:88%;display:flex;flex-direction:column;gap:8px}
.lc-mini div{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:8px 12px;font-size:13px}
.lc-mini span{color:var(--muted)}
.lc-mini b{font-size:15px}
.lc-sayit{display:flex;align-items:center;gap:18px}
.lc-ring{position:relative;width:80px;height:80px}
.lc-ring svg{width:80px;height:80px;transform:rotate(-90deg)}
.lc-ring circle{fill:none;stroke:var(--grid);stroke-width:7}
.lc-ring circle.v{stroke:var(--ok);stroke-dasharray:213.6;stroke-dashoffset:17;stroke-linecap:round}
.lc-ring b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:20px}
.lc-wds{display:flex;flex-wrap:wrap;gap:6px;max-width:150px}
.lc-wds span{padding:3px 8px;border-radius:6px;font-size:14px}
.lc-wds .g{background:#E3F6EB;color:#0B7A3B}
.lc-wds .a{background:#FEF3C7;color:#92400E}

.lc-ic{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:stretch}
.lc-ic-side{display:grid;grid-template-rows:repeat(4,1fr);gap:12px}
.lc-ic-it{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:var(--r);padding:16px 18px}
.lc-ic-it b{display:block;font-size:15.5px;margin-bottom:4px}
.lc-ic-it span{font-size:14px;color:rgba(255,255,255,.7)}

.lc-path{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.lc-lv{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px}
.lc-lv small{display:block;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:4px;white-space:nowrap}
.lc-lv b{display:block;font-size:13px;margin-bottom:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lc-lv .u{display:grid;grid-template-columns:repeat(6,1fr);gap:5px}
.lc-lv .u i{height:22px;border-radius:6px;background:var(--grid)}
.lc-lv .u i.d{background:var(--brand)}
.lc-lv .u i.o{background:var(--brand-soft);box-shadow:inset 0 0 0 2px var(--brand);animation:lcGlow 1.6s ease-in-out infinite}
@keyframes lcGlow{50%{box-shadow:inset 0 0 0 2px var(--brand-lt),0 0 0 3px rgba(116,87,255,.18)}}
.lc-legend{display:flex;gap:18px;margin-top:16px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.lc-legend i{display:inline-block;width:12px;height:12px;border-radius:4px;margin-right:6px;vertical-align:-2px;background:var(--grid)}
.lc-legend i.d{background:var(--brand)}.lc-legend i.o{background:var(--brand-soft);box-shadow:inset 0 0 0 2px var(--brand)}

.lc-feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lc-f{background:var(--bg);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.lc-fi{width:36px;height:36px;border-radius:var(--r);background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:12px}
.lc-f b{display:block;font-size:16px;margin-bottom:4px}
.lc-f p{font-size:14px;color:var(--ink2)}

.lc-cmp td.c,.lc-cmp th.c{text-align:center;width:28%}
.lc-cmp th.rec{color:var(--brand)}
.lc-cmp td.y{color:var(--ok);font-weight:700;background:rgba(91,61,245,.03)}
.lc-cmp td.x{color:var(--muted)}

.lc-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.lc-pl{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px;display:flex;flex-direction:column}
.lc-pl.rec{border-color:var(--brand);box-shadow:0 30px 60px -36px rgba(91,61,245,.55)}
.lc-pl .tag{position:absolute;top:-12px;left:24px;height:24px;padding:0 10px;border-radius:var(--r);background:var(--brand);color:#fff;font-size:11.5px;font-weight:700;display:flex;align-items:center}
.lc-pl .nm{font-size:18px;font-weight:800}
.lc-pl .pr{margin:10px 0 16px}
.lc-pl .pr b{font-size:34px;letter-spacing:-.02em}
.lc-pl .pr span{display:block;font-size:13px;color:var(--muted)}
.lc-pl ul{list-style:none;display:flex;flex-direction:column;gap:8px;margin-bottom:22px;font-size:14.5px;color:var(--ink2)}
.lc-pl li:before{content:"✓";color:var(--ok);margin-right:8px}
.lc-pl .btn{margin-top:auto;width:100%;height:44px}

.lc-qs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lc-qs details{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px 18px}
.lc-qs summary{cursor:pointer;font-weight:700;font-size:15px;list-style:none}
.lc-qs summary::-webkit-details-marker{display:none}
.lc-qs p{margin-top:8px;font-size:14.5px;color:var(--ink2)}

.lc-end{text-align:center}
.lc-endt{display:block;font-size:44px;line-height:1.1;letter-spacing:-.035em;font-weight:800;max-width:760px;margin:0 auto 12px}
.lc-end p{color:rgba(255,255,255,.7);font-size:16.5px}
.lc-end .ctas{justify-content:center}

@media (max-width:1100px){
  .lc-hero-in{grid-template-columns:minmax(0,1fr)}
  .lc-path{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lc-ic{grid-template-columns:minmax(0,1fr)}
  .lc-feats,.lc-plans{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .lc-hero-in{padding:44px 16px 52px;gap:32px}
  .lc-title{font-size:38px}
  .lc-cta{min-width:0;width:100%}
  .lc-kgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lc-k{padding:18px 12px;border-left:0}
  .lc-k:first-child{padding-left:12px}
  .lc-k b{font-size:26px}
  .lc-k span,.lc-k small{white-space:normal}
  .lc-path{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lc-qs{grid-template-columns:minmax(0,1fr)}
  .lc-endt{font-size:30px}
  .lc-sc-body{height:260px}
}

/* /languages/<language>, one page per language (preview 552, approved 29 Oct 2026) */
.lt-crumb{display:flex;align-items:center;gap:8px;font-size:13px;color:rgba(255,255,255,.55);margin-bottom:14px}
.lt-crumb a:hover{color:#fff}
.lt-crumb span{color:rgba(255,255,255,.85)}
.lt-ph td.th{font-size:18px;white-space:nowrap}
.lt-ph td.rm,.rm{font-family:var(--mono);font-size:12.5px;color:var(--muted)}
.lt-tag{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:var(--r);background:var(--brand-soft);color:var(--brand-dk);font-size:12px;font-weight:600;white-space:nowrap}
.lt-ph td.act{width:140px}
.lt-ph td.act .btn{width:112px}
.lt-play.on{background:var(--brand);color:#fff;border-color:var(--brand)}
.lt-tones{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.lt-tones.n4{grid-template-columns:repeat(4,minmax(0,1fr))}
.lt-tone.tx b{font-size:21px;line-height:1.25;min-height:54px;margin:12px 0 4px;display:flex;align-items:center;justify-content:center}
.lt-tone.tx .rm{display:block;margin-bottom:12px}
.lt-tone{background:var(--bg);border:1px solid var(--line);border-radius:var(--r);padding:18px;text-align:center;transition:border-color .2s,box-shadow .2s}
.lt-tone.on{border-color:var(--brand);box-shadow:0 20px 40px -28px rgba(91,61,245,.6)}
.lt-tone small{display:block;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.lt-tone b{display:block;font-size:40px;margin:6px 0 2px}
.lt-tone svg{width:100%;height:40px;margin:8px 0}
.lt-tone path{fill:none;stroke:var(--brand);stroke-width:3;stroke-linecap:round;stroke-dasharray:140;stroke-dashoffset:0}
.lt-tone.on path{animation:ltDraw 1.2s ease}
@keyframes ltDraw{from{stroke-dashoffset:140}}
.lt-tone p{font-size:14px;color:var(--ink2)}
.lt-path{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.lt-lv{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px}
.lt-lv.on{border-color:#CFC4FF}
.lt-lv small{display:block;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.lt-lv b{display:block;font-size:14px;margin:2px 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lt-lv ul{list-style:none;display:flex;flex-direction:column;gap:6px}
.lt-lv li{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lt-lv li:before{content:"";width:10px;height:10px;flex-shrink:0;border-radius:3px;background:var(--grid)}
.lt-lv li.d{color:var(--ink2)}
.lt-lv li.d:before{background:var(--brand)}
.lt-lv li.o{color:var(--ink);font-weight:600}
.lt-lv li.o:before{background:var(--brand-soft);box-shadow:inset 0 0 0 2px var(--brand)}
.lt-chat{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:stretch}
.lt-msgs{background:#fff;color:var(--ink);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;gap:10px;padding-bottom:18px}
.lt-mtop{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}
.lt-mtop div{flex:1}
.lt-mtop b{display:block;font-size:15px}
.lt-mtop small{font-size:12.5px;color:var(--muted)}
.lt-app{background:#25D366;color:#fff}.lt-line{background:#06C755}.lt-wechat{background:#07C160}.lt-kakaotalk{background:#FEE500;color:#3A1D1D}
.lt-pill{height:26px;padding:0 10px;border-radius:var(--r);background:var(--brand-soft);color:var(--brand-dk);font-size:12px;font-weight:700;display:flex;align-items:center}
.lt-m{max-width:80%;margin:0 18px;padding:10px 14px;border-radius:var(--r);background:var(--bg);border:1px solid var(--line)}
.lt-m.out{align-self:flex-end;background:#E6F9EE;border-color:#BDEBD0}
.lt-m p{font-size:16px}
.lt-m small{text-transform:none;letter-spacing:0;font-weight:500;display:block;margin-top:4px;padding-top:4px;border-top:1px dashed #D5D8E4;font-size:13px;color:var(--brand-dk)}
.lt-m.out small{color:#0B7A3B;border-top-color:#BDEBD0}
.lt-langs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.lt-l{display:flex;align-items:center;gap:12px;height:64px;padding:0 16px;background:var(--bg);border:1px solid var(--line);border-radius:var(--r)}
.lt-l:hover{border-color:#cfd2e0;background:#fff}
.lt-l.on{border-color:var(--brand);background:#fff}
.lt-l b{flex:1;font-size:15px}
.lt-l .mono{font-size:12.5px;color:var(--muted)}
@media (max-width:1100px){
  .lt-tones,.lt-tones.n4{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .lt-tones.n5 .lt-tone:last-child{grid-column:span 2}
  .lt-path{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lt-chat{grid-template-columns:minmax(0,1fr)}
  .lt-langs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .lt-path{grid-template-columns:minmax(0,1fr)}
  .lt-ph th:nth-child(2),.lt-ph td:nth-child(2),.lt-ph th:nth-child(4),.lt-ph td:nth-child(4),.lt-ph th:nth-child(5),.lt-ph td:nth-child(5){display:none}
  .lt-ph td.act{width:96px}.lt-ph td.act .btn{width:84px}
  .lt-m{max-width:88%}
  .lt-tone.tx b{font-size:17px;min-height:44px}
}
