/* Scoped module styles. Values follow gentv.me/assets/style.css. */
.gentv-aquarium {
  --aq-bg: #111214;
  --aq-surface: #1b1d21;
  --aq-ink: #f5f5f7;
  --aq-muted: #a2a6af;
  --aq-blue: #aac7ff;
  --aq-line: #ffffff16;
  box-sizing: border-box;
  width: min(1200px, calc(100% - 112px));
  margin-inline: auto;
  padding-block: 120px;
  color: var(--aq-ink);
  font-family: "Helvetica Neue", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.gentv-aquarium *, .gentv-aquarium *::before, .gentv-aquarium *::after { box-sizing: border-box; }
.gentv-aquarium [hidden] { display: none !important; }
.gentv-aquarium h2, .gentv-aquarium h3, .gentv-aquarium p { margin: 0; }
.gentv-aquarium__heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 80px; margin-bottom: 56px; }
.gentv-aquarium .gentv-aquarium__eyebrow { color: var(--aq-muted); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 25px; }
.gentv-aquarium h2 { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.24; letter-spacing: -1.8px; font-weight: 550; }
.gentv-aquarium .gentv-aquarium__intro { flex: 0 1 375px; color: var(--aq-muted); font-size: 15px; line-height: 1.9; margin-bottom: 4px; }
.gentv-aquarium__screen { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 1px solid #ffffff1c; border-radius: 20px; background: var(--aq-surface); color: inherit; appearance: none; cursor: default; box-shadow: 0 35px 70px #05070a35; }
.gentv-aquarium__screen:focus-visible { outline: 2px solid var(--aq-blue); outline-offset: 6px; }
.gentv-aquarium__video, .gentv-aquarium__fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.gentv-aquarium__video::-webkit-media-controls { display: none !important; }
.gentv-aquarium__video::-webkit-media-controls-enclosure { display: none !important; }
.gentv-aquarium__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin-top: 60px; }
.gentv-aquarium__feature, .gentv-aquarium__setting { min-width: 0; }
.gentv-aquarium__feature-image { height: 240px; overflow: hidden; border-radius: 18px; border: 1px solid #ffffff12; margin-bottom: 26px; background: #191e25; }
.gentv-aquarium__feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gentv-aquarium__label { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.gentv-aquarium__label > svg { width: 23px; height: 23px; flex: 0 0 23px; margin-top: 2px; stroke: var(--aq-blue); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gentv-aquarium h3 { font-size: 22px; font-weight: 550; line-height: 1.3; letter-spacing: -.6px; }
.gentv-aquarium__feature > p, .gentv-aquarium__setting > p { color: var(--aq-muted); font-size: 14px; line-height: 1.8; max-width: 470px; }
.gentv-aquarium__settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 48px; }
.gentv-aquarium__settings h3 { font-size: 20px; }
.gentv-aquarium__settings .gentv-aquarium__label { gap: 10px; }
.gentv-aquarium__settings .gentv-aquarium__label > svg { width: 21px; height: 21px; flex-basis: 21px; margin-top: 2px; }
.gentv-aquarium__setting-visual { position: relative; height: 190px; overflow: hidden; border-radius: 18px; border: 1px solid #ffffff12; margin-bottom: 26px; background: #191e25; isolation: isolate; }
.gentv-aquarium__setting-visual::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#14202cb3, #101820e6), url("pond-detail.webp") center / cover; }
.gentv-aquarium__fish-school { position: absolute; inset: 10px 22px; }
.gentv-aquarium__fish-school img { position: absolute; left: var(--x); top: var(--y); width: var(--size); height: auto; transform: translate(-20%, -30%) rotate(var(--angle)); filter: drop-shadow(0 6px 5px #0005); }
.gentv-aquarium__speed-fish { position: absolute; width: 155px; height: auto; top: 78px; left: 45%; transform: rotate(173deg); filter: drop-shadow(0 8px 6px #0005); }
.gentv-aquarium__trails { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #aac7ff9c; stroke-width: 1.2; stroke-linecap: round; }
.gentv-aquarium__quality-frame { position: absolute; width: 178px; height: 108px; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; border: 1px solid #aac7ff70; border-radius: 10px; background: #152332b3; }
.gentv-aquarium__quality-frame::before { content: ""; position: absolute; inset: -9px 9px 9px -9px; z-index: -1; border: 1px solid #aac7ff28; border-radius: 10px; }
.gentv-aquarium__quality-frame > span { font-size: 34px; font-weight: 400; letter-spacing: -1px; }
.gentv-aquarium__quality-frame > small { position: absolute; bottom: -13px; right: -17px; padding: 5px 11px; border: 1px solid #aac7ff4d; border-radius: 7px; background: #243d56; font-size: 12px; line-height: 1.4; color: #d9e7ff; }
@media (max-width: 1100px) {
  .gentv-aquarium { width: calc(100% - 64px); padding-block: 90px; }
  .gentv-aquarium__heading { gap: 40px; }
  .gentv-aquarium .gentv-aquarium__intro { flex-basis: 310px; }
  .gentv-aquarium__features, .gentv-aquarium__settings { gap: 28px; }
  .gentv-aquarium__settings h3 { font-size: 18px; }
  .gentv-aquarium__setting-visual { height: 170px; }
  .gentv-aquarium__fish-school { inset-inline: 6px; transform: scale(.84); }
  .gentv-aquarium__speed-fish { width: 128px; top: 72px; left: 40%; }
}
@media (max-width: 767px) {
  .gentv-aquarium { width: calc(100% - 40px); padding-block: 70px; }
  .gentv-aquarium__heading { display: block; margin-bottom: 34px; }
  .gentv-aquarium .gentv-aquarium__eyebrow { font-size: 9px; letter-spacing: 1.7px; margin-bottom: 20px; }
  .gentv-aquarium h2 { font-size: 36px; letter-spacing: -1.2px; }
  .gentv-aquarium .gentv-aquarium__intro { margin-top: 25px; margin-bottom: 0; max-width: 380px; font-size: 13px; }
  .gentv-aquarium__screen { border-radius: 13px; box-shadow: none; }
  .gentv-aquarium__features { grid-template-columns: 1fr; gap: 36px; margin-top: 35px; }
  .gentv-aquarium__feature-image { height: 190px; border-radius: 13px; margin-bottom: 20px; }
  .gentv-aquarium h3 { font-size: 20px; }
  .gentv-aquarium__label { gap: 10px; margin-bottom: 9px; }
  .gentv-aquarium__feature > p, .gentv-aquarium__setting > p { font-size: 12px; }
  .gentv-aquarium__settings { grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
  .gentv-aquarium__settings h3 { font-size: 20px; }
  .gentv-aquarium__setting-visual { height: 190px; border-radius: 13px; margin-bottom: 20px; }
  .gentv-aquarium__fish-school { inset: 10px 22px; transform: none; }
  .gentv-aquarium__speed-fish { width: 155px; top: 78px; left: 45%; }
}

/* Source-site revision: light field, TV bezel and four-column feature row. */
.gentv-aquarium { scroll-margin-top: 110px; }
.gentv-aquarium__stage { position: relative; isolation: isolate; padding: 0 54px; margin: 0 -54px; }
.gentv-aquarium__stage::before { content: ""; position: absolute; z-index: -1; inset: -55px -120px -65px; background: radial-gradient(ellipse at 19% 53%, #269ad45c 0%, #17698829 36%, transparent 66%), radial-gradient(ellipse at 82% 52%, #3c9bba52 0%, #244d6929 39%, transparent 68%); filter: blur(38px); pointer-events: none; }
.gentv-aquarium__screen { padding: 9px; border: 1px solid #78889255; border-radius: 25px; background: linear-gradient(140deg,#363b3c,#17191b 38%,#303638); box-shadow: 0 26px 80px #0006, inset 0 1px 0 #ffffff20; }
.gentv-aquarium__video,.gentv-aquarium__fallback { border-radius: 15px; aspect-ratio: 16/9; }
.gentv-aquarium__cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; margin-top: 36px; }
.gentv-aquarium__card { min-width: 0; }
.gentv-aquarium__card-art,.gentv-aquarium__cards .gentv-aquarium__setting-visual { position: relative; height: 230px; border: 1px solid #ffffff12; border-radius: 18px; margin-bottom: 25px; overflow: hidden; background: #191e25; isolation: isolate; }
.gentv-aquarium__card-art::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 50% 65%,#34627440,transparent 75%); }
.gentv-aquarium__feeding-art img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.gentv-aquarium__fishing-art img { position: absolute; height: 206px; width: auto; bottom: 5px; right: 8px; filter: drop-shadow(0 14px 12px #0004); }
.gentv-aquarium__fishing-line { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #c0a98b; stroke-width: 1.4; stroke-linecap: round; }
.gentv-aquarium__fishing-line path:nth-child(2) { stroke: #b5dce8a0; stroke-width: .7; }
.gentv-aquarium__fishing-line ellipse { stroke: #a4d3e24d; stroke-width: 1; }
.gentv-aquarium__fishing-line path:last-child { stroke: #e5a171; stroke-width: 3; }
.gentv-aquarium__cards .gentv-aquarium__label { gap: 9px; min-height: 26px; margin-bottom: 12px; }
.gentv-aquarium__cards h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.6px; }
.gentv-aquarium__cards .gentv-aquarium__label>svg { width: 20px; height: 20px; flex-basis: 20px; }
.gentv-aquarium__card>p { color: var(--aq-muted); font-size: 14px; line-height: 1.8; margin: 0; }
.gentv-aquarium__cards .gentv-aquarium__fish-school { inset: 25px 0; transform: scale(.88); }
.gentv-aquarium__cards .gentv-aquarium__speed-fish { width: 139px; top: 106px; left: 40%; }
.gentv-aquarium__cards .gentv-aquarium__setting-visual::before { opacity: .38; }
@media(max-width:1100px) { .gentv-aquarium__cards { gap: 20px; } .gentv-aquarium__cards h3 { font-size: 18px; } .gentv-aquarium__cards .gentv-aquarium__label { min-height: 47px; } .gentv-aquarium__stage { margin-inline: -24px; padding: 0 24px; } }
@media(max-width:900px) { .gentv-aquarium__cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 24px; } .gentv-aquarium__cards .gentv-aquarium__label { min-height: 0; } }
@media(max-width:767px) { .gentv-aquarium__stage { padding: 0; margin: 0; } .gentv-aquarium__stage::before { inset: -25px -20px; filter: blur(22px); } .gentv-aquarium__screen { padding: 5px; border-radius: 14px; } .gentv-aquarium__video,.gentv-aquarium__fallback { border-radius: 8px; } .gentv-aquarium__cards { margin-top: 20px; gap: 30px 16px; } .gentv-aquarium__card-art,.gentv-aquarium__cards .gentv-aquarium__setting-visual { height: 180px; margin-bottom: 18px; border-radius: 13px; } .gentv-aquarium__fishing-art img { height: 160px; right: 1px; } .gentv-aquarium__cards h3 { font-size: 18px; } .gentv-aquarium__card>p { font-size: 12px; } .gentv-aquarium__cards .gentv-aquarium__label>svg { display: none; } .gentv-aquarium__cards .gentv-aquarium__fish-school { transform: scale(.66); inset: 14px -15px; } .gentv-aquarium__cards .gentv-aquarium__speed-fish { width: 110px; left: 30%; top: 86px; } }
@media(max-width:380px) { .gentv-aquarium__cards { grid-template-columns: 1fr; } .gentv-aquarium__cards .gentv-aquarium__label>svg { display: block; } .gentv-aquarium__fishing-art img { right: 28px; } }

.gentv-aquarium__fishing-art img { transform: scaleX(-1); }

/* Match incumbent heading contrast and keep spacing independent of the light field. */
.gentv-aquarium h2 span { color: var(--aq-muted); }
.gentv-aquarium__heading { margin-bottom: 56px; }
.gentv-aquarium__screen { aspect-ratio: auto; }
.gentv-aquarium__viewport { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 15px; background: #161b20; }
.gentv-aquarium__viewport .gentv-aquarium__video { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.gentv-aquarium__viewport .gentv-aquarium__fallback { position: relative; width: 100%; height: 100%; }
.gentv-aquarium__fishing-art img { inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; transform: none; }
@media(max-width:767px) { .gentv-aquarium__heading { margin-bottom: 34px; } .gentv-aquarium__viewport { border-radius: 8px; } .gentv-aquarium__cards { margin-top: 26px; } }

/* Keep the fishing line legible without altering the character artwork. */
.gentv-aquarium__line-overlay { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); fill: none; stroke: #c8dde0; stroke-width: 8; stroke-linecap: round; opacity: .9; pointer-events: none; }
/* Shorten the room below the download actions while retaining its original scale. */
.hero { height: auto; min-height: 0; aspect-ratio: auto; padding-bottom: 190px; }
.hero .hero-photo { bottom: auto; height: max(720px, 56.3136vw); }
.hero + .gentv-aquarium { padding-top: 18px; }
@media(max-width:767px) {
 .hero { padding-bottom: 72px; }
 .hero .hero-photo { height: 100%; }
 .hero + .gentv-aquarium { padding-top: 56px; }
}

/* Match the existing GenTV HOME showcase inset. */
.gentv-aquarium__screen { padding: 16px; border-radius: 20px; }
.gentv-aquarium__viewport { border-radius: 8px; }
/* Move the room and live screen together so their registration stays exact. */
@media(min-width:768px) {
 .hero { --hero-canvas: min(100vw, 1600px); --hero-growth: clamp(0px, calc((100vw - 1440px) * .744), 297.6px); --hero-top-space: clamp(0px, calc((100svh - 900px) * .25), 100px); }
 .hero .hero-photo { height: max(720px, calc(var(--hero-canvas) * .563136)); }
 .hero .hero-artwork { position: absolute; top: var(--hero-top-space); right: calc((100vw - var(--hero-canvas)) / 2 - var(--hero-canvas) * .0398 + clamp(0px, (100vw - 1440px) * .25, 40px) - var(--hero-growth) * .5691203); width: calc(var(--hero-canvas) * .93 + var(--hero-growth)); height: auto; aspect-ratio: 1671 / 941; min-width: 0; transform: none; }
 .hero h1, .hero-lede { max-width: min(600px,42vw); }
 .hero-actions { max-width: min(600px,46vw); flex-wrap: wrap; }
}
@media(max-width:767px) {
 .hero .hero-photo { inset: 0 0 auto; width: 100%; height: 56.3136vw; }
 .hero .hero-artwork { position: absolute; top: 0; left: auto; right: 0; width: 100%; height: auto; min-width: 0; translate: none; transform: none; }
 .hero-content { padding-top: max(235px,50vw); }
 .gentv-aquarium__screen { padding: 8px; border-radius: 13px; }
 .gentv-aquarium__viewport { border-radius: 5px; }
}
#hero-aquarium { opacity: 1; transition: opacity 2.2s cubic-bezier(.4,0,.2,1); pointer-events: none; }
.hero-aquarium-media { position: relative; width: 100%; height: 100%; overflow: hidden; background: #18211e; }
.hero-aquarium-media > img, .hero-aquarium-media > video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; transform: none; }
.hero-aquarium-media > video::-webkit-media-controls { display: none !important; }
@media(prefers-reduced-motion:reduce) { #hero-aquarium { transition: none; } }

@media(min-width:768px) {
 .gentv-aquarium__stage::before { inset-inline: max(-120px, calc((100% - 100vw) / 2)); }
}

/* Align the complete copy group to the resized TV's top edge. */
@media(min-width:768px) {
 .hero-content { padding-top: calc(var(--hero-canvas) * .08126 + var(--hero-growth) * .087373 + var(--hero-top-space)); }
 .hero { min-height: max(calc(100svh - 100px), calc(var(--hero-canvas) * .33338 + var(--hero-growth) * .358468 + var(--hero-top-space) + 64px)); }
}

/* Preview: expanded room keeps the existing live screen registration. */
.hero { background: #000; }
.hero .hero-artwork { overflow: visible; }
.hero-shade { background: linear-gradient(180deg,#111214,transparent 96px), linear-gradient(0deg,#111214 0%,#11121400 12%), linear-gradient(90deg,#000e 0%,#000b 24%,#0004 40%,transparent 55%); }
@media(max-width:767px) { .hero-shade { background: linear-gradient(180deg,#111214,transparent 70px),linear-gradient(0deg,#111214 0%,#11121400 72%),linear-gradient(90deg,#0009,transparent 65%); } }

/* Keep room details visible beneath the copy and below the television. */
.hero-room-expanded { filter: brightness(1.18); }

@media(max-width:767px) { .hero { min-height: calc(100svh - 89px); } }
