/* Harper's intentionally nostalgic Myspace recreation. */
:root {
  --my-blue: #003399;
  --my-blue-light: #6698cb;
  --my-blue-pale: #e8f1fb;
  --my-orange: #ff6600;
  --my-pink: #ff4eb8;
  --my-pink-pale: #fff0fa;
  --my-purple: #7b2cbf;
  --my-ink: #1f1f1f;
  --my-muted: #666;
}
* { box-sizing: border-box; }
html { background: #fff; }
body {
  margin: 0;
  color: var(--my-ink);
  background:
    radial-gradient(circle at 15px 15px, #ff00a8 0 5px, transparent 6px) 0 0 / 30px 30px,
    radial-gradient(circle at 0 0, #00f5ff 0 4px, transparent 5px) 0 0 / 30px 30px,
    repeating-conic-gradient(from 45deg, #1b0033 0 10deg, #50004e 10deg 20deg, #030013 20deg 30deg);
  background-attachment: fixed;
  font-family: "Comic Sans MS", "Comic Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  min-height: 100vh;
  cursor: crosshair;
}
a { color: var(--my-blue); font-weight: 700; }
a:hover { color: var(--my-orange); }
img { max-width: 100%; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: absolute; left: 12px; top: 12px; z-index: 20;
  padding: 8px 12px; background: #fff; border: 2px solid var(--my-blue);
}
.myspace-shell {
  width: min(100% - 24px, 960px);
  margin: 0 auto 40px;
  background: #fff;
  border-inline: 1px solid #b7c7dc;
  box-shadow: 0 12px 42px rgba(57,29,92,.2);
  outline: 5px ridge #ff00b7;
}
.myspace-top {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 12px 18px; color: #fff;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 6px, transparent 6px 12px),
    linear-gradient(90deg, #0018a8, #a000a8, #ff1493, #0018a8);
  background-size: auto, 300% 100%;
  animation: header-rainbow 7s linear infinite;
}
@keyframes header-rainbow { to { background-position: 0 0, 300% 0; } }
.myspace-logo {
  color: #fff; font-size: clamp(2rem,6vw,3.2rem); font-weight: 900;
  letter-spacing: -.08em; line-height: 1; text-decoration: none;
  text-shadow: 2px 2px 0 #00246d;
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 8px #ff2ac6);
}
.myspace-logo:hover { color: #fff; }
.myspace-logo .star { color: #ff9dd8; }
.top-search { text-align: right; }
.top-search p { margin: 0 0 6px; font-size: 11px; }
.search-row { display: flex; }
.search-row input {
  width: min(260px,45vw); min-height: 28px; border: 2px inset #ddd;
  padding: 3px 7px; font: inherit;
}
.search-row button {
  min-height: 28px; border: 2px outset #ddd; background: #eee; color: #222;
  font: 700 12px Arial,sans-serif; cursor: pointer;
}
.myspace-nav {
  display: flex; justify-content: center; flex-wrap: wrap; padding: 6px 12px;
  background: var(--my-blue-light); color: #fff; border-bottom: 1px solid #2c659e;
}
.myspace-nav a {
  color: #fff; padding: 0 12px; text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.7);
}
.myspace-nav a:last-child { border-right: 0; }
.myspace-nav a:hover { color: #fff4a6; text-decoration: underline; }
.breadcrumb {
  margin: 0; padding: 8px 16px; color: #444; background: #f5f5f5;
  border-bottom: 1px solid #ddd;
}
.profile-grid {
  display: grid; grid-template-columns: 310px minmax(0,1fr);
  gap: 14px; padding: 14px;
}
.teen-banner {
  overflow: hidden;
  border-block: 3px dotted #ffef00;
  background: #000;
  color: #7dff00;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
}
.teen-banner span {
  display: inline-block;
  min-width: 100%;
  padding: 7px 0;
  animation: teen-scroll 13s linear infinite;
}
@keyframes teen-scroll { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
.profile-name { margin: 0 0 8px; font: 900 20px Arial,sans-serif; color: #111; }
.profile-name {
  color: #ff00a8;
  font-family: "Comic Sans MS", cursive;
  font-size: 25px;
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 #00d9ff;
}
.profile-intro { display: grid; grid-template-columns: 155px 1fr; gap: 10px; }
.profile-photo {
  width: 155px; height: 205px; object-fit: cover; object-position: center top;
  border: 2px solid #333; padding: 2px; background: #fff;
}
.profile-facts p { margin: 0 0 8px; }
.online-now { display: inline-block; color: #168c1d; font-weight: 900; transform: rotate(-2deg); }
.online-now::before { content: "● "; }
.mood {
  margin: 10px 0; padding: 7px; border: 1px dashed var(--my-pink);
  color: #7b1760; background: var(--my-pink-pale);
}
.profile-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.profile-stickers span {
  padding: 3px 6px;
  border: 2px outset #fff;
  background: linear-gradient(#fffd72, #ff5ecb);
  color: #2a003d;
  font-weight: 900;
  transform: rotate(-2deg);
}
.profile-stickers span:nth-child(even) {
  background: linear-gradient(#65ffff, #65ff6d);
  transform: rotate(2deg);
}
.contact-box { margin-top: 12px; border: 2px solid var(--my-blue-light); }
.box-title, .section-title {
  margin: 0; padding: 4px 7px; color: #fff; background: var(--my-blue-light);
  font: 900 13px Arial,sans-serif;
}
.contact-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px;
  padding: 9px; background: var(--my-blue-pale);
}
.contact-links a { text-decoration: none; }
.contact-links a::before { margin-right: 4px; }
.contact-links a:nth-child(1)::before { content: "✉"; }
.contact-links a:nth-child(2)::before { content: "👥"; }
.contact-links a:nth-child(3)::before { content: "💬"; }
.contact-links a:nth-child(4)::before { content: "★"; }
.url-box {
  margin-top: 12px; padding: 5px 7px; border: 1px solid #777; overflow-wrap: anywhere;
}
.url-box b { display: block; margin-bottom: 2px; }
.info-table {
  width: 100%; margin-top: 12px; border-collapse: collapse;
  border: 2px solid var(--my-blue-light);
}
.info-table caption {
  padding: 4px 7px; color: #fff; background: var(--my-blue-light);
  font-weight: 900; text-align: left;
}
.info-table th, .info-table td {
  padding: 6px 7px; border-bottom: 2px solid #fff; vertical-align: top; text-align: left;
}
.info-table th { width: 34%; color: #184c83; background: #d5e7fa; }
.info-table td { background: #eef6ff; }
.network-box {
  margin: 0 0 12px; padding: 13px; border: 2px solid #222;
  text-align: center; font-size: 16px; font-weight: 700;
}
.network-box {
  border: 4px ridge #8b00ff;
  background: linear-gradient(90deg, #fff600, #ff8edb, #60fff7);
  color: #52005c;
  text-shadow: 1px 1px #fff;
}
.network-box strong { color: var(--my-pink); }
.section { margin-bottom: 14px; border: 2px solid #f0a7d5; background: #fff; }
.section:nth-of-type(odd) { border: 4px ridge #00e5ff; }
.section:nth-of-type(even) { border: 4px groove #ff00aa; }
.section-title { color: #a51c72; background: #ffd4ee; font-size: 15px; }
.section-body { padding: 10px; }
.section-body p:first-child { margin-top: 0; }
.section-body p:last-child { margin-bottom: 0; }
.sparkle-title { color: var(--my-purple); text-shadow: 1px 1px #ffb9e3; }
.blog-post { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed #c682b1; }
.blog-post:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.blog-post h3 { margin: 0 0 4px; color: #b61779; font-size: 14px; }
.blog-date { color: var(--my-muted); font-size: 11px; }
.top-eight-head {
  display: flex; justify-content: space-between; gap: 12px;
  align-items: baseline; margin-bottom: 10px;
}
.top-eight-head p { margin: 0; }
.top-eight {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 12px 9px; text-align: center;
}
.friend { min-width: 0; color: #d02283; text-decoration: none; }
.friend:hover { color: var(--my-orange); }
.friend img {
  width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover;
  border: 2px solid #5f3a8c; padding: 2px; background: #fff;
}
.friend span { display: block; margin-top: 4px; }
.comments .comment {
  display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 9px;
  padding: 9px; border-bottom: 1px solid #fff; background: #f7eafb;
}
.comments .comment:nth-child(even) { background: #eaf3ff; }
.comment:last-child { border-bottom: 0; }
.comment-author { color: #a51c72; font-weight: 900; text-align: center; }
.comment-author span {
  display: grid; place-items: center; width: 62px; height: 62px;
  margin: 4px auto 0; border: 2px solid #7693b9; background: #fff; font-size: 30px;
}
.comment-copy p { margin: 3px 0; }
.comment-date { color: #777; font-size: 10px; }
.myspace-footer {
  padding: 18px; color: #555; background: #f4f4f4;
  border-top: 1px solid #ccc; text-align: center; font-size: 11px;
}
.myspace-footer p { margin: 3px 0; }
.myspace-footer .blink {
  color: var(--my-pink); font-weight: 900;
  animation: blink 1.1s steps(2,end) infinite;
}
.profile-player {
  margin: 0 0 14px;
  padding: 8px;
  border: 5px ridge #c6ff00;
  background: #050505;
  color: #ff70ca;
  text-align: center;
  transition: color .45s ease, background .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.profile-player h2 {
  margin: 0 0 5px;
  color: #7dff00;
  font: 900 15px "Comic Sans MS", cursive;
  text-transform: lowercase;
}
.profile-player p { margin: 4px 0; }
.profile-song-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px inset #aaa;
  background: repeating-linear-gradient(90deg, #280029 0 8px, #071a48 8px 16px);
  box-shadow: 0 0 18px rgba(0, 255, 181, .26), inset 0 0 20px rgba(0, 0, 0, .85);
  transition: border-color .45s ease, background .45s ease, box-shadow .45s ease, filter .45s ease;
}
.profile-song-frame::before,
.profile-song-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}
.profile-song-frame::before {
  background:
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(255,255,255,.28) 9px, transparent 10px),
    linear-gradient(90deg, rgba(0,245,255,.45), transparent 35%, transparent 65%, rgba(255,0,184,.48));
  mix-blend-mode: screen;
}
.profile-song-frame::after {
  background: repeating-linear-gradient(90deg, #00f5ff 0 9%, transparent 9% 17%, #ff00b8 17% 23%, transparent 23% 38%);
  mix-blend-mode: color-dodge;
}
.profile-song-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.profile-song-now {
  min-height: 18px;
  transition: color .35s ease, text-shadow .35s ease;
}
.song-switches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0;
}
.song-switches button {
  min-width: 0;
  cursor: pointer;
  font-family: inherit;
}
.song-switches-masc button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 2px outset #4b8390;
  color: #b9fff0;
  background: linear-gradient(180deg, #183842, #071b25);
  font-size: 9px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}
.song-switches-masc button b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #63e7c2;
  color: #fff;
  background: #05282d;
  font: 900 13px/1 Arial, sans-serif;
}
.song-switches-masc button:hover,
.song-switches-masc button[aria-pressed="true"] {
  border-color: #68ffd2;
  color: #fff;
  background: linear-gradient(180deg, #176c6e, #0a3444);
  box-shadow: 0 0 10px rgba(0,255,204,.72);
}
.song-switches-femme { margin-bottom: 6px; }
.song-switches-femme button {
  padding: 7px 5px;
  border: 2px outset #ffd4ee;
  border-radius: 11px 4px 11px 4px;
  color: #6d1d61;
  background: linear-gradient(145deg, #fff8fd, #f0cfff 48%, #ffbedd);
  box-shadow: inset 0 1px #fff, 0 2px 0 #8e4c9e;
}
.song-switches-femme button span,
.song-switches-femme button small { display: block; overflow-wrap: anywhere; }
.song-switches-femme button span { font-weight: 900; font-size: 9px; }
.song-switches-femme button small { margin-top: 2px; color: #743e79; font-size: 8px; }
.song-switches-femme button:hover,
.song-switches-femme button[aria-pressed="true"] {
  color: #8d075d;
  background: linear-gradient(145deg, #fff, #ffc8ec 45%, #d5b6ff);
  border-color: #ff7bc6;
  box-shadow: 0 0 8px #fff, 0 0 15px rgba(255,71,183,.78), 0 2px 0 #8e4c9e;
}
.profile-player[data-profile-mood="femme"] {
  color: #721657;
  border-color: #ff8dd4;
  background:
    radial-gradient(circle at 20% 0, rgba(255,255,255,.95) 0 2px, transparent 3px) 0 0 / 22px 22px,
    linear-gradient(145deg, #fff6fc, #edcffb 52%, #ffc9e8);
  box-shadow: 0 0 16px rgba(255,255,255,.9), 0 0 28px rgba(255,71,183,.55);
}
.profile-player[data-profile-mood="femme"] h2 { color: #9c237b; text-shadow: 0 0 8px #fff; }
.profile-player[data-profile-mood="femme"] .profile-song-now { color: #721657; text-shadow: 0 0 7px #fff; }
.profile-player[data-profile-mood="femme"] .profile-song-frame {
  border-color: #ff9fd7;
  background: repeating-linear-gradient(90deg, #fff3fb 0 8px, #e6d7ff 8px 16px);
  box-shadow: 0 0 12px #fff, 0 0 24px rgba(255,70,183,.62), inset 0 0 12px rgba(130,42,144,.28);
}
.profile-player[data-profile-mood="femme"] .song-note { color: #6d3762; }
.profile-player[data-profile-mood="femme"] .song-note a { color: #9f126f; }
.profile-song-frame.is-corrupting {
  animation: profile-frame-corrupt .78s steps(2,end) both;
}
.profile-song-frame.is-corrupting::before { animation: profile-scan-tear .78s steps(4,end) both; }
.profile-song-frame.is-corrupting::after { animation: profile-pixel-rip .78s steps(3,end) both; }
.profile-song-frame.is-corrupting iframe { animation: profile-video-glitch .78s steps(2,end) both; }
@keyframes profile-frame-corrupt {
  0%, 100% { transform: translate(0); filter: none; }
  12% { transform: translate(-7px, 2px) skewX(-2deg); filter: hue-rotate(80deg) saturate(2); }
  28% { transform: translate(6px, -2px); filter: invert(.16) contrast(1.8); }
  46% { transform: translate(-3px, 3px) skewX(3deg); filter: hue-rotate(-95deg) saturate(2.4); }
  68% { transform: translate(5px, 0); filter: contrast(1.5); }
}
@keyframes profile-scan-tear {
  0%, 100% { opacity: 0; clip-path: inset(0); }
  10% { opacity: 1; clip-path: inset(8% 0 68% 0); transform: translateX(10px); }
  35% { opacity: .9; clip-path: inset(45% 0 31% 0); transform: translateX(-14px); }
  65% { opacity: .75; clip-path: inset(72% 0 8% 0); transform: translateX(7px); }
}
@keyframes profile-pixel-rip {
  0%, 100% { opacity: 0; transform: scaleX(1); }
  20% { opacity: .9; transform: translateX(-12px) scaleX(1.08); }
  50% { opacity: .65; transform: translateX(9px) scaleX(.94); }
}
@keyframes profile-video-glitch {
  0%, 100% { transform: translate(0) scale(1); opacity: 1; }
  18% { transform: translate(9px,-3px) scale(1.04); opacity: .62; }
  42% { transform: translate(-8px,2px) scale(1.02); opacity: .84; }
  70% { transform: translate(4px,0) scale(1.01); opacity: .7; }
}
.profile-queue-note {
  margin: 8px 0 !important;
  padding: 12px;
  color: #26002f;
  background: linear-gradient(90deg, #fffd72, #ff9cdd, #82ffff);
  border: 3px ridge #f0f;
  font-weight: 900;
  text-align: center;
}
.song-note { color: #d8d8d8; font-size: 10px; }
.song-note a { color: #7dff00; }
.blink-fast { animation: blink .65s steps(2,end) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Split-identity reality rip: cool masc signal above, soft femme signal
   below, with a non-binary seam glitching between the two. */
.myspace-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg,
      rgba(218, 255, 239, .97) 0%,
      rgba(220, 244, 255, .97) 46%,
      rgba(247, 239, 255, .97) 54%,
      rgba(255, 226, 247, .98) 100%);
  outline-color: #7d5cff;
  box-shadow:
    -18px -20px 48px rgba(0, 255, 184, .28),
    18px 20px 52px rgba(255, 52, 190, .34),
    0 12px 42px rgba(21, 5, 48, .45);
}
.myspace-top {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.13) 0 5px, transparent 5px 11px),
    linear-gradient(90deg, #032f3d, #075e69, #0d7774, #164e8b, #032f3d);
  background-size: auto, 300% 100%;
}
.myspace-logo {
  text-shadow: 2px 2px 0 #031d2a;
  filter: drop-shadow(0 0 6px #aaffdf) drop-shadow(0 0 11px #00a9ff);
}
.myspace-logo .star { color: #7dffcf; }
.myspace-nav {
  background: linear-gradient(90deg, #064b4c, #157c72, #245d9e);
  border-bottom-color: #003e56;
}
.profile-grid {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(63, 210, 150, .15) 0%,
      rgba(74, 166, 236, .13) 45%,
      rgba(255, 239, 65, .10) 48%,
      rgba(142, 85, 210, .15) 52%,
      rgba(207, 109, 232, .16) 56%,
      rgba(255, 91, 185, .20) 100%);
}
.profile-grid > :not(.identity-rift) { position: relative; z-index: 1; }
.profile-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,255,185,.07), transparent 43%, transparent 57%, rgba(255,35,173,.08)),
    repeating-linear-gradient(90deg, transparent 0 37px, rgba(255,255,255,.045) 38px 39px);
  mix-blend-mode: color;
}
.profile-card,
.contact-box,
.url-box,
.info-table,
.profile-player,
.network-box,
.section {
  backdrop-filter: blur(2px);
}
.section,
.url-box { background-color: rgba(255,255,255,.90); }
.myspace-footer {
  color: #563553;
  border-top: 3px solid #b83cb1;
  background:
    radial-gradient(circle at 10% 30%, rgba(255,255,255,.75) 0 2px, transparent 3px) 0 0 / 22px 22px,
    linear-gradient(110deg, #f0d5ff, #ffd2ed, #d8b8ff);
}

/* The rift is deliberately over the page, as if the document itself has
   torn open. Its two jagged neon edges glitch independently. */
.identity-rift {
  position: absolute;
  left: -18px;
  right: -18px;
  top: 50%;
  z-index: 5;
  min-height: 76px;
  padding: 27px 30px 22px;
  display: grid;
  place-items: center;
  transform: translateY(-50%) rotate(-.35deg);
  color: #fff;
  background:
    radial-gradient(circle at 8% 42%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 29% 65%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 71% 28%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 91% 70%, #fff 0 1px, transparent 2px),
    repeating-linear-gradient(90deg, #fff600 0 64px, #f7f7f7 64px 128px, #9c59d1 128px 192px, #101014 192px 256px);
  background-size: 53px 43px, 67px 51px, 61px 47px, 71px 57px, auto;
  clip-path: polygon(0 18%, 4% 7%, 8% 22%, 13% 4%, 18% 19%, 24% 2%, 30% 17%, 37% 6%, 44% 21%, 51% 3%, 58% 18%, 65% 5%, 72% 23%, 80% 4%, 87% 20%, 94% 7%, 100% 17%, 100% 84%, 95% 96%, 89% 79%, 83% 98%, 76% 82%, 69% 96%, 62% 80%, 55% 99%, 48% 81%, 41% 95%, 34% 79%, 27% 98%, 20% 82%, 13% 96%, 7% 80%, 0 93%);
  filter: drop-shadow(0 -5px 7px rgba(0,245,255,.92)) drop-shadow(0 6px 8px rgba(255,0,184,.94));
  animation: reality-shiver 2.4s steps(2,end) infinite;
  pointer-events: none;
}
.identity-rift::before,
.identity-rift::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background: repeating-linear-gradient(90deg, #fff 0 14px, #00f5ff 14px 31px, transparent 31px 43px, #c6ff00 43px 58px, transparent 58px 73px);
  box-shadow: 0 0 7px #fff, 0 0 14px #00eaff, 0 0 26px #7b2cff;
  animation: rift-edge-glitch 1.35s steps(3,end) infinite;
}
.identity-rift::before { top: 2px; transform: skewX(-18deg); }
.identity-rift::after {
  bottom: 2px;
  transform: skewX(14deg);
  background-position: 23px 0;
  box-shadow: 0 0 7px #fff, 0 0 15px #ff22be, 0 0 28px #8b2cff;
  animation-direction: reverse;
}
.identity-rift span {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 40px);
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,.68);
  color: #fff;
  background: rgba(5, 3, 12, .78);
  box-shadow: 5px 0 0 rgba(0,245,255,.72), -5px 0 0 rgba(255,0,184,.72), 0 0 20px rgba(255,255,255,.6);
  font: 900 10px/1.3 "Courier New", monospace;
  letter-spacing: 1.2px;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 2px 0 #ff00b8, -2px 0 #00eaff;
}
@keyframes reality-shiver {
  0%, 87%, 100% { transform: translateY(-50%) rotate(-.35deg); }
  89% { transform: translate(-7px,-50%) rotate(.15deg); }
  92% { transform: translate(5px,-50%) rotate(-.7deg); }
  95% { transform: translate(-2px,-50%) rotate(.25deg); }
}
@keyframes rift-edge-glitch {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translateX(0) skewX(-18deg); }
  40% { clip-path: inset(0 13% 0 4%); transform: translateX(8px) skewX(22deg); }
  43% { clip-path: inset(0 3% 0 18%); transform: translateX(-7px) skewX(-9deg); }
}
@media (prefers-reduced-motion: reduce) {
  .myspace-footer .blink, .blink-fast, .teen-banner span, .myspace-top,
  .identity-rift, .identity-rift::before, .identity-rift::after,
  .profile-song-frame.is-corrupting, .profile-song-frame.is-corrupting::before,
  .profile-song-frame.is-corrupting::after, .profile-song-frame.is-corrupting iframe { animation: none; }
}
@media (max-width: 720px) {
  .myspace-shell { width: 100%; margin: 0; border: 0; }
  .myspace-top { align-items: flex-start; flex-direction: column; gap: 12px; }
  .top-search { width: 100%; text-align: left; }
  .search-row input { flex: 1; width: auto; }
  .profile-grid { grid-template-columns: 1fr; }
  .identity-rift { top: 52%; min-height: 66px; padding-inline: 12px; }
  .left-column, .right-column { display: contents; }
  .profile-card { order: 1; }
  .network-box { order: 2; }
  .blurbs { order: 3; }
  .contact-box { order: 4; }
  .url-box { order: 5; }
  .info-table { order: 6; }
  .top-friends { order: 7; }
  .comments-section { order: 8; }
}
@media (max-width: 430px) {
  .profile-grid { padding: 10px; }
  .profile-intro { grid-template-columns: 125px 1fr; }
  .profile-photo { width: 125px; height: 170px; }
  .top-eight { grid-template-columns: repeat(2,1fr); }
  .comments .comment { grid-template-columns: 72px minmax(0,1fr); }
  .song-switches { grid-template-columns: 1fr; }
}

/* The global signal tuner also reaches this deliberately standalone page.
   It floats here because Myspace does not use the modern shared sidebar. */
.signal-picker-floating { position: fixed; left: 14px; bottom: 14px; z-index: 9999; font-family: Arial, sans-serif; }
.signal-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff;
  background: #58238f; color: #fff; box-shadow: 0 0 0 3px #ff66c8, 0 8px 24px rgba(0,0,0,.45);
  font-size: 20px; cursor: pointer;
}
.signal-popover {
  display: none; z-index: 10000; max-height: calc(100vh - 20px); overflow: auto;
  padding: 14px; color: #261338; background: #fff4ff; border: 3px ridge #8c43b5;
  box-shadow: 8px 8px 0 rgba(25,0,45,.35); font-family: Arial, sans-serif;
}
.signal-popover.show { display: block; }
.signal-head { display: flex; justify-content: space-between; gap: 12px; }
.signal-head strong, .signal-kicker { display: block; }
.signal-kicker { color: #8a1478; font-size: 10px; font-weight: bold; letter-spacing: 1.5px; }
.signal-close { width: 30px; height: 30px; border: 1px solid #9b5dae; background: #ead6f2; cursor: pointer; }
.signal-intro, .signal-foot { font-size: 11px; color: #6c4a72; }
.signal-intro { margin: 8px 0 10px; }
.signal-foot { margin-top: 10px; padding-top: 8px; border-top: 1px dotted #9b5dae; }
.signal-options { display: grid; gap: 5px; }
.signal-option {
  display: grid; grid-template-columns: 30px 1fr; align-items: center; width: 100%; padding: 7px;
  border: 1px solid #d1b5dc; background: #fff; color: #2d1738; text-align: left; cursor: pointer;
}
.signal-option.is-active { border-color: #e91c9c; background: #ffe5f7; box-shadow: inset 3px 0 #e91c9c; }
.signal-option strong, .signal-option small { display: block; }
.signal-option small { color: #76577c; font-size: 10px; }

html[data-signal="soft"] body { background-color: #f3b6df; }
html[data-signal="soft"] .myspace-top, html[data-signal="soft"] .box-title,
html[data-signal="soft"] .section-title { background-color: #b14f9c; }
html[data-signal="masc"] body { background-color: #071719; }
html[data-signal="masc"] .myspace-top, html[data-signal="masc"] .box-title,
html[data-signal="masc"] .section-title { background-color: #10545a; }
html[data-signal="masc"] .myspace-nav { background-color: #123f45; }
html[data-signal="rift"] body { background: linear-gradient(90deg, #063a42, #1b102b 50%, #641447); }
html[data-signal="feral"] body { background-color: #130010; background-image: repeating-linear-gradient(45deg, rgba(183,255,0,.14) 0 4px, transparent 4px 14px); }
html[data-signal="feral"] .myspace-shell { box-shadow: 0 0 28px #b7ff00, 0 0 55px #ff149f; }
html[data-signal="quiet"] *, html[data-signal="quiet"] *::before, html[data-signal="quiet"] *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important;
}
html[data-signal="quiet"] body { background: #17151c; }
html[data-signal="quiet"] .teen-banner, html[data-signal="quiet"] .identity-rift,
html[data-signal="quiet"] .profile-stickers { display: none; }
html[data-signal="quiet"] .myspace-shell { box-shadow: none; }
