/* หน้าแรกแบบโฟกัสกล่องพิมพ์ + พื้นสว่าง + การเคลื่อนไหวตามการเลื่อน (เจ้าของงานอนุมัติหน้าตัวอย่าง 21 พ.ย. 2569)
   โหลดเฉพาะหน้าแรก หลัง common.css (css_after) ทุกกฎอยู่ใต้คลาส hf / hfl / hf-stk ที่ .hs ของหน้าแรก หน้าอื่นไม่ได้รับผล
   ไฟล์นี้สร้างจาก scripts/guide_shots/home_focus_preview/make_site_files.py ให้แก้ที่ไฟล์แยกส่วนในโฟลเดอร์นั้นแล้วรันสคริปต์ */

/* ======================== focus.css ======================== */
/* หน้าแรกแบบโฟกัสกล่องพิมพ์ (ตัวอย่าง 20 พ.ย. 2569) — จอแรกเต็มจอ มีแค่หัวเว็บ หัวข้อ กล่องพิมพ์ และตัวบอกให้เลื่อนลง */
.hf .d1{position:sticky;top:0;z-index:0;height:100svh;min-height:600px}
.hf .d1-in{height:100%;padding:108px 24px 104px;justify-content:center}
.hf .d1-h{font-size:52px;line-height:1.28}
.hf .d1 .hask{margin-top:92px}
.hf .hask textarea{min-height:92px}

/* หัวเว็บลอยทับจอแรก (ไม่กินที่ในหน้า จอแรกจึงสูงเท่าจอพอดี) */
.hf .topbar{position:fixed;left:0;right:0;margin-bottom:0}
/* ปุ่มคุยกับพี่ฟ้ามุมขวาล่างขึ้นหลังเลื่อนพ้นจอแรก (จอแรกมีปุ่มคุยกับพี่ฟ้าในกล่องอยู่แล้ว) */
.hf-rest .hs-fahdk{transition:opacity .28s,visibility .28s}
.hf-attop .hs-fahdk{opacity:0;visibility:hidden;pointer-events:none}

/* หัวเว็บบนจอแรก: เหลือโลโก้ ปุ่มสมัคร และปุ่มเมนู · เมนูเต็มกลับมาเมื่อเลื่อนลง */
.hf .topbar .toplinks{transition:opacity .28s cubic-bezier(.22,1,.36,1),visibility .28s}
.hf .topbar:not(.solid) .toplinks{opacity:0;visibility:hidden;pointer-events:none}
.hf .topbar:not(.solid) .topmenu{display:inline-flex}

/* ตัวบอกให้เลื่อนลง */
.hf-cue{position:absolute;left:50%;bottom:22px;z-index:4;transform:translateX(-50%);display:inline-flex;flex-direction:column;align-items:center;gap:2px;min-height:48px;padding:6px 16px;border:0;border-radius:999px;background:transparent;color:#FFFFFF;font-family:inherit;font-size:14px;cursor:pointer;opacity:calc(.9 - var(--hp,0) * 4)}
.hf-cue span{display:inline-flex;flex-direction:column;align-items:center;gap:2px;animation:hf-float 2.2s ease-in-out infinite}
.hf-cue svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hf-cue:focus-visible{outline:2px solid #FFE055;outline-offset:3px}
@keyframes hf-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* ชิ้นในจอแรกค่อยๆ ขึ้นมาทีละชิ้นตอนเปิดหน้า */
.hf .d1-h,.hf .d1 .hask,.hf .d1 .hask-chips,.hf-cue{animation:hf-in .56s cubic-bezier(.22,1,.36,1) backwards}
.hf .d1 .hask{animation-delay:.1s}.hf .d1 .hask-chips{animation-delay:.2s}.hf-cue{animation:hf-cue-in .6s ease .7s both}
@keyframes hf-in{0%{opacity:0;translate:0 16px}100%{opacity:1;translate:0 0}}
@keyframes hf-cue-in{0%{opacity:0}}

/* เนื้อหาส่วนถัดไปเลื่อนขึ้นมาทับจอแรกเป็นแผ่นมุมมน */
.hf-rest{position:relative;z-index:1;background:#FFFFFF;border-radius:32px 32px 0 0;box-shadow:0 -24px 60px rgba(124,20,10,.18)}
.hf-rest>section:first-child{border-radius:32px 32px 0 0}
.hf-rv{opacity:0;translate:0 36px;transition:opacity .7s cubic-bezier(.22,1,.36,1),translate .7s cubic-bezier(.22,1,.36,1)}
.hf-rv.is-in{opacity:1;translate:none}

@media (max-width:860px){
  .hf .d1{min-height:560px}
  .hf .d1-in{padding:88px 16px 92px}
  .hf .d1-h{font-size:32px}
  .hf .d1 .hask{margin-top:72px!important}
  .hf-rest{border-radius:24px 24px 0 0}.hf-rest>section:first-child{border-radius:24px 24px 0 0}
}
@media (max-height:640px){.hf-cue{display:none}}
@media (prefers-reduced-motion:reduce){
  .hf .d1-h,.hf .d1 .hask{scale:none;translate:none;filter:none;opacity:1}
  .hf-cue span,.hf .d1-h,.hf .d1 .hask,.hf .d1 .hask-chips,.hf-cue{animation:none}
  .hf-rv{opacity:1;translate:none;transition:none}
}

/* ---------- ทางเดินรูปติวเตอร์หลังกล่องพิมพ์ (คอมเท่านั้น) ---------- */
.hf-cor{position:absolute;inset:0;z-index:1;pointer-events:none;perspective:1100px;perspective-origin:50% var(--hf-cy,55%);opacity:calc(1 - var(--hp,0) * 1.6)}
.hf-cor-w{position:absolute;inset:0;transform-style:preserve-3d}
.hf-cor-p{position:absolute;left:50%;top:var(--hf-cy,55%);margin:0;border-radius:20px;overflow:hidden;background:#FFD9C7;backface-visibility:hidden;will-change:transform,opacity,filter;opacity:0}
.hf-cor-p img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
/* มือถือและไอแพด: รูปลอยออกจากใต้กล่องพิมพ์ไปมุมล่างซ้ายขวา (ไม่มีมิติลึก) */
@keyframes hf-fly-l{0%{opacity:0;transform:translate(-50%,-50%) translate(calc(var(--fx0,30px) * -1),var(--fy0,150px)) rotate(-3deg) scale(.72)}18%,84%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) translate(calc(var(--fx1,240px) * -1),var(--fy1,380px)) rotate(-12deg) scale(1.12)}}
@keyframes hf-fly-r{0%{opacity:0;transform:translate(-50%,-50%) translate(var(--fx0,30px),var(--fy0,150px)) rotate(3deg) scale(.72)}18%,84%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) translate(var(--fx1,240px),var(--fy1,380px)) rotate(12deg) scale(1.12)}}
@media (max-width:1099px){
  .hf-cor{perspective:none}
  /* เคลื่อนด้วย CSS ล้วน (ขยับและจางเท่านั้น) ให้การ์ดจอทำงานแทนสคริปต์ จึงไม่แย่งงานตอนเลื่อน */
  .hf-cor-p{border-radius:14px;animation:hf-fly-l 30s linear infinite;animation-delay:calc(var(--i,0) * -5s);will-change:transform,opacity}
  .hf-cor-p:nth-child(even){animation-name:hf-fly-r}
  .hf-cor-p:nth-child(n+7){display:none}
  .hf-covered .hf-cor-p{animation-play-state:paused}
}
@media (max-width:1099px) and (prefers-reduced-motion:reduce){.hf-cor-p{animation:none}}

/* หัวข้อเดิม 3 บรรทัด ย่อตามความสูงจอให้ทั้งจอแรกพอดีจอ */
.hf .d1-h{font-size:clamp(40px,6.2vh,64px);line-height:1.22}
.hf .d1 .hask{margin-top:84px}
.hf .d1-in{padding-bottom:88px}
@media (max-width:860px){.hf .d1-h{font-size:32px}.hf .d1-in{padding-bottom:84px}}
.hf .d1-in{z-index:2}
@media (max-height:780px) and (min-width:861px){.hf .d1 .hask{margin-top:70px}.hf .d1-in{padding-top:88px;padding-bottom:84px}.hf-cue{bottom:10px}}
@media (max-height:700px){.hf-cue{display:none}}
/* แถบเบลอหลังกล่องพิมพ์ (ไม่มีสี): เบลอสิ่งที่อยู่ข้างหลังแล้วค่อยๆ จางที่ขอบ รูปติวเตอร์จึงชัดขึ้นเองเมื่อเลื่อนห่างกล่อง */
.hf-fog{position:absolute;z-index:1;left:50%;top:var(--hf-cy,55%);width:calc(var(--hf-bw,740px) + 280px);height:calc(var(--hf-bh,240px) + 160px);transform:translate(-50%,-50%);pointer-events:none;
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  -webkit-mask-image:radial-gradient(ellipse closest-side,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse closest-side,#000 62%,transparent 100%)}
@media (max-width:1099px){.hf-fog{display:none}}

/* ออกจากจอแรกแบบ checkslip: หัวข้อขยายพุ่งเข้าหาคนดูแล้วเบลอหาย กล่องพิมพ์ถอยลงและจาง */
/* มือถือและไอแพด (งานเบา): จางและเลื่อนขึ้นเท่านั้น ไม่เบลอ ไม่ขยาย เพราะการเบลอตัวหนังสือใหญ่ทุกเฟรมทำให้ iPhone กระตุก */
.hf .d1-h{opacity:calc(1 - var(--hp,0) * 1.7);translate:0 calc(var(--hp,0) * -36px)}
.hf .d1 .hask{translate:0 calc(var(--hp,0) * 24px);opacity:calc(1 - var(--hp,0) * 1.4)}
@media (min-width:1100px) and (hover:hover){
  .hf .d1-h{transform-origin:50% 60%;translate:none;scale:calc(1 + var(--hp,0) * .55);filter:blur(calc(var(--hp,0) * 18px));will-change:scale,filter,opacity}
  .hf .d1 .hask{scale:calc(1 - var(--hp,0) * .1);translate:0 calc(var(--hp,0) * 40px);will-change:scale,translate,opacity}
}
/* จอแรกถูกเนื้อหาบังหมดแล้ว: ไม่ต้องวาดอีก (จอแรกค้างอยู่ใต้เนื้อหาตลอดทั้งหน้า ถ้าไม่ซ่อนเครื่องจะวาดซ้อนไว้ตลอด) */
.hf-covered .hf .d1{visibility:hidden}
@media (max-width:1099px){.hf-rest{box-shadow:0 -8px 24px rgba(124,20,10,.12)}}

/* กันที่ว่างขาวยาวใต้ท้ายเว็บบน iPhone Safari (เจ้าของงานแจ้ง 21 พ.ย. 2569): ชิ้นที่ถูกบิดแบบสามมิติ (แถวรูปติวเตอร์ t6) และชิ้นที่ลอยออกนอกกรอบ
   ถูก Safari นับเป็นพื้นที่เลื่อนได้ของหน้า จึงตัดทุกอย่างที่ล้นกรอบหน้าและกรอบแผ่นเนื้อหา · overflow:clip ไม่สร้างกล่องเลื่อน ของที่ค้างกับจอ (sticky) ข้างในยังทำงาน */
.hs.hf,.hf .hf-rest{overflow:clip}

/* ======================== story.css ======================== */
/* ===== 3 ขั้นตอนแบบเล่าเรื่อง (คอม): รูปค้างกลางจอ ข้อความเลื่อนขึ้นมาทีละขั้น แล้วรูปเปลี่ยนตามขั้น ===== */
.hfl section.dark.hfs-on{overflow:clip}
.hfs{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:88px;max-width:1060px;margin:24px auto 0;text-align:left}
.hfs-list{list-style:none;margin:0;padding:0}
.hfs-item{min-height:74vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;opacity:.22;transition:opacity .45s cubic-bezier(.22,1,.36,1)}
.hfs-item.is-on{opacity:1}
.hfs-n{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#FFF3ED;color:#C4180A;font-size:18px;font-weight:600;transition:background-color .35s,color .35s,scale .45s cubic-bezier(.34,1.4,.64,1)}
.hfs-item.is-on .hfs-n{background:#FC4013;color:#FFFFFF;scale:1.08}
.hfs-item h3{margin:22px 0 0;font-size:44px;line-height:1.25;font-weight:600;letter-spacing:-0.01em;color:#1F1E1D}
.hfs-item p{margin:12px 0 0;max-width:440px;font-size:18px;line-height:1.65;color:#524E4C}
.hfs-stage{position:sticky;top:calc(50vh - 270px);height:540px;align-self:start}
.hfs-stage::before{content:"";position:absolute;inset:40px -30px -30px;border-radius:50%;background:radial-gradient(closest-side,rgba(252,64,19,.22),rgba(252,64,19,0));filter:blur(10px)}
.hfs .hfs-card{position:absolute;inset:0;height:auto;opacity:0;transform:translateY(70px) rotate(6deg) scale(.88);transition:opacity .45s ease,transform .75s cubic-bezier(.22,1,.36,1);pointer-events:none}
.hfs .hfs-card.is-past{transform:translateY(-70px) rotate(-6deg) scale(.88)}
.hfs .hfs-card.is-on{opacity:1;transform:none;pointer-events:auto}
.hfs .hfs-card .num,.hfs .hfs-card .cap{display:none}
.hfs .hfs-card .shade{opacity:.45}
.hfs-dots{position:absolute;right:-34px;top:50%;translate:0 -50%;display:flex;flex-direction:column;gap:8px}
.hfs-dots i{width:8px;height:8px;border-radius:50%;background:#E7D9CF;transition:background-color .3s,height .3s}
.hfs-dots i.is-on{background:#FC4013;height:24px;border-radius:4px}
@media (prefers-reduced-motion:reduce){.hfs .hfs-card,.hfs-item,.hfs-n{transition:none}}

/* ===== Highskill Method แบบเล่าเรื่อง (คอม): ชื่อขั้นเลื่อนทางซ้าย การ์ดเครื่องมือของขั้นนั้นกางออกทางขวาและค้างกลางจอ ===== */
.hfl .hm.hfm-on{overflow:clip}
.hfm-on .hm-tabs,.hfm-on .hs-swipe-count{display:none}
.hfm{display:grid;grid-template-columns:minmax(0,1fr) 680px;gap:40px;margin-top:8px;text-align:left}
.hfm .hfs-item p{max-width:400px}
.hfm-stage{position:sticky;top:calc(50vh - 220px);height:440px;align-self:start}
.hfm-stage::before{content:"";position:absolute;inset:60px 40px -20px;border-radius:50%;background:radial-gradient(closest-side,rgba(252,64,19,.2),rgba(252,64,19,0));filter:blur(12px)}
.hfm .hfm-stage .mx-t{position:absolute;left:50%;top:0;width:266px;height:424px;margin-left:-133px;padding-left:18px;padding-right:18px;animation:none!important;opacity:0;pointer-events:none;
  transform:translate(var(--hfm-x,0px),90px) rotate(var(--hfm-r,0deg)) scale(.84);z-index:var(--hfm-z,1);
  transition:opacity .4s ease,transform .75s cubic-bezier(.22,1,.36,1);transition-delay:var(--hfm-d,0ms)}
.hfm .hfm-stage .mx-t.is-past{transform:translate(var(--hfm-x,0px),-90px) rotate(var(--hfm-r,0deg)) scale(.84)}
.hfm .hfm-stage .mx-t.is-on{opacity:1;pointer-events:auto;transform:translate(var(--hfm-x,0px),var(--hfm-y,0px)) rotate(var(--hfm-r,0deg))}
.hfm .hfm-stage .mx-t.is-on:hover,.hfm .hfm-stage .mx-t.is-on:focus-visible{transform:translate(var(--hfm-x,0px),-14px) rotate(0deg);z-index:6;transition-delay:0ms}
.hfm .hfm-stage .mx-t h3{font-size:22px}
.hfm .hfm-stage .mx-t p{font-size:14px}
@media (prefers-reduced-motion:reduce){.hfm .hfm-stage .mx-t{transition:none}}

/* ======================== light.css ======================== */
/* ===== หน้าแรกพื้นสว่าง (ตัวอย่าง): ส่วนที่เขียนมาเป็นพื้นเข้มอย่างเดียว ปรับเป็นพื้นขาวให้เข้ากับหน้าอื่น ===== */
.hfl .hx-sec{background:#FFFFFF;color:#1F1E1D}
.hfl .hx-i{border-top-color:#E7E6E6;color:#1F1E1D}
.hfl .hx-ic{background:#FFF3ED;color:#FC4013}
.hfl .hx-t h3 a{color:#1F1E1D}
.hfl .hx-t h3 a:hover{color:#C4180A}
.hfl .hx-t h3 i{color:#A39C98}
.hfl .hx-t p{color:#524E4C}
.hfl .hx-gates b,.hfl .hx-gates .is-rate b{color:#FC4013}
.hfl .hx-gates small{color:#716C69}
.hfl .hx-cta-note{color:#716C69}
.hfl .hx-arena-c{color:#1F1E1D}
.hfl .hx-arena-pr b{color:#FC4013}
.hfl .hx-arena-pr s{color:#8F8986}
.hfl .hx-arena .hs-swipe-count b{color:#1F1E1D}
.hfl .hx-arena .hs-swipe-count i{background:#E7E6E6}
.hfl .hf-rest{box-shadow:0 -24px 60px rgba(124,20,10,.14)}

/* ---------- Highskill Method: แถบสีพีชอ่อน การ์ดขาว ---------- */
.hfl .hm{background:#FFF3ED;color:#1F1E1D}
.hfl .hm .sq-h2.is-w{color:#1F1E1D}
.hfl .hm-headr p{color:#524E4C}
.hfl .hm-mas{filter:drop-shadow(0 12px 16px rgba(124,20,10,.18))}
.hfl .hm-g1,.hfl .hm-g2{opacity:.35}
.hfl .hm-tab{border-color:#EBD9CC;background:#FFFFFF;color:#1F1E1D}
.hfl .hm-tab i{background:#FFF3ED;color:#C4180A}
.hfl .hm-tab:hover{border-color:#FC4013}
.hfl .hm-tab.is-on{background:#FC4013;color:#FFFFFF;border-color:#FC4013}
.hfl .hm-tab.is-on i{background:#FFFFFF;color:#FC4013}
.hfl .hm .mx-t:not(.is-brand){--mx-fg:#1F1E1D;--mx-sub:#524E4C;--mx-cta:#C4180A;background:radial-gradient(#F2DCCD 1.2px,transparent 1.3px) 0 0/14px 14px,#FFFFFF;border-color:#F2E4DA}
.hfl .hm .mx-t.is-glow{background:radial-gradient(#F2DCCD 1.2px,transparent 1.3px) 0 0/14px 14px,radial-gradient(520px 340px at 85% 0%,rgba(252,64,19,.14),transparent 70%),#FFFFFF}
.hfl .hm .mx-t:not(.is-brand):hover,.hfl .hm .mx-t.is-hl{border-color:#FC4013}
.hfl .hm .mx-t:not(.is-brand) .hmx-stage{color:#C4180A}
.hfl .hmx-st{background:#FFF8F2;border-color:#F2E4DA;color:#1F1E1D;box-shadow:0 14px 30px rgba(124,20,10,.10)}
.hfl .is-brand .hmx-st{background:#FFFFFF;border-color:transparent}
.hfl .hm-q{color:#1F1E1D}
.hfl .hm-bars .mt-bar{color:#524E4C}
.hfl .hm-bars .mt-bar span:nth-child(2){background:#EFE3DA}
.hfl .hm-route span{color:#716C69}
.hfl .hm-route .is-goal{color:#1F1E1D}
.hfl .hm-route span i{background:#FFFFFF}
.hfl .hm-dots b{color:#1F1E1D}
.hfl .hm-trk .qbt-dot{background:#EFE3DA}
.hfl .hm-trk .qbt-dot.is-done{background:#FC4013}
.hfl .hm-trk .qbt-dot.is-cur{background:#FFD9C7}
.hfl .hm-wk > span{color:#716C69}
.hfl .hm-wk > span > i{background:#F4E9E1}
.hfl .hm-wk > span.is-on > i{background:linear-gradient(160deg,#FF3D8B,#FF7A3D)}
.hfl .hm-wk > span.is-rest > i{background:rgba(61,139,242,.14);color:#2D6FD0}
.hfl .hm-wk > span.is-today > i{background:transparent}
.hfl .hm-ck svg circle:first-child{stroke:#EFE3DA}
.hfl .hm-ck svg text{fill:#1F1E1D}
.hfl .hm-ckr .pg-crow,.hfl .hm-map .pg-mrow{background:#FFFFFF;color:#1F1E1D}
.hfl .hm-ckr .pg-crow-h span{color:#716C69}
.hfl .hm-ckr .pg-bar{background:#EFE3DA}
.hfl .hm-ckr .pg-bar b{background:#1F1E1D}
.hfl .hm-map .pg-stars svg.is-off{color:#E0D5CD}
.hfl .hm-ar-h{color:#1F1E1D}
.hfl .hm-ar-bar{background:#EFE3DA}
.hfl .hm-ar-tags span{background:#FFFFFF;color:#1F1E1D}
.hfl .hm-timer{background:#FFE3E3;color:#C4180A}
.hfl .hm .hs-swipe-count b{color:#1F1E1D}
.hfl .hm .hs-swipe-count i{background:#EBD9CC}
.hfl .hm .hs-swipe-count i.is-on{background:#FC4013}

/* ---------- 3 ขั้นตอน: พื้นขาว รูปถ่ายยังมีเงาเข้มใต้คำบรรยายเหมือนเดิม ---------- */
.hfl section.dark{background:#FFFFFF;color:#1F1E1D}
.hfl section.dark .eyebrow{color:#1F1E1D}
.hfl section.dark .lead2{color:#524E4C}
.hs.hfl .dark .cream{--hs-shine-base:linear-gradient(90deg,#ED2609 0%,#FC4013 50%,#FF8A3D 100%)}
.hfl section.dark .step{color:#FFFFFF}
.hfl section.dark .hx-cta-note{color:#716C69}
@media (max-width:640px){
  .hfl #start.is-compact .step{background:#FFF8F2;color:#1F1E1D;border-color:#F2E4DA}
  .hfl #start.is-compact .step .cap p{color:#524E4C}
  .hfl #start.is-compact .step .num{color:#FFFFFF}
}

/* ---------- เก็บสีพื้นเข้มที่หลงเหลือ (ไล่ตรวจทั้งหน้า 21 พ.ย. 2569) ---------- */
/* ตารางเทียบ: คอลัมน์ Highskill เป็นสีส้มแบรนด์แทนสีดำ */
.hfl .cmp-hs{background:linear-gradient(180deg,#FF5B10 0%,#FC4013 68%,#ED2609 100%);box-shadow:0 30px 60px rgba(252,64,19,.22)}
@media (max-width:860px){
  .hfl .cmp-lab{background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:12px 0 24px -8px rgba(31,30,29,.16)}
}
/* ชื่อติวเตอร์ใต้รูปในแถวรูปเลื่อน */
.hfl .t6-cd{color:#1F1E1D}
.hfl .t6-cd small{color:#716C69;opacity:1}
/* คำอธิบายใต้หัวข้อ 3 ขั้นตอน (ของเดิมกำหนดสีขาวไว้ในแท็ก) */
.hfl section.dark .lead2{color:#524E4C!important}
/* ป้ายในการ์ดรีวิว */
.hfl .rev .rc .rver{background:#E7F7EE;color:#15803C}
.hfl .rev .rtags li{background:#FFF3ED;color:#C4180A}

/* ---------- Highskill Method พื้นส้มแบรนด์ (เจ้าของงานสั่ง): แถบส้มแบบเดียวกับจอแรก การ์ดขาวทุกใบ ---------- */
.hfl .hm{background:linear-gradient(321deg,#FC4013 0%,#FF5B10 100%);color:#FFFFFF}
.hfl .hm .sq-h2.is-w{color:#FFFFFF}
.hs.hfl .hm .sq-grad{--hs-shine-base:linear-gradient(90deg,#FFE055 0%,#FFF0A8 50%,#FFE055 100%)}
.hfl .hm-headr p{color:rgba(255,255,255,.92)}
.hfl .hm-g1{opacity:.7;background:radial-gradient(circle,rgba(255,224,85,.55),rgba(255,224,85,0) 68%)}
.hfl .hm-g2{opacity:.6;background:radial-gradient(circle,rgba(237,38,9,.55),rgba(237,38,9,0) 70%)}
.hfl .hm-mas{filter:drop-shadow(0 14px 18px rgba(124,20,10,.3))}
/* การ์ด SkillQuest เดิมเป็นพื้นส้ม จะกลืนกับพื้นหลัง จึงเป็นการ์ดขาวเหมือนใบอื่น */
.hfl .hm .mx-t,.hfl .hm .mx-t.is-brand{--mx-fg:#1F1E1D;--mx-sub:#524E4C;--mx-cta:#C4180A;--mx-line:#FC4013;color:#1F1E1D;background:radial-gradient(#F2DCCD 1.2px,transparent 1.3px) 0 0/14px 14px,#FFFFFF;border-color:rgba(255,255,255,.6)}
.hfl .hm .mx-t.is-brand .hmx-stage{color:#C4180A}
.hfl .is-brand .hmx-st{background:#FFF8F2;border-color:#F2E4DA}
.hf-stk .hm .mx-t{box-shadow:0 -12px 34px rgba(124,20,10,.22)}

/* ส่วนรีวิว: พื้นดำไล่ลงเป็นส้มที่ขอบล่าง แบบเดียวกับคอลัมน์ Highskill ในตารางเปรียบเทียบ (.cmp-hs) และการ์ดสรุปราคาหน้าค่าเรียน · การ์ดรีวิวยังเป็นสีขาว (เจ้าของงานสั่ง 21 พ.ย. 2569) */
.hfl .rev{background:linear-gradient(180deg,#1F1E1D 0%,#1F1E1D 72%,#ED2609 93%,#FFB020 100%);box-shadow:0 30px 60px rgba(196,24,10,.28);color:#FFFFFF}
.hfl .rev .rblob{display:none}
.hfl .rev-l>span:first-child{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.2)!important;color:#FFFFFF}
.hfl .rev-h{color:#FFFFFF}
.hs.hfl .rev-h .grad{--hs-shine-base:linear-gradient(90deg,#FF7A3D 0%,#FFB020 100%)}
.hfl .rev-l p,.hfl .rev-l [style*="color: #3B3836"]{color:#E7E2DE!important}
.hfl .rev-l [style*="color: #716C69"]{color:#CFC9C6!important}
.hfl .rev-stats span{color:#CFC9C6}
.hfl .rev-stats b{color:#FFFFFF}
.hfl .rev .cta-o{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.6);color:#FFFFFF}
.hfl .rev .cta-o:hover{background:rgba(255,255,255,.2);color:#FFFFFF}
.hfl .rev .rc{color:#1F1E1D;box-shadow:0 14px 30px rgba(0,0,0,.28)}

/* ======================== scrollfx.css ======================== */
/* ===== การเคลื่อนไหวตามการเลื่อน (วิธีเดียวกับ checkslip: ผูกกับตำแหน่งเลื่อนด้วย CSS ล้วน ไม่มีสคริปต์) =====
   เบราว์เซอร์ที่ยังไม่รองรับ และเครื่องที่ตั้งค่าลดการเคลื่อนไหว จะเห็นหน้าปกตินิ่งๆ */
@keyframes fx-rise{0%{opacity:0;translate:0 36px}100%{opacity:1;translate:0 0}}
@keyframes fx-card{0%{opacity:0;translate:0 var(--fx-y,120px);rotate:var(--fx-r,-4deg);scale:.88}45%{opacity:1}100%{opacity:1;translate:0 0;rotate:0deg;scale:1}}
@keyframes fx-stand{0%{transform:perspective(1200px) translate3d(0,110px,0) rotateX(26deg) scale(.8)}100%{transform:none}}
@keyframes fx-band{0%{scale:.93;opacity:.6}100%{scale:1;opacity:1}}
@keyframes fx-drift{0%{translate:0 70px}100%{translate:0 -70px}}
@keyframes fx-slide{0%{opacity:0;translate:-40px 0}100%{opacity:1;translate:0 0}}
@supports (animation-timeline:view()){
@media (prefers-reduced-motion:no-preference){
  /* หัวข้อของแต่ละส่วน: ขึ้นทีละบรรทัด */
  .hf-rest .hs-head>*,.hf-rest .cmpsec>.eyebrow,.hf-rest .cmpsec>.h2,.hf-rest .cmpsec>.lead2,.hf-rest .hm-head>*,.hf-rest .ptext>*,.hf-rest .rev-l>*,.hf-rest .hx-cta{animation:fx-rise ease-out both;animation-timeline:view();animation-range:entry 0% entry 80%}
  .hf-rest .hs-head>:nth-child(2),.hf-rest .cmpsec>.h2,.hf-rest .hm-head>:nth-child(2),.hf-rest .ptext>:nth-child(2),.hf-rest .rev-l>:nth-child(2){animation-range:entry 12% entry 92%}
  .hf-rest .hs-head>:nth-child(3),.hf-rest .cmpsec>.lead2,.hf-rest .ptext>:nth-child(3),.hf-rest .rev-l>:nth-child(3){animation-range:entry 24% cover 22%}
  /* แถบพื้นเข้มมุมมน: ขยายเต็มเมื่อเลื่อนเข้ามา */
  /* แผ่นเนื้อหาทั้งแผ่น: เริ่มแบบเอนนอนเล็กๆ แล้วตั้งขึ้นเต็มจอขณะเลื่อนออกจากจอแรก (แบบเดียวกับ checkslip) */
  .hf-rest{animation:fx-stand ease-out both;animation-timeline:scroll(root);animation-range:0px 85vh;transform-origin:50% 0}
  /* แถบมุมมนใหญ่: ตั้งขึ้นแบบเดียวกันเมื่อเลื่อนเข้ามา */
  .hf-rest .hm,.hf-rest .rev{animation:fx-stand ease-out both;animation-timeline:view();animation-range:entry 0% entry 75%;transform-origin:50% 0}
  /* แสงตกแต่งในแถบ: เลื่อนช้ากว่าเนื้อหาเล็กน้อย */
  .hf-rest .sq-blob,.hf-rest .rblob{animation:fx-drift linear both;animation-timeline:view();animation-range:cover}
  /* ตารางเทียบและการ์ดราคา */
  .hf-rest .cmp-scroll,.hf-rest .pcard{animation:fx-card ease-out both;animation-timeline:view();animation-range:entry 0% cover 28%}
}
@media (prefers-reduced-motion:no-preference) and (min-width:861px){
  /* การ์ดและรายการ: แต่ละใบขึ้นมาเองเมื่อเลื่อนถึง ใบที่อยู่ขวากว่าตามหลังเล็กน้อย */
  .hf-rest .mx-t,.hf-rest .hx-arena-c,.hf-rest .steps>.step{animation:fx-card ease-out both;animation-timeline:view();animation-range:entry 0% cover 24%}
  .hf-rest .mx-t:nth-child(2n),.hf-rest .hx-arena-c:nth-child(2n),.hf-rest .steps>.step:nth-child(2n){--fx-r:4deg;--fx-y:170px}
  .hf-rest .mx-t:nth-child(2n),.hf-rest .hx-arena-c:nth-child(2),.hf-rest .steps>.step:nth-child(2){animation-range:entry 10% cover 30%}
  .hf-rest .hx-arena-c:nth-child(3),.hf-rest .steps>.step:nth-child(3){animation-range:entry 20% cover 36%}
  .hf-rest .hx-arena-c:nth-child(4){animation-range:entry 30% cover 42%}
  .hf-rest .hx-i{animation:fx-slide ease-out both;animation-timeline:view();animation-range:entry 10% cover 26%}
  .hf-rest .hx-i:nth-child(3n+2){animation-range:entry 22% cover 32%}
  .hf-rest .hx-i:nth-child(3n){animation-range:entry 34% cover 38%}
}
}

/* มือถือและไอแพด (งานเบา): แผ่นเนื้อหาและแถบใหญ่ไม่เอนนอนแล้วตั้งขึ้น และแสงตกแต่งไม่เลื่อนสวน เพราะการบิดแผ่นที่ยาวทั้งหน้าทำให้เลื่อนกระตุก หัวข้อยังลอยขึ้นตามปกติ */
@media (max-width:1099px){
  .hf-rest,.hf-rest .hm,.hf-rest .rev,.hf-rest .sq-blob,.hf-rest .rblob{animation:none!important;transform:none!important}
}

/* ======================== stack.css ======================== */
/* ===== Highskill Method แบบการ์ดซ้อนทับตอนเลื่อน (แปลงจากชิ้นงาน images-scrolling-animation) =====
   การ์ดแต่ละใบเลื่อนขึ้นมาแล้วค้างใต้หัวเว็บ ใบถัดไปขึ้นมาทับโดยเหลื่อมลงมาเล็กน้อย ใบที่อยู่ข้างหลังค่อยๆ ย่อลง */
.hf-stk .hm{overflow:clip;padding-bottom:56px} /* ระยะใต้การ์ดใบสุดท้ายเท่ากับระยะขอบข้าง ไม่เว้นพื้นส้มว่าง */
.hf-stk .hm-tabs,.hf-stk .hm .hs-swipe-count,.hf-stk .hm .hs-swipe-hint{display:none!important}
.hf-stk .hm .mx-grid{display:block;max-width:980px;margin:56px auto 0;padding:0;overflow:visible;grid-template-rows:none}
.hf-stk .hm .mx-t{position:sticky;top:calc(104px + var(--i,0) * 14px);z-index:calc(1 + var(--i,0));width:100%;height:460px;margin:0 0 56px;padding:36px 36px 36px 40px;border-radius:32px;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);column-gap:36px;align-content:center;
  transform:none;transform-origin:50% 0;scale:var(--s,1);animation:none;opacity:1;translate:none;rotate:none;
  box-shadow:0 -10px 30px rgba(124,20,10,.07);transition:border-color .2s}
.hf-stk .hm .mx-t:last-child{margin-bottom:0}
.hf-stk .hm .mx-t:hover{transform:none}
.hf-stk .hm .mx-t>*{grid-column:1}
.hf-stk .hm .mx-t .mx-logo{height:52px}
.hf-stk .hm .mx-t h3{font-size:34px}
.hf-stk .hm .mx-t p{font-size:17px;max-width:420px}
.hf-stk .hm .mx-t .mx-cta{font-size:17px}
.hf-stk .hm .mx-t .mx-mas{display:none}
.hf-stk .hm .mx-t .hmx-st{grid-column:2;grid-row:1 / span 6;align-self:center;margin:0;padding:22px 20px;transform:rotate(-1.5deg)}
.hf-stk .hm .mx-t:nth-child(even) .hmx-st{transform:rotate(1.5deg)}
.hf-stk .hm .mx-t:hover .hmx-st{transform:rotate(0)}
@media (max-width:860px){
  .hf-stk .hm .mx-grid{margin:28px 0 0;padding:0}
  .hf-stk .hm{padding-bottom:40px}
  .hf-stk .hm .mx-t{top:calc(84px + var(--i,0) * 9px);height:440px;margin-bottom:40px;padding:22px 20px 20px;border-radius:26px;display:flex;flex-direction:column;gap:8px;align-content:normal;flex:none}
  .hf-stk .hm .mx-t .mx-logo{height:40px}
  .hf-stk .hm .mx-t h3{font-size:24px}
  .hf-stk .hm .mx-t p{font-size:15px}
  .hf-stk .hm .mx-t .mx-cta{font-size:16px}
  /* ภาพประกอบในการ์ด (มือถือ): กล่องกว้างเต็มการ์ด อยู่ในการ์ดทั้งกล่อง ไม่เอียง ไม่ถูกตัดขอบล่าง และยืดเต็มที่ว่างใต้ข้อความ เนื้อหาอยู่กลางกล่อง
     (เดิมกล่องหดเท่าเนื้อหา ลอยกลางการ์ด และโผล่พ้นขอบล่าง จึงดูเล็กและถูกตัด) */
  .hf-stk .hm .mx-t .hmx-st{flex:1 1 auto;min-height:0;align-self:stretch;width:auto;margin:14px 0 0;padding:18px 16px;display:flex;flex-direction:column;justify-content:center;transform:none!important}
  .hf-stk .hm .mx-t .hmx-st>*{width:100%}
  .hf-stk .hm .hm-det .hw-opt.is-ok{display:none}
}
@media (prefers-reduced-motion:reduce){.hf-stk .hm .mx-t{scale:1}}

/* การ์ดกว้างเต็มแถบส้ม (เจ้าของงานสั่ง): ขยายออกนอกกรอบ 1180 ให้ชิดขอบแถบซ้ายขวา เหลือระยะขอบเท่ากัน */
@media (min-width:861px){
  .hf-stk .hm .mx-grid{max-width:none;width:calc(100vw - 88px);margin-left:calc(50% - 50vw + 44px);margin-right:0}
  .hf-stk .hm .mx-t{padding:44px clamp(40px,6vw,96px);column-gap:clamp(36px,5vw,88px);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .hf-stk .hm .mx-t p{max-width:520px}
  .hf-stk .hm .mx-t .hmx-st{max-width:560px;width:100%;justify-self:end}
}
/* จุดพื้นหลังการ์ดห่างขึ้น (เดิมห่าง 14px) */
.hfl .hm .mx-t:not(.is-glow),.hfl .hm .mx-t.is-brand:not(.is-glow){background:radial-gradient(#F2DCCD 1.3px,transparent 1.4px) 0 0/28px 28px,#FFFFFF}
.hfl .hm .mx-t.is-glow{background:radial-gradient(#F2DCCD 1.3px,transparent 1.4px) 0 0/28px 28px,radial-gradient(520px 340px at 85% 0%,rgba(252,64,19,.14),transparent 70%),#FFFFFF}

/* ---------- ส่วนหัว Highskill Method (เจ้าของงานสั่ง 21 พ.ย. 2569) ---------- */
/* พื้นหลังแบบเดียวกับจอแรก: แสงเหลืองแดง + ลายไล่สีเคลื่อนไหว (hero-mesh.js ผ่าน data-hs-mesh) เฉพาะช่วงหัวส่วน แล้วจางลงเป็นพื้นส้มเรียบ ไม่วาดทั้งแถบยาวเพื่อไม่ให้หนักเครื่อง */
.hf-hm-fx{position:absolute;left:0;top:0;width:100%;height:680px;z-index:0;overflow:hidden;pointer-events:none;-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 55%,transparent 100%)}
.hf-hm-fx .d1-glow{position:absolute;border-radius:50%}
.hf-stk .hm .hm-g1{display:none}
/* คอม: คำอธิบายและปุ่มชิดขวา น้องสกิลลอยสวนการเลื่อนเล็กน้อย */
@keyframes hf-mas{0%{translate:0 56px;rotate:-5deg}100%{translate:0 -64px;rotate:5deg}}
@media (min-width:861px){
  .hf-stk .hm-headr{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
  .hf-stk .hm-headr p{margin-left:auto;text-align:right}
}
@supports (animation-timeline:view()){
@media (prefers-reduced-motion:no-preference){
  .hf-stk .hm-mas{animation:hf-mas linear both;animation-timeline:view();animation-range:cover 0% cover 60%}
}
}
/* มือถือ: แถบส้มกว้างเต็มจอ ไม่มีขอบข้างและมุมมน หัวส่วนจัดกลาง */
@media (max-width:860px){
  .hf-stk .hm{margin-left:0;margin-right:0;border-radius:0}
  .hf-stk .hm-head{justify-items:center;text-align:center}
  .hf-stk .hm-head .sq-mlogo{margin-left:auto;margin-right:auto}
  .hf-stk .hm-headr{display:flex;flex-direction:column;align-items:center;width:100%}
  .hf-stk .hm-headr p{text-align:center;padding-right:0;max-width:none}
  .hf-hm-fx{height:560px}
}

/* ======================== subj.css ======================== */
/* ===== วิชาที่เปิดสอน แบบเปิดม่าน (แปลงจากชิ้นงาน motion-footer / CinematicFooter) =====
   ส่วนนี้ค้างอยู่กับจอ ส่วนก่อนหน้าเลื่อนออกเหมือนเปิดม่าน มีแสงส้มหายใจ ลายตาราง คำ highskill ตัวใหญ่ด้านหลัง แถบชื่อวิชาวิ่งเฉียง และการ์ดวิชาแบบกระจก */
@keyframes hf-breathe{0%{transform:translate(-50%,-50%) scale(1);opacity:.6}100%{transform:translate(-50%,-50%) scale(1.12);opacity:1}}
@keyframes hf-marq{to{transform:translateX(-50%)}}
@keyframes hf-sj-giant{0%{translate:0 10vh;scale:.8;opacity:0}100%{translate:0 0;scale:1;opacity:1}}
@keyframes hf-sj-rise{0%{translate:0 50px;opacity:0}100%{translate:0 0;opacity:1}}
.hf-subj{position:relative;padding:0!important;background:linear-gradient(180deg,#FFFFFF 0%,#FFF6EF 100%);overflow:clip;view-timeline-name:--hf-subj}
.hf-subj-fx{position:relative;overflow:hidden;padding:150px 16px 120px}
.hf-subj .hx-in{position:relative;z-index:3}
/* แสงส้มหายใจ + ลายตาราง */
/* แสงใช้สีไล่ระดับล้วน ไม่ใช้ filter:blur และการ์ดไม่เบลอพื้นหลัง: ชั้นเบลอขนาดเต็มจอหลายชั้นบนจอใหญ่ความละเอียดสูงทำให้เบราว์เซอร์วาดการ์ดและแคปซูลหายเป็นบางครั้ง */
.hf-subj-aur{position:absolute;left:50%;top:50%;width:104vw;height:84vh;border-radius:50%;background:radial-gradient(closest-side,rgba(252,64,19,.17) 0%,rgba(255,150,40,.14) 38%,rgba(255,176,32,.05) 72%,rgba(255,176,32,0) 100%);pointer-events:none;animation:hf-breathe 8s ease-in-out infinite alternate}
.hf-subj-grid{position:absolute;inset:0;pointer-events:none;background-size:60px 60px;background-image:linear-gradient(to right,rgba(252,64,19,.07) 1px,transparent 1px),linear-gradient(to bottom,rgba(252,64,19,.07) 1px,transparent 1px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 30%,#000 70%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 30%,#000 70%,transparent)}
/* คำตัวใหญ่ด้านหลัง */
.hf-subj-giant{position:absolute;left:50%;bottom:-3vw;z-index:1;margin-left:-50vw;width:100vw;text-align:center;white-space:nowrap;pointer-events:none;user-select:none;font-family:'Anuphan','Noto Sans Thai',sans-serif;font-size:21vw;line-height:.8;font-weight:700;letter-spacing:-.04em;color:transparent;-webkit-text-stroke:1px rgba(252,64,19,.16);background:linear-gradient(180deg,rgba(252,64,19,.16) 0%,rgba(252,64,19,0) 62%);-webkit-background-clip:text;background-clip:text}
/* แถบชื่อวิชาวิ่งเฉียง */
.hf-subj-marq{position:absolute;left:0;top:64px;z-index:2;width:100%;overflow:hidden;padding:13px 0;border-top:1px solid #F2E4DA;border-bottom:1px solid #F2E4DA;background:rgba(255,255,255,.9);transform:rotate(-2deg) scale(1.1)}
.hf-subj-marq>div{display:flex;width:max-content;animation:hf-marq 46s linear infinite;font-size:15px;font-weight:600;color:#716C69}
.hf-subj-marq span{display:inline-flex;align-items:center;gap:36px;padding:0 18px;white-space:nowrap}
.hf-subj-marq i{font-style:normal;color:#FC4013;opacity:.75}
/* การ์ดวิชาแบบกระจก ขยับตามเมาส์ */
.hfl .hf-subj .hx-grid{column-gap:16px;row-gap:16px;margin-top:36px;perspective:900px}
.hfl .hf-subj .hx-i{position:relative;align-items:flex-start;padding:20px 20px 22px;border-radius:24px;border:1px solid rgba(252,64,19,.14);border-top-color:rgba(252,64,19,.14);background:linear-gradient(145deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.82) 100%);box-shadow:0 14px 34px -16px rgba(124,20,10,.22),inset 0 1px 1px rgba(255,255,255,.9);
  transform:translate(var(--mx,0px),var(--my,0px)) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(var(--ms,1));transition:transform 1s cubic-bezier(.34,1.56,.64,1),border-color .3s,box-shadow .3s}
.hfl .hf-subj .hx-i.is-mag{transition:transform .35s cubic-bezier(.22,1,.36,1),border-color .3s,box-shadow .3s;border-color:rgba(252,64,19,.4);box-shadow:0 22px 44px -16px rgba(124,20,10,.3),inset 0 1px 1px rgba(255,255,255,.9)}
.hfl .hf-subj .hx-ic{background:#FC4013;color:#FFFFFF}
.hfl .hf-subj .hx-more{margin-top:28px}
/* ขยับตามการเลื่อน (เบราว์เซอร์ที่รองรับ): คำตัวใหญ่ลอยขึ้นและขยาย หัวข้อกับการ์ดลอยขึ้นตามทีละชุด */
@supports (animation-timeline:view()){
@media (prefers-reduced-motion:no-preference){
  .hf-rest .hf-subj-giant{animation:hf-sj-giant linear both;animation-timeline:--hf-subj;animation-range:entry 20% entry 100%}
  .hf-rest .hf-subj .hs-head>*,.hf-rest .hf-subj .hx-i,.hf-rest .hf-subj .hx-more{animation:hf-sj-rise ease-out both;animation-timeline:--hf-subj;animation-range:entry 55% entry 95%}
  .hf-rest .hf-subj .hx-i:nth-child(n){animation-range:entry 62% entry 100%}
  .hf-rest .hf-subj .hx-i:nth-child(n+4),.hf-rest .hf-subj .hx-more{animation-range:entry 68% cover 52%}
}
}
/* คอมจอสูงพอ: เปิดม่านเต็มจอ ส่วนนี้ดูเหมือนค้างกับจอ ส่วนก่อนหน้าและส่วนถัดไปเลื่อนผ่าน
   (ใช้การเลื่อนสวนทางผูกกับตำแหน่งเลื่อนแทน position:fixed เพราะแผ่นเนื้อหาหลักมีการขยับ ทำให้ fixed ไม่ยึดกับจอ) */
@keyframes hf-sj-pin{from{transform:translateY(-100vh)}to{transform:translateY(100vh)}}
@media (min-width:1100px) and (min-height:740px){
  .hf-subj-fx{min-height:100vh;padding:150px 16px 104px;display:flex;flex-direction:column;justify-content:center}
  .hf-subj .hx-in{width:100%}
  .hf-subj-marq{top:104px}
}
@supports (animation-timeline:view()){
@media (min-width:1100px) and (min-height:740px) and (prefers-reduced-motion:no-preference){
  .hf-subj{height:100vh}
  .hf-subj-fx{height:100vh;animation:hf-sj-pin linear both;animation-timeline:--hf-subj;animation-range:cover 0% cover 100%}
}
}
@media (max-width:860px){
  .hf-subj-fx{padding:120px 16px 90px}
  .hf-subj-marq{top:44px}.hf-subj-marq>div{font-size:14px}
  .hf-subj-giant{font-size:24vw;bottom:-2vw}
  .hfl .hf-subj .hx-grid{row-gap:10px;margin-top:24px}
  .hfl .hf-subj .hx-i{padding:14px 16px;border-radius:20px}
}
@media (prefers-reduced-motion:reduce){.hf-subj-aur,.hf-subj-marq>div{animation:none}.hfl .hf-subj .hx-i{transition:none}}

/* มือถือและไอแพด (งานเบา): แสงอยู่นิ่ง การ์ดและแถบชื่อวิชาไม่เบลอพื้นหลัง (การเบลอของที่ขยับอยู่ข้างหลังต้องคำนวณใหม่ทุกเฟรม) */
@media (max-width:1099px){
  .hf-subj-aur{animation:none;opacity:.8}
  .hfl .hf-subj .hx-i{background:#FFFFFF}
}

/* ======================== mag.css ======================== */
/* ===== ชี้เมาส์แล้วการ์ดเอียงตามเมาส์ และเด้งกลับเมื่อเมาส์ออก (ชุดเดียวกับการ์ดวิชา) ใช้กับการ์ด Method คอลัมน์ตารางเทียบ และการ์ดรีวิว ===== */
.hf-mag{transform:perspective(1000px) translate(var(--mx,0px),var(--my,0px)) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(var(--ms,1))!important;transition:transform 1s cubic-bezier(.34,1.56,.64,1),border-color .3s,box-shadow .3s!important}
.hf-mag.is-mag{transition:transform .35s cubic-bezier(.22,1,.36,1),border-color .3s,box-shadow .3s!important}
/* การ์ด Method: ภาพจำลองในการ์ดขยับมากกว่าตัวการ์ดเล็กน้อย ให้ดูมีมิติ */
.hf-stk .hm .mx-t.hf-mag .hmx-st{translate:calc(var(--mx,0px) * 2.2) calc(var(--my,0px) * 2.2);transition:translate 1s cubic-bezier(.34,1.56,.64,1),transform .3s cubic-bezier(.2,.8,.2,1)}
.hf-stk .hm .mx-t.hf-mag.is-mag .hmx-st{transition:translate .35s cubic-bezier(.22,1,.36,1),transform .3s cubic-bezier(.2,.8,.2,1)}
.hf-stk .hm .mx-t.hf-mag.is-mag{border-color:#FFE055}
.hfl .rc.hf-mag.is-mag{box-shadow:0 22px 44px -14px rgba(124,20,10,.26)}
@media (prefers-reduced-motion:reduce){.hf-mag{transform:none!important;transition:none!important}}
