/* ============================================================
   MY-STYLES.CSS — mouthpiercings overrides
   Loaded after speaktomenice/styles.css, so everything here wins.
   ============================================================ */

/* ── Kill all colour — full greyscale ──────────────────────── */
:root {
  --ms-pink-solid: #888;
  --ms-pink: rgba(136, 136, 136, 0.28);
  --ms-teal-glow: rgba(180, 180, 180, 0.06);
  --sigh-aurora-a: rgba(80, 80, 80, 0.12);
  --sigh-aurora-b: rgba(60, 60, 60, 0.10);
  --sigh-aurora-c: rgba(50, 50, 50, 0.08);
  --sigh-orb-a: rgba(70, 70, 70, 0.09);
  --sigh-orb-b: rgba(55, 55, 55, 0.07);
  --sigh-orb-c: rgba(45, 45, 45, 0.06);
}

/* ── Top header piano gif strip (tiled, not stretched) ──────── */
.top-bar {
  position: relative;
  overflow: hidden;
}

.top-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.55)),
    url('img/piano-still-cropped.png');
  background-repeat: repeat, repeat-x;
  background-position: center, center top;
  background-size: auto, auto 100%;
  opacity: 0.78;
  pointer-events: none;
  z-index: 0;
}

.top-bar > * {
  position: relative;
  z-index: 1;
}

/* ── Audio lab player redesign ───────────────────────────────── */
.music-panel .panel-body {
  padding-top: 12px;
}

.custom-player {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(140deg, rgba(23, 23, 23, 0.92), rgba(8, 8, 8, 0.95)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 32px rgba(0, 0, 0, 0.44);
}

.custom-player::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 8% 24%, rgba(255, 255, 255, 0.1), transparent 42%);
  pointer-events: none;
}

.player-shell {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 16px;
  position: relative;
  z-index: 1;
}

.player-visual {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.35));
  display: grid;
  place-items: center;
  min-height: 180px;
}

.player-decor-grid {
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  opacity: 0.2;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 9px);
  pointer-events: none;
}

.player-vinyl-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.player-vinyl {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.22), transparent 28%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0 1px, rgba(8, 8, 8, 0.95) 1px 7px),
    #070707;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 20px rgba(0, 0, 0, 0.48);
}

.player-vinyl::before {
  content: '';
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 210, 210, 0.6), rgba(78, 78, 78, 0.8));
}

.player-vinyl-hole {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #070707;
}

.player-arm {
  position: absolute;
  width: 62px;
  height: 4px;
  border-radius: 999px;
  top: 24px;
  right: -10px;
  transform: rotate(34deg);
  transform-origin: right center;
  background: linear-gradient(90deg, rgba(225, 225, 225, 0.95), rgba(94, 94, 94, 0.95));
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.14);
}

.player-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.player-headline {
  display: grid;
  gap: 6px;
}

.player-kicker {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.track-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4f4f4;
  line-height: 1.3;
}

.player-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.player-transport {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.player-icon-btn,
.player-play {
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  color: #f4f4f4;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.24);
}

.player-play {
  min-width: 42px;
  height: 38px;
  border-radius: 11px;
}

.player-icon-btn:hover,
.player-play:hover {
  border-color: rgba(255, 255, 255, 0.44);
  transform: translateY(-1px);
}

.player-volume-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vol-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

#volume-range {
  width: 120px;
  accent-color: #ececec;
}

.player-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.player-progress-fill {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(240, 240, 240, 0.95), rgba(173, 173, 173, 0.8));
}

.player-times {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.72);
}

.player-viz {
  opacity: 0.86;
}

.player-viz span {
  background: rgba(235, 235, 235, 0.74);
  border-radius: 2px;
}

.music-playlist__heading {
  margin-top: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.playlist--tracks {
  display: grid;
  gap: 8px;
  padding: 0;
}

.playlist--tracks .playlist-track {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 8px 11px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.28));
}

.playlist--tracks .playlist-track__idx {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
}

.playlist--tracks .playlist-track__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.playlist--tracks .playlist-track:hover,
.playlist--tracks .playlist-track:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.09), rgba(0, 0, 0, 0.25));
}

.playlist--tracks .playlist-track.is-current {
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

@media (max-width: 760px) {
  .player-shell {
    grid-template-columns: 1fr;
  }

  .player-visual {
    min-height: 160px;
  }

  .player-controls {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* force greyscale on anything that leaks colour */
.lanyard-card__spotify-bar-fill,
.ms-spark,
.lanyard-live__glyph,
.gate-hint__blink {
  filter: saturate(0);
}

.lanyard-card {
  background: linear-gradient(155deg, rgba(40,40,40,0.18) 0%, rgba(8,8,8,0.92) 42%, rgba(6,6,8,0.96) 100%);
}

.lanyard-card__spotify {
  border-top-color: rgba(255,255,255,0.08);
}

.panel-title {
  background: linear-gradient(90deg, rgba(30,30,30,0.25) 0%, rgba(255,255,255,0.02) 38%);
  border-left-color: rgba(180,180,180,0.2);
}

.wishlist-card:hover,
.wishlist-card:focus-visible {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 12px 28px rgba(0,0,0,0.5);
}

.cursor-trail__dot {
  background: radial-gradient(circle at 35% 35%, rgba(240,240,240,0.45) 0%, rgba(140,140,140,0.3) 38%, rgba(80,80,80,0.12) 100%);
  box-shadow: 0 0 8px rgba(200,200,200,0.12);
}

.custom-cursor__ring {
  border-color: rgba(180,180,180,0.55);
  box-shadow: 0 0 8px rgba(180,180,180,0.12);
}

.links-list a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

.gate-scanline::after {
  background: linear-gradient(90deg, transparent 0%, rgba(180,180,180,0.06) 25%, rgba(180,180,180,0.12) 50%, rgba(180,180,180,0.06) 75%, transparent 100%);
  box-shadow: none;
}

.gate-c {
  border-color: rgba(255,255,255,0.2);
}

.gate-rule {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
}

.gate-logo__main {
  text-shadow: none;
}

.gate-logo__glitch { color: rgba(200,200,200,0.7); }
.gate-logo__glitch--b { color: rgba(150,150,150,0.5); }

/* ── New enter gate — plain black, centered wordmark ────────── */
.enter-gate {
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* hide all the old gate elements */
.gate-scanline,
.gate-corners,
.enter-glyphs,
.enter-gate-mover,
.enter-gate-inner,
.gate-logo,
.gate-rule,
.enter-jp,
.gate-hint {
  display: none !important;
}

.enter-wordmark {
  font-family: 'M PLUS 1 Code', 'Courier New', monospace;
  font-size: clamp(1.6rem, 6vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  color: #e8e8e8;
  text-transform: lowercase;
  user-select: none;
  animation: wm-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.enter-sub {
  margin: 18px 0 0;
  font-family: 'M PLUS 1 Code', monospace;
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #333;
  animation: wm-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

@keyframes wm-in {
  from { opacity: 0; filter: blur(8px); }
  to   { opacity: 1; filter: none; }
}

/* ── Custom background — subtle static noise grid, no aurora ── */
/* Override the WebGL shader background with a pure CSS one */
.sigh-bg {
  background: #020202;
}

/* Layered scanline + faint dot-grid gives a different texture to his */
.sigh-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(255,255,255,0.013) 28px,
      rgba(255,255,255,0.013) 29px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 28px,
      rgba(255,255,255,0.013) 28px,
      rgba(255,255,255,0.013) 29px
    );
  pointer-events: none;
}

/* Slow vignette pulse — gives the bg some life without colour */
.sigh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 50%, transparent 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  animation: bg-breathe 9s ease-in-out infinite alternate;
}

@keyframes bg-breathe {
  0%   { opacity: 0.7; }
  100% { opacity: 1.0; }
}

/* ── Grails panel ───────────────────────────────────────────── */
.grails-panel-body {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.grails-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: stretch;
}

.grails-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  width: 100%;
}

.grail-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 280px;
  background: #060606;
}

.grail-card__img-wrap {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.grail-card__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(6,6,6,0.9) 100%);
  pointer-events: none;
  z-index: 1;
}

.grail-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) contrast(1.06) saturate(0);
  transition: transform 0.55s ease, filter 0.3s;
}

.grail-card:hover .grail-card__img {
  transform: scale(1.04);
  filter: brightness(0.95) contrast(1.08) saturate(0);
}

.grail-card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.grail-card__num {
  font-size: 8px;
  letter-spacing: 0.32em;
  color: #333;
  text-transform: uppercase;
}

.grail-card__brand {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #555;
}

.grail-card__name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #d8d8d8;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.grail-card__note {
  font-size: 10px;
  line-height: 1.55;
  color: #666;
  letter-spacing: 0.02em;
}

.grail-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.15s, border-color 0.15s;
}

.grail-card__link:hover {
  color: #ccc;
  border-color: #666;
}

/* nav arrows */
.grails-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  color: #666;
  font-size: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.grails-arrow:hover {
  color: #ccc;
  border-color: rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.9);
}

.grails-arrow--prev { left: 10px; }
.grails-arrow--next { right: 10px; }

.grails-arrow[disabled] {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

/* dots */
.grails-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.grails-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #444;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.grails-dot.is-active {
  background: #aaa;
  border-color: #888;
  transform: scale(1.2);
}

.grails-empty {
  padding: 28px 18px;
  font-size: 10px;
  color: #444;
  letter-spacing: 0.1em;
  display: none;
}

.grails-empty:only-child,
.grails-stage:empty + .grails-empty {
  display: block;
}

/* mobile grails */
@media (max-width: 600px) {
  .grail-card {
    grid-template-columns: 1fr;
    grid-template-rows: 200px auto;
    min-height: unset;
  }

  .grail-card__img-wrap::after {
    background: linear-gradient(180deg, transparent 55%, rgba(6,6,6,0.9) 100%);
  }

  .grail-card__info {
    padding: 18px 16px 24px;
  }
}

/* ============================================================
   Myspace-style music widget override (no vinyl)
   ============================================================ */
.music-panel .panel-title {
  font-family: Verdana, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
}

.custom-player {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(0, 0, 0, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 8px);
  box-shadow: none;
}

.custom-player::before {
  display: none;
}

.player-shell {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px;
}

.player-visual,
.player-decor-grid,
.player-arm {
  display: none !important;
}

.player-side {
  gap: 8px;
}

.player-headline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
}

.player-kicker {
  font-family: Verdana, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #bcbcbc;
  display: none;
}

.track-title {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #f2f2f2;
  text-shadow: none;
}

.player-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
}

.player-transport {
  gap: 6px;
}

.player-icon-btn,
.player-play {
  min-width: 28px;
  height: 24px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 11px;
  box-shadow: none;
}

.player-play {
  min-width: 38px;
  height: 24px;
}

.player-icon-btn:hover,
.player-play:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.62);
}

.player-volume-row {
  width: 100%;
}

.vol-label {
  font-family: Verdana, Arial, sans-serif;
  letter-spacing: 0.06em;
  font-size: 9px;
}

#volume-range {
  width: 100%;
}

.player-progress-bar {
  height: 10px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.player-progress-fill {
  border-radius: 0;
  background: #fff;
}

.player-times {
  margin-top: 0;
  font-family: Verdana, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #d7d7d7;
}

.player-viz {
  display: none;
}

.music-playlist__heading {
  margin-top: 10px;
  padding: 4px 7px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
}

.playlist--tracks {
  gap: 4px;
  margin-top: 8px;
}

.playlist--tracks .playlist-track {
  grid-template-columns: 22px 1fr;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 7px;
  background: rgba(0, 0, 0, 0.45);
}

.playlist--tracks .playlist-track__idx {
  width: 16px;
  height: 16px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9px;
}

.playlist--tracks .playlist-track__label {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.playlist--tracks .playlist-track:hover,
.playlist--tracks .playlist-track:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.52);
}

.playlist--tracks .playlist-track.is-current {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.58);
}

