/* ============================================================
   ASMR SOUND VAULT  -  homemade Y2K / GeoCities stylesheet
   external-only (no inline styles) so a strict CSP stays happy
   ============================================================ */

:root {
  --ink: #f7f0ff;
  --panel: #2a0d4e;
  --panel2: #3d1470;
  --hot: #ff36c9;
  --hot2: #00e6ff;
  --lime: #b6ff00;
  --bevel-lt: #a86fff;
  --bevel-dk: #150726;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", cursive, sans-serif;
  color: var(--ink);
  background: #120124 url("/img/tile.png") repeat;
  background-attachment: fixed;
  font-size: 15px;
  line-height: 1.5;
}

a { color: var(--hot2); }
a:visited { color: #c58bff; }
a:hover { color: #fff; background: var(--hot); text-decoration: none; }
a.dead { color: #8a79a8; cursor: default; }
a.dead:hover { background: none; color: #8a79a8; }

.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.page { width: 940px; margin: 10px auto 90px; }

/* ---- top banner ---- */
.topbar {
  width: 100%;
  background: linear-gradient(180deg, var(--hot), #7a0f8f);
  border: 3px outset var(--bevel-lt);
}
.logo {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 12px;
  color: #fff;
  text-shadow: 2px 2px 0 #000, 0 0 8px var(--hot2);
}

.marq {
  display: block;
  width: 100%;
  background: #000;
  color: var(--lime);
  border: 2px inset var(--bevel-lt);
  padding: 4px 0;
  margin: 6px 0;
  font-size: 13px;
}

/* ---- layout ---- */
.layout { width: 100%; }
.layout > tbody > tr { vertical-align: top; }
.side { width: 190px; padding-right: 10px; }
.main { }

/* ---- beveled boxes ---- */
.box {
  background: var(--panel);
  border: 3px outset var(--bevel-lt);
  margin-bottom: 12px;
}
.box-t {
  background: linear-gradient(180deg, var(--panel2), #23093f);
  border-bottom: 2px groove var(--bevel-lt);
  padding: 4px 8px;
  font-weight: bold;
  color: var(--hot2);
  text-shadow: 1px 1px 0 #000;
}
.box-b { padding: 10px; }
.center { text-align: center; }
.dim { color: #b79fe0; font-size: 13px; }

/* ---- blog ---- */
.post-meta { color: var(--lime); font-size: 12px; }
.post-img {
  display: block;
  max-width: 100%;
  margin: 10px 0;
  border: 3px ridge var(--bevel-lt);
  background: #000;
}
.post-imgs img { margin-right: 8px; }

.uc {
  display: inline-block;
  margin-top: 8px;
  background: repeating-linear-gradient(45deg, #000 0 8px, #ffcc00 8px 16px);
  color: #000;
  font-weight: bold;
  font-size: 11px;
  padding: 2px 4px;
  border: 1px solid #000;
}

/* ---- intro / search ---- */
.intro { margin-top: 0; }
.searchbar {
  background: #000;
  border: 2px inset var(--bevel-lt);
  padding: 6px 8px;
  margin: 8px 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.searchbar label { color: var(--lime); font-size: 13px; white-space: nowrap; }
#q {
  flex: 1;
  font-family: inherit;
  font-size: 14px;
  padding: 3px 5px;
  border: 2px inset #888;
  background: #fff;
  color: #000;
}
#q-clear {
  border: 2px outset var(--bevel-lt);
  background: var(--panel2);
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}
#q-clear:active { border-style: inset; }
.q-count { color: #b79fe0; font-size: 12px; white-space: nowrap; }

/* ---- track table ---- */
.tracks { width: 100%; border-collapse: collapse; }
.tracks thead th {
  text-align: left;
  font-size: 12px;
  color: var(--hot2);
  border-bottom: 2px groove var(--bevel-lt);
  padding: 2px 6px;
}
.trk {
  border-bottom: 1px dotted #6a4a9a;
}
.trk:hover { background: #3a1266; }
.trk.playing { background: #501a86; outline: 1px dashed var(--hot2); }
.trk.hidden { display: none; }
.trk td { padding: 6px; vertical-align: top; }
.c-play { width: 34px; }
.c-series { width: 90px; color: #d9c2ff; font-size: 13px; }
.c-len { width: 46px; text-align: right; font-family: "Courier New", monospace; color: var(--lime); }

.pbtn {
  width: 26px; height: 26px;
  border: 2px outset var(--bevel-lt);
  background: linear-gradient(180deg, var(--panel2), #23093f);
  color: var(--hot2);
  cursor: pointer;
  font-size: 12px;
}
.pbtn:active { border-style: inset; }
.trk.playing .pbtn { color: var(--lime); }

/* watch-on-YouTube link row (archive entries) */
.ytbtn {
  display: inline-block;
  min-width: 26px; height: 26px; line-height: 22px;
  padding: 0 5px;
  border: 2px outset var(--bevel-lt);
  background: linear-gradient(180deg, #c4302b, #7a0f0c);
  color: #fff;
  font-size: 11px; font-weight: bold;
  text-align: center; text-decoration: none;
  cursor: pointer;
}
.ytbtn:active { border-style: inset; }

.t-name { font-weight: bold; display: block; }
.t-desc { display: block; font-size: 13px; color: #d9c2ff; }
.t-tags { display: block; margin-top: 2px; }
.tag { font-size: 11px; color: var(--hot); cursor: pointer; }
.tag:hover { color: #fff; background: var(--hot); }

.noresults, .empty { color: #ffb3ec; text-align: center; padding: 14px; }
.rule { border: none; border-top: 2px groove var(--bevel-lt); }

/* ---- footer ---- */
.foot {
  text-align: center;
  font-size: 12px;
  color: #c9b3f0;
  margin-top: 14px;
  padding: 8px;
  border-top: 2px groove var(--bevel-lt);
}
.best { color: #8a79a8; }

/* ============================================================
   WINAMP-ish player bar (fixed bottom)
   ============================================================ */
.amp {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 940px;          /* match .page so the bar tracks the site, not the whole window */
  max-width: 96%;        /* narrow screens, mirrors .page */
  box-sizing: border-box;
  background: linear-gradient(180deg, #3a3a3a, #1c1c1c);
  border: 3px outset #6a6a6a;
  padding: 6px 10px;
  z-index: 50;
  font-family: "Courier New", monospace;
}
.amp[hidden] { display: none; }

.amp-lcd {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #05130a;
  border: 2px inset #000;
  padding: 4px 8px;
  color: #23d18b;
  text-shadow: 0 0 4px #23d18b;
  font-size: 13px;
}
.amp-vis {
  width: 60px; height: 14px;
  background:
    linear-gradient(#23d18b,#23d18b) 0 0/4px var(--v0,20%) no-repeat,
    linear-gradient(#23d18b,#23d18b) 8px 0/4px var(--v1,60%) no-repeat,
    linear-gradient(#23d18b,#23d18b) 16px 0/4px var(--v2,35%) no-repeat,
    linear-gradient(#23d18b,#23d18b) 24px 0/4px var(--v3,80%) no-repeat,
    linear-gradient(#23d18b,#23d18b) 32px 0/4px var(--v4,45%) no-repeat,
    linear-gradient(#23d18b,#23d18b) 40px 0/4px var(--v5,65%) no-repeat,
    linear-gradient(#23d18b,#23d18b) 48px 0/4px var(--v6,30%) no-repeat;
  background-position-y: bottom;
  align-self: center;
}
.amp-now { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amp-time { white-space: nowrap; }

.amp-ctl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.amp-btn {
  border: 2px outset #7a7a7a;
  background: linear-gradient(180deg, #4a4a4a, #2a2a2a);
  color: #23d18b;
  width: 34px; height: 24px;
  cursor: pointer;
  font-size: 12px;
}
.amp-btn:active { border-style: inset; }
.amp-seek { flex: 1; }
.amp-vol { width: 90px; }
.amp-vol-l { font-size: 11px; color: #9aa; }

/* small screens: keep it usable, still ugly on purpose */
@media (max-width: 960px) {
  .page { width: 96%; }
  .layout, .side, .main { display: block; width: auto; }
  .side { padding: 0; }
  .side .box { display: inline-block; width: 46%; vertical-align: top; }
}
