:root {
  --gold: #d8c28a;
  --pale: #f5ead0;
  --blue-black: #03070b;
  --soft-glow: rgba(255, 230, 180, 0.75);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #020407;
  color: var(--pale);
  font-family: "Times New Roman", "Cinzel", serif;
  overflow-x: hidden;
}

body {
  letter-spacing: 0.14em;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.fv {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(22px, 4vw, 46px);
}

.bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at center 34%, rgba(255, 226, 160, 0.08), transparent 33%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.54)),
    url("assets/images/background.webp") center center / cover no-repeat;
  transform: scale(1.02);
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 32%, rgba(0, 0, 0, 0.42) 88%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.sphere {
  position: absolute;
  z-index: 1;
  top: clamp(40px, 4.5vw, 68px);
  left: 50%;
  width: min(45vw, 610px);
  min-width: 330px;
  transform: translateX(-50%);
  opacity: 0.92;
  filter: drop-shadow(0 0 34px rgba(218, 179, 98, 0.24));
  animation: sphereFloat 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sphereFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(-0.4deg);
  }
  50% {
    transform: translateX(-50%) translateY(-18px) rotate(0.6deg);
  }
}

.site-header,
.left-status,
.sound-control,
.right-terminal-links,
.hero-copy {
  position: relative;
  z-index: 8;
}

.site-header {
  position: absolute;
  top: clamp(24px, 3vw, 42px);
  left: clamp(24px, 4vw, 54px);
}

.logo {
  width: clamp(170px, 20vw, 320px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 231, 185, 0.34));
}

.left-status {
  position: absolute;
  top: clamp(126px, 13vw, 180px);
  left: clamp(28px, 4vw, 60px);
  width: 210px;
  color: rgba(247, 229, 196, 0.86);
  font-size: 13px;
}

.status-block {
  margin-bottom: 34px;
}

.label {
  margin: 0 0 12px;
  font-size: 12px;
  color: rgba(238, 217, 176, 0.68);
}

.connected {
  margin: 0;
}

.connected span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #fff4cf;
  box-shadow: 0 0 14px var(--soft-glow);
}

.circle-symbol {
  width: 118px;
  display: block;
  margin: 12px 0 10px;
  opacity: 0.88;
  animation: circleBreath 10s ease-in-out infinite;
  transform-origin: center;
}

@keyframes circleBreath {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.08) rotate(180deg);
    opacity: 1;
  }
}

.depth {
  margin: 0;
  font-size: 25px;
  color: var(--pale);
  transition:
    opacity 1.8s ease,
    filter 1.8s ease,
    text-shadow 2s ease;

  text-shadow:
    0 0 10px rgba(255, 220, 150, 0.18),
    0 0 22px rgba(255, 220, 150, 0.08);
}

.stable,
.location p:not(.label) {
  margin: 8px 0 0;
  font-size: 13px;
}

.sound-control {
  position: absolute;
  top: clamp(110px, 12vw, 160px);
  right: clamp(28px, 5vw, 80px);
  width: 150px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pale);
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  letter-spacing: 0.16em;
  z-index: 40;

  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    top 0.7s ease,
    right 0.7s ease,
    background 0.7s ease,
    border 0.7s ease,
    box-shadow 0.7s ease;
}

.sound-control.is-floating {
  position: fixed;
  top: 24px;
  right: 24px;
  transform: scale(0.82);
  padding: 14px 16px;
  border-radius: 999px;

  background:
    linear-gradient(
      to bottom,
      rgba(8, 8, 10, 0.72),
      rgba(8, 8, 10, 0.38)
    );

  border: 1px solid rgba(255, 220, 160, 0.16);

  backdrop-filter: blur(12px);

  box-shadow:
    0 0 22px rgba(255, 220, 160, 0.08),
    inset 0 0 18px rgba(255, 220, 160, 0.04);

  opacity: 0.94;
}

.sound-label {
  margin: 0 0 16px;
  font-size: 12px;
  color: rgba(238, 217, 176, 0.76);
}

.sound-control img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.sound-control:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(255, 230, 180, 0.32));
}

.sound-state {
  margin: 0;
  font-size: 18px;
  color: var(--pale);
}

.right-terminal-links {
  position: absolute;
  top: clamp(318px, 27vw, 390px);
  right: clamp(24px, 5vw, 76px);
  z-index: 39;
  width: 174px;
  text-align: center;
}

.fragment-library-link {
  display: block;
  padding: 14px 12px 12px;
  border: 2px solid rgba(239, 216, 169, 0.5);
  background:
    linear-gradient(
      to bottom,
      rgba(10, 9, 8, 0.38),
      rgba(10, 9, 8, 0.12)
    );
  color: rgba(247, 229, 196, 0.82);
  text-decoration: none;
  box-shadow:
    inset 0 0 22px rgba(255, 220, 160, 0.035),
    0 0 18px rgba(255, 220, 160, 0.045);
  transition:
    border-color 0.55s ease,
    color 0.55s ease,
    box-shadow 0.55s ease,
    transform 0.55s ease;
    border-radius: 12px;
}

.fragment-library-link + .fragment-library-link {
  margin-top: 10px;
}

.fragment-library-link::before {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin: 0 auto 12px;
  background: linear-gradient(to right, transparent, rgba(239, 216, 169, 0.72), transparent);
}

.fragment-library-link span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.fragment-library-link small {
  display: block;
  margin-top: 8px;
  color: rgba(238, 217, 176, 0.48);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.fragment-library-link:hover,
.fragment-library-link:focus-visible {
  border-color: rgba(239, 216, 169, 0.48);
  color: rgba(255, 242, 213, 0.96);
  box-shadow:
    inset 0 0 26px rgba(255, 220, 160, 0.055),
    0 0 24px rgba(255, 220, 160, 0.12);
  transform: translateY(-2px);
}

.world-map-link {
  border-color: rgba(239, 216, 169, 0.32);
}

.hero-copy {
  width: min(900px, 72vw);
  margin: 0 auto;
  padding-top: clamp(250px, 30vh, 360px);
  text-align: center;
}

.pre-title {
  margin: 0 0 14px;
  font-size: clamp(13px, 1.3vw, 18px);
  color: rgba(246, 230, 200, 0.72);
}

.genesis-title {
  margin: 0;
  line-height: 1.15;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 94px);
  letter-spacing: 0.12em;
  color: transparent;
  background:
    linear-gradient(
      110deg,
      rgba(255, 246, 220, 0.7) 0%,
      rgba(255, 246, 220, 1) 22%,
      rgba(255, 211, 128, 0.82) 38%,
      rgba(255, 246, 220, 1) 54%,
      rgba(255, 246, 220, 0.72) 100%
    );
  background-size: 260% auto;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 18px rgba(255, 238, 205, 0.36),
    0 0 46px rgba(255, 209, 126, 0.25);
  animation: titleGlow 5.8s ease-in-out infinite;
}

.genesis-title span {
  display: block;
}

@keyframes titleGlow {
  0% {
    background-position: 0% center;
    filter: drop-shadow(0 0 8px rgba(255, 233, 190, 0.28));
  }
  50% {
    background-position: 100% center;
    filter: drop-shadow(0 0 20px rgba(255, 233, 190, 0.48));
  }
  100% {
    background-position: 0% center;
    filter: drop-shadow(0 0 8px rgba(255, 233, 190, 0.28));
  }
}

.bar {
  width: min(360px, 58vw);
  height: auto;
  margin: 18px auto 18px;
  display: block;
  opacity: 0.78;
}

.mantra {
  margin: 0 0 20px;
  font-size: clamp(13px, 1.4vw, 19px);
  color: rgba(247, 229, 196, 0.88);
}

.equalizer {
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  opacity: 0.86;
}

.equalizer::before,
.equalizer::after {
  content: "";
  width: min(190px, 16vw);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(239, 216, 169, 0.75));
}

.equalizer::after {
  background: linear-gradient(to left, transparent, rgba(239, 216, 169, 0.75));
}

.equalizer span {
  width: 2px;
  height: 8px;
  background: rgba(246, 226, 184, 0.9);
  box-shadow: 0 0 8px rgba(255, 223, 160, 0.45);
  transform-origin: center;
  animation: wave 2.4s ease-in-out infinite;
}

.equalizer span:nth-child(2n) { animation-duration: 2.9s; }
.equalizer span:nth-child(3n) { animation-duration: 1.9s; }
.equalizer span:nth-child(4n) { animation-delay: -0.7s; }
.equalizer span:nth-child(5n) { animation-delay: -1.2s; }

@keyframes wave {
  0%, 100% { height: 5px; opacity: 0.45; }
  35% { height: 25px; opacity: 1; }
  65% { height: 13px; opacity: 0.72; }
}

/* tablet */
@media (max-width: 1024px) {
  .left-status {
    transform: scale(0.88);
    transform-origin: top left;
  }

  .sound-control {
    transform: scale(0.88);
    transform-origin: top right;
  }

  .hero-copy {
    width: min(760px, 82vw);
    padding-top: 300px;
  }
}

/* smartphone */
@media (max-width: 720px) {
  .fv {
    min-height: 100svh;
    padding: 20px;
  }

  .bg-layer {
    background-position: center top;
  }

  .sphere {
    top: 90px;
    width: 118vw;
    min-width: 0;
    opacity: 0.78;
  }

  .site-header {
    top: 24px;
    left: 22px;
  }

  .logo {
    width: 190px;
  }

  .left-status {
    top: 128px;
    left: 22px;
    width: 150px;
    transform: scale(0.72);
  }

  .status-block {
    margin-bottom: 26px;
  }

  .circle-symbol {
    width: 96px;
  }

  .sound-control {
    top: 112px;
    right: 18px;
    width: 104px;
    transform: scale(0.74);
  }

  .right-terminal-links {
    top: 258px;
    right: 16px;
    width: 132px;
  }

  .fragment-library-link {
    padding: 11px 9px 10px;
  }

  .fragment-library-link::before {
    width: 42px;
    margin-bottom: 9px;
  }

  .fragment-library-link span {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .fragment-library-link small {
    font-size: 8px;
    line-height: 1.45;
  }

  .sound-control.is-floating {
    position: fixed;
    top: 12px;
    right: 10px;
    transform: scale(0.62);
    padding: 10px 12px;
  }

  .sound-control img {
    width: 92px;
    height: 92px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 335px;
  }

  .pre-title {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .genesis-title {
    font-size: clamp(33px, 10vw, 48px);
    letter-spacing: 0.08em;
  }

  .bar {
    width: 260px;
    margin-top: 14px;
    margin-bottom: 14px;
  }

  .mantra {
    font-size: 12px;
    letter-spacing: 0.13em;
  }

  .equalizer::before,
  .equalizer::after {
    width: 58px;
  }
}

@media (max-width: 420px) {
  .logo {
    width: 165px;
  }

  .left-status {
    opacity: 0.82;
    transform: scale(0.62);
  }

  .sound-control {
    transform: scale(0.66);
    right: 8px;
  }

  .right-terminal-links {
    right: 10px;
    width: 118px;
  }

  .hero-copy {
    padding-top: 350px;
  }

  .genesis-title {
    font-size: 36px;
  }
}

.bg-extra-layer {
  position: absolute;
  inset: 0;
  z-index: 2;

  background-image: url("assets/images/bg_layer.webp");
  background-repeat: no-repeat;
  background-position: center top;

  /* 横幅基準 */
  background-size: 100% auto;

  opacity: 0.58;

  transform:
    translate3d(0, var(--parallax-y, 0px), 0);

  will-change: transform;
  pointer-events: none;
  mix-blend-mode: screen;
}

.sphere {
  z-index: 3;
  animation: sphereFloatWide 12s ease-in-out infinite;
}

@keyframes sphereFloatWide {
  0%, 100% {
    transform: translateX(-50%) translateY(0) translateX(0) rotate(-0.8deg);
  }
  25% {
    transform: translateX(calc(-50% - 18px)) translateY(-18px) rotate(0.4deg);
  }
  50% {
    transform: translateX(calc(-50% + 14px)) translateY(-34px) rotate(0.9deg);
  }
  75% {
    transform: translateX(calc(-50% + 24px)) translateY(-10px) rotate(-0.2deg);
  }
}

.left-status {
  padding-left: 26px;
}

.side-bar {
  position: absolute;
  left: -12px;
  top: -8px;
  width: 12px;
  height: min(440px, 62vh);
  object-fit: contain;
  opacity: 0.72;
  filter: drop-shadow(0 0 8px rgba(255, 217, 150, 0.28));
  pointer-events: none;
}


@media (max-width: 720px) {

  .bg-extra-layer {

    background-size: 160% auto;

    background-position: center top;

    opacity: 0.42;
  }

}


.echoes-section {
  position: relative;
  z-index: 8;
  padding: 30px 20px 80px;
  background: transparent;
}

.echoes-inner {
  width: min(980px, 92vw);
  margin: 0 auto;
}

.echoes-title {
  margin: 0 0 24px;
  text-align: center;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.28em;
  color: rgba(246, 229, 196, 0.9);
  text-shadow: 0 0 16px rgba(255, 220, 150, 0.24);
}

.echo-list {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.echo-item {
  position: relative;
  width: min(860px, 92vw);
  min-height: 106px;
  padding: 22px 72px 20px 156px;
  border: 1px solid rgba(210, 170, 96, 0.34);
  background-image:
    linear-gradient(to right, rgba(0,0,0,.72), rgba(0,0,0,.22), rgba(0,0,0,.72)),
    var(--echo-bg);
  background-size: cover;
  background-position: center;
  color: rgba(250, 235, 207, 0.95);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 0 22px rgba(0, 0, 0, 0.65),
    inset 0 0 32px rgba(255, 200, 110, 0.08);
  transform: translateX(var(--offset-x)) rotate(var(--rotate));
  margin-top: var(--overlap);
  animation: echoFloat var(--float-speed) ease-in-out infinite;
}

.echo-item:nth-child(1) {
  --offset-x: -10px;
  --rotate: 0.8deg;
  --overlap: 0;
  --float-speed: 7.8s;
}

.echo-item:nth-child(2) {
  --offset-x: -58px;
  --rotate: -0.6deg;
  --overlap: -8px;
  --float-speed: 8.4s;
}

.echo-item:nth-child(3) {
  --offset-x: 22px;
  --rotate: 0.35deg;
  --overlap: -10px;
  --float-speed: 9s;
}

.echo-item:nth-child(4) {
  --offset-x: -34px;
  --rotate: -0.45deg;
  --overlap: -8px;
  --float-speed: 8.1s;
}

.echo-item:nth-child(5) {
  --offset-x: 34px;
  --rotate: 0.55deg;
  --overlap: -8px;
  --float-speed: 9.4s;
}

@keyframes echoFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

.echo-item::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 50%;
  width: 78px;
  height: 78px;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,240,200,.9) 0 2px, transparent 3px),
    repeating-radial-gradient(circle, rgba(230,200,140,.32) 0 1px, transparent 1px 14px);
  opacity: 0.68;
  filter: drop-shadow(0 0 8px rgba(255, 220, 140, 0.35));
}

.echo-item::after {
  content: "+";
  position: absolute;
  right: 34px;
  top: 36px;
  font-size: 28px;
  color: rgba(236, 205, 145, 0.82);
  transition: transform .35s ease, opacity .35s ease;
}

.echo-item.is-open::after {
  content: "−";
  transform: rotate(180deg);
}

.echo-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.echo-name {
  margin: 0;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.echo-location {
  margin: 7px 0 0;
  font-size: clamp(13px, 1.3vw, 17px);
  letter-spacing: 0.06em;
}

.echo-level {
  font-size: 13px;
  letter-spacing: 0.12em;
  padding-top: 4px;
}

.echo-level.confirmed {
  color: #8fdcff;
}

.echo-level.fragmented {
  color: #e39c38;
}

.echo-level.restricted {
  color: #d79aff;
}

.echo-level.unknown {
  color: rgba(230, 220, 195, 0.58);
}

.echo-status {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(245, 225, 190, 0.78);
}

.echo-body {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
  color: rgba(246, 229, 200, 0.82);
  line-height: 1.85;
  letter-spacing: 0.055em;
  font-size: 14px;
  transition:
    max-height .75s ease,
    opacity .55s ease,
    margin-top .55s ease;
}

.echo-item.is-open .echo-body {
  max-height: 180px;
  margin-top: 18px;
  opacity: 1;
}

.echo-item.noise {
  animation:
    echoFloat var(--float-speed) ease-in-out infinite,
    echoNoiseStrong 1.85s cubic-bezier(0.12, 0.82, 0.18, 1);
}

@keyframes echoNoise {
  0% {
    filter: brightness(1);
    clip-path: inset(0 0 0 0);
  }
  20% {
    filter: brightness(1.45) contrast(1.2);
    clip-path: inset(12% 0 8% 0);
  }
  40% {
    transform: translateX(var(--offset-x)) rotate(var(--rotate)) skewX(-1deg);
  }
  60% {
    filter: brightness(.75);
    clip-path: inset(4% 0 22% 0);
  }
  100% {
    filter: brightness(1);
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 720px) {
  .echoes-section {
    padding: 20px 14px 70px;
  }

  .echo-item {
    width: 94vw;
    min-height: 118px;
    padding: 20px 50px 18px 96px;
  }

  .echo-item:nth-child(n) {
    --offset-x: 0px;
  }

  .echo-item::before {
    left: 22px;
    width: 52px;
    height: 52px;
  }

  .echo-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .echo-level {
    font-size: 12px;
  }

  .echo-item::after {
    right: 22px;
    top: 34px;
  }

  .echo-body {
    font-size: 13px;
  }

  .echo-item.is-open .echo-body {
    max-height: 220px;
  }
}



.echo-location,
.echo-status,
.echo-level {
  transition:
    opacity 1.15s ease,
    max-height 1.15s ease,
    margin 1.15s ease,
    transform 1.15s ease,
    filter 1.15s ease;
}

.echo-location,
.echo-status {
  max-height: 40px;
  overflow: hidden;
}

.echo-item.is-open .echo-location,
.echo-item.is-open .echo-status {
  opacity: 0;
  max-height: 0;
  margin: 0;
  transform: translateY(-8px);
  filter: blur(4px);
  pointer-events: none;
}

.echo-item.is-open .echo-level {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(4px);
  pointer-events: none;
}

.echo-body {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
  color: rgba(246, 229, 200, 0.82);
  line-height: 1.9;
  letter-spacing: 0.055em;
  font-size: 14px;
  filter: blur(8px);
  transform: translateY(10px);
  transition:
    max-height 1.65s cubic-bezier(0.16, 0.84, 0.28, 1),
    opacity 1.45s ease,
    margin-top 1.45s ease,
    filter 1.65s ease,
    transform 1.65s ease;
}

.echo-item.is-open .echo-body {
  max-height: 220px;
  margin-top: 16px;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.echo-item.noise {
  animation:
    echoFloat var(--float-speed) ease-in-out infinite,
    echoNoiseStrong 0.9s steps(4, end);
}

.echo-item.noise::before {
  animation: symbolNoise 1.7s ease;
}

.echo-item .echo-glitch {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 242, 200, 0.00) 0px,
      rgba(255, 242, 200, 0.00) 4px,
      rgba(255, 242, 200, 0.18) 5px,
      rgba(255, 242, 200, 0.00) 7px
    ),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 224, 150, 0.26) 48%,
      transparent 100%
    );
  mix-blend-mode: screen;
}

.echo-item.noise .echo-glitch {
  animation: glitchLayer 1.8s ease forwards;
}

@keyframes echoNoiseStrong {
  0% {
    filter: brightness(1) contrast(1);
    clip-path: inset(0 0 0 0);
  }

  12% {
    filter: brightness(1.9) contrast(1.45) saturate(0.7);
    clip-path: inset(8% 0 72% 0);
    transform: translateX(calc(var(--offset-x) - 8px)) rotate(var(--rotate)) skewX(-2deg);
  }

  25% {
    filter: brightness(0.65) contrast(1.8);
    clip-path: inset(70% 0 6% 0);
    transform: translateX(calc(var(--offset-x) + 10px)) rotate(var(--rotate)) skewX(2deg);
  }

  38% {
    filter: brightness(2.1) contrast(1.2);
    clip-path: inset(31% 0 42% 0);
    transform: translateX(calc(var(--offset-x) - 4px)) rotate(calc(var(--rotate) - 0.8deg));
  }

  55% {
    filter: brightness(0.5) contrast(1.6);
    clip-path: inset(0 0 0 0);
  }

  72% {
    filter: brightness(1.6) contrast(1.35);
    transform: translateX(calc(var(--offset-x) + 4px)) rotate(calc(var(--rotate) + 0.5deg));
  }

  100% {
    filter: brightness(1) contrast(1);
    clip-path: inset(0 0 0 0);
    transform: translateX(var(--offset-x)) rotate(var(--rotate));
  }
}

@keyframes glitchLayer {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  15% {
    opacity: 0.9;
    transform: translateX(-12px);
  }

  28% {
    opacity: 0.35;
    transform: translateX(16px);
  }

  43% {
    opacity: 0.75;
    transform: translateX(-6px);
  }

  66% {
    opacity: 0.24;
    transform: translateX(10px);
  }

  100% {
    opacity: 0;
    transform: translateX(0);
  }
}

@keyframes symbolNoise {
  0%, 100% {
    opacity: 0.68;
    filter: drop-shadow(0 0 8px rgba(255, 220, 140, 0.35));
  }

  25% {
    opacity: 1;
    filter:
      brightness(1.8)
      drop-shadow(0 0 18px rgba(255, 220, 140, 0.75));
  }

  55% {
    opacity: 0.25;
    filter:
      brightness(0.6)
      drop-shadow(0 0 6px rgba(255, 220, 140, 0.2));
  }
}

@media (max-width: 720px) {
  .echo-item.is-open .echo-body {
    max-height: 260px;
  }
}


.observation-footer {
  position: relative;
  z-index: 8;
  padding: 34px 20px 46px;
  background: transparent;
  text-align: center;
  color: rgba(246, 229, 196, 0.9);
}

.station-label {
  margin: 0 0 10px;
  font-size: clamp(14px, 1.4vw, 20px);
  letter-spacing: 0.34em;
  text-shadow: 0 0 14px rgba(255, 220, 150, 0.18);
}

.station-button {
  display: inline-block;
  width: min(520px, 86vw);
  animation: stationFloat 7.6s ease-in-out infinite;
  filter:
    drop-shadow(0 0 18px rgba(255, 220, 150, 0.16))
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55));
  transition:
    transform 0.55s ease,
    filter 0.55s ease,
    opacity 0.55s ease;
}

.station-button img {
  display: block;
  width: 100%;
  height: auto;
}

.station-button:hover {
  transform: translateY(-4px) scale(1.015);
  filter:
    drop-shadow(0 0 26px rgba(255, 225, 170, 0.28))
    drop-shadow(0 14px 30px rgba(0, 0, 0, 0.65));
}

.resonance-link {
  margin: 14px 0 0;
  font-size: clamp(13px, 1.2vw, 18px);
  letter-spacing: 0.32em;
  color: rgba(238, 217, 176, 0.86);
}

.footer-bottom {
  position: relative;
  width: min(1180px, 94vw);
  margin: 42px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  text-align: left;
}

.terminal-id,
.copyright {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.18em;
  color: rgba(238, 217, 176, 0.72);
}

.copyright {
  text-align: right;
}

@keyframes stationFloat {
  0%, 100% {
    transform: translateY(0) rotate(-0.15deg);
  }

  50% {
    transform: translateY(-8px) rotate(0.15deg);
  }
}

@media (max-width: 720px) {
  .observation-footer {
    padding: 28px 16px 40px;
  }

  .station-label {
    font-size: 13px;
    letter-spacing: 0.24em;
  }

  .station-button {
    width: min(420px, 92vw);
  }

  .resonance-link {
    font-size: 12px;
    letter-spacing: 0.2em;
  }

  .footer-bottom {
    margin-top: 34px;
    display: block;
    text-align: center;
  }

  .terminal-id,
  .copyright {
    font-size: 11px;
    text-align: center;
  }

  .copyright {
    margin-top: 18px;
  }
}


.echo-item.is-paused {
  animation-play-state: paused;
}

.echo-item.is-locked {
  cursor: not-allowed;
  border-color: rgba(120, 95, 145, 0.42);
  filter: saturate(0.72) brightness(0.82);
}

.echo-item.is-deep-archive {
  border-color: rgba(175, 125, 210, 0.44);
  box-shadow:
    0 0 28px rgba(70, 30, 110, 0.45),
    inset 0 0 42px rgba(130, 70, 180, 0.10);
}

.echo-item.access-denied {
  animation:
    echoFloat var(--float-speed) ease-in-out infinite,
    deepArchivePulse 2.1s ease;
}

.echo-item.access-denied .echo-body {
  opacity: 0.35;
  filter: blur(5px);
}

@keyframes deepArchivePulse {
  0%, 100% {
    filter: brightness(0.82) saturate(0.72);
  }

  28% {
    filter: brightness(0.42) saturate(0.35) blur(1px);
  }

  48% {
    filter: brightness(1.25) saturate(0.95);
  }

  70% {
    filter: brightness(0.55) saturate(0.55);
  }
}


.echo-item.is-sealed {
  pointer-events: none;
  cursor: not-allowed;
  filter: brightness(0.72) saturate(0.55);
}

.echo-item.is-sealed::after {
  content: "×";
  opacity: 0.45;
}



/* =========================
   Deep Archive sealed display
========================= */

.echo-item.is-sealed .echo-location,
.echo-item.is-sealed .echo-status,
.echo-item.is-sealed .echo-level {
  opacity: 1 !important;
  max-height: none !important;
  margin: 7px 0 0 !important;
  transform: none !important;
  filter: none !important;
  color: rgba(255, 92, 82, 0.92) !important;
  text-shadow:
    0 0 8px rgba(255, 60, 48, 0.45),
    0 0 18px rgba(120, 0, 0, 0.35);
}

.echo-item.is-sealed .echo-body {
  opacity: 1 !important;
  filter: none !important;
  color: rgba(255, 92, 82, 0.9);
  text-shadow:
    0 0 8px rgba(255, 60, 48, 0.45),
    0 0 18px rgba(120, 0, 0, 0.35);
}

.echo-item.is-sealed {
  filter: brightness(0.86) saturate(0.75);
}

.echo-item.is-sealed .echo-name {
  color: rgba(255, 120, 105, 0.95);
  text-shadow:
    0 0 10px rgba(255, 70, 55, 0.42),
    0 0 22px rgba(120, 0, 0, 0.32);
}
