/* 魚霸不能 官方網站：首頁（共用的頁首、頁尾在 style.css） */
.home {
  --ink: #062a55;
  --ink-2: #031a38;
  --deep: #04203f;
  --abyss: #021226;
  background: var(--abyss);
}
.home .wrap { max-width: 1200px; }

/* ---------- 遊戲元件：綠色立體按鈕、貝殼橫幅、金色大標 ---------- */
.gbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-sizing: border-box;
  border: 22px solid transparent;
  border-image: url(img/ui_btn_green.webp) 58 fill / 22px stretch;
  font-family: var(--display); font-weight: 400;
  color: #213300; text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  white-space: nowrap; cursor: pointer;
  filter: drop-shadow(0 10px 16px rgba(0, 30, 10, .35));
  transition: transform .12s ease, filter .12s ease;
}
.gbtn:hover { text-decoration: none; filter: drop-shadow(0 12px 20px rgba(0, 30, 10, .4)) brightness(1.06); transform: translateY(-2px); }
.gbtn:active { transform: translateY(2px) scale(.98); }
.gbtn-l { height: 80px; padding: 0 22px; font-size: 30px; letter-spacing: .06em; }
.gbtn-l svg { width: 30px; height: 30px; margin-top: -3px; }
.gbtn-s { height: 46px; padding: 0 8px; border-width: 14px; border-image-width: 14px; font-size: 17px; }

.ribbon { margin: 0; display: flex; justify-content: center; }
.ribbon span {
  display: inline-flex; align-items: center;
  height: 64px; padding: 0 30px 6px;
  border: solid transparent; border-width: 0 72px;
  border-image: url(img/ui_title.webp) 0 160 fill / 0 72px stretch;
  font: 400 26px/1 var(--display); letter-spacing: .1em; color: #fff;
  -webkit-text-stroke: 5px #063a7a; paint-order: stroke fill;
  text-shadow: 0 3px 0 #052a5c;
  filter: drop-shadow(0 10px 18px rgba(0, 20, 50, .45));
}
.ribbon-l { margin-bottom: 44px; }
.ribbon-l span { height: 80px; padding: 0 40px 8px; border-width: 0 90px; border-image-width: 0 90px; font-size: 34px; }

.gold-title {
  margin: 0;
  font: 400 clamp(52px, 6.6vw, 100px)/1.08 var(--display); letter-spacing: .02em;
  background: linear-gradient(180deg, #fffbe0 10%, #ffe45c 42%, #ffb01f 74%, #ff8a00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(3px 0 0 var(--ink-2)) drop-shadow(-3px 0 0 var(--ink-2)) drop-shadow(0 3px 0 var(--ink-2)) drop-shadow(0 -3px 0 var(--ink-2)) drop-shadow(0 6px 0 var(--ink-2)) drop-shadow(0 16px 24px rgba(0, 10, 30, .5));
}
.badge-event {
  display: inline-block; margin-bottom: 14px; padding: 6px 16px; border-radius: 999px;
  font: 400 15px/1.4 var(--display); letter-spacing: .08em; color: #3a2000;
  background: linear-gradient(180deg, #ffe680, #ffb21f);
  box-shadow: 0 3px 0 #b06000, 0 8px 20px rgba(255, 170, 30, .35);
}
.badge-event.blue { color: #fff; background: linear-gradient(180deg, #4fc3ff, #1a7fe0); box-shadow: 0 3px 0 #0b4c9a, 0 8px 20px rgba(40, 150, 255, .35); }

/* ---------- 頁首 ---------- */
.home .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background .25s ease, border-color .25s ease;
}
.home .site-header.solid {
  background: rgba(3, 22, 46, .82);
  border-bottom-color: rgba(160, 220, 255, .12);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.home .site-header .wrap { height: 72px; }
.home .nav { align-items: center; }
.home .nav a:not(.gbtn) { color: #fff; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 30, 60, .7); }
.home .nav .gbtn { margin-left: 8px; padding: 0 8px; border-radius: 0; background: none; color: #213300; text-shadow: 0 1px 0 rgba(255, 255, 255, .55); }
.home .nav .gbtn:hover { background: none; }

/* ---------- 主視覺 ---------- */
.splash {
  position: relative; isolation: isolate; overflow: clip;
  display: grid; place-items: center;
  height: 100vh; height: 100svh; min-height: 700px; max-height: 1080px;
  --mx: 0; --my: 0; --sy: 0;
}
.splash-bg {
  position: absolute; inset: -4%; z-index: -3;
  background: url(img/bg1.webp) center 35% / cover no-repeat;
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -10px + var(--sy) * .25px), 0);
}
.splash-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 45%, rgba(255, 255, 255, .12), transparent 70%), linear-gradient(180deg, rgba(0, 40, 90, .25), rgba(0, 0, 0, 0) 30%, rgba(4, 32, 63, .1) 70%, var(--deep) 100%); }
.rays {
  position: absolute; inset: -10% -20% 30%;
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0) 0 70px, rgba(255, 255, 255, .1) 90px, rgba(255, 255, 255, 0) 130px);
  mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  animation: rays 14s ease-in-out infinite alternate;
}
@keyframes rays { to { transform: translateX(6%) skewX(-4deg); opacity: .6; } }
.bubbles { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bubbles i {
  position: absolute; bottom: -30px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .15) 40%, rgba(255, 255, 255, .05) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  animation: rise linear infinite;
}
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translate(14px, -50vh); } 100% { transform: translate(-8px, -105vh); opacity: 0; } }

.crowd { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.c { position: absolute; display: block; transform: translate3d(calc(var(--mx) * var(--d) * -1.6px), calc(var(--my) * var(--d) * -1.6px - var(--sy) * var(--d) * .012px), 0); }
.c img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 20px rgba(0, 30, 70, .4)); animation: bob var(--t, 6s) ease-in-out var(--dl, 0s) infinite; }
.c.flip img { transform: scaleX(-1); }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -16px; rotate: 2deg; } }
.c-eye { width: min(17vw, 300px); right: -2%; top: 9%; --t: 9s; }
.c-eye img { filter: drop-shadow(0 0 40px rgba(150, 80, 255, .55)) brightness(.92); }
.c-thief { width: min(9vw, 160px); left: 5%; top: 15%; --t: 5s; --dl: -1s; }
.c-jelly { width: min(6vw, 110px); left: 21%; top: 12%; --t: 8s; --dl: -3s; }
.c-alien { width: min(8.5vw, 150px); right: 19%; top: 13%; --t: 5.5s; --dl: -2s; }
.c-clown { width: min(15vw, 260px); left: 5%; top: 43%; --t: 6s; --dl: -1.5s; }
.c-horse { width: min(5vw, 90px); left: 1.5%; bottom: 14%; --t: 7s; }
.c-octo { width: min(11vw, 190px); left: 14%; bottom: 5%; --t: 6.5s; --dl: -2.5s; }
.c-snail { width: min(7.5vw, 130px); left: 29%; bottom: 3%; --t: 9s; }
.c-king { width: min(21vw, 380px); right: 3%; top: 41%; --t: 6s; --dl: -.5s; }
.c-king img, .c-rainbow img, .c-puff img { scale: -1 1; }
.c-rainbow { width: min(11vw, 200px); right: 25%; bottom: 4%; --t: 7s; --dl: -4s; }
.c-puff { width: min(8vw, 140px); right: 6%; bottom: 6%; --t: 5s; --dl: -1s; }

.hero-center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 16px 40px; }
.sun { position: absolute; left: 50%; top: 40%; z-index: -1; width: min(980px, 110vw); max-width: none; translate: -50% -50%; opacity: .55; mix-blend-mode: screen; pointer-events: none; animation: spin 80s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.pill-new {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 16px 5px 5px; border-radius: 999px;
  color: #fff; font-size: 14px; font-weight: 600;
  background: rgba(2, 30, 64, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pill-new:hover { text-decoration: none; background: rgba(2, 30, 64, .7); }
.pill-new b { padding: 3px 10px; border-radius: 999px; font: 400 12px/1.3 var(--display); letter-spacing: .08em; color: #3a1d00; background: linear-gradient(180deg, #ffe680, #ffa61f); }

.logo { margin: 14px 0 6px; display: flex; justify-content: center; gap: .02em; font: 400 clamp(84px, 11.5vw, 184px)/1.05 var(--display); letter-spacing: 0; }
.logo span {
  position: relative; display: inline-block;
  transform: translateY(var(--y)) rotate(var(--r));
  color: var(--ink-2); -webkit-text-stroke: .15em var(--ink-2);
  text-shadow: 0 .08em 0 var(--ink-2), 0 .16em .24em rgba(0, 10, 30, .5);
}
.logo span::after {
  content: attr(data-c); position: absolute; inset: 0;
  -webkit-text-stroke: 0; text-shadow: none;
  background: linear-gradient(180deg, #fffbe0 8%, #ffe45c 40%, #ffb01f 72%, #ff8a00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.round-play {
  position: relative; width: 72px; height: 72px; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #fff, #dff3ff 60%, #a9d8ff);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .35), 0 5px 0 #4a86c0, 0 14px 24px rgba(0, 30, 70, .4);
  transition: transform .15s ease;
}
.round-play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.round-play:hover { transform: scale(1.06); }
.round-play .tri, .sound-btn .tri { position: absolute; left: 50%; top: 50%; translate: -35% -50%; border-left: 22px solid #0b6fb0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.hero-note { margin: 18px 0 0; font-size: 14px; letter-spacing: .04em; color: #fff; text-shadow: 0 1px 8px rgba(0, 30, 70, .8); }
.dive-hint { position: absolute; left: 50%; bottom: 22px; z-index: 2; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font: 400 14px/1 var(--display); letter-spacing: .3em; text-shadow: 0 1px 8px rgba(0, 20, 50, .8); }
.dive-hint:hover { text-decoration: none; }
.dive-hint i { width: 14px; height: 14px; border-right: 3px solid #ffe066; border-bottom: 3px solid #ffe066; rotate: 45deg; animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 50% { translate: 0 6px; } }

/* ---------- 場景共用 ---------- */
.scene { position: relative; isolation: isolate; overflow: clip; padding: 120px 0; }
.scene.deep { background: radial-gradient(70% 40% at 50% 0%, rgba(40, 140, 255, .18), transparent 70%), linear-gradient(180deg, var(--deep), #031630); }
.snow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #cfeaff, transparent 60%), radial-gradient(1.2px 1.2px at 37% 72%, #cfeaff, transparent 60%),
    radial-gradient(2px 2px at 64% 34%, #cfeaff, transparent 60%), radial-gradient(1.2px 1.2px at 82% 82%, #cfeaff, transparent 60%),
    radial-gradient(1.6px 1.6px at 90% 12%, #cfeaff, transparent 60%), radial-gradient(1px 1px at 50% 50%, #cfeaff, transparent 60%);
  background-size: 420px 420px;
  animation: snow 40s linear infinite;
}
@keyframes snow { to { background-position: 0 -420px; } }
.scene[style*='--bg'] { background: linear-gradient(180deg, var(--abyss) 0%, rgba(2, 18, 38, .2) 18%, rgba(2, 18, 38, .2) 78%, var(--abyss) 100%), var(--bg) center / cover; }

/* ---------- 實機影片 ---------- */
.video-scene { padding-top: 96px; }
.screen-frame {
  position: relative; max-width: 1000px; margin: 0 auto;
  border: 38px solid transparent;
  border-image: url(img/ui_panel.webp) 96 fill / 38px stretch;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)) drop-shadow(0 0 60px rgba(60, 200, 255, .22));
}
.screen-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; object-fit: cover; background: #0a3b6b; }
.sound-btn {
  position: absolute; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 48px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 400 16px/1 var(--display); color: #fff;
  background: rgba(2, 16, 36, .7); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sound-btn::before { content: ''; position: absolute; left: 6px; top: 6px; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(180deg, #ffe680, #ffb21f); }
.sound-btn .tri { left: 22px; border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; border-left-color: #6a3a00; }
.sound-btn:hover { background: rgba(2, 16, 36, .88); }
.verbs { display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); margin: 52px 0 0; padding: 0; list-style: none; }
.verbs li { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.bubble {
  position: relative; display: grid; place-items: center;
  width: 116px; height: 116px; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .55), rgba(120, 210, 255, .25) 30%, rgba(20, 90, 170, .35) 70%), linear-gradient(180deg, #1d79c9, #0a3f7a);
  box-shadow: inset 0 0 0 3px rgba(190, 240, 255, .45), 0 0 0 4px rgba(255, 200, 60, .85), 0 0 0 7px rgba(3, 26, 56, .9), 0 16px 30px rgba(0, 0, 0, .45);
}
.bubble img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 20, 50, .5)); transition: transform .3s cubic-bezier(.3, 1.7, .5, 1); }
.verbs li:hover .bubble img { transform: scale(1.15) rotate(-6deg); }
.verbs b { font: 400 20px/1.2 var(--display); color: #fff; letter-spacing: .06em; text-shadow: 0 2px 0 var(--ink-2); }

/* ---------- 海域：往下捲換場景 ---------- */
.seas { position: relative; height: 500vh; background: var(--abyss); }
.seas-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.seas-bg { position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover; opacity: 0; transform: scale(1.12); transition: opacity 1s ease, transform 7s cubic-bezier(.2, .6, .2, 1); }
.seas-bg.on { opacity: 1; transform: scale(1); }
.seas-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 16, 36, .7) 0%, rgba(2, 16, 36, .35) 40%, rgba(2, 16, 36, 0) 65%), linear-gradient(180deg, var(--abyss) 0%, rgba(2, 18, 38, 0) 18%, rgba(2, 18, 38, 0) 80%, rgba(2, 18, 38, .85) 100%); }
.sea { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; max-width: 1240px; margin: 0 auto; padding: 60px 48px 90px; pointer-events: none; }
.sea-text { opacity: 0; transform: translateX(-50px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.sea.on .sea-text { opacity: 1; transform: none; transition-delay: .15s; }
.sea .ch { font: 600 14px/1 var(--body); letter-spacing: .3em; color: #ffe066; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.sea h3 { margin: 14px 0 12px; font: 400 clamp(72px, 9vw, 136px)/1 var(--display); color: #fff; -webkit-text-stroke: 10px var(--ink-2); paint-order: stroke fill; text-shadow: 0 7px 0 var(--ink-2), 0 0 60px color-mix(in srgb, var(--glow) 60%, transparent); }
.sea p { margin: 0 0 22px; max-width: 22em; font-size: 19px; color: #eaf6ff; text-shadow: 0 1px 10px rgba(0, 10, 30, .9); }
.boss-tag { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; font: 700 12px/1 var(--body); letter-spacing: .14em; color: #fff; background: rgba(2, 14, 32, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.boss-tag::before { content: 'BOSS'; padding: 6px 10px; border-radius: 999px; background: linear-gradient(180deg, #ff6b6b, #d8243a); }
.boss-tag { font-size: 0; }
.boss-tag b { font: 400 20px/1 var(--display); letter-spacing: .06em; }
.sea-boss { justify-self: center; width: min(560px, 40vw); opacity: 0; transform: translateY(80px) scale(.8); transition: opacity .6s ease, transform .9s cubic-bezier(.2, 1.3, .4, 1); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 50px color-mix(in srgb, var(--glow) 60%, transparent)); }
.sea.on .sea-boss { opacity: 1; transform: none; animation: hover 6s ease-in-out .9s infinite; }
@keyframes hover { 50% { translate: 0 -18px; } }
.lockmark { display: grid; place-items: center; width: 220px; height: 220px; border-radius: 50%; color: #ffcf9a; background: radial-gradient(circle, rgba(255, 110, 40, .45), rgba(255, 110, 40, 0) 70%); box-shadow: inset 0 0 0 3px rgba(255, 170, 110, .45), 0 0 80px rgba(255, 110, 40, .4); }
.lockmark svg { width: 80px; height: 80px; }
.sea-lock h3 { color: #ffb38a; }
.sea-steps { position: absolute; left: 50%; bottom: 34px; translate: -50% 0; display: flex; gap: 8px; margin: 0; padding: 6px; list-style: none; border-radius: 999px; background: rgba(2, 14, 32, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sea-steps li { padding: 8px 18px; border-radius: 999px; cursor: pointer; font: 400 15px/1 var(--display); color: #a9c9e3; transition: background .3s ease, color .3s ease; }
.sea-steps li.on { color: #3a2000; background: linear-gradient(180deg, #ffe680, #ffb21f); }

/* ---------- 圖鑑展示 ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.show-stage { --c: #ffc93d; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 20px; }
.show-stage[data-r='1'] { --c: #8fd3ff; }
.show-stage[data-r='2'] { --c: #4aa8ff; }
.show-stage[data-r='3'] { --c: #c07cff; }
.show-stage::before { content: ''; position: absolute; left: 50%; top: 170px; width: 420px; height: 420px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent), transparent 65%); z-index: -1; transition: background .5s ease; }
.show-sun { position: absolute; left: 50%; top: 170px; width: 600px; max-width: none; translate: -50% -50%; z-index: -1; opacity: .45; mix-blend-mode: screen; animation: spin 60s linear infinite; pointer-events: none; }
.show-fish { width: min(380px, 80%); height: 300px; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .5)); animation: hover 5s ease-in-out infinite; }
.show-stage.swap .show-fish { animation: popin .55s cubic-bezier(.3, 1.6, .5, 1), hover 5s ease-in-out .55s infinite; }
.show-stage.swap .show-plate, .show-stage.swap .show-stars, .show-stage.swap .show-story { animation: fadeup .5s ease both; }
@keyframes popin { from { opacity: 0; transform: scale(.5) rotate(-8deg); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } }
.show-plate { display: grid; place-items: center; width: 380px; max-width: 92%; aspect-ratio: 1086 / 362; margin-top: 18px; background: url(img/plate_s01.webp) center / contain no-repeat; }
.show-plate b { padding-bottom: 4px; font: 400 28px/1 var(--display); letter-spacing: .08em; color: #fff; -webkit-text-stroke: 4px #031a38; paint-order: stroke fill; }
.show-stars { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 30px; margin: 10px 0 0; }
.show-stars .rar { margin-right: 8px; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #061a33; background: var(--c); }
.show-stars i { width: 26px; height: 26px; background: url(img/star.webp) center / contain no-repeat; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.show-story { max-width: 26em; min-height: 3.6em; margin: 12px 0 0; font-size: 16px; line-height: 1.8; color: #cfe5f7; }
.show-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.show-list button {
  --c: #8fd3ff;
  display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 22px; cursor: pointer;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%), linear-gradient(180deg, #0f3a6e, #072448);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 55%, transparent), 0 6px 0 rgba(0, 10, 30, .5);
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s ease;
}
.show-list button[data-r='2'] { --c: #4aa8ff; }
.show-list button[data-r='3'] { --c: #c07cff; }
.show-list button[data-r='4'] { --c: #ffc93d; }
.show-list button:hover { transform: translateY(-3px); }
.show-list button.on { transform: scale(1.06); box-shadow: inset 0 0 0 3px #ffd34d, 0 0 0 3px rgba(255, 211, 77, .35), 0 0 24px rgba(255, 211, 77, .55), 0 6px 0 rgba(0, 10, 30, .5); }
.show-list img { width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }

/* ---------- 11 月更新 ---------- */
.update { padding: 140px 0 120px; }
.update::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 72% 40%, rgba(255, 190, 60, .25), transparent 70%), linear-gradient(90deg, rgba(2, 16, 36, .75), rgba(2, 16, 36, .2) 60%); }
.update-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.update-copy p, .coop-copy p { margin: 18px 0 0; max-width: 24em; font-size: 19px; line-height: 1.75; color: #fff; text-shadow: 0 1px 10px rgba(0, 10, 30, .9); }
.update-chest { position: relative; aspect-ratio: 1200 / 480; }
.chest-sun { position: absolute; left: 50%; top: 50%; width: 130%; max-width: none; translate: -50% -50%; opacity: .5; mix-blend-mode: screen; animation: spin 50s linear infinite; }
.update-chest .chest { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.update-chest .chest { display: none; }
.update-chest::after { content: ''; position: absolute; inset: 0; background: url(img/dive_banner.webp) center / cover; mask-image: radial-gradient(closest-side, #000 55%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.gem { position: absolute; z-index: 2; width: 46px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); animation: bob 4s ease-in-out infinite; }
.gem.g1 { left: 10%; top: 10%; }
.gem.g2 { right: 8%; top: 4%; width: 54px; animation-delay: -1.5s; }
.gem.g3 { right: 16%; bottom: 0; width: 40px; animation-delay: -2.5s; }
.medals { grid-column: 1 / -1; display: flex; justify-content: center; gap: clamp(16px, 4vw, 56px); margin: 56px 0 0; padding: 0; list-style: none; }
.medals li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.medal { position: relative; display: block; width: 150px; aspect-ratio: 1; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.medals li:hover .medal { transform: translateY(-6px) rotate(-3deg); }
.medal::before { content: ''; position: absolute; left: 50%; top: var(--hy, 50%); width: 64%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #3fb4ff, #0b4c9a 75%); }
.medal .m-in { position: absolute; left: 50%; top: var(--hy, 50%); width: 50%; height: 50%; translate: -50% -50%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.medal .m-in.egg { width: 40%; }
.medal .m-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.medals li:first-child .medal { --hy: 43%; }
.medals b { margin-top: 10px; font: 400 21px/1.3 var(--display); color: #fff; text-shadow: 0 2px 0 var(--ink-2), 0 0 12px rgba(0, 0, 0, .6); }
.medals small { margin-top: 4px; font-size: 13px; letter-spacing: .06em; color: #ffe39a; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.medals.small .medal { width: 108px; }
.medal.plain::before { top: 50%; width: 100%; background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .5), rgba(120, 210, 255, .25) 30%, rgba(20, 90, 170, .35) 70%), linear-gradient(180deg, #1d79c9, #0a3f7a); box-shadow: inset 0 0 0 3px rgba(190, 240, 255, .45), 0 0 0 4px rgba(255, 200, 60, .85), 0 0 0 7px rgba(3, 26, 56, .9), 0 14px 26px rgba(0, 0, 0, .45); }
.medal.plain .m-in { width: 66%; height: 66%; top: 50%; }

/* ---------- 合作 Boss 戰 ---------- */
.coop::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 16, 36, .78), rgba(2, 16, 36, .25) 55%, rgba(2, 16, 36, .1)); }
.coop-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 24px; }
.coop-art { position: relative; aspect-ratio: 5 / 3.4; }
.coop-art .foe { position: absolute; right: 0; top: 0; width: 60%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)) drop-shadow(0 0 50px rgba(120, 220, 255, .5)); animation: hover 6s ease-in-out infinite; }
.coop-art .ally { position: absolute; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .45)); animation: bob 5s ease-in-out infinite; }
.coop-art .a1 { left: 2%; top: 46%; width: 30%; }
.coop-art .a2 { left: 10%; top: 10%; width: 24%; animation-delay: -2s; }
.beam { position: absolute; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(140, 255, 210, 0), #b6ffe6 40%, #fff); box-shadow: 0 0 16px #5fffc0, 0 0 4px #fff; transform-origin: left center; animation: zap 1.2s ease-in-out infinite; }
.beam.b1 { left: 30%; top: 56%; width: 26%; rotate: -14deg; }
.beam.b2 { left: 33%; top: 22%; width: 24%; rotate: 14deg; animation-delay: -.6s; }
@keyframes zap { 0%, 100% { opacity: .25; scale: .7 1; } 40% { opacity: 1; scale: 1 1; } }

/* ---------- 下載 ---------- */
.finale { padding: 140px 0; }
.finale::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 30% 50%, rgba(255, 200, 80, .35), transparent 70%), linear-gradient(90deg, rgba(40, 18, 0, .05), rgba(20, 8, 0, .55) 70%); }
.finale-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.gift { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.gift-sun { position: absolute; inset: -10%; width: 120%; max-width: none; opacity: .8; mix-blend-mode: screen; animation: spin 40s linear infinite; }
.dragon { position: relative; width: 86%; filter: drop-shadow(0 26px 30px rgba(60, 20, 0, .55)); animation: hover 5s ease-in-out infinite; }
.finale-copy .ribbon { justify-content: flex-start; margin-bottom: 18px; }
.finale-copy > p:not(.ribbon) { margin: 18px 0 30px; font-size: 19px; color: #fff4dc; text-shadow: 0 1px 10px rgba(30, 10, 0, .9); }

/* ---------- 頁尾 ---------- */
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; font-size: 14px; color: #dcefff; background: rgba(160, 220, 255, .08); box-shadow: inset 0 0 0 1px rgba(160, 220, 255, .16); }
.social a:hover { text-decoration: none; background: rgba(160, 220, 255, .16); }
.social svg { width: 20px; height: 20px; }

/* ---------- 有聲影片視窗 ---------- */
.vbox { width: min(1100px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.vbox::backdrop { background: rgba(1, 8, 20, .88); }
.vbox-in { position: relative; }
.vbox video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.vbox-x { position: absolute; right: -14px; top: -14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: #062a55; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.vbox-x svg { width: 22px; height: 22px; }
.vbox[open] .vbox-in { animation: zoom .3s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes zoom { from { opacity: 0; transform: scale(.92); } }

/* ---------- 水深計（寬螢幕） ---------- */
.rail { display: none; }
@media (min-width: 1400px) {
  .rail { position: fixed; right: 22px; top: 50%; z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 14px; transform: translateY(-50%); }
  .rail-depth { margin: 0; display: flex; flex-direction: column; align-items: center; padding: 8px 0; width: 64px; border-radius: 14px; background: rgba(2, 16, 36, .55); box-shadow: inset 0 0 0 1px rgba(160, 220, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); line-height: 1.2; }
  .rail-depth small { font-size: 11px; color: #8fb6d6; letter-spacing: .1em; }
  .rail-depth b { font: 400 17px/1.3 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
  .rail-dots { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 4px 0; }
  .rail-dots::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, rgba(160, 230, 255, .5), rgba(160, 230, 255, .1)); }
  .rail-dots a { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; background: #1d4a78; box-shadow: 0 0 0 2px rgba(2, 16, 36, .8); transition: transform .2s ease, background .2s ease; }
  .rail-dots a:hover, .rail-dots a.on { background: #ffd34d; transform: scale(1.25); box-shadow: 0 0 0 2px rgba(2, 16, 36, .8), 0 0 12px rgba(255, 211, 77, .7); }
  .rail-dots span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); padding: 3px 10px; border-radius: 8px; white-space: nowrap; font-size: 12px; color: #fff; background: rgba(2, 16, 36, .85); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .rail-dots a:hover span { opacity: 1; }
}

/* ---------- 手機底部下載列 ---------- */
.dock { display: none; }
@media (max-width: 820px) {
  .dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; gap: 12px;
    padding: 8px 8px 8px 12px; border-radius: 20px;
    color: #fff; background: rgba(3, 22, 46, .9);
    box-shadow: inset 0 0 0 1px rgba(160, 220, 255, .2), 0 16px 40px rgba(0, 0, 0, .55);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(150%); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
  }
  .dock.show { transform: none; }
  .dock:hover { text-decoration: none; }
  .dock img { width: 44px; height: 44px; border-radius: 11px; }
  .dock span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
  .dock b { font: 400 16px/1.3 var(--display); }
  .dock small { font-size: 12px; color: #a9c9e3; }
  .dock em { font-style: normal; padding: 0 12px; }
}

/* ---------- 捲到才出現 ---------- */
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
.js .verbs .rv:nth-child(2), .js .medals .rv:nth-child(2) { transition-delay: .08s; }
.js .verbs .rv:nth-child(3), .js .medals .rv:nth-child(3) { transition-delay: .16s; }
.js .verbs .rv:nth-child(4), .js .medals .rv:nth-child(4) { transition-delay: .24s; }

/* 主視覺進場 */
.js .logo span { animation: pop .7s cubic-bezier(.3, 1.7, .5, 1) both; }
.js .logo span:nth-child(2) { animation-delay: .1s; }
.js .logo span:nth-child(3) { animation-delay: .2s; }
.js .logo span:nth-child(4) { animation-delay: .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(50px) scale(.3); } }
.js .splash .ribbon, .js .hero-cta, .js .hero-note, .js .pill-new { animation: up .7s ease both; }
.js .splash .ribbon { animation-delay: .45s; }
.js .hero-cta { animation-delay: .6s; }
.js .hero-note { animation-delay: .7s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
.js .crowd { animation: crowdin 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes crowdin { from { opacity: 0; transform: scale(1.12); } }

/* ---------- 響應式 ---------- */
@media (max-width: 1100px) {
  .update-in, .coop-in { grid-template-columns: 1fr; text-align: center; }
  .update-copy p, .coop-copy p { margin-inline: auto; }
  .update-chest { max-width: 640px; width: 100%; margin: 0 auto; }
  .coop-art { max-width: 640px; width: 100%; margin: 0 auto; }
  .medals { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .finale-in { grid-template-columns: 1fr; text-align: center; }
  .finale-copy .ribbon { justify-content: center; }
  .gift { max-width: 380px; }
}
@media (max-width: 720px) {
  .home .nav .opt { display: none; }
  .home .brand span { display: inline; }
  .home .site-header .wrap { height: 64px; }
  .gbtn-l { height: 68px; font-size: 26px; border-width: 18px; border-image-width: 18px; }
  .ribbon span { height: 52px; font-size: 21px; border-width: 0 58px; border-image-width: 0 58px; padding: 0 16px 5px; -webkit-text-stroke-width: 4px; }
  .ribbon-l span { height: 60px; font-size: 25px; border-width: 0 68px; border-image-width: 0 68px; padding: 0 18px 6px; }
  .ribbon-l { margin-bottom: 28px; }

  .splash { min-height: 640px; }
  .hero-center { padding-top: 40px; translate: 0 -4vh; }
  .logo { font-size: clamp(72px, 22vw, 100px); }
  .sun { width: 680px; }
  .hero-cta { gap: 12px; margin-top: 24px; }
  .round-play { width: 60px; height: 60px; }
  .round-play .tri { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
  .hero-note { font-size: 12px; }
  .c-eye, .c-jelly, .c-horse, .c-snail, .c-rainbow { display: none; }
  .c-thief { width: 22vw; left: 3%; top: 11%; }
  .c-alien { width: 19vw; right: 4%; top: 12%; }
  .c-clown { width: 36vw; left: -6%; top: auto; bottom: 15%; }
  .c-octo { width: 24vw; left: 26%; bottom: 3%; }
  .c-king { width: 46vw; right: -6%; top: auto; bottom: 9%; }
  .c-puff { width: 18vw; right: 40%; bottom: 13%; display: none; }

  .scene { padding: 84px 0; }
  .screen-frame { border-width: 20px; border-image-width: 20px; margin: 0 -8px; }
  .sound-btn { right: 8px; bottom: 8px; height: 36px; font-size: 13px; padding: 0 12px 0 40px; }
  .sound-btn::before { left: 4px; top: 4px; width: 28px; height: 28px; }
  .sound-btn .tri { left: 19px; }
  .verbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 36px; }
  .bubble { width: 72px; height: 72px; }
  .verbs b { font-size: 15px; }

  .sea { grid-template-columns: 1fr; align-content: center; gap: 0; padding: 70px 24px 100px; text-align: center; }
  .sea-boss { order: -1; width: min(72vw, 340px); }
  .sea h3 { font-size: 68px; -webkit-text-stroke-width: 8px; margin: 10px 0 8px; }
  .sea p { margin-inline: auto; font-size: 16px; }
  .sea-text { transform: translateY(30px); }
  .lockmark { width: 160px; height: 160px; margin-bottom: 20px; }
  .seas-shade { background: linear-gradient(180deg, var(--abyss) 0%, rgba(2, 18, 38, .2) 14%, rgba(2, 18, 38, .35) 50%, rgba(2, 18, 38, .9) 100%); }
  .sea-steps { bottom: calc(18px + env(safe-area-inset-bottom)); gap: 2px; padding: 4px; }
  .sea-steps li { padding: 7px 10px; font-size: 13px; }

  .show-stage::before, .show-sun { top: 130px; }
  .show-sun { width: 440px; }
  .show-stage::before { width: 300px; height: 300px; }
  .show-fish { height: 220px; }
  .show-plate { width: 300px; }
  .show-plate b { font-size: 23px; }
  .show-story { font-size: 15px; }
  .show-list { gap: 8px; }
  .show-list button { border-radius: 16px; }

  .update { padding: 96px 0; }
  .update-copy p, .coop-copy p { font-size: 16px; }
  .medals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; margin-top: 36px; }
  .medal { width: 124px; }
  .medals.small .medal { width: 88px; }
  .medals b { font-size: 18px; }
  .finale { padding: 96px 0 130px; }
  .finale-copy > p:not(.ribbon) { font-size: 16px; }
  .home .site-footer { padding-bottom: 110px; }
  .social { width: 100%; }
  .vbox-x { right: 6px; top: -54px; }
}

@media (prefers-reduced-motion: reduce) {
  .rays, .bubbles i, .c img, .sun, .round-play::before, .dive-hint i, .snow, .show-sun, .show-fish, .chest-sun, .gem, .coop-art .foe, .coop-art .ally, .beam, .gift-sun, .dragon, .sea.on .sea-boss { animation: none !important; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .logo span, .js .splash .ribbon, .js .hero-cta, .js .hero-note, .js .pill-new, .js .crowd { animation: none; }
  .seas-bg, .sea-text, .sea-boss { transition: none; }
}

/* 細修 */
.nw { display: inline-block; white-space: nowrap; }
.gold-title { font-size: clamp(48px, 5.8vw, 92px); }
.boss-tag::before { font-size: 12px; }
.splash .ribbon span { height: 76px; padding: 0 40px 8px; border-width: 0 86px; border-image-width: 0 86px; font-size: 32px; }
.c-king { right: 6%; }
@media (max-width: 720px) {
  .splash .ribbon span { height: 54px; font-size: 22px; border-width: 0 60px; border-image-width: 0 60px; padding: 0 14px 5px; }
  .gold-title { font-size: clamp(40px, 12vw, 60px); }
}
.ribbon span { white-space: nowrap; }
@media (max-width: 720px) {
  .splash .ribbon span { font-size: 20px; letter-spacing: .06em; padding: 0 4px 5px; }
  .ribbon-l span { font-size: 22px; letter-spacing: .06em; border-width: 0 60px; border-image-width: 0 60px; padding: 0 6px 6px; height: 56px; }
  .dive-hint { display: none; }
  .c-octo { left: 30%; bottom: 2%; width: 22vw; }
}
.splash { max-height: none; }
@media (min-width: 721px) and (max-width: 1100px) {
  .c-king { top: auto; bottom: 16%; right: 4%; width: 27vw; }
  .c-clown { top: auto; bottom: 30%; left: 3%; width: 19vw; }
  .c-octo { width: 14vw; }
  .c-rainbow { width: 13vw; }
}
