    :root {
      --ink: #073451;
      --blue: #087ec1;
      --cyan: #2bd7ee;
      --yellow: #ffd43b;
      --cream: #fff9e8;
      --glass: rgba(255, 255, 255, .9);
      --shadow: 0 18px 55px rgba(0, 46, 78, .25);
    }

    * { box-sizing: border-box; }
    html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
    body {
      font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", Arial, sans-serif;
      color: var(--ink);
      background: #057fbd;
      user-select: none;
    }
    button { font: inherit; }

    .ocean {
      position: fixed;
      inset: 0;
      overflow: hidden;
      background:
        radial-gradient(circle at 50% -20%, rgba(255,255,255,.9) 0 4%, rgba(85,223,246,.38) 22%, transparent 47%),
        linear-gradient(180deg, #0bbdea 0%, #078cca 44%, #045f9b 76%, #033f73 100%);
    }
    .ocean::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .4;
      background:
        repeating-linear-gradient(105deg, transparent 0 80px, rgba(255,255,255,.11) 82px 84px, transparent 88px 180px),
        linear-gradient(180deg, transparent 70%, rgba(0,43,74,.24));
      transform: skewX(-9deg) scale(1.2);
      pointer-events: none;
    }
    .sand {
      position: absolute;
      left: -5%; right: -5%; bottom: -28px; height: 100px;
      border-radius: 55% 55% 0 0;
      background: linear-gradient(#f5d184, #d89e55);
      box-shadow: inset 0 12px 20px rgba(255,255,255,.18);
      z-index: 1;
    }
    .reef { position: absolute; bottom: 34px; width: 190px; height: 155px; z-index: 1; opacity: .78; }
    .reef.left { left: -8px; }
    .reef.right { right: -10px; transform: scaleX(-1); }
    .weed, .coral { position: absolute; bottom: 0; transform-origin: bottom; }
    .weed { width: 18px; border-radius: 80% 15% 70% 20%; background: #168a72; box-shadow: inset -5px 0 rgba(0,0,0,.12); }
    .weed:nth-child(1) { height: 118px; left: 12px; transform: rotate(-15deg); }
    .weed:nth-child(2) { height: 145px; left: 45px; transform: rotate(9deg); background:#2daa6b; }
    .weed:nth-child(3) { height: 98px; left: 83px; transform: rotate(-7deg); }
    .weed:nth-child(4) { height: 128px; left: 116px; transform: rotate(17deg); background:#38a95e; }
    .coral { width: 14px; height: 88px; left: 150px; border-radius: 12px; background: #f17477; transform: rotate(8deg); }
    .coral::before, .coral::after { content:""; position:absolute; width:12px; height:55px; border-radius:12px; background:inherit; bottom:24px; }
    .coral::before { left:-21px; transform:rotate(-34deg); }
    .coral::after { left:22px; transform:rotate(35deg); }

    #bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
    .bubble {
      position: absolute;
      bottom: -50px;
      width: var(--size); height: var(--size);
      left: var(--left);
      border: 2px solid rgba(255,255,255,.6);
      border-radius: 50%;
      box-shadow: inset 3px 3px 7px rgba(255,255,255,.35);
      animation: rise var(--duration) linear infinite;
      animation-delay: var(--delay);
      opacity: .7;
    }
    @keyframes rise {
      0% { transform: translateY(0) translateX(0) scale(.7); opacity: 0; }
      12% { opacity: .7; }
      55% { transform: translateY(-55vh) translateX(18px) scale(1); }
      100% { transform: translateY(-115vh) translateX(-12px) scale(1.08); opacity: 0; }
    }

    .screen {
      position: absolute;
      inset: 0;
      z-index: 5;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }
    .screen.active { display: flex; animation: fadeIn .35s ease; }
    @keyframes fadeIn { from { opacity: 0; transform: scale(.985); } }

    .intro-card {
      width: min(1180px, 94vw);
      text-align: center;
      padding: 32px 28px 36px;
      position: relative;
    }
    .eyebrow {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      padding: 8px 14px;
      border-radius: 999px;
      color: #fff;
      background: rgba(2,75,119,.32);
      border: 1px solid rgba(255,255,255,.3);
      backdrop-filter: blur(8px);
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      font-size: 12px;
    }
    h1 {
      margin: 0 auto 34px;
      max-width: 1120px;
      font-size: clamp(24px, 5vw, 76px);
      line-height: .98;
      letter-spacing: -.055em;
      color: #fff;
      text-shadow: 0 7px 0 #0876b6, 0 12px 26px rgba(0,50,92,.36);
    }
    h1 span { display:block; white-space:nowrap; }
    .intro-card p {
      color: rgba(255,255,255,.93);
      font-size: clamp(15px, 2.2vw, 20px);
      font-weight: 650;
      margin: 18px auto 28px;
      max-width: 600px;
      line-height: 1.45;
      text-shadow: 0 2px 7px rgba(0,64,102,.5);
    }
    .primary-btn, .secondary-btn {
      border: 0;
      cursor: pointer;
      border-radius: 18px;
      font-weight: 900;
      transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
      -webkit-tap-highlight-color: transparent;
    }
    .primary-btn {
      min-width: 190px;
      padding: 16px 28px;
      font-size: 18px;
      color: #123e52;
      background: linear-gradient(180deg, #fff36c, #ffc82f);
      box-shadow: 0 8px 0 #e59b17, 0 17px 30px rgba(0,53,89,.25);
    }
    .primary-btn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 10px 0 #e59b17, 0 20px 34px rgba(0,53,89,.3); }
    .primary-btn:active { transform: translateY(5px); box-shadow: 0 3px 0 #e59b17; }
    .secondary-btn { padding: 13px 20px; color: #0a5f8e; background:#e8f8ff; }
    .secondary-btn:hover { transform: translateY(-2px); }

    .hero-fish {
      position: fixed;
      width: clamp(95px, 15vw, 170px);
      filter: drop-shadow(0 14px 15px rgba(0,42,74,.3));
      animation: swimFloat 3.5s ease-in-out infinite;
      pointer-events: none;
    }
    .hero-fish.left { left: 5vw; top: 15%; transform: rotate(-3deg); }
    .hero-fish.right { right: 5vw; bottom: 13%; transform: scaleX(-1) rotate(8deg); animation-delay: -1.7s; }
    .hero-fish.extra { width:clamp(58px, 8vw, 105px); opacity:.88; }
    .hero-fish.extra-one { left:7%; bottom:8%; animation-delay:-.5s; }
    .hero-fish.extra-two { right:9%; top:8%; transform:scaleX(-1) rotate(-5deg); animation-delay:-2.1s; }
    .hero-fish.extra-three { left:25%; bottom:5%; transform:rotate(7deg); animation-delay:-1.2s; }
    .hero-fish.extra-four { right:25%; bottom:6%; transform:scaleX(-1) rotate(4deg); animation-delay:-2.8s; }
    .hero-fish.extra-five { left:4%; top:55%; transform:scaleX(-1) rotate(-4deg); animation-delay:-3.3s; }
    @keyframes swimFloat { 50% { translate: 0 -14px; } }

    .chooser-panel {
      width: min(1020px, 96vw);
      max-height: 92vh;
      overflow: auto;
      border-radius: 30px;
      padding: 26px;
      background: rgba(242,252,255,.94);
      box-shadow: var(--shadow);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255,255,255,.75);
    }
    .chooser-panel h2 { margin: 0; text-align:center; font-size: clamp(27px, 4vw, 42px); letter-spacing:-.035em; }
    .chooser-panel > p { text-align:center; margin: 8px 0 22px; color:#467084; }
    .chooser-panel > p.choose-guide { max-width:900px; margin:12px auto 22px; font-size:clamp(14px, 1.6vw, 18px); line-height:1.5; font-weight:650; }
    .fish-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin-top:22px; }
    .fish-choice {
      border: 2px solid transparent;
      cursor: pointer;
      border-radius: 24px;
      padding: 20px 16px 17px;
      color: var(--ink);
      background: #fff;
      box-shadow: 0 8px 24px rgba(10,89,125,.1);
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .fish-choice:hover, .fish-choice:focus-visible { transform:translateY(-6px); border-color:var(--fish); box-shadow:0 16px 30px rgba(10,89,125,.17); outline:0; }
    .choice-canvas { width:100%; height:120px; display:block; }
    .fish-choice strong { display:block; font-size:20px; margin-top:5px; }
    .fish-choice .salary { display:block; font-size:14px; margin-top:5px; font-weight:800; color:#477389; }
    .difficulty { display:inline-block; margin-top:12px; padding:6px 10px; border-radius:999px; background:#edf8fc; font-size:12px; font-weight:900; }
    .chooser-actions { text-align:center; margin-top:18px; }

    #gameScreen { padding: 0; z-index: 4; }
    #gameScreen.active { display:block; }
    #gameCanvas { position:absolute; inset:0; width:100%; height:100%; z-index:2; cursor:crosshair; touch-action:none; }
    .hud {
      position:absolute;
      z-index:6;
      top:calc(1.3cm + max(14px, env(safe-area-inset-top)));
      left:max(14px, env(safe-area-inset-left));
      right:max(14px, env(safe-area-inset-right));
      display:flex;
      justify-content:space-between;
      align-items:flex-start;
      gap:12px;
      pointer-events:none;
    }
    .salary-card, .score-card {
      padding:12px 15px;
      border-radius:16px;
      background:rgba(255,255,255,.91);
      border:1px solid rgba(255,255,255,.75);
      box-shadow:0 8px 25px rgba(0,56,94,.15);
      backdrop-filter:blur(10px);
    }
    .salary-card { position:relative; appearance:none; color:var(--ink); text-align:left; cursor:pointer; pointer-events:auto; font-weight:900; font-size:clamp(13px, 2vw, 17px); }
    .salary-card:hover { box-shadow:0 11px 30px rgba(0,56,94,.23); }
    .salary-card:focus-visible { outline:3px solid #ffd43b; outline-offset:3px; }
    .salary-card small { display:block; font-size:clamp(14px, 1.7vw, 17px); color:#d7263d; margin-top:6px; font-weight:900; }
    .salary-arrow {
      position:absolute;
      left:calc(100% + 22px);
      top:50%;
      width:65px;
      height:9px;
      border-radius:999px;
      background:#e5263f;
      opacity:0;
      transform:translateY(-50%);
      pointer-events:none;
      filter:drop-shadow(0 4px 5px rgba(102,0,14,.25));
      transition:opacity .25s ease;
    }
    .salary-arrow::before {
      content:"";
      position:absolute;
      left:0;
      top:50%;
      transform:translateY(-50%);
      border-top:14px solid transparent;
      border-bottom:14px solid transparent;
      border-right:22px solid #e5263f;
    }
    .salary-arrow.show { opacity:1; animation:pointSalary .65s ease-in-out infinite alternate; }
    @keyframes pointSalary { from { margin-left:9px; } to { margin-left:0; } }
    .score-card { text-align:right; min-width:118px; font-weight:900; }
    .score-card span { font-size:21px; color:#0879b8; }
    .tip {
      position:absolute;
      z-index:6;
      left:50%; bottom:max(16px, env(safe-area-inset-bottom));
      transform:translateX(-50%);
      width:max-content;
      max-width:calc(100vw - 28px);
      padding:10px 16px;
      border-radius:999px;
      color:#fff;
      font-size:13px;
      font-weight:800;
      text-align:center;
      background:rgba(0,47,82,.58);
      backdrop-filter:blur(8px);
      pointer-events:none;
      transition:opacity .3s;
    }

    .modal-wrap {
      position:fixed;
      inset:0;
      z-index:20;
      display:none;
      align-items:center;
      justify-content:center;
      padding:20px;
      background:rgba(0,40,68,.52);
      backdrop-filter:blur(8px);
    }
    .modal-wrap.show { display:flex; animation:fadeIn .25s ease; }
    .modal {
      width:min(520px, 94vw);
      max-height:92vh;
      overflow:auto;
      border-radius:28px;
      padding:25px;
      background:#fff;
      box-shadow:var(--shadow);
      border:1px solid rgba(255,255,255,.8);
    }
    .modal-head { display:flex; gap:16px; align-items:center; margin-bottom:18px; }
    .logo-box {
      flex:0 0 82px;
      height:82px;
      display:grid;
      place-items:center;
      border-radius:20px;
      background:#edf8fc;
      overflow:hidden;
      color:#0a709e;
      font-size:22px;
      font-weight:950;
    }
    .logo-box img { width:100%; height:100%; object-fit:contain; padding:9px; background:#fff; }
    .modal-kicker { color:#1581b7; font-size:12px; text-transform:uppercase; letter-spacing:.09em; font-weight:950; }
    .modal h3 { font-size:clamp(24px, 5vw, 32px); line-height:1.06; margin:5px 0 0; letter-spacing:-.035em; }
    .facts { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0 0 19px; }
    .fact { padding:13px; border-radius:15px; background:#f1f8fb; }
    .fact.wide { grid-column:1 / -1; }
    .fact label { display:block; color:#6a8796; font-size:11px; font-weight:800; margin-bottom:5px; }
    .fact b { display:block; color:#113d53; font-size:16px; }
    .fact.positive b { color:#14854a; }
    .fact.negative b { color:#d63d51; }
    .modal-actions { display:flex; gap:10px; justify-content:flex-end; }
    .modal-actions .primary-btn { min-width:155px; padding:13px 21px; font-size:16px; border-radius:15px; box-shadow:0 6px 0 #e59b17; }

    .event-modal { text-align:center; width:min(490px, 94vw); }
    .event-icon { width:88px; height:88px; display:grid; place-items:center; margin:0 auto 14px; border-radius:28px; font-size:47px; background:#e7f8ff; }
    .event-modal p { color:#53798b; line-height:1.55; margin:10px auto 22px; max-width:430px; white-space:pre-line; }
    .source-link { display:inline-block; margin:-10px auto 22px; color:#0879b8; font-weight:850; text-decoration:underline; text-underline-offset:3px; }
    .source-link:hover { color:#d7263d; }
    .source-link[hidden] { display:none; }
    .event-modal .modal-actions { justify-content:center; }

    @media (max-width: 720px) {
      .screen { padding:14px; }
      .intro-card { padding:20px 8px 28px; }
      .hero-fish { opacity:.8; }
      .fish-grid { grid-template-columns:1fr; }
      .chooser-panel { padding:21px 16px; border-radius:24px; }
      .choice-canvas { height:82px; width:100%; float:none; margin-right:0; }
      .fish-choice { min-height:114px; text-align:left; }
      .fish-choice strong { padding-top:7px; }
      .facts { grid-template-columns:1fr; }
      .modal { padding:20px; }
      .modal-head { align-items:flex-start; }
      .logo-box { flex-basis:68px; height:68px; }
      .hud { flex-direction:column; right:auto; }
      .score-card { text-align:left; padding:8px 12px; min-width:0; }
      .salary-arrow { left:calc(100% + 7px); width:30px; }
      .tip { font-size:11px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; }
    }
