* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #020202;
  color: #d7e7ff;
  font-family: "Courier New", monospace;
}

.signal {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.terminal {
  position: relative;
  z-index: 10;
  padding: 24px;
}

.meta {
  margin-bottom: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  opacity: 0.55;
}

.glitch {
  position: relative;
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: 0.12em;
  color: #ffffff;
  animation: mainGlitch 4s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
}

.glitch::before {
  color: #4aa3ff;
  transform: translate(-2px, 0);
  animation: glitchBefore 2.7s infinite;
}

.glitch::after {
  color: #b9e8ff;
  transform: translate(2px, 0);
  animation: glitchAfter 3.1s infinite;
}

@keyframes mainGlitch {
  0%, 88%, 100% {
    transform: none;
    opacity: 1;
  }
  89% {
    transform: skewX(-2deg);
    opacity: 0.88;
  }
  90% {
    transform: translateX(2px);
    opacity: 1;
  }
  91% {
    transform: translateX(-2px);
  }
}

@keyframes glitchBefore {
  0%, 84%, 100% {
    transform: translate(-2px, 0);
    clip-path: inset(0 0 0 0);
  }
  85% {
    transform: translate(-7px, -2px);
    clip-path: inset(0 0 55% 0);
  }
  86% {
    transform: translate(4px, 2px);
    clip-path: inset(45% 0 10% 0);
  }
  87% {
    transform: translate(-2px, 0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes glitchAfter {
  0%, 82%, 100% {
    transform: translate(2px, 0);
    clip-path: inset(0 0 0 0);
  }
  83% {
    transform: translate(6px, 1px);
    clip-path: inset(60% 0 0 0);
  }
  84% {
    transform: translate(-5px, -1px);
    clip-path: inset(10% 0 55% 0);
  }
  85% {
    transform: translate(2px, 0);
    clip-path: inset(0 0 0 0);
  }
}

.alive {
  margin-top: 24px;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.soon {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.65;
}

.footer-code {
  margin-top: 42px;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  opacity: 0.35;
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  background-image: radial-gradient(#ffffff 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  pointer-events: none;
}

.scanline {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.018),
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.gk-hologram {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(48vw, 560px);
  max-height: 86vh;
  object-fit: contain;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: screen;
  filter:
    blur(0.25px)
    drop-shadow(0 0 18px rgba(80,160,255,0.18));
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.socials {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0.45;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.socials a {
  color: #8a8a8a;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.socials a:hover {
  color: #ffffff;
  opacity: 1;
}
/* GK LEAKS / SIGNAL EXTENSION */
.gk-leaks {
  margin: 34px auto 0;
  width: min(760px, calc(100vw - 40px));
  padding: 18px 20px;
  border: 1px solid rgba(74, 163, 255, 0.16);
  background: rgba(4, 8, 14, 0.32);
  box-shadow: 0 0 28px rgba(74, 163, 255, 0.04);
}

.leak-title {
  margin-bottom: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: #b9e8ff;
  opacity: 0.7;
}

.leak-line {
  margin-top: 6px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  opacity: 0.82;
}

.actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.signal-button {
  display: inline-block;
  border: 1px solid rgba(185, 232, 255, 0.28);
  background: rgba(74, 163, 255, 0.09);
  color: #d7e7ff;
  font-family: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  padding: 10px 16px;
  cursor: pointer;
}

.signal-button:hover,
.signal-button:focus {
  border-color: rgba(185, 232, 255, 0.68);
  background: rgba(74, 163, 255, 0.18);
}

.signal-button.ghost {
  opacity: 0.82;
}

.heat-code {
  margin-top: 14px;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  opacity: 0.24;
}

.signal-modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
}

.signal-modal.open {
  display: flex;
}

.signal-dialog {
  position: relative;
  width: min(480px, 100%);
  padding: 28px;
  border: 1px solid rgba(74, 163, 255, 0.28);
  background: rgba(2, 5, 10, 0.96);
  box-shadow: 0 0 42px rgba(74, 163, 255, 0.12);
  text-align: center;
}

.signal-dialog h2 {
  font-size: 1rem;
  letter-spacing: 0.24em;
  margin-bottom: 14px;
}

.signal-dialog p {
  margin: 12px 0;
  opacity: 0.72;
  line-height: 1.5;
}

.signal-dialog input {
  width: 100%;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(185, 232, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #d7e7ff;
  font-family: inherit;
  text-align: center;
}

.close-signal {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #d7e7ff;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.7;
}

.signal-page {
  overflow-y: auto;
  min-height: 100vh;
  height: auto;
  padding: 52px 0;
}

.channels-terminal {
  width: min(900px, calc(100vw - 32px));
}

.small-title {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

.channels-box {
  margin: 28px auto 0;
  padding: 20px;
  border: 1px solid rgba(74, 163, 255, 0.16);
  background: rgba(4, 8, 14, 0.32);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.link-grid a,
.footer-code a {
  color: #d7e7ff;
  text-decoration: none;
}

.link-grid a {
  border: 1px solid rgba(185, 232, 255, 0.18);
  padding: 12px;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.03);
}

.link-grid a:hover,
.footer-code a:hover {
  color: #ffffff;
  border-color: rgba(185, 232, 255, 0.56);
}

@media (max-width: 720px) {
  html,
  body {
    overflow-y: auto;
  }

  .signal {
    min-height: 100vh;
    height: auto;
    padding: 42px 0;
  }

  .terminal {
    padding: 18px;
  }

  .socials {
    gap: 12px;
    font-size: 0.62rem;
  }
}


.tm {
  font-size: 0.28em;
  vertical-align: super;
  margin-left: 0.08em;
  letter-spacing: 0;
  opacity: 0.72;
}

.readers-code {
  margin-top: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  opacity: 0.42;
}

.copyright-code {
  margin-top: 12px;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  line-height: 1.7;
  opacity: 0.26;
}

/* V6: fixed channel grids */
.channels-box .link-grid {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.channels-box .link-grid.two {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  max-width: 470px;
}

@media (max-width: 620px) {
  .channels-box .link-grid,
  .channels-box .link-grid.two {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}


/* V7: hard fix platform grids */
.channels-box .link-grid:not(.two) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  max-width: 720px !important;
  margin: 16px auto 0 !important;
}

.channels-box .link-grid.two {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  max-width: 700px !important;
  margin: 16px auto 0 !important;
}

.channels-box .link-grid a {
  width: auto !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 720px) {
  .channels-box .link-grid:not(.two),
  .channels-box .link-grid.two {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
}


/* V9: Novel / Companion portal */
.portal-page {
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
  padding: 42px 0;
}

.portal-terminal {
  width: min(1180px, calc(100vw - 34px));
}

.portal-grid {
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.portal-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(74, 163, 255, 0.20);
  background: linear-gradient(180deg, rgba(4, 8, 14, 0.66), rgba(4, 8, 14, 0.28));
  box-shadow: 0 0 42px rgba(74, 163, 255, 0.06);
  color: #d7e7ff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.portal-card:hover,
.portal-card:focus {
  transform: translateY(-4px);
  border-color: rgba(185, 232, 255, 0.62);
  background: linear-gradient(180deg, rgba(11, 24, 42, 0.78), rgba(4, 8, 14, 0.38));
}

.portal-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  opacity: 0.54;
}

.portal-card strong {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: 0.16em;
  color: #fff;
}

.portal-card span:not(.portal-kicker),
.portal-card em {
  line-height: 1.5;
  opacity: 0.76;
  font-style: normal;
}

.portal-card b {
  margin-top: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: #b9e8ff;
}

.text-box p {
  margin: 12px 0;
  line-height: 1.65;
  opacity: 0.82;
}

.text-box strong,
.release-note {
  color: #fff;
}

.release-note {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.track-list {
  width: min(940px, 100%);
  margin: 34px auto 0;
  display: grid;
  gap: 12px;
}

.track-card {
  display: grid;
  grid-template-columns: 62px 1fr 1.1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  color: #d7e7ff;
  text-decoration: none;
  border: 1px solid rgba(74, 163, 255, 0.16);
  background: rgba(4, 8, 14, 0.34);
}

.track-card:hover,
.track-card:focus {
  border-color: rgba(185, 232, 255, 0.56);
  background: rgba(74, 163, 255, 0.08);
}

.track-card span {
  opacity: 0.45;
  letter-spacing: 0.22em;
}

.track-card strong {
  color: #fff;
  letter-spacing: 0.08em;
  text-align: left;
}

.track-card em {
  font-style: normal;
  opacity: 0.62;
  text-align: right;
}

.link-grid a[aria-disabled="true"] {
  opacity: 0.42;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 820px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-card {
    min-height: 240px;
  }

  .track-card {
    grid-template-columns: 46px 1fr;
  }

  .track-card em {
    grid-column: 2;
    text-align: left;
  }
}


/* V14: Contact page */
.contact-page {
  overflow-y: auto;
  min-height: 100vh;
  height: auto;
  padding: 52px 0;
}

.contact-terminal {
  width: min(820px, calc(100vw - 34px));
}

.contact-intro {
  width: min(680px, 100%);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.language-switch {
  margin-top: 18px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
}

.language-switch a {
  color: #b9e8ff;
  text-decoration: none;
  border: 1px solid rgba(185, 232, 255, 0.24);
  padding: 7px 10px;
}

.language-switch a:hover {
  color: #ffffff;
  border-color: rgba(185, 232, 255, 0.68);
}

.contact-form {
  margin: 30px auto 0;
  display: grid;
  gap: 16px;
  width: min(660px, 100%);
  padding: 22px;
  border: 1px solid rgba(74, 163, 255, 0.18);
  background: rgba(4, 8, 14, 0.44);
  box-shadow: 0 0 34px rgba(74, 163, 255, 0.07);
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #a9bfd0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(185, 232, 255, 0.24);
  background: rgba(255, 255, 255, 0.045);
  color: #d7e7ff;
  font-family: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 12px 13px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.45;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(185, 232, 255, 0.72);
  box-shadow: 0 0 18px rgba(74, 163, 255, 0.12);
}

.contact-form .signal-button {
  justify-self: center;
  margin-top: 4px;
}

.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-status {
  width: min(660px, 100%);
  margin: 26px auto 0;
  padding: 13px 16px;
  border: 1px solid rgba(185, 232, 255, 0.24);
  background: rgba(4, 8, 14, 0.58);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.contact-status.success {
  border-color: rgba(126, 255, 194, 0.36);
}

.contact-status.error {
  border-color: rgba(255, 126, 126, 0.44);
}

@media (max-width: 900px) {
  .portal-terminal .portal-grid {
    grid-template-columns: 1fr !important;
    width: min(560px, calc(100% - 34px)) !important;
  }
}


/* ================================
   V16 — unified visual universe
   ================================ */
html, body {
  min-height: 100%;
  background-color: #02050b;
}
body {
  background-image:
    linear-gradient(rgba(1,5,13,.66), rgba(1,5,13,.78)),
    url('/background.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.signal {
  background: transparent !important;
}
.signal-page,
.portal-page {
  min-height: 100vh;
  height: auto;
  overflow-y: auto;
  padding: 44px 0;
}
.terminal {
  width: min(1080px, calc(100vw - 34px));
  margin: auto;
  border-radius: 18px;
  background: rgba(2, 7, 15, .28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.gk-hologram {
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 22px rgba(47,147,255,.28));
}

/* Main language portals: 2 major entries + 3 smaller utilities */
.v16-primary-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  width:min(980px,100%);
  margin:34px auto 0;
}
.v16-primary-card {
  display:grid;
  grid-template-columns:minmax(150px, 42%) 1fr;
  gap:24px;
  align-items:center;
  min-height:310px;
  padding:24px;
  color:#d7e7ff;
  text-decoration:none;
  border:1px solid rgba(165,220,255,.40);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(8,22,42,.72),rgba(3,10,22,.56));
  box-shadow:0 0 32px rgba(66,155,255,.10), inset 0 0 28px rgba(90,170,255,.04);
  transition:.22s ease;
}
.v16-primary-card:hover,
.v16-primary-card:focus {
  transform:translateY(-4px);
  border-color:rgba(215,245,255,.88);
  box-shadow:0 0 36px rgba(75,175,255,.23), inset 0 0 32px rgba(100,190,255,.08);
}
.v16-primary-card img {
  width:100%;
  max-height:260px;
  object-fit:contain;
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.42));
}
.v16-primary-copy { text-align:left; }
.v16-primary-copy .portal-kicker { display:block; margin-bottom:10px; }
.v16-primary-copy .portal-title {
  display:block; color:#fff; font-size:clamp(1.35rem,2.4vw,2rem); letter-spacing:.10em; margin-bottom:12px;
}
.v16-primary-copy .portal-desc { display:block; line-height:1.55; opacity:.80; font-style:normal; margin-bottom:18px; }
.v16-primary-copy .portal-action { display:block; color:#b9e8ff; font-size:.70rem; letter-spacing:.18em; }
.v16-secondary-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  width:min(860px,100%);
  margin:22px auto 0;
}
.v16-secondary-card {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:112px;
  padding:18px 16px;
  color:#cfe5f8;
  text-decoration:none;
  border:1px solid rgba(155,210,255,.22);
  border-radius:13px;
  background:rgba(3,12,25,.48);
  transition:.2s ease;
}
.v16-secondary-card:hover,.v16-secondary-card:focus { border-color:rgba(190,235,255,.66); background:rgba(9,28,51,.62); transform:translateY(-2px); }
.v16-secondary-card strong { color:#fff; letter-spacing:.12em; font-size:.94rem; }
.v16-secondary-card span { margin-top:7px; opacity:.65; font-size:.74rem; line-height:1.45; }

/* Novel and companion hero visuals */
.v16-content-hero {
  display:grid;
  grid-template-columns:minmax(220px,360px) minmax(0,1fr);
  gap:42px;
  align-items:center;
  width:min(940px,100%);
  margin:28px auto 0;
  text-align:left;
}
.v16-content-hero img {
  width:100%; max-height:500px; object-fit:contain;
  filter:drop-shadow(0 14px 30px rgba(0,0,0,.46));
}
.v16-content-copy { padding:12px 0; }
.v16-content-copy p { line-height:1.65; margin:12px 0; }
.v16-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:22px; }
.v16-button {
  display:inline-block; padding:12px 18px; border:1px solid rgba(145,220,255,.66); color:#b9e8ff;
  text-decoration:none; border-radius:7px; background:rgba(4,16,30,.55); letter-spacing:.08em;
}
.v16-button:hover { color:#fff; border-color:#d9f5ff; }

/* Press / social hubs */
.v16-resource-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px;
  width:min(820px,100%); margin:30px auto 0;
}
.v16-resource-card {
  display:flex; flex-direction:column; justify-content:center; min-height:150px; padding:22px;
  border:1px solid rgba(155,210,255,.27); border-radius:14px; background:rgba(3,12,25,.52);
  color:#d7e7ff; text-decoration:none; line-height:1.5;
}
.v16-resource-card:hover { border-color:rgba(210,240,255,.75); background:rgba(7,25,47,.66); }
.v16-resource-card strong { color:#fff; letter-spacing:.08em; margin-bottom:8px; }
.v16-resource-card small { opacity:.70; }

/* Companion cover on index */
.v16-companion-top {
  display:flex; justify-content:center; margin:20px auto 12px;
}
.v16-companion-top img { width:min(300px,64vw); border-radius:14px; box-shadow:0 15px 38px rgba(0,0,0,.45); }

@media(max-width:860px) {
  body { background-attachment:scroll; }
  .v16-primary-grid,.v16-secondary-grid,.v16-resource-grid { grid-template-columns:1fr; }
  .v16-primary-card { grid-template-columns:120px 1fr; min-height:220px; }
  .v16-content-hero { grid-template-columns:1fr; gap:18px; text-align:center; }
  .v16-content-hero img { max-height:390px; }
  .v16-actions { justify-content:center; }
  .v16-content-copy { text-align:center; }
}
@media(max-width:560px) {
  .signal-page,.portal-page { padding:26px 0; }
  .terminal { padding:18px; width:min(100% - 20px,1080px); }
  .v16-primary-card { grid-template-columns:1fr; text-align:center; padding:20px; }
  .v16-primary-card img { max-height:230px; }
  .v16-primary-copy { text-align:center; }
}

/* V16 scroll safety */
body { overflow-x: hidden; overflow-y: auto; }

/* ================================
   V17 — MYTOUCH / Shopify bridge
   ================================ */
.v17-home-shop {
  width:min(700px,100%); margin:24px auto 0; padding:18px 20px;
  border:1px solid rgba(165,220,255,.30); border-radius:14px;
  background:linear-gradient(180deg,rgba(8,22,42,.60),rgba(3,10,22,.50));
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.v17-home-shop strong { color:#fff; letter-spacing:.12em; }
.v17-home-shop span { line-height:1.5; opacity:.74; font-size:.78rem; }
.v17-shop-kicker { font-size:.62rem!important; letter-spacing:.22em; color:#b9e8ff; opacity:.62!important; }
.v17-shop-button { margin-top:6px; }
.v16-secondary-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.v17-shop-card { border-color:rgba(113,220,255,.42); background:rgba(6,27,47,.62); }
.v17-shop-card strong { color:#b9e8ff; }

.v17-shop-section {
  width:min(940px,100%); margin:46px auto 12px; padding:28px;
  border:1px solid rgba(155,210,255,.26); border-radius:18px;
  background:rgba(3,12,25,.58); text-align:center;
  box-shadow:0 0 34px rgba(74,163,255,.07);
}
.v17-shop-section h2 { margin:4px 0 10px; color:#fff; letter-spacing:.14em; font-size:1.35rem; }
.v17-shop-intro { max-width:760px; margin:0 auto 24px; line-height:1.65; opacity:.80; }
.v17-product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.v17-shop-loading,.v17-shop-fallback { grid-column:1/-1; padding:18px; opacity:.72; }
.v17-shop-fallback a { color:#b9e8ff; }
.v17-product-card {
  display:grid; grid-template-columns:150px 1fr; gap:18px; align-items:center; padding:18px;
  border:1px solid rgba(155,210,255,.24); border-radius:14px; background:rgba(1,8,18,.55); text-align:left;
}
.v17-product-image { display:block; min-height:150px; }
.v17-product-image img { width:100%; max-height:210px; object-fit:contain; filter:drop-shadow(0 10px 22px rgba(0,0,0,.38)); }
.v17-product-copy h3 { color:#fff; font-size:1rem; letter-spacing:.06em; line-height:1.35; }
.v17-price { margin:9px 0 12px; color:#b9e8ff; font-weight:bold; }
.v17-variants { display:flex; flex-direction:column; gap:8px; }
.v17-variant {
  display:block; padding:9px 11px; border:1px solid rgba(145,220,255,.52); border-radius:7px;
  color:#d9f5ff; background:rgba(4,16,30,.62); text-decoration:none; font-size:.70rem; line-height:1.35;
}
.v17-variant:hover { border-color:#d9f5ff; background:rgba(15,43,69,.72); }
.v17-variant.disabled { opacity:.42; cursor:not-allowed; }
@media(max-width:860px) {
  .v16-secondary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v17-product-grid { grid-template-columns:1fr; }
}
@media(max-width:560px) {
  .v16-secondary-grid { grid-template-columns:1fr; }
  .v17-shop-section { padding:18px 14px; }
  .v17-product-card { grid-template-columns:95px 1fr; gap:12px; padding:13px; }
  .v17-product-image { min-height:100px; }
}

/* V17.1 — vertical scroll fix */
html,
body {
  min-height: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

body > .signal {
  min-height: 100vh;
  height: auto;
}
