/* ปุ่มแชร์บทความ (2 ธ.ค. 2569) — ใส่ลิงก์ด้วย tools/fix-share-buttons.py ห้ามแก้หน้าเว็บมือ
   แก้ไฟล์นี้แล้วต้อง bump ?v= ใน SHARE_ASSET_VER ของสคริปต์นั้น แล้วรันใหม่ (production cache 30 วัน) */

/* แถบบน: ใต้ภาพปก ก่อนเนื้อหา */
.gls-share-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0 16px;margin-bottom:18px;border-bottom:1px solid #eef0f4}
.gls-share-label{font-size:14px;font-weight:600;color:#57606f}
.gls-share-list{display:flex;gap:8px;list-style:none;margin:0;padding:0}
.gls-share-list li{margin:0}
.gls-share-list li a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:18px;color:#fff;text-decoration:none;transition:transform .15s,opacity .15s}
.gls-share-list li a:hover{transform:translateY(-2px);opacity:.9;color:#fff}

/* สีแอป — ใช้ทั้งแถบบนและแถบท้ายบทความ */
.gls-share-list li a.gls-fb,
.blog-details-desc .article-footer .article-share .social li a.gls-fb{background:#1877f2;border-color:#1877f2;color:#fff}
.gls-share-list li a.gls-line,
.blog-details-desc .article-footer .article-share .social li a.gls-line{background:#06c755;border-color:#06c755;color:#fff}
.gls-share-list li a.gls-x,
.blog-details-desc .article-footer .article-share .social li a.gls-x{background:#111;border-color:#111;color:#fff}
.gls-share-list li a.gls-copy,.gls-share-list li a.gls-native,
.blog-details-desc .article-footer .article-share .social li a.gls-copy,
.blog-details-desc .article-footer .article-share .social li a.gls-native{background:#eef1f6;border-color:#eef1f6;color:#2d3436}
.blog-details-desc .article-footer .article-share .social li a.gls-fb:hover,
.blog-details-desc .article-footer .article-share .social li a.gls-line:hover,
.blog-details-desc .article-footer .article-share .social li a.gls-x:hover{color:#fff;opacity:.9}
.gls-share-list li a.gls-copy:hover,.gls-share-list li a.gls-native:hover,
.blog-details-desc .article-footer .article-share .social li a.gls-copy:hover,
.blog-details-desc .article-footer .article-share .social li a.gls-native:hover{background:#e2e7f0;border-color:#e2e7f0;color:#0865f8}
.blog-details-desc .article-footer .article-share .social li{margin:0 2px}
/* ปุ่มแชร์มือถือซ่อนไว้จนกว่า share.js จะเจอว่ารองรับ (CSS ของธีมตั้ง li เป็น inline-block ซึ่งชนะ [hidden]) */
.gls-native-li[hidden]{display:none!important}

/* ข้อความ "คัดลอกลิงก์แล้ว" — ใต้แถบเมนู (ล่างจอมีแถบคุกกี้บัง) */
.gls-toast{position:fixed;left:50%;top:84px;transform:translateX(-50%) translateY(-12px);background:#2d3436;color:#fff;padding:10px 18px;border-radius:24px;font-size:14px;opacity:0;pointer-events:none;transition:all .25s;z-index:9999}
.gls-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
