/* Native CSS adaptation of Open Design's Claymorphism design reference.
   https://github.com/nexu-io/open-design/tree/main/design-systems/claymorphism
   Apache-2.0: see open-design-LICENSE.txt. Adapted for Tiếng Trung Song Ngữ. */
:root{--depth-ink:#352938;--depth-muted:#746873;--depth-line:#ebdeda;--depth-coral:#e64b5a;--depth-wine:#693449;--depth-shadow:0 18px 40px #63374912,0 3px 0 #e8d9d6}
html{scroll-padding-top:108px}
body{background:radial-gradient(ellipse at 85% 8%,#fbe6e2 0,transparent 40%),linear-gradient(135deg,#fffaf6,#f5f3f6)!important;color:var(--depth-ink)}
.public-site-view{max-width:1440px;margin:auto;padding:0 40px;background:transparent!important}
.public-header{position:sticky;top:0;z-index:40;gap:22px;min-height:82px;padding:12px 22px;background:#fffaf6ed!important;backdrop-filter:blur(16px);border:1px solid #ffffff!important;border-radius:0 0 24px 24px!important;box-shadow:0 10px 30px #6337490a!important}
.public-logo{flex-shrink:0;gap:10px}.public-logo-mark{width:45px;height:45px;filter:drop-shadow(0 4px 3px #60303a20)}
.public-logo b{font-size:15px;line-height:1.25;letter-spacing:-.4px;color:var(--depth-ink)}.public-logo b small{font-size:9px;letter-spacing:1.4px;margin-top:3px;font-weight:600;color:var(--depth-muted)}
.public-nav{gap:18px}.public-nav a{font-size:12px;font-weight:650}.public-nav a:hover{color:var(--depth-coral)}
.public-learn-button{background:linear-gradient(135deg,#f57171,#df4253)!important;box-shadow:0 4px 0 #a73547,0 8px 20px #df425325!important;border:1px solid #ffffff66!important;border-radius:14px!important;transition:transform .16s,box-shadow .16s}
.public-learn-button:active{transform:translateY(3px);box-shadow:0 1px 0 #a73547!important}
.public-main{padding-top:36px}.coral-hero{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:32px;padding:48px!important;margin-bottom:48px;border-radius:34px!important;border:1px solid #fff!important;background:linear-gradient(130deg,#fffdf9 0%,#fff2eb 58%,#f4e5eb 100%)!important;box-shadow:0 7px 0 #e8d8d5,0 28px 64px #63374913!important;overflow:visible!important}
.coral-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;background:#fff9f4;border:1px solid #e9d8d1;border-radius:8px;font-size:10px!important;color:#7c525c!important;letter-spacing:1.5px;margin-bottom:20px}
.coral-eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:#d95464;box-shadow:0 0 0 3px #f6dfe0}
.coral-hero h1{font-size:clamp(32px,3.7vw,54px)!important;line-height:1.13!important;letter-spacing:-2px!important;color:var(--depth-ink)!important;margin-bottom:22px}.coral-hero h1 em{color:#be4559!important}
.coral-hero-copy>p:not(.coral-eyebrow){color:var(--depth-muted)!important;font-size:14px!important;line-height:1.65}
.coral-hero-search{background:linear-gradient(140deg,#fff,#fffaf8)!important;border:1px solid #fff!important;border-radius:19px!important;box-shadow:inset 0 1px 0 #fff,0 4px 0 #e4d3d0,0 12px 25px #6934490b!important}
.coral-hero-search input{background:transparent!important;color:var(--depth-ink)!important;min-height:48px}
.coral-hero-search button{background:linear-gradient(140deg,#f37374,#dd4456)!important;box-shadow:0 3px 0 #aa3549;border:1px solid #ffffff55!important;border-radius:13px!important;min-height:44px;transition:transform .15s,box-shadow .15s}
.coral-hero-search button:active{transform:translateY(2px);box-shadow:0 1px 0 #aa3549}
.coral-language-hints span,.coral-example-links button{background:linear-gradient(#fff,#fcf4f0)!important;border:1px solid white!important;box-shadow:0 2px 0 #e8d6d1,0 6px 10px #69344907;color:#7b4f60!important}
.hero-dictionary-result{background:#fffcfa!important;border-color:#e8d4cf!important;box-shadow:0 8px 18px #6934490a!important}.hero-dictionary-result [role=status],.hero-dictionary-result p{color:#6c5966!important}
.depth-hero-visual{position:relative;min-width:0;height:420px;perspective:900px;isolation:isolate;display:grid;place-items:center}
.depth-hero-visual:before{content:"";position:absolute;width:88%;height:84%;border-radius:50%;background:radial-gradient(circle at 35% 24%,#fffdf8,#f4d9d2 60%,#dabac7);box-shadow:inset 0 2px 4px #fff,0 22px 38px #753d501b;transform:rotate(-10deg);z-index:-2}
.depth-hero-visual:after{content:"";position:absolute;bottom:2%;left:8%;right:3%;height:42px;border-radius:50%;background:linear-gradient(100deg,#edd5ce,#fdf4e9);border:1px solid #fff;box-shadow:0 7px 0 #ceb2b7,0 24px 24px #6337491c;transform:rotate(-6deg);z-index:-1}
.depth-hero-visual .coral-hero-art{position:relative!important;inset:auto!important;width:114%!important;max-width:none!important;height:360px!important;max-height:none!important;object-fit:contain;opacity:1!important;filter:drop-shadow(8px 20px 12px #6a3a4d24)!important;transform:translateZ(40px) translateY(-4px)}
.depth-language-tile{position:absolute;display:grid;place-items:center;font-family:serif;font-weight:700;border:1px solid #ffffffbd;border-radius:22px;box-shadow:inset 0 2px 0 #ffffff80,0 5px 0 #b85065,0 18px 24px #68334330;line-height:1;text-shadow:0 3px 0 #ae3b5440}
.depth-tile-one{top:3%;left:2%;width:76px;height:84px;font-size:48px;color:#fff;background:radial-gradient(at 15% 10%,#ffa6a1,#e66d7d 65%,#ca506b);transform:rotate(-14deg) translateZ(60px)}
.depth-tile-two{right:-1%;bottom:14%;width:64px;height:70px;font-size:37px;color:#7b4a72;background:linear-gradient(140deg,#fff,#e4d9ec);box-shadow:inset 0 2px 0 #fff,0 5px 0 #c8b7d4,0 18px 24px #68334320;transform:rotate(14deg) translateZ(90px)}
.depth-art-caption{position:absolute;bottom:-16px;left:9%;right:0;display:flex;justify-content:center;gap:8px;font-size:10px;letter-spacing:1.5px;font-weight:700;color:#87606d}
.coral-section-title{margin-bottom:22px}.coral-section-title h2,.public-section h2{color:var(--depth-ink);letter-spacing:-.5px}.coral-module-grid{gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.coral-module{padding:22px!important;align-items:center;min-height:130px;border:1px solid #fff!important;border-radius:23px!important;background:linear-gradient(130deg,#fff,#fffaf8)!important;box-shadow:var(--depth-shadow)!important;transition:transform .18s,box-shadow .18s!important}
.coral-module:hover{transform:translateY(-4px);box-shadow:0 24px 40px #63374918,0 5px 0 #e4c9c5!important}.coral-module:active{transform:translateY(2px)}
.coral-module-icon{width:51px;flex-basis:51px;height:54px;border-radius:17px;background:linear-gradient(135deg,#fff0e8,#f3c4be)!important;border:1px solid #fff;box-shadow:0 4px 0 #dca39e,0 8px 16px #b94f6020;color:#b6485c!important;font-size:29px}
.module-1 .coral-module-icon,.module-5 .coral-module-icon{background:linear-gradient(135deg,#f4efff,#d9caeb)!important;box-shadow:0 4px 0 #b9a5cf,0 8px 16px #69508d16;color:#795d9a!important}
.module-3 .coral-module-icon,.module-4 .coral-module-icon{background:linear-gradient(135deg,#f0f6fb,#c8dae5)!important;box-shadow:0 4px 0 #a7bfce,0 8px 16px #38557416;color:#4f6b83!important}
.coral-module-copy{gap:5px;padding:0 16px 0 6px}.coral-module-copy b{font-size:15px}.coral-module-copy small{font-size:12px;line-height:1.5}.coral-module-copy>span{font-size:10px;opacity:.8}.coral-module-arrow{right:17px;bottom:17px;background:transparent;color:#a77983;font-size:22px}
.public-section,.path-week-card,.path-card,.sample-lesson-card{border-radius:26px!important}.path-week-card,.path-card,.sample-lesson-card{background:linear-gradient(140deg,#fff,#fffaf8)!important;border:1px solid white!important;box-shadow:var(--depth-shadow)!important}
.public-footer{background:linear-gradient(140deg,#f7eae5,#f1e9ee)!important;border:1px solid white!important;border-radius:30px 30px 0 0!important;color:var(--depth-ink)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #795682!important;outline-offset:4px}
@media(max-width:1250px){.public-site-view{padding:0 24px}.public-header{gap:14px;padding:12px 16px}.public-nav{gap:12px}.public-nav a{font-size:11px}.coral-hero{padding:34px!important;gap:20px}.depth-hero-visual{height:340px}.depth-hero-visual .coral-hero-art{height:300px!important}}
@media(max-width:900px){.public-header{gap:10px}.public-nav{gap:9px}.coral-hero{grid-template-columns:1.12fr .88fr}.depth-hero-visual{height:290px}.depth-hero-visual .coral-hero-art{height:260px!important}.depth-tile-one{width:58px;height:64px;font-size:35px}.depth-tile-two{width:48px;height:53px;font-size:30px}.coral-module-grid{gap:13px}.coral-module{padding:17px!important;flex-direction:column;align-items:flex-start}.coral-module-copy{padding:7px 0 12px}}
@media(max-width:760px){html{scroll-padding-top:90px}.public-site-view{padding:0 16px}.public-header{min-height:72px;border-radius:0 0 19px 19px!important;padding:10px 12px}.public-logo b{font-size:13px}.public-main{padding-top:22px}.coral-hero{grid-template-columns:1fr;padding:25px 23px!important;gap:14px;margin-bottom:34px;border-radius:27px!important}.coral-hero h1{font-size:34px!important;letter-spacing:-1px!important}.coral-eyebrow{font-size:8px!important;letter-spacing:.9px;margin-bottom:17px}.depth-hero-visual{height:250px;width:82%;max-width:350px;justify-self:center;margin:4px 0 20px}.depth-hero-visual .coral-hero-art{height:250px!important}.depth-hero-visual:before{height:96%}.depth-art-caption{font-size:8px;letter-spacing:1px;bottom:-17px}.coral-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.coral-module{padding:17px!important;min-height:175px}.coral-module-copy b{font-size:14px}.coral-module-copy small{font-size:11px}.public-footer{border-radius:24px 24px 0 0!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}.coral-module:hover{transform:none}}

/* Explicit placement supersedes the previous full-image mobile hero rules. */
#tu-dien.coral-hero>.coral-hero-copy{grid-column:1;grid-row:1;max-width:100%}
#tu-dien.coral-hero>.depth-hero-visual{grid-column:2;grid-row:1}
#tu-dien.coral-hero .depth-hero-visual .coral-hero-art{grid-column:1!important;grid-row:1!important}
@media(max-width:760px){
  #tu-dien.coral-hero>.depth-hero-visual{grid-column:1;grid-row:2;height:220px;margin:8px 0 18px}
  #tu-dien.coral-hero .depth-hero-visual .coral-hero-art{height:220px!important}
  #tu-dien.coral-hero h1{font-size:30px!important;line-height:1.16!important}
  .public-header{flex-wrap:nowrap!important;min-height:72px;gap:7px;padding:10px!important}
  .public-logo{flex:1 1 104px!important;min-width:0!important;gap:6px}
  .public-logo b{font-size:11px!important;line-height:1.3}.public-logo b small{display:none}
  .header-actions{flex-wrap:nowrap!important;gap:5px!important;flex-shrink:0}
  .header-actions .tcx-language-host>span{display:none}
  .header-actions .tcx-language-host select{width:72px;min-width:0;font-size:10px;padding:8px 3px!important;height:36px;min-height:36px}
  .public-learn-button{max-width:76px!important;min-width:0;padding:7px!important;font-size:10px!important;line-height:1.25}
  .public-learn-button svg,.public-learn-button .link-arrow{display:none}
  .header-admin{width:24px!important;min-width:24px!important;flex:0 0 24px!important;padding:0!important}
  .menu-toggle{width:30px!important;min-width:30px!important;flex:0 0 30px!important;height:36px;min-height:36px}
}
