/* กระทะเสี่ยงทาย (run DAILY-PAN 2) — โหลดพร้อม dailypan_ui.js เท่านั้น (นอก CSS_F) · ใช้โทเคนสีเดิม */
.pan .pan-body{display:grid;gap:10px}
.pan-msg{margin:0}
.pan-card{border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--surface,#fff);display:grid;gap:6px}
.pan-card p{margin:0}
.pan-name{margin:0;font-size:calc(19px * var(--fs,1))}
.pan-card.pan-promo{border:3px solid #7b3fe4;box-shadow:0 0 0 3px rgba(123,63,228,.18)}
.pan-tag{justify-self:start;font-size:13px;font-weight:600;border-radius:999px;padding:2px 10px}
.pan-tag-promo{background:#7b3fe4;color:#fff}
.pan-lm{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pan-streak{font-weight:700;color:var(--accent);margin-top:4px!important}
.pan-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.pan-acts .btn-main{flex:1 1 100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.pan-acts .chip{min-height:44px;flex:1 1 0;justify-content:center;padding:0 6px;white-space:nowrap}
.pan-copy{width:100%;box-sizing:border-box;min-height:44px}
/* วงล้อ 3 จังหวะ (รอบ 3): ป้ายหมวด · แถบหมุน · แผนที่ย่อ · หน้าชวน Plus */
.pan-cat{display:flex;align-items:center;gap:10px;margin:0;height:56px;padding:0 14px;box-sizing:border-box;border-radius:14px;background:linear-gradient(180deg,#FFF8EB,#FFEDD5);border:1.5px solid #FDBA74;font-size:calc(18px * var(--fs,1))}
.pan-cat b{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pan-cat-ic{flex:none;width:36px;height:36px;image-rendering:pixelated} /* 144 px ÷ 4 · ขนาดลงตัว = พิกเซลคม */
.pan-cat.pan-big{height:84px;justify-content:center;font-size:calc(24px * var(--fs,1))}
.pan-cat.pan-big .pan-cat-ic{width:48px;height:48px} /* 144 ÷ 3 */
.pan-reel{height:84px;overflow:hidden;border-radius:14px;border:2.5px solid #EA580C;background:#FFF8EB;box-sizing:content-box} /* slot แถวเดียว */
.pan-strip{will-change:transform}
.pan-strip .pan-cat{height:84px;border:0;border-radius:0;background:none;justify-content:center;font-size:calc(24px * var(--fs,1))}
.pan-strip .pan-hit{animation:pan-pop .4s ease-out}
@keyframes pan-pop{40%{transform:scale(1.14)}}
.pan-strip .pan-cat-ic{width:48px;height:48px}
.pan-body>.btn-main{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px}
.pan-mm{display:block;height:140px;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#eef0f2;position:relative}
.pan .pan-credit{margin:-6px 0 0;font-size:11px;line-height:1.3;color:var(--muted)}
.pan-mm-pin .pin-spr{display:block}
.pan-mm-pin.nb{opacity:.75}
.pan-mm-pin.sel .pin-spr{transform:scale(1.2);transform-origin:bottom}
.pan-mm-me{width:16px;height:16px;border-radius:50%;background:var(--info,#2b7de9);border:3px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.2)}
.pan .pan-id{font-size:14px;color:var(--muted)}
.pan .pan-id.on{color:#1d7a3a;font-weight:600}
.pan-limit{display:grid;gap:10px;text-align:center}
.pan-limit p{margin:0}
.pan .pan-lim1{font-weight:700;font-size:calc(18px * var(--fs,1))}
.pan-limit .btn-main{display:flex;align-items:center;justify-content:center;min-height:48px}
.pan-limit .chip{min-height:44px;justify-content:center}
.pan .pan-streak{font-size:13px}
.pan .pan-acts a.chip{text-decoration:none}
.pan-card>.btn-main{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;margin-top:6px}
.pan-again small{font-size:12px;font-weight:400;opacity:.7;margin-left:3px}
/* หน้าแผนที่: ป้ายข้างปุ่มลอย "สุ่ม" / "ตำแหน่งฉัน" = ตัวหนังสือจางพออ่านออก ไม่มีพื้นหลัง (เจ้าของ 5 ธ.ค.) · ขอบขาวรอบตัวอักษรให้อ่านได้บนแผนที่ · ทับค่าใน components.css */
.fab-col .fab-lbl::before{background:none;border:0;box-shadow:none;padding:0;opacity:.62;color:var(--ink);font-size:calc(13px * var(--fs,1));text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 2px #fff}
/* หน้าแผนที่: เอาปุ่ม "ดูร้านย่านนี้" ออก (เจ้าของ 5 ธ.ค.) · ซ่อนแทนลบ เพราะ core.js อ้าง #peekBtn ตรงๆ · กางแผงด้วยแถบจับ #sheetBtn เหมือนเดิม */
#peekBtn{display:none}
/* แผงล่าง: ตัวเลข "N ร้านในย่านนี้" = ยอดทั้งย่าน ไม่ตามกรอบ → ซ่อนตัวเลข เหลือป้ายคงที่ (เจ้าของ 5 ธ.ค.) · รายการในแผงตามกรอบแผนที่อยู่แล้ว (core.js moveend) · ยอดในกรอบอยู่ป้ายบน */
#peekSum{font-size:0}
#peekSum::after{content:'รายชื่อร้านในกรอบแผนที่';font-size:calc(16px * var(--fs,1))}
html[lang=en] #peekSum::after{content:'Places in this map view'}
/* กล่องสรุป "ทั้งหมด N ร้าน" ของย่าน = ยอดคงที่ ไม่ตามกรอบ → ซ่อน (เจ้าของ 5 ธ.ค.) · หัวข้อ h1 ของหน้าเก็บไว้ให้โปรแกรมอ่านจอ (ซ่อนแค่ภาพ) */
.sheet-panel .stats{display:none}
.sheet-panel .area-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* แผงกาง: ปุ่มลอยขึ้นไปทับปุ่ม "สีหมุดหมายถึงอะไร?" → ซ่อนป้ายจาง (ไม่มีพื้นแล้วอ่านทับกันไม่ออก) */
.sheet.open .fab-col .fab-lbl::before{content:none}
/* รายการร้านในกรอบแผนที่: ระยะเดิน/ขับจาก route.js */
.row-dist{display:block;margin-top:2px;font-size:calc(14px * var(--fs,1));font-weight:600;color:#1d5f8a}
.route-credit{margin:6px 16px;font-size:11px;color:var(--muted,#6b645a)}
