:root {
  --xp-blue: #245edb;
  --xp-dark: #0b2f8a;
  --xp-light: #d9e8ff;
  --cream: #fff7d1;
  --hot-pink: #ff3bd4;
  --aqua: #00e5ff;
  --text: #111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)),
    url("windows-xp-bliss-4k-lu.jpg") center center / cover no-repeat fixed;
  overflow-x: hidden;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.06),
    rgba(255,255,255,.06) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  z-index: 10;
}

.start-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: #000;
  color: #111;
  z-index: 9999;
  text-align: center;
}

.start-window {
  width: min(520px, 100%);
  background: #c0c6d6;
  border: 2px solid #e8eef8;
  box-shadow: 0 0 0 1px #7f9db9, 8px 10px 40px rgba(0, 0, 0, .35);
}

.start-window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #0b3b8b 0%, #1150c4 100%);
  color: white;
  padding: .45rem .65rem;
  font-weight: 700;
  box-shadow: inset 0 -1px rgba(255,255,255,.12);
}

.window-icon {
  margin-right: .55rem;
  font-size: 1.05rem;
}

.window-title {
  flex: 1;
  text-align: left;
  font-size: .95rem;
}

.window-close {
  width: 28px;
  height: 24px;
  border: 1px solid #7f9db9;
  background: linear-gradient(180deg, #ff5c67 0%, #d33d40 100%);
  color: white;
  font-size: 1rem;
  line-height: 1;
  border-radius: 3px;
  cursor: pointer;
}

.start-window-content {
  padding: 1.5rem 1.5rem 2rem;
  background: linear-gradient(180deg, #f2f5fa 0%, #dfe4ed 100%);
  border-top: 1px solid #7f9db9;
}

.start-window-content p {
  margin: 0 0 1.5rem;
  line-height: 1.5;
  color: #1a2241;
}

#startButton {
  border: 2px solid #7f9db9;
  background: linear-gradient(180deg, #e4ecff 0%, #d3dff4 100%);
  color: #0b2f8a;
  padding: .85rem 1.45rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}

#startButton:hover,
#startButton:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #f8fbff 0%, #d7e1ff 100%);
}

#startButton:hover,
#startButton:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #acc6ff, #5a84ff);
}

.start-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.desktop-icons {
  position: fixed;
  top: 1rem;
  left: 1rem;
  display: grid;
  gap: .8rem;
  z-index: 1;
}

.desktop-icons button {
  width: 78px;
  padding: .35rem;
  border: 1px dotted transparent;
  color: white;
  background: transparent;
  text-shadow: 1px 1px 2px #000;
  cursor: pointer;
}

.desktop-icons button:hover {
  border-color: white;
  background: rgba(255,255,255,.16);
}

.desktop-icons span {
  display: block;
  font-size: 2rem;
}

.browser-window {
  width: min(1040px, calc(100vw - 2rem));
  margin: 2rem auto;
  border: 3px solid #0c2d83;
  border-radius: 10px 10px 4px 4px;
  background: #ece9d8;
  box-shadow: 12px 14px 0 rgba(0,0,0,.22), 0 0 0 1px white inset;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .45rem .55rem;
  color: white;
  font-weight: 700;
  background: linear-gradient(#3b8cff, var(--xp-blue) 48%, var(--xp-dark));
}

.title-left {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.browser-icon {
  filter: drop-shadow(1px 1px #000);
}

.window-buttons {
  display: flex;
  gap: .25rem;
}

.window-buttons span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 22px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 3px;
  background: linear-gradient(#79a9ff, #1554c7);
  box-shadow: inset 1px 1px rgba(255,255,255,.6);
}

.window-buttons span:last-child {
  background: linear-gradient(#ff9b72, #dc321f);
}

.toolbar,
.address-row,
.status-bar {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem;
  border-bottom: 1px solid #aaa;
}

.toolbar {
  flex-wrap: wrap;
}

.toolbar button,
.address-row button,
.big-cta,
.guestbook button {
  border: 1px solid #888;
  border-radius: 2px;
  padding: .35rem .65rem;
  background: linear-gradient(#fff, #d4d0c8);
  box-shadow: inset 1px 1px #fff, 1px 1px rgba(0,0,0,.15);
  cursor: pointer;
  font-family: inherit;
}

.toolbar button:hover,
.address-row button:hover,
.big-cta:hover,
.guestbook button:hover {
  filter: brightness(1.08);
}

.address-row span {
  font-size: .85rem;
  color: #333;
}

.address-row input {
  flex: 1;
  padding: .35rem;
  border: 2px inset #fff;
  background: white;
  font-family: Consolas, 'Courier New', monospace;
}

.page-frame {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 620px;
  border-top: 1px solid white;
}

.sidebar {
  padding: .7rem;
  background:
    linear-gradient(90deg, rgba(255,255,255,.7), transparent),
    #c7d8ff;
  border-right: 1px solid #7f9db9;
}

.ad-box,
.counter-box,
.music-box,
.notice-box,
.profile-card,
.project-card {
  border: 2px ridge #fff;
  background: var(--cream);
  padding: .75rem;
  margin-bottom: .8rem;
  box-shadow: 2px 2px 0 rgba(0,0,0,.18);
}

.ad-box {
  text-align: center;
  font-weight: 900;
  color: #0021a8;
  background: linear-gradient(45deg, #fff45c, #ffbef2);
}

.counter-box span {
  display: block;
  margin-top: .45rem;
  padding: .28rem;
  color: #24ff24;
  background: #050505;
  font-family: 'Courier New', monospace;
  letter-spacing: 3px;
  text-align: center;
}

.music-box p {
  margin: .35rem 0;
  font-size: .85rem;
}

.spotify-player {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: .65rem;
  align-items: start;
  margin-top: .55rem;
}

.spotify-art {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 2px inset #d4d0c8;
  color: #0b53cc;
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), transparent),
    linear-gradient(135deg, #caffd0, #d7ecff);
  font-size: 1.55rem;
  font-weight: 900;
  overflow: hidden;
  flex-shrink: 0;
}

.spotify-art.has-cover {
  color: transparent;
}

.spotify-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotify-info {
  min-width: 0;
}

.spotify-track,
.spotify-info span,
.spotify-status {
  display: block;
}

.spotify-track {
  color: #001d86;
  font-size: .95rem;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.spotify-track:hover,
.spotify-track:focus-visible {
  color: #b00077;
}

.spotify-info span {
  margin-top: .18rem;
  font-size: .78rem;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

.spotify-status {
  margin: .5rem 0 .35rem;
  color: #1b5e20;
  font-family: 'Courier New', monospace;
  font-size: .74rem;
  white-space: normal;
  line-height: 1.3;
}

.spotify-card.is-offline .spotify-status,
.spotify-card.is-paused .spotify-status {
  color: #7a4a00;
}

.equalizer {
  display: flex;
  gap: 4px;
  align-items: end;
  height: 34px;
}

.equalizer i {
  display: block;
  width: 15px;
  background: var(--xp-blue);
  animation: bounce 800ms infinite alternate;
}

.equalizer i:nth-child(1) { height: 18px; }
.equalizer i:nth-child(2) { height: 30px; animation-delay: 120ms; }
.equalizer i:nth-child(3) { height: 13px; animation-delay: 220ms; }
.equalizer i:nth-child(4) { height: 26px; animation-delay: 90ms; }

.content {
  padding: .75rem;
  background: white;
  background-image:
    linear-gradient(90deg, rgba(0,229,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,59,212,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.marquee {
  display: block;
  padding: .35rem;
  border: 2px inset #d4d0c8;
  color: #ff00bb;
  background: #ffffe8;
  font-weight: 700;
}

.panel {
  display: none;
  padding: 1rem;
  margin-top: .75rem;
  border: 1px solid #9db9dc;
  background: rgba(255,255,255,.93);
  min-height: 480px;
}

.panel.active {
  display: block;
  animation: pageIn 220ms ease-out;
}

.breadcrumb {
  margin: 0 0 .7rem;
  color: #555;
  font-family: 'Courier New', monospace;
  font-size: .9rem;
}

h1 {
  margin: .2rem 0 1rem;
  color: #071f91;
  font-size: clamp(2rem, 5vw, 4rem);
  text-shadow: 2px 2px 0 #9ff, 4px 4px 0 #ffb5ec;
}

h2 {
  margin-top: 0;
  color: #003ab8;
}

.intro {
  font-size: 1.15rem;
  line-height: 1.65;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  align-items: start;
}

.profile-card {
  text-align: center;
  background: linear-gradient(#f9fbff, #dde9ff);
}

.avatar {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  margin: 0 auto .8rem;
  border: 4px outset #b7d1ff;
  border-radius: 12px;
  color: white;
  font-size: 3rem;
  font-weight: 900;
  overflow: hidden;
  background:
    linear-gradient(45deg, transparent 47%, rgba(255,255,255,.25) 48%, transparent 51%),
    linear-gradient(135deg, var(--xp-blue), var(--hot-pink));
}

.profile-photo-frame {
  padding: 4px;
  background: linear-gradient(#fefefe, #cfe0ff);
  box-shadow: inset 1px 1px rgba(255,255,255,.85), 2px 2px 0 rgba(0,0,0,.18);
}

.profile-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}

.big-cta {
  margin-top: .5rem;
  font-size: 1rem;
  font-weight: 700;
}

.notice-box {
  border-color: #ffcc4d;
  background: #fff8bd;
}

.project-list {
  display: grid;
  gap: .8rem;
}

.project-card {
  background: #f4fbff;
}

.project-card span {
  display: inline-block;
  margin-top: .35rem;
  padding: .2rem .45rem;
  color: white;
  background: #0b53cc;
  border-radius: 999px;
  font-size: .82rem;
}

.gif-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  max-width: 760px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: 760px;
}

.gallery-tab {
  border: 1px solid #7f9db9;
  background: linear-gradient(#edf2ff, #d7e3ff);
  color: #0b2f8a;
  padding: .4rem .75rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.gallery-tab:hover,
.gallery-tab:focus-visible {
  background: linear-gradient(#e0e8ff, #c8d7ff);
  outline: none;
}

.gallery-tab.active {
  background: linear-gradient(#0b53cc, #3b8cff);
  color: white;
  border-color: #0b53cc;
  transform: translateY(-1px);
}

.gallery-panels {
  max-width: 760px;
}

.gallery-panel {
  display: none;
}

.gallery-panel.active {
  display: block;
}

.gif-card {
  border: 2px ridge #fff;
  background: linear-gradient(#fffef1, #e8f4ff);
  padding: .75rem;
  box-shadow: 2px 2px 0 rgba(0,0,0,.18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.gif-card:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 rgba(0,0,0,.18);
}

.gif-card h2 {
  margin: .65rem 0 .25rem;
}

.gif-card p {
  margin: 0;
}

.gif-screen {
  display: grid;
  place-items: center;
  min-height: 118px;
  border: 3px inset #d4d0c8;
  background:
    repeating-linear-gradient(45deg, rgba(255,59,212,.22) 0 10px, rgba(0,229,255,.18) 10px 20px),
    #050505;
  font-size: 3rem;
  overflow: hidden;
  text-shadow: 2px 2px 0 #000;
}

.gif-dance {
  animation: gifBounce 650ms steps(2, end) infinite;
}

.gif-computer {
  animation: gifTilt 950ms steps(3, end) infinite;
}

.gif-sparkle {
  animation: gifFlash 820ms steps(2, end) infinite;
}

.gif-construction {
  animation: gifSlide 900ms steps(3, end) infinite;
}

@keyframes gifBounce {
  50% { transform: translateY(-7px) scale(1.07); }
}

@keyframes gifTilt {
  50% { transform: rotate(-5deg); }
}


/* Larger previews for P5 sketches so the canvas is easier to see */
.panel#p5 .gif-screen {
  min-height: 420px;
}

.panel#p5 .gif-screen iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.skill-bars {
  display: grid;
  gap: .9rem;
  max-width: 680px;
}

.uploaded-gif {
  padding: .25rem;
  aspect-ratio: 16 / 9;
  min-height: auto;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(255,59,212,.22) 0 10px, rgba(0,229,255,.18) 10px 20px),
    #050505;
}

.uploaded-gif img {
  position: absolute;
  inset: 0;
  min-width: 110%;
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
  border: 2px outset #d4d0c8;
  background: #fff;
  animation: gifWalk 6.5s ease-in-out infinite;
}

.gif-card:nth-child(1) .uploaded-gif img { animation-delay: 0s; }
.gif-card:nth-child(2) .uploaded-gif img { animation-delay: 1.2s; }
.gif-card:nth-child(3) .uploaded-gif img { animation-delay: 2.4s; }

@keyframes gifWalk {
  0%, 100% { transform: translateX(-6%); }
  50% { transform: translateX(6%); }
}

.skill-bars {
  display: grid;
  gap: .9rem;
  max-width: 680px;
}

.skill-bars label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}

.skill-bars span {
  display: block;
  height: 24px;
  border: 2px inset #d4d0c8;
  background: #eee;
  position: relative;
  overflow: hidden;
}

.skill-bars span::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  background: repeating-linear-gradient(45deg, #195bdd 0 12px, #68d7ff 12px 24px);
}

.social-card {
  max-width: 620px;
  margin: 0 0 1rem;
  padding: .75rem;
  border: 2px ridge #fff;
  background: linear-gradient(#fffef1, #e8f4ff);
  box-shadow: 2px 2px 0 rgba(0,0,0,.18);
}

.social-card h2 {
  margin-bottom: .6rem;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 48px;
  padding: .55rem .5rem;
  border: 2px outset #d4d0c8;
  color: #001d86;
  background: linear-gradient(#ffffff, #d7ecff);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 1px 1px #fff, 1px 1px rgba(0,0,0,.15);
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #b00077;
  background: linear-gradient(#fff8bf, #ffd8f5);
  outline: 1px dotted #001d86;
  outline-offset: 2px;
}

.social-links span {
  font-size: 1.25rem;
}

.guestbook {
  display: grid;
  gap: .7rem;
  max-width: 620px;
}

.guestbook label {
  display: grid;
  gap: .25rem;
  font-weight: 700;
}

.guestbook input,
.guestbook textarea {
  padding: .55rem;
  border: 2px inset #fff;
  font-family: inherit;
}

.guestbook textarea {
  min-height: 100px;
  resize: vertical;
}

.guestbook-entries {
  margin-top: 1rem;
}

.entry {
  border: 1px dashed #003ab8;
  background: #eef6ff;
  padding: .6rem;
  margin-bottom: .5rem;
}

.vr-card {
  overflow: hidden;
  border: 2px ridge #fff;
  background: #07130e;
  box-shadow: 2px 2px 0 rgba(0,0,0,.18);
}

.vr-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .45rem .55rem;
  color: #eafff1;
  background: linear-gradient(#0f5338, #082016);
  border-bottom: 1px solid #7CFFB2;
  font-family: 'Courier New', monospace;
  font-size: .85rem;
}

.vr-toolbar a {
  flex-shrink: 0;
  padding: .28rem .45rem;
  border: 1px solid #7CFFB2;
  color: #07130e;
  background: #7CFFB2;
  font-weight: 700;
  text-decoration: none;
}

.vr-toolbar a:hover,
.vr-toolbar a:focus-visible {
  color: #fff;
  background: #003d28;
  outline: 1px dotted #fff;
  outline-offset: 2px;
}

.vr-frame {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
  background: #07130e;
}

.status-bar {
  justify-content: space-between;
  border-top: 1px solid #aaa;
  border-bottom: 0;
  font-size: .82rem;
  color: #333;
}

.gif-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.75);
  z-index: 50;
}

.gif-modal.active {
  display: grid;
}

.gif-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.gif-modal-content {
  position: relative;
  width: min(92vw, 840px);
  max-height: min(92vh, 90vh);
  padding: 1rem;
  border: 2px solid #d4d0c8;
  background: #f8f8f4;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  display: grid;
  gap: .75rem;
  overflow: hidden;
}

.gif-modal-close {
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 34px;
  height: 34px;
  border: 1px solid #888;
  border-radius: 6px;
  background: linear-gradient(#fff, #d4d0c8);
  color: #111;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
}

.gif-modal img {
  width: 100%;
  height: auto;
  max-height: calc(92vh - 120px);
  display: block;
  border: 1px solid #999;
  background: #000;
}

.gif-modal p {
  margin: 0;
  color: #1a1a1a;
  text-align: center;
  font-size: .95rem;
}

.blink-soft {
  animation: blink 1.35s step-end infinite;
}

@keyframes blink {
  50% { opacity: .62; }
}

@keyframes bounce {
  to { transform: scaleY(.45); }
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .desktop-icons {
    display: none;
  }

  .browser-window {
    margin: 1rem auto;
  }

  .page-frame,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .6rem;
    border-right: 0;
    border-bottom: 1px solid #7f9db9;
  }

  .ad-box,
  .counter-box,
  .music-box {
    margin-bottom: 0;
  }


  .spotify-player {
    grid-template-columns: 56px 1fr;
  }

  .spotify-art {
    width: 56px;
    height: 56px;
  }

  .toolbar {
    flex-wrap: wrap;
  }
}

/* Extra phone polish: keeps the retro browser theme while making it easy to use on small screens. */
@media (max-width: 600px) {
  body {
    min-height: 100dvh;
    background-attachment: fixed;
  }

  .scanlines {
    opacity: .55;
  }

  .browser-window {
    width: 100%;
    min-height: 100dvh;
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .title-bar {
    padding: .45rem;
    gap: .45rem;
  }

  .title-left {
    min-width: 0;
    font-size: .86rem;
  }

  .title-left span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .window-buttons span {
    width: 21px;
    height: 20px;
    font-size: .75rem;
  }

  .toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .3rem;
    padding: .45rem;
  }

  .toolbar button,
  .address-row button,
  .big-cta,
  .guestbook button {
    min-height: 44px;
    padding: .55rem .35rem;
    font-size: .92rem;
  }

  .address-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: .45rem;
  }

  .address-row span {
    font-size: .78rem;
  }

  .address-row input {
    min-width: 0;
    font-size: .8rem;
  }

  .page-frame {
    min-height: auto;
  }

  .sidebar {
    grid-template-columns: 1fr;
    padding: .55rem;
  }

  .ad-box {
    font-size: .9rem;
  }

  .content {
    padding: .55rem;
  }

  .marquee {
    font-size: .85rem;
  }

  .panel {
    min-height: auto;
    padding: .8rem;
  }

  .breadcrumb {
    font-size: .72rem;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(1.75rem, 12vw, 2.55rem);
    line-height: 1.05;
    text-shadow: 1px 1px 0 #9ff, 2px 2px 0 #ffb5ec;
  }

  h2 {
    font-size: 1.15rem;
  }

  .intro {
    font-size: 1rem;
    line-height: 1.55;
  }

  .profile-card,
  .project-card,
  .notice-box,
  .ad-box,
  .counter-box,
  .music-box {
    box-shadow: 1px 1px 0 rgba(0,0,0,.18);
  }

  .avatar {
    width: 118px;
    height: 118px;
    font-size: 2.2rem;
  }

  .project-card span {
    line-height: 1.35;
  }

  .gif-grid {
    grid-template-columns: 1fr;
  }

  .gif-screen {
    min-height: 96px;
  }

  .skill-bars span {
    height: 30px;
  }

  .social-card {
    box-shadow: 1px 1px 0 rgba(0,0,0,.18);
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .social-links a {
    justify-content: flex-start;
    min-height: 46px;
    padding-inline: .75rem;
  }

  .guestbook input,
  .guestbook textarea {
    font-size: 16px;
  }

  .status-bar {
    gap: .5rem;
    align-items: start;
    font-size: .74rem;
  }

  .status-bar span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .address-row {
    grid-template-columns: 1fr auto;
  }

  .address-row span {
    display: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .desktop-icons {
    display: none;
  }

  button,
  input,
  textarea {
    -webkit-tap-highlight-color: rgba(255,255,255,.35);
  }
  .vr-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .vr-toolbar a {
    text-align: center;
  }

  .vr-frame {
    min-height: 520px;
  }

}
.uploaded-gif-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 100%;
}

.uploaded-gif-grid .gif-card {
  min-width: 0;
}

@media (max-width: 900px) {
  .uploaded-gif-grid {
    grid-template-columns: 1fr;
  }
}
