/* Lake Fishing Simulator 3D : page-specific styles (shared styles come from the hub kit) */
#game-root .sim-controls-help { margin-top: 14px; }
#game-root .ak-pick.is-locked { opacity: .55; }
/* top: clock / weather / spot line */
.lf-info { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); max-width: calc(100% - 300px); background: rgba(8, 16, 28, .78); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 6px 12px; font: 800 13px system-ui, sans-serif; color: #fff; text-align: center; pointer-events: none; }
.lf-info b { color: #fde047; }
.lf-well { position: absolute; left: 12px; top: 10px; background: rgba(8, 16, 28, .78); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 5px 11px; font: 800 13px system-ui, sans-serif; color: #fff; pointer-events: none; }
.lf-board { top: 48px; } .lf-board span { opacity: .8; font-weight: 700; }
/* bottom: what to do now + cast power */
.lf-hint { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); max-width: min(560px, calc(100% - 24px)); background: rgba(8, 16, 28, .8); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 6px 12px; font: 800 13px system-ui, sans-serif; color: #fff; text-align: center; pointer-events: none; }
.lf-hint:has(.lf-hint__t:empty):has(.lf-pow[hidden]) { display: none; }
.lf-hint.is-hot { border-color: #f87171; background: rgba(127, 29, 29, .85); animation: lf-pulse .5s ease-in-out infinite alternate; }
.lf-pow { position: relative; height: 14px; margin: 6px auto 1px; width: min(300px, 100%); border-radius: 7px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.lf-pow[hidden] { display: none; }
.lf-pow i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #22c55e, #facc15 70%, #f97316); border-radius: 7px; }
.lf-pow b { position: absolute; inset: 0; font: 900 10.5px/14px system-ui, sans-serif; color: #0f172a; }
@keyframes lf-pulse { from { transform: translateX(-50%) scale(1); } to { transform: translateX(-50%) scale(1.05); } }
/* the fight */
.lf-fight { position: absolute; left: 50%; top: 56%; transform: translateX(-50%); width: min(380px, 84%); background: rgba(8, 16, 28, .86); border: 2px solid #38bdf8; border-radius: 14px; padding: 8px 12px; pointer-events: none; color: #fff; text-align: center; }
.lf-fight[hidden] { display: none; }
.lf-fight__t { display: block; font: 900 17px system-ui, sans-serif; margin-bottom: 6px; }
.lf-ten { position: relative; height: 16px; border-radius: 8px; background: linear-gradient(90deg, #f59e0b 0 8%, #16a34a 8% 80%, #dc2626 80%); }
.lf-ten__n { position: absolute; top: -4px; width: 6px; height: 24px; margin-left: -3px; border-radius: 3px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .7); }
.lf-ten__n.is-bad { background: #fde047; }
.lf-fight__row { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 6px; font: 800 12.5px system-ui, sans-serif; }
.lf-fight__dir span { padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.lf-fight__dir span.is-good { background: #16a34a; }
.lf-fight__h { display: block; margin-top: 3px; font: 700 12px system-ui, sans-serif; opacity: .85; }
/* catch card (keep / release) */
.lf-card { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); z-index: 30; }
.lf-card[hidden] { display: none; }
.lf-card__in { display: flex; flex-direction: column; align-items: center; gap: 3px; background: rgba(8, 16, 28, .9); border: 2px solid #fde047; border-radius: 16px; padding: 10px 18px 12px; color: #fff; text-align: center; animation: lf-in .35s ease-out; min-width: 250px; }
.lf-card__in .lf-card__i { font-size: 38px; line-height: 1.1; }
.lf-card__in b { font: 900 19px system-ui, sans-serif; } .lf-card__in em { font-style: normal; color: #fde047; font-size: 13px; }
.lf-card__in span { font: 700 14px system-ui, sans-serif; } .lf-card__in small { opacity: .75; }
.lf-card__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.lf-card__btns .btn { padding: 8px 14px; font-size: 14px; }
.lf-card__btns .btn[disabled] { opacity: .5; cursor: not-allowed; }
@keyframes lf-in { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* fish finder */
.lf-finder { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; pointer-events: none; }
.lf-finder[hidden] { display: none; }
.lf-finder canvas { position: static; inset: auto; width: 200px; height: 100px; border-radius: 10px; border: 2px solid rgba(56, 189, 248, .5); box-shadow: 0 4px 16px rgba(0, 0, 0, .4); }
.lf-finder span { background: rgba(8, 16, 28, .8); border-radius: 999px; padding: 2px 9px; font: 800 11px system-ui, sans-serif; color: #bae6fd; white-space: nowrap; }
/* shop + weigh-in */
.lf-shop h3 small, .lf-log h3 small { font-size: .7em; opacity: .75; font-weight: 700; margin-left: 6px; }
.lf-shop { width: min(680px, 100%); }
.lf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px; }
.lf-grid .hb-job { margin: 0; }
.lf-grid .hb-job span { font-size: 11.5px; }
.lf-rest { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.lf-weigh h3 { margin: 0 0 4px; font-size: 18px; } .lf-weigh p { margin: 0; font-size: 14px; }
.lf-weigh .lf-rest { margin-top: 8px; } .lf-weigh .lf-rest .btn { padding: 8px 14px; font-size: 14px; }
.lf-stand { margin: 6px 0 0; padding-left: 22px; font-size: 14px; line-height: 1.35; }
.lf-stand li { padding: 1px 0; } .lf-stand li.is-me { color: #fde047; }
.lf-stand li span { margin-left: 8px; opacity: .85; }
/* journal on the setup screen */
.lf-log { margin-top: 14px; }
.lf-log h3 { margin: 0 0 8px; }
.lf-log__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.lf-log__item { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.lf-log__item span { font-size: 22px; } .lf-log__item b { font-size: 14px; } .lf-log__item small { font-size: 11.5px; opacity: .75; }
.lf-log__item.is-got { border-color: rgba(253, 224, 71, .45); background: rgba(253, 224, 71, .07); }
.lf-log__item.is-legend:not(.is-got) { border-style: dashed; }
/* touch */
.lf-touch .sim-tbtn[data-id="act"] { order: 2; margin-left: auto; background: rgba(14, 116, 144, .85); min-width: 76px; }
.sim-has-touch .lf-hint { bottom: 104px; }
.sim-has-touch .lf-finder { bottom: auto; top: 92px; }
.sim-has-touch .lf-finder canvas { width: 150px; height: 75px; }
@container (max-width: 720px) { .lf-info { max-width: calc(100% - 150px); left: 12px; transform: none; top: 50px; text-align: left; } .lf-board { top: 96px; } }
@container (max-width: 480px) {
  .lf-info { top: 92px; left: 8px; max-width: calc(100% - 140px); font-size: 11px; padding: 4px 8px; }
  .lf-well { top: 14px; left: 8px; font-size: 11.5px; padding: 3px 9px; }
  .lf-board { display: none; }
  .lf-hint { font-size: 11.5px; padding: 5px 9px; }
  .lf-fight { top: auto; bottom: 98px; padding: 6px 10px; } .lf-fight__t { font-size: 14px; } .lf-fight__row { font-size: 11px; }
  .lf-card { top: 140px; width: min(320px, calc(100% - 24px)); } .lf-card__in { min-width: 0; padding: 8px 12px 10px; } .lf-card__in b { font-size: 16px; }
  .lf-card__in .lf-card__i { font-size: 30px; } .lf-card__in span { font-size: 13px; } .lf-card__in small { font-size: 12px; }
  .lf-card__btns { flex-wrap: nowrap; } .lf-card__btns .btn { padding: 8px 10px; font-size: 13px; white-space: nowrap; }
  .lf-finder { top: 150px; bottom: auto; } .lf-finder canvas { width: 130px; height: 65px; }
}
@media (prefers-reduced-motion: reduce) { .lf-card__in, .lf-hint.is-hot { animation: none; } }
