/* Mass-RO · หน้าคู่มือแก้ปัญหาแบบทีละขั้น (pc / fix / mobile) */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; scrollbar-width: thin; scrollbar-color: #E0B236 #000; }
body { margin: 0; color: #f1e6cc; font-family: Tahoma, sans-serif; font-size: 18px; line-height: 1.6;
	background: radial-gradient(ellipse at 50% 0%, rgba(224,178,54,.18), transparent 55%), #0b0906; }
a { color: #FFD866; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 14px 40px; }
.k, h1, h2, h3, .stepn, .pill, .bigbtn, .sym a { font-family: 'Kanit', Tahoma, sans-serif; }

/* แถบบอกขั้นตอน (ติดด้านบน) */
.prog { position: sticky; top: 0; z-index: 50; background: rgba(11,9,6,.94); border-bottom: 1px solid rgba(224,178,54,.4); backdrop-filter: blur(6px); }
.prog .in { max-width: 760px; margin: 0 auto; padding: 8px 14px; display: flex; align-items: center; gap: 8px; }
.prog .pills { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.prog .pills::-webkit-scrollbar { display: none; }
.pill { white-space: nowrap; font-size: 14px; font-weight: 500; padding: 4px 12px; border-radius: 99px; border: 1px solid rgba(224,178,54,.45); color: #C6A862; text-decoration: none; }
.pill.on { background: #E0B236; color: #241a08; border-color: #E0B236; }
.pill.done { color: #9ff0a9; border-color: rgba(124,227,139,.5); }
.prog .cnt { white-space: nowrap; font-family: 'Kanit', Tahoma, sans-serif; font-weight: 700; font-size: 15px; color: #FFE38A; }
.prog .bar { height: 3px; background: rgba(255,255,255,.08); }
.prog .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg,#a2651b,#FFD866); transition: width .2s; }

/* ปุ่มกลับหน้าช่วยเหลือ (อยู่ในแถบบนตลอด) */
.prog .home { flex: none; white-space: nowrap; font-family: 'Kanit', Tahoma, sans-serif; font-weight: 700; font-size: 15px; padding: 5px 12px; border-radius: 99px; text-decoration: none; color: #241a08; background: linear-gradient(180deg,#FFE9A8,#E0B236 60%,#a2651b); }
.backs { margin-top: 22px; }

/* หัวหน้า */
.hd { display: flex; align-items: center; gap: 16px; padding: 18px 0 6px; }
.hd img { width: 140px; height: auto; flex: none; }
h1 { margin: 0; font-size: 30px; line-height: 1.25; color: #FFE38A; text-shadow: 0 0 14px rgba(255,190,60,.45); }
h1 small { display: block; font-size: 16px; font-weight: 400; color: #d9c9a0; text-shadow: none; margin-top: 2px; }
.back { display: inline-block; margin-top: 4px; font-size: 15px; color: #C6A862; text-decoration: none; }

/* กล่องเตือน / ข้อมูล */
.warn { margin: 14px 0; padding: 14px 16px; border-radius: 16px; border: 2px solid #ff8a6a; background: rgba(90,20,8,.5); }
.warn b { color: #ffd2bf; }
.info { margin: 14px 0; padding: 14px 16px; border-radius: 16px; border: 2px dashed rgba(224,178,54,.6); background: rgba(0,0,0,.3); }
.info b { color: #FFD866; }
.ok { margin: 14px 0; padding: 14px 16px; border-radius: 16px; border: 2px solid #7CE38B; background: rgba(30,90,40,.3); }
.ok b { color: #b6f5bf; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tags span { padding: 2px 12px; border-radius: 99px; border: 1px solid rgba(255,138,106,.6); background: rgba(0,0,0,.35); font-size: 15px; color: #ffd2bf; }

/* ส่วน (A/B/C) */
.part { margin-top: 26px; }
h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 25px; color: #FFD866; }
h2 .tag { flex: none; font-size: 14px; padding: 2px 10px; border-radius: 99px; background: #E0B236; color: #241a08; }
h2 small { font-size: 15px; font-weight: 400; color: #C6A862; }

/* ขั้นตอน */
.step { position: relative; margin: 12px 0; border-radius: 16px; border: 2px solid rgba(224,178,54,.45); background: rgba(224,178,54,.07); overflow: hidden; }
.step.hot { border-color: #4aa3ff; box-shadow: 0 0 16px rgba(74,163,255,.3); }
.step.stop { border-color: #ff8a6a; box-shadow: 0 0 16px rgba(255,120,80,.3); }
.step .tx { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.stepn { flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg,#FFE9A8,#E0B236 60%,#a2651b); color: #241a08; font-weight: 700; font-size: 20px; text-align: center; line-height: 42px; }
.step.hot .stepn { background: #4aa3ff; color: #fff; }
.step .tx > div { flex: 1; min-width: 0; }
.step .sub { display: block; font-size: 15px; color: #d9c9a0; margin-top: 4px; }
.step .th { display: block; font-size: 15px; color: #C6A862; margin-top: 2px; }
.shot { display: block; background: #fff; text-align: center; cursor: zoom-in; border-top: 1px solid rgba(224,178,54,.35); }
.shot img { display: inline-block; max-width: 100%; height: auto; max-height: 460px; width: auto; vertical-align: top; }
.k { display: inline-block; padding: 0 10px; margin: 2px 1px; border-radius: 7px; background: #fff; color: #111; font-weight: 500; font-size: 17px; line-height: 1.6; border: 2px solid #0a64c8; }
.k.b { background: #0a64c8; color: #fff; }
.ar { color: #FFD866; font-weight: bold; margin: 0 2px; }
.stopnote { display: block; margin-top: 8px; padding: 6px 12px; border-radius: 10px; background: rgba(255,138,106,.15); color: #ffd2bf; font-weight: bold; }

/* ภาพจำลองแถบล่างของ Windows */
.tb { position: relative; height: 262px; background: linear-gradient(180deg,#2a3b55,#16202f); border-top: 1px solid rgba(224,178,54,.35); overflow: hidden; }
.tb .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: #1b1b1f; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 18px; color: #fff; }
.tb .win { font-size: 24px; color: #4aa3ff; }
.tb .srch { background: #2d2d33; border-radius: 99px; padding: 3px 14px; font-size: 14px; color: #ccc; }
.tb .sp { flex: 1; }
.tb .up { width: 38px; height: 38px; border-radius: 8px; border: 3px solid #ff4d4d; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; box-shadow: 0 0 12px rgba(255,77,77,.8); }
.tb .clk { font-size: 13px; line-height: 1.2; text-align: right; }
.tb .pop { position: absolute; right: 64px; bottom: 62px; display: grid; grid-template-columns: repeat(3, 40px); gap: 6px; padding: 8px; border-radius: 10px; background: #2b2b31; box-shadow: 0 6px 18px rgba(0,0,0,.6); }
.tb .ic { width: 40px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 6px; }
.tb .ic.hot { border: 3px solid #ff4d4d; box-shadow: 0 0 12px rgba(255,77,77,.9); background: #3a3a44; }
.tb .lab { position: absolute; left: 12px; font-size: 15px; font-weight: bold; color: #fff; background: #d83a3a; padding: 2px 10px; border-radius: 8px; }
.tb .l1 { top: 14px; } .tb .l2 { top: 52px; }

/* ตัวเลือกอาการ */
.sym { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.sym a { display: block; padding: 12px 14px; border-radius: 14px; border: 2px solid rgba(224,178,54,.5); background: rgba(224,178,54,.08); color: #f1e6cc; text-decoration: none; font-weight: 500; font-size: 17px; line-height: 1.4; }
.sym a b { display: block; color: #FFD866; font-size: 19px; }
.sym a:hover { background: rgba(224,178,54,.16); }

.bigbtn { display: block; text-align: center; margin: 14px 0; padding: 14px; border-radius: 14px; font-weight: 700; font-size: 19px; text-decoration: none; color: #241a08; background: linear-gradient(180deg,#FFE9A8,#E0B236 55%,#a2651b); box-shadow: 0 0 16px rgba(224,178,54,.4); }
.bigbtn.ghost { background: rgba(10,8,3,.8); color: #FFD866; border: 2px solid #E0B236; box-shadow: none; }
.btns2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btns2 .bigbtn { margin: 0; }
.foot { text-align: center; margin-top: 26px; font-size: 16px; color: #d9c9a0; }

/* รูปขยาย */
.zbox { position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.94); overflow: auto; display: none; }
.zbox.on { display: block; }
.zbox img { display: block; width: 100%; max-width: 1100px; margin: 50px auto 20px; background: #fff; }
.zbox button { position: fixed; top: 10px; right: 10px; font: bold 17px Tahoma, sans-serif; padding: 7px 16px; border-radius: 99px; border: 2px solid #FFD866; background: #241a08; color: #FFD866; cursor: pointer; }

@media (max-width: 560px) {
	body { font-size: 17px; }
	h1 { font-size: 25px; }
	.hd img { width: 104px; }
	h2 { font-size: 22px; }
	.sym { grid-template-columns: 1fr; }
	.shot img { max-height: 380px; }
	.tb .pop { right: 56px; }
}
