@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wght@400;500;600;700&family=Inter:wght@400;600;800;900&family=VT323&display=swap');

:root {
  --pink: #ff70c8;
  --hot-pink: #ff2fb3;
  --soft-pink: #ffd4f1;
  --blue: #7de7ff;
  --purple: #9b7bff;
  --cream: #fff5fb;
  --dark: #151021;
  --green: #6cffb5;
  --shadow: 6px 6px 0 #00000055;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--cream);
  overflow: hidden;
  background: var(--dark);
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.screen {
  min-height: 100vh;
  width: 100vw;
}

.lock-screen {
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  background:
    radial-gradient(circle at top left, #ff77dd55, transparent 35%),
    radial-gradient(circle at bottom right, #72efff44, transparent 35%),
    linear-gradient(135deg, #1b1028, #2b1235 50%, #10172d);
}

.noise,
.scanlines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 2px, #ffffff 3px),
    repeating-linear-gradient(90deg, transparent 0 4px, #ff9de4 5px);
  mix-blend-mode: overlay;
}

.lock-card {
  width: min(760px, 94vw);
  border: 3px solid #fff;
  background: #20122eeb;
  box-shadow: var(--shadow), 0 0 35px #ff70c880;
  position: relative;
  z-index: 1;
}

.window-bar,
.app-bar,
.letter-bar,
.game-bar {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, var(--hot-pink), var(--purple), var(--blue));
  color: #fff;
  padding: 0 10px;
  font-family: "VT323", monospace;
  font-size: 24px;
  letter-spacing: 1px;
  border-bottom: 3px solid #fff;
  user-select: none;
}

.window-buttons {
  display: flex;
  gap: 6px;
}

.window-buttons button,
.app-bar button,
.letter-bar button,
.game-bar button {
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  background: #2b1235;
  color: #fff;
  line-height: 1;
}

.lock-content {
  padding: 38px;
  text-align: center;
}

.system-line {
  color: var(--green);
  font-family: "VT323", monospace;
  font-size: 26px;
  margin: 0 0 8px;
  text-shadow: 0 0 12px var(--green);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 #000;
}

.subtitle {
  margin: 14px 0 26px;
  color: var(--soft-pink);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0 34px;
}

.countdown div {
  background: #fff;
  color: var(--dark);
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 12px 6px;
}

.countdown strong {
  display: block;
  font-family: "VT323", monospace;
  font-size: clamp(38px, 8vw, 70px);
  line-height: 0.8;
  color: var(--hot-pink);
}

.countdown span {
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.bypass-box {
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
  background: #00000040;
  border: 2px dashed var(--pink);
  padding: 18px;
}

.bypass-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--blue);
}

.password-row {
  display: flex;
  gap: 8px;
}

.password-row input {
  flex: 1;
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 3px solid #000;
  outline: none;
}

.password-row button {
  padding: 0 16px;
  border: 3px solid #000;
  background: var(--green);
  color: #111;
  font-weight: 900;
}

.small-message {
  min-height: 20px;
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--soft-pink);
}

.desktop {
  background: #10091d;
}

.desktop-bg {
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(90deg, #ffffff0e 1px, transparent 1px),
    linear-gradient(#ffffff0e 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, #ff70c866, transparent 25%),
    radial-gradient(circle at 80% 70%, #7de7ff55, transparent 28%),
    linear-gradient(135deg, #281034, #10172d);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
  overflow: hidden;
}

.top-status {
  height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  background: #00000070;
  border-bottom: 2px solid #ffffff70;
  font-family: "VT323", monospace;
  font-size: 23px;
  color: #fff;
}

.desktop-icons {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.desktop-icon {
  position: absolute;
  width: 118px;
  min-height: 100px;
  border: none;
  background: transparent;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 0 #000;
  z-index: 10;
  pointer-events: auto;
  user-select: none;
}

.desktop-icon:hover {
  background: #ffffff1a;
  outline: 1px solid #ffffff55;
}

.icon-img {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 6px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  font-size: 44px;
}

.desktop-icon span:last-child {
  display: block;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.draggable-window {
  position: fixed;
}

.drag-handle {
  cursor: move;
}

.welcome-window {
  left: 180px;
  top: 110px;
  width: min(520px, 84vw);
  border: 3px solid #fff;
  background: #1d102bf0;
  box-shadow: var(--shadow);
  z-index: 50;
}

.window-body {
  padding: 24px;
}

.window-body h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 34px;
  text-shadow: 3px 3px 0 #000;
}

.window-body p {
  line-height: 1.6;
  color: #ffe6f8;
}

.app-card,
.letter-card,
.game-card-window {
  width: 100%;
  background: #fff8fd;
  border: 4px solid #f244b8;
  box-shadow: 8px 8px 0 #00000070, 0 18px 60px #00000080;
  color: #2b1235;
  overflow: hidden;
}

.messages-window {
  left: 330px;
  top: 88px;
  width: min(760px, 92vw);
  z-index: 70;
}

.messages-card {
  max-height: 84vh;
}

.messages-body {
  max-height: calc(84vh - 38px);
  overflow-y: auto;
  padding: 26px;
  background:
    radial-gradient(circle at top left, #ff70c822, transparent 35%),
    #fff8fd;
}

.messages-body h2 {
  margin: 0 0 22px;
  color: #f244b8;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.message-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.message-gallery figure {
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 3px solid #f244b8;
  box-shadow: 5px 5px 0 #00000030;
}

.message-gallery img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  border-radius: 10px;
}

.music-window {
  left: 360px;
  top: 120px;
  width: min(640px, 92vw);
  z-index: 70;
}

.music-card {
  border-color: #ff7bd5;
  background: #fff8fd;
  box-shadow:
    8px 8px 0 #00000070,
    0 0 0 4px #ffd6f3,
    0 18px 70px #ff70c844;
}

.music-body {
  padding: 26px;
  background:
    radial-gradient(circle at top right, #7de7ff4a, transparent 34%),
    radial-gradient(circle at 18% 8%, #ff70c852, transparent 28%),
    linear-gradient(135deg, #fff8fd 0%, #ffe4f7 52%, #e9f8ff 100%);
}

.music-intro {
  margin-bottom: 18px;
}

.music-intro h2 {
  margin: 0;
  color: #f244b8;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 0.9;
  text-shadow: 3px 3px 0 #ffffff, 5px 5px 0 #ffc1eb;
}

.music-intro p:not(.playlist-chip) {
  margin: 10px 0 0;
  color: #2b1235;
  font-weight: 900;
}

.playlist-chip {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border: 2px solid #f244b8;
  border-radius: 999px;
  background: #ffffffcc;
  color: #f244b8;
  box-shadow: 3px 3px 0 #00000022;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.spotify-wrap {
  position: relative;
  width: 100%;
  min-height: 360px;
  padding: 10px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #ff9de2, #7de7ff),
    #121212;
  border: 3px solid #2b1235;
  box-shadow:
    6px 6px 0 #00000045,
    inset 0 0 0 3px #ffffff80;
}

#spotifyFrame {
  width: 100%;
  height: 352px;
  border: none;
  display: block;
  border-radius: 12px;
  background: #121212;
}

.spotify-placeholder {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: #fff;
  border-radius: 12px;
  background:
    radial-gradient(circle at top left, #ff70c866, transparent 36%),
    linear-gradient(135deg, #121212, #2b1235);
}

.spotify-placeholder p {
  max-width: 360px;
  line-height: 1.5;
  font-weight: 900;
}

.locked-song-card {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #24182f;
  color: #fff;
  border: 3px solid #f244b8;
  border-radius: 16px;
  box-shadow: 5px 5px 0 #00000040;
}

.locked-song-card.unlocked {
  background: linear-gradient(135deg, #1db954, #7de7ff);
  color: #10172d;
}

.locked-song-icon {
  font-size: 42px;
}

.locked-song-card h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

.locked-song-card p {
  margin: 0;
  line-height: 1.4;
}

.trade-request-popup,
.adopt-trade-window,
.fair-window,
.read-letter-popup,
.game-card-popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 40;
  background: #00000033;
}

.trade-request-card {
  width: min(780px, 92vw);
  min-height: 420px;
  padding: 54px 42px 42px;
  background:
    repeating-linear-gradient(
      to bottom,
      #ffffff 0px,
      #ffffff 54px,
      #d8f7ff 57px,
      #ffffff 61px
    );
  border-radius: 22px;
  border: 3px solid #f6fdff;
  box-shadow: 0 0 28px #bff8ff, 0 18px 50px #00000075;
  text-align: center;
}

.trade-request-card h2 {
  margin: 0 0 58px;
  display: grid;
  gap: 10px;
  color: #f241b9;
  font-family: "VT323", monospace;
  font-size: clamp(54px, 9vw, 104px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 2px;
  text-shadow:
    0 0 2px #f241b9,
    0 2px 0 #fbb3ec,
    3px 3px 0 #ffffff;
}

.trade-request-card h2 span {
  display: block;
}

.request-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  width: min(640px, 100%);
  margin: 0 auto;
}

.request-buttons button {
  height: 86px;
  border: none;
  border-radius: 18px;
  color: white;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 900;
  text-shadow: 0 3px 0 #00000055;
  box-shadow:
    inset 0 6px 0 #ffffff65,
    inset 0 -8px 0 #00000025,
    0 8px 18px #00000045;
}

.request-accept {
  background: linear-gradient(#22f11b, #05b700);
}

.request-decline {
  background: linear-gradient(#ff1010, #c50000);
}

.trade-card {
  width: min(920px, 94vw);
  min-height: 500px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 130px 1fr;
  gap: 18px;
  position: relative;
  background: #ffd6f1;
  border: 8px solid #f244b8;
  box-shadow: 0 18px 60px #00000080;
}

.trade-side h3 {
  margin: 0 0 8px;
  color: #ef52ba;
  font-size: 22px;
  font-weight: 900;
}

.trade-side h3 span {
  font-size: 17px;
}

.trade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.trade-slot {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #f6a6da;
  border: 6px solid #f244b8;
  border-radius: 8px;
  color: white;
  font-size: 44px;
  font-weight: 900;
  overflow: hidden;
}

.plus-slot {
  background: #2fc65a;
}

.trade-item {
  width: 92%;
  height: 92%;
  display: grid;
  place-items: center;
  background: white;
  border-radius: 8px;
  font-size: 44px;
  box-shadow: inset 0 0 0 3px #ffe6f7;
}

.trade-item p {
  margin: 4px 0 0;
  font-size: 11px;
  color: #f244b8;
  font-weight: 900;
}

.trade-middle {
  display: grid;
  place-items: center;
  align-content: center;
  color: #f244b8;
}

.trade-middle p {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.trade-refresh {
  font-size: 88px;
  font-weight: 900;
  line-height: 0.9;
}

.trade-bottom {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  align-items: end;
}

.trade-bottom button {
  min-width: 140px;
  height: 48px;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 22px;
  font-weight: 900;
  box-shadow:
    inset 0 4px 0 #ffffff66,
    inset 0 -5px 0 #00000025,
    0 4px 10px #00000045;
}

.trade-decline {
  background: linear-gradient(#ff4b4b, #c70000);
}

.trade-accept {
  background: linear-gradient(#40d86d, #12a83e);
}

.trade-accept.disabled {
  background: #777;
  opacity: 0.55;
  cursor: not-allowed;
}

.accept-wrap {
  position: relative;
}

.accept-timer {
  position: absolute;
  left: 50%;
  top: -42px;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #f244b8;
  color: white;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 4px 10px #00000055;
}

.fair-card {
  width: min(900px, 94vw);
  max-height: 92vh;
  padding: 22px 30px 26px;
  background: #ffd6f1;
  border-radius: 14px;
  box-shadow: 0 18px 60px #00000080;
  color: #f244b8;
  position: relative;
  overflow: hidden;
}

.fair-card h1 {
  margin: 0;
  color: #f244b8;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.9;
  text-align: center;
  text-shadow: none;
}

.fair-subline {
  max-width: 760px;
  margin: 8px auto 16px;
  color: #f244b8;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.fair-content {
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  gap: 22px;
  align-items: center;
}

.fair-side {
  position: relative;
}

.fair-side h3 {
  margin: 0 0 8px;
  color: #f244b8;
  font-size: 22px;
  font-weight: 900;
}

.fair-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.fair-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #f6a6da;
  border: 5px solid #f244b8;
  border-radius: 8px;
  font-size: clamp(28px, 3.5vw, 44px);
}

.fair-middle {
  display: grid;
  place-items: center;
}

.fair-countdown {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  background: white;
  color: #2d2d2d;
  border-radius: 50%;
  font-size: 62px;
  font-weight: 900;
}

.fair-lock {
  margin-top: 14px;
  font-size: 42px;
  filter: grayscale(1);
}

.fair-buttons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 20px;
}

.fair-buttons button {
  min-width: 180px;
  height: 54px;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 26px;
  font-weight: 900;
  box-shadow:
    inset 0 4px 0 #ffffff66,
    inset 0 -5px 0 #00000025,
    0 4px 10px #00000045;
}

.fair-decline {
  background: linear-gradient(#ff4b4b, #c70000);
}

.fair-confirm {
  background: linear-gradient(#333, #222);
}

.fair-confirm.ready {
  background: linear-gradient(#40d86d, #12a83e);
}

.fair-confirm.disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.big-check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #32c84f;
  font-size: 180px;
  font-weight: 900;
  text-shadow: 0 5px 0 #00000025;
  pointer-events: none;
}

.read-letter-popup,
.game-card-popup {
  z-index: 60;
  background: #00000055;
}

.read-letter-card,
.game-card-card {
  width: min(560px, 90vw);
  padding: 36px;
  background: #ffd6f1;
  border: 6px solid #f244b8;
  border-radius: 18px;
  box-shadow: 0 18px 60px #00000080;
  text-align: center;
}

.read-letter-card h2,
.game-card-card h2 {
  margin: 0 0 28px;
  color: #f244b8;
  font-size: clamp(46px, 7vw, 72px);
  font-weight: 900;
  line-height: 0.9;
}

.read-letter-buttons,
.game-card-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.read-letter-buttons button,
.game-card-buttons button {
  min-width: 150px;
  height: 62px;
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 30px;
  font-weight: 900;
  box-shadow:
    inset 0 5px 0 #ffffff66,
    inset 0 -6px 0 #00000025,
    0 5px 12px #00000045;
}

.read-yes,
.game-card-yes {
  background: linear-gradient(#40d86d, #12a83e);
}

.read-later,
.game-card-later {
  background: linear-gradient(#ff70c8, #d92b9f);
}

.letter-window {
  left: 760px;
  top: 105px;
  width: min(650px, 92vw);
  z-index: 70;
  background: transparent;
}

.letter-card {
  max-height: 82vh;
}

.letter-bar {
  background: linear-gradient(90deg, #ff70c8, #9b7bff, #7de7ff);
  border-bottom: 4px solid #f244b8;
}

.letter-body {
  padding: 34px;
  max-height: calc(82vh - 42px);
  overflow-y: auto;
  background:
    linear-gradient(#ffe6f7 1px, transparent 1px),
    #fff8fd;
  background-size: 100% 34px;
}

.letter-body h2 {
  margin: 0 0 20px;
  color: #f244b8;
  font-size: 38px;
}

.letter-body p {
  color: #2b1235;
  font-size: 18px;
  line-height: 1.8;
}

.letter-signoff {
  margin-top: 30px;
  color: #f244b8 !important;
  font-weight: 900;
}

.game-window {
  left: 330px;
  top: 90px;
  width: min(900px, 92vw);
  z-index: 75;
  background: transparent;
}

.game-card-window {
  height: min(620px, 82vh);
  background: #10091d;
  border-color: var(--blue);
  color: white;
}

.game-bar {
  background: linear-gradient(90deg, #7de7ff, #9b7bff, #ff70c8);
  border-bottom: 4px solid var(--blue);
}

.game-body {
  position: relative;
  width: 100%;
  height: calc(100% - 38px);
  background: #050510;
}

#gameFrame {
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.game-missing-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 30px;
  text-align: center;
  background:
    radial-gradient(circle at top left, #ff70c855, transparent 35%),
    radial-gradient(circle at bottom right, #7de7ff55, transparent 35%),
    #10091d;
}

.game-missing-message h2 {
  margin: 0 0 12px;
  color: #7de7ff;
  font-size: 38px;
  text-shadow: 3px 3px 0 #000;
}

.game-missing-message p {
  max-width: 560px;
  line-height: 1.6;
  color: #ffe6f8;
}

@media (max-width: 750px) {
  body {
    overflow: auto;
  }

  .desktop-bg {
    min-height: 100vh;
    overflow-y: auto;
  }

  .welcome-window,
  .messages-window,
  .music-window,
  .letter-window,
  .game-window {
    left: 50%;
    top: 70px;
    transform: translateX(-50%);
  }

  .trade-card {
    grid-template-columns: 1fr;
    max-height: 94vh;
    overflow-y: auto;
    padding-bottom: 24px;
  }

  .trade-middle {
    order: 2;
  }

  .trade-bottom {
    position: static;
    transform: none;
    margin-top: 20px;
    justify-content: center;
  }

  .fair-card {
    max-height: 94vh;
    overflow-y: auto;
  }

  .fair-content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .big-check {
    font-size: 150px;
  }
}

@media (max-width: 650px) {
  .lock-content {
    padding: 24px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .password-row {
    flex-direction: column;
  }

  .password-row button {
    padding: 12px;
  }

  .desktop-icon {
    width: 94px;
  }

  .icon-img {
    width: 58px;
    height: 58px;
    font-size: 34px;
  }

  .request-buttons,
  .read-letter-buttons,
  .game-card-buttons {
    flex-direction: column;
    display: flex;
  }

  .fair-card h1 {
    font-size: 46px;
  }

  .fair-buttons {
    gap: 12px;
  }

  .fair-buttons button {
    min-width: 130px;
    font-size: 22px;
  }
}


/* ========================= */
/* USER UPDATE: PHOTOS + BACKGROUND + COLLAGE */
/* ========================= */

:root {
  --desktop-bg-photo: url("assets/favepics/DSC00416.jpg");
}

.desktop-bg {
  background:
    linear-gradient(90deg, #00000020 1px, transparent 1px),
    linear-gradient(#00000020 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, #ff70c855, transparent 25%),
    radial-gradient(circle at 80% 70%, #7de7ff44, transparent 28%),
    linear-gradient(#00000025, #00000045),
    var(--desktop-bg-photo);
  background-size: 38px 38px, 38px 38px, auto, auto, auto, cover;
  background-position: 0 0, 0 0, center, center, center, center;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}

.photos-window {
  left: 410px;
  top: 92px;
  width: min(780px, 92vw);
  z-index: 70;
}

.photos-card {
  max-height: 84vh;
}

.photos-body {
  max-height: calc(84vh - 38px);
  overflow-y: auto;
  padding: 26px;
  background:
    radial-gradient(circle at top right, #7de7ff22, transparent 35%),
    #fff8fd;
}

.photos-body h2 {
  margin: 0 0 22px;
  color: #f244b8;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.message-gallery,
.photo-gallery {
  display: block;
  columns: 3 220px;
  column-gap: 10px;
}

.message-gallery figure,
.photo-gallery figure {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.message-gallery img,
.photo-gallery img {
  display: block;
  width: 100%;
  max-height: none;
  object-fit: contain;
  border: none;
  border-radius: 10px;
  cursor: context-menu;
  user-select: none;
}

.message-gallery img:hover,
.photo-gallery img:hover {
  outline: 3px solid #ffffffcc;
  outline-offset: -3px;
}

.photo-coming-soon {
  margin-top: 22px;
  padding: 20px;
  background: #24182f;
  color: #fff;
  border: 3px solid #f244b8;
  border-radius: 18px;
  box-shadow: 5px 5px 0 #00000040;
  text-align: center;
}

.photo-coming-soon h3 {
  margin: 0 0 8px;
  color: #7de7ff;
  font-size: 30px;
  text-shadow: 3px 3px 0 #000;
}

.photo-coming-soon p {
  margin: 0 0 14px;
  color: #ffe6f8;
  font-weight: 900;
}

.travel-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.travel-countdown div {
  padding: 10px 6px;
  background: #fff8fd;
  color: #2b1235;
  border: 3px solid #f244b8;
  border-radius: 12px;
}

.travel-countdown strong {
  display: block;
  color: #f244b8;
  font-family: "VT323", monospace;
  font-size: 42px;
  line-height: 0.9;
}

.travel-countdown span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.locked-song-card h3 {
  color: inherit;
}

@media (max-width: 750px) {
  .photos-window {
    left: 50%;
    top: 70px;
    transform: translateX(-50%);
  }

  .message-gallery,
  .photo-gallery {
    columns: 2 160px;
  }
}

@media (max-width: 520px) {
  .message-gallery,
  .photo-gallery {
    columns: 1;
  }

  .travel-countdown {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================= */
/* USER UPDATE: IMAGE VIEWER + PHOTO MENU + TRADE FONT */
/* ========================= */


.trade-request-card h2 {
  font-family: "DynaPuff", "Inter", cursive;
  font-size: clamp(42px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.message-gallery,
.photo-gallery {
  columns: 3 220px;
  column-gap: 10px;
}

.message-gallery figure,
.photo-gallery figure {
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.message-gallery img,
.photo-gallery img {
  border: none;
  box-shadow: none;
  border-radius: 10px;
  cursor: zoom-in;
}

.message-gallery img:hover,
.photo-gallery img:hover {
  outline: 3px solid #ffffffcc;
  outline-offset: -3px;
}

.photo-gallery img {
  cursor: zoom-in;
}

.background-photo.is-favorite {
  outline: 4px solid #ff70c8;
  outline-offset: -4px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: #000000cc;
  backdrop-filter: blur(6px);
}

#lightboxImage {
  max-width: min(86vw, 1100px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 80px #000000d0;
  user-select: none;
}

.lightbox-close,
.lightbox-arrow {
  position: fixed;
  border: none;
  color: white;
  background: #ff70c8dd;
  box-shadow:
    inset 0 4px 0 #ffffff55,
    inset 0 -5px 0 #00000025,
    0 8px 22px #00000088;
  font-weight: 900;
  z-index: 510;
}

.lightbox-close {
  top: 22px;
  right: 26px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 38px;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 66px;
  height: 82px;
  border-radius: 18px;
  font-size: 72px;
  line-height: 0.6;
}

.lightbox-prev {
  left: 26px;
}

.lightbox-next {
  right: 26px;
}

.lightbox-counter {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 999px;
  background: #000000b5;
  color: #fff;
  border: 2px solid #ffffff80;
  font-weight: 900;
  z-index: 510;
}

.photo-context-menu {
  position: fixed;
  z-index: 600;
  min-width: 210px;
  padding: 8px;
  border: 2px solid #ffffffcc;
  border-radius: 10px;
  background: #fff8fd;
  color: #2b1235;
  box-shadow: 8px 8px 0 #00000070, 0 16px 40px #00000080;
}

.photo-context-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #2b1235;
  text-align: left;
  font-weight: 900;
  font-size: 14px;
}

.photo-context-menu button:hover {
  background: #ffd6f1;
  color: #f244b8;
}

.photo-context-menu button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 750px) {
  .lightbox-arrow {
    width: 50px;
    height: 66px;
    font-size: 58px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}
