/* ช่วงชิว ตกปลา · ทำอาหาร · สวน (ใบ 121-ux) — life-hint.js · life-fx.js · garden.js · cook-window.js · life-board.js
   ป้ายนำทาง #life-hint: ป้ายแจ้งมาตรฐาน (notify.js · ui-notify.css) — ไฟล์นี้ไม่มีกฎของมันแล้ว
   ไม่มี animation infinite/forwards บนของที่สะสม (กฎ perf 4b) · ปุ่มทุกปุ่ม ≥ 44px บนจอสัมผัส */

/* ── ป้ายนำทาง #life-hint = ป้ายแจ้งมาตรฐาน notify.js (ui-notify.css · popup-std-1022) — เดิมชิปครีมในโซนบนกลาง ถูกบีบจนตัดคำทีละคำ ── */

/* ปุ่ม 🎣 ที่ต้องแตะ (ขั้นตกปลาของสายเรื่อง · จอสัมผัส) — ป้าย "แตะ!" ลอยเหนือปุ่ม เด้ง 8 รอบแล้วหยุด */
/* ห้ามตั้ง position ที่นี่ — ปุ่มเป็น absolute ในกล่อง #touch-acts (ui-touch.css) · position:relative เคยดึงปุ่มหลุดไปกลางจอ (บั๊ก 18 ต.ค.) · ::after อิงปุ่ม absolute ได้อยู่แล้ว */
html.touch-ui #touch-acts [data-attack].life-point { overflow: visible; }
html.touch-ui #touch-acts [data-attack].life-point::after { content: 'แตะ!'; position: absolute; left: 50%; bottom: calc(100% + 6px); translate: -50% 0; padding: 2px 10px; border-radius: 999px;
  background: #e8b64a; color: #2b2010; font: 800 13px/1.4 var(--font-head, inherit); white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); pointer-events: none;
  animation: lp-bob .5s ease-in-out 8 alternate; }
html[lang="en"].touch-ui #touch-acts [data-attack].life-point::after { content: 'Tap!'; }
@keyframes lp-bob { to { transform: translateY(-5px); } }

/* ── ของเข้ากระเป๋า (life-fx.js flyToBag) ── */
.life-fly { position: fixed; z-index: var(--z-popup, 300); width: 54px; height: 54px; pointer-events: none; transform: translate(-50%, -50%); }
.life-fly img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.life-fly u { position: absolute; right: -6px; bottom: -4px; min-width: 22px; height: 22px; border-radius: 11px; text-decoration: none; text-align: center;
  font: 900 13px/22px var(--font-head, inherit); color: #fff; background: #6a8f5a; box-shadow: 0 0 0 2px #fffaf0; }
.life-fly.g-B u { background: #3a7fb8; } .life-fly.g-A u { background: #8a5ac8; } .life-fly.g-S u { background: linear-gradient(#ffe08a, #d9a440); color: #3b2a12; }
.life-fly u:empty { display: none; }

/* ── ป้ายเวลาแปลง (garden.js peek) — ชั้น Popup ตามจุดชี้ (เหมือนเมนูแปลง) ── */
#garden-peek { position: fixed; z-index: var(--z-popup, 300); max-width: min(320px, 90vw); padding: 5px 12px; border-radius: 10px; pointer-events: none;
  background: rgba(30, 50, 44, .9); color: #fff7e6; font: 600 13px/1.35 var(--font-body, inherit); box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
#garden-peek[hidden] { display: none; }

/* ── เมนูแปลง: แถบขั้นตอน ปลูก → รดน้ำ → รอโต → เก็บ ── */
/* แถบขั้นตอน = เส้นทางบอกความคืบหน้า ไม่ใช่แท็บ (fish-garden-popups 16 ต.ค.: แบบเม็ดยาสี่ปุ่มดูเหมือนแท็บที่กดได้ แต่กดไม่ได้)
   จุดบนเส้น · ผ่านแล้ว = จุดเขียว ✓ · ขั้นนี้ = จุด teal ขอบทอง + ตัวหนา · ยังไม่ถึง = จุดจาง */
#garden-menu .gm-steps { position: relative; display: flex; gap: 0; margin: 0 2px 6px; padding: 0; list-style: none; }
#garden-menu .gm-steps::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 7px; height: 2px; background: #dcc898; }
#garden-menu .gm-steps li { position: relative; flex: 1; display: grid; justify-items: center; gap: 2px; padding: 0; text-align: center; font: 600 11px/1.2 var(--font, inherit); color: #a8977a; background: none; }
#garden-menu .gm-steps li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: #efe3c6; box-shadow: 0 0 0 2px #dcc898; margin-top: 1px; }
#garden-menu .gm-steps li.done { color: #4f7a3a; }
#garden-menu .gm-steps li.done::before { background: #6a9a4a; box-shadow: 0 0 0 2px #e3efcf; }
#garden-menu .gm-steps li.on { color: #2f6f73; font-weight: 800; }
#garden-menu .gm-steps li.on::before { width: 14px; height: 14px; margin-top: 0; background: #2f6f73; box-shadow: 0 0 0 2px #e8b64a; }
#garden-menu .gm-stage { margin: 0 2px 2px; font: 500 11.5px/1.3 var(--font, inherit); color: #7a6448; }

/* ── หน้ากองไฟ (cook-window.js) — การ์ดสูตร เรียงทำได้ก่อน ── */
.cook { display: flex; flex-direction: column; gap: 8px; min-height: 0; container-type: inline-size; }
.cook-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: linear-gradient(#fff6e2, #f6e3bd); border: 1px solid #d9b77a; }
.cook-head .cook-fire { font-size: 28px; }
.cook-head b { display: block; font: 700 16px/1.2 var(--font-head, inherit); color: #5a3412; }
.cook-head span { font-size: 12.5px; color: #6a5236; }
.cook-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; overflow: auto; min-height: 0; padding-bottom: 4px; }
.ckc { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-radius: 12px; background: #fffaf0; border: 1.5px solid #dcc79c; opacity: .82; }
.ckc.ok { opacity: 1; border-color: #6a9a4a; background: linear-gradient(#f6fbe9, #fffaf0); box-shadow: 0 0 0 2px rgba(106, 154, 74, .22); }
.ckc header { display: flex; align-items: center; gap: 8px; }
.ckc-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.ckc-ic img, .ckc-ic canvas { max-width: 44px; max-height: 44px; }
.ckc-tt { flex: 1; min-width: 0; display: grid; }
.ckc-tt b { font: 700 14px/1.2 var(--font-head, inherit); color: #3a2a12; }
.ckc-tt small { font-size: 11.5px; color: #2f6f73; font-weight: 600; }
.ckc-can { flex: none; font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: #5d8f3e; padding: 2px 8px; border-radius: 999px; }
.ckc-mats { display: flex; flex-wrap: wrap; gap: 4px; }
.ck-mat { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 2px; border-radius: 999px; background: #f1e6cc; font-size: 12px; cursor: pointer; }
.ck-mat .cw-ic.sm { width: 24px; height: 24px; }
.ck-mat b { color: #3d6e2a; } .ck-mat.lack b { color: #b2402e; }
.ck-mat small { color: #6a5236; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ckc-use { margin: 0; font-size: 11.5px; color: #5a4630; }
.ckc-use i { font-style: normal; font-weight: 800; color: #fff; padding: 0 5px; border-radius: 6px; background: #6a8f5a; }
.ckc-use i.g-B { background: #3a7fb8; } .ckc-use i.g-A { background: #8a5ac8; } .ckc-use i.g-S { background: #d9a440; color: #3b2a12; }
.ckc-lack { margin: 0; font-size: 11.5px; color: #9a4a2e; }
.ckc-go { display: flex; gap: 6px; margin-top: auto; }
.ckc-go button { flex: 1; min-height: 44px; border-radius: 10px; border: 0; cursor: pointer; font: 700 14px/1 var(--font-body, inherit); }
.ckc-go .ck-go1 { color: #fff; background: linear-gradient(#e6a23c, #c97f1f); box-shadow: 0 2px 0 #8a5412; }
.ckc-go .ck-goall { color: #2f6f73; background: #e9f3f1; border: 1.5px solid #2f6f73; }
.ckc-go button[disabled] { opacity: .45; cursor: default; box-shadow: none; }
@container (max-width: 520px) { .cook-list { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html.touch-ui #touch-acts [data-attack].life-point::after { animation: none; } }

/* ── การ์ดจับได้ (fish-catch-card.js · ใบ 145) — กะทัดรัด กลางล่าง ช่องเดียวกับแผงดึง (ไม่เต็มจอ ไม่บังตัวละคร) ──────────────
   ลำดับ: ป้ายไม้ "จับได้!" → ปลาบนวงน้ำกระเซ็น + ตรา Rank (C เขียว · B ฟ้า · A ม่วง · S ทอง) → ชื่อ · ซม. · สถิติใหม่ (ประกายทอง)
          → +X% EXP ตัวใหญ่ → รองตัวเล็ก → XP ตกปลา + หลอด → สมุดปลา → ปุ่ม เก็บไว้ | ปล่อยคืน (น้ำหนักเท่ากัน ≥ 48px)
   คอม: [ปลา][ข้อความ] / [ปุ่มสองปุ่ม] · จอสัมผัส: [ปลา][ข้อความ][ปุ่มซ้อนแนวตั้ง] (เตี้ย ~125px — จอ SE ไม่บังตัวละคร)
   Rank S/ตำนาน/หายาก/หีบ (.big) = ใหญ่ขึ้น ขอบทองเรือง + ออร่าภาพแยกชั้น (celebrate-fx aura ใส่ใน #hud ใต้การ์ด) · animation ครั้งเดียว (กฎ perf 4b)
   ภาพตกแต่ง: assets/ui/life/fish-{banner,splash,shell}.webp (AI_ASSETS E145) */
#fish-card { position: fixed; z-index: var(--z-hud, 100); pointer-events: auto; cursor: pointer; box-sizing: border-box; color: #2b2010; font-family: var(--font-body, inherit);
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic tx" "btn btn"; align-items: center; gap: 8px 14px;
  width: min(460px, 92vw); padding: 26px 16px 12px 14px; border-radius: 20px; background: linear-gradient(180deg, #fffaf0, #fbefd6); border: 2px solid #2f6f73;
  box-shadow: 0 0 0 2px rgba(255, 250, 240, .6), 0 6px 18px rgba(0, 0, 0, .3); animation: fc-in .34s cubic-bezier(.2, 1.4, .4, 1); }
#fish-card[hidden] { display: none; }
html:not(.touch-ui) #fish-card { left: 50%; bottom: 96px; translate: -50% 0; }
@keyframes fc-in { from { transform: translateY(14px) scale(.86); opacity: 0; } }
#fish-card.g-B { border-color: #3a7fb8; } #fish-card.g-A { border-color: #8a5ac8; box-shadow: 0 0 0 3px rgba(138, 90, 200, .3), 0 6px 18px rgba(0, 0, 0, .3); }
#fish-card.big { border-color: #e8b64a; box-shadow: 0 0 0 3px rgba(232, 182, 74, .55), 0 0 24px 6px rgba(255, 215, 106, .5), 0 6px 18px rgba(0, 0, 0, .3); animation: fc-in-big .5s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes fc-in-big { from { transform: translateY(20px) scale(.7); opacity: 0; } }
/* ป้ายไม้ "จับได้!" (ภาพแผ่นไม้ + ตัวอักษร CSS สองภาษา) ห้อยขอบบน */
#fish-card .fc-banner { position: absolute; left: 50%; top: -30px; translate: -50% 0; width: 168px; height: 62px; display: grid; place-items: center; padding-left: 30px; box-sizing: border-box;
  background: url(assets/ui/life/fish-banner.webp) center / 100% 100% no-repeat; pointer-events: none; }
#fish-card .fc-banner span { font: 800 16px/1 var(--font-head, inherit); color: #fff7e6; white-space: nowrap; text-shadow: 0 1px 0 #6a3a10, 0 0 3px #6a3a10, 0 0 1px #6a3a10; }
#fish-card.big .fc-banner { width: 196px; height: 72px; top: -36px; }
#fish-card.big .fc-banner span { font-size: 18px; color: #ffe08a; }
#fish-card .fc-shell { position: absolute; left: -10px; bottom: -8px; width: 34px; height: auto; pointer-events: none; }
/* ภาพปลา: วงน้ำกระเซ็นด้านหลัง + ตรา Rank */
#fish-card .fc-ic { grid-area: ic; position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
#fish-card .fc-splash { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); object-fit: contain; }
#fish-card .fc-fish { position: relative; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(20, 50, 50, .35)); animation: fc-flop .5s ease-out 1; }
@keyframes fc-flop { 0% { transform: translateY(10px) rotate(-14deg) scale(.8); } 60% { transform: translateY(-4px) rotate(6deg); } }
#fish-card .fc-g { position: absolute; right: -4px; bottom: -2px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; text-decoration: none; text-align: center; box-sizing: border-box;
  font: 900 17px/30px var(--font-head, inherit); color: #fff; background: #6a8f5a; box-shadow: 0 0 0 2.5px #fffaf0, 0 2px 4px rgba(0, 0, 0, .3); }
#fish-card.g-B .fc-g { background: #3a7fb8; } #fish-card.g-A .fc-g { background: #8a5ac8; } #fish-card.g-S .fc-g { background: linear-gradient(#ffe08a, #d9a440); color: #3b2a12; }
#fish-card.big .fc-ic { width: 116px; height: 116px; }
#fish-card.big .fc-g { min-width: 38px; height: 38px; font-size: 22px; line-height: 38px; border-radius: 19px; }
/* ข้อความ */
#fish-card .fc-tx { grid-area: tx; position: relative; display: grid; gap: 2px; min-width: 0; }   /* relative = วาดทับออร่าของภาพปลา */
#fish-card .fc-name { font: 800 17px/1.2 var(--font-head, inherit); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#fish-card .fc-size { flex: none; font-size: 13px; color: #6a5236; white-space: nowrap; }
#fish-card .fc-cm { font: 800 19px/1 var(--font-head, inherit); color: #2b2010; }
#fish-card .fc-flair { justify-self: start; font-style: normal; font-size: 11.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: #2f6f73; color: #fff7e6; white-space: nowrap; }
#fish-card .fc-flair.rec { color: #3b2a12; background: linear-gradient(100deg, #e8b64a 30%, #fff6cf 48%, #e8b64a 66%) 100% 0 / 260% 100%; box-shadow: 0 0 8px 2px rgba(255, 215, 106, .6); animation: fc-shine 1.1s ease-out 2; }
@keyframes fc-shine { from { background-position: 0 0; } to { background-position: 100% 0; } }
#fish-card .fc-flair.wk { background: #c9a3ff; color: #2b2010; }
#fish-card .fc-flair.new { background: #2f6f73; }
#fish-card .fc-xpp { font: 800 21px/1.1 var(--font-head, inherit); color: #2f6f73; letter-spacing: .01em; }
#fish-card.big .fc-xpp { font-size: 24px; }
#fish-card .fc-minor { font-size: 11px; font-weight: 600; color: #4a6a6c; line-height: 1.3; }
#fish-card .fc-xp.dim { font-size: 11.5px; color: #8a6a3a; font-weight: 600; }
#fish-card .fc-fx { display: grid; gap: 2px; font-size: 11.5px; font-weight: 700; color: #8a5a1a; }
#fish-card .fc-fxbar { display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #2f6f73 var(--p, 0%), #e9dcc0 var(--p, 0%)); text-decoration: none; }
#fish-card .fc-fx > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#fish-card .fc-flags { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
#fish-card .fc-flags > .fc-flair { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#fish-card .fc-book { margin-left: 6px; font-style: normal; font-weight: 800; color: #2f6f73; white-space: nowrap; }
/* ออร่าทอง Rank S/ตำนาน/หายาก/หีบ — ภาพแยกชั้น (มาสก์ assets/particles · ไม่วาดสีตรง) หลังวงน้ำ ล้นขอบภาพได้ · หมุนรอบเดียวช้า ๆ แล้วนิ่ง (ไม่วนไม่สิ้นสุด) */
#fish-card .fc-aura { position: absolute; inset: -36%; pointer-events: none; }
#fish-card .fc-aura i { position: absolute; inset: 0; }
#fish-card .fc-glow { inset: 8%; -webkit-mask: url(assets/particles/k_light_03.webp) center / contain no-repeat; mask: url(assets/particles/k_light_03.webp) center / contain no-repeat;
  background: #f2b83a; opacity: .9; animation: fc-glow .9s ease-in-out 6 alternate; }
#fish-card .fc-rays { background: url(assets/ui/life/fish-aura.webp) center / contain no-repeat; opacity: .92; animation: fc-spin 9s linear 1; }
@keyframes fc-glow { from { opacity: .65; scale: .92; } to { opacity: 1; scale: 1.05; } }
@keyframes fc-spin { from { rotate: 0deg; } to { rotate: 180deg; } }
/* ปุ่มสองปุ่มน้ำหนักเท่ากัน: เก็บไว้ (teal ทึบ) · ปล่อยคืน (ครีม ขอบ teal) — บรรทัดเล็กใต้ชื่อปุ่มบอกว่าได้อะไร */
#fish-card .fc-btns { grid-area: btn; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
#fish-card .fc-btns button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; padding: 4px 12px; border-radius: 14px; border: 2px solid #2f6f73; cursor: pointer;
  background: linear-gradient(#3e8f93, #2f6f73); color: #fff7e6; font: 800 15px/1.1 var(--font-head, inherit); box-shadow: 0 2px 0 #1f4f52; }
#fish-card .fc-btns .fc-rel { background: #fffaf0; color: #2f6f73; box-shadow: 0 2px 0 #c9b98f; }
#fish-card .fc-btns button img { width: 26px; height: 26px; object-fit: contain; flex: none; }
#fish-card .fc-btns button > span { display: grid; text-align: left; }
#fish-card .fc-btns small { font: 600 11px/1.2 var(--font-body, inherit); opacity: .85; white-space: nowrap; }
#fish-card .fc-btns button:disabled { opacity: .5; }
#fish-card .fc-btns button:active { transform: translateY(1px); box-shadow: none; }
/* หลังฉากฉลองใหญ่กลางจอ (Rank S/หายาก/หีบ) การ์ด "ลอยลง" จากกลางจอมาที่ล่างกลาง — ครั้งเดียว */
#fish-card.big.drop { animation: fc-drop .45s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes fc-drop { from { transform: translateY(-38vh) scale(.55); opacity: 0; } 40% { opacity: 1; } }
/* คอม (ใบ 145 รอบ 2 · หัวหน้า: ตัวหนังสือเล็กเกินที่ 1920): สัดส่วนตัวอักษรใกล้มือถือ — EXP หลัก ≥ 22 · รอง ≥ 13 · ปุ่ม ≥ 15 */
html:not(.touch-ui) #fish-card { width: min(560px, 92vw); padding: 30px 20px 14px 16px; gap: 10px 18px; }
html:not(.touch-ui) #fish-card .fc-ic { width: 112px; height: 112px; }
html:not(.touch-ui) #fish-card.big .fc-ic { width: 136px; height: 136px; }
html:not(.touch-ui) #fish-card .fc-banner { width: 196px; height: 72px; top: -36px; padding-left: 34px; }
html:not(.touch-ui) #fish-card .fc-banner span { font-size: 19px; }
html:not(.touch-ui) #fish-card.big .fc-banner { width: 224px; height: 82px; top: -41px; }
html:not(.touch-ui) #fish-card.big .fc-banner span { font-size: 21px; }
html:not(.touch-ui) #fish-card .fc-name { font-size: 21px; }
html:not(.touch-ui) #fish-card .fc-size { font-size: 15px; }
html:not(.touch-ui) #fish-card .fc-cm { font-size: 23px; }
html:not(.touch-ui) #fish-card .fc-flair { font-size: 13.5px; padding: 2px 10px; }
html:not(.touch-ui) #fish-card .fc-xpp { font-size: 26px; }
html:not(.touch-ui) #fish-card.big .fc-xpp { font-size: 29px; }
html:not(.touch-ui) #fish-card .fc-minor, html:not(.touch-ui) #fish-card .fc-fx, html:not(.touch-ui) #fish-card .fc-xp.dim { font-size: 13.5px; }
html:not(.touch-ui) #fish-card .fc-fxbar { height: 6px; }
html:not(.touch-ui) #fish-card .fc-btns button { min-height: 56px; font-size: 17px; gap: 9px; }
html:not(.touch-ui) #fish-card .fc-btns button img { width: 30px; height: 30px; }
html:not(.touch-ui) #fish-card .fc-btns small { font-size: 13px; }
html:not(.touch-ui) #fish-card .fc-g { min-width: 34px; height: 34px; font-size: 19px; line-height: 34px; border-radius: 17px; }
html:not(.touch-ui) #fish-card .fc-shell { width: 40px; }
/* จอสัมผัส: ช่องกลางล่างระหว่างจอย (--hz-bl-r) กับปุ่ม (--hz-br-l) แบบ #fish-reel · ปุ่มซ้อนแนวตั้งด้านขวา */
html.touch-ui #fish-card { bottom: calc(var(--sa-b, 0px) + 6px); left: var(--hz-bl-r, 160px); right: var(--hz-br-l, 260px); margin-inline: auto; width: auto; max-width: min(560px, 56vw);
  grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic tx btn"; gap: 4px 8px; padding: 16px 8px 8px 6px; border-radius: 16px; }
html.touch-ui #fish-card .fc-ic { width: 64px; height: 64px; }
html.touch-ui #fish-card.big .fc-ic { width: 78px; height: 78px; }
html.touch-ui #fish-card .fc-banner { width: 118px; height: 44px; top: -24px; padding-left: 20px; }
html.touch-ui #fish-card .fc-banner span { font-size: 14px; }
html.touch-ui #fish-card.big .fc-banner { width: 140px; height: 52px; top: -28px; }
html.touch-ui #fish-card .fc-name { font-size: 14.5px; }
html.touch-ui #fish-card .fc-cm { font-size: 16px; }
html.touch-ui #fish-card .fc-size { font-size: 11.5px; }
html.touch-ui #fish-card .fc-xpp { font-size: 17px; }
html.touch-ui #fish-card.big .fc-xpp { font-size: 19px; }
html.touch-ui #fish-card .fc-minor, html.touch-ui #fish-card .fc-book, html.touch-ui #fish-card .fc-fx { font-size: 10.5px; }
html.touch-ui #fish-card .fc-minor { line-height: 1.25; }   /* ตัวเลขจริงครบ ไม่ตัด … (ยอมขึ้นสองบรรทัดบนจอแคบ) */
html.touch-ui #fish-card .fc-tx { gap: 1px; }
html.touch-ui #fish-card .fc-flair { font-size: 10.5px; padding: 0 7px; }
html.touch-ui #fish-card .fc-btns { grid-auto-flow: row; grid-auto-columns: auto; width: 112px; gap: 6px; }
html.touch-ui #fish-card .fc-btns button { min-height: 48px; padding: 3px 8px; gap: 5px; font-size: 13.5px; justify-content: flex-start; }
html.touch-ui #fish-card .fc-btns button img { width: 22px; height: 22px; }
html.touch-ui #fish-card .fc-btns small { font-size: 10px; }
html.touch-ui #fish-card .fc-shell { width: 26px; left: -7px; bottom: -6px; }
/* ── fish-garden-popups (16 ต.ค.): การ์ดย่อ "หลุดไป…" / "ปล่อยคืนแล้ว" (fish-catch-card.js note) — ช่องเดียวกับการ์ดจับได้ ไม่มีปุ่ม ──
   เดิมเป็นการ์ดเก่ากลางบน (#fish-hud .fh-card) ทับหลอดเลือด/ปุ่มเมนู · iPad บีบ 231px ขึ้นบรรทัดทุกคำ */
#fish-card.mini { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic tx"; width: min(400px, 92vw); padding: 22px 16px 10px 12px; gap: 4px 12px; }
#fish-card.mini .fc-ic { width: 60px; height: 60px; }
#fish-card.mini .fc-fish { width: 78%; height: 78%; animation: none; }
#fish-card.mini .fc-name { font-size: 16px; white-space: normal; }
#fish-card.mini .fc-tip { font-size: 12.5px; font-weight: 600; color: #6a5236; line-height: 1.3; }
#fish-card.mini.lost { border-color: #a8483b; }
#fish-card.mini.lost .fc-name { color: #a8483b; }
#fish-card.mini.lost .fc-banner { filter: saturate(.6) brightness(.95); }
html:not(.touch-ui) #fish-card.mini { width: min(460px, 92vw); padding: 28px 20px 12px 14px; }
html:not(.touch-ui) #fish-card.mini .fc-ic { width: 76px; height: 76px; }
html:not(.touch-ui) #fish-card.mini .fc-name { font-size: 19px; }
html:not(.touch-ui) #fish-card.mini .fc-tip { font-size: 14px; }
html.touch-ui #fish-card.mini { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic tx"; max-width: min(420px, 56vw); padding: 16px 12px 8px 8px; }
html.touch-ui #fish-card.mini .fc-ic { width: 50px; height: 50px; }
html.touch-ui #fish-card.mini .fc-name { font-size: 14.5px; }
html.touch-ui #fish-card.mini .fc-tip { font-size: 12px; }
/* ปุ่มเก็บไว้/ปล่อยคืนบนจอสัมผัส (กว้าง 112px): ไอคอนเล็กในบรรทัดรองเคยเป็นบล็อก (หม้อลอยเหนือ "วัตถุดิบ ×1") ·
   คำรองขึ้นบรรทัดกลางคำ ("+18 XP ตก/ปลา") → ซ่อนภาพประจำปุ่มบนจอสัมผัส ให้ตัวหนังสือมีที่พอ บรรทัดเดียว */
/* ป้ายไม้กว้างตามคำ (ขั้นต่ำ = ขนาดเดิม) — "ปล่อยคืนแล้ว" / "ได้ของจากน้ำ" / "Treasure…" เคยล้นไปทับรูปปลาบนป้าย */
#fish-card .fc-banner { min-width: 168px; width: max-content !important; padding-right: 18px; }
#fish-card.big .fc-banner { min-width: 196px; }
html:not(.touch-ui) #fish-card .fc-banner { min-width: 196px; }
html:not(.touch-ui) #fish-card.big .fc-banner { min-width: 224px; }
html.touch-ui #fish-card .fc-banner { min-width: 118px; padding-right: 14px; }
html.touch-ui #fish-card.big .fc-banner { min-width: 140px; }
#fish-card .fc-btns small .ui-ic { display: inline-block; vertical-align: -0.2em; margin-right: 2px; }
html.touch-ui #fish-card .fc-btns button > img { display: none; }
html.touch-ui #fish-card .fc-btns button { justify-content: center; padding: 3px 6px; }
html.touch-ui #fish-card .fc-btns button > span { text-align: center; justify-items: center; }
@media (prefers-reduced-motion: reduce) { #fish-card, #fish-card .fc-fish, #fish-card .fc-flair.rec, #fish-card .fc-aura i { animation: none; } }

/* ── แท็บรายวัน (checkin-window.js): ข้อตกปลา/สวน ชวนทำ — แถบสีซ้าย + ป้ายหมวดเล็ก (ไม่กระพริบ) ── */
.ck-row.cat-fish { box-shadow: inset 4px 0 0 #3f93b0; background-image: linear-gradient(90deg, rgba(111, 190, 214, .16), transparent 45%); }
.ck-row.cat-garden { box-shadow: inset 4px 0 0 #6a9a4a; background-image: linear-gradient(90deg, rgba(134, 197, 94, .18), transparent 45%); }
.ck-row .ck-cat { display: inline-block; margin: 0 6px 1px 0; padding: 0 7px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; line-height: 1.6; vertical-align: 1px; }
.ck-row .ck-cat.fish { background: #dff0f6; color: #24617a; }
.ck-row .ck-cat.garden { background: #e6f2d8; color: #3f6b26; }
.ckc-rank { flex: none; font-style: normal; min-width: 24px; height: 24px; border-radius: 12px; text-align: center; font: 900 14px/24px var(--font-head, inherit); color: #fff; background: #6a8f5a; }
.ckc-rank.g-B { background: #3a7fb8; } .ckc-rank.g-A { background: #8a5ac8; } .ckc-rank.g-S { background: linear-gradient(#ffe08a, #d9a440); color: #3b2a12; }

/* ── ใบ 134: แถบ "ได้อะไร" ที่ NPC สายชีวิต (life-strip.js) + พรีวิวท่าทางในร้านแลก (craft-window.js) ── */
.life-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 6px; }
.life-strip .ls-cell { display: flex; gap: 6px; align-items: flex-start; min-width: 0; padding: 6px 8px; border-radius: 10px; background: #fbf3e0; border: 1px solid #efe1bf; color: #4a3a26; }
.life-strip .ls-ic { flex: none; font-size: 20px; line-height: 1.1; }
.life-strip .ls-tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.life-strip .ls-tx b { font: 700 12.5px/1.25 var(--font-body, inherit); color: #2f6f73; }
.life-strip .ls-tx small { font: 500 12px/1.35 var(--font-body, inherit); color: #5b4f38; overflow-wrap: anywhere; }
.life-strip .ls-tx small b { font: 700 12px/1.35 var(--font-body, inherit); color: #4a3a26; }
@media (max-width: 900px) { .life-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ls-touch { display: none; }
html.touch-ui .ls-pc { display: none; }
html.touch-ui .ls-touch { display: block; margin: 0 0 6px; border-radius: 10px; background: #fbf3e0; border: 1px solid #efe1bf; }
html.touch-ui .ls-touch > summary { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; cursor: pointer; font: 700 13px/1.2 var(--font-body, inherit); color: #2f6f73; list-style: none; }
html.touch-ui .ls-touch > summary::-webkit-details-marker { display: none; }
html.touch-ui .ls-touch > summary::after { content: "▾"; margin-left: auto; }
html.touch-ui .ls-touch[open] > summary::after { content: "▴"; }
html.touch-ui .ls-touch .life-strip { grid-template-columns: 1fr; margin: 0; padding: 0 6px 6px; max-height: 60vh; overflow-y: auto; }
.cw-ttl { display: block; font-size: 12px; font-weight: 700; color: #2f6f73; }
.cw-ttl.cw-ttl-full { color: #8a8f94; }
.cw-alt { margin: 4px 0 8px; padding: 6px 9px; border-radius: 10px; background: #f3efe6; border: 1px solid #e0d6bf; font-size: var(--fs-sm); color: #5d513a; line-height: 1.4; }
.cw-go.cw-capped, .cw-go.cw-capped:disabled { background: #b9bcc0; color: #f4f4f4; border-color: #a5a8ac; box-shadow: none; filter: grayscale(1); }
.cw-ttl-big { margin: 6px 0; padding: 7px 10px; border-radius: 10px; background: #e8f3f1; border: 1px solid #b9d9d5; font-size: 14px; color: #1f4f52; }
.cw-ttl-big b { font-size: 16px; }
.cw-emo { display: flex; gap: 10px; align-items: center; margin: 6px 0; padding: 6px; border-radius: 12px; background: #eef7f6; border: 1px solid #b9d9d5; }
.cw-emo-stage { flex: none; width: 140px; height: 180px; border-radius: 10px; background: linear-gradient(#dff1ee, #f6efd8); overflow: hidden; }
.cw-emo-side { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.cw-emo-side small { font-size: 12px; color: #5b4f38; line-height: 1.35; }
.cw-emo-go { min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #24585b; background: linear-gradient(#3d8a8e, #2f6f73); color: #fff; font: 700 14px/1 var(--font-body, inherit); cursor: pointer; }
.cw-emo-go:hover, .cw-emo-go:focus-visible { background: linear-gradient(#46989c, #33797d); outline: none; }
@media (max-height: 520px) { .cw-emo-stage { width: 110px; height: 130px; } }
