/* ใช้ร่วมกันทุกหน้า: โฆษณา, ปุ่ม LINE, แบนเนอร์คุกกี้, ป๊อปอัป LINE */
.ad-slot{margin:22px 0}
.ad-label{font-size:11px;color:#9aa5ab;text-align:center;margin-bottom:4px;letter-spacing:.5px}
.ad-demo{border:1.5px dashed #c9d3d1;border-radius:12px;background:repeating-linear-gradient(45deg,#fafaf7,#fafaf7 10px,#f3f2ec 10px,#f3f2ec 20px);color:#8b989d;text-align:center;padding:26px 10px;font-size:14px;font-weight:500}
.ad-demo small{font-size:11px;opacity:.8}
.ad-card{border-radius:14px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;min-height:300px}
.ad-card .ad-demo{flex:1;display:flex;flex-direction:column;justify-content:center}

.line-float{position:fixed;right:18px;bottom:18px;z-index:90;display:flex;align-items:center;gap:8px;background:#06c755;color:#fff;border-radius:999px;padding:11px 18px 11px 13px;font-weight:600;box-shadow:0 8px 24px rgba(6,199,85,.35);border:0;cursor:pointer;font:inherit;font-weight:600}
.line-float:hover{background:#05b34c}
.line-ic{width:26px;height:26px;flex:none}
.btn-line{background:#06c755!important;color:#fff!important}
.btn-line:hover{background:#05b34c!important}

.lm-back{position:fixed;inset:0;background:rgba(10,20,25,.55);z-index:150;display:none;align-items:center;justify-content:center;padding:16px}
.lm-back.open{display:flex}
.lm{background:#fff;border-radius:18px;max-width:380px;width:100%;padding:26px 24px;text-align:center;position:relative}
.lm h3{font-size:20px;margin:8px 0 4px}
.lm p{color:#6b7a81;font-size:14px}
.lm .qr{width:180px;height:180px;margin:16px auto;padding:10px;border:1px solid #e5e1d8;border-radius:12px;display:grid;place-items:center}
.lm .qr img,.lm .qr canvas{width:100%!important;height:auto!important}
.lm .id{font-size:18px;font-weight:700;color:#06c755}
.lm .x{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;border:0;background:#f2f2ee;cursor:pointer;font-size:16px}
.lm .go{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:14px;padding:12px;border-radius:12px;font-weight:600;text-decoration:none}
.lm .note{font-size:12px;color:#9aa5ab;margin-top:10px}

.cookie{position:fixed;left:18px;bottom:18px;z-index:95;max-width:380px;background:#14232b;color:#e6eef0;border-radius:14px;padding:14px 16px;font-size:13.5px;box-shadow:0 12px 30px rgba(0,0,0,.25);display:none}
.cookie.show{display:block}
.cookie a{color:#ffb48f;text-decoration:underline}
.cookie .row{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}
.cookie button{border:0;border-radius:9px;padding:7px 14px;font:inherit;font-weight:600;cursor:pointer}
.cookie .ok{background:#f0743e;color:#fff}
.cookie .no{background:transparent;color:#c5d3d6}
@media (max-width:760px){.line-float span{display:none}.line-float{padding:12px}.cookie{right:18px;bottom:82px}}
