/* ตกปลา (ใบ 119 · client/fishing-fx.js) — ป้าย #fish-hud กลางบน + การ์ดได้ปลา + ปุ่ม 🎣 บนจอสัมผัส
   จอสัมผัส: #fish-hud อยู่โซนบนกลาง (ui-root.js ZONES.tc) — ไฟล์นี้ไม่ตั้งตำแหน่งให้จอสัมผัส · คอม: ลอยกลางบนใต้ป้ายมอน
   ไม่มี animation infinite/forwards (กฎ perf 4b) — กะพริบตอนทุ่นจมแค่ 4 รอบ */
#fish-hud { display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
#fish-hud[hidden], #fish-hud.under-win { display: none !important; }
html:not(.touch-ui) #fish-hud { position: fixed; left: 50%; top: 132px; translate: -50% 0; z-index: var(--z-hud, 100); }
#fish-hud .fh-pill { pointer-events: auto; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; max-width: min(92vw, 520px);
  padding: 5px 14px; border-radius: 999px; background: rgba(22, 44, 46, .88); border: 1.5px solid #e8b64a; color: #f6ead2;
  font: 600 13px/1.3 var(--font-body, inherit); text-shadow: 0 1px 2px #10201e; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#fish-hud .fh-pill[hidden] { display: none; }
#fish-hud .fh-pill small { color: #f2c46d; font-weight: 600; }
#fish-hud .fh-pill.hint { background: rgba(22, 44, 46, .74); border-color: rgba(232, 182, 74, .7); font-weight: 500; }
#fish-hud .fh-pill.bite { background: #e8b64a; color: #2b2010; text-shadow: none; font-size: 15px; animation: fh-pulse .32s ease-in-out 4 alternate; }
@keyframes fh-pulse { from { transform: scale(1); } to { transform: scale(1.08); } }
#fish-hud .fh-card { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 14px;
  background: #fff7e6; border: 2px solid #2f6f73; color: #2b2010; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); max-width: min(92vw, 360px); }
#fish-hud .fh-card[hidden] { display: none; }
#fish-hud .fh-card.rare { border-color: #e8b64a; box-shadow: 0 0 0 3px rgba(232, 182, 74, .35), 0 4px 14px rgba(0, 0, 0, .28); }
#fish-hud .fh-card .fh-ic { position: relative; flex: none; }
#fish-hud .fh-card img { width: 52px; height: 52px; object-fit: contain; flex: none; display: block; }
/* Rank ปลา C/B/A/S (ผู้ใช้ 10 ต.ค.) — ป้ายมุมไอคอน สีเดียวกับ Rank ของไอเทม (เขียว/ฟ้า/ม่วง/ทอง) */
#fish-hud .fh-g { position: absolute; right: -4px; bottom: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; text-decoration: none; text-align: center;
  font: 800 11px/18px var(--font-head, inherit); color: #fff; background: #6a8f5a; box-shadow: 0 0 0 2px #fff7e6; }
#fish-hud .g-B .fh-g { background: #3a7fb8; }
#fish-hud .g-A .fh-g { background: #8a5ac8; }
#fish-hud .g-S .fh-g { background: #d9a440; color: #3b2a12; }
#fish-hud .fh-card.g-S { border-color: #e8b64a; box-shadow: 0 0 0 3px rgba(232, 182, 74, .35), 0 4px 14px rgba(0, 0, 0, .28); }
#fish-hud .fh-xp { font-style: normal; font-size: 11.5px; font-weight: 700; color: #2f6f73; }
#fish-hud .fh-xp.dim { color: #8a6a3a; font-weight: 600; }
#fish-hud .fh-card span { display: grid; gap: 1px; min-width: 0; }
#fish-hud .fh-card small { font-size: 11px; color: #2f6f73; font-weight: 700; }
#fish-hud .fh-card b { font-size: 15px; line-height: 1.2; }
#fish-hud .fh-card i { font-style: normal; font-size: 12px; color: #6a5236; }
/* จอสัมผัส: ปุ่มแดงกลายเป็นปุ่มเบ็ด (fishing-fx.js syncButton สลับภาพ) — วง teal ขอบทอง ให้รู้ว่าเปลี่ยนหน้าที่ */
html.touch-ui #touch-acts.fish-mode [data-attack] { border-radius: 50%; background: radial-gradient(circle closest-side, #3e8f93 0 78%, #e8b64a 80% 90%, transparent 92%); }
html.touch-ui #touch-acts.fish-mode [data-attack] img { padding: 14%; box-sizing: border-box; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
/* สมุด "สวน & ปลา" แท็บอันดับรายสัปดาห์ (codex.js life · rankings.js) */
.cx-lb { display: flex; flex-direction: column; gap: 6px; }
.cx-lb-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.cx-lb-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 8px; background: rgba(255, 250, 240, .7); }
.cx-lb-list li.me { outline: 2px solid #e8b64a; }
.cx-lb-list li b { text-align: center; color: #2f6f73; }
.cx-lb-list li em { font-style: normal; font-weight: 700; }
.cx-lb-best { display: grid; grid-template-columns: 34px minmax(0, 140px) minmax(0, 1fr); align-items: center; gap: 8px; padding: 3px 0; }
.cx-lb-best small { opacity: .85; }
html.touch-ui #touch-acts.fish-mode[data-fish-bite="true"] [data-attack] { background: radial-gradient(circle closest-side, #f2c45a 0 78%, #fff3c4 80% 90%, transparent 92%); }
/* ── ใบ 122-A รอบ 2: แผงตกปลา #fish-reel (fishing-reel-ui.js) — รอ · ปลากินเหยื่อ · ดึง (แรงตึงสาย + หลอดความคืบหน้า + ปุ่มใหญ่) ────────
   จอสัมผัส: กลางล่างระหว่างโซนจอย/ปุ่ม (อ่าน --hz-bl-r / --hz-br-l ของ ui-root.js แบบ #tut .dock.low) · คอม: กลางล่างเหนือช่องลัด · ไม่เต็มจอ ไม่บังตัวละคร
   animation จำกัดรอบ (ไม่มี infinite/forwards — กฎ perf 4b) · สี: teal ปลอดภัย · ทอง/เหลือง เตือน · แดงอิฐ อันตราย (โทนเกม ไม่ใช่แดงสด) */
#fish-reel { pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none; box-sizing: border-box; color: #2b2010;
  font: 600 13px/1.3 var(--font-body, inherit); }
#fish-reel[hidden] { display: none !important; }
html:not(.touch-ui) #fish-reel { position: fixed; left: 50%; bottom: 112px; translate: -50% 0; z-index: var(--z-hud, 100); }
html.touch-ui #fish-reel { position: fixed; z-index: var(--z-hud, 100); bottom: calc(var(--sa-b, 0px) + 6px); left: var(--hz-bl-r, 160px); right: var(--hz-br-l, 260px); display: flex; justify-content: center; pointer-events: none; }
html.touch-ui #fish-reel > div { pointer-events: auto; }
html.touch-ui #fish-reel .fr-pull { display: none; }
html.touch-ui #fish-reel .fr-cancel { min-height: 44px; padding: 0 16px; font-size: 13px; }
#fish-reel > div { display: none; }
#fish-reel[data-mode="wait"] > .fr-wait, #fish-reel[data-mode="bite"] > .fr-bite { display: flex; }
#fish-reel[data-mode="reel"] > .fr-play { display: grid; }
/* รอปลา: แถบเล็ก */
#fish-reel .fr-wait { align-items: center; gap: 8px; padding: 4px 6px 4px 8px; border-radius: 999px; background: rgba(22, 44, 46, .86); border: 1.5px solid rgba(232, 182, 74, .8); color: #f6ead2; }
#fish-reel .fr-bait { width: 26px; height: 26px; object-fit: contain; }
#fish-reel .fr-wtxt { white-space: nowrap; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
/* ใบ 136: แถบ EXP ชั่วโมงนี้ (เต็ม = เท่าฟาร์มมอน) — ไม่มี animation */
#fish-reel .fr-hr { position: relative; display: grid; align-items: center; min-width: 116px; height: 20px; padding: 0 8px; border-radius: 999px; overflow: hidden; background: rgba(255, 250, 240, .14); border: 1px solid rgba(232, 182, 74, .55); }
#fish-reel .fr-hr[hidden] { display: none; }
#fish-reel .fr-hr > i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(134, 197, 94, .55), rgba(232, 182, 74, .7)); }
#fish-reel .fr-hr > small { position: relative; font-size: 10.5px; font-weight: 700; white-space: nowrap; color: #fff7e6; }
html.touch-ui #fish-reel .fr-hr { min-width: 96px; }
#fish-reel .fr-cancel { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(246, 234, 210, .6); background: rgba(255, 255, 255, .1); color: #f6ead2; font: inherit; font-size: 12px; cursor: pointer; }
/* ปลากินเหยื่อ: ! ใหญ่ + ปุ่มดึงเบ็ด */
#fish-reel .fr-bite { align-items: center; gap: 10px; padding: 8px 10px 8px 12px; border-radius: 18px; background: #fff3c4; border: 2.5px solid #e8b64a; box-shadow: 0 0 0 4px rgba(232, 182, 74, .35), 0 6px 18px rgba(0, 0, 0, .3);
  animation: fr-pop .18s ease-out 1; }
#fish-reel .fr-bang { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #c8503a; color: #fff7e6; font: 900 28px/1 var(--font-head, inherit); animation: fr-shake .12s linear 6 alternate; }
#fish-reel .fr-btxt { font: 800 18px/1.1 var(--font-head, inherit); color: #6a3a10; white-space: nowrap; }
#fish-reel .fr-hook { min-height: 48px; min-width: 120px; padding: 0 16px; border-radius: 24px; border: 2px solid #2f6f73; background: #2f6f73; color: #fff7e6; font: 800 16px/1 var(--font-head, inherit); cursor: pointer; }
@keyframes fr-pop { from { transform: scale(.8); } to { transform: scale(1); } }
@keyframes fr-shake { from { transform: translateX(-2px) rotate(-6deg); } to { transform: translateX(2px) rotate(6deg); } }
/* ดึง (ใบ 145): แผงครีมขอบทอง 3 ช่อง — [วงเงาปลา + ขนาด] [สถานะบรรทัดเดียว · แถบแรงตึงสาย · หลอดปลาหมดแรง] [ปุ่มดึง (คอม)]
   กว้าง ~45–55% จอ: จอสัมผัส = เต็มช่องระหว่างจอยกับปุ่ม (ไม่เกิน 560) · คอม = 50vw (ไม่เกิน 620) · ไม่บังตัวละคร (อยู่ล่าง)
   สองแถบหน้าตาต่างกันชัด: แรงตึง = แถบหนามีโซนสี + เข็มหนา · ปลาหมดแรง = หลอดบางสีเขียวไล่ + ไอคอนปลาวิ่งตาม + ตัวเลข % */
#fish-reel .fr-play { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; width: min(100%, 560px, 56vw); box-sizing: border-box; padding: 8px 12px 9px 9px;
  border-radius: 18px; background: linear-gradient(180deg, #fffaf0, #fbefd6); border: 2px solid #e8b64a; box-shadow: 0 0 0 2px rgba(255, 250, 240, .55), 0 5px 16px rgba(0, 0, 0, .3);
  transition: border-color .15s, box-shadow .15s; }
html:not(.touch-ui) #fish-reel .fr-play { width: min(50vw, 620px); }
/* 1) ตัวตนปลา: วงน้ำ + เชือก + เงาปลา (ซิลูเอต — ไม่ใช่ชื่อ/Rank) · ขนาดจากเงา · ดาว = ความยาก */
#fish-reel .fr-id { display: grid; justify-items: center; gap: 1px; width: 66px; }
#fish-reel .fr-sil { position: relative; width: 58px; height: 58px; border-radius: 50%; display: block;
  background: url(assets/vfx/fish-shadows.webp) 100% 0 / 200% 200% no-repeat, radial-gradient(circle at 50% 40%, #8fd3d0, #3f9aa6 70%, #2f6f73);
  filter: drop-shadow(0 2px 2px rgba(20, 50, 50, .3)); }
#fish-reel .fr-sil::after { content: ''; position: absolute; inset: -5px; background: url(assets/ui/life/fish-ring.webp) center / contain no-repeat; }
#fish-reel .fr-size { font: 800 12.5px/1.15 var(--font-head, inherit); color: #6a3a10; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
#fish-reel .fr-stars { font-size: 9px; letter-spacing: 1px; color: #d9a440; line-height: 1; }
#fish-reel.k-l .fr-size, #fish-reel.k-legend .fr-size { color: #a8483b; }
#fish-reel.k-legend .fr-sil { box-shadow: 0 0 0 3px #e8b64a, 0 0 12px 3px rgba(255, 215, 106, .7); }
#fish-reel.k-legend .fr-play { box-shadow: 0 0 0 3px rgba(232, 182, 74, .45), 0 5px 16px rgba(0, 0, 0, .3); }
/* 2) สถานะ + สองแถบ */
#fish-reel .fr-main { display: grid; gap: 4px; min-width: 0; }
#fish-reel .fr-say { display: flex; align-items: center; min-height: 20px; }
#fish-reel .fr-title { font: 800 16px/1.2 var(--font-head, inherit); color: #2f6f73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .12s; }
#fish-reel[data-say="safe"] .fr-title { color: #2f7a22; text-shadow: 0 0 8px rgba(139, 224, 106, .75); }
#fish-reel:is([data-say="loose"], [data-say="low"]) .fr-title { color: #2f6b94; }
#fish-reel[data-say="warn"] .fr-title { color: #9a6410; }
#fish-reel:is([data-say="red"], [data-say="fight"]) .fr-title { color: #b23a26; }
#fish-reel[data-say="tele"] .fr-title { color: #b8641a; }
#fish-reel[data-end="won"] .fr-title { color: #2f7a22; }
#fish-reel[data-end="lost"] .fr-title { color: #a8483b; }
#fish-reel .fr-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 6px; }
#fish-reel .fr-lab { font-size: 11.5px; font-weight: 700; color: #6a5236; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#fish-reel .fr-row { grid-template-columns: 74px minmax(0, 1fr) 40px; }
#fish-reel .fr-trow .fr-tension { grid-column: 2 / -1; margin-right: 4px; }
/* แถบแรงตึงสาย: ฟ้าซีด (หลวม — ต่ำกว่า LOOSE เข้มขึ้น) · เขียว (พอดี) · เหลือง (ระวัง) · แดง (ขาด) · เข็มหนาเปลี่ยนสีตามช่อง */
#fish-reel .fr-tension { position: relative; height: 24px; border-radius: 12px; overflow: visible;
  background: linear-gradient(90deg, #9cc8dc 0 var(--loose, 20%), #cfe6ee var(--loose, 20%) var(--lo, 35%), #e8e2cf var(--lo, 35%)); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .25), 0 0 0 1.5px #c9a86a; }
#fish-reel .fr-safe, #fish-reel .fr-warn, #fish-reel .fr-red { position: absolute; top: 0; bottom: 0; overflow: hidden; }
#fish-reel .fr-safe { background: linear-gradient(#7cc85e, #4f9a3a); }   /* ผู้ใช้ 10 ต.ค.: ช่องที่ "ได้ปลา" ต้องเขียวชัด */
#fish-reel .fr-warn { background: linear-gradient(#f2cc66, #e0a93a); }
#fish-reel .fr-red { background: linear-gradient(#e0705a, #c24a34); border-radius: 0 12px 12px 0; }
#fish-reel .fr-needle { position: absolute; top: -5px; bottom: -5px; width: 9px; margin-left: -4.5px; border-radius: 5px; background: #23393b; box-shadow: 0 0 0 2px #fffaf0, 0 2px 3px rgba(0, 0, 0, .35); transition: background-color .12s; }
#fish-reel[data-z="safe"] .fr-needle { background: #2e7a22; box-shadow: 0 0 0 2px #fffaf0, 0 0 10px 4px rgba(139, 224, 106, .85); }
#fish-reel[data-z="safe"] .fr-safe { box-shadow: inset 0 0 0 2px #d4f5b8, 0 0 10px 2px rgba(139, 224, 106, .55); }
/* ประกายวิ่งครั้งเดียวทุกครั้งที่เข้าช่องเขียว (ไม่วนซ้ำ — กฎ perf 4b) */
#fish-reel[data-z="safe"] .fr-safe::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 230, .75) 50%, transparent 70%); animation: fr-glint .7s ease-out 1; translate: 120% 0; }
@keyframes fr-glint { from { translate: -120% 0; } to { translate: 120% 0; } }
#fish-reel:is([data-z="loose"], [data-z="low"]) .fr-needle { background: #3f86b8; }
#fish-reel[data-z="loose"] .fr-fish { animation: fr-shake .1s linear 22 alternate; }
#fish-reel[data-z="warn"] .fr-needle { background: #b8781a; }
#fish-reel[data-z="red"] .fr-needle { background: #b23a26; box-shadow: 0 0 0 2px #fffaf0, 0 0 10px 4px rgba(224, 88, 62, .8); }
#fish-reel[data-z="red"] .fr-tension { animation: fr-shake .07s linear 8 alternate; }
#fish-reel[data-z="red"] .fr-play { border-color: #c8503a; animation: fr-redpulse .28s ease-in-out 4 alternate; }
@keyframes fr-redpulse { from { box-shadow: 0 0 0 2px rgba(200, 80, 58, .35), 0 5px 16px rgba(0, 0, 0, .3); } to { box-shadow: 0 0 0 6px rgba(200, 80, 58, .45), 0 5px 16px rgba(0, 0, 0, .3); } }
/* หลอดปลาหมดแรง: บาง ไล่เขียว · ไอคอนเงาปลาวิ่งตามขอบหลอด (สั่นตอนดิ้น/หลวม) · % ตัวโตขวา */
#fish-reel .fr-pct { font: 800 15px/1 var(--font-head, inherit); color: #3f8a2e; min-width: 38px; text-align: right; font-variant-numeric: tabular-nums; }
#fish-reel .fr-prog { position: relative; height: 12px; border-radius: 6px; background: #e9dcc0; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); }
#fish-reel .fr-prog > i { display: block; height: 100%; width: 15%; border-radius: 6px; background: linear-gradient(90deg, #b8e39a, #5fae4a 60%, #3f8a2e); }
#fish-reel .fr-fish { position: absolute; top: 50%; width: 30px; height: 30px; translate: -50% -50%; background: url(assets/vfx/fish-shadows.webp) 0 0 / 200% 200% no-repeat; filter: brightness(0) invert(.25) sepia(1) hue-rotate(140deg) saturate(2) opacity(.9); }
#fish-reel[data-fight="true"] .fr-fish { animation: fr-shake .08s linear 6 alternate; filter: brightness(0) opacity(.9) drop-shadow(0 0 3px #e0583e); }
/* 3) ปุ่มดึงใหญ่ (คอม/เมาส์) — ไอคอนเบ็ด · กดค้าง = วงทองเรือง ขยายนิดหน่อย · ป้ายคีย์จาง ๆ */
#fish-reel .fr-pull { display: grid; justify-items: center; align-content: center; gap: 1px; min-width: 104px; min-height: 76px; padding: 4px 10px; border-radius: 18px; border: 2px solid #245a5d;
  background: linear-gradient(#3e8f93, #2f6f73); color: #fff7e6; cursor: pointer; touch-action: none; transition: transform .1s, box-shadow .1s, background-color .1s; }
#fish-reel .fr-pull img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
#fish-reel .fr-pull span { font: 800 14px/1.1 var(--font-head, inherit); white-space: nowrap; }
#fish-reel .fr-pull small { font-size: 10.5px; opacity: .6; white-space: nowrap; }
#fish-reel[data-hold="true"] .fr-pull { transform: scale(1.05); border-color: #e8b64a; box-shadow: 0 0 0 3px #e8b64a, 0 0 16px 5px rgba(255, 215, 106, .75); }
html.touch-ui #fish-reel .fr-pull { display: none; }
html.touch-ui #fish-reel .fr-play { grid-template-columns: auto minmax(0, 1fr); }
/* คำสอน 3 ครั้งแรก: บรรทัดเดียวสั้น + นิ้วชี้กดค้าง (ขยับ 10 รอบแล้วหยุด) */
#fish-reel .fr-teach { display: flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 9px; background: #2f6f73; color: #fff7e6; font-size: 12.5px; font-weight: 700; line-height: 1.25; }
#fish-reel .fr-teach[hidden] { display: none; }
#fish-reel .fr-finger { font-size: 18px; animation: fr-press .6s ease-in-out 10 alternate; }
@keyframes fr-press { from { transform: translateY(-3px); } to { transform: translateY(4px) scale(.92); } }
/* ปุ่ม 🎣 จอสัมผัสระหว่างดึง = ปุ่มดึงใหญ่ใต้นิ้วโป้งขวา (ปุ่มเดิมขวาล่าง ≥ 64px): ไอคอนเบ็ด + "กดค้าง" ในปุ่ม · กดอยู่ = วงทองเรือง ขยายนิดหน่อย
   (ผู้ใช้ 10 ต.ค.: ป้ายนอกปุ่มชนชิปช่องลัด — ข้อความอยู่ในปุ่มเอง) · มือถือไม่โชว์คีย์บอร์ด */
html.touch-ui.fish-reeling #touch-acts.fish-mode [data-attack] img { opacity: 1; padding: 13% 24% 36%; transition: none; }
html.touch-ui.fish-reeling #touch-acts.fish-mode [data-attack]::after { content: 'กดค้าง'; position: absolute; left: 0; right: 0; bottom: 17%; text-align: center;
  color: #fff7e6; font: 800 13px/1 var(--font-head, inherit); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); pointer-events: none; }
html[lang="en"].touch-ui.fish-reeling #touch-acts.fish-mode [data-attack]::after { content: 'Hold'; }
html.touch-ui.fish-reeling.fish-hold #touch-acts.fish-mode [data-attack] { scale: 1.08; background: radial-gradient(circle closest-side, #f2c45a 0 78%, #fff3c4 80% 90%, transparent 92%);
  box-shadow: 0 0 0 3px rgba(232, 182, 74, .9), 0 0 18px 6px rgba(255, 215, 106, .75); }
/* จอเตี้ย (มือถือแนวนอน ≤ 420px) — แผงกระชับ */
@media (max-height: 420px) {
  #fish-reel .fr-play { padding: 6px 10px 7px 7px; gap: 3px 8px; }
  #fish-reel .fr-id { width: 58px; } #fish-reel .fr-sil { width: 48px; height: 48px; }
  #fish-reel .fr-tension { height: 20px; } #fish-reel .fr-title { font-size: 15px; }
  #fish-reel .fr-row { grid-template-columns: 64px minmax(0, 1fr) 38px; }
  #fish-reel .fr-teach { font-size: 12px; padding: 2px 6px; }
}
@media (prefers-reduced-motion: reduce) { #fish-reel *, #fish-reel .fr-play { animation: none !important; } }
/* ── การ์ดผลตกปลา (ใบ 122-A ข้อ E) ── */
#fish-hud .fh-card.result { align-items: flex-start; width: min(92vw, 420px); max-width: min(92vw, 420px); box-sizing: border-box; padding: 8px 12px 8px 8px; }
#fish-hud .fh-card.result span.fh-size, #fish-hud .fh-card.result span.fh-rew, #fish-hud .fh-card.result span.fh-btns { display: flex; }
#fish-hud .fh-card.result span.fh-body { display: grid; flex: 1; }
#fish-hud .fh-card.result .fh-ic img { width: 72px; height: 72px; }
#fish-hud .fh-body { display: grid; gap: 2px; min-width: 0; }
#fish-hud .fh-size { font-size: 13px; color: #6a5236; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
#fish-hud .fh-size strong { font: 800 20px/1 var(--font-head, inherit); color: #2b2010; }
#fish-hud .fh-flag { font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: #e8b64a; color: #2b2010; }
#fish-hud .fh-flag.new { background: #6bc7cc; }
#fish-hud .fh-flag.wk { background: #c9a3ff; }
#fish-hud .fh-rew { display: flex; flex-wrap: wrap; gap: 3px 8px; font-size: 11.5px; color: #2f6f73; font-weight: 700; }
#fish-hud .fh-rew i { font-style: normal; }
#fish-hud .fh-btns { display: flex; gap: 6px; margin-top: 4px; flex-wrap: nowrap; }
#fish-hud .fh-btns button { flex: 1 1 auto; white-space: nowrap; }
#fish-hud .fh-btns button { min-height: 34px; padding: 0 12px; border-radius: 17px; border: 2px solid #2f6f73; background: #2f6f73; color: #fff7e6; font: 700 12.5px/1 var(--font-body, inherit); cursor: pointer; }
#fish-hud .fh-btns .fh-rel { background: #fff7e6; color: #2f6f73; }
#fish-hud .fh-btns button:disabled { opacity: .5; }
html.touch-ui #fish-hud .fh-btns button { min-height: 44px; }
#fish-hud .fh-pill.reel { background: #2f6f73; }
#fish-hud .fh-fx { font-style: normal; font-size: 11.5px; font-weight: 700; color: #8a5a1a; display: grid; gap: 2px; }
#fish-hud .fh-fx u { display: block; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #2f6f73 var(--p, 0%), #e9dcc0 var(--p, 0%)); }
#fish-hud .fh-leg { font-style: normal; font-size: 11.5px; font-weight: 700; color: #7a4fb0; }
#fish-hud .fh-card.lost { border-color: #a8483b; }
/* จอเตี้ย (มือถือแนวนอน ≤ 420px) — แผงกระชับ · การ์ดภาพเล็กลง */
@media (max-height: 420px) {
  #fish-hud .fh-card.result .fh-ic img { width: 56px; height: 56px; }
}
