/* =========================================================
   takemydata.gothtits.net
   A very serious personal homepage, last updated in 2003.
   ========================================================= */

:root {
  --ink: #221333;
  --ink-soft: #514467;
  --paper: #fffdf4;
  --paper-2: #f7f0ff;
  --paper-3: #fff9e3;
  --purple: #3b1266;
  --violet: #6a3bd8;
  --pink: #e5007d;
  --hot-pink: #ff3fa4;
  --cyan: #15d5e8;
  --lime: #c6ff3d;
  --yellow: #fff36d;
  --orange: #ff8a1f;
  --blue: #0000ee;
  --visited: #551a8b;
  --line: #533d79;
  --bevel-light: #ffffff;
  --bevel-dark: #675780;
  --shadow: rgba(24, 8, 47, 0.48);
  --fun: "Comic Sans MS", "Comic Sans", "Comic Neue", "Chalkboard SE", "Segoe Print", Arial, sans-serif;
  --body: Verdana, Geneva, "Trebuchet MS", Arial, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.5;
  background-color: #160a29;
  background-image:
    radial-gradient(circle at 14px 15px, rgba(255, 255, 255, 0.62) 1px, transparent 1.7px),
    radial-gradient(circle at 48px 31px, rgba(255, 96, 195, 0.5) 1.2px, transparent 1.8px),
    radial-gradient(circle at 29px 53px, rgba(86, 231, 255, 0.42) 1px, transparent 1.6px),
    linear-gradient(45deg, rgba(108, 62, 210, 0.12) 25%, transparent 25%, transparent 75%, rgba(108, 62, 210, 0.12) 75%);
  background-size: 68px 68px, 84px 84px, 102px 102px, 36px 36px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 85, 190, 0.09), transparent 44%),
    radial-gradient(ellipse at center, transparent 36%, rgba(3, 0, 10, 0.5) 100%);
}

img,
svg {
  max-width: 100%;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 300;
  padding: 6px 10px;
  color: #000;
  background: var(--yellow);
  border: 2px solid #000;
  font-weight: bold;
}

.skip-link:focus {
  top: 8px;
}

::selection {
  color: #fff;
  background: #8b1d9c;
}

/* ----- links ----- */

a {
  color: var(--blue);
  text-decoration: underline;
}

a:visited {
  color: var(--visited);
}

a:hover {
  color: #c90070;
  background: #fff58e;
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px dotted #ff0077;
  outline-offset: 2px;
}

/* ----- generic period window buttons ----- */

.win-button,
button {
  display: inline-block;
  padding: 4px 9px;
  color: #1c102c;
  background: linear-gradient(180deg, #ffffff 0%, #f2edff 42%, #d8ceec 50%, #f9f5ff 100%);
  border: 2px solid;
  border-color: #ffffff #675780 #675780 #ffffff;
  border-radius: 0;
  box-shadow: 2px 2px 0 rgba(40, 20, 64, 0.34);
  font-family: var(--body);
  font-size: 11px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.win-button:hover,
button:hover {
  color: #000;
  background: linear-gradient(180deg, #ffffff 0%, #fffbd8 42%, #ffef84 50%, #fffbe0 100%);
}

.win-button:active,
button:active {
  padding: 5px 8px 3px 10px;
  border-color: #675780 #ffffff #ffffff #675780;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.28);
}

.win-button:focus-visible,
button:focus-visible {
  outline-offset: 1px;
}

/* ----- page shell ----- */

.page {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100% - 26px));
  margin: 0 auto;
  padding: 16px 0 34px;
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 9px 5px;
  color: #fff6a8;
  background: linear-gradient(180deg, #241036, #110625);
  border: 1px solid #8869bc;
  border-bottom: none;
  font-family: var(--fun);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
}

.top-strip-center {
  color: #ffd7f1;
  font-weight: bold;
}

/* ----- big loud header ----- */

.site-header {
  position: relative;
  overflow: hidden;
  padding: 14px 20px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 118, 210, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 14%, rgba(110, 239, 255, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 74%, rgba(255, 245, 122, 0.28) 0 1px, transparent 2px),
    linear-gradient(135deg, #1a0731 0%, #42116c 42%, #79177d 72%, #2b0a4c 100%);
  background-size: 56px 56px, 74px 74px, 92px 92px, 100% 100%;
  border: 4px ridge #b7a2ff;
  box-shadow:
    0 0 0 2px #1d0b35,
    7px 8px 0 rgba(0, 0, 0, 0.43),
    inset 0 0 38px rgba(255, 78, 206, 0.18);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-header::before {
  inset: 5px;
  border: 1px solid rgba(255, 237, 136, 0.35);
}

.site-header::after {
  width: 220px;
  height: 220px;
  right: -88px;
  top: -100px;
  border: 18px double rgba(255, 105, 207, 0.16);
  border-radius: 50%;
  transform: rotate(18deg);
}

.header-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.kicker {
  margin: 0 0 2px;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #1a0529;
}

.logo {
  margin: 0;
  font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
  font-size: clamp(38px, 6.2vw, 58px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.93;
  white-space: normal;
  filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, 0.45));
}

.logo-main {
  color: #fff;
  background-image: linear-gradient(180deg, #ffffff 0%, #f4f7ff 25%, #a9bbd3 46%, #5f718d 50%, #f6fbff 55%, #dce9ff 66%, #9bacc7 78%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px #27113e;
  text-shadow: 0 0 1px #fff;
}

.logo-domain {
  margin-left: 5px;
  color: #ff77c8;
  background-image: linear-gradient(180deg, #ffe8fa, #ff91d5 43%, #d10081 52%, #ffb9e5 70%, #ff5fbb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #2e0a2e;
  font-size: 0.54em;
  letter-spacing: -1px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.tagline {
  margin: 7px 0 0;
  color: #fff9df;
  font-family: var(--fun);
  font-size: 14px;
  line-height: 1.35;
  text-shadow: 1px 1px 0 #1a0529;
}

.tagline strong {
  color: var(--yellow);
  border-bottom: 1px dotted #ffdc60;
}

.header-note {
  margin: 2px 0 0;
  color: #f2ccff;
  font-size: 11px;
  line-height: 1.35;
  text-shadow: 1px 1px 0 #1a0529;
}

.header-tools {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 196px;
}

.refresh-button {
  color: #2b0a3d;
  background: linear-gradient(180deg, #fffdf2, #fff18a 46%, #ffc93d 50%, #fff4b1 100%);
  border-color: #fffde9 #8c5400 #8c5400 #fffde9;
  font-family: var(--fun);
  font-size: 11px;
  letter-spacing: 0.2px;
}

.refresh-status {
  min-height: 11px;
  margin: 0;
  color: #ffec7c;
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
}

.tool-row {
  display: flex;
  gap: 4px;
}

.tiny-button {
  flex: 1;
  padding: 3px 5px;
  font-size: 9px;
}

.viewed {
  margin: 2px 0 0;
  color: #dcb9ff;
  font-family: var(--fun);
  font-size: 9px;
  line-height: 1.35;
  text-align: center;
  text-shadow: 1px 1px 0 #160523;
}

.viewed strong {
  color: #abf6ff;
}

.header-sparkle {
  position: absolute;
  z-index: 1;
  color: #fffaa6;
  font-size: 16px;
  line-height: 1;
  text-shadow: 0 0 5px #ffd84f, 0 0 11px #ff5ccd;
  animation: twinkle 2.6s steps(2, end) infinite;
}

.sparkle-one {
  top: 20px;
  right: 25%;
}

.sparkle-two {
  bottom: 20px;
  left: 35%;
  font-size: 12px;
  animation-delay: 0.7s;
}

.sparkle-three {
  top: 47%;
  right: 4%;
  font-size: 12px;
  animation-delay: 1.3s;
}

.sparkle-four {
  top: 10px;
  left: 4%;
  font-size: 9px;
  animation-delay: 1.9s;
}

@keyframes twinkle {
  0%,
  38% {
    opacity: 1;
  }
  39%,
  100% {
    opacity: 0.28;
  }
}

/* ----- scrolling marquee ----- */

.marquee {
  position: relative;
  overflow: hidden;
  margin-top: 3px;
  padding: 4px 0;
  color: #fffb9b;
  background: linear-gradient(180deg, #10122e, #050516);
  border: 2px ridge #9b83d1;
  border-top-color: #d9caff;
  font-family: var(--fun);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.2px;
  text-shadow: 1px 1px 0 #000;
  white-space: nowrap;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 42px;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, #07071a, transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, #07071a, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-run {
  display: inline-block;
  padding-right: 30px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ----- nav ----- */

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 7px;
  padding: 5px 10px;
  background:
    linear-gradient(180deg, #ffffff 0%, #eee7ff 46%, #dcd0fa 52%, #fbf8ff 100%);
  border: 2px ridge #a38bd7;
  border-top: none;
  font-family: var(--fun);
  font-size: 12px;
  font-weight: bold;
}

.main-nav span {
  color: #907bb3;
  font-size: 11px;
}

.main-nav a {
  color: #0b0bc0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.main-nav a:hover {
  color: #d10070;
  background: #fffba6;
}

/* ----- construction strip ----- */

.construction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 3px;
  padding: 5px 10px;
  color: #241000;
  background:
    repeating-linear-gradient(135deg, rgba(255, 208, 0, 0.95) 0 12px, rgba(22, 12, 3, 0.94) 12px 24px);
  border: 2px ridge #ffef79;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
}

.construction-copy {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 8px;
  margin: 0;
  padding: 3px 10px;
  color: #2b0b00;
  background: #fff9ce;
  border: 1px solid #654100;
  font-family: var(--fun);
  font-size: 11px;
  font-weight: bold;
  text-align: center;
}

.construction-small {
  color: #4d3c1e;
  font-family: var(--body);
  font-size: 9px;
  font-weight: normal;
}

.construction-sign {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #2b1b00;
  background: #ffcf1e;
  border: 2px solid #2b1b00;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-8deg);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.blink {
  color: #c30000;
  font-weight: 900;
  letter-spacing: 0.4px;
  animation: blink 1.15s steps(1, end) infinite;
}

@keyframes blink {
  0%,
  47% {
    opacity: 1;
  }
  48%,
  100% {
    opacity: 0.1;
  }
}

/* ----- the big table-ish content frame ----- */

.content-frame {
  margin-top: 4px;
  padding: 10px;
  background:
    repeating-linear-gradient(0deg, rgba(104, 74, 161, 0.045) 0 1px, transparent 1px 5px),
    #efe8fa;
  border: 6px ridge #cdb9ff;
  box-shadow:
    0 0 0 2px #2a1748,
    9px 10px 0 rgba(0, 0, 0, 0.38);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: 13px;
  align-items: start;
}

main {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 13px;
  align-items: start;
}

main > .box {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

main > .upload-box {
  grid-column: span 7;
}

main > .download-box {
  grid-column: span 5;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

main > .download-box .download-inner {
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

main > .download-box .download-copy {
  flex: 0 1 auto;
}

main > .download-box .download-button {
  width: 100%;
}

main > .ssn-box {
  width: calc(100% - 34px);
  margin-left: 17px;
}

main > .guestbook {
  width: calc(100% - 22px);
  margin-left: 11px;
}

.sidebar {
  min-width: 0;
}

/* ----- boxes ----- */

.box {
  --tilt: 0deg;
  --shift-x: 0px;
  position: relative;
  z-index: 1;
  margin-bottom: 13px;
  background: var(--paper);
  border: 2px solid #513879;
  box-shadow:
    3px 3px 0 #2c144a,
    inset 0 0 0 1px #fff;
  transform: rotate(var(--tilt)) translateX(var(--shift-x));
}

.box:last-child {
  margin-bottom: 0;
}

.box-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 8px 5px;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--head-a, #eee4ff) 34%, var(--head-b, #cbb4f7) 62%, #fbf8ff 100%);
  border-bottom: 2px solid #4a2c76;
  box-shadow: inset 0 -1px 0 #fff;
}

.box-head::before,
.box-head::after {
  content: "★";
  color: #da0075;
  font-size: 10px;
  line-height: 1;
  text-shadow: 1px 1px 0 #fff;
}

.box-head h2 {
  flex: 1;
  margin: 0;
  font-family: var(--fun);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.05;
  color: #5b137c;
  text-align: center;
  text-shadow: 1px 1px 0 #fff;
  transform: rotate(var(--head-tilt, 0deg));
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .box-head h2 {
    background-image: linear-gradient(
      90deg,
      #d60072 0%,
      #d60072 16%,
      #b85400 16%,
      #b85400 33%,
      #727900 33%,
      #727900 50%,
      #00734d 50%,
      #00734d 66%,
      #005bbb 66%,
      #005bbb 83%,
      #6420bd 83%,
      #6420bd 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.45px rgba(34, 8, 55, 0.55);
    filter: drop-shadow(1px 1px 0 #fff) drop-shadow(2px 2px 0 rgba(47, 16, 79, 0.25));
  }
}

.small-head h2 {
  font-size: 16px;
}

.small-head {
  padding-top: 3px;
  padding-bottom: 3px;
}

.new-badge {
  display: inline-block;
  margin-left: 3px;
  padding: 0 3px;
  color: #fff;
  background: #e00000;
  border: 1px solid #5c0000;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 0.4px;
  line-height: 1.4;
  vertical-align: 3px;
  text-shadow: 1px 1px 0 #600;
  animation: blink 1.2s steps(1, end) infinite;
}

.box-intro {
  margin: 0;
  padding: 7px 10px 0;
  color: #5a476e;
  font-size: 11px;
  font-style: italic;
  line-height: 1.4;
}

.box-intro + .table-wrap,
.box-intro + .scanner-bed,
.box-intro + .upload-window {
  margin-top: 6px;
}

.box-intro + .guestbook-list {
  margin-top: 7px;
}

/* a little clutter, as the web intended */

.welcome::before,
.guestbook::before {
  content: "";
  position: absolute;
  z-index: 6;
  top: -10px;
  left: 26px;
  width: 74px;
  height: 19px;
  pointer-events: none;
  background: rgba(255, 244, 154, 0.72);
  border-left: 1px dashed rgba(128, 103, 37, 0.28);
  border-right: 1px dashed rgba(128, 103, 37, 0.28);
  box-shadow: 0 1px 2px rgba(74, 48, 16, 0.12);
  transform: rotate(-4deg);
}

.guestbook::before {
  left: auto;
  right: 34px;
  transform: rotate(3deg);
}

.welcome::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 19px;
  bottom: 11px;
  width: 58px;
  height: 58px;
  pointer-events: none;
  border: 7px solid rgba(105, 63, 22, 0.055);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(105, 63, 22, 0.035);
  transform: rotate(18deg);
}

.info-box {
  border-width: 4px;
  border-style: double;
}

.upload-box {
  border-style: dashed;
}

.download-box {
  border-width: 3px;
  border-style: groove;
}

.guestbook {
  border-width: 3px;
  border-style: dotted;
}

.sidebar .box:nth-of-type(odd) {
  border-style: double;
}

.welcome .box-head::before {
  content: "☺";
  color: #d40078;
  font-size: 12px;
}

.welcome .box-head::after {
  content: "✧";
  color: #7f20c4;
}

.info-box .box-head::before {
  content: "✧";
}

.counter-box .box-head::before {
  content: "★";
  color: #eb9a00;
}

.counter-box .box-head::after {
  content: "!";
  color: #d40078;
  font-family: var(--mono);
  font-weight: bold;
}

.upload-box .box-head::after {
  content: "↑";
  color: #007332;
}

.download-box .box-head::after {
  content: "↓";
  color: #0b3fa8;
}

.guestbook .box-head::after {
  content: "♥";
  color: #d40078;
}

.burst {
  position: absolute;
  z-index: 7;
  top: -18px;
  right: 19px;
  display: grid;
  place-content: center;
  width: 82px;
  height: 82px;
  pointer-events: none;
  color: #a50020;
  background: #fff45d;
  font-family: var(--fun);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  filter: drop-shadow(3px 3px 0 rgba(91, 57, 0, 0.35));
  clip-path: polygon(
    50% 0%, 59% 10%, 71% 4%, 75% 17%, 89% 15%, 86% 28%, 100% 35%,
    92% 46%, 100% 58%, 86% 64%, 88% 79%, 74% 80%, 70% 94%, 58% 88%,
    50% 100%, 42% 88%, 30% 94%, 26% 80%, 12% 79%, 14% 64%, 0% 58%,
    8% 46%, 0% 35%, 14% 28%, 11% 15%, 25% 17%, 29% 4%, 41% 10%
  );
  transform: rotate(12deg);
}

.burst b {
  display: block;
  font-size: 11px;
}

.burst small {
  display: block;
  margin-top: 1px;
  font-family: var(--body);
  font-size: 6px;
  font-weight: bold;
  letter-spacing: 0.4px;
}

/* ----- welcome ----- */

.welcome-inner {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px 9px;
}

.photo-column {
  position: relative;
  align-self: start;
}

.photo-frame {
  position: relative;
  z-index: 1;
  margin: 3px 2px 0;
  padding: 5px 5px 2px;
  background: #fff;
  border: 3px double #624197;
  box-shadow: 4px 4px 0 rgba(56, 27, 88, 0.32);
  transform: rotate(-1.4deg);
}

.pixel-me {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #1a0b2c;
  image-rendering: pixelated;
  background: #1b0f32;
}

.photo-frame figcaption {
  padding: 2px 0 1px;
  color: #7b1a70;
  font-family: var(--fun);
  font-size: 10px;
  text-align: center;
}

.photo-tape {
  position: absolute;
  z-index: 2;
  top: -8px;
  left: 38px;
  width: 50px;
  height: 16px;
  background: rgba(255, 244, 160, 0.66);
  border-left: 1px dashed rgba(135, 112, 45, 0.35);
  border-right: 1px dashed rgba(135, 112, 45, 0.35);
  transform: rotate(4deg);
}

.welcome-copy {
  min-width: 0;
  padding-top: 1px;
}

.lead {
  margin: 0 0 7px;
  font-size: 12px;
  line-height: 1.55;
}

.lead strong {
  color: #8a0061;
}

.lead::first-letter {
  float: left;
  margin: 1px 4px 0 0;
  color: #d10072;
  font-family: var(--fun);
  font-size: 32px;
  font-weight: bold;
  line-height: 0.85;
  text-shadow: 2px 2px 0 #ffd7ee;
}

.star-list {
  margin: 6px 0 7px;
  padding: 0;
  list-style: none;
}

.star-list li {
  position: relative;
  margin: 4px 0;
  padding-left: 16px;
  line-height: 1.42;
}

.star-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 1px;
  color: #e00079;
  font-size: 10px;
  text-shadow: 1px 1px 0 #ffd0ea;
}

.star-list b {
  color: #39195e;
}

.welcome-signoff {
  margin: 8px 0 0;
  color: #7a3c8e;
  font-family: var(--fun);
  font-size: 11px;
  line-height: 1.2;
}

.signature {
  color: #d20071;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: 24px;
  line-height: 1;
}

.heart {
  color: #e9006f;
  font-size: 14px;
}

/* ----- social security card ----- */

.ssn-box {
  overflow: visible;
}

.scanner-bed {
  position: relative;
  margin: 8px 10px 10px;
  padding: 17px 10px 9px;
  background:
    repeating-linear-gradient(0deg, rgba(56, 92, 128, 0.08) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, rgba(56, 92, 128, 0.08) 0 1px, transparent 1px 6px),
    #f5f0e2;
  border: 3px inset #b6aa94;
  box-shadow: inset 0 0 24px rgba(78, 65, 44, 0.12);
}

.scanner-bed::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 16%;
  right: 16%;
  bottom: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(45, 27, 65, 0.28), transparent 68%);
  filter: blur(5px);
}

.scan-label {
  position: absolute;
  top: 5px;
  left: 8px;
  color: #807157;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.4px;
}

.ssn-scene {
  position: relative;
  z-index: 1;
  width: min(394px, 91%);
  aspect-ratio: 3.375 / 2.125;
  margin: 0 auto;
  perspective: 1100px;
}

.ssn-card {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: card-spin 32s linear infinite;
  will-change: transform;
}

.ssn-card:focus-visible {
  outline: 3px dotted #d00070;
  outline-offset: 5px;
}

.ssn-card.is-paused,
.ssn-scene:hover .ssn-card,
.ssn-scene:focus-within .ssn-card {
  animation: none;
  transform: rotateY(0deg);
}

@keyframes card-spin {
  0%,
  14% {
    transform: rotateY(0deg);
  }
  36%,
  48% {
    transform: rotateY(180deg);
  }
  70%,
  100% {
    transform: rotateY(360deg);
  }
}

.ssn-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid #6786aa;
  border-radius: 6px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 10px 18px rgba(38, 23, 55, 0.28),
    inset 0 0 0 3px rgba(255, 255, 255, 0.55),
    inset 0 0 0 4px rgba(50, 89, 132, 0.25);
}

.ssn-front {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.95), transparent 31%),
    radial-gradient(circle at 86% 80%, rgba(182, 221, 252, 0.55), transparent 42%),
    repeating-linear-gradient(0deg, rgba(38, 99, 158, 0.07) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(38, 99, 158, 0.055) 0 1px, transparent 1px 5px),
    #e9f3fd;
}

.card-paper-lines {
  position: absolute;
  inset: 4px;
  pointer-events: none;
  opacity: 0.8;
  background-image:
    repeating-radial-gradient(circle at 22% 44%, transparent 0 6px, rgba(31, 94, 151, 0.06) 6px 7px, transparent 7px 13px),
    repeating-radial-gradient(circle at 78% 55%, transparent 0 7px, rgba(31, 94, 151, 0.05) 7px 8px, transparent 8px 14px);
}

.ssn-top {
  position: relative;
  padding: 5px 10px 0;
  text-align: center;
}

.ssn-seal {
  position: absolute;
  top: 8px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 38px;
  height: 38px;
  color: #234f80;
  background: radial-gradient(circle, #f8fcff 0 48%, #d3e7f9 49% 68%, #8ab4d9 69% 71%, #eff8ff 72%);
  border: 1px solid #4f7da8;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7px;
  line-height: 1;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.ssn-seal span {
  font-size: 6px;
}

.ssn-seal b {
  font-size: 9px;
  letter-spacing: 0.3px;
}

.ssn-country {
  margin: 0;
  color: #345f89;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6px, 1.35vw, 8px);
  font-weight: bold;
  letter-spacing: 1.4px;
}

.ssn-heading {
  margin: 0;
  color: #214f7e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 3.5vw, 23px);
  font-weight: bold;
  letter-spacing: 0.3px;
  line-height: 1;
  text-shadow: 0 1px 0 #fff;
}

.ssn-card-word {
  margin: 0;
  color: #2f5d8a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7px, 1.7vw, 10px);
  font-weight: bold;
  letter-spacing: 4px;
}

.ssn-name-row {
  margin: 5px 15px 0;
  padding: 1px 0 2px;
  border-bottom: 1px solid rgba(42, 86, 128, 0.55);
}

.ssn-caption {
  display: block;
  color: #577793;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(5px, 1.15vw, 6.5px);
  font-weight: bold;
  letter-spacing: 0.8px;
  line-height: 1.25;
}

.ssn-name {
  display: block;
  overflow: hidden;
  color: #1c3d5c;
  font-family: var(--mono);
  font-size: clamp(10px, 2.9vw, 16px);
  font-weight: bold;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ssn-number-row {
  margin: 4px 15px 0;
  padding: 1px 0 2px;
  border-bottom: 1px solid rgba(42, 86, 128, 0.55);
}

.ssn-number {
  display: block;
  color: #153a60;
  font-family: var(--mono);
  font-size: clamp(15px, 4.9vw, 27px);
  font-weight: bold;
  letter-spacing: 1.6px;
  line-height: 1.05;
  text-shadow: 0 1px 0 #fff;
}

.ssn-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 3px 15px 0;
}

.ssn-signature {
  min-width: 0;
}

.ssn-scribble {
  display: block;
  height: clamp(12px, 3.3vw, 19px);
  margin-top: -1px;
  overflow: hidden;
  border-bottom: 1px solid rgba(42, 86, 128, 0.4);
  background:
    radial-gradient(ellipse at 12% 84%, transparent 0 2px, #315d88 2.4px 3px, transparent 3.4px 100%),
    radial-gradient(ellipse at 27% 41%, transparent 0 3px, #315d88 3.4px 4px, transparent 4.4px 100%);
}

.ssn-scribble-text {
  display: block;
  margin-top: -3px;
  color: #1e4269;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: clamp(11px, 3.4vw, 20px);
  line-height: 1;
  transform: rotate(-2deg);
  white-space: nowrap;
}

.ssn-issued {
  min-width: 42px;
  text-align: right;
}

.ssn-issued b {
  color: #1b426a;
  font-family: var(--mono);
  font-size: clamp(6px, 1.5vw, 8px);
}

.ssn-back {
  padding: 0;
  background:
    repeating-linear-gradient(0deg, rgba(41, 88, 132, 0.045) 0 1px, transparent 1px 5px),
    #e6f0fa;
  transform: rotateY(180deg);
}

.mag-stripe {
  height: 21%;
  margin-top: 10%;
  background:
    linear-gradient(180deg, #252525 0%, #0c0c0c 45%, #3b3b3b 50%, #0d0d0d 100%);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.ssn-back-content {
  padding: 5% 8% 0;
  color: #294f75;
}

.ssn-back-content p {
  margin: 0;
}

.ssn-back-title {
  color: #315b84;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(5px, 1.2vw, 7px);
  font-weight: bold;
  letter-spacing: 0.7px;
}

.ssn-back-name {
  font-family: var(--mono);
  font-size: clamp(9px, 2.2vw, 12px);
  font-weight: bold;
  line-height: 1.15;
}

.ssn-back-address {
  margin-top: 1px !important;
  font-family: var(--mono);
  font-size: clamp(6px, 1.45vw, 8px);
  line-height: 1.25;
}

.ssn-back-rule {
  margin-top: 4px !important;
  color: #384f67;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(5px, 1.25vw, 7px);
  font-weight: bold;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.barcode {
  width: 55%;
  height: clamp(9px, 2.4vw, 14px);
  margin: 4px 0 3px;
  background: repeating-linear-gradient(
    90deg,
    #23435f 0 1px,
    transparent 1px 3px,
    #23435f 3px 5px,
    transparent 5px 6px,
    #23435f 6px 7px,
    transparent 7px 10px
  );
}

.ssn-back-small {
  width: 72%;
  color: #4b657d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(4.5px, 1.1vw, 6px);
  line-height: 1.35;
}

.ssn-back-number {
  position: absolute;
  right: 7%;
  bottom: 5%;
  color: #5f7d96;
  font-family: var(--mono);
  font-size: clamp(6px, 1.4vw, 8px);
  letter-spacing: 0.5px;
}

.scan-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  margin-top: 7px;
  color: #7c6c54;
  font-family: var(--fun);
  font-size: 9px;
  font-style: italic;
}

.card-pause-button {
  font-size: 9px;
  font-style: normal;
  padding: 2px 7px;
}

/* ----- personal info table ----- */

.table-wrap {
  margin: 7px 10px 10px;
  border: 2px solid #5e477f;
  box-shadow: 2px 2px 0 rgba(52, 28, 82, 0.2);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}

.info-table thead th {
  padding: 4px 6px;
  color: #fffdf2;
  background:
    linear-gradient(180deg, #7444c1 0%, #472075 50%, #331452 51%, #58318a 100%);
  border: 1px solid #2e124b;
  font-family: var(--fun);
  font-size: 10px;
  letter-spacing: 0.7px;
  text-align: left;
  text-shadow: 1px 1px 0 #1c0830;
}

.info-table thead th:nth-child(1) {
  width: 24%;
}

.info-table thead th:nth-child(2) {
  width: 35%;
}

.info-table thead th:nth-child(3) {
  width: 41%;
}

.info-table tbody th,
.info-table tbody td {
  padding: 5px 6px;
  border: 1px solid #c6b8da;
  vertical-align: top;
  text-align: left;
}

.info-table tbody th {
  color: #421456;
  background: #f4edff;
  font-family: var(--fun);
  font-size: 11px;
  line-height: 1.3;
}

.info-table tbody td {
  overflow-wrap: anywhere;
}

.info-table tbody tr:nth-child(even) td {
  background: #fffdf2;
}

.info-table tbody tr:nth-child(odd) td {
  background: #ffffff;
}

.info-value {
  color: #2b0e4d;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: bold;
  line-height: 1.4;
}

.info-note {
  color: #68577b;
  background: #fff9e5 !important;
  font-size: 10px;
  font-style: italic;
  line-height: 1.4;
}

.info-table .hot-row th {
  color: #93004b;
  background: #ffe8f3;
}

.info-table .hot-row td {
  background: #fff5fa !important;
}

.info-table .hot-row .info-value {
  color: #b6005c;
}

.password-value,
.money-value,
.card-number-value {
  letter-spacing: 0.3px;
}

.value-sub {
  color: #6a5b7d;
  font-family: var(--body);
  font-size: 9px;
  font-weight: normal;
}

/* ----- upload window ----- */

.upload-window {
  margin: 8px 10px 10px;
  color: #17121c;
  background: #d6d2cc;
  border: 2px solid;
  border-color: #ffffff #4a4144 #4a4144 #ffffff;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  font-family: Tahoma, Verdana, sans-serif;
}

.upload-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 3px 2px 6px;
  color: #fff;
  background: linear-gradient(90deg, #000080, #1084d0);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.2px;
  text-shadow: 1px 1px 0 #00003e;
}

.upload-window-buttons {
  display: inline-flex;
  gap: 1px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
}

.upload-body {
  padding: 8px;
}

.upload-file-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1px 10px;
  margin-bottom: 4px;
  color: #2a2927;
  font-family: var(--mono);
  font-size: 8px;
}

.progress-track {
  position: relative;
  height: 21px;
  overflow: hidden;
  background: #faf9f5;
  border: 2px solid;
  border-color: #7d7370 #ffffff #ffffff #7d7370;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.25);
}

.progress-fill {
  width: 0;
  height: 100%;
  background:
    repeating-linear-gradient(90deg, #000080 0 11px, #1084d0 11px 22px);
  border-right: 1px solid #fff;
  transition: width 0.16s linear;
}

.progress-track.complete .progress-fill {
  background: repeating-linear-gradient(90deg, #006b21 0 11px, #29b84b 11px 22px);
  animation: none;
}

.progress-percent {
  position: absolute;
  top: 2px;
  right: 5px;
  padding: 0 2px;
  color: #100c14;
  background: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: bold;
  line-height: 15px;
}

.upload-status {
  min-height: 15px;
  margin: 4px 0 4px;
  color: #172b13;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: bold;
}

.upload-log {
  height: 64px;
  margin: 0;
  padding: 3px 5px;
  overflow: hidden;
  color: #315435;
  background: #f5fbf1;
  border: 2px solid;
  border-color: #7a8273 #fff #fff #7a8273;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.55;
  list-style: none;
}

.upload-log li::before {
  content: "> ";
  color: #94a388;
}

.upload-total {
  margin: 4px 0 0;
  color: #4c464c;
  font-family: var(--mono);
  font-size: 8px;
}

/* ----- download ----- */

.download-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  padding: 12px;
}

.floppy {
  position: relative;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #37343c, #17151d);
  border: 2px solid #0a080c;
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.26);
}

.floppy-label {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 29px;
  height: 23px;
  background: #f4f0de;
  border: 1px solid #8c846b;
}

.floppy-label::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  height: 3px;
  background: #5f5869;
  box-shadow: 0 8px 0 #5f5869;
}

.floppy-shutter {
  position: absolute;
  right: 6px;
  bottom: 4px;
  width: 17px;
  height: 11px;
  background: linear-gradient(180deg, #d5d7db, #7d818a);
  border: 1px solid #060509;
}

.download-copy {
  flex: 1 1 190px;
  min-width: 0;
}

.download-lead {
  margin: 0 0 2px;
  color: #481a69;
  font-family: var(--fun);
  font-size: 14px;
  font-weight: bold;
}

.download-small {
  margin: 0;
  color: #74657f;
  font-size: 9px;
  line-height: 1.4;
}

.download-button {
  flex: 0 1 auto;
  color: #1e0730;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: bold;
  text-decoration: none;
}

.download-button:hover {
  color: #1e0730;
}

.download-stamp {
  width: 100%;
  margin: 5px 0 0;
  padding-top: 4px;
  color: #892584;
  border-top: 1px dotted #b7a7ca;
  font-family: var(--fun);
  font-size: 8px;
  line-height: 1.35;
  text-align: center;
  transform: rotate(-1.5deg);
}

.download-stamp span {
  color: #a0529a;
  font-size: 7px;
}

/* ----- guestbook ----- */

.guestbook-list {
  margin: 0 10px;
  padding: 0;
  list-style: none;
}

.guest-entry {
  padding: 7px 2px 6px;
  border-bottom: 1px dotted #a895c0;
}

.guest-entry:first-child {
  border-top: 1px dotted #a895c0;
}

.guest-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 10px;
  margin-bottom: 1px;
}

.guest-name {
  color: #0909bd;
  font-family: var(--fun);
  font-size: 12px;
  font-weight: bold;
  text-decoration: underline;
}

.guest-name::before {
  content: "☺ ";
  color: #da0077;
  text-decoration: none;
}

.guest-date {
  color: #8b7c9b;
  font-family: var(--mono);
  font-size: 8px;
}

.guest-message {
  margin: 0;
  color: #392c47;
  font-size: 11px;
  line-height: 1.45;
}

.guestbook-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 3px;
}

.guestbook-thanks {
  margin: 0;
  color: #b0005b;
  font-family: var(--fun);
  font-size: 10px;
  font-weight: bold;
}

.guestbook-pages {
  margin: 2px 10px 9px;
  color: #756585;
  font-size: 9px;
  text-align: right;
}

/* ----- sidebar boxes ----- */

.counter-body {
  padding: 9px 8px 8px;
  text-align: center;
}

.hit-counter {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 4px;
  padding: 5px;
  background: #0a0a0a;
  border: 2px solid;
  border-color: #777 #f0f0f0 #f0f0f0 #777;
  box-shadow: inset 0 0 8px rgba(83, 255, 102, 0.16);
}

.counter-digit {
  display: inline-block;
  width: 18px;
  height: 26px;
  color: #70ff73;
  background: linear-gradient(180deg, #222 0%, #050505 48%, #121212 52%, #000 100%);
  border: 1px solid #323232;
  box-shadow: inset 0 0 4px rgba(95, 255, 109, 0.35);
  font-family: var(--mono);
  font-size: 19px;
  font-weight: bold;
  line-height: 25px;
  text-align: center;
  text-shadow: 0 0 5px rgba(89, 255, 100, 0.75);
}

.counter-comma {
  display: inline-block;
  width: 6px;
  color: #70ff73;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0 5px rgba(89, 255, 100, 0.75);
}

.counter-caption {
  margin: 0;
  color: #6f268d;
  font-family: var(--fun);
  font-size: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.counter-you {
  margin: 5px 0 0;
  color: #534264;
  font-size: 9px;
  line-height: 1.45;
}

.counter-you b {
  color: #0e6c2b;
  font-family: var(--mono);
  font-size: 10px;
}

.netscape-box {
  padding: 9px;
  text-align: center;
}

.netscape-box p {
  margin: 6px 0 2px;
  color: #4a3b5c;
  font-size: 9px;
  line-height: 1.45;
}

.netscape-box p b {
  color: #13205e;
}

.viewed-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 88px;
  height: 31px;
  margin: 0 auto;
  overflow: hidden;
  color: #b9fcff;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 64%, rgba(255, 255, 255, 0.24) 0 1px, transparent 1.5px),
    linear-gradient(135deg, #05242e, #0b4958 62%, #03141a);
  border: 1px solid #000;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
  font-family: "Arial Black", Arial, sans-serif;
  line-height: 1;
}

.netscape-n {
  color: #ffef6a;
  font-size: 23px;
  font-weight: 900;
  text-shadow: 1px 2px 0 #001b21;
  transform: skewX(-8deg);
}

.netscape-copy {
  font-size: 6px;
  letter-spacing: 0.2px;
  text-align: left;
}

.netscape-copy b {
  color: #7ff8ff;
  font-size: 10px;
}

.tiny-copy {
  margin: 6px 0 0;
  color: #7c6b8b;
  font-family: var(--fun);
  font-size: 8px;
  line-height: 1.4;
  text-align: center;
}

/* ----- MIDI player ----- */

.midi-box {
  overflow: hidden;
  background: #d4d0c8;
}

.midi-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 3px 2px 6px;
  color: #fff;
  background: linear-gradient(90deg, #4a0b74, #a31b9d 56%, #4c176e);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.2px;
  text-shadow: 1px 1px 0 #260033;
}

.midi-window-buttons {
  font-size: 8px;
  letter-spacing: 1px;
}

.midi-body {
  padding: 7px;
}

.midi-screen {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  color: #6cff7c;
  background: #101b11;
  border: 2px solid;
  border-color: #4a4a4a #f5f5f5 #f5f5f5 #4a4a4a;
  font-family: var(--mono);
  text-shadow: 0 0 5px rgba(105, 255, 111, 0.5);
}

.midi-note {
  flex: 0 0 auto;
  color: #a9ff64;
  font-size: 15px;
  line-height: 1;
}

.midi-now {
  flex: 1 1 auto;
  min-width: 0;
}

.midi-label {
  display: block;
  color: #71a773;
  font-size: 6px;
  letter-spacing: 0.5px;
}

.midi-now b {
  display: block;
  overflow: hidden;
  color: #8cff79;
  font-size: 8px;
  font-weight: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 28px;
  height: 22px;
  padding: 2px;
  border-left: 1px solid #2f4c31;
}

.eq-bars i {
  display: block;
  width: 3px;
  height: 4px;
  background: #73ff6e;
  box-shadow: 0 0 3px rgba(111, 255, 101, 0.52);
  animation: eq-bounce 0.62s steps(4, end) infinite;
  animation-play-state: paused;
}

.eq-bars i:nth-child(2) {
  animation-delay: 0.09s;
}

.eq-bars i:nth-child(3) {
  animation-delay: 0.2s;
}

.eq-bars i:nth-child(4) {
  animation-delay: 0.03s;
}

.eq-bars i:nth-child(5) {
  animation-delay: 0.26s;
}

.eq-bars i:nth-child(6) {
  animation-delay: 0.14s;
}

.eq-bars i:nth-child(7) {
  animation-delay: 0.32s;
}

.eq-bars i:nth-child(8) {
  animation-delay: 0.07s;
}

.midi-box.playing .eq-bars i {
  animation-play-state: running;
}

@keyframes eq-bounce {
  0% {
    height: 4px;
  }
  25% {
    height: 17px;
  }
  50% {
    height: 8px;
  }
  75% {
    height: 21px;
  }
  100% {
    height: 5px;
  }
}

.midi-seek {
  height: 7px;
  margin-top: 5px;
  background: #fcfbf7;
  border: 1px solid;
  border-color: #6d6565 #fff #fff #6d6565;
}

.midi-seek-fill {
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(90deg, #6f187f 0 4px, #d24ac3 4px 8px);
}

.midi-info {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  color: #393038;
  font-family: var(--mono);
  font-size: 7px;
}

.midi-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}

.midi-button {
  width: 30px;
  padding: 2px 0;
  font-family: var(--mono);
  font-size: 10px;
}

.midi-speaker {
  margin-left: auto;
  color: #605463;
  font-size: 13px;
  filter: grayscale(1);
}

.midi-caption {
  margin: 5px 0 0;
  color: #665a68;
  font-family: var(--fun);
  font-size: 8px;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

/* ----- awards / badges / webring ----- */

.awards-box {
  padding: 0 0 6px;
}

.award-list {
  margin: 7px 9px 2px;
  padding: 0;
  list-style: none;
}

.award-list li {
  position: relative;
  margin: 4px 0;
  padding-left: 14px;
  color: #4c3b5d;
  font-family: var(--fun);
  font-size: 9px;
  line-height: 1.35;
}

.award-list li span {
  position: absolute;
  top: 1px;
  left: 0;
  color: #ef9c00;
  font-size: 8px;
  text-shadow: 1px 1px 0 #fff4ad;
}

/* AIM buddies */
.buddy-list {
  margin: 5px 9px 2px;
  padding: 0;
  list-style: none;
}

.buddy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 5px;
  padding: 3px 0;
  border-bottom: 1px dotted #d4c5e6;
  font-family: var(--fun);
  font-size: 9px;
}

.buddy:last-child {
  border-bottom: none;
}

.buddy-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: #a5a0ab;
  border: 1px solid #4f415e;
  border-radius: 50%;
}

.buddy-online .buddy-dot {
  background: #27cc44;
  box-shadow: 0 0 5px #45ff65;
  animation: buddy-blink 1.9s steps(2, end) infinite;
}

.buddy-away .buddy-dot {
  background: #ffb51d;
}

.buddy-idle .buddy-dot {
  background: #f3de30;
}

.buddy-offline .buddy-dot {
  background: #a5a0ab;
}

.buddy-name {
  overflow: hidden;
  color: #0b0ab1;
  font-weight: bold;
  text-decoration: underline;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buddy-status {
  margin-left: auto;
  color: #9583a6;
  font-family: var(--mono);
  font-size: 7px;
}

.buddy-away-msg {
  flex-basis: 100%;
  padding-left: 12px;
  color: #8a6a3e;
  font-size: 8px;
  font-style: italic;
  line-height: 1.3;
}

@keyframes buddy-blink {
  0%,
  60% {
    opacity: 1;
  }
  61%,
  100% {
    opacity: 0.35;
  }
}

/* fake poll */
.poll-question {
  margin: 8px 9px 5px;
  color: #611b7b;
  font-family: var(--fun);
  font-size: 10px;
  font-weight: bold;
  line-height: 1.25;
}

.poll-result {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 3px 9px;
  color: #4f3c62;
  font-family: var(--fun);
  font-size: 8px;
  font-weight: bold;
}

.poll-label {
  width: 27px;
}

.poll-bar {
  flex: 1;
  height: 9px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #7a648d;
}

.poll-fill {
  display: block;
  height: 100%;
}

.poll-yes-fill {
  width: var(--poll-yes, 94%);
  background: repeating-linear-gradient(90deg, #ff2d9d 0 6px, #ff7ac4 6px 12px);
}

.poll-no-fill {
  width: var(--poll-no, 6%);
  background: #c9c0d4;
}

.poll-result b {
  width: 23px;
  color: #421456;
  font-family: var(--mono);
  font-size: 8px;
  text-align: right;
}

.poll-box .tiny-copy {
  margin-top: 5px;
}

/* buddies and polls */

.badge-wall {
  display: grid;
  grid-template-columns: repeat(2, 88px);
  justify-content: center;
  gap: 7px;
  padding: 9px 8px 4px;
}

.web-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 31px;
  overflow: hidden;
  border: 1px solid #000;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
  font-family: "Arial Black", Arial, sans-serif;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.web-badge:hover {
  background: inherit;
  filter: brightness(1.18);
  outline: 1px dotted #fff;
}

.web-badge span {
  font-size: 7px;
  letter-spacing: 0.2px;
}

.web-badge b {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  letter-spacing: -0.2px;
}

.badge-netscape {
  color: #a4fbff;
  background: linear-gradient(135deg, #04232d, #0b5364);
  text-shadow: 1px 1px 0 #00151b;
}

.badge-netscape b {
  color: #fff36d;
}

.badge-html {
  color: #fff;
  background: linear-gradient(180deg, #103f93, #062365);
  text-shadow: 1px 1px 0 #001033;
}

.badge-html b {
  color: #ffb13b;
}

.badge-800 {
  color: #7a0e00;
  background: linear-gradient(180deg, #fff27a, #ffc928);
  text-shadow: 1px 1px 0 #fff9c0;
}

.badge-800 b {
  color: #240bd1;
  font-size: 13px;
}

.badge-y2k {
  color: #d9ff5b;
  background: linear-gradient(180deg, #1d4d14, #071f08);
  text-shadow: 1px 1px 0 #000;
}

.badge-y2k b {
  color: #fff;
}

.badge-notepad {
  color: #183f80;
  background: linear-gradient(180deg, #f7f7f7, #c9c9c9);
  text-shadow: 1px 1px 0 #fff;
}

.badge-notepad b {
  color: #b30000;
  font-size: 10px;
}

.badge-geo {
  color: #fff3a0;
  background: linear-gradient(180deg, #512187, #260d4e);
  text-shadow: 1px 1px 0 #1c0832;
}

.badge-geo b {
  color: #ff87cd;
}

.badge-webring {
  color: #fff;
  background: linear-gradient(180deg, #b00000, #610000);
  text-shadow: 1px 1px 0 #3f0000;
}

.badge-webring b {
  color: #ffe56e;
}

.badge-mail {
  color: #fff;
  background: linear-gradient(180deg, #057a79, #003f4a);
  text-shadow: 1px 1px 0 #00282c;
}

.badge-mail b {
  color: #fff07b;
}

.webring-copy {
  margin: 7px 10px 4px;
  color: #4d3b60;
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

.webring-links {
  margin: 3px 7px 4px;
  font-family: var(--fun);
  font-size: 10px;
  text-align: center;
}

.webring-box .tiny-copy {
  margin-bottom: 7px;
}

.sparkle-box {
  padding: 8px;
  text-align: center;
}

.sparkle-button {
  width: 100%;
  font-size: 9px;
}

/* ----- footer ----- */

.site-footer {
  margin-top: 10px;
  padding: 12px 14px 14px;
  color: #f0ddff;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 131, 221, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(112, 235, 255, 0.17) 0 1px, transparent 2px),
    linear-gradient(135deg, #26103f, #120724 70%, #200a35);
  background-size: 46px 46px, 62px 62px, 100% 100%;
  border: 3px ridge #a890d9;
  box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.35);
  font-family: var(--fun);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  text-shadow: 1px 1px 0 #130521;
}

.site-footer p {
  margin: 2px 0;
}

.footer-main {
  color: #fff5a4;
  font-size: 12px;
}

.footer-links a {
  color: #8ef4ff;
}

.footer-links a:visited {
  color: #ffa8e4;
}

.footer-links a:hover {
  color: #1a0626;
  background: #fff799;
}

.footer-small {
  color: #bda8d7;
  font-size: 9px;
}

/* =========================================================
   Bouncing map
   ========================================================= */

.bouncing-map {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 278px;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(7px 8px 0 rgba(0, 0, 0, 0.38));
}

.map-window {
  border: 2px solid #24140f;
  background: #f4ecd8;
  box-shadow: inset 1px 1px 0 #fff;
}

.map-window.map-bump {
  animation: map-bump 0.36s ease-out;
}

@keyframes map-bump {
  0% {
    transform: rotate(0deg) scale(1);
  }
  28% {
    transform: rotate(-1.8deg) scale(1.018);
  }
  62% {
    transform: rotate(1.3deg) scale(0.997);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

.map-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 3px 5px;
  color: #fff;
  background: linear-gradient(180deg, #4e2c10, #8f4e1f 44%, #5a2c0e 47%, #3b1b08 100%);
  border-bottom: 1px solid #1d0f06;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: bold;
  letter-spacing: 0.2px;
  text-shadow: 1px 1px 0 #1e0c02;
}

.map-hits {
  color: #ffe366;
  white-space: nowrap;
}

.map-hits b {
  display: inline-block;
  min-width: 12px;
  color: #8dff86;
  font-size: 8px;
  text-align: right;
}

.map-canvas {
  position: relative;
  height: 168px;
  overflow: hidden;
  background-color: #ece2c7;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(123, 102, 66, 0.24) 30px 31px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(123, 102, 66, 0.2) 38px 39px),
    radial-gradient(circle at 78% 23%, #f8f2df, transparent 44%);
  border-top: 2px solid #6f5834;
  filter: hue-rotate(var(--map-hue, 0deg));
  transition: filter 0.55s ease;
}

.map-canvas.hit-flash {
  animation: map-flash 0.35s steps(2, end);
}

@keyframes map-flash {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.75);
  }
}

.map-river {
  position: absolute;
  top: 102px;
  left: -20px;
  width: 340px;
  height: 24px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 12px, transparent 12px 24px),
    #8ed6e3;
  border-top: 1px solid #4b9aab;
  border-bottom: 1px solid #4b9aab;
  transform: rotate(-9deg);
}

.map-park {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 42px;
  color: #356b2b;
  background: #b7d99c;
  border: 1px solid #6f9b5a;
  font-family: Arial, sans-serif;
  font-size: 6px;
  font-weight: bold;
  letter-spacing: 0.7px;
}

.map-park::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(46, 94, 36, 0.45);
}

.map-road {
  position: absolute;
  background: #fffdf3;
  border: 1px solid #b6a382;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.road-one {
  top: 59px;
  left: -4px;
  right: -4px;
  height: 10px;
}

.road-two {
  top: 128px;
  left: -4px;
  right: -4px;
  height: 13px;
}

.road-three {
  top: -4px;
  bottom: -4px;
  left: 61px;
  width: 12px;
}

.road-four {
  top: -4px;
  bottom: -4px;
  left: 205px;
  width: 8px;
}

.map-street {
  position: absolute;
  padding: 0 2px;
  color: #4e422d;
  background: rgba(255, 253, 243, 0.9);
  font-family: Arial, sans-serif;
  font-size: 5.5px;
  font-weight: bold;
  letter-spacing: 0.4px;
  line-height: 1.2;
  white-space: nowrap;
}

.street-one {
  top: 72px;
  left: 73px;
}

.street-two {
  top: 43px;
  left: 215px;
  transform: rotate(90deg);
  transform-origin: left top;
}

.street-three {
  top: 113px;
  left: 12px;
}

.map-pin {
  position: absolute;
  z-index: 4;
  top: 86px;
  left: 137px;
  width: 18px;
  height: 18px;
  background: #c51616;
  border: 2px solid #6e0505;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 2px 3px 0 rgba(61, 38, 17, 0.25);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #ffe9e9;
  border-radius: 50%;
}

.pin-dot {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 6px;
  width: 6px;
  height: 6px;
  background: #9b0000;
  border-radius: 50%;
}

.map-address {
  position: absolute;
  z-index: 5;
  left: 8px;
  bottom: 8px;
  display: block;
  max-width: calc(100% - 16px);
  padding: 2px 4px 3px;
  color: #8e0909;
  background: #fffef2;
  border: 1px solid #b4362b;
  box-shadow: 2px 2px 0 rgba(68, 31, 10, 0.2);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: bold;
  line-height: 1.3;
}

.map-address-main,
.map-address-sub {
  display: block;
  overflow-wrap: anywhere;
}

.map-address-sub {
  color: #6a3e20;
  font-size: 6px;
  font-weight: normal;
}

.map-compass {
  position: absolute;
  top: 8px;
  right: 9px;
  z-index: 3;
  color: #5a3218;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  text-shadow: 1px 1px 0 #fff8dd;
}

.map-compass::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 1px auto 0;
  border-right: 4px solid transparent;
  border-bottom: 9px solid #8e1b1b;
  border-left: 4px solid transparent;
}

.map-scale {
  position: absolute;
  right: 8px;
  bottom: 7px;
  z-index: 3;
  color: #59452e;
  font-family: var(--mono);
  font-size: 5.5px;
}

.map-note {
  position: absolute;
  right: 8px;
  bottom: 19px;
  z-index: 3;
  color: rgba(79, 58, 30, 0.75);
  font-family: Arial, sans-serif;
  font-size: 5px;
}

body.calm .bouncing-map,
body.calm .map-canvas {
  transition: none;
}

/* =========================================================
   The little pieces of paper that will not sit still
   ========================================================= */

.mini-floater {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 55;
  max-width: calc(100vw - 24px);
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(6px 7px 0 rgba(0, 0, 0, 0.28));
}

.mini-inner {
  position: relative;
  animation: mini-wobble 5.5s ease-in-out infinite;
}

.mini-password .mini-inner {
  width: 168px;
  padding: 16px 11px 10px;
  color: #443300;
  background:
    repeating-linear-gradient(0deg, rgba(184, 153, 0, 0.09) 0 1px, transparent 1px 21px),
    linear-gradient(145deg, #fff79c, #ffe761);
  border: 1px solid #c8ad2b;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34);
  font-family: var(--fun);
}

.mini-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 62px;
  height: 15px;
  background: rgba(255, 255, 255, 0.58);
  border-left: 1px dashed rgba(100, 86, 50, 0.22);
  border-right: 1px dashed rgba(100, 86, 50, 0.22);
  transform: translateX(-50%) rotate(-4deg);
}

.sticky-top {
  margin: 0;
  color: #c00016;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-align: center;
}

.sticky-label {
  margin: 5px 0 0;
  color: #7b5b00;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}

.sticky-value {
  margin: 1px 0 5px;
  overflow-wrap: anywhere;
  color: #221600;
  font-family: var(--mono);
  font-size: 21px;
  font-weight: bold;
  line-height: 1.05;
  text-align: center;
}

.sticky-foot {
  margin: 0;
  color: #745d1c;
  font-size: 7px;
  font-style: italic;
  line-height: 1.3;
  text-align: center;
}

.mini-receipt .mini-inner {
  width: 162px;
  padding: 8px 10px 13px;
  color: #4d4535;
  background:
    repeating-linear-gradient(0deg, rgba(91, 77, 50, 0.045) 0 1px, transparent 1px 14px),
    #fffdf4;
  border: 1px solid #b9af98;
  clip-path: polygon(
    0 0, 100% 0, 100% 94%, 96% 100%, 92% 94%, 88% 100%, 84% 94%,
    80% 100%, 76% 94%, 72% 100%, 68% 94%, 64% 100%, 60% 94%,
    56% 100%, 52% 94%, 48% 100%, 44% 94%, 40% 100%, 36% 94%,
    32% 100%, 28% 94%, 24% 100%, 20% 94%, 16% 100%, 12% 94%,
    8% 100%, 4% 94%, 0 100%
  );
  font-family: var(--mono);
  text-align: center;
  transform: rotate(3deg);
  animation: mini-wobble-alt 6.4s ease-in-out infinite;
}

.receipt-top {
  margin: 0 0 6px;
  color: #221e18;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.receipt-line {
  margin: 2px 0;
  color: #736a5b;
  font-size: 6px;
  letter-spacing: 0.4px;
}

.receipt-dots {
  margin: 3px 0;
  color: #b2a894;
  font-size: 7px;
  letter-spacing: 1px;
}

.receipt-value {
  margin: 0;
  color: #1d1a14;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.receipt-thanks {
  margin: 4px 0 3px;
  color: #6d6354;
  font-size: 6px;
  font-style: italic;
}

.receipt-barcode {
  height: 11px;
  margin: 3px auto 0;
  width: 74%;
  background: repeating-linear-gradient(
    90deg,
    #443e32 0 1px,
    transparent 1px 3px,
    #443e32 3px 4px,
    transparent 4px 6px,
    #443e32 6px 8px,
    transparent 8px 10px
  );
}

@keyframes mini-wobble {
  0%,
  100% {
    transform: rotate(-3.2deg);
  }
  50% {
    transform: rotate(2.8deg);
  }
}

@keyframes mini-wobble-alt {
  0%,
  100% {
    transform: rotate(2.6deg);
  }
  50% {
    transform: rotate(-2.4deg);
  }
}

/* =========================================================
   Popup advertisement
   ========================================================= */

.popup-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(8, 3, 20, 0.58);
}

.popup-layer[hidden] {
  display: none !important;
}

.popup-ad {
  width: min(430px, calc(100vw - 24px));
  background: #e9e5d7;
  border: 3px solid;
  border-color: #ffffff #514842 #514842 #ffffff;
  box-shadow: 9px 10px 0 rgba(0, 0, 0, 0.5);
  animation: popup-in 0.22s ease-out both;
}

@keyframes popup-in {
  from {
    opacity: 0;
    transform: scale(0.86) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 3px 3px 3px 7px;
  color: #fff;
  background: linear-gradient(90deg, #001c78, #166bc4 60%, #4d9bea);
  font-family: var(--body);
  font-size: 10px;
  font-weight: bold;
  text-shadow: 1px 1px 0 #001039;
}

.popup-close {
  flex: 0 0 auto;
  width: 19px;
  height: 17px;
  padding: 0;
  color: #000;
  background: #d9d4ca;
  border: 1px solid;
  border-color: #fff #48413b #48413b #fff;
  box-shadow: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 13px;
  text-align: center;
}

.popup-close:active {
  padding: 0;
  border-color: #48413b #fff #fff #48413b;
}

.popup-body {
  padding: 9px 13px 10px;
  text-align: center;
  background:
    repeating-linear-gradient(0deg, rgba(109, 81, 36, 0.04) 0 1px, transparent 1px 4px),
    #fffdf3;
  border-top: 2px solid #fff;
}

.popup-confetti {
  margin: 0;
  color: #f00084;
  font-size: 15px;
  letter-spacing: 5px;
  line-height: 1;
}

.popup-congrats {
  margin: 5px 0 1px;
  color: #d50000;
  font-family: var(--fun);
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1;
  text-shadow:
    2px 2px 0 #ffdf3f,
    -1px -1px 0 #fff;
  animation: popup-wiggle 0.9s steps(2, end) infinite;
}

@keyframes popup-wiggle {
  0%,
  100% {
    transform: rotate(-0.8deg);
  }
  50% {
    transform: rotate(0.8deg);
  }
}

.popup-big {
  margin: 5px 0 7px;
  color: #1b0750;
  font-family: var(--fun);
  font-size: 15px;
  font-weight: bold;
}

.popup-million {
  color: #cc0074;
  font-size: 21px;
  text-shadow: 1px 1px 0 #ffd8ef;
}

.popup-offer {
  margin: 7px 0;
  padding: 7px 4px;
  color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 9px, transparent 9px 18px),
    linear-gradient(180deg, #dc006c, #76008f);
  border: 2px solid #35002d;
  box-shadow: inset 0 0 0 2px #ffb7ec;
  font-family: var(--fun);
  font-weight: bold;
  line-height: 1.15;
  text-shadow: 2px 2px 0 #3c003f;
}

.popup-free {
  display: inline-block;
  margin-right: 4px;
  padding: 0 4px;
  color: #d30000;
  background: #fff94f;
  border: 1px solid #5e3300;
  font-size: 19px;
  text-shadow: 1px 1px 0 #fff;
  transform: rotate(-3deg);
}

.popup-modem {
  font-size: 22px;
  letter-spacing: 0.4px;
}

.popup-plus {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: 0.2px;
}

.popup-small {
  margin: 6px 0;
  color: #4f3c5e;
  font-size: 10px;
}

.popup-ok {
  min-width: 102px;
  margin: 2px auto;
  font-family: var(--fun);
  font-size: 14px;
}

.popup-fine {
  margin: 7px 0 0;
  color: #8a7a78;
  font-family: Arial, sans-serif;
  font-size: 7px;
  line-height: 1.35;
}

/* =========================================================
   Sparkle cursor
   ========================================================= */

.sparkle-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  pointer-events: none;
}

.sparkle {
  position: fixed;
  color: #fff36d;
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 0 4px #ff5ccd, 0 0 8px #fff;
  animation: sparkle-float 0.72s ease-out forwards;
}

@keyframes sparkle-float {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.65) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 16px) scale(1.35) rotate(70deg);
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  main > .box,
  .sidebar .box {
    transform: none;
  }

  main > .ssn-box,
  main > .guestbook {
    width: 100%;
    margin-left: 0;
  }

  .box-head h2 {
    transform: none;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    align-items: start;
  }

  .sidebar .box {
    margin-bottom: 0;
  }

  .counter-box,
  .midi-box {
    grid-column: span 1;
  }

  .links-box {
    grid-column: span 2;
  }

  .badge-wall {
    grid-template-columns: repeat(4, 88px);
  }
}

@media (max-width: 720px) {
  .page {
    width: calc(100% - 12px);
    padding-top: 8px;
  }

  main {
    display: block;
  }

  main > .box {
    margin-bottom: 13px;
  }

  .box-head h2 {
    transform: none;
  }

  .mini-receipt {
    display: none;
  }

  .mini-password .mini-inner {
    width: 137px;
    padding: 13px 8px 8px;
  }

  .sticky-value {
    font-size: 17px;
  }

  .sticky-top {
    font-size: 7px;
  }

  .sticky-foot {
    font-size: 6px;
  }

  .burst {
    top: -13px;
    right: 8px;
    width: 62px;
    height: 62px;
    font-size: 7px;
  }

  .burst b {
    font-size: 8px;
  }

  .burst small {
    display: none;
  }

  .top-strip {
    font-size: 8px;
    padding: 3px 6px;
  }

  .top-strip-center {
    display: none;
  }

  .site-header {
    padding: 11px 12px 12px;
  }

  .header-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .logo {
    font-size: clamp(38px, 10.4vw, 56px);
    letter-spacing: -2px;
    white-space: normal;
  }

  .logo-domain {
    display: inline-block;
    margin-left: 3px;
    font-size: 0.52em;
  }

  .tagline {
    font-size: 12px;
  }

  .header-note {
    font-size: 10px;
  }

  .header-tools {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 6px;
    align-items: center;
  }

  .refresh-button {
    grid-row: span 2;
    width: 100%;
    font-size: 10px;
  }

  .refresh-status {
    display: none;
  }

  .tool-row {
    grid-column: 2;
    grid-row: 1;
  }

  .viewed {
    grid-column: 2;
    grid-row: 2;
    font-size: 8px;
    text-align: right;
  }

  .header-sparkle {
    display: none;
  }

  .marquee {
    font-size: 10px;
  }

  .main-nav {
    gap: 3px 5px;
    padding: 5px 6px;
    font-size: 10px;
  }

  .main-nav span {
    display: none;
  }

  .construction {
    gap: 5px;
    padding: 4px 5px;
  }

  .construction-copy {
    padding: 3px 5px;
    font-size: 9px;
  }

  .construction-small {
    display: block;
    font-size: 8px;
  }

  .construction-sign {
    width: 18px;
    height: 18px;
    font-size: 12px;
  }

  .content-frame {
    padding: 5px;
    border-width: 4px;
    box-shadow:
      0 0 0 2px #2a1748,
      5px 6px 0 rgba(0, 0, 0, 0.35);
  }

  .box-head h2 {
    font-size: 18px;
  }

  .small-head h2 {
    font-size: 14px;
  }

  .welcome-inner {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 9px;
  }

  .photo-column {
    display: flex;
    justify-content: center;
    width: 118px;
    margin: 2px auto 0;
  }

  .photo-tape {
    left: 31px;
  }

  .ssn-scene {
    width: 94%;
  }

  .scanner-bed {
    margin: 7px 6px 9px;
    padding: 15px 4px 8px;
  }

  .scan-caption {
    font-size: 8px;
  }

  .table-wrap {
    margin: 7px 6px 9px;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table thead {
    display: none;
  }

  .info-table tbody tr {
    padding: 6px 7px;
    border-bottom: 2px solid #b9a8d0;
  }

  .info-table tbody tr:last-child {
    border-bottom: none;
  }

  .info-table tbody th,
  .info-table tbody td {
    padding: 1px 0;
    border: none;
    background: transparent !important;
  }

  .info-table tbody th {
    color: #7d1572;
    font-size: 11px;
  }

  .info-table tbody th::before {
    content: "★ ";
    color: #e30079;
  }

  .info-value {
    padding-bottom: 3px !important;
    font-size: 11px;
  }

  .info-value::before {
    content: "→ ";
    color: #a18dbd;
  }

  .info-note {
    font-size: 9.5px;
  }

  .info-note::before {
    content: "note: ";
    color: #a26c00;
    font-weight: bold;
  }

  .upload-window {
    margin: 7px 6px 9px;
  }

  .upload-file-row {
    display: block;
    line-height: 1.5;
  }

  .download-inner {
    padding: 10px;
  }

  .download-button {
    width: 100%;
    font-size: 9px;
  }

  .guestbook-list {
    margin: 0 7px;
  }

  .guestbook-actions,
  .guestbook-pages {
    margin-right: 7px;
    margin-left: 7px;
  }

  .sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .links-box {
    grid-column: span 1;
  }

  .badge-wall {
    grid-template-columns: repeat(2, 88px);
  }

  .site-footer {
    padding: 10px;
    font-size: 9px;
  }

  .footer-main {
    font-size: 10px;
  }

  .bouncing-map {
    width: 218px;
  }

  .map-canvas {
    height: 132px;
  }

  .map-titlebar {
    font-size: 6.5px;
  }

  .map-hits b {
    font-size: 7px;
  }

  .road-one {
    top: 47px;
  }

  .road-two {
    top: 100px;
  }

  .road-three {
    left: 49px;
    width: 10px;
  }

  .road-four {
    left: 163px;
    width: 7px;
  }

  .street-one {
    top: 57px;
    left: 59px;
  }

  .street-two {
    top: 34px;
    left: 170px;
  }

  .street-three {
    top: 89px;
    left: 7px;
  }

  .map-pin {
    top: 67px;
    left: 108px;
  }

  .map-river {
    top: 81px;
    height: 20px;
    width: 280px;
  }

  .map-park {
    top: 8px;
    left: 8px;
    width: 58px;
    height: 33px;
  }

  .map-address {
    left: 5px;
    bottom: 5px;
    font-size: 6px;
    max-width: calc(100% - 10px);
  }

  .map-address-sub {
    font-size: 5px;
  }

  .map-note {
    display: none;
  }

  .map-scale {
    right: 5px;
    bottom: 5px;
    font-size: 5px;
  }

  .map-compass {
    top: 5px;
    right: 6px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 9px 9px 10px;
  }

  .logo {
    font-size: 37px;
    letter-spacing: -2px;
  }

  .logo-domain {
    display: block;
    margin-left: 0;
    font-size: 0.56em;
    letter-spacing: -1px;
  }

  .kicker {
    font-size: 7px;
    letter-spacing: 1.1px;
  }

  .tagline {
    font-size: 11px;
  }

  .tagline strong {
    display: inline;
  }

  .header-tools {
    grid-template-columns: minmax(0, 1fr);
  }

  .refresh-button {
    grid-row: auto;
  }

  .tool-row {
    grid-column: 1;
    grid-row: auto;
  }

  .viewed {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
    padding-left: 2px;
  }

  .box-head h2 {
    font-size: 16px;
  }

  .ssn-name {
    font-size: 9px;
  }

  .ssn-number {
    letter-spacing: 0.8px;
  }

  .guest-head {
    display: block;
  }

  .guest-date {
    display: block;
  }

  .badge-wall {
    grid-template-columns: repeat(2, 88px);
  }

  .bouncing-map {
    width: 198px;
  }

  .map-canvas {
    height: 122px;
  }

  .map-pin {
    top: 61px;
    left: 96px;
  }

  .map-address {
    max-width: 145px;
  }

  .map-scale {
    display: none;
  }

  .popup-congrats {
    font-size: 24px;
  }

  .popup-modem {
    font-size: 18px;
  }

  .popup-free {
    font-size: 16px;
  }
}

/* =========================================================
   Calm mode / reduced motion
   ========================================================= */

body.calm .marquee-track,
body.calm .marquee-track:hover {
  animation: none;
  transform: none;
  width: 100%;
  white-space: normal;
}

body.calm .marquee {
  white-space: normal;
}

body.calm .marquee-run {
  display: none;
}

body.calm .marquee-track::before {
  content: "★ WELCOME TO MY HOMEPAGE ★ MY SOCIAL SECURITY CARD IS IN THE MIDDLE ★ PLEASE SIGN MY GUESTBOOK ★ BEST VIEWED IN NETSCAPE NAVIGATOR 4.0 AT 800×600 ★";
  display: block;
  padding: 0 4px;
  white-space: normal;
}

body.calm .blink,
body.calm .new-badge {
  animation: none;
  opacity: 1;
}

body.calm .header-sparkle,
body.calm .eq-bars i,
body.calm .progress-fill,
body.calm .popup-congrats,
body.calm .buddy-dot {
  animation-play-state: paused !important;
}

body.calm .buddy-online .buddy-dot {
  animation: none;
  opacity: 1;
}

body.calm .ssn-card {
  animation: none;
  transform: rotateY(0deg);
}

body.calm .mini-floater {
  transform: none !important;
}

body.calm .mini-password {
  top: auto;
  left: 14px;
  bottom: 165px;
}

body.calm .mini-receipt {
  top: auto;
  left: 14px;
  bottom: 18px;
}

body.calm .mini-inner {
  animation: none;
}

body.calm .bouncing-map {
  left: auto !important;
  top: auto !important;
  right: 12px;
  bottom: 12px;
  transform: none !important;
}

body.calm .bouncing-map,
body.calm .map-canvas {
  transition: none;
}

body.calm .sparkle-layer {
  display: none;
}

body.calm .progress-fill {
  transition: none;
}

body.calm .popup-ad {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .header-sparkle {
    opacity: 0.8;
  }

  .marquee-track {
    animation: none;
    transform: none;
    width: 100%;
    white-space: normal;
  }

  .marquee {
    white-space: normal;
  }

  .marquee-run {
    display: none;
  }

  .marquee-track::before {
    content: "★ WELCOME TO MY HOMEPAGE ★ MY SOCIAL SECURITY CARD IS IN THE MIDDLE ★ PLEASE SIGN MY GUESTBOOK ★ BEST VIEWED IN NETSCAPE NAVIGATOR 4.0 AT 800×600 ★";
    display: block;
    padding: 0 4px;
    white-space: normal;
  }

  .blink,
  .new-badge {
    animation: none !important;
    opacity: 1;
  }

  .ssn-card {
    animation: none !important;
    transform: rotateY(0deg);
  }

  .ssn-scene:hover .ssn-card,
  .ssn-scene:focus-within .ssn-card {
    transform: rotateY(0deg);
  }

  .bouncing-map {
    left: auto !important;
    top: auto !important;
    right: 12px;
    bottom: 12px;
    transform: none !important;
  }

  .mini-floater {
    transform: none !important;
  }

  .mini-password {
    top: auto;
    left: 14px;
    bottom: 165px;
  }

  .mini-receipt {
    top: auto;
    left: 14px;
    bottom: 18px;
  }

  .mini-inner {
    animation: none !important;
  }

  .map-canvas {
    transition: none;
  }

  .sparkle-layer {
    display: none !important;
  }

  .progress-fill {
    transition: none;
    animation: none;
  }

  .popup-ad,
  .popup-congrats {
    animation: none !important;
  }
}

@media print {
  .bouncing-map,
  .mini-floater,
  .popup-layer,
  .sparkle-layer,
  .header-tools,
  .marquee,
  .construction,
  .midi-box {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .page {
    width: 100%;
  }

  .content-frame,
  .site-header,
  .site-footer {
    box-shadow: none;
  }
}

/* =========================================================
   !!! DO NOT ORGANIZE THIS PAGE !!!
   The layout below is deliberately a three-rail GeoCities
   pile with mismatched paper, windows and stickers.
   ========================================================= */

.page {
  width: min(1224px, calc(100% - 24px));
  padding-top: 8px;
}

body {
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 83, 195, 0.035) 0 26px, transparent 26px 52px),
    radial-gradient(circle at 14px 15px, rgba(255, 255, 255, 0.62) 1px, transparent 1.7px),
    radial-gradient(circle at 48px 31px, rgba(255, 96, 195, 0.5) 1.2px, transparent 1.8px),
    radial-gradient(circle at 29px 53px, rgba(86, 231, 255, 0.42) 1px, transparent 1.6px),
    linear-gradient(45deg, rgba(108, 62, 210, 0.12) 25%, transparent 25%, transparent 75%, rgba(108, 62, 210, 0.12) 75%);
}

.content-frame {
  position: relative;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.content-frame::before {
  content: "★ WELCOME 2 MY HOMEPAGE ★";
  position: absolute;
  z-index: 0;
  top: 90px;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.045);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(54px, 8.8vw, 116px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.9;
  white-space: nowrap;
  pointer-events: none;
  transform: rotate(-6deg);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr) 296px;
  grid-template-areas: "left main right";
  gap: 22px 18px;
  align-items: start;
}

.col-main {
  grid-area: main;
  min-width: 0;
}

main > .ssn-box {
  order: 1;
}

main > .welcome {
  order: 2;
}

main > .info-box {
  order: 3;
}

main > .upload-box {
  order: 4;
}

main > .download-box {
  order: 5;
}

main > .guestbook {
  order: 6;
}

.rail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rail-left {
  grid-area: left;
  margin-top: 58px;
  margin-left: -10px;
}

.rail-right {
  grid-area: right;
  margin-top: 18px;
  margin-right: -10px;
}

.rail .box {
  margin-bottom: 0;
}

.rail-left .counter-digit {
  width: 16px;
  font-size: 17px;
  line-height: 23px;
}

.rail-left .counter-comma {
  width: 5px;
  font-size: 13px;
}

/* ----- a much louder header ----- */

.top-strip {
  color: #16002a;
  background:
    repeating-linear-gradient(90deg, #fff36d 0 44px, #ff8ad9 44px 88px);
  border: 2px solid #2b0a3e;
  font-size: 9px;
  font-weight: bold;
  text-shadow: none;
}

.top-strip-center {
  color: #3b005c;
}

.site-header {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 7px),
    radial-gradient(circle at 17% 30%, rgba(255, 76, 201, 0.62), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(67, 242, 255, 0.36), transparent 29%),
    linear-gradient(135deg, #07020f 0%, #3d075f 38%, #b31176 68%, #14042b 100%);
  border: 4px dashed #fff36d;
  box-shadow:
    0 0 0 3px #2c0b4b,
    12px 13px 0 rgba(0, 0, 0, 0.55);
}

.site-header::before {
  border: 2px dotted #ff7ad9;
}

.site-header::after {
  width: 260px;
  height: 260px;
  border: 22px double rgba(255, 243, 109, 0.18);
}

.logo {
  font-size: clamp(34px, 7.3vw, 86px);
  letter-spacing: -4px;
  transform: rotate(-1.4deg);
}

.logo-main {
  background-image: repeating-linear-gradient(
    90deg,
    #ff2d9d 0%,
    #ff2d9d 14%,
    #ff9700 14%,
    #ff9700 28%,
    #efff3a 28%,
    #efff3a 42%,
    #4dff96 42%,
    #4dff96 56%,
    #43e6ff 56%,
    #43e6ff 70%,
    #c07bff 70%,
    #c07bff 84%,
    #ff2d9d 84%,
    #ff2d9d 100%
  );
  -webkit-text-stroke: 2px #170321;
  filter:
    drop-shadow(4px 4px 0 #000)
    drop-shadow(0 0 9px rgba(255, 83, 200, 0.5));
}

.logo-domain {
  display: inline-block;
  color: #fff36d;
  background: none;
  -webkit-text-fill-color: #fff36d;
  -webkit-text-stroke: 1.4px #1a0424;
  text-shadow:
    3px 3px 0 #d10070,
    -2px -2px 0 #3f00b0;
  transform: rotate(2.5deg);
}

.kicker {
  color: #8ff6ff;
  font-size: 8px;
  letter-spacing: 2.4px;
}

.tagline {
  margin-top: 5px;
  color: #f4ffe8;
  font-size: 15px;
}

.tagline strong {
  color: #fff36d;
  border-bottom: 2px dotted #ff5fc6;
}

.header-note {
  color: #ffc3ed;
  font-family: var(--fun);
}

.header-tools {
  width: 196px;
  padding: 8px;
  color: #240031;
  background:
    repeating-linear-gradient(0deg, rgba(157, 102, 0, 0.07) 0 1px, transparent 1px 18px),
    #fff8bd;
  border: 3px solid #1d062a;
  box-shadow: 5px 5px 0 #000;
  transform: rotate(1.6deg);
}

.refresh-button {
  background: linear-gradient(180deg, #fff, #ffd6f4 45%, #ff7ac8 50%, #ffe6f8);
}

.viewed {
  color: #3b1b00;
  text-shadow: none;
}

.viewed strong {
  color: #8c005c;
}

.header-sparkle {
  color: #fff36d;
  font-size: 22px;
}

/* ----- tabs, not a tidy nav bar ----- */

.main-nav {
  gap: 7px;
  padding: 8px 4px 5px;
  background: transparent;
  border: 0;
  font-family: var(--fun);
}

.main-nav span {
  display: none;
}

.main-nav a {
  display: inline-block;
  padding: 3px 8px;
  color: #0000c8;
  background: #fff0fb;
  border: 2px outset #fff;
  box-shadow: 2px 2px 0 #2a0a44;
  text-decoration: underline;
  transform: rotate(-1.2deg);
}

.main-nav a:nth-of-type(even) {
  background: #d8fff4;
  transform: rotate(1.1deg);
}

.main-nav a:nth-of-type(3n) {
  background: #fff79a;
  transform: rotate(-2deg) translateY(2px);
}

.main-nav a:hover {
  color: #bd005e;
  background: #fffca8;
  transform: rotate(0deg) scale(1.04);
}

.main-nav a[href="#ssn"]::after {
  content: " NEW!";
  display: inline-block;
  margin-left: 2px;
  padding: 0 2px;
  color: #fff;
  background: #e60000;
  border: 1px solid #610000;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: bold;
  vertical-align: 2px;
  text-decoration: none;
  animation: blink 1.2s steps(1, end) infinite;
}

.main-nav a[href="#guestbook"]::before {
  content: "♥ ";
  color: #e5007d;
}

/* ----- the marquee is now bubblegum ----- */

.marquee {
  color: #fff36d;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 9px, transparent 9px 18px),
    #ff2f9d;
  border: 3px dotted #fff36d;
  box-shadow: 3px 3px 0 #2c003b;
  font-size: 12px;
  text-shadow: 2px 2px 0 #47002f;
}

.marquee::before {
  background: linear-gradient(90deg, #ff2f9d, transparent);
}

.marquee::after {
  background: linear-gradient(-90deg, #ff2f9d, transparent);
}

/* ----- construction tape that actually moves ----- */

.construction {
  border: 3px ridge #ff6a00;
  background: repeating-linear-gradient(135deg, #ffe100 0 16px, #140b03 16px 32px);
  animation: caution-slide 1.6s linear infinite;
}

@keyframes caution-slide {
  to {
    background-position: 64px 0;
  }
}

.construction-copy {
  background: #fff8c7;
  border: 2px dashed #9a1f00;
  transform: rotate(-0.4deg);
}

/* ----- bonus banner ad ----- */

.banner-ad {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  width: min(520px, calc(100% - 20px));
  margin: 10px auto 0;
  padding: 5px 12px;
  color: #23003a;
  background:
    repeating-linear-gradient(135deg, #fff36d 0 12px, #ffbb00 12px 24px);
  border: 3px ridge #ff0080;
  box-shadow: 6px 6px 0 #000;
  font-family: var(--fun);
  font-size: 10px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  transform: rotate(-0.5deg);
}

.banner-ad-sticker {
  padding: 0 4px;
  color: #fff;
  background: #cf0000;
  border: 2px solid #4c0000;
  font-size: 18px;
  font-weight: 900;
  text-shadow: 1px 1px 0 #380000;
  transform: rotate(-7deg);
}

.banner-ad-copy {
  flex: 1 1 220px;
}

.banner-ad-copy b {
  color: #b0005d;
  font-size: 12px;
  animation: blink 0.95s steps(1, end) infinite;
}

.banner-ad-star {
  color: #8e00cf;
  font-size: 27px;
  line-height: 1;
  animation: ad-spin 3.4s linear infinite;
}

@keyframes ad-spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   PAPERS, WINDOWS AND SCRAPS
   ========================================================= */

/* welcome: a sheet of notebook paper */

.welcome {
  background:
    linear-gradient(90deg, transparent 0 33px, rgba(221, 49, 93, 0.32) 33px 35px, transparent 35px),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(67, 121, 187, 0.18) 23px 24px),
    #fffdf0;
  border: 0;
  box-shadow: 12px 13px 0 rgba(0, 0, 0, 0.46);
  color: #1e2742;
}

.welcome .box-head {
  justify-content: flex-start;
  padding: 13px 14px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.welcome .box-head::before {
  content: "♥";
  color: #e5007d;
  font-size: 17px;
  text-shadow: none;
}

.welcome .box-head::after {
  content: "✎ doodle";
  color: #9440b0;
  font-family: var(--fun);
  font-size: 8px;
  letter-spacing: 1px;
  text-shadow: none;
  transform: rotate(-7deg);
}

.welcome .box-head h2 {
  display: inline-block;
  flex: 0 1 auto;
  padding: 1px 7px;
  color: #c7006b;
  background: #fff36d;
  -webkit-text-fill-color: #c7006b;
  -webkit-text-stroke: 0.5px #4e002b;
  font-size: clamp(22px, 3vw, 34px);
  text-align: left;
  text-shadow: none;
  filter: none;
  transform: rotate(-2.2deg);
  box-shadow: 3px 3px 0 rgba(72, 0, 42, 0.25);
}

.welcome-inner {
  gap: 16px;
  padding: 11px 16px 13px;
}

.welcome .lead {
  color: #1d2a4b;
  font-family: var(--fun);
  font-size: 12.5px;
  line-height: 1.55;
}

.welcome .lead::first-letter {
  color: #d00070;
  text-shadow: 2px 2px 0 #ffe267;
}

.photo-frame {
  border: 6px solid #fff;
  outline: 2px solid #523174;
  box-shadow: 7px 7px 0 rgba(44, 20, 69, 0.3);
  transform: rotate(-3.2deg);
}

.star-list li::before {
  content: "✿";
  color: #d10070;
  font-size: 11px;
}

.welcome-signoff {
  color: #8d217f;
}

.welcome .signature {
  color: #e0005d;
  text-shadow: 1px 1px 0 #fff36d;
}

/* ssn: a dark scrapbook page with neon marker */

.ssn-box {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 73% 48%, rgba(255, 243, 109, 0.14) 0 1px, transparent 2px),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px),
    #180a2b;
  background-size: 47px 47px, 63px 63px, 28px 28px, 100% 100%;
  border: 3px dashed #b6ff42;
  box-shadow:
    10px 11px 0 #000,
    0 0 0 5px #38105c;
  color: #f6eaff;
}

.ssn-box .box-head {
  padding: 12px 16px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ssn-box .box-head::before {
  content: "✷";
  color: #b6ff42;
  font-size: 18px;
  text-shadow: 0 0 8px #8cff2e;
}

.ssn-box .box-head::after {
  content: "✷";
  color: #ff73cd;
  font-size: 18px;
  text-shadow: 0 0 8px #ff3fa4;
}

.ssn-box .box-head h2 {
  padding: 0 4px;
  color: #b6ff42;
  background: none;
  -webkit-text-fill-color: #b6ff42;
  -webkit-text-stroke: 1.2px #12031f;
  font-size: clamp(22px, 3vw, 31px);
  text-shadow:
    3px 3px 0 #d00070,
    -1px -1px 0 #2c0044;
  filter: none;
  transform: rotate(1.4deg);
}

.ssn-box .box-intro {
  padding: 3px 16px 0;
  color: #d8c4ff;
  font-family: var(--fun);
  font-size: 10px;
  font-style: normal;
  text-align: center;
}

.hand-note {
  position: absolute;
  z-index: 8;
  top: 52px;
  left: 8px;
  color: #fff36d;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  text-shadow: 1px 1px 0 #3a004c;
  transform: rotate(-9deg);
}

.ssn-box .scanner-bed {
  margin: 9px 16px 14px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 243, 109, 0.08) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(255, 243, 109, 0.08) 0 1px, transparent 1px 7px),
    #20112f;
  border: 3px solid #fff36d;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
}

.ssn-box .scan-label {
  color: #fff36d;
}

.ssn-box .scan-caption {
  color: #b9ff61;
}

.ssn-box .card-pause-button {
  color: #20002f;
  background: #b9ff61;
  border-color: #f4ffcf #2e5500 #2e5500 #f4ffcf;
}

/* personal info: a screaming printout */

.info-box {
  background:
    radial-gradient(circle at 7px 9px, rgba(55, 86, 36, 0.12) 0 3px, transparent 3.5px) 0 0 / 24px 24px,
    #f8ffe8;
  border: 0;
  box-shadow: 12px 13px 0 rgba(0, 0, 0, 0.44);
}

.info-box::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3px;
  width: 8px;
  opacity: 0.55;
  pointer-events: none;
  background: radial-gradient(circle, #70855c 0 2.5px, transparent 3px) 0 0 / 8px 24px;
}

.info-box .box-head {
  justify-content: flex-start;
  padding: 13px 18px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.info-box .box-head::before {
  content: "☞";
  color: #e5007d;
  font-size: 20px;
  text-shadow: none;
}

.info-box .box-head::after {
  content: "database_printout.htm";
  color: #6b7a52;
  font-family: var(--mono);
  font-size: 7px;
  text-shadow: none;
}

.info-box .box-head h2 {
  display: inline-block;
  flex: 0 1 auto;
  padding: 2px 9px;
  color: #fff;
  background: #ff2f9b;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke: 1px #3c001d;
  box-shadow: 4px 4px 0 #2c0b3e;
  font-size: clamp(25px, 3.3vw, 38px);
  text-align: left;
  text-shadow: 2px 2px 0 #72003e;
  filter: none;
  transform: rotate(-1.2deg);
}

.info-box .box-intro {
  padding: 7px 22px 0;
  color: #40552f;
  font-family: var(--fun);
  font-size: 12px;
  font-style: normal;
}

.info-box .table-wrap {
  margin: 9px 14px 15px;
  background: #fff;
  border: 3px solid #1c2613;
  box-shadow: 5px 5px 0 #42243a;
}

.info-table thead th {
  padding: 5px 6px;
  color: #eaff77;
  background: #17121e;
  border: 2px solid #050505;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-shadow: none;
}

.info-table tbody th {
  color: #4a005f;
  background: #d9f7ff;
  border: 1px solid #3e3440;
  font-family: var(--fun);
  font-size: 11px;
}

.info-table tbody td {
  border: 1px solid #3e3440;
}

.info-table tbody tr:nth-child(odd) td {
  background: #effff8;
}

.info-table tbody tr:nth-child(even) td {
  background: #fffce4;
}

.info-table .hot-row th {
  color: #68003c;
  background: #ffb6e5;
}

.info-table .hot-row td {
  background: #fff0a6 !important;
}

.info-value {
  color: #0b0b62;
  font-size: 12px;
}

.info-note {
  color: #4e3f25;
  background: #fff9df !important;
  font-family: var(--fun);
  font-size: 10px;
  font-style: normal;
}

/* upload: a dumb little Windows box in the middle of the mess */

.upload-box {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.upload-box .box-head {
  padding: 3px 8px;
  background: #050505;
  border: 2px solid #65ff72;
  box-shadow: 4px 4px 0 #000;
}

.upload-box .box-head::before,
.upload-box .box-head::after {
  content: "_";
  color: #65ff72;
  font-family: var(--mono);
  font-size: 12px;
  text-shadow: none;
}

.upload-box .box-head h2 {
  color: #65ff72;
  background: none;
  -webkit-text-fill-color: #65ff72;
  -webkit-text-stroke: 0;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 1px;
  text-align: left;
  text-shadow: 0 0 7px rgba(101, 255, 114, 0.6);
  filter: none;
  transform: none;
}

.upload-box .box-intro {
  margin: 0;
  padding: 5px 8px;
  color: #26221f;
  background: #d4d0c8;
  border: 2px solid #fff;
  border-top: 0;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 9px;
  font-style: normal;
}

.upload-window {
  margin: 0;
  border: 3px solid;
  border-color: #ffffff #3a3338 #3a3338 #ffffff;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
}

/* download: a coupon for your pocket */

.download-box {
  background:
    repeating-linear-gradient(0deg, rgba(122, 52, 0, 0.06) 0 1px, transparent 1px 18px),
    #fff36d;
  border: 3px dashed #6e1c00;
  box-shadow: 8px 8px 0 #000;
}

.download-box .box-head {
  padding: 9px 8px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.download-box .box-head::before {
  content: "★";
  color: #d4006b;
  font-size: 15px;
  text-shadow: none;
}

.download-box .box-head::after {
  content: "!!";
  color: #d4006b;
  font-family: var(--mono);
  font-size: 11px;
  text-shadow: none;
}

.download-box .box-head h2 {
  color: #c4005b;
  background: none;
  -webkit-text-fill-color: #c4005b;
  -webkit-text-stroke: 0.5px #4a001f;
  font-size: clamp(20px, 2.4vw, 27px);
  text-shadow: 1px 1px 0 #fffbe0;
  filter: none;
  transform: rotate(-2deg);
}

.download-box .download-inner {
  align-items: center;
  text-align: center;
}

.download-lead {
  color: #5b1400;
  font-size: 15px;
}

.download-small {
  color: #7a3a00;
}

.download-box .floppy {
  transform: rotate(-4deg);
}

.download-button {
  background: #fffdf4;
  border-color: #fff #6b2400 #6b2400 #fff;
}

.download-stamp {
  color: #8a0b63;
  border-top-color: rgba(122, 40, 0, 0.4);
}

/* guestbook: a chalkboard full of friends */

.guestbook {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.05), transparent 32%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 5px),
    #081a16;
  border: 3px solid #59ffa7;
  box-shadow: 11px 12px 0 #000;
  color: #d7ffe7;
}

.guestbook .box-head {
  padding: 10px 14px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.guestbook .box-head::before {
  content: "☺";
  color: #59ffa7;
  font-size: 19px;
  text-shadow: 0 0 7px rgba(89, 255, 167, 0.6);
}

.guestbook .box-head::after {
  content: "♥";
  color: #ff6fcf;
  font-size: 17px;
  text-shadow: none;
}

.guestbook .box-head h2 {
  color: #aaffd0;
  background: none;
  -webkit-text-fill-color: #aaffd0;
  -webkit-text-stroke: 1px #002e1d;
  font-size: clamp(23px, 3vw, 32px);
  text-shadow: 3px 3px 0 #0a3b2b;
  filter: none;
  transform: rotate(-1.1deg);
}

.guestbook .box-intro {
  color: #9ad6b8;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
}

.guestbook-list {
  margin: 0 14px;
}

.guest-entry {
  border-bottom: 1px dashed #2b5e4a;
}

.guest-entry:first-child {
  border-top: 1px dashed #2b5e4a;
}

.guest-name {
  color: #7ff0ff;
}

.guest-name::before {
  content: "☺ ";
  color: #59ffa7;
}

.guest-date {
  color: #5f9b83;
}

.guest-message {
  color: #c9ffe0;
  font-family: var(--mono);
  font-size: 10.5px;
}

.guestbook .box-intro + .guestbook-list {
  margin-top: 7px;
}

.guestbook-actions,
.guestbook-pages {
  color: #85b7a1;
}

.guestbook-thanks {
  color: #ffe76e;
}

.guestbook-pages a {
  color: #8ef4ff;
}

.guestbook .win-button {
  color: #d7ffe7;
  background: #173d2e;
  border-color: #59ffa7 #0e2a20 #0e2a20 #59ffa7;
}

/* =========================================================
   LEFT AND RIGHT RAILS: ASSORTED WINDOWS AND STICKERS
   ========================================================= */

/* counter: a little gravestone */

.counter-box {
  color: #dfffcf;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    #08040d;
  border: 3px double #c6ff45;
  box-shadow: 7px 7px 0 #000;
}

.counter-box .box-head {
  padding: 8px 7px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.counter-box .box-head::before {
  content: "☠";
  color: #c6ff45;
  font-size: 14px;
  text-shadow: none;
}

.counter-box .box-head::after {
  content: "!" !important;
  color: #ff6fcf;
  font-family: var(--mono);
  font-weight: bold;
}

.counter-box .box-head h2 {
  color: #c6ff45;
  background: none;
  -webkit-text-fill-color: #c6ff45;
  -webkit-text-stroke: 0.5px #183000;
  font-size: 16px;
  text-shadow: 0 0 6px rgba(198, 255, 69, 0.5);
  filter: none;
}

.counter-caption {
  color: #b9ff9f;
}

.counter-you {
  color: #c7b4d8;
}

.counter-you b {
  color: #fff36d;
}

.hit-counter {
  margin-bottom: 5px;
  border-color: #556 #fff #fff #556;
}

/* netscape plaque */

.netscape-box {
  padding: 10px;
  color: #4a2c00;
  background:
    repeating-linear-gradient(0deg, rgba(122, 82, 0, 0.08) 0 1px, transparent 1px 19px),
    #fff6bd;
  border: 3px solid #8a5b00;
  box-shadow: 6px 6px 0 #000;
}

.netscape-box p {
  color: #4a2c00;
}

.netscape-box p b {
  color: #8c0060;
}

.viewed-badge {
  transform: rotate(-2.5deg);
}

/* badge wall: scattered, not gridded */

.links-box {
  background:
    repeating-linear-gradient(0deg, rgba(80, 130, 190, 0.13) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(90deg, rgba(80, 130, 190, 0.13) 0 1px, transparent 1px 20px),
    #f6fbff;
  border: 3px solid #2c3e78;
  box-shadow: 6px 6px 0 #000;
}

.links-box .box-head {
  padding: 4px 7px;
  background: #2c3e78;
  border: 0;
}

.links-box .box-head::before,
.links-box .box-head::after {
  color: #fff36d;
  text-shadow: none;
}

.links-box .box-head h2 {
  color: #fff36d;
  background: none;
  -webkit-text-fill-color: #fff36d;
  -webkit-text-stroke: 0.5px #101a3a;
  font-size: 13px;
  text-shadow: none;
  filter: none;
}

.badge-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 5px;
  justify-content: center;
  padding: 10px 7px 3px;
}

.web-badge:nth-child(odd) {
  transform: rotate(-3deg) translateY(1px);
}

.web-badge:nth-child(even) {
  transform: rotate(2.4deg);
}

.web-badge:nth-child(3n) {
  transform: rotate(-1.2deg) translateY(4px);
}

/* webring: a tiny neon niteclub */

.webring-box {
  color: #ffd6f5;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 122, 217, 0.18), transparent 45%),
    #160b22;
  border: 2px solid #ff7ad9;
  box-shadow: 4px 4px 0 #000;
}

.webring-box .box-head {
  padding: 4px 7px 2px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.webring-box .box-head::before,
.webring-box .box-head::after {
  content: "✦";
  color: #ff7ad9;
  text-shadow: none;
}

.webring-box .box-head h2 {
  color: #ff8ad9;
  background: none;
  -webkit-text-fill-color: #ff8ad9;
  -webkit-text-stroke: 0;
  font-size: 13px;
  text-shadow: 0 0 6px rgba(255, 122, 217, 0.4);
  filter: none;
}

.webring-copy {
  color: #d7c3e8;
}

.webring-links a {
  color: #8ef4ff;
}

.webring-box .tiny-copy {
  color: #bda7cd;
}

/* sparkle toggle on a scrap of paper */

.sparkle-box {
  background: #fff9c9;
  border: 2px dashed #7a1a00;
  box-shadow: 4px 4px 0 #000;
  transform: rotate(var(--tilt)) translateX(var(--shift-x));
}

.sparkle-box .tiny-copy {
  color: #6a3a00;
}

/* MIDI window */

.midi-box {
  border: 3px solid #fff;
  box-shadow: 7px 7px 0 #000;
}

.midi-titlebar {
  background: linear-gradient(90deg, #ff0080 0%, #6b00b3 62%, #23003b 100%);
  font-size: 9px;
}

.midi-screen {
  background: #0b2013;
  border-color: #4a4a4a #f5f5f5 #f5f5f5 #4a4a4a;
}

/* awards: a crispy plaque */

.awards-box {
  color: #fff5c2;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 9px, transparent 9px 18px),
    #22102e;
  border: 3px solid #ffdf4f;
  box-shadow: 6px 6px 0 #000;
}

.awards-box .box-head {
  padding: 5px 7px 3px;
  background: #6f4b00;
  border: 0;
}

.awards-box .box-head::before,
.awards-box .box-head::after {
  color: #ffe76e;
  text-shadow: none;
}

.awards-box .box-head h2 {
  color: #fff36d;
  background: none;
  -webkit-text-fill-color: #fff36d;
  -webkit-text-stroke: 0.5px #3a2500;
  font-size: 15px;
  text-shadow: none;
  filter: none;
}

.award-list li {
  color: #ffefb0;
}

.award-list li span {
  color: #fff36d;
}

/* AIM: a yellow buddy window */

.buddy-box {
  background: #fffbd0;
  border: 3px solid #003399;
  box-shadow: 6px 6px 0 #000;
}

.buddy-box .box-head {
  padding: 5px 7px 4px;
  background: linear-gradient(90deg, #001a8c, #1a6ed8);
  border: 0;
}

.buddy-box .box-head::before,
.buddy-box .box-head::after {
  content: "●";
  color: #ffe76e;
  font-size: 9px;
  text-shadow: none;
}

.buddy-box .box-head h2 {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke: 0;
  font-size: 14px;
  text-align: left;
  text-shadow: 1px 1px 0 #001150;
  filter: none;
}

.buddy-name {
  color: #0027a8;
}

.buddy-status {
  color: #6d5600;
}

.buddy-away-msg {
  color: #8a3b00;
}

.buddy-box .tiny-copy {
  color: #725f1a;
}

/* poll: a page from a legal pad */

.poll-box {
  background:
    linear-gradient(90deg, transparent 0 24px, rgba(210, 40, 40, 0.34) 24px 26px, transparent 26px),
    repeating-linear-gradient(0deg, transparent 0 19px, rgba(92, 122, 190, 0.2) 19px 20px),
    #fff9a8;
  border: 2px solid #6c4a00;
  box-shadow: 5px 5px 0 #000;
}

.poll-box .box-head {
  padding: 6px 8px 2px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.poll-box .box-head::before,
.poll-box .box-head::after {
  color: #c4005b;
  text-shadow: none;
}

.poll-box .box-head h2 {
  color: #8a004f;
  background: none;
  -webkit-text-fill-color: #8a004f;
  -webkit-text-stroke: 0.4px #4a0025;
  font-size: 14px;
  filter: none;
}

.poll-question {
  color: #4f1300;
  font-size: 12px;
}

.poll-bar {
  background: #fffdf0;
  border: 2px solid #4a2a00;
}

.poll-box .tiny-copy {
  color: #6b4b00;
}

/* =========================================================
   WEBCAM FLOATER
   ========================================================= */

.mini-webcam {
  z-index: 54;
}

.mini-webcam .mini-inner {
  width: 176px;
  padding: 0 0 4px;
  background: #d4d0c8;
  border: 2px solid;
  border-color: #fff #3f3734 #3f3734 #fff;
  box-shadow: 4px 4px 0 #000;
  font-family: Tahoma, Verdana, sans-serif;
  transform: rotate(2deg);
  animation: webcam-wobble 6.6s ease-in-out infinite;
}

.webcam-title {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 2px 4px 2px 6px;
  color: #fff;
  background: linear-gradient(90deg, #05056e, #b00075 65%, #50002d);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: bold;
  text-shadow: 1px 1px 0 #1e0022;
}

.webcam-screen {
  position: relative;
  height: 94px;
  margin: 4px;
  overflow: hidden;
  background: #0b130c;
  border: 2px solid;
  border-color: #3f3a3f #f3f3f3 #f3f3f3 #3f3a3f;
}

.webcam-static {
  position: absolute;
  inset: -20%;
  opacity: 0.5;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(141, 255, 149, 0.14) 0 2px, transparent 2px 5px);
  animation: webcam-noise 0.18s steps(2, end) infinite;
}

@keyframes webcam-noise {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-8px, 5px);
  }
  100% {
    transform: translate(6px, -4px);
  }
}

.webcam-nosignal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #baffad;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(150, 255, 145, 0.7);
}

.webcam-live {
  position: absolute;
  z-index: 2;
  top: 3px;
  left: 5px;
  color: #ff5353;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: bold;
  text-shadow: 0 0 5px #ff0000;
  animation: blink 1.15s steps(1, end) infinite;
}

.webcam-caption {
  margin: 1px 3px 0;
  color: #4b3d4e;
  font-family: var(--fun);
  font-size: 7px;
  font-style: italic;
  line-height: 1.25;
  text-align: center;
}

@keyframes webcam-wobble {
  0%,
  100% {
    transform: rotate(2.2deg);
  }
  50% {
    transform: rotate(-1.7deg);
  }
}

/* webcam static placement for calm/reduced mode */

body.calm .mini-webcam {
  top: 88px;
  right: 14px;
  bottom: auto;
  left: auto;
}

body.calm .webcam-static,
body.calm .webcam-live {
  animation: none;
}

body.calm .construction,
body.calm .banner-ad-star,
body.calm .banner-ad-copy b,
body.calm .main-nav a[href="#ssn"]::after {
  animation: none !important;
}

/* =========================================================
   RESPONSIVE CHAOS
   ========================================================= */

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "main"
      "left"
      "right";
    gap: 18px;
  }

  .col-main,
  .rail {
    min-width: 0;
  }

  .rail-left,
  .rail-right {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }

  main > .box,
  .rail .box {
    transform: none !important;
  }

  .box-head h2 {
    transform: none !important;
  }

  main > .ssn-box,
  main > .guestbook {
    width: 100%;
    margin-left: 0;
  }

  .content-frame::before {
    display: none;
  }

  .rail .box {
    margin-bottom: 0;
  }

  .rail .links-box {
    grid-column: 1 / -1;
  }

  .rail .sparkle-box {
    grid-column: 1 / -1;
  }

  .content-frame {
    margin-top: 6px;
  }
}

@media (max-width: 720px) {
  .page {
    width: calc(100% - 10px);
    padding-top: 6px;
  }

  .site-header {
    border-width: 3px;
    box-shadow:
      0 0 0 2px #2c0b4b,
      7px 8px 0 rgba(0, 0, 0, 0.48);
  }

  .logo {
    font-size: clamp(32px, 9.2vw, 46px);
    letter-spacing: -2px;
    transform: rotate(-1deg);
  }

  .logo-main {
    -webkit-text-stroke-width: 1.4px;
  }

  .logo-domain {
    transform: rotate(1.5deg);
  }

  .header-tools {
    width: 100%;
    transform: none;
    padding: 6px;
  }

  .main-nav {
    gap: 5px;
    padding: 6px 2px 4px;
  }

  .main-nav a {
    transform: rotate(-0.6deg);
    font-size: 9px;
  }

  .main-nav a:nth-of-type(even) {
    transform: rotate(0.7deg);
  }

  .main-nav a:nth-of-type(3n) {
    transform: rotate(-1deg);
  }

  .banner-ad {
    width: calc(100% - 12px);
    margin-top: 7px;
    padding: 4px 7px;
    font-size: 8px;
    transform: none;
  }

  .banner-ad-sticker {
    font-size: 15px;
  }

  .banner-ad-copy b {
    font-size: 10px;
  }

  .banner-ad-star {
    display: none;
  }

  .rail,
  .rail-left,
  .rail-right {
    display: block;
    margin: 0;
    width: 100%;
  }

  .rail .box {
    margin-bottom: 13px;
    width: 100%;
  }

  .rail .links-box,
  .rail .sparkle-box {
    grid-column: auto;
  }

  .mini-webcam,
  .mini-receipt {
    display: none;
  }

  .mini-password {
    max-width: 150px;
  }

  .welcome .box-head h2,
  .info-box .box-head h2,
  .ssn-box .box-head h2,
  .guestbook .box-head h2 {
    font-size: 21px;
  }

  .info-box .box-head::after {
    display: none;
  }

  .info-box .box-intro {
    font-size: 10px;
    padding-top: 5px;
  }

  .info-table thead {
    display: none;
  }

  .info-box .table-wrap {
    margin: 7px 6px 11px;
  }

  .info-table thead {
    display: none;
  }

  .info-table tbody th,
  .info-table tbody td {
    padding: 1px 0;
    background: transparent;
    border: 0;
  }

  .info-table tbody tr:nth-child(odd) td,
  .info-table tbody tr:nth-child(even) td {
    background: transparent;
  }

  .info-table tbody th {
    color: #4a005f;
  }

  .info-table .hot-row th,
  .info-table .hot-row td {
    background: transparent !important;
  }

  .info-note {
    background: transparent !important;
    font-size: 9.5px;
  }

  .welcome-inner {
    padding: 10px;
  }

  .ssn-box .scanner-bed {
    margin: 9px 7px 12px;
    padding: 13px 4px 8px;
  }

  .ssn-box .box-head {
    padding-top: 9px;
  }

  .hand-note {
    display: none;
  }

  .guestbook-list {
    margin: 0 8px;
  }

  .guestbook-actions,
  .guestbook-pages {
    margin-right: 8px;
    margin-left: 8px;
  }

  .upload-box .box-head h2 {
    font-size: 12px;
  }

  .download-box {
    width: 100%;
    margin-left: 0;
  }

  .download-box .download-inner {
    padding: 10px;
  }

  .download-box .download-button {
    width: 100%;
  }

  .midi-box,
  .awards-box,
  .buddy-box,
  .poll-box,
  .counter-box,
  .netscape-box,
  .links-box,
  .webring-box,
  .sparkle-box {
    width: 100%;
  }

  .counter-box .box-head h2 {
    font-size: 15px;
  }

  .rail-left .counter-digit {
    width: 16px;
    font-size: 17px;
  }

  .burst {
    top: -24px;
    right: 2px;
    width: 54px;
    height: 54px;
    font-size: 6px;
  }

  .burst b {
    font-size: 7px;
  }

  .burst small {
    display: none;
  }

  .bouncing-map {
    width: 188px;
  }

  .mini-password .mini-inner {
    width: 124px;
  }

  .sticky-value {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .logo {
    font-size: 33px;
    letter-spacing: -1.5px;
  }

  .tagline {
    font-size: 11px;
  }

  .header-note {
    font-size: 10px;
  }

  .box-head h2,
  .welcome .box-head h2,
  .info-box .box-head h2,
  .ssn-box .box-head h2,
  .guestbook .box-head h2 {
    font-size: 18px;
  }

  .main-nav a {
    font-size: 8px;
    padding: 2px 5px;
  }

  .banner-ad-copy {
    font-size: 8px;
  }

  .mini-password .mini-inner {
    width: 120px;
  }

  .sticky-value {
    font-size: 15px;
  }

  .poll-box,
  .buddy-box {
    font-size: 9px;
  }

  .download-box .box-head h2 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .construction,
  .banner-ad-star,
  .banner-ad-copy b,
  .main-nav a[href="#ssn"]::after,
  .webcam-static,
  .webcam-live {
    animation: none !important;
  }

  .mini-webcam {
    top: 88px;
    right: 14px;
    bottom: auto;
    left: auto;
    transform: none !important;
  }

  .mini-webcam .mini-inner {
    animation: none !important;
  }
}

@media print {
  .banner-ad,
  .mini-webcam {
    display: none !important;
  }
}

