
:root{--ink:#0b1535;--muted:#697089;--line:#e6e9f2;--soft:#f7f6ff;--purple:#6d4aff;--blue:#1499ff;--green:#2d9c69;--orange:#df861b;--red:#cf4242;--shadow:0 12px 34px rgba(42,38,90,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 32px));margin:auto}
header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.95);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.nav{min-height:80px;display:flex;align-items:center;gap:22px}.brand img{width:255px;display:block}.navlinks{display:flex;gap:17px;margin-left:auto;font-size:14px;font-weight:700}.navlinks a:hover{color:var(--purple)}.menubtn{display:none;margin-left:auto;border:0;background:var(--soft);padding:11px 13px;border-radius:14px;font-size:20px}
.search{position:relative}.search input,.input{width:100%;border:1px solid var(--line);border-radius:16px;padding:17px 48px 17px 18px;font-size:16px;outline:none;background:#fff}.search input:focus,.input:focus{border-color:var(--purple);box-shadow:0 0 0 4px rgba(109,74,255,.09)}.mag{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#747b91}.navsearch{width:320px;margin-left:auto}.results{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;z-index:60}.results a{display:block;padding:12px 14px;border-bottom:1px solid var(--line)}.results small{display:block;color:var(--muted);margin-top:3px}
.hero{background:linear-gradient(135deg,#fff,#faf9ff 55%,#f3f6ff);padding:70px 0;border-bottom:1px solid var(--line)}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:54px}.hero h1{font-size:clamp(48px,6vw,76px);line-height:1.03;letter-spacing:-.045em;margin:0 0 22px}.grad{background:linear-gradient(90deg,var(--blue),var(--purple));-webkit-background-clip:text;color:transparent}.hero p{font-size:21px;line-height:1.55;color:#343d58;max-width:700px;margin:0 0 28px}.hero-art img{width:420px;display:block;margin:auto}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:13px;font-weight:800;color:var(--purple);margin-bottom:9px}
.az{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:20px}.az a{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;font-weight:700;color:#503bd5}.az a:hover,.az a.active{background:var(--purple);color:white}
.section{padding:66px 0}.soft{background:#fafaff}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}h2{font-size:clamp(32px,4vw,48px);letter-spacing:-.035em;margin:0}h3{margin:0 0 8px}.lead{font-size:18px;line-height:1.6;color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border-radius:14px;background:linear-gradient(90deg,var(--blue),var(--purple));color:white;font-weight:800;border:0;cursor:pointer}.btn.outline{background:white;color:var(--purple);border:1px solid #d8d2ff}
.grid{display:grid;gap:20px}.g5{grid-template-columns:repeat(5,1fr)}.g4{grid-template-columns:repeat(4,1fr)}.g3{grid-template-columns:repeat(3,1fr)}.card{background:white;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow)}.term-card{min-height:210px;display:flex;flex-direction:column}.term-card p{color:#4d5570;line-height:1.5}.icon{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#edf3ff,#f3eaff);display:grid;place-items:center;color:var(--purple);font-weight:900;margin-bottom:14px}.meta{margin-top:auto;display:flex;justify-content:space-between;color:#6a7188;font-size:13px}.category{border:1px solid var(--line);border-radius:18px;padding:22px;background:white}.category small{color:var(--muted)}
.feature-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-top:28px}.feature{padding:22px;display:flex;gap:12px;border-right:1px solid var(--line)}.feature:last-child{border-right:0}.feature small{display:block;color:var(--muted);margin-top:4px;line-height:1.4}
.journey{display:flex;align-items:stretch;gap:12px;overflow-x:auto;padding-bottom:8px}.journey a{min-width:135px;text-align:center;padding:18px 13px;border:1px solid var(--line);border-radius:18px;background:#fff}.journey .arrow{display:grid;place-items:center;color:var(--purple);font-size:22px}
.pagehero{padding:50px 0 28px;background:linear-gradient(180deg,#faf9ff,#fff)}.crumb{font-size:14px;color:var(--muted);margin-bottom:18px}.toolbar{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:24px 0}.term-list{border:1px solid var(--line);border-radius:20px;overflow:hidden}.term-row{display:grid;grid-template-columns:1.1fr 2fr 110px 25px;gap:14px;align-items:center;padding:17px 20px;border-bottom:1px solid var(--line)}.term-row:last-child{border-bottom:0}.term-row:hover{background:#fbfaff}
.term-layout{display:grid;grid-template-columns:1fr 340px;gap:32px}.term-main h1{font-size:58px;letter-spacing:-.04em;margin:0 0 8px}.full{font-size:24px;color:var(--muted)}.summary{font-size:22px;line-height:1.55;font-weight:650;margin:22px 0}.info{background:#faf8ff;border:1px solid #e8e0ff;border-radius:20px;padding:24px;margin:18px 0}.info h3{font-size:13px;color:var(--purple);text-transform:uppercase;letter-spacing:.09em}.info p{font-size:18px;line-height:1.65;margin:8px 0 0}.info.greenbox{background:#f1fbf6;border-color:#d5f0e2}.info.orangebox{background:#fff8ed;border-color:#f5e1bd}.info.yellowbox{background:#fffbed;border-color:#f4e7b9}.pills{display:flex;gap:9px;flex-wrap:wrap}.pill,.badge{border-radius:999px;padding:9px 13px;font-size:13px;font-weight:800;background:#f0edff;color:#5b43dd}.green{background:#eaf8ef;color:#278957}.orange{background:#fff3df;color:#ae6a12}.red{background:#ffe8e8;color:#c84141}.side{position:sticky;top:100px}
details{border:1px solid var(--line);border-radius:18px;padding:17px 20px;margin:14px 0;background:white}summary{cursor:pointer;font-weight:800;font-size:18px}details p{color:#4d5570;line-height:1.65}
.timeline{position:relative;max-width:800px;margin:30px auto;padding-left:30px}.timeline:before{content:"";position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:#d9d5f7}.timeline-item{position:relative;margin-bottom:30px}.timeline-item:before{content:"";position:absolute;left:-29px;top:7px;width:14px;height:14px;background:var(--purple);border-radius:50%;box-shadow:0 0 0 5px #f0edff}
.compare-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.compare-table{width:100%;border-collapse:collapse;border:1px solid var(--line)}.compare-table th,.compare-table td{padding:14px;border-bottom:1px solid var(--line);text-align:left}.compare-table th{background:#fafaff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}textarea.input{min-height:150px}
.feedback{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:26px}.vote button{border:1px solid var(--line);background:white;border-radius:14px;padding:10px 16px;font-size:18px;cursor:pointer}
footer{background:#0d1534;color:white;padding:48px 0 22px;margin-top:65px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}footer a{display:block;color:#cfd4ea;margin:9px 0}footer .brand img{filter:none;width:255px;height:auto;display:block}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:20px;color:#aab1cd;display:flex;justify-content:space-between;gap:18px}.mobilebar{display:none}
@media(max-width:980px){.navlinks{display:none}.menubtn{display:block}.navsearch{display:none}.hero-grid,.term-layout{grid-template-columns:1fr}.hero-art{order:-1}.hero-art img{width:280px}.g5{grid-template-columns:repeat(2,1fr)}.g4,.g3{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.side{position:static}.feature-strip{grid-template-columns:1fr 1fr}.feature:nth-child(2){border-right:0}}
@media(max-width:640px){.container{width:min(100% - 22px,1180px)}.nav{min-height:66px}.brand img{width:210px}.hero{padding:34px 0}.hero-art{display:none}.hero h1{font-size:43px}.hero p{font-size:17px}.section{padding:46px 0}.section-head{align-items:flex-start;flex-direction:column}.g5,.g4,.g3,.compare-grid,.form-grid{grid-template-columns:1fr}.term-row{grid-template-columns:1fr 80px 20px}.term-row .desc{display:none}.term-main h1{font-size:44px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.feature-strip{grid-template-columns:1fr}.feature{border-right:0;border-bottom:1px solid var(--line)}.feature:last-child{border-bottom:0}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:50;background:white;border-top:1px solid var(--line);justify-content:space-around;padding:10px 3px 16px}.mobilebar a{font-size:11px;text-align:center;color:#596079}.mobilebar b{display:block;font-size:19px;margin-bottom:3px}body{padding-bottom:70px}}

footer .brand{display:inline-flex;align-items:center;background:transparent;padding:0;margin:0 0 12px}
footer .brand img{filter:none!important;width:255px!important;height:auto!important;object-fit:contain;opacity:1!important}

/* v1.0.2 mobile layout fixes */
.feature-strip{
  background:#fff;
}
.feature{
  align-items:flex-start;
  min-width:0;
}
.feature > span{
  flex:0 0 36px;
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#f4f1ff;
  font-size:20px;
  line-height:1;
}
.feature > div{
  min-width:0;
  display:block;
}
.feature b{
  display:block;
  font-size:16px;
  line-height:1.25;
  margin:0 0 5px;
}
.feature small{
  display:block;
  font-size:14px;
  line-height:1.45;
  color:var(--muted);
}
@media(max-width:640px){
  .feature-strip{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    border:0!important;
    background:transparent!important;
    overflow:visible!important;
  }
  .feature{
    display:flex!important;
    align-items:flex-start!important;
    gap:14px!important;
    width:100%!important;
    padding:16px!important;
    border:1px solid var(--line)!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 8px 24px rgba(42,38,90,.05)!important;
  }
  .feature:last-child{
    border:1px solid var(--line)!important;
  }
  .feature b{
    display:block!important;
    font-size:17px!important;
    margin-bottom:4px!important;
  }
  .feature small{
    display:block!important;
    font-size:14px!important;
    line-height:1.45!important;
  }
  .section.soft{
    padding-top:52px!important;
  }
  .journey{
    padding-bottom:14px;
  }
  .mobilebar{
    min-height:72px;
  }
}

/* v1.0.3 transparent logo update */
header .brand img{
  width:255px!important;
  height:auto!important;
  object-fit:contain!important;
  background:transparent!important;
  filter:none!important;
}
footer .brand{
  display:inline-flex!important;
  align-items:center!important;
  background:transparent!important;
  padding:0!important;
  margin:0 0 14px!important;
}
footer .brand img{
  width:275px!important;
  height:auto!important;
  object-fit:contain!important;
  background:transparent!important;
  filter:none!important;
  opacity:1!important;
}
@media(max-width:640px){
  header .brand img{width:210px!important}
  footer .brand img{width:245px!important}
}

/* v1.0.4 footer brand fix — icon + live white text */
footer .footer-brand{
  display:inline-flex!important;
  align-items:center!important;
  gap:14px!important;
  background:transparent!important;
  padding:0!important;
  margin:0 0 16px!important;
  text-decoration:none!important;
}
footer .footer-brand img{
  width:88px!important;
  height:88px!important;
  object-fit:contain!important;
  background:transparent!important;
  filter:none!important;
  opacity:1!important;
  flex:0 0 88px!important;
}
footer .footer-brand-copy{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
}
footer .footer-brand-copy strong{
  color:#ffffff!important;
  font-size:30px!important;
  line-height:1.05!important;
  letter-spacing:-0.03em!important;
  white-space:nowrap!important;
}
footer .footer-brand-copy .footer-ai{
  color:#3f86ff!important;
}
footer .footer-brand-copy .footer-lab{
  color:#8b68ff!important;
}
footer .footer-brand-copy small{
  color:#cfd4ea!important;
  font-size:14px!important;
  margin-top:7px!important;
  line-height:1.3!important;
}
@media(max-width:640px){
  footer .footer-brand{
    gap:12px!important;
  }
  footer .footer-brand img{
    width:74px!important;
    height:74px!important;
    flex-basis:74px!important;
  }
  footer .footer-brand-copy strong{
    font-size:25px!important;
  }
  footer .footer-brand-copy small{
    font-size:12px!important;
  }
}

/* AIGlossaryLab v1.1 polish */
header .brand img{
  width:275px!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
}

footer{
  padding:44px 0 22px!important;
}

footer .footer-brand-v11{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  margin:0 0 18px!important;
  background:transparent!important;
}

footer .footer-brand-v11 img{
  width:64px!important;
  height:64px!important;
  flex:0 0 64px!important;
  object-fit:contain!important;
  background:transparent!important;
  filter:none!important;
  opacity:1!important;
  border-radius:16px!important;
}

footer .footer-brand-copy-v11{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
}

footer .footer-brand-copy-v11 strong{
  font-size:28px!important;
  line-height:1.05!important;
  letter-spacing:-0.03em!important;
  white-space:nowrap!important;
  color:#fff!important;
}

footer .footer-brand-copy-v11 .footer-ai{
  color:#4b8dff!important;
}

footer .footer-brand-copy-v11 .footer-lab{
  color:#9b79ff!important;
}

footer .footer-brand-copy-v11 small{
  color:#cfd4ea!important;
  font-size:14px!important;
  line-height:1.35!important;
  margin-top:6px!important;
}

footer .footer-grid{
  align-items:start!important;
}

footer .footer-grid > div:first-child{
  max-width:360px!important;
}

footer .footer-grid h3{
  margin-top:2px!important;
}

@media(max-width:980px){
  header .brand img{
    width:235px!important;
  }
}

@media(max-width:640px){
  header .brand img{
    width:225px!important;
  }

  footer{
    padding:34px 0 18px!important;
  }

  footer .footer-brand-v11{
    gap:12px!important;
    margin-bottom:16px!important;
  }

  footer .footer-brand-v11 img{
    width:56px!important;
    height:56px!important;
    flex-basis:56px!important;
    border-radius:14px!important;
  }

  footer .footer-brand-copy-v11 strong{
    font-size:23px!important;
  }

  footer .footer-brand-copy-v11 small{
    font-size:12px!important;
    margin-top:4px!important;
  }

  footer .footer-grid{
    gap:24px!important;
  }

  footer .footer-grid > div{
    min-width:0!important;
  }

  footer .footer-grid a{
    margin:8px 0!important;
  }
}

/* ===== AIGlossaryLab v1.2 Knowledge Edition ===== */
.term-hero{padding-bottom:34px}
.term-title-row{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}
.term-title-row h1{font-size:64px;letter-spacing:-.05em;margin:13px 0 3px}
.term-definition{font-size:18px;line-height:1.55;border:1px solid var(--line);border-radius:16px;padding:17px 19px;background:#fff;margin:24px 0 0}
.term-meta{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:14px;margin-top:13px}
.save-btn{border:1px solid #dcd7ff;background:#fff;color:var(--purple);padding:11px 15px;border-radius:13px;font-weight:800;cursor:pointer}
.term-section{padding-top:26px}
.term-layout-v12{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}
.term-main-v12{min-width:0}
.learning-card{display:flex;gap:16px;padding:23px;border:1px solid var(--line);border-radius:20px;margin-bottom:15px;box-shadow:0 8px 26px rgba(42,38,90,.045)}
.learning-card h2{font-size:21px;margin:0 0 8px;letter-spacing:-.02em}
.learning-card p{font-size:17px;line-height:1.62;margin:0;color:#333b56}
.section-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;flex:0 0 38px;font-weight:900}
.purple-card{background:#fbf9ff;border-color:#e9e1ff}.purple-card .section-icon{background:#6d4aff;color:#fff}
.green-card{background:#f6fdfa;border-color:#d8f0e3}.green-card .section-icon{background:#2da66e;color:#fff}
.blue-card{background:#f6f9ff;border-color:#dde8ff}.blue-card .section-icon{background:#2578ec;color:#fff}
.content-detail{padding:0;overflow:hidden;background:#fff}
.content-detail summary,.mobile-detail summary{padding:18px 20px;font-size:18px}
.detail-body{padding:0 20px 20px;border-top:1px solid var(--line)}
.detail-body p{font-size:16px;line-height:1.7;color:#3d4560}
.term-side-v12{position:sticky;top:98px;display:grid;gap:15px}
.side-card{border:1px solid var(--line);border-radius:18px;padding:20px;background:#fff;box-shadow:var(--shadow)}
.side-card h2{font-size:19px;margin:0 0 15px}
.warning-card{background:#fffaf1;border-color:#f2dfb7}
.glance-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.glance-grid div{min-width:0}
.glance-grid span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
.glance-grid b{font-size:14px}
.clean-list{list-style:none;margin:0;padding:0}
.clean-list li{margin:10px 0;color:#48506b;line-height:1.4}
.next-link{display:block;border-radius:14px;padding:13px 15px;background:#f3f0ff;color:#553fd2;font-weight:800}
.glance-mobile{display:none}
.mini-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.mini-timeline div{border-left:3px solid var(--purple);padding:4px 0 4px 13px}
.mini-timeline b,.mini-timeline span{display:block}.mini-timeline span{font-size:14px;color:#555e77;line-height:1.45;margin-top:5px}
.learn-next-section,.simple-section{margin-top:30px}
.learn-row{display:flex;gap:12px;overflow-x:auto;padding-bottom:9px}
.learn-card{display:flex;gap:11px;align-items:flex-start;min-width:205px;border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}
.learn-card>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf3ff;color:#236ce1;font-weight:900;flex:0 0 28px}
.learn-card b,.learn-card small{display:block}.learn-card small{font-size:12px;line-height:1.4;color:var(--muted);margin-top:5px}
.muted-copy,.review-date{color:var(--muted);line-height:1.55}.review-date{font-size:13px;margin-top:15px}
.source-list{display:flex;gap:8px;flex-wrap:wrap}.source-chip{padding:8px 11px;border:1px solid var(--line);border-radius:999px;background:#fafaff;font-size:13px;font-weight:700}
.feedback-v12{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:32px;padding:24px;border:1px solid #e2dcff;background:#faf8ff;border-radius:20px}
.feedback-v12 h2{font-size:21px;margin:0 0 5px}.feedback-v12 p{margin:0;color:var(--muted)}
.feedback-buttons{display:flex;gap:10px}.feedback-buttons button{padding:13px 16px;border-radius:13px;border:1px solid var(--line);background:#fff;font-weight:800;cursor:pointer}
.feedback-up{color:#18875a}.feedback-down{color:#c44343}
.hero-v12{padding-bottom:62px}.hero-search input{font-size:18px;padding:20px 52px 20px 20px}
.featured-term-v12{display:grid;grid-template-columns:1fr 250px;gap:30px;align-items:center;padding:34px;border:1px solid #e2dcff;border-radius:26px;background:linear-gradient(135deg,#fff,#f8f5ff);box-shadow:var(--shadow)}
.featured-term-v12 h2{font-size:48px;margin:5px 0}.featured-term-v12 h3{font-size:21px;margin-bottom:14px}.featured-term-v12 p{font-size:18px;line-height:1.6;color:#47506a}
.featured-symbol{height:210px;border-radius:25px;background:linear-gradient(135deg,#1aa3ff,#6f3fff);display:grid;place-items:center;color:#fff;font-size:58px;font-weight:900}
.horizontal-scroll{display:flex;gap:15px;overflow-x:auto;padding:4px 2px 13px}
.mini-term-card{min-width:230px;max-width:260px;border:1px solid var(--line);border-radius:18px;padding:18px;background:#fff;box-shadow:0 7px 24px rgba(42,38,90,.04)}
.mini-term-card span,.mini-term-card b,.mini-term-card small{display:block}.mini-term-card span{font-size:12px;color:var(--purple);font-weight:800;margin-bottom:8px}.mini-term-card b{font-size:20px;margin-bottom:7px}.mini-term-card small{font-size:13px;line-height:1.45;color:var(--muted)}
@media(max-width:980px){
 .term-layout-v12{grid-template-columns:1fr}.term-side-v12{position:static}.term-side-v12 .side-card:first-child{display:none}.glance-mobile{display:block}
 .featured-term-v12{grid-template-columns:1fr 180px}.featured-symbol{height:170px}
}
@media(max-width:640px){
 .term-title-row h1{font-size:44px}.term-title-row{align-items:center}.save-btn{font-size:12px;padding:9px 11px}.term-meta{gap:9px;font-size:12px}
 .term-definition{font-size:16px}.learning-card{padding:17px;gap:12px}.learning-card h2{font-size:18px}.learning-card p{font-size:15px}
 .content-detail summary,.mobile-detail summary{padding:16px 17px;font-size:16px}.detail-body{padding:0 17px 17px}
 .mini-timeline{grid-template-columns:1fr}.feedback-v12{align-items:flex-start;flex-direction:column}.feedback-buttons{width:100%}.feedback-buttons button{flex:1;font-size:12px}
 .term-side-v12 .side-card{display:none}.glance-mobile{display:block}
 .featured-term-v12{grid-template-columns:1fr;padding:23px}.featured-symbol{display:none}.featured-term-v12 h2{font-size:39px}
 .mini-term-card{min-width:210px}.hero-v12{padding-bottom:42px}
}

/* v1.2.1 app-style term pages */
.mobile-term-header{background:linear-gradient(180deg,#fbfaff,#fff);padding:28px 0 16px}.mobile-actions{display:none}.mobile-term-header h1{font-size:58px;letter-spacing:-.05em;margin:12px 0 2px}.mobile-term-header h2{font-size:24px;margin:0 0 14px;color:#202944}.mobile-term-header>div>p{font-size:17px;line-height:1.55;border:1px solid var(--line);padding:16px 18px;border-radius:16px;background:#fff}.mobile-pills{display:flex;gap:8px;flex-wrap:wrap}.mobile-pills span{padding:8px 12px;border-radius:999px;background:#f0edff;color:#5b43dd;font-weight:800;font-size:13px}.app-term-page{padding-top:18px}.app-term-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.app-term-main{min-width:0}.app-term-side{display:grid;gap:15px;position:sticky;top:98px}.app-accordion{padding:0;overflow:hidden;background:#fff;border-radius:18px;margin:0 0 13px}.app-accordion summary{display:flex;align-items:center;gap:11px;padding:17px 19px;font-size:17px}.app-accordion summary span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:13px;flex:0 0 28px}.app-accordion summary::marker{content:""}.app-accordion summary:after{content:"⌄";margin-left:auto;color:#6f7690}.app-accordion[open] summary:after{content:"⌃"}.accord-purple{background:#fbf9ff;border-color:#e8e0ff}.accord-purple summary span{background:#6d4aff}.accord-green{background:#f4fcf8;border-color:#d6eee1}.accord-green summary span{background:#1e9f65}.accord-blue{background:#f5f8ff;border-color:#dce7ff}.accord-blue summary span{background:#2677e8}.accord-orange{background:#fff9f1;border-color:#f4dfbd}.accord-orange summary span{background:#e98d1d}.accord-red{background:#fff6f3;border-color:#f2d4cb}.accord-red summary span{background:#f05f38}.accord-gold{background:#fffaf0;border-color:#f1dfba}.accord-gold summary span{background:#eaa81d}.accordion-body{padding:0 19px 19px;border-top:1px dashed rgba(104,91,180,.15)}.accordion-body p{font-size:16px;line-height:1.65;color:#333b56}.process-diagram{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:15px;margin-top:15px;overflow-x:auto}.process-step{min-width:105px;text-align:center}.process-step span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;margin:0 auto 7px;background:#f1efff;color:#5d43df;font-size:19px}.process-step b{font-size:12px;line-height:1.3;display:block}.process-diagram i{font-style:normal;color:#737b94;font-size:18px}.example-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px;margin-top:13px}.example-card b,.example-card span{display:block}.example-card b{font-size:13px;color:#1d8e5f;margin-bottom:5px}.example-card span{font-size:14px;line-height:1.5}.app-glance{display:grid;grid-template-columns:1fr 1fr;gap:14px}.app-glance small,.app-glance b{display:block}.app-glance small{font-size:12px;color:var(--muted);margin-bottom:4px}.app-glance b{font-size:14px}.vertical-timeline{position:relative;padding-left:22px}.vertical-timeline:before{content:"";position:absolute;left:6px;top:7px;bottom:7px;width:2px;background:#8a6cff}.vertical-timeline div{position:relative;margin:0 0 18px}.vertical-timeline div:before{content:"";position:absolute;left:-21px;top:6px;width:10px;height:10px;background:#724dff;border-radius:50%}.vertical-timeline b,.vertical-timeline span{display:block}.vertical-timeline span{font-size:14px;color:#566078;margin-top:3px}.learning-path{display:grid;gap:10px}.path-item{display:flex;gap:11px;align-items:flex-start}.path-item>span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#1e9f65;color:#fff;font-weight:900;flex:0 0 26px}.path-item b,.path-item small{display:block}.path-item small{font-size:12px;line-height:1.4;color:var(--muted);margin-top:3px}.reviewed{display:block;margin-top:14px;color:var(--muted)}.feedback-v121{padding:22px;border-radius:18px;border:1px solid #e4ddff;background:#faf8ff;margin-top:18px}.feedback-v121 h2{font-size:20px;margin:0 0 5px}.feedback-v121 p{color:var(--muted);margin:0 0 14px}.feedback-v121>div{display:flex;gap:10px}.feedback-v121 button{padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:#fff;font-weight:800}.feedback-up{color:#18875a}.feedback-down{color:#c44343}@media(max-width:980px){.app-term-grid{grid-template-columns:1fr}.app-term-side{display:none}}@media(max-width:640px){header{display:none}.mobilebar{display:flex}.mobile-term-header{padding-top:10px}.mobile-actions{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:9px;margin-bottom:12px}.mobile-actions a,.mobile-actions button{width:38px;height:38px;border:0;border-radius:12px;background:#f7f6ff;display:grid;place-items:center;font-size:20px;color:#222b47}.mobile-term-header h1{font-size:42px;margin-top:6px}.mobile-term-header h2{font-size:19px}.mobile-term-header>div>p{font-size:15px}.app-term-page{padding-top:8px}.app-accordion{border-radius:15px}.app-accordion summary{padding:15px;font-size:16px}.accordion-body{padding:0 15px 15px}.accordion-body p{font-size:15px}.app-accordion:not([open]){background:#fff}.process-diagram{padding:12px;gap:5px}.process-step{min-width:82px}.process-step span{width:36px;height:36px}.process-step b{font-size:10px}.process-diagram i{font-size:14px}.feedback-v121>div{display:grid;grid-template-columns:1fr 1fr}.feedback-v121 button{font-size:12px}}

/* AIGlossaryLab v1.2.2 — Content Quality MVP */
.mvp-term-hero{background:linear-gradient(180deg,#faf9ff,#fff);padding:42px 0 24px}.mvp-title{display:flex;justify-content:space-between;align-items:flex-start}.mvp-title h1{font-size:62px;letter-spacing:-.05em;margin:14px 0 2px}.mvp-title h2{font-size:23px;margin:0;color:#39415d}.mvp-tags{display:flex;gap:8px;flex-wrap:wrap}.mvp-tags span{padding:7px 11px;border-radius:999px;background:#efecff;color:#5942d2;font-size:12px;font-weight:800}.mvp-summary{font-size:19px;line-height:1.6;max-width:860px;margin:22px 0 0;color:#303954}.mvp-term-page{padding-top:18px}.mvp-reading{max-width:900px}.mvp-card{display:grid;grid-template-columns:46px 1fr;gap:16px;padding:24px;border:1px solid var(--line);border-radius:21px;margin-bottom:16px}.mvp-card h2{font-size:23px;margin:0 0 10px}.mvp-card p{font-size:17px;line-height:1.65;margin:0;color:#333c57}.mvp-number{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:#fff;font-weight:900}.mvp-purple{background:#fbf9ff;border-color:#e7dfff}.mvp-purple .mvp-number{background:#6d4aff}.mvp-green{background:#f4fcf8;border-color:#d6eee1}.mvp-green .mvp-number{background:#239c66}.mvp-blue{background:#f5f8ff;border-color:#dce7ff}.mvp-blue .mvp-number{background:#2879e8}.mvp-orange{background:#fff9f1;border-color:#f2dfbe}.mvp-orange .mvp-number{background:#e89124}.mvp-indigo{background:#f8f7ff;border-color:#dfdcfb}.mvp-indigo .mvp-number{background:#5558ce}.mvp-diagram{display:flex;align-items:center;gap:9px;margin-top:18px;padding:17px;border:1px solid var(--line);border-radius:17px;background:#fff}.mvp-node{flex:1;text-align:center;min-width:0}.mvp-node span{width:35px;height:35px;border-radius:12px;background:#eeebff;color:#5d45da;display:grid;place-items:center;margin:0 auto 8px;font-weight:900}.mvp-node b{font-size:12px;line-height:1.3;display:block}.mvp-arrow{color:#747c95;font-size:20px}.mvp-timeline{margin-top:4px}.mvp-time{display:grid;grid-template-columns:16px 1fr;gap:11px;position:relative;padding-bottom:17px}.mvp-time:before{content:"";position:absolute;left:6px;top:12px;bottom:-2px;width:2px;background:#e0b96a}.mvp-time:last-child:before{display:none}.mvp-time>span{width:14px;height:14px;border-radius:50%;background:#e89124;margin-top:4px;z-index:1}.mvp-time b{font-size:15px}.mvp-time p{font-size:14px;line-height:1.45;margin:4px 0 0}.mvp-date-note{display:block;color:#767d92;line-height:1.45;margin-top:3px}.mvp-intro{margin-bottom:14px!important}.mvp-next-grid{display:grid;gap:10px}.mvp-next{display:grid;grid-template-columns:150px 1fr 20px;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);background:#fff;border-radius:14px}.mvp-next b{color:#4333bb}.mvp-next span{font-size:13px;line-height:1.4;color:#697089}.mvp-next i{font-style:normal;color:#5b44d4}.mvp-feedback{text-align:center;padding:27px 18px;margin-top:24px;border-top:1px solid var(--line)}.mvp-feedback h2{font-size:22px}.mvp-feedback p{color:#697089}.mvp-feedback button{padding:12px 20px;border:1px solid var(--line);background:#fff;border-radius:13px;font-weight:800;margin:4px;cursor:pointer}.mvp-feedback-message{display:block;margin-top:10px;color:#288258;font-weight:800}
@media(max-width:640px){header{display:block}.mvp-term-hero{padding:24px 0 17px}.mvp-title h1{font-size:43px}.mvp-title h2{font-size:18px}.mvp-summary{font-size:16px}.mvp-card{grid-template-columns:36px 1fr;gap:11px;padding:17px;border-radius:17px}.mvp-number{width:34px;height:34px}.mvp-card h2{font-size:19px}.mvp-card p{font-size:15px}.mvp-diagram{padding:12px 8px;gap:3px}.mvp-node span{width:30px;height:30px}.mvp-node b{font-size:9px}.mvp-arrow{font-size:13px}.mvp-next{grid-template-columns:1fr 18px}.mvp-next span{display:none}.mvp-feedback{padding-bottom:22px}}


/* AIGlossaryLab v1.2.4 — Responsive Landing Page Refresh */
.home-refresh{background:radial-gradient(circle at 82% 10%,rgba(33,150,255,.12),transparent 28%),radial-gradient(circle at 65% 24%,rgba(111,63,255,.09),transparent 30%),#fff}
.home-hero-compact{padding:48px 0 22px}
.compact-hero-grid{display:grid;grid-template-columns:1fr .9fr;gap:52px;align-items:center}
.compact-hero-copy h1{font-size:clamp(48px,5.2vw,72px);line-height:1.03;letter-spacing:-.05em;margin:0 0 20px}
.compact-hero-copy p{max-width:560px;font-size:19px;line-height:1.55;color:#3c4560;margin:0}
.hero-benefits{display:flex;flex-wrap:wrap;gap:24px;margin-top:24px;color:#4f5872;font-size:14px;font-weight:700}
.compact-hero-visual{position:relative;min-height:260px;display:grid;place-items:center}
.compact-hero-visual img{width:132px;height:132px;border-radius:30px;box-shadow:0 24px 50px rgba(84,63,220,.22);position:relative;z-index:3}
.compact-hero-visual:before,.compact-hero-visual:after{content:"";position:absolute;width:310px;height:180px;border:1px dashed rgba(93,73,225,.28);border-radius:30px}
.compact-hero-visual:after{width:190px;height:250px}
.concept{position:absolute;z-index:4;min-width:82px;padding:14px 12px;border:1px solid rgba(108,87,225,.15);border-radius:16px;background:rgba(255,255,255,.92);box-shadow:0 14px 30px rgba(43,38,98,.08);text-align:center;color:#4432bd;font-weight:800;font-size:13px}
.concept-llm{top:8px;left:18%}.concept-rag{top:8px;right:15%}.concept-agent{bottom:7px;left:15%}.concept-mcp{bottom:7px;right:12%}
.glossary-stage{padding:0 0 24px}
.glossary-box{border:1.5px solid #9e8dff;border-radius:24px;background:rgba(255,255,255,.92);box-shadow:0 20px 52px rgba(51,43,122,.10);padding:28px}
.glossary-box-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.glossary-title-wrap{display:flex;align-items:center;gap:15px}
.glossary-mark{width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#774eff,#4429d7);font-size:27px;font-weight:900}
.glossary-title-wrap h2{font-size:25px;text-transform:uppercase;letter-spacing:-.02em}.glossary-title-wrap p{margin:5px 0 0;color:var(--muted)}
.term-count{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:9px 14px;background:#edf9f4;color:#26344d;border-radius:999px;font-size:13px;font-weight:800}
.term-count i{width:8px;height:8px;border-radius:50%;background:#2bbd84}
.glossary-search-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:12px;margin-top:22px}
.glossary-main-search input{min-height:58px;border-radius:14px}
.glossary-search-button{border:0;border-radius:14px;color:#fff;font-size:16px;font-weight:800;background:linear-gradient(100deg,#5337df,#7646f5);cursor:pointer;box-shadow:0 10px 22px rgba(92,57,220,.20)}
.glossary-letters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:17px}
.glossary-letters b{margin-right:8px;font-size:14px}
.glossary-letters a{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;color:#553ed2;font-weight:800;font-size:14px}
.glossary-letters a:hover,.glossary-letters a.active{color:#fff;background:linear-gradient(135deg,#6e4aff,#5130df)}
.glossary-tip{display:flex;align-items:center;gap:7px;margin-top:18px;padding:13px 16px;border-radius:13px;background:linear-gradient(90deg,#f4f0ff,#f5f4ff);color:#303854;font-size:14px}
.glossary-tip span{color:#6549e8;font-size:22px}
.home-content{padding:0 0 34px}
.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.benefit-card{min-width:0;display:flex;gap:13px;padding:17px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.9);transition:.2s ease}
.benefit-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(42,38,90,.07)}
.benefit-card h3{font-size:16px;line-height:1.2}.benefit-card p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.55}
.benefit-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:50%;color:#fff;font-weight:900;font-size:20px}
.benefit-blue{background:linear-gradient(135deg,#258bff,#384de9)}.benefit-green{background:linear-gradient(135deg,#42d59b,#1da96d)}.benefit-cyan{background:linear-gradient(135deg,#17abff,#1b69e7)}.benefit-orange{background:linear-gradient(135deg,#ffb42b,#f17e10)}
.popular-head{display:flex;align-items:center;justify-content:space-between;margin:32px 2px 14px;color:#6145e9}
.popular-head>div{display:flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.08em;font-size:13px}.popular-head>a{font-size:13px;font-weight:800}.popular-arrow{font-size:22px}
.popular-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.popular-grid a{position:relative;min-height:120px;padding:17px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#fff,#f6f5ff)}
.popular-grid b,.popular-grid span{display:block}.popular-grid b{margin-bottom:8px;font-size:16px}.popular-grid span{max-width:130px;color:#3f4864;font-size:12px;line-height:1.45}
.popular-grid i{position:absolute;right:13px;bottom:8px;color:#b5dbd0;font-style:normal;font-size:31px;opacity:.85}
.journey-cta{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;margin-top:24px;padding:22px 28px;border-radius:19px;color:#fff;background:linear-gradient(105deg,#168cf7,#6841e9 70%,#7c31e9)}
.journey-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;border:5px solid rgba(255,255,255,.35);background:rgba(255,255,255,.10);font-size:24px}
.journey-cta h2{font-size:25px;letter-spacing:-.02em}.journey-cta p{margin:5px 0 0;color:rgba(255,255,255,.9);font-size:14px}.journey-cta>a{padding:13px 19px;border-radius:12px;background:#fff;color:#5b3ed9;font-weight:800;white-space:nowrap}

@media(max-width:980px){
.compact-hero-grid{grid-template-columns:1fr}.compact-hero-visual{display:none}.home-hero-compact{text-align:center;padding-top:36px}.compact-hero-copy p{margin-inline:auto}.hero-benefits{justify-content:center}.benefit-grid{grid-template-columns:repeat(2,1fr)}.popular-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:640px){
.home-hero-compact{padding:31px 0 22px}.compact-hero-copy h1{font-size:43px}.compact-hero-copy p{max-width:330px;font-size:16px}.hero-benefits{display:none}
.glossary-box{padding:18px;border-radius:20px}.glossary-box-head{gap:10px;padding-bottom:16px}.glossary-mark{width:47px;height:47px;flex-basis:47px;font-size:22px}.glossary-title-wrap{gap:11px;min-width:0}.glossary-title-wrap h2{font-size:17px}.glossary-title-wrap p{display:none}.term-count{padding:7px 9px;font-size:11px}
.glossary-search-row{grid-template-columns:1fr}.glossary-search-button{min-height:48px}.glossary-letters{justify-content:space-between;gap:4px}.glossary-letters b{flex-basis:100%;margin-bottom:5px}.glossary-letters a{width:29px;height:29px}.glossary-tip{align-items:flex-start;font-size:12px}
.benefit-grid{grid-template-columns:1fr;gap:0;border:1px solid var(--line);border-radius:17px;overflow:hidden}.benefit-card{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:14px}.benefit-card:last-child{border-bottom:0}.benefit-card p{margin-top:4px}
.popular-grid{grid-template-columns:1fr;gap:7px}.popular-grid a{min-height:68px;padding:12px 15px}.popular-grid b{margin-bottom:3px}.popular-grid span{max-width:none}.popular-grid i{bottom:13px}
.journey-cta{grid-template-columns:1fr;text-align:center;padding:21px}.journey-icon{display:none}.journey-cta h2{font-size:23px}.journey-cta>a{width:100%}
}


/* =========================================================
   AIGlossaryLab v1.2.5 — Burger menu and stability fixes
   ========================================================= */
.menubtn{
  position:relative;
  z-index:72;
  width:50px;
  height:50px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#1689f4;
  transition:background .2s ease, transform .2s ease;
}
.menubtn:hover{background:#eeecff}
.menubtn:focus-visible{
  outline:3px solid rgba(91,61,224,.28);
  outline-offset:3px;
}
.menubtn.is-open{
  background:#ece9ff;
  transform:rotate(90deg);
}
.menu-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:60;
  border:0;
  background:rgba(10,18,48,.25);
  backdrop-filter:blur(2px);
  cursor:pointer;
}
.menu-overlay.is-open{display:block}
.feedback-thanks{color:#2d9c69;font-weight:800}

@media(max-width:980px){
  header{overflow:visible}
  header .nav{position:relative}

  .navlinks{
    display:flex;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    position:absolute;
    z-index:71;
    top:calc(100% + 10px);
    left:0;
    right:0;
    margin:0;
    padding:12px;
    flex-direction:column;
    gap:4px;
    border:1px solid #e2e5f0;
    border-radius:18px;
    background:#fff;
    box-shadow:0 18px 45px rgba(20,27,66,.16);
    transform:translateY(-8px);
    transition:opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .navlinks.is-open{
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
  }
  .navlinks a{
    display:flex;
    align-items:center;
    min-height:48px;
    padding:10px 13px;
    border-radius:12px;
    color:#111a3d;
    font-size:16px;
  }
  .navlinks a:hover,
  .navlinks a:focus-visible{
    color:#563bd8;
    background:#f3f1ff;
  }
  body.menu-open{overflow:hidden}
}

@media(max-width:640px){
  .menubtn{
    display:flex;
    width:54px;
    height:54px;
    border-radius:17px;
  }
  .navlinks{
    left:0;
    right:0;
    top:calc(100% + 8px);
  }
}


/* =========================================================
   AIGlossaryLab v1.2.6 — Mobile menu click-through fix
   ========================================================= */
header{
  position:relative;
  z-index:200;
}
.menu-overlay{
  z-index:150!important;
}
.navlinks{
  z-index:220!important;
}
.menubtn{
  z-index:230!important;
}
@media(max-width:980px){
  header .nav{
    position:relative;
    z-index:210;
  }
  .navlinks.is-open{
    pointer-events:auto!important;
  }
  .navlinks.is-open a{
    position:relative;
    z-index:225;
    pointer-events:auto!important;
  }
}


/* =========================================================
   v1.2.7 — App-style term pages and Fun AI Terms
   ========================================================= */
.term-app-page,.fun-page,.fun-detail{background:linear-gradient(180deg,#fbfbff,#fff)}
.term-app-hero{padding:28px 0 58px}.term-app-shell,.fun-detail-shell{max-width:980px}
.term-app-top,.fun-detail-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.app-back,.fun-detail-top>a{font-weight:800;color:#52607d}.app-actions,.fun-detail-top>div{display:flex;gap:9px}.app-actions button,.fun-detail-top button,.save-term,.share-term{width:44px;height:44px;border:1px solid var(--line);border-radius:14px;background:#fff;font-size:22px;cursor:pointer}
.term-app-heading{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.term-app-heading h1,.fun-title-row h1{font-size:clamp(38px,6vw,64px);letter-spacing:-.05em;margin:12px 0 2px}.term-app-heading h2{font-size:22px;color:#303b59}.term-app-heading p,.fun-title-row p{max-width:700px;font-size:18px;line-height:1.55;color:#4e5873}.term-visual-badge{width:130px;height:130px;border-radius:30px;display:grid;place-items:center;background:linear-gradient(135deg,#eef5ff,#efeaff);color:#563bd8;font-size:32px;font-weight:900;box-shadow:0 20px 45px rgba(61,45,150,.12)}
.term-tabs{display:flex;overflow-x:auto;gap:7px;margin-top:28px;padding:7px;border:1px solid var(--line);border-radius:16px;background:#fff;scrollbar-width:none}.term-tabs::-webkit-scrollbar{display:none}.term-tabs button{flex:0 0 auto;border:0;background:transparent;padding:11px 15px;border-radius:11px;color:#505a76;font-weight:800;cursor:pointer}.term-tabs button.active{color:#fff;background:linear-gradient(135deg,#6d49ff,#4931d9)}
.term-panels{margin-top:16px}.term-panel{display:none;min-height:360px;padding:28px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 16px 40px rgba(31,34,75,.06)}.term-panel.active{display:block;animation:aglFade .2s ease}@keyframes aglFade{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}.term-panel>h3{font-size:25px;margin-bottom:18px}.term-panel p{font-size:18px;line-height:1.7;color:#3d4661}.term-panel .mvp-content{display:block}.term-panel .mvp-diagram{margin-top:22px}.at-glance{margin-top:24px;padding:20px;border-radius:17px;background:#f8f8ff}.at-glance dl{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.at-glance dl div{padding:12px;background:#fff;border-radius:12px}.at-glance dt{font-size:12px;color:#78819a;text-transform:uppercase;font-weight:800}.at-glance dd{margin:4px 0 0;font-weight:800}.fallback-graphic,.fun-infographic{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;padding:28px;border-radius:18px;background:linear-gradient(135deg,#f1f6ff,#f7f0ff)}.fallback-graphic span,.fun-infographic div{padding:18px;border:1px solid #dfe4f2;border-radius:15px;background:#fff;font-weight:800;text-align:center}.graphic-intro{margin-bottom:20px}.term-reaction{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding:21px;border:1px solid #e2dcff;border-radius:19px;background:#f9f7ff}.term-reaction p{margin:4px 0;color:#6b738d}.reaction-buttons{display:flex;gap:10px}.reaction-buttons button{padding:12px 15px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:800;cursor:pointer}.reaction-buttons button:disabled{opacity:.55}.reaction-message{display:block;color:#2d9c69}
.fun-hero{padding:54px 0 28px;text-align:center;background:radial-gradient(circle at 20% 20%,#fff0f4,transparent 25%),radial-gradient(circle at 80% 25%,#eff5ff,transparent 25%)}.fun-hero h1{font-size:clamp(42px,7vw,72px);margin:7px 0}.fun-hero p{max-width:650px;margin:auto;font-size:18px;color:#4e5873}.fun-values{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}.fun-values span{padding:11px 16px;border-radius:13px;background:#fff;border:1px solid var(--line);font-weight:800}.fun-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.fun-filters{display:flex;flex-wrap:wrap;gap:8px}.fun-filters button{border:1px solid var(--line);background:#fff;padding:10px 14px;border-radius:999px;font-weight:800;cursor:pointer}.fun-filters button.active{background:#6145e9;color:#fff}.fun-toolbar select{padding:10px;border:1px solid var(--line);border-radius:11px;background:#fff}.fun-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fun-card{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(29,32,72,.06);transition:.2s}.fun-card:hover{transform:translateY(-3px)}.fun-art{height:130px;display:grid;place-items:center;font-size:64px;background:linear-gradient(135deg,#fff0f5,#edf5ff)}.fun-copy{padding:18px}.fun-copy h3{font-size:20px}.fun-copy p{margin:8px 0;color:#343d57;line-height:1.5}.fun-copy small{display:block;color:#6c748d;line-height:1.5}.fun-card-actions{display:flex;gap:16px;margin-top:16px;color:#5c647c}.suggest-fun{display:block;width:max-content;margin:24px auto;padding:12px 20px;border:1px solid #7359ee;border-radius:999px;color:#5a3fd8;font-weight:800}.home-fun-teaser{padding:18px 0 40px}.home-fun-teaser .container{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px;border-radius:22px;background:linear-gradient(135deg,#fff0f6,#eff5ff)}.home-fun-teaser a{padding:13px 18px;background:#fff;border-radius:12px;color:#563bd8;font-weight:800}.fun-detail-shell{max-width:900px}.fun-title-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:25px}.fun-detail-icon{font-size:96px}.fun-new{display:inline-block;padding:6px 10px;background:#ffe8ef;color:#e94170;border-radius:999px;font-weight:900;font-size:12px}.fun-detail-tabs{margin-top:24px}.fun-detail blockquote{padding:24px;border-radius:17px;background:#eef5ff;font-size:20px;line-height:1.6}.fun-infographic div{display:flex;flex-direction:column;gap:8px}.fun-infographic div span{width:30px;height:30px;margin:auto;display:grid;place-items:center;border-radius:50%;background:#6748e7;color:#fff}.fun-related{display:grid;gap:10px}.fun-related a{display:flex;justify-content:space-between;padding:15px;border:1px solid var(--line);border-radius:12px}.fun-detail .term-panel{min-height:300px}
@media(max-width:760px){.term-app-hero{padding:18px 0 120px}.term-app-heading{grid-template-columns:1fr}.term-visual-badge{width:90px;height:90px;border-radius:22px;grid-row:1;justify-self:end;margin-bottom:-100px;font-size:24px}.term-app-heading h1,.fun-title-row h1{font-size:42px}.term-app-heading h2{font-size:19px}.term-app-heading p,.fun-title-row p{font-size:16px}.term-tabs{position:sticky;top:0;z-index:20;margin-inline:-2px}.term-panel{min-height:430px;padding:20px}.at-glance dl{grid-template-columns:1fr}.term-reaction{flex-direction:column;align-items:stretch}.reaction-buttons button{flex:1}.fun-grid{grid-template-columns:1fr}.fun-toolbar{align-items:stretch;flex-direction:column}.fun-card{display:grid;grid-template-columns:86px 1fr}.fun-art{height:100%;font-size:42px}.fun-copy{padding:14px}.fun-copy small{display:none}.fun-card-actions{margin-top:10px}.fun-title-row{grid-template-columns:1fr auto}.fun-detail-icon{font-size:62px}.home-fun-teaser .container{flex-direction:column;text-align:center}.home-fun-teaser a{width:100%;text-align:center}}


/* ================================================================
   AIGlossaryLab v1.3.0 — Mobile Full-Screen Term App
   Desktop remains a conventional responsive website.
   ================================================================ */

.term-app-pager{
  display:none;
}

@media (max-width:760px){
  html:has(.term-app-page),
  body:has(.term-app-page){
    height:100%;
    min-height:100%;
    overflow:hidden;
    overscroll-behavior:none;
  }

  body:has(.term-app-page){
    background:#fbfbff;
  }

  body:has(.term-app-page) > header,
  body:has(.term-app-page) > footer{
    display:none!important;
  }

  .term-app-page{
    height:calc(100dvh - 76px);
    min-height:0;
    overflow:hidden;
    background:
      radial-gradient(circle at 90% 8%,rgba(64,153,255,.11),transparent 25%),
      radial-gradient(circle at 15% 35%,rgba(111,70,255,.08),transparent 30%),
      #fbfbff;
  }

  .term-app-hero{
    height:100%;
    padding:0!important;
    overflow:hidden;
  }

  .term-app-shell{
    width:100%;
    max-width:none;
    height:100%;
    padding:env(safe-area-inset-top,8px) 16px 8px;
    display:grid;
    grid-template-rows:auto auto auto minmax(0,1fr) auto;
    gap:9px;
  }

  .term-app-top{
    margin:0;
    min-height:42px;
  }

  .app-back{
    font-size:14px;
  }

  .app-actions{
    gap:7px;
  }

  .app-actions button{
    width:40px;
    height:40px;
    border-radius:13px;
    font-size:20px;
  }

  .term-app-heading{
    display:block;
    min-height:0;
  }

  .term-visual-badge{
    display:none!important;
  }

  .mvp-tags{
    gap:5px;
    margin:0 0 4px;
  }

  .mvp-tags span{
    padding:5px 9px;
    font-size:11px;
  }

  .term-app-heading h1{
    margin:0;
    font-size:34px!important;
    line-height:1;
    letter-spacing:-.045em;
  }

  .term-app-heading h2{
    margin:5px 0 0;
    font-size:17px!important;
    line-height:1.2;
  }

  .term-app-heading > div > p{
    display:none;
  }

  .term-tabs{
    position:static!important;
    top:auto!important;
    z-index:auto!important;
    display:flex;
    gap:5px;
    margin:0;
    padding:5px;
    overflow-x:auto;
    scrollbar-width:none;
    border:1px solid #e4e6f0;
    border-radius:14px;
    background:#fff;
    box-shadow:0 5px 14px rgba(31,37,74,.05);
  }

  .term-tabs::-webkit-scrollbar{
    display:none;
  }

  .term-tabs button{
    flex:0 0 auto;
    min-height:34px;
    padding:7px 11px;
    border-radius:10px;
    font-size:11px;
    white-space:nowrap;
  }

  .term-panels{
    min-height:0;
    height:100%;
    position:relative;
    overflow:hidden;
    border:1px solid #e3e6ef;
    border-radius:19px;
    background:#fff;
    box-shadow:0 12px 28px rgba(34,39,85,.07);
    touch-action:pan-y;
  }

  .term-panel{
    display:none;
    position:absolute;
    inset:0;
    min-height:0!important;
    height:100%;
    padding:17px!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:linear-gradient(145deg,#fff,#fbfbff);
  }

  .term-panel.active{
    display:flex!important;
    flex-direction:column;
    animation:aglPanelIn .18s ease both;
  }

  @keyframes aglPanelIn{
    from{opacity:.35;transform:translateX(8px)}
    to{opacity:1;transform:none}
  }

  .term-panel > h3{
    margin:0 0 10px;
    font-size:24px;
    line-height:1.05;
    letter-spacing:-.025em;
  }

  .term-panel .mvp-content{
    min-height:0;
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:11px;
    overflow:hidden;
  }

  .term-panel .mvp-content > p,
  .term-panel > .graphic-intro{
    margin:0;
    font-size:clamp(15px,4vw,18px);
    line-height:1.45;
    color:#303a58;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:5;
    overflow:hidden;
  }

  .term-panel[data-panel="overview"] .mvp-content > p{
    padding:12px 14px;
    border-radius:14px;
    background:linear-gradient(135deg,#eef8ff,#f3f0ff);
    -webkit-line-clamp:4;
  }

  .term-panel[data-panel="overview"] .mvp-content > p::before{
    content:"10-second explanation";
    display:block;
    margin-bottom:5px;
    color:#563ee2;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.07em;
  }

  .at-glance{
    margin-top:auto;
    padding:11px 13px;
    border:1px solid #dfe4ef;
    border-radius:14px;
    background:#fbfcff;
  }

  .at-glance h3{
    margin:0 0 7px;
    font-size:14px;
  }

  .at-glance dl{
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    gap:7px!important;
  }

  .at-glance dl div{
    min-width:0;
  }

  .at-glance dt{
    font-size:9px;
    text-transform:uppercase;
    color:#727b92;
  }

  .at-glance dd{
    margin:2px 0 0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:11px;
    font-weight:800;
  }

  .mvp-diagram{
    margin-top:auto!important;
    padding:10px!important;
    display:grid!important;
    grid-template-columns:repeat(4,1fr)!important;
    gap:5px!important;
    align-items:center;
    overflow:hidden;
    border-radius:14px!important;
  }

  .mvp-node{
    min-width:0!important;
    padding:8px 3px!important;
    border-radius:11px!important;
  }

  .mvp-node span{
    width:25px!important;
    height:25px!important;
    margin:0 auto 4px!important;
    font-size:11px!important;
  }

  .mvp-node b{
    display:block;
    font-size:9px!important;
    line-height:1.12!important;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .mvp-arrow{
    display:none!important;
  }

  .mvp-timeline{
    flex:1;
    min-height:0;
    display:grid;
    grid-template-rows:repeat(5,1fr);
    gap:4px;
    overflow:hidden;
  }

  .mvp-time{
    min-height:0;
    gap:10px!important;
    padding:5px 0!important;
  }

  .mvp-time > span{
    width:10px!important;
    height:10px!important;
    margin-top:3px;
  }

  .mvp-time b{
    font-size:13px;
  }

  .mvp-time p{
    margin:2px 0 0;
    font-size:11px!important;
    line-height:1.25!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }

  .mvp-date-note{
    display:none;
  }

  .mvp-intro{
    -webkit-line-clamp:2!important;
  }

  .mvp-next-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    overflow:hidden;
  }

  .mvp-next{
    min-height:0!important;
    padding:12px 42px 12px 13px!important;
  }

  .mvp-next b{
    font-size:14px!important;
  }

  .mvp-next span{
    display:none!important;
  }

  .mvp-next i{
    right:14px!important;
  }

  .term-panel[data-panel="graphic"]{
    justify-content:flex-start;
  }

  .term-panel[data-panel="graphic"] .mvp-diagram{
    flex:1;
    margin-top:10px!important;
    grid-template-columns:1fr!important;
    grid-template-rows:repeat(4,1fr)!important;
    gap:6px!important;
  }

  .term-panel[data-panel="graphic"] .mvp-node{
    display:grid!important;
    grid-template-columns:34px 1fr;
    gap:10px;
    align-items:center;
    padding:7px 12px!important;
    text-align:left;
  }

  .term-panel[data-panel="graphic"] .mvp-node span{
    margin:0!important;
  }

  .term-panel[data-panel="graphic"] .mvp-node b{
    font-size:13px!important;
  }

  .term-reaction{
    display:none!important;
  }

  .term-app-pager{
    min-height:43px;
    display:grid;
    grid-template-columns:42px 1fr auto 42px;
    gap:9px;
    align-items:center;
  }

  .term-app-pager button{
    width:42px;
    height:42px;
    border:1px solid #dde1eb;
    border-radius:50%;
    background:#fff;
    color:#563ee2;
    font-size:20px;
    font-weight:900;
    cursor:pointer;
  }

  .term-progress{
    display:flex;
    justify-content:center;
    gap:7px;
  }

  .term-progress button{
    width:7px;
    height:7px;
    min-width:7px;
    min-height:7px;
    padding:0;
    border:0;
    border-radius:999px;
    background:#dad7ee;
    box-shadow:none;
  }

  .term-progress button.active{
    width:22px;
    background:#6845ed;
  }

  .term-page-count{
    color:#737b92;
    font-size:11px;
    font-weight:800;
    white-space:nowrap;
  }

  .mobilebar{
    height:76px!important;
    padding-bottom:env(safe-area-inset-bottom,0px)!important;
    z-index:500!important;
  }

  .mobilebar a{
    font-size:11px!important;
  }

  .mobilebar b{
    font-size:19px!important;
  }
}

/* Very short phone screens */
@media (max-width:760px) and (max-height:700px){
  .term-app-shell{
    grid-template-rows:auto auto auto minmax(0,1fr) 38px;
    gap:6px;
    padding-top:5px;
  }

  .term-app-top{
    min-height:34px;
  }

  .app-actions button{
    width:34px;
    height:34px;
  }

  .term-app-heading h1{
    font-size:29px!important;
  }

  .term-app-heading h2{
    font-size:14px!important;
  }

  .mvp-tags{
    display:none;
  }

  .term-panel{
    padding:13px!important;
  }

  .term-panel > h3{
    font-size:20px;
    margin-bottom:7px;
  }

  .term-panel .mvp-content > p,
  .term-panel > .graphic-intro{
    font-size:14px;
    line-height:1.35;
    -webkit-line-clamp:4;
  }

  .at-glance{
    padding:8px 10px;
  }

  .term-app-pager button{
    width:36px;
    height:36px;
  }
}


/* ================================================================
   AIGlossaryLab v1.3.1 — Static mobile viewport alignment patch
   ================================================================ */
@media (max-width:760px){
  html:has(.term-app-page){
    width:100%;
    max-width:100%;
    overflow:hidden!important;
  }

  body:has(.term-app-page){
    position:fixed;
    inset:0;
    width:100%;
    max-width:100%;
    height:100dvh;
    margin:0;
    overflow:hidden!important;
    overscroll-behavior:none;
  }

  .term-app-page,
  .term-app-hero,
  .term-app-shell,
  .term-tabs,
  .term-panels,
  .term-panel,
  .term-app-pager{
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    min-width:0;
  }

  .term-app-page{
    height:calc(100dvh - 76px)!important;
    overflow:hidden!important;
  }

  .term-app-shell{
    position:relative;
    left:0!important;
    right:0!important;
    margin:0!important;
    overflow:hidden!important;
  }

  .term-app-top,
  .term-app-heading,
  .term-tabs,
  .term-panels,
  .term-app-pager{
    min-width:0;
  }

  .term-tabs{
    scroll-behavior:smooth;
    overscroll-behavior-x:contain;
    touch-action:pan-x;
  }

  .term-panels{
    isolation:isolate;
    contain:layout paint;
    transform:translateZ(0);
    touch-action:pan-x;
  }

  .term-panel{
    left:0!important;
    right:0!important;
    top:0!important;
    bottom:0!important;
    transform:none;
    overflow:hidden!important;
  }

  .term-panel.active{
    transform:none!important;
  }

  .term-panel .mvp-content,
  .term-panel .mvp-next-grid,
  .term-panel .mvp-timeline,
  .term-panel .mvp-diagram{
    width:100%;
    max-width:100%;
    min-width:0;
  }

  .mvp-next{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow:hidden;
  }

  .mvp-next b{
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .term-app-pager{
    position:relative;
    z-index:20;
    align-self:end;
    margin:0;
    padding:0;
    background:transparent;
  }

  .term-prev,
  .term-next{
    position:relative;
    z-index:22;
    flex-shrink:0;
    touch-action:manipulation;
  }

  .term-progress{
    min-width:0;
    overflow:hidden;
  }

  .mobilebar{
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:100%!important;
  }
}
