/* หน้าแรก FánFleur Guide แบบ Character-led (v2.175.0 เจ้าของ 2026-11-04 จากต้นแบบ guide-cl-preview) ใช้ตัวแปร --g-* ของ css/gib.css
   ทุก class ขึ้นต้น gh- ไม่ชนกับ guide.css (หน้าฉบับที่ 1) */
.gh{--gh-max:1180px;color:var(--g-ink);font-family:var(--g-ui)}
.skip{position:absolute;left:-9999px;top:8px;z-index:50;background:var(--g-ink);color:#fff;padding:8px 14px;border-radius:8px}.skip:focus{left:8px}
body.gd-page{margin:0;background:var(--g-bg);color:var(--g-ink);font:16px/1.6 var(--g-ui);overflow-x:hidden}
.gh-w{max-width:var(--gh-max);margin:0 auto;padding:0 clamp(18px,3vw,24px)}
.gh img{display:block;max-width:100%}
.gh h1,.gh h2,.gh h3{font-family:var(--g-display);font-weight:400}
:lang(th) .gh h2,:lang(th) .gh h3{font-weight:600}

/* หัวนิตยสาร */
.gh-mast{padding:clamp(36px,6vw,64px) 0 clamp(28px,4vw,44px);text-align:center}
.gh-kick{font:600 12px var(--g-ui);letter-spacing:.16em;text-transform:uppercase;color:var(--g-gold-d);margin:0 0 14px}
:lang(th) .gh-kick{letter-spacing:.04em;font-size:14px}
.gh-logo{display:block;width:clamp(56px,7vw,76px);height:auto;margin:0 auto 14px}   /* v2.178.0 โลโก้ FánFleur */
.gh-mast h1{font-size:clamp(44px,8vw,88px);line-height:1;margin:0}
.gh-dek{max-width:640px;margin:20px auto 0;font-size:clamp(17px,2.2vw,21px);line-height:1.55;color:var(--g-ink2)}
.gh-faces{display:flex;justify-content:center;margin-top:28px}
.gh-faces img{width:64px;height:64px;border-radius:50%;object-fit:cover;object-position:50% 18%;border:3px solid var(--g-bg);margin-left:-12px;background:var(--g-soft);box-shadow:0 6px 16px -10px rgba(0,0,0,.5)}
.gh-faces img:first-child{margin-left:0}
.gh-cap{margin:10px 0 0;font-size:14px;color:var(--g-ink3)}

.gh-sec{padding:clamp(40px,6vw,64px) 0}
.gh-band{background:var(--g-soft)}
.gh-sh{margin-bottom:24px}
.gh-sh h2{font-size:clamp(28px,4vw,40px);line-height:1.1;margin:0}
.gh-sh p{margin:6px 0 0;color:var(--g-ink3);max-width:560px}

/* บทความเด่น */
.gh-feat{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(20px,3vw,36px);align-items:center}
.gh-feat-img{display:block;aspect-ratio:4/3;border-radius:22px;overflow:hidden;background:var(--g-soft2)}
.gh-feat-img img{width:100%;height:100%;object-fit:cover;transition:transform .9s ease}
.gh-feat-img:hover img{transform:scale(1.03)}
.gh-cat{font:600 12px var(--g-ui);letter-spacing:.14em;text-transform:uppercase;color:var(--g-gold-d)}
:lang(th) .gh-cat{letter-spacing:.03em;font-size:14px}
.gh-feat h3{font-size:clamp(30px,4vw,44px);line-height:1.08;margin:8px 0 6px}
.gh-sub{font-weight:600;margin:0 0 12px}
.gh-by{display:flex;flex-direction:column;gap:10px;margin:18px 0 20px}
.gh-by div{display:flex;align-items:center;gap:12px}
.gh-by img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:50% 18%;background:var(--g-soft2);flex:none}
.gh-by b{display:block}.gh-by small{display:block;color:var(--g-ink3);font-size:13px}
.gh-btn{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 22px;border-radius:999px;background:var(--g-gold);color:var(--g-on-gold);font:600 14px var(--g-ui);letter-spacing:.06em;text-transform:uppercase;text-decoration:none}
.gh-btn:hover{background:var(--g-gold-l)}
.gh-note{display:inline-block;margin-top:14px;font-size:13px;color:var(--g-ink3);background:var(--g-bg);border-radius:10px;padding:8px 12px}
@media (max-width:820px){.gh-feat{grid-template-columns:1fr}}

/* คนเขียน */
.gh-writers{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px;list-style:none;margin:0;padding:0}
.gh-wr{background:var(--g-bg);border:1px solid var(--g-line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column}
.gh-pic{aspect-ratio:1/1;background:var(--g-soft2) center 15%/cover no-repeat;position:relative}
.gh-st{position:absolute;left:12px;top:12px;font:600 11px var(--g-ui);letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:999px;background:var(--g-gold);color:var(--g-on-gold)}
.gh-st.soon{background:var(--g-bg);color:var(--g-ink3);border:1px dashed var(--g-line2)}
.gh-tx{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.gh-wr h3{font-size:22px;line-height:1.15;margin:0}
.gh-role{font-size:13px;color:var(--g-ink3);margin:-4px 0 0}
.gh-beat{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0}
.gh-beat span{font:600 11px var(--g-ui);letter-spacing:.06em;text-transform:uppercase;color:var(--g-gold-d);background:var(--g-soft);padding:3px 8px;border-radius:6px}
:lang(th) .gh-beat span{font-size:12px;letter-spacing:0}
.gh-q{font-size:15px;line-height:1.5;color:var(--g-ink2);border-left:3px solid var(--g-gold);padding-left:12px;margin:auto 0 0}

/* หลักของ Guide */
.gh-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.gh-rule{border-top:2px solid var(--g-ink);padding-top:16px}
.gh-rule h3{font-size:22px;line-height:1.2;margin:0 0 6px}
.gh-rule p{margin:0;color:var(--g-ink2)}
@media (max-width:760px){.gh-rules{grid-template-columns:1fr}}

/* ฉบับถัดไป */
.gh-next{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.gh-nx{display:flex;gap:16px;align-items:center;background:var(--g-bg);border:1px dashed var(--g-line2);border-radius:20px;padding:18px}
.gh-nx img{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:50% 18%;flex:none;background:var(--g-soft)}
.gh-nx small{font:600 11px var(--g-ui);letter-spacing:.1em;text-transform:uppercase;color:var(--g-gold-d)}
:lang(th) .gh-nx small{font-size:13px;letter-spacing:.02em}
.gh-nx b{display:block;font:400 19px/1.25 var(--g-display);margin:4px 0}
:lang(th) .gh-nx b{font-weight:600}
.gh-nx span{font-size:14px;color:var(--g-ink3)}

/* ผู้ช่วยทดสอบ */
.gh-helpers{display:flex;gap:24px 40px;align-items:center;flex-wrap:wrap}
.gh-hp{display:flex;gap:12px;align-items:center;max-width:420px}
.gh-hp img{width:68px;height:68px;object-fit:contain;flex:none}
.gh-hp b{display:block;font:400 18px var(--g-display)}
.gh-hp span{font-size:14px;color:var(--g-ink3)}

.gh-cb{border-top:1px solid var(--g-line);padding:28px 0 56px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--g-ink3);font-size:15px}
.gh-cb a{color:var(--g-ink);font-weight:600}

/* v2.199.3 คนเขียน → ผู้ช่วยทดสอบ → Guide เขียนแบบนี้ = จอค้างเดียว (เจ้าของ "อยากให้ทั้ง 3 section อยู่ใน sticky อันเดียวกัน" + "รูปคนเขียนใหญ่ไป เอาพอดีไม่แตก")
   .gxa.gx-on (สคริปต์ใส่ ไม่มี JS = เรียงแบบเดิม): สูง 100svh + (11-1) × 55svh / .gxa-f = กรอบค้างใต้เมนูบน (--navh)
   หัวข้อ (.gxa-hd > .gh-sh) + เวที (.gxa-ch) ซ้อนกัน แสดงเฉพาะบทปัจจุบัน / รูปคนเขียนกว้างไม่เกิน 240px (ภาพจริง 300×380 = ไม่ขยายเกินจนแตก) */
.gxa.gx-on{padding:0;height:calc(100vh + (var(--gxn,11) - 1) * 55vh);height:calc(100svh + (var(--gxn,11) - 1) * 55svh)}
.gxa.gx-on>.gxa-f{position:sticky;top:var(--navh,64px);height:calc(100vh - var(--navh,64px));height:calc(100svh - var(--navh,64px));display:grid;grid-template-columns:minmax(220px,.8fr) 2fr;gap:clamp(28px,5vw,64px);align-items:center;padding-top:24px;padding-bottom:24px;box-sizing:border-box}
.gxa.gx-on .gxa-hd,.gxa.gx-on .gxa-st{position:relative;display:grid}
.gxa.gx-on .gxa-hd>*,.gxa.gx-on .gxa-st>*{grid-area:1/1}
.gxa.gx-on .gxa-st{height:100%;max-height:520px;align-items:center}
.gxa.gx-on .gxa-hd>.gh-sh,.gxa.gx-on .gxa-ch{opacity:0;visibility:hidden;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease,visibility .5s}
.gxa.gx-on .gxa-hd>.gh-sh.on,.gxa.gx-on .gxa-ch.on{opacity:1;visibility:visible;transform:none}
.gxa.gx-on .gh-sh{margin:0}
.gxa.gx-on .gh-sh h2{font-size:clamp(34px,3.6vw,50px);text-wrap:balance}
.gxa.gx-on .gh-sh p{margin-top:12px}
.gxa.gx-on .gxa-ch{height:100%}
/* คนเขียน: ทีละคน การ์ดขนาดพอดี รูปไม่เกินขนาดจริง */
.gxa.gx-on .gh-writers{position:relative;display:grid;grid-template-columns:1fr;height:100%;margin:0}
.gxa.gx-on .gh-writers>li{grid-area:1/1;align-self:center;opacity:0;visibility:hidden;transform:translateY(24px);transition:opacity .5s ease,transform .5s ease,visibility .5s}
.gxa.gx-on .gh-writers>li.on{opacity:1;visibility:visible;transform:none}
.gxa.gx-on .gh-wr{flex-direction:row;align-items:stretch;max-width:680px}
.gxa.gx-on .gh-wr .gh-pic{flex:0 0 clamp(150px,22vw,240px);align-self:flex-start;aspect-ratio:300/380;background-size:cover;background-position:center top}
.gxa.gx-on .gh-wr .gh-tx{justify-content:center;padding:clamp(18px,2.6vw,32px);gap:10px}
.gxa.gx-on .gh-wr h3{font-size:clamp(26px,2.6vw,34px)}
.gxa.gx-on .gh-wr .gh-q{font-size:clamp(15px,1.3vw,18px);margin:6px 0 0}
/* ผู้ช่วยทดสอบ: Toodling โผล่ทีละตัว */
.gxa.gx-on .gxa-ch[data-ch="1"]{display:flex;align-items:center}
.gxa.gx-on .gh-tl{width:100%}
.gxa.gx-on .gh-tl li{opacity:0;transform:translateY(18px) scale(.9);transition:opacity .45s ease,transform .45s cubic-bezier(.3,1.4,.5,1)}
.gxa.gx-on .gh-tl li.on{opacity:1;transform:none}
/* หลัก: ทีละข้อ */
.gxa.gx-on .gh-rules{position:relative;display:grid;grid-template-columns:1fr;height:100%;margin:0}
.gxa.gx-on .gh-rules>.gh-rule{grid-area:1/1;align-self:center;border-top:0;padding:0;opacity:0;visibility:hidden;transform:translateY(24px);transition:opacity .5s ease,transform .5s ease,visibility .5s}
.gxa.gx-on .gh-rules>.gh-rule.on{opacity:1;visibility:visible;transform:none}
.gxa.gx-on .gh-rule h3::before{content:"";display:block;width:48px;height:4px;border-radius:2px;background:var(--g-gold);margin-bottom:18px}
.gxa.gx-on .gh-rule h3{font-size:clamp(30px,3.4vw,46px);margin-bottom:14px}
.gxa.gx-on .gh-rule p{font-size:clamp(17px,1.5vw,20px);line-height:1.6;max-width:36ch}
:lang(th) .gxa.gx-on .gh-sh h2,:lang(th) .gxa.gx-on .gh-rule h3,:lang(th) .gxa.gx-on .gh-wr h3{line-height:1.35}
/* จุดบอกจังหวะ (เว้นช่องระหว่างบท) */
.gx-dots{position:absolute;right:clamp(10px,2vw,20px);top:50%;transform:translateY(-50%);list-style:none;margin:0;padding:0;display:grid;gap:9px}
.gx-dots li{width:7px;height:7px;border-radius:4px;background:var(--g-line2);transition:height .3s,width .3s,background .3s}
.gx-dots li.gap{margin-top:10px}
.gx-dots li.on{height:22px;background:var(--g-gold)}
@media (max-width:899px){
  .gxa.gx-on>.gxa-f{grid-template-columns:1fr;grid-template-rows:auto 1fr;align-items:start;gap:14px;padding-top:18px;padding-bottom:48px}
  .gxa.gx-on .gh-sh h2{font-size:clamp(28px,7vw,36px)}
  .gxa.gx-on .gh-sh p{margin-top:6px;font-size:15px}
  .gxa.gx-on .gxa-st{max-height:none}
  .gxa.gx-on .gh-wr{flex-direction:column;max-width:420px;margin:0 auto}
  .gxa.gx-on .gh-wr .gh-pic{flex:0 0 auto;width:100%;align-self:stretch;height:min(34vh,240px);aspect-ratio:auto;background-size:auto 100%;background-position:center top;background-color:var(--g-soft2)}
  .gxa.gx-on .gh-wr .gh-tx{padding:14px 16px 16px;gap:8px}
  .gxa.gx-on .gh-wr h3{font-size:24px}
  .gxa.gx-on .gh-wr .gh-q{font-size:15px}
  .gx-dots{left:50%;right:auto;top:auto;bottom:16px;transform:translateX(-50%);display:flex;gap:7px}
  .gx-dots li.gap{margin:0 0 0 8px}
  .gx-dots li.on{height:7px;width:20px}
}
@media (prefers-reduced-motion:reduce){.gxa.gx-on *{transition:none!important}}
/* v2.199.0 ผู้ช่วยทดสอบ = รูปวงกลม 10 ตัว + ชื่อ */
.gh-tl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:22px 16px}
.gh-tl li{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.gh-tl img{width:100%;max-width:140px;aspect-ratio:1/1;height:auto;border-radius:50%;object-fit:cover;background:#F6F1E7;border:1px solid var(--g-line);transition:transform .25s}
.gh-tl li:hover img{transform:translateY(-4px) rotate(-2deg)}
.gh-tl b{font:400 18px var(--g-display)}
@media (max-width:620px){.gh-tl{grid-template-columns:repeat(3,1fr);gap:18px 12px}.gh-tl b{font-size:16px}}
@media (prefers-reduced-motion:reduce){.gh-tl img{transition:none}}
/* v2.200.0 หน้าทำความรู้จัก Guide (fanfleur-guide-about.html) */
.ga-mast{text-align:left;padding-top:clamp(28px,5vw,48px)}
.ga-mast h1{font-size:clamp(36px,5.6vw,64px)}
.ga-back{display:inline-block;margin-bottom:18px;font:600 14px var(--g-ui);color:var(--g-ink2);text-decoration:none;border-bottom:1.5px solid var(--g-gold)}
.ga-sub{margin-top:clamp(40px,6vw,64px)}
.ga-mast .gh-dek,.ga-mast .gh-kick{text-align:left;margin-left:0;margin-right:0}
/* v2.201.0 About ของ Guide บนสุดของหน้าทำความรู้จัก (ข้อความเจ้าของ) + หลัก 3 ข้อบรรทัดเดียว คั่นด้วยเส้น / มือถือเรียงลง */
.ga-about{padding-bottom:clamp(36px,5vw,56px)}
.ga-about h2{margin:0 0 10px;font:400 clamp(26px,3vw,34px)/1.2 var(--g-display)}
.ga-about p{margin:0;max-width:62ch;font-size:clamp(16px,1.5vw,18px);line-height:1.7;color:var(--g-ink2)}
.ga-about h3{margin:28px 0 12px;font:600 13px var(--g-ui);letter-spacing:.12em;text-transform:uppercase;color:var(--g-gold-d)}
:lang(th) .ga-about h3{letter-spacing:.02em;font-size:15px}
.ga-rules{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 0}
.ga-rules li{font:400 clamp(18px,2vw,22px)/1.4 var(--g-display);color:var(--g-ink);padding:0 18px;border-left:2px solid var(--g-gold)}
.ga-rules li:first-child{padding-left:0;border-left:0}
:lang(th) .ga-rules li{line-height:1.5}
@media (max-width:620px){.ga-rules{flex-direction:column;gap:8px}.ga-rules li{padding:0 0 0 12px;border-left:2px solid var(--g-gold)}.ga-rules li:first-child{padding-left:12px;border-left:2px solid var(--g-gold)}}
.ga-mast{padding-left:clamp(18px,3vw,24px);padding-right:clamp(18px,3vw,24px)}   /* แนวซ้ายตรงกับ About + คนเขียน */
/* v2.202.0 หน้าทำความรู้จัก: ชื่อ FánFleur Guide + ป้าย "นิตยสารจาก…" ต่อขวา (ฟอนต์ป้ายเดิม) */
.ga-mast{padding-bottom:4px}
.ga-mast .ga-back{margin-bottom:0}
.ga-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin:0 0 12px;font:400 clamp(30px,4vw,44px)/1.2 var(--g-display)}
.ga-h .gh-kick{margin:0}
.ga-rules{margin-top:20px}

/* v2.212.0 hero หน้า Guide: โลโก้พัด (assets/brand/fanfleur-mark.svg) หน้าชื่อ = หัวนิตยสาร */
.gh-mark{display:block;height:.62em;width:auto;margin:0 0 .14em;filter:drop-shadow(0 2px 10px rgba(0,0,0,.35))}   /* โลโก้อยู่บนชื่อ (วางข้างชื่อ = ชื่อตกเป็น 2 บรรทัด) */

/* v2.213.0 หลัก 3 ข้อ (อังกฤษ) ยาวกว่าไทย ตกบรรทัด → เล็กลงให้อยู่บรรทัดเดียวบนจอคอม (ไทยคงเดิม) */
:lang(en) .ga-rules li{font-size:clamp(15px,1.4vw,18px)}
/* v2.213.0 การ์ดคนเขียน: ป้ายสูงเท่ากัน 2 แถวทุกใบ + คำพูดเริ่มต่อจากป้าย (เดิมชิดล่าง ป้าย 1 แถว/2 แถว = คำพูดไม่ตรงกัน) */
.gh-writers .gh-beat{min-height:54px;align-content:flex-start}
.gh-writers .gh-q{margin:6px 0 0}
/* v2.333.0 (เจ้าของ 2026-11-11) แถวฉบับที่ยังไม่ออก: ป้าย "เร็ว ๆ นี้" ขวาแถว (ตัวเล็กในแถวแบบ cmp ถูกซ่อน) + ชื่อคนเขียนไม่เป็นตัวใหญ่หมด (เดิม "โดย MATTEO") */
.nfl-r.soon .lb{text-transform:none;letter-spacing:.02em}
