


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


:root {
  --mono: 'IBM Plex Mono', monospace;
  --mono-cap: cap-height 0.698;
  --display-cap: cap-height 0.56;
  --bg:          #000;
  --fg:          #fff;
  --fg-dim:      #8f8f8f;
  --fg-mid:      #b8b8b8;
  --border:      #222;
  --accent:      #DCFF00;
  --accent-dim:  rgba(220, 255, 0, 0.15);
  --accent-2:     #B36BFF;
  --accent-2-dim: rgba(179, 107, 255, 0.18);
  --signal:       #DCFF00;
  --signal-dim:   rgba(220, 255, 0, 0.15);
  --echo:         #B36BFF;
  --echo-dim:     rgba(179, 107, 255, 0.18);
  --grid-line:   rgba(255, 255, 255, 0.05);
  --panel-bg:    rgba(0, 0, 0, 0.92);
  --reader-you:  #9ADFFF;
  --reader-you-dim: rgba(154, 223, 255, 0.18);
  --kroj-piksel: 'VT323', monospace;
  --kroj-czytelny: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --kroj-proba-cap: cap-height 0.62;

  --read-font: var(--kroj-piksel);
  --read-cap: var(--display-cap);
  --read-size: clamp(22px, 2.8vw, 27px);
  --read-height: 1.72;
  --read-tracking: 0.5px;
  --read-weight: 400;
  --read-block: 1.15em;
}

body[data-font='clear'] {
  --read-font: var(--kroj-czytelny);
  --read-cap: none;
  --read-size: clamp(17px, 2.1vw, 19.5px);
  --read-height: 1.95;
  --read-tracking: 0.1px;
  --read-weight: 450;
  --read-block: 1.4em;
}

html {
  background-color: var(--bg);
  color-scheme: dark;
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #05010a;
}

*::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
  background: #05010a;
}

*::-webkit-scrollbar-thumb {
  min-height: 42px;
  background: var(--accent);
  border: 3px solid #05010a;
}

*::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--accent) 78%, #fff);
}

html:has(body.station-module-violet),
html:has(body.station-module-violet-preview) {
  scrollbar-color: #B36BFF #05010a;
}

html:has(body.station-module-violet)::-webkit-scrollbar-thumb,
html:has(body.station-module-violet-preview)::-webkit-scrollbar-thumb {
  background: #B36BFF;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size-adjust: var(--mono-cap);
}

p,
li,
figcaption,
blockquote,
.entry-body,
.gate-desc,
.gate-fact,
.gate-size-sample {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

h1, h2, h3,
.entry-title,
.log-title {
  text-wrap: balance;
}



#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}

#hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

#title {
  font-family: 'VT323', monospace;
  font-size-adjust: var(--display-cap);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: normal;
  color: var(--fg);
  margin: 0;
  letter-spacing: 1px;
}

#whale-wrap {
  position: relative;
  width: clamp(300px, 62vw, 920px);
  aspect-ratio: 2 / 1;
}

#whale {
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 1.2s ease;
}

#surface-water {
  position: relative;
  z-index: 1;
  align-self: stretch;
  width: auto;
  margin-inline: -20px;
  height: 62px;
  overflow: hidden;
}

.fala {
  position: relative;
  width: 100%;
  height: 100%;
}

.fala pre {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: transparent;
  font: 12px/13px var(--mono);
  font-size-adjust: var(--mono-cap);
  white-space: pre;
  user-select: none;
}

.fala-nosna { color: var(--fg-dim); }

.fala-zlom {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-dim);
}

.fala-echo {
  color: var(--accent-2);
  text-shadow: 0 0 9px var(--accent-2-dim);
}


.wave-row {
  font-family: var(--mono);
  font-size-adjust: var(--mono-cap);
  font-size: 12px;
  color: var(--fg-dim);
  white-space: nowrap;
  display: flex;
  width: max-content;
  will-change: transform;
}

.wave-segment {
  display: block;
  flex: 0 0 auto;
}

#wave-1 { animation: scrollWave 18s linear infinite; opacity: 0.5; }
#wave-2 { animation: scrollWave 12s linear infinite reverse; opacity: 0.35; }
#wave-3 { animation: scrollWave 8s linear infinite; opacity: 0.2; }

@keyframes scrollWave {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

#scan-line { display: none; }

#scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  pointer-events: none;
  animation: scanDown 8s ease-in-out infinite;
  z-index: 10;
}

@keyframes scanDown {
  0%   { top: 0;    opacity: 0; }
  5%   { opacity: 0.6; }
  80%  { opacity: 0.2; }
  95%  { top: 100%; opacity: 0; }
  100% { top: 100%; opacity: 0; }
}

#dot-matrix {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, var(--accent) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.25;
  pointer-events: none;
}

.dr-key {
  color: var(--accent);
  opacity: 1;
  min-width: 52px;
}

.dr-val {
  color: var(--fg-mid);
}

.dr-blink {
  animation: blink 1.2s step-end infinite;
  color: var(--accent);
  opacity: 1;
}


#reticle {
  position: absolute;
  inset: 19% 9%;
  pointer-events: none;
}

.rc {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0.75;
}

.rc.tl { top: -10px;  left: -10px;  border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.rc.tr { top: -10px;  right: -10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.rc.bl { bottom: -10px; left: -10px;  border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.rc.br { bottom: -10px; right: -10px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }


#quote {
  font-family: 'VT323', monospace;
  font-size-adjust: var(--display-cap);
  font-size: max(16px, calc(clamp(18px, 2vw, 22px) * var(--reader-scale, 1)));
  color: var(--fg-mid);
  position: absolute;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  text-align: center;
  pointer-events: none;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

#quote.quote-wskazowka {
  white-space: normal;
  width: min(44ch, calc(100vw - 40px));
  text-align: center;
}

#quote .quote-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

#quote .quote-link:hover,
#quote .quote-link:focus-visible {
  background: var(--accent-dim);
  text-decoration-thickness: 2px;
}

#quote.visible {
  animation: quoteAppear 8s ease-in-out forwards;
}

body.station-module-violet,
body.station-module-violet-preview {
  --bg:          #050207;
  --panel-bg:    rgba(5, 2, 7, 0.94);
  --grid-line:   rgba(179, 107, 255, 0.08);
  --accent:      #B36BFF;
  --accent-dim:  rgba(179, 107, 255, 0.18);
  --accent-2:     #DCFF00;
  --accent-2-dim: rgba(220, 255, 0, 0.15);
}

body[data-motion='0'] #quote.visible {
  animation: none;
  opacity: 1;
  transform: translateX(-50%);
}

@media (prefers-reduced-motion: reduce) {
  #quote.visible {
    animation: none;
    opacity: 1;
    transform: translateX(-50%);
  }
}

@keyframes quoteAppear {
  0%   { opacity: 0; transform: translateX(-50%) translateY(6px); }
  15%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}


#void {
  margin-top: 6vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

#void-raster {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .68;
  filter: saturate(.78) brightness(.95) contrast(1.08);
}

#void::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, .86) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, .92) 8%,
      rgba(0, 0, 0, .55) 17%,
      transparent 26%,
      transparent 86%,
      rgba(0, 0, 0, .9) 100%);
}

#void-ocean,
#void-text { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  #void-raster { opacity: .62; }
}

@media (max-width: 640px) {
  #void-raster {
    opacity: .78;
    filter: saturate(.8) brightness(1.08) contrast(1.1);
  }
}

#void-ocean {
  position: absolute;
  bottom: 0;
  width: 100vw;
  overflow: hidden;
  line-height: 1.3;
}

#void-wave-1 { animation: scrollWave 18s linear infinite; opacity: 0.2; }
#void-wave-2 { animation: scrollWave 12s linear infinite reverse; opacity: 0.12; }
#void-wave-3 { animation: scrollWave 8s linear infinite; opacity: 0.07; }

#void-text {
  font-family: 'VT323', monospace;
  font-size-adjust: var(--display-cap);
  font-size: 120px;
  color: var(--fg-dim);
  opacity: 0.08;
  user-select: none;
  animation: none;
}



#cutter-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

#cutter-ocean {
  position: absolute;
  bottom: 0;
  width: 100vw;
  overflow: hidden;
  line-height: 1.3;
}

#cutter-wave-1 { animation: scrollWave 18s linear infinite; opacity: 0.4; }
#cutter-wave-2 { animation: scrollWave 12s linear infinite reverse; opacity: 0.3; }
#cutter-wave-3 { animation: scrollWave 8s linear infinite; opacity: 0.2; }

#cutter-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  transform: translateX(-110vw);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#cutter-wrap.visible {
  transform: translateX(0);
}

#cutter-wrap:has(#kontener-canvas) {
  gap: 40px;
}

#cutter {
  --kolumny: 32;

  font-family: var(--mono);
  font-size-adjust: var(--mono-cap);

  font-size: clamp(11px, 1.3vw, 13px);
  line-height: 1.4;
  color: var(--fg);
  white-space: pre;

  text-align: left;
}

#cutter.ma-swiatla {
  color: var(--fg-dim);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

#cutter.ma-swiatla {
  position: relative;
}

#cutter.ma-swiatla::before,
#cutter.ma-swiatla::after {
  content: '';
  position: absolute;
  top: var(--swiatlo-gora, 62%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: navLight 3.4s steps(2, end) infinite;
}

#cutter.ma-swiatla::before {
  left: var(--swiatlo-lewe, 9%);
  background: #ff315f;
  box-shadow: 0 0 10px #ff315f;
}

#cutter.ma-swiatla::after {
  right: var(--swiatlo-prawe, 9%);
  background: #31ff86;
  box-shadow: 0 0 10px #31ff86;
  animation-delay: 1.7s;
}

@keyframes navLight {
  0%, 44% { opacity: 1; }
  45%, 100% { opacity: 0.18; }
}

body[data-motion='0'] #cutter.ma-swiatla::before,
body[data-motion='0'] #cutter.ma-swiatla::after {
  animation: none;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #cutter.ma-swiatla::before,
  #cutter.ma-swiatla::after { animation: none; opacity: 1; }
}

#kontener-canvas {
  display: block;
  width: min(980px, 90vw);
  height: min(440px, 52vh);
}

#cutter-label {
  font-family: var(--mono);
  font-size-adjust: var(--mono-cap);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  line-height: 2;
}



#profile {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent;
}

#profile-ocean {
  position: absolute;
  bottom: 0;
  width: 100vw;
  overflow: hidden;
  line-height: 1.3;
}

#profile-wave-1 { animation: scrollWave 18s linear infinite; opacity: 0.15; }
#profile-wave-2 { animation: scrollWave 12s linear infinite reverse; opacity: 0.1; }
#profile-wave-3 { animation: scrollWave 8s linear infinite; opacity: 0.06; }

#profile-card {
  width: min(620px, 90vw);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size-adjust: var(--mono-cap);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

#profile-card.visible {
  opacity: 1;
  transform: translateY(0);
}

#profile-header {
  background: var(--border);
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
}

.profile-header-line {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  column-gap: 10px;
  min-width: 0;
}

.profile-header-line .dr-key { min-width: 0; }
.profile-header-line .dr-val { min-width: 0; }
@media (max-width: 540px) {
  .profile-header-line { grid-template-columns: 1fr; row-gap: 6px; }
  .profile-header-line .dr-val { white-space: nowrap; }
}

.profile-sep { color: var(--fg-dim); margin: 0 8px; }

#profile-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#profile-bio {
  font-family: 'VT323', monospace;
  font-size-adjust: var(--display-cap);
  font-size: clamp(20px, 3.2vw, 26px);
  color: var(--fg-mid);
  line-height: 1.55;
  letter-spacing: 1px;
}

.profile-divider {
  height: 1px;
  background: var(--border);
}

#profile-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

#profile-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

#profile-channels {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.profile-link {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(220, 255, 0, .2);
  background: rgba(2, 3, 3, .76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 3px 3px 0 rgba(0, 0, 0, .48);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
  width: 100%;
}

.profile-link:hover {
  color: var(--accent);
  border-color: rgba(220, 255, 0, .62);
  background: rgba(14, 16, 7, .86);
}

.profile-link-arrow {
  color: var(--accent);
  opacity: 0.6;
  font-size: 16px;
  transition: opacity 0.15s, transform 0.15s;
}

.profile-link:hover .profile-link-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.profile-link-handle {
  margin-left: 10px;
  color: var(--fg-mid);
  letter-spacing: 1px;
  text-transform: none;
}

.profile-link--outbound:hover .profile-link-handle { color: var(--fg); }

#profile-mail { white-space: nowrap; }

#profile-mail .profile-link-handle { letter-spacing: 0.7px; }

#profile-mail:hover,
#profile-mail:focus-visible {
  color: var(--fg);
  outline: none;
}

#profile-mail:hover .dr-key,
#profile-mail:focus-visible .dr-key { color: var(--accent); }

#profile-footnote {
  font-family: 'VT323', monospace;
  font-size-adjust: var(--display-cap);
  font-size: clamp(16px, 2vw, 19px);
  color: var(--accent);
  letter-spacing: 4px;
  opacity: 0;
  transition: opacity 1.4s ease 0.5s;
  text-align: center;
}

#profile-footnote.visible { opacity: 0.25; }



@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}


@media (max-width: 640px) {
  #log-label,
  #profile-header { letter-spacing: 1.2px; }

  #profile-contact { grid-template-columns: 1fr; gap: 20px; }

  #surface-water { height: 52px; }

  .fala pre { font: 10px/11px var(--mono); }

  #hero-main { gap: 14px; text-align: center; }

  #title { font-size: 36px; }

  #whale-wrap { width: 92vw; aspect-ratio: 16 / 9; }
  #reticle { inset: 17% 5%; }

  #quote {
    white-space: normal;
    width: 90vw;
    text-align: center;
    top: calc(50% + 168px);
    bottom: auto;
    font-size: max(18px, calc(21px * var(--reader-scale, 1)));
    line-height: 1.25;
  }


  #cutter {
    font-size: clamp(11px, calc(88vw / (var(--kolumny, 32) * 0.62)), 18px);
  }

  #kontener-canvas {
    width: calc(100vw - 32px);
    height: min(400px, 52dvh);
  }

  #cabin-screen { font-size: 11px; }
}


html.surface-init body { visibility: hidden; }

#surface {
  --deep: 46vh;
  position: relative;
  min-height: calc(100vh + var(--deep));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 46px 20px 0;
  background: var(--bg);
  overflow: hidden;
}

#surface-air { margin-bottom: auto; }

#surface-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#surface-air {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#surface-clouds {
  position: relative;
  width: min(1100px, 94vw);
  height: 92px;
}

.cloud {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size-adjust: var(--mono-cap);
  font-size: 13px;
  letter-spacing: 4px;
  line-height: 1;
  color: var(--fg-dim);
  white-space: nowrap;
  animation: cloudDrift 26s ease-in-out infinite alternate;
}

.cloud span:nth-child(2) { padding-left: 1.6em; }
.cloud span:nth-child(3) { padding-left: 0.6em; }

.cloud--a { left: 2%;  top: 4px;  opacity: 0.34; animation-duration: 31s; }
.cloud--b { left: 30%; top: 44px; opacity: 0.22; animation-duration: 24s; animation-direction: alternate-reverse; }
.cloud--c { left: 58%; top: 0;    opacity: 0.30; animation-duration: 38s; }
.cloud--d { left: 82%; top: 52px; opacity: 0.18; animation-duration: 28s; animation-direction: alternate-reverse; }

@keyframes cloudDrift {
  from { transform: translateX(-26px); }
  to   { transform: translateX(26px); }
}

#surface-line {
  font-family: 'VT323', monospace;
  font-size-adjust: var(--display-cap);
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--fg-mid);
  letter-spacing: 0.5px;
}

#surface-scene {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-bottom: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#island { position: relative; z-index: 2; margin-bottom: -0.55em; }

#island {
  font-family: var(--mono);
  font-size-adjust: var(--mono-cap);
  font-size: clamp(8px, 1.45vw, 16px);
  line-height: 1.1;
  color: var(--fg-mid);
  white-space: pre;
  margin: 0;
  text-shadow: 0 0 22px rgba(255, 122, 26, 0.10);
}

}

#surface-up {
  font-family: var(--mono);
  font-size-adjust: var(--mono-cap);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg-dim);
}

#surface-deep {
  width: 100%;
  height: var(--deep);
  pointer-events: none;
}

@media (max-width: 640px) {
  #surface { --deep: 34vh; }
}

#surface-up {
  position: absolute;
  z-index: 6;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .cloud,
}

body[data-motion='0'] .cloud,

@media (max-width: 640px) {
  #surface { padding-top: 70px; }
  #surface-air { gap: 16px; }
}

@media (max-width: 640px) {
  #hero #surface-up {
    top: 76px;
    bottom: auto;
  }
}

#prad,
#prad-gora {
  position: absolute;
  display: block;
  pointer-events: none;
}

#prad { inset: 0; width: 100%; height: 100%; }

#prad-gora {
  left: -20px;
  bottom: 0;
  width: calc(100% + 40px);
  height: var(--deep);
}

.direction-cable {
  position: absolute;
  z-index: 6;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  color: var(--fg-dim);
  pointer-events: none;
}

.direction-cable::before,
.direction-cable::after { content: none; }

#surface-up.direction-cable {
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}

@media (hover: hover) and (pointer: fine) {
  html,
  body,
  body * { cursor: url('../assets/cursor-receiver.svg') 14 14, crosshair !important; }

  a,
  button,
  input[type='button'],
  input[type='range'],
  input[type='submit'],
  label[for],
  [data-klikalne] { cursor: url('../assets/cursor-receiver-active.svg') 14 14, pointer !important; }

  input[type='text'],
  input[type='email'],
  textarea,
  [contenteditable='true'] { cursor: text !important; }
}

html.hint-up-seen #surface-up { opacity: 0; visibility: hidden; }

#depth-down.direction-cable {
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}

html.hint-down-seen #depth-down { opacity: 0; visibility: hidden; }

@media (max-width: 640px) {
  #hero #surface-up.direction-cable { top: 72px; }
  #depth-down.direction-cable { bottom: 34px; }
}

.whale-brak {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--mono);
  font-size-adjust: var(--mono-cap);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--fg-dim);
}

#miejsce-wlaz-section {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: block;
  overflow: hidden;
  background: #000;
}

#miejsce-wlaz-section[hidden] { display: none; }

#miejsce-wlaz-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  filter: saturate(.82) contrast(1.06);
}

#miejsce-wlaz-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 46%, transparent 58%, rgba(0, 0, 0, .74) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, .9) 6%,
      rgba(0, 0, 0, .46) 15%,
      transparent 24%,
      transparent 79%,
      rgba(0, 0, 0, .42) 93%,
      rgba(0, 0, 0, .88) 100%);
}

#miejsce-wlaz-enter {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

#miejsce-wlaz-enter:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -12px;
}

#miejsce-wlaz-section.is-entering {
  position: fixed;
  inset: 0;
  z-index: 9997;
  min-height: 0;
  padding: 0;
}

#miejsce-wlaz-section.is-entering::after { display: none; }
#miejsce-wlaz-section.is-entering #miejsce-wlaz-enter:focus-visible { outline: none; }

@media (max-width: 640px) {
  #miejsce-wlaz-section { min-height: 82vh; }

  #miejsce-wlaz-canvas { width: 152%; left: -26%; }
}
.station-privacy-link.profile-link--privacy { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; line-height: 24px; }
.station-privacy-link.profile-link--privacy > span { display: block; }
.profile-link--privacy .privacy-eye { display: block; align-self: center; }
.privacy-eye {
  width: 30px;
  height: 24px;
  flex-shrink: 0;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.privacy-eye-open { opacity: 0; transform: scaleY(0); transform-origin: center; transition: transform 180ms ease, opacity 180ms ease; }
.profile-link--privacy:is(:hover, :focus-visible) .privacy-eye-open { opacity: 1; transform: scaleY(1); }
.profile-link--privacy:is(:hover, :focus-visible) .privacy-eye-lid { opacity: 0; }
@media (hover: none) {
  .privacy-eye-open { opacity: 1; transform: none; }
  .privacy-eye-lid { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .privacy-eye-open { transition: none; } }
