/* Homepage style C (approved spec 2026-10-20): dark navy, gold, Apple-style frosted glass,
   real 二十八宿 sky + floating formulas, luopan, 八派融合. Scoped to .consumer-site.tq-home. */
.tq-home{--navy:10,18,40;--gold:227,200,143;--g2:#c8a96a;background:radial-gradient(ellipse at 70% 20%,#13284a 0%,#0b1630 35%,#060a14 75%) fixed!important;color:#eef1f6;overflow-x:clip}
.tq-home::before{display:none!important}
.tq-sky{position:fixed;inset:0;z-index:0;pointer-events:none}
.tq-sky canvas{width:100%;height:100%;display:block}
.tq-math span{position:absolute;white-space:nowrap;font:italic 15px "Cambria Math","Times New Roman",serif;color:rgba(160,200,255,.16);animation:tq-drift linear infinite}
@keyframes tq-drift{from{transform:translateY(40px);opacity:0}15%{opacity:1}85%{opacity:1}to{transform:translateY(-120px);opacity:0}}
.tq-home>main,.tq-home>footer,.tq-home>header{position:relative;z-index:1}
/* glass primitives */
.tq-home .tq-glass{background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.02)),rgba(var(--navy),.5)!important;
  -webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);
  border:1px solid rgba(255,255,255,.1)!important;border-top-color:rgba(var(--gold),.32)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 -1px 0 rgba(0,0,0,.25),0 14px 40px rgba(0,0,0,.45)!important;border-radius:20px!important}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.tq-home .tq-glass{background:rgb(var(--navy))!important}}
.tq-home .tq-glass-nav{position:sticky;top:0;z-index:50;height:60px!important;background:rgba(var(--navy),.55)!important;-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);border-bottom:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important}
.tq-home .home-brand strong{font-family:"TQ Brush","Ma Shan Zheng","STKaiti",serif;font-weight:400;font-size:28px;letter-spacing:4px;color:#eef1f6}
.tq-home .home-header nav a{color:#cfd6e0}
.tq-home .tq-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;height:42px!important;min-height:0!important;padding:0 22px!important;border-radius:999px!important;font:600 15px/1 inherit!important;cursor:pointer;border:1px solid transparent!important;transition:transform .15s,box-shadow .2s,background .2s;white-space:nowrap;width:auto}
.tq-home .tq-btn.sm{height:34px!important;padding:0 16px!important;font-size:13px!important}
.tq-home .tq-btn:active{transform:scale(.97)}
.tq-home .tq-btn.gold{background:linear-gradient(180deg,#f0dca8,var(--g2))!important;color:#1a1408!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 22px rgba(255,210,120,.3)!important}
.tq-home .tq-btn.gold:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 32px rgba(255,210,120,.5)!important}
.tq-home .tq-btn.pill{background:rgba(255,255,255,.06)!important;color:#e7ecf3!important;border-color:rgba(255,255,255,.14)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.tq-home .tq-btn.pill:hover{background:rgba(var(--gold),.16)!important;border-color:rgba(var(--gold),.5)!important}
/* hero */
.tq-home .tq-hero{position:relative;min-height:max(calc(100vh - 60px),860px);padding:0!important;display:block!important;background:none!important;overflow:visible}
.tq-home .home-pitch{position:relative;z-index:3;max-width:620px;margin-left:max(48px,calc(50% - 640px));padding-top:90px}
.tq-home .home-eyebrow{color:rgb(var(--gold))!important;letter-spacing:6px;font-size:13px}
.tq-home .home-pitch h1{margin:14px 0 18px;font-family:"TQ Brush","Ma Shan Zheng","STKaiti",serif;font-weight:400;font-size:68px;line-height:1.18;letter-spacing:6px;color:#eef1f6}
.tq-home .home-pitch h1 em{font-style:normal;background:linear-gradient(180deg,#fff6d8,#e3c88f 50%,#a8792f);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 18px rgba(255,210,120,.35))}
.tq-home .home-description{color:#aab6c6!important;font-size:17px;max-width:26em;margin:0 0 30px}
.tq-home .home-hero-actions{display:flex;gap:12px}
.tq-home .tq-glow-luopan{position:absolute;right:max(330px,calc(50% - 380px));left:auto;top:50%;width:560px;transform:translateY(-58%);z-index:1}
.tq-home .tq-glow-luopan::after{display:none}
.tq-home .tq-glow-luopan .tq-shock{display:none}
/* login card: transparent glass, luopan shows through */
.tq-home .home-auth{position:absolute!important;right:max(48px,calc(50% - 660px));top:120px;width:340px;padding:28px 28px 22px!important;z-index:5;margin:0!important}
.tq-home .home-auth h1,.tq-home .home-auth h2{font-family:"TQ Brush","Ma Shan Zheng","STKaiti",serif;font-weight:400;font-size:30px;letter-spacing:6px;text-align:center;color:#eef1f6}
.tq-home .home-auth .auth-subtitle,.tq-home .home-auth p{text-align:center;color:#aab6c6}
.tq-home .home-auth label{color:#aab6c6}
.tq-home .home-auth input{background:rgba(0,0,0,.28)!important;color:#eef1f6!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:14px!important;box-shadow:inset 0 2px 6px rgba(0,0,0,.4)!important;min-height:44px}
.tq-home .home-auth input:focus{outline:none;border-color:rgb(var(--gold))!important;box-shadow:inset 0 2px 6px rgba(0,0,0,.4),0 0 0 3px rgba(var(--gold),.25)!important}
.tq-home .home-auth .login-wrap,.tq-home .home-auth .login-card{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important}
.tq-home .home-auth .login-actions button[type="submit"]{background:linear-gradient(180deg,#f0dca8,var(--g2))!important;color:#1a1408!important;border:0!important;border-radius:999px!important;min-height:46px;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 22px rgba(255,210,120,.3)}
.tq-home .home-auth .login-actions .ghost,.tq-home .home-auth .auth-help,.tq-home .home-auth .auth-password button{color:rgb(var(--gold))!important;background:none!important}
/* 八派 row */
.tq-home .tq-bagua{position:absolute;left:max(48px,calc(50% - 640px));right:auto;bottom:40px;z-index:4}
.tq-home .tq-bagua-item{width:88px;height:88px;margin-right:-12px;border-radius:50%!important;
  background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.12),rgba(var(--navy),.55) 70%)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border:1px solid rgba(var(--gold),.45)!important;box-shadow:0 0 0 4px rgba(6,10,20,.85),0 0 18px rgba(255,210,120,.15)}
.tq-home .tq-bagua-item:focus-visible{outline:2px solid rgb(var(--gold));outline-offset:3px}
.tq-home .tq-bagua-item.on{width:156px;height:156px;margin:0 4px 0 -4px}
.tq-home .tq-bagua-item.on .tq-tri{transform:translateY(-48px) scale(.8)}
.tq-home .tq-fuse{height:150px}
.tq-home .tq-fuse-title{font-size:52px}
/* sections */
.tq-home .home-section{position:relative;padding-top:96px}
.tq-home .home-section-heading h2,.tq-home .home-bottom h2{font-family:"TQ Brush","Ma Shan Zheng","STKaiti",serif;font-weight:400;font-size:40px;letter-spacing:6px;color:#eef1f6}
.tq-home .home-section-intro{color:#aab6c6}
.tq-home .tq-flow4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:24px}
.tq-home .tq-flow4 article{padding:22px}
.tq-home .tq-flow4 i{font-style:normal;font-size:12px;color:rgb(var(--gold));letter-spacing:3px}
.tq-home .tq-flow4 h3{margin:8px 0 6px;font-size:20px;color:#eef1f6}.tq-home .tq-flow4 p{margin:0;color:#aab6c6;font-size:14px}
.tq-home .tq-flow4 p{white-space:pre-line}
.tq-home .home-sample{padding:20px;border:0}
.tq-home .home-sample-details,.tq-home .home-plan{background:transparent!important}
.tq-home .home-sample-tabs button{background:rgba(255,255,255,.06)!important;color:#e7ecf3!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:999px!important}
.tq-home .home-sample-tabs button[aria-pressed="true"]{background:rgba(var(--gold),.18)!important;border-color:rgba(var(--gold),.6)!important;color:rgb(var(--gold))!important}
.tq-home .home-faq{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tq-home .home-faq details{padding:16px 20px}
.tq-home .home-faq summary{color:#eef1f6;cursor:pointer;font-weight:600}
.tq-home .home-faq p{color:#aab6c6}
.tq-home .home-bottom{background:none!important;border:0!important;padding:96px 0;text-align:center}
.tq-home .home-bottom p{color:#aab6c6}
.tq-home .home-footer{border-top:1px solid rgba(255,255,255,.08);color:#7d8aa0;display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:24px 0 40px}
.tq-home .home-footer a,.tq-home .home-footer button{color:#aab6c6!important;background:none!important;border:0!important}
.tq-home .home-footer small{width:100%;color:#5f6b80}
.tq-home .home-mobile-bar{background:rgba(var(--navy),.75)!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid rgba(255,255,255,.08)!important}
@media (max-width:1100px){.tq-home .tq-glow-luopan{right:-120px;opacity:.6}.tq-home .home-auth{position:relative!important;right:auto;top:auto;margin:32px auto 0!important}.tq-home .tq-flow4{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.tq-home .home-pitch{margin-left:18px;margin-right:18px;padding-top:40px}.tq-home .home-pitch h1{font-size:42px}.tq-home .home-auth{width:auto;margin:24px 18px 0!important}.tq-home .tq-bagua{position:relative;left:auto;bottom:auto;margin:200px 18px 0;overflow-x:auto}.tq-home .tq-flow4,.tq-home .home-faq{grid-template-columns:1fr}.tq-home .tq-hero{min-height:0}}
@media (prefers-reduced-motion:reduce){.tq-math{display:none}}
.tq-home .home-plan.real-plan{position:relative;padding:0!important;border-radius:14px;overflow:hidden;background:#f2f1ed!important;min-height:0}
.tq-home .home-plan.real-plan img{display:block;width:100%;height:auto}
.tq-home .home-plan.real-plan small{position:absolute;left:12px;bottom:10px;color:#6e6e73;background:rgba(255,255,255,.8);padding:2px 8px;border-radius:999px}
.tq-home .home-plan-pin{position:absolute;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:6px;padding:4px 10px!important;border-radius:999px!important;font-size:12px!important;background:rgba(10,18,40,.82)!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:0 4px 14px rgba(0,0,0,.3);cursor:pointer;min-height:0!important}
.tq-home .home-plan-pin span{width:8px;height:8px;border-radius:50%;background:#aab6c6;box-shadow:0 0 8px currentColor}
.tq-home .home-plan-pin.tone-alert span{background:#ff6b5e}.tq-home .home-plan-pin.tone-bad span{background:#e8a25a}.tq-home .home-plan-pin.tone-good span{background:#4fd18b}
.tq-home .home-plan-pin.selected{background:linear-gradient(180deg,#f0dca8,#c8a96a)!important;color:#1a1408!important;border-color:transparent!important;box-shadow:0 0 18px rgba(255,210,120,.5)}
.tq-home .tq-tag{display:inline-block;margin-left:8px;padding:1px 10px;border-radius:999px;font-size:12px;vertical-align:middle}
.tq-home .tq-tag.tone-alert{color:#ff6b5e;background:rgba(255,107,94,.12)}.tq-home .tq-tag.tone-bad{color:#e8a25a;background:rgba(232,162,90,.12)}.tq-home .tq-tag.tone-good{color:#4fd18b;background:rgba(79,209,139,.12)}
.tq-home .home-sample-summary{margin:0 0 14px;font-size:13px;color:#aeb8c8;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tq-home .home-sample-summary b{font-weight:600;padding:1px 10px;border-radius:999px;font-size:12px}
.tq-home .home-sample-summary b.tone-good{color:#4fd18b;background:rgba(79,209,139,.12)}
.tq-home .home-sample-summary b.tone-bad{color:#e8a25a;background:rgba(232,162,90,.12)}
.tq-home .home-sample-summary b.tone-alert{color:#ff6b5e;background:rgba(255,107,94,.12)}
.tq-home .home-sample-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 0}
.tq-home .home-sample-facts div{background:rgba(255,255,255,.05);border-radius:12px;padding:10px 12px}
.tq-home .home-sample-facts dt{font-size:12px;color:#8f9bb0;margin:0 0 4px}
.tq-home .home-sample-facts dd{margin:0;color:#eef2f8;font-size:14px}
.tq-home .home-sample-note{margin:14px 0 0;font-size:12px;color:#8f9bb0;line-height:1.7}
.tq-home .home-sample-tabs{flex-wrap:wrap}
.tq-home .home-sample-details{border:0!important;box-shadow:none!important;background:rgba(255,255,255,.035)!important;border-radius:18px;padding:20px!important}
