/* fishing: spillregler flyttet ut av styles.css 11. oktober 2026, i samme rekkefølge.
   Lastes rett etter styles.min.css på lek/bryggefiskeren/klassisk/index.html. */
.fishing-game::before,
.fishing-game::after {
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}
.fishing-game::before { top: 28%; right: -75px; }
.fishing-game::after { bottom: -85px; left: 28%; width: 210px; height: 210px; }
.fishing-game .eyebrow {
  color: #123d54;
  background: #ffd34e;
}
.fishing-game__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}
.fishing-game__head :is(h2, h3) {
  max-width: 720px;
  font-weight: 700;
  margin: 10px 0 4px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.98;
}
.fishing-game__head p { max-width: 660px; margin: 10px 0 0; font-size: 1.06rem; }
.fishing-game__score strong { font-size: 1.16rem; }
.fishing-game__score span { font-size: 0.82rem; font-weight: 850; }
.fishing-game__lesson {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(430px, 1.28fr);
  gap: 14px;
  padding: 14px;
  border-radius: 28px;
  color: #123d54;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(3, 40, 57, 0.16);
}
.fishing-game__clue {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 104px;
  padding: 14px 16px;
  border: 2px solid #ffd34e;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff9dc, #fff2aa);
}
.fishing-game__clue-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 2rem;
  background: #49c8cf;
  box-shadow: inset 0 -6px rgba(8, 78, 103, 0.17);
}
.fishing-game__clue small { display: block; color: #557382; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.fishing-game__clue strong { display: block; margin: 2px 0 3px; font-size: 1.28rem; }
.fishing-game__clue p { margin: 0; font-size: 0.9rem; line-height: 1.35; }
.fishing-game__depths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.fishing-game__depths button {
  min-height: 104px;
  padding: 11px 8px;
  border: 3px solid #cbe8ec;
  border-radius: 20px;
  color: #123d54;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  background: #f3fbfc;
  box-shadow: 0 5px 0 #b9dce1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.fishing-game__depths button span { display: block; margin-bottom: 4px; font-size: 1.7rem; }
.fishing-game__depths button:hover:not(:disabled) { transform: translateY(-3px); border-color: #ffd34e; }
.fishing-game__depths button:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 #b9dce1; }
.fishing-game__depths button[aria-pressed="true"] { border-color: #f8a63a; background: #fff1b7; box-shadow: 0 5px 0 #e1842b; }
.fishing-game__depths button.is-right { border-color: #2da66b; color: #0d603e; background: #d8f6df; box-shadow: 0 5px 0 #23915b; }
.fishing-game__depths button.is-wrong { border-color: #f06f5e; background: #ffe2dc; animation: fishing-wrong 260ms ease; }
.fishing-game__play {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.65fr);
  gap: 16px;
  margin-top: 16px;
}
.fishing-game__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.28) contrast(1.06) brightness(0.9);
}
.fishing-game__water {
  position: absolute;
  inset: 48% 0 0;
  background:
    repeating-radial-gradient(ellipse at 50% 0%, transparent 0 24px, rgba(255, 255, 255, 0.14) 25px 27px, transparent 28px 48px),
    linear-gradient(rgba(5, 123, 153, 0.14), rgba(1, 67, 100, 0.4));
  mix-blend-mode: screen;
  pointer-events: none;
}
.fishing-game__rod {
  position: absolute;
  right: 5%;
  bottom: 4%;
  width: 10px;
  height: 78%;
  border: 2px solid rgba(74, 35, 19, 0.65);
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(90deg, #6e351d, #df9b45 45%, #542613);
  box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.28);
  transform: rotate(47deg);
  transform-origin: bottom center;
}
.fishing-game__rod::after {
  position: absolute;
  right: -12px;
  bottom: 6%;
  width: 28px;
  height: 28px;
  border: 5px solid #ffd34e;
  border-radius: 50%;
  background: #143d54;
  content: "";
}
.fishing-game__line {
  position: absolute;
  top: 18%;
  right: 37%;
  width: 2px;
  height: 48%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 2px rgba(17, 47, 61, 0.5);
  opacity: 0;
  transform: rotate(-39deg);
  transform-origin: top center;
  transition: opacity 180ms ease;
}
.fishing-bobber {
  position: absolute;
  z-index: 4;
  left: 48%;
  top: 61%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  cursor: pointer;
  transition: opacity 180ms ease, transform 260ms cubic-bezier(.18,.86,.34,1.35);
}
.fishing-bobber span {
  position: relative;
  width: 30px;
  height: 40px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50% 50% 47% 47%;
  background: linear-gradient(#ef5549 0 48%, #fff 49% 100%);
  box-shadow: 0 5px 8px rgba(3, 47, 67, 0.32);
}
.fishing-bobber span::before {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 6px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 5px;
  background: #ef5549;
  content: "";
  transform: translateX(-50%);
}
.fishing-game__stage.is-cast .fishing-game__line,
.fishing-game__stage.is-waiting .fishing-game__line,
.fishing-game__stage.is-biting .fishing-game__line,
.fishing-game__stage.is-caught .fishing-game__line { opacity: 1; }
.fishing-game__stage.is-cast .fishing-bobber,
.fishing-game__stage.is-waiting .fishing-bobber,
.fishing-game__stage.is-biting .fishing-bobber,
.fishing-game__stage.is-caught .fishing-bobber { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.fishing-game__stage.is-waiting .fishing-bobber { animation: fishing-float 1.6s ease-in-out infinite; }
.fishing-game__stage.is-biting .fishing-bobber { background: rgba(255, 211, 78, 0.54); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2), 0 0 0 22px rgba(255, 211, 78, 0.18); animation: fishing-bite 430ms ease-in-out infinite; }
.fishing-game__stage.is-biting .fishing-bobber:focus-visible { outline: 5px solid #ffd34e; outline-offset: 5px; }
.fishing-game__fish {
  position: absolute;
  z-index: 3;
  left: 33%;
  top: 70%;
  width: 142px;
  max-width: 28%;
  opacity: 0;
  filter: drop-shadow(0 8px 7px rgba(0, 34, 50, 0.32));
  transform: translate(-50%, 60px) rotate(-8deg) scale(0.6);
  transition: opacity 220ms ease, transform 500ms cubic-bezier(.2,.9,.25,1.35);
}
.fishing-game__stage[data-depth="surface"] .fishing-game__fish { top: 57%; }
.fishing-game__stage[data-depth="middle"] .fishing-game__fish { top: 70%; }
.fishing-game__stage[data-depth="bottom"] .fishing-game__fish { top: 82%; }
.fishing-game__stage.is-caught .fishing-game__fish { opacity: 1; transform: translate(-50%, -56px) rotate(8deg) scale(1); }
.fishing-game__callout {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 15px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: #123d54;
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(255, 248, 213, 0.94);
  box-shadow: 0 7px 18px rgba(1, 39, 57, 0.18);
}
.fishing-game__stage.is-biting .fishing-game__callout { color: #fff; background: #e94e43; animation: fishing-pulse 700ms ease-in-out infinite; }
.fishing-game__stage.is-caught .fishing-game__callout { color: #123d54; background: #ffd34e; }
.fishing-game__panel {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 22px;
  border: 3px solid #fff;
  border-radius: 30px;
  color: #123d54;
  background: linear-gradient(180deg, #fff9d7, #e7fbfa);
  box-shadow: 0 14px 32px rgba(2, 34, 49, 0.23);
}
.fishing-game__action { width: 100%; min-height: 58px; font-size: 1rem; }
.fishing-game__action:disabled { opacity: 0.58; cursor: not-allowed; }
.fishing-game__feedback {
  min-height: 95px;
  margin: 0;
  padding: 14px;
  border-left: 5px solid #f3a534;
  border-radius: 8px 16px 16px 8px;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.45;
  background: #fff;
}
.fishing-game__catch-wrap { margin-top: auto; }
.fishing-game__catch-wrap > strong { display: block; margin-bottom: 8px; font-size: 0.8rem; }
.fishing-game__catch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.fishing-game__catch > span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  border: 2px dashed #83bdc5;
  border-radius: 16px;
  color: #77949e;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.72);
}
.fishing-game__catch > span.is-filled {
  overflow: hidden;
  border-style: solid;
  border-color: #ffd34e;
  background: #fff;
  animation: fishing-catch-in 440ms cubic-bezier(.2,.9,.3,1.35);
}
.fishing-game__catch svg { width: 86%; height: auto; filter: drop-shadow(0 3px 2px rgba(0, 57, 74, 0.18)); }
.fishing-game__controls { display: flex; flex-wrap: wrap; gap: 8px; }
.fishing-game__controls button {
  flex: 1 1 110px;
  min-height: 42px;
  padding: 8px 10px;
  border: 2px solid #a9d4d8;
  border-radius: 14px;
  color: #123d54;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  background: #fff;
  cursor: pointer;
}
.fishing-game__controls button:hover { border-color: #f3a534; background: #fff6ce; }
.fishing-game__safety {
  margin: 16px 0 0;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 760;
  text-align: center;
  background: rgba(3, 45, 64, 0.46);
}
.fishing-game.is-complete .fishing-game__score { background: #ffd34e; animation: fishing-pulse 900ms ease-in-out 2; }
@keyframes fishing-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); }
  50% { transform: translate(-50%, calc(-50% + 5px)) rotate(3deg); }
}
@keyframes fishing-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@keyframes fishing-wrong {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-5px); }
  70% { transform: translateX(5px); }
}
@keyframes fishing-catch-in {
  from { opacity: 0; transform: translateY(14px) rotate(-10deg) scale(0.65); }
  to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}
@media (max-width: 980px) {
  .fishing-game__head,
  .fishing-game__lesson,
  .fishing-game__play { grid-template-columns: 1fr; }
  .fishing-game__score { min-width: 0; }
  .fishing-game__lesson { gap: 10px; }
  .fishing-game__stage { min-height: 400px; }
  .fishing-game__panel { display: grid; grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr); align-items: start; }
  .fishing-game__catch-wrap,
  .fishing-game__controls { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .fishing-game__head { gap: 14px; }
  .fishing-game__head :is(h2, h3) { font-size: clamp(2rem, 11vw, 2.75rem); }
  .fishing-game__depths { grid-template-columns: 1fr; }
  .fishing-game__depths button { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; min-height: 62px; padding: 8px 14px; text-align: left; }
  .fishing-game__depths button span { margin: 0; font-size: 1.55rem; text-align: center; }
  .fishing-game__stage { min-height: 350px; border-width: 3px; border-radius: 24px; }
  .fishing-game__backdrop { object-position: 60% center; }
  .fishing-game__rod { right: -1%; height: 70%; }
  .fishing-game__line { right: 34%; }
  .fishing-bobber { left: 43%; width: 76px; height: 76px; }
  .fishing-game__fish { left: 27%; width: 112px; }
  .fishing-game__panel { display: flex; padding: 16px; border-radius: 24px; }
  .fishing-game__feedback { min-height: 0; }
  .fishing-game__catch-wrap,
  .fishing-game__controls { width: 100%; }
}
html[data-calm="true"] .fishing-game *,
html[data-calm="true"] .fishing-game *::before,
html[data-calm="true"] .fishing-game *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
@media (prefers-reduced-motion: reduce) {
  .fishing-game *,
  .fishing-game *::before,
  .fishing-game *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.fishing-game--v2::before,
.fishing-game--v2::after { display: none; }
.fishing-game--v2 .fishing-game__head { margin-bottom: 15px; }
.fishing-game--v2 .fishing-game__head :is(h2, h3) { color: #123d54; text-shadow: 0 3px 0 rgba(255, 255, 255, 0.55); }
.fishing-game--v2 .fishing-game__head p { color: #234e5f; font-weight: 760; }
.fishing-game--v2 .fishing-game__score { border-color: #123d54; background: #fff; box-shadow: 6px 6px 0 #123d54; }
.fishing-game__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
.fishing-game__steps span {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 10px;
  border: 2px solid rgba(18, 61, 84, 0.2);
  border-radius: 999px;
  color: #4d6e7a;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.64);
}
.fishing-game__steps b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  /* Hvitt tall på denne bakgrunnen har kontrast 4,6:1 (før 2,5:1). */
  background: #547c86;
}
.fishing-game__steps span.is-active { color: #123d54; border-color: #123d54; background: #fff; box-shadow: 0 4px 0 #123d54; }
.fishing-game__steps span.is-active b { color: #123d54; background: #ffda4f; }
.fishing-game__steps span.is-done { color: #fff; border-color: #128265; background: #159772; }
.fishing-game__steps span.is-done b { color: #14644f; background: #c4f8c9; }
.fishing-game--v2 .fishing-game__lesson {
  grid-template-columns: minmax(245px, 0.68fr) minmax(450px, 1.32fr);
  margin-bottom: 12px;
  border: 3px solid #123d54;
  background: #fff;
  box-shadow: 6px 7px 0 #123d54;
}
.fishing-game--v2 .fishing-game__clue { min-height: 96px; border: 0; background: #fff2ad; }
.fishing-game--v2 .fishing-game__clue-icon { color: #fff; background: #f15f52; box-shadow: inset 0 -7px rgba(133, 30, 40, 0.18); }
.fishing-game--v2 .fishing-game__depths button {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  border-color: #123d54;
  color: #123d54;
  box-shadow: 0 5px 0 #123d54;
}
.fishing-game--v2 .fishing-game__depths button:nth-child(1) { background: linear-gradient(#fff8bc, #ffe167); }
.fishing-game--v2 .fishing-game__depths button:nth-child(2) { background: linear-gradient(#c8f8f4, #72d8e3); }
.fishing-game--v2 .fishing-game__depths button:nth-child(3) { background: linear-gradient(#b7d1e6, #6c9bc2); }
.fishing-game--v2 .fishing-game__depths button:hover:not(:disabled) { border-color: #f15f52; box-shadow: 0 5px 0 #f15f52; }
.fishing-game--v2 .fishing-game__depths button.is-right { color: #0b4d39; border-color: #0e7857; background: #bdf2c2; box-shadow: 0 5px 0 #0e7857; }
.fishing-game--v2 .fishing-game__play { display: block; margin-top: 0; }
.fishing-game--v2 .fishing-game__stage {
  min-height: 0;
  aspect-ratio: 1200 / 680;
  border: 5px solid #123d54;
  border-radius: 30px;
  background: #087da7;
  box-shadow: 8px 9px 0 #123d54;
  /* Keep all fishing action inside the open-water area of the locked scene. */
  --hook-top: 49%;
  --line-height: 37%;
  --fish-top: 43%;
}
.fishing-game--v2 .fishing-game__stage[data-depth="middle"] { --hook-top: 56%; --line-height: 44%; --fish-top: 49%; }
.fishing-game--v2 .fishing-game__stage[data-depth="bottom"] { --hook-top: 63%; --line-height: 51%; --fish-top: 55%; }
.fishing-game__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.fishing-scene__mobile-only { display: none; }
.fishing-game--v2 .fishing-game__water { display: none; }
.fishing-game--v2 .fishing-game__rod {
  z-index: 5;
  top: 5%;
  right: 8%;
  bottom: auto;
  width: 9px;
  height: 43%;
  transform: rotate(58deg);
  transform-origin: top center;
}
.fishing-game--v2 .fishing-game__rod::after { right: -11px; bottom: -4px; }
.fishing-game--v2 .fishing-game__line {
  z-index: 4;
  top: 12%;
  right: 21.5%;
  width: 3px;
  height: var(--line-height);
  background: #fffdf0;
  opacity: 0;
  transform: none;
  transition: height 620ms cubic-bezier(.2,.7,.3,1), opacity 180ms ease;
}
.fishing-game__hook {
  position: absolute;
  z-index: 5;
  top: var(--hook-top);
  right: calc(21.5% - 8px);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 900;
  opacity: 0;
  text-shadow: 0 2px 2px rgba(1, 50, 74, 0.5);
  transform: rotate(12deg) translateY(-15px);
  transition: top 620ms cubic-bezier(.2,.7,.3,1), opacity 180ms ease, transform 300ms ease;
}
.fishing-game--v2 .fishing-game__stage.is-cast .fishing-game__hook,
.fishing-game--v2 .fishing-game__stage.is-waiting .fishing-game__hook,
.fishing-game--v2 .fishing-game__stage.is-biting .fishing-game__hook,
.fishing-game--v2 .fishing-game__stage.is-reeling .fishing-game__hook,
.fishing-game--v2 .fishing-game__stage.is-caught .fishing-game__hook { opacity: 1; transform: rotate(12deg) translateY(0); }
.fishing-game--v2 .fishing-bobber {
  z-index: 7;
  top: 42%;
  right: calc(21.5% - 34px);
  left: auto;
  width: 78px;
  height: 78px;
  transform: scale(0.5);
}
.fishing-game--v2 .fishing-game__stage.is-cast .fishing-bobber,
.fishing-game--v2 .fishing-game__stage.is-waiting .fishing-bobber,
.fishing-game--v2 .fishing-game__stage.is-biting .fishing-bobber,
.fishing-game--v2 .fishing-game__stage.is-reeling .fishing-bobber,
.fishing-game--v2 .fishing-game__stage.is-caught .fishing-bobber { transform: scale(1); }
.fishing-game--v2 .fishing-game__stage.is-waiting .fishing-bobber { animation: fishing-v2-float 1.4s ease-in-out infinite; }
.fishing-game--v2 .fishing-game__stage.is-biting .fishing-bobber { animation: fishing-v2-bite 320ms ease-in-out infinite; }
.fishing-game--v2 .fishing-game__fish {
  z-index: 6;
  top: var(--fish-top);
  left: 35%;
  width: clamp(105px, 18%, 205px);
  max-width: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: left 750ms cubic-bezier(.2,.7,.3,1), top 650ms ease, opacity 220ms ease, transform 420ms ease;
}
.fishing-game--v2 .fishing-game__stage[data-depth] .fishing-game__fish { top: var(--fish-top); }
.fishing-game--v2 .fishing-game__stage.is-waiting .fishing-game__fish { opacity: 0.64; animation: fishing-v2-swim 2.8s ease-in-out infinite; }
.fishing-game--v2 .fishing-game__stage.is-biting .fishing-game__fish { left: 48%; opacity: 1; transform: translate(-50%, -50%) scale(0.82) rotate(-4deg); }
.fishing-game--v2 .fishing-game__stage.is-reeling .fishing-game__fish { left: 45%; opacity: 1; transform: translate(-50%, -50%) scale(0.92); }
.fishing-game--v2 .fishing-game__stage.is-reeling.reel-1 .fishing-game__fish { left: 40%; top: calc(var(--fish-top) - 2%); }
.fishing-game--v2 .fishing-game__stage.is-reeling.reel-2 .fishing-game__fish { left: 35%; top: calc(var(--fish-top) - 5%); }
.fishing-game--v2 .fishing-game__stage.is-caught .fishing-game__fish { left: 32%; top: 44%; opacity: 1; transform: translate(-50%, -50%) rotate(13deg) scale(1.12); }
.fishing-game--v2 .fishing-game__callout {
  top: 16px;
  left: 50%;
  padding: 11px 18px;
  border: 3px solid #123d54;
  color: #123d54;
  background: #fff;
  box-shadow: 4px 5px 0 #123d54;
  transform: translateX(-50%);
}
.fishing-game--v2 .fishing-game__stage.is-biting .fishing-game__callout { color: #fff; border-color: #fff; background: #ed4f4d; box-shadow: 4px 5px 0 #123d54; }
.fishing-game--v2 .fishing-game__stage.is-caught .fishing-game__callout { color: #123d54; background: #ffda4f; }
.fishing-game--v2 .fishing-game__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 12px 18px;
  margin-top: 17px;
  padding: 18px;
  border: 4px solid #123d54;
  color: #123d54;
  background: #fff;
  box-shadow: 6px 7px 0 #123d54;
}
.fishing-game--v2 .fishing-game__action,
.fishing-game--v2 .fishing-game__feedback,
.fishing-game--v2 .fishing-game__reel { grid-column: 1; }
.fishing-game--v2 .fishing-game__action[hidden],
.fishing-game--v2 .fishing-game__reel[hidden] { display: none; }
.fishing-game--v2 .fishing-game__feedback {
  min-height: 78px;
  border: 0;
  border-radius: 20px;
  color: #123d54;
  background: #e8f9f8;
  box-shadow: inset 5px 0 #19a8af;
}
.fishing-game--v2 .fishing-game__catch-wrap { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 12px; border-radius: 20px; background: #fff2ad; }
.fishing-game--v2 .fishing-game__controls { grid-column: 2; align-self: end; }
.fishing-game__reel {
  padding: 14px;
  border: 3px solid #123d54;
  border-radius: 20px;
  background: #e6f9dc;
}
.fishing-game__reel > strong { display: block; margin-bottom: 10px; text-align: center; }
.fishing-game__reel-progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 10px; }
.fishing-game__reel-progress i { width: 34px; height: 34px; border: 3px solid #123d54; border-radius: 50%; background: #fff; }
.fishing-game__reel-progress i.is-filled { background: #ffda4f; box-shadow: inset 0 0 0 6px #fff; animation: fishing-catch-in 360ms cubic-bezier(.2,.9,.3,1.35); }
.fishing-game__timing {
  position: relative;
  overflow: hidden;
  height: 20px;
  margin: 0 0 10px;
  border: 3px solid #123d54;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef6660 0 30%, #55c67a 30% 70%, #ef6660 70% 100%);
}
.fishing-game__timing b { position: absolute; inset: 0 auto 0 50%; width: 4px; background: #fff; opacity: 0.8; }
.fishing-game__timing span { position: absolute; top: 50%; left: var(--timing-position, 10%); width: 17px; height: 17px; border: 3px solid #fff; border-radius: 50%; background: #123d54; transform: translate(-50%, -50%); transition: left 650ms ease; }
.fishing-game__reel-button { width: 100%; }
.fishing-game__reel.is-ready { background: #c9f5c5; animation: fishing-reel-glow 750ms ease-in-out infinite; }
.fishing-game--v2 .fishing-game__reel--stage-control {
  margin: clamp(10px, 1.8vw, 15px) 0 0;
  padding: clamp(13px, 2vw, 18px);
  border-color: rgba(18, 61, 84, 0.48);
  background: linear-gradient(135deg, #effcf7, #d9f3ee);
  box-shadow: 0 9px 22px rgba(18, 61, 84, 0.13);
}
.fishing-game--v2 .fishing-game__reel--stage-control + .fishing-game__panel {
  margin-top: 12px;
}
.fishing-game--v2 .fishing-game__safety { color: #fff; border: 3px solid #123d54; background: #123d54; }
.fishing-game--v2.is-complete .fishing-game__score { color: #123d54; background: #bdf2c2; }
@keyframes fishing-v2-float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(7px) rotate(3deg); } }
@keyframes fishing-v2-bite { 0%,100% { box-shadow: 0 0 0 8px rgba(255,255,255,.22), 0 0 0 18px rgba(255,218,79,.18); } 50% { box-shadow: 0 0 0 15px rgba(255,255,255,.34), 0 0 0 31px rgba(255,218,79,.28); } }
@keyframes fishing-v2-swim { 0%,100% { transform: translate(-50%, -50%) rotate(-3deg); } 50% { transform: translate(-50%, calc(-50% - 8px)) rotate(4deg); } }
@keyframes fishing-reel-glow { 0%,100% { box-shadow: 0 0 0 3px rgba(66, 191, 104, 0.2); } 50% { box-shadow: 0 0 0 9px rgba(66, 191, 104, 0.38); } }
@media (max-width: 980px) {
  .fishing-game--v2 .fishing-game__lesson { grid-template-columns: 1fr; }
  .fishing-game--v2 .fishing-game__panel { grid-template-columns: 1fr; }
  .fishing-game--v2 .fishing-game__action,
  .fishing-game--v2 .fishing-game__feedback,
  .fishing-game--v2 .fishing-game__reel,
  .fishing-game--v2 .fishing-game__catch-wrap,
  .fishing-game--v2 .fishing-game__controls { grid-column: 1; grid-row: auto; }
}
@media (max-width: 650px) {
  .fishing-game__steps { gap: 4px; }
  .fishing-game__steps span { gap: 3px; min-height: 54px; padding: 6px 4px; border-radius: 16px; font-size: 0.7rem; text-align: center; }
  .fishing-game__steps b { flex: 0 0 auto; width: 22px; height: 22px; }
  .fishing-game--v2 .fishing-game__lesson { box-shadow: 4px 5px 0 #123d54; }
  .fishing-game--v2 .fishing-game__stage { aspect-ratio: 4 / 5; box-shadow: 5px 6px 0 #123d54; }
  .fishing-game__scene { inset: 0; width: 100%; height: 100%; transform: none; }
  .fishing-scene__desktop-only { display: none; }
  .fishing-scene__mobile-only { display: inline; }
  .fishing-game--v2 .fishing-game__rod { right: 1%; height: 36%; }
  .fishing-game--v2 .fishing-game__line { right: 18%; }
  .fishing-game--v2 .fishing-game__hook { right: calc(18% - 8px); }
  .fishing-game--v2 .fishing-bobber { right: calc(18% - 34px); }
  .fishing-game--v2 .fishing-game__fish { width: 118px; }
  .fishing-game--v2 .fishing-game__callout { top: 12px; max-width: calc(100% - 28px); white-space: nowrap; }
  .fishing-game--v2 .fishing-game__panel { padding: 12px; box-shadow: 4px 5px 0 #123d54; }
  .fishing-game--v2 .fishing-game__reel--stage-control { padding: 12px; border-radius: 18px; }
  .fishing-game--v2 .fishing-game__reel--stage-control .fishing-game__timing { height: 24px; }
  .fishing-game--v2 .fishing-game__reel--stage-control .fishing-game__reel-button { min-height: 62px; }
}
.fishing-game--v2 .fishing-game__score,
.fishing-game--v2 .fishing-game__lesson,
.fishing-game--v2 .fishing-game__panel {
  border-color: rgba(18, 61, 84, 0.32);
  box-shadow: 0 12px 28px rgba(18, 61, 84, 0.14);
}
.fishing-game--v2 .fishing-game__lesson {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}
.fishing-game--v2 .fishing-game__clue {
  background: linear-gradient(135deg, #fff7d5, #f6e7ae);
}
.fishing-game--v2 .fishing-game__depths button {
  border-width: 2px;
  border-color: rgba(18, 61, 84, 0.28);
  box-shadow: 0 5px 12px rgba(18, 61, 84, 0.13), inset 0 1px rgba(255, 255, 255, 0.88);
}
.fishing-game--v2 .fishing-game__depths button:nth-child(1) { background: linear-gradient(180deg, #fffced, #f6d971); }
.fishing-game--v2 .fishing-game__depths button:nth-child(2) { background: linear-gradient(180deg, #ecfbf8, #8bd8d8); }
.fishing-game--v2 .fishing-game__depths button:nth-child(3) { background: linear-gradient(180deg, #d8e7ea, #5f91a7); }
.fishing-game--v2 .fishing-game__stage {
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 2px rgba(18, 61, 84, 0.34), 0 19px 38px rgba(10, 54, 73, 0.25);
  isolation: isolate;
}
.fishing-game--v2 .fishing-game__stage::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 0 47%, rgba(2, 77, 104, 0.04) 58%, rgba(2, 54, 82, 0.25) 100%),
    radial-gradient(ellipse at 58% 54%, rgba(255, 255, 255, 0.15), transparent 42%);
  box-shadow: inset 0 0 42px rgba(7, 49, 67, 0.16);
  content: "";
  pointer-events: none;
}
.fishing-game__scene--legacy { display: none; }
.fishing-game__scene--maram {
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.02) brightness(1.01);
}
.fishing-game--v2 .fishing-game__rod {
  border-color: rgba(63, 37, 23, 0.7);
  background: linear-gradient(90deg, #4d2b1c, #c8823e 43%, #3b2118);
  box-shadow: 2px 4px 7px rgba(0, 0, 0, 0.34);
}
.fishing-game--v2 .fishing-game__callout {
  border-color: rgba(18, 61, 84, 0.54);
  background: rgba(255, 253, 244, 0.93);
  box-shadow: 0 8px 20px rgba(18, 61, 84, 0.2);
  backdrop-filter: blur(7px);
}
.fishing-game--v2 .fishing-game__panel {
  background: rgba(255, 253, 246, 0.94);
}
@media (max-width: 650px) {
  .fishing-game__scene--maram {
    object-position: 50% center;
  }
}
.fishing-game--v2 .fishing-game__line { display: none; }
.fishing-game__line-art { position: absolute; z-index: 8; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fishing-game__line-art line { opacity: 0; stroke: rgba(248,248,232,.98); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 2px 1px rgba(8,45,61,.62)); transition: opacity 180ms ease; }
.fishing-game__stage.is-cast .fishing-game__line-art line,
.fishing-game__stage.is-waiting .fishing-game__line-art line,
.fishing-game__stage.is-biting .fishing-game__line-art line,
.fishing-game__stage.is-reeling .fishing-game__line-art line,
.fishing-game__stage.is-caught .fishing-game__line-art line { opacity: 1; }
.fishing-game--v2 .fishing-game__rod { display: none; }
.fishing-game--v2 .fishing-game__hook {
  right: auto;
  left: calc(47.8% - 18px);
  width: 36px;
  height: 47px;
  color: transparent;
  font-size: 0;
  text-shadow: none;
  filter: drop-shadow(0 4px 3px rgba(3,55,75,.45));
}
.fishing-game--v2 .fishing-game__hook svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fishing-game--v2 .fishing-bobber {
  right: auto;
  left: calc(47.8% - 39px);
}
.fishing-bobber img { display: block; width: 68%; height: 68%; object-fit: contain; filter: drop-shadow(0 5px 4px rgba(3,55,75,.34)); }
.fishing-game.has-bobber-art .fishing-bobber [data-fishing-bobber-fallback] { display: none; }
.fishing-game__stage .fishing-game__fish,
.fishing-game__stage .fish-art,
.fishing-game__stage .fish-art img {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.fishing-game--v2 .fishing-game__fish { width: clamp(112px, 15vw, 205px); height: clamp(74px, 10vw, 132px); }
.fishing-game__controls { align-items: center; }
.fishing-game__mode { display: inline-flex; gap: 5px; padding: 4px; border: 2px solid #b9dce1; border-radius: 16px; background: rgba(255,255,255,.88); }
.fishing-game__mode button { min-height: 40px; border: 0; border-radius: 11px; box-shadow: none; }
.fishing-game__mode button[aria-pressed="true"] { color: #fff; background: #123d54; box-shadow: 0 3px 0 #072f43; }
.fishing-game__mode button:hover { border-color: transparent; }
.fishing-game__jerk { position: absolute; z-index: 18; left: 50%; top: 50%; width: max-content; max-width: 80%; padding: 12px 18px; border: 4px solid #fff; border-radius: 18px; color: #fff; background: #ed4f4d; box-shadow: 5px 6px 0 #123d54; font-weight: 950; transform: translate(-50%, -50%) rotate(-2deg); animation: fishing-jerk-alert 420ms ease-in-out infinite alternate; }
.fishing-game__jerk[hidden] { display: none; }
.fishing-game__stage.is-jerking .fishing-game__fish { animation: fishing-fish-jerk 220ms ease-in-out infinite alternate; }
@keyframes fishing-jerk-alert { to { transform: translate(-50%, -50%) rotate(2deg) scale(1.04); } }
@keyframes fishing-fish-jerk { to { margin-left: 18px; transform: translate(-50%, -50%) rotate(-9deg) scale(.98); } }
.fishing-game__timing { overflow: hidden; }
.fishing-game__timing em { display: none; position: absolute; inset: 4px auto 4px var(--target-start, 40%); width: var(--target-width, 20%); border: 2px solid rgba(255,255,255,.95); border-radius: 999px; background: #ffd94e; box-shadow: 0 0 0 3px rgba(255,217,78,.24); }
.fishing-game__reel.is-big-mode { background: #edfaff; }
.fishing-game__reel.is-big-mode .fishing-game__timing em { display: block; }
.fishing-game__reel.is-big-mode .fishing-game__timing b { display: none; }
.fishing-game__reel.is-big-mode .fishing-game__timing span { z-index: 2; width: 21px; height: 21px; background: #ed4f4d; transition: none; }
.fishing-game__reel.is-big-mode .fishing-game__reel-button { color: #fff; background: #0d7894; }
.fishing-game__reel.is-big-mode .fishing-game__reel-button { min-height: 62px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.fishing-game__reel.is-big-mode .fishing-game__reel-button.is-holding { color: #123d54; background: #ffd94e; box-shadow: 0 0 0 5px rgba(255,217,78,.28), 0 6px 0 #b77619; transform: translateY(1px); }
.fishing-game__catch { grid-template-columns: repeat(5, minmax(58px, 1fr)); }
.fishing-game__catch article { display: grid; min-height: 78px; padding: 6px; place-items: center; border: 2px solid rgba(18,61,84,.14); border-radius: 14px; color: #6b8490; background: rgba(255,255,255,.7); font-size: 1.3rem; font-weight: 950; }
.fishing-game__catch article.is-filled { color: #123d54; border-color: #fff; background: #fff; box-shadow: 0 4px 0 rgba(18,61,84,.14); animation: fishing-catch-in 440ms cubic-bezier(.2,.9,.3,1.35); }
.fishing-game__catch article .fish-art { width: 74px; height: 44px; }
.fishing-game__catch article strong { display: block; margin-top: 2px; font-size: .7rem; }
.fishing-catch-card { display: grid; grid-template-columns: minmax(190px, 280px) minmax(0, 1fr); gap: clamp(18px, 3vw, 30px); align-items: center; margin-top: 18px; padding: clamp(18px, 3vw, 28px); border: 4px solid #123d54; border-radius: 28px; color: #123d54; background: linear-gradient(130deg, #fff 0 56%, #fff1ae 56% 100%); box-shadow: 0 9px 0 rgba(18,61,84,.15); }
.fishing-catch-card[hidden] { display: none; }
.fishing-catch-card__art { display: grid; min-height: 160px; padding: 14px; place-items: center; border-radius: 22px; background: radial-gradient(circle at 50% 45%, #d9fbf6, #7bdce0); box-shadow: inset 0 0 0 3px rgba(255,255,255,.74); }
.fishing-catch-card__art .fish-art { width: min(100%, 250px); height: 138px; }
.fishing-catch-card h4 { margin: 4px 0 8px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.fishing-catch-card p { margin: 0; font-size: 1.05rem; font-weight: 760; }
.fishing-catch-card--stage {
  position: absolute;
  z-index: 32;
  right: clamp(10px, 2vw, 20px);
  bottom: clamp(10px, 2vw, 20px);
  left: clamp(10px, 2vw, 20px);
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 20px);
  border-width: 3px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(255,244,184,.96));
  box-shadow: 0 12px 30px rgba(4,52,70,.28), 0 6px 0 rgba(18,61,84,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fishing-catch-overlay-in 360ms cubic-bezier(.2,.9,.3,1.2);
}
.fishing-catch-card--stage .fishing-catch-card__art { min-height: 110px; padding: 8px; }
.fishing-catch-card--stage .fishing-catch-card__art .fish-art { height: 96px; }
.fishing-catch-card--stage .fishing-catch-card__copy { min-width: 0; }
.fishing-catch-card--stage h4 { margin: 2px 0 5px; font-size: clamp(1.45rem, 3vw, 2.15rem); }
.fishing-catch-card--stage p { color: #284f61; font-size: clamp(.82rem, 1.45vw, 1rem); line-height: 1.35; }
.fishing-catch-card--stage .fishing-game__action {
  display: inline-flex;
  width: auto;
  min-height: 46px;
  margin-top: 10px;
}
.fishing-catch-card__art .fish-art img,
.fishing-summary-card .fish-art img,
.fishing-game__catch .fish-art img { mix-blend-mode: multiply; }
.fishing-game__depths button.is-hint {
  border-color: #e4a821;
  background: linear-gradient(145deg, #fff8bf, #ffd85d) !important;
  box-shadow: 0 0 0 6px rgba(255,216,93,.28), 0 5px 0 #bb7d16;
  animation: fishing-depth-hint 1100ms ease-in-out infinite alternate;
}
@keyframes fishing-catch-overlay-in {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fishing-depth-hint {
  to { transform: translateY(-2px); box-shadow: 0 0 0 10px rgba(255,216,93,.18), 0 7px 0 #bb7d16; }
}
.fishing-game__summary { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.fishing-summary-card { display: grid; grid-template-columns: 86px 1fr; gap: 10px; align-items: center; min-width: 0; padding: 11px; border: 2px solid rgba(18,61,84,.16); border-radius: 18px; background: rgba(255,255,255,.83); }
.fishing-summary-card .fish-art { width: 82px; height: 54px; }
.fishing-summary-card strong { font-size: 1rem; }
.fishing-summary-card p { margin: 3px 0 0; color: #365c6d; font-size: .78rem; line-height: 1.35; }
@media (max-width: 760px) {
  .fishing-game__mode { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
  .fishing-game__controls > button { flex: 1 1 45%; }
  .fishing-catch-card { grid-template-columns: 1fr; }
  .fishing-catch-card__art { min-height: 130px; }
  .fishing-catch-card--stage {
    right: 8px;
    bottom: 8px;
    left: 8px;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
  }
  .fishing-catch-card--stage .fishing-catch-card__art { min-height: 86px; padding: 5px; }
  .fishing-catch-card--stage .fishing-catch-card__art .fish-art { height: 80px; }
  .fishing-catch-card--stage .eyebrow { display: none; }
  .fishing-catch-card--stage h4 { margin-top: 0; font-size: 1.25rem; }
  .fishing-catch-card--stage p {
    display: -webkit-box;
    overflow: hidden;
    font-size: .75rem;
    line-height: 1.24;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .fishing-catch-card--stage .fishing-game__action { width: 100%; min-height: 44px; margin-top: 6px; padding: 6px 10px; }
  .fishing-game__catch { grid-template-columns: repeat(5, 1fr); }
  .fishing-game__catch article { min-height: 62px; padding: 3px; }
  .fishing-game__catch article .fish-art { width: 52px; height: 34px; }
  .fishing-game__catch article strong { font-size: .58rem; }
  .fishing-summary-card { grid-template-columns: 68px 1fr; }
  .fishing-summary-card .fish-art { width: 66px; height: 46px; }
  .fishing-game__rod-image { width: 42%; }
  .fishing-game__scene--maram { object-position: 72% center; }
}
@media (max-width: 560px) {
  .fishing-game__summary { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fishing-game__jerk,
  .fishing-game__stage.is-jerking .fishing-game__fish,
  .fishing-catch-card--stage,
  .fishing-game__depths button.is-hint { animation: none; }
}
