@font-face {
  font-family: "Orange";
  src: url("Orange .ttf") format("truetype");
}

@font-face {
  font-family: "Sabrinas";
  src: url("SABRINAS.TTF") format("truetype");
}

@font-face {
  font-family: "SabrinaAlt";
  src: url("SABRINA_.TTF") format("truetype");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.85), transparent 34%),
    linear-gradient(180deg, #efecea 0%, #d8d3cf 100%);
  font-family: Tahoma, Arial, sans-serif;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  width: 100%;
  justify-items: center;
  align-items: start;
  padding: 24px;
}

.browser-card {
  width: min(760px, 100%);
  border: 1px solid #a9a4a0;
  border-radius: 4px;
  background: #ece8e4;
  box-shadow:
    0 18px 40px rgba(92, 80, 72, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  padding: 10px 10px 18px;
  overflow: hidden;
}

.title-bar,
.nav-bar,
.footer-bar {
  display: flex;
  align-items: center;
}

.title-bar {
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 8px;
}

.title-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.title-icon,
.nav-dot,
.footer-dot {
  flex: 0 0 auto;
  border-radius: 50%;
}

.title-icon {
  width: 11px;
  height: 11px;
  border: 1px solid #746d67;
  background: linear-gradient(180deg, #fefefe, #d8d4d0);
}

.title-name {
  display: inline-block;
  font-family: "Courier New", "Lucida Console", monospace;
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  color: #0066ff;
  animation: titleCandyShift 7s linear infinite;
}

.window-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.window-dot {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid #bdb8b4;
  background: linear-gradient(180deg, #ddd8d4, #c6c0bc);
  color: #8a817b;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

.window-dot.close {
  background: linear-gradient(180deg, #ff9967, #f26c39);
  border-color: #c56f4e;
  color: #fff4ec;
}

.nav-bar,
.footer-bar {
  gap: 6px;
  padding: 4px 6px;
  border: 1px solid #c8c2bd;
  background: #f7f4f1;
}

.nav-bar {
  margin-bottom: 10px;
  min-width: 0;
}

.nav-dot,
.footer-dot {
  width: 9px;
  height: 9px;
  background: linear-gradient(180deg, #39d2e1, #1aa9b8);
  border: 1px solid #138f9b;
}

.nav-line,
.footer-line {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #a79b93;
  opacity: 0.75;
}

.nav-line {
  width: 58px;
}

.nav-line.long {
  width: 120px;
}

.nav-line.short {
  width: 42px;
}

.nav-url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #2b63d9;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.74rem;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 1px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0;
  min-height: 122px;
  border: 1px solid #d1c9c3;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    url("misku.gif") center center / cover no-repeat;
  overflow: hidden;
}

.hero-block {
  min-height: 122px;
}

.hero-left {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: transparent;
}

.hero-right {
  background: transparent;
}

.hero-name-wrap {
  padding: 10px 12px;
}

.hero-name {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 12px rgba(255, 148, 203, 0.24);
}

.mini-strip {
  margin-top: 6px;
  padding: 4px 6px;
  border: 1px solid #cfc8c2;
  background: #f7f4f1;
  overflow: hidden;
}

.mini-strip-track {
  display: flex;
  width: max-content;
  gap: 0;
  align-items: center;
  will-change: transform;
  animation: blinkiesRight var(--mini-duration, 14s) linear infinite;
}

.mini-strip-set {
  display: flex;
  flex: 0 0 auto;
  min-width: max-content;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
}

.mini-blinkie {
  display: block;
  width: auto;
  height: 14px;
  flex: 0 0 auto;
}

@keyframes blinkiesRight {
  0% {
    transform: translate3d(calc(-1 * var(--mini-shift, 0px)), 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes signatureGlow {
  0% {
    color: #ff9ccf;
  }

  25% {
    color: #ffe16f;
  }

  50% {
    color: #84e6dc;
  }

  75% {
    color: #d5ff7d;
  }

  100% {
    color: #ff9ccf;
  }
}

@keyframes titleCandyShift {
  0% {
    color: #ffd1f3;
  }

  20% {
    color: #ccf6ff;
  }

  40% {
    color: #c7ef8e;
  }

  60% {
    color: #ff71da;
  }

  80% {
    color: #0066ff;
  }

  100% {
    color: #ffd1f3;
  }
}

.middle-grid {
  display: grid;
  grid-template-columns: 145px 230px minmax(150px, 1fr) 168px;
  gap: 6px;
  margin-top: 6px;
}

.middle-grid > * {
  min-width: 0;
}

.portrait-card,
.about-card,
.feature-gif-card,
.socials-card,
.info-card,
.mosaic-card,
.gallery-item {
  border: 1px solid #cfc8c2;
  background: #f5f2ef;
}

.portrait-card {
  min-height: 150px;
  padding: 4px;
}

.portrait-image {
  width: 100%;
  height: 100%;
  min-height: 140px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    url("GfwZnr2WIAAnYuI.jpg") center 86% / cover no-repeat;
}

.about-card {
  min-height: 150px;
  padding: 8px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.about-intro {
  display: grid;
  width: 100%;
  gap: 4px;
  align-content: start;
}

.about-bottom-monito {
  position: absolute;
  right: 10px;
  bottom: 4px;
  width: 54px;
  max-height: 54px;
  object-fit: contain;
}

.about-kicker {
  color: #706760;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.68rem;
  line-height: 1.12;
}

.about-kicker-alias {
  color: inherit;
}

.about-kicker-emoji {
  color: #97d6a1;
}

.about-meta-soft {
  color: #d88fb0;
}

.about-meta-green {
  color: #97d6a1;
}

.about-meta-pink {
  color: #b8a0e8;
}

.about-meta-dark {
  color: #6d645e;
}

.about-copy,
.about-box {
  color: #6d645e;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.68rem;
  line-height: 1.12;
}

.about-copy {
  display: grid;
  gap: 1px;
}

.about-section-first {
  display: grid;
  align-content: start;
  gap: 4px;
}

.about-section {
  min-height: 100%;
}

.socials-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  overflow: hidden;
}

.top-socials-card {
  min-height: 150px;
  padding: 10px;
}

.feature-gif-card {
  min-height: 150px;
  padding: 7px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.top-calendar-card {
  padding: 0;
  place-items: stretch;
}

.top-calendar-card .calendar-widget {
  width: 100%;
  min-height: 100%;
  gap: 4px;
  padding: 4px;
}

.top-calendar-card .calendar-header {
  grid-template-columns: 16px 1fr 16px;
  gap: 4px;
}

.top-calendar-card .calendar-button {
  width: 16px;
  height: 16px;
}

.top-calendar-card .calendar-title {
  font-size: 0.58rem;
}

.top-calendar-card .calendar-weekdays,
.top-calendar-card .calendar-days {
  gap: 2px;
}

.top-calendar-card .calendar-weekdays span,
.top-calendar-card .calendar-day {
  min-height: 14px;
  font-size: 0.48rem;
}

.top-calendar-card .calendar-weekdays span {
  min-height: 13px;
  font-size: 0.45rem;
}

.chat-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  align-items: stretch;
  place-items: stretch;
  gap: 4px;
}

.chat-mosaic-card {
  grid-column: 2;
  padding: 7px;
  background: #f5f2ef;
}

.chat-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #2f2a27;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.chat-title-wing {
  display: block;
  width: auto;
  height: 12px;
  flex: 0 0 auto;
}

.chat-messages {
  min-height: 0;
  padding: 5px;
  border: 1px solid #d8d0ca;
  background: rgba(255, 255, 255, 0.42);
  overflow-y: auto;
}

.chat-message,
.chat-empty,
.chat-status {
  color: #6d645e;
  font-size: 0.56rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.chat-message + .chat-message {
  margin-top: 3px;
}

.chat-message-name {
  color: #d884aa;
  font-weight: 700;
}

.chat-empty,
.chat-status {
  color: #b78d9f;
}

.chat-form {
  display: grid;
  gap: 3px;
}

.chat-send-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px;
}

.chat-name-input,
.chat-input,
.chat-form button {
  min-width: 0;
  border: 1px solid #d2c8c1;
  background: rgba(255, 255, 255, 0.68);
  color: #756b64;
  font: inherit;
  font-size: 0.56rem;
  line-height: 1;
}

.chat-name-input,
.chat-input {
  padding: 3px 4px;
}

.chat-form button {
  padding: 3px 5px;
  color: #d884aa;
  cursor: pointer;
}

.chat-name-input:disabled,
.chat-input:disabled,
.chat-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.about-section-socials {
  display: grid;
  align-content: start;
  gap: 5px;
  justify-items: start;
}

.socials-title {
  color: #8ab8df;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
}

.socials-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: 5px 14px;
}

.socials-links a {
  color: #2b63d9;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.1;
  text-decoration: underline;
  text-underline-offset: 1px;
}

.socials-link-wide {
  grid-column: 1 / -1;
  justify-self: center;
}

.socials-gif {
  display: block;
  width: min(158px, 100%);
  max-height: 92px;
  margin-top: 8px;
  object-fit: contain;
}

.about-copy-wide,
.about-box {
  min-width: 0;
}

.about-box {
  padding: 5px 6px;
  border: 1px solid #b1aaa4;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.about-box-first {
  width: 100%;
}

.about-note {
  color: #d88fb0;
  font-size: 0.62rem;
  line-height: 1.15;
}

.about-name {
  font-family: "Sabrinas", "SabrinaAlt", "Orange", cursive;
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  line-height: 0.9;
  color: #ff8fcf;
  letter-spacing: 0.04em;
  -webkit-text-stroke-width: 1.3px;
  -webkit-text-stroke-color: #ccf6ff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 10px rgba(255, 148, 203, 0.2);
  animation: aboutNameOutline 6s linear infinite;
}

.stack-lines {
  display: grid;
  gap: 8px;
}

.stack-lines.compact {
  gap: 6px;
}

.line {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #a69990;
  opacity: 0.78;
}

.line.full {
  width: 100%;
}

.line.medium {
  width: 76%;
}

.line.short {
  width: 54%;
}

.info-grid {
  display: grid;
  grid-template-columns: 145px 230px minmax(150px, 1fr) 168px;
  gap: 6px;
  margin-top: 6px;
}

.info-grid > * {
  min-width: 0;
}

.info-card {
  min-height: 124px;
  padding: 10px;
}

.mood-card {
  --mood-accent: #ff8f62;
  --mood-accent-light: #ffb08b;
  --mood-soft: #fff0ea;
  grid-column: 1;
  position: relative;
  display: block;
  min-height: 176px;
  padding: 8px;
}

.mood-card[data-mood-tone="happy"] {
  --mood-accent: #8ab8df;
  --mood-accent-light: #bcd8ef;
  --mood-soft: #eff8ff;
}

.mood-card[data-mood-tone="missing"] {
  --mood-accent: #b8a0e8;
  --mood-accent-light: #d3c5f5;
  --mood-soft: #f7f1ff;
}

.mood-card[data-mood-tone="love"] {
  --mood-accent: #ff8fcf;
  --mood-accent-light: #ffb6df;
  --mood-soft: #fff0f8;
}

.mood-card[data-mood-tone="shopping"] {
  --mood-accent: #83c99a;
  --mood-accent-light: #aee0bd;
  --mood-soft: #f0fff3;
}

.mood-view {
  display: block;
  padding-bottom: 58px;
}

.mood-eyebrow {
  width: max-content;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid var(--mood-accent);
  background: var(--mood-accent-light);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.mood-current {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 18px;
  margin-top: 5px;
  margin-left: 10px;
  color: #6d645e;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.08;
}

.mood-inline-icon {
  display: inline-block;
  width: auto;
  height: 15px;
  flex: 0 0 auto;
}

.mood-note {
  min-height: 32px;
  margin-top: 5px;
  margin-left: 10px;
  max-width: 24ch;
  color: #7b716a;
  font-size: 0.7rem;
  line-height: 1.15;
}

.mood-updated,
.mood-owner-title {
  min-height: 12px;
  margin-left: 0;
  color: #b78d9f;
  font-size: 0.6rem;
  line-height: 1.1;
}

.mood-owner-panel {
  position: absolute;
  right: 8px;
  bottom: 10px;
  left: 8px;
  display: grid;
  gap: 3px;
  padding-top: 5px;
  border-top: 1px solid #d9d2cc;
}

.mood-owner-panel[hidden] {
  display: none;
}

.mood-options {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 2px;
}

.mood-options button {
  padding: 2px 4px;
  border: 1px solid #d2c8c1;
  background: rgba(255, 255, 255, 0.62);
  color: #756b64;
  font: inherit;
  font-size: 0.58rem;
  line-height: 1;
  cursor: pointer;
}

.mood-options button.is-active {
  border-color: var(--mood-accent);
  background: var(--mood-soft);
  color: #5f5751;
}

.card-heading {
  width: 108px;
  height: 16px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #46da65, #83eb93);
}

.card-heading.warm {
  background: linear-gradient(90deg, #ff8f62, #ffb08b);
}

.spotify-card {
  grid-column: 3 / 5;
  display: grid;
  place-items: center;
  padding: 7px;
  background:
    linear-gradient(rgba(245, 242, 239, 0.32), rgba(245, 242, 239, 0.32)),
    url("94bc28de730b65431078849e3315849b.gif") center center / cover no-repeat;
}

.retro-player {
  position: relative;
  display: grid;
  grid-template-rows: minmax(84px, 1fr) 54px;
  gap: 5px;
  width: min(158px, 100%);
  min-height: 160px;
  padding: 8px 9px 7px;
  border: 1px solid #d59aae;
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(180deg, #ffd6e4, #f2a9c4 52%, #d884a3);
  color: #111827;
  font-family: "Courier New", "Lucida Console", monospace;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.84),
    inset 0 -9px 16px rgba(166, 72, 107, 0.16),
    1px 1px 0 #ca89a3,
    0 1px 2px rgba(98, 88, 80, 0.15);
}

.ipod-screen {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 3px;
  min-height: 0;
  padding: 4px;
  border: 2px solid #2c3138;
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 42%),
    linear-gradient(180deg, #e9eef7, #c8d0dd);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.74),
    0 1px 1px rgba(45, 52, 62, 0.3);
}

.retro-player-bar {
  display: grid;
  grid-template-columns: 13px 1fr 18px;
  align-items: center;
  gap: 3px;
  min-height: 12px;
  padding: 1px 3px;
  border: 1px solid #8f9aaa;
  border-radius: 2px;
  background: linear-gradient(180deg, #fbfdff, #b7c4d7);
}

.retro-play-icon {
  display: grid;
  place-items: center;
  color: #0c6fd1;
  font-size: 0.55rem;
  line-height: 1;
}

.retro-title {
  min-width: 0;
  color: #121820;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.retro-battery {
  justify-self: end;
  width: 14px;
  height: 7px;
  border: 1px solid #67717c;
  background: linear-gradient(90deg, #83cf4f 0 70%, #cad2dc 71%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.retro-count,
.retro-times {
  color: #121820;
  font-size: 0.54rem;
  font-weight: 700;
  line-height: 1;
}

.retro-track-row {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 45px;
}

.retro-cover {
  width: 37px;
  aspect-ratio: 1;
  border: 1px solid #88919c;
  object-fit: cover;
}

.retro-track-copy {
  min-width: 0;
  color: #141820;
  font-weight: 700;
  text-transform: uppercase;
}

.retro-track-copy p {
  margin-bottom: 4px;
  font-size: 0.55rem;
  line-height: 1;
  text-transform: none;
}

.retro-track-copy span {
  display: block;
  font-size: 0.52rem;
  line-height: 1.12;
}

.retro-progress {
  height: 7px;
  border: 1px solid #9ba5b1;
  background: linear-gradient(180deg, #eef2f8, #c0c9d7);
}

.retro-progress span {
  display: block;
  width: 4%;
  height: 100%;
  background: linear-gradient(180deg, #45b8ef, #1768d1);
}

.retro-times {
  display: flex;
  justify-content: space-between;
}

.ipod-wheel {
  display: grid;
  place-items: center;
  justify-self: center;
  position: relative;
  width: 52px;
  aspect-ratio: 1;
  border: 1px solid #d295ad;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffd8e6 0 28%, transparent 29%),
    linear-gradient(145deg, #fff1f6, #e8a7bf);
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.9),
    inset -1px -2px 3px rgba(159, 69, 101, 0.2);
}

.ipod-wheel::before {
  content: "MENU";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  color: #b66c8a;
  font-size: 0.36rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ipod-wheel span {
  width: 17px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f2b8cc;
  box-shadow: inset 0 1px 2px rgba(151, 65, 95, 0.2);
}

.mosaic-card {
  min-height: 176px;
  border: 1px solid #cfc8c2;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.calendar-widget {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 6px;
  min-height: 100%;
  padding: 6px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    url("korason.gif") center center / cover no-repeat,
    url("martinnn.jpg") center center / cover no-repeat;
}

.calendar-header {
  display: grid;
  grid-template-columns: 18px 1fr 18px;
  align-items: center;
  gap: 6px;
}

.calendar-button {
  width: 18px;
  height: 18px;
  border: 1px solid #c9c0ba;
  background: #fbf8f6;
  color: #86796f;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.calendar-title {
  min-width: 0;
  text-align: center;
  color: #786f68;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: lowercase;
  white-space: nowrap;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.calendar-weekdays span,
.calendar-day {
  display: grid;
  place-items: center;
  min-height: 18px;
  font-size: 0.58rem;
  color: #7d7068;
  border: 1px solid #d7d0ca;
  background: #fcf9f6;
}

.calendar-weekdays span {
  min-height: 15px;
  font-size: 0.5rem;
  font-weight: 700;
  color: #b78d9f;
  background: #fff7fb;
}

.calendar-day.today {
  border-color: #d4b5d2;
  background: #f6d0e7;
  color: #7a4d69;
  font-weight: 700;
}

.calendar-day.empty {
  border-color: transparent;
  background: transparent;
}

@keyframes aboutNameOutline {
  0% {
    -webkit-text-stroke-color: #ccf6ff;
  }

  25% {
    -webkit-text-stroke-color: #c7ef8e;
  }

  50% {
    -webkit-text-stroke-color: #ffe37a;
  }

  75% {
    -webkit-text-stroke-color: #0066ff;
  }

  100% {
    -webkit-text-stroke-color: #ff71da;
  }
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.gallery-item {
  aspect-ratio: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery-item:nth-child(1) {
  background-image: url("divinonondosod.jpg");
}

.gallery-item:nth-child(2) {
  background-image: url("anshescul.jpg");
}

.gallery-item:nth-child(3) {
  background-image: url("teamoosoosos.jpg");
}

.gallery-item:nth-child(4) {
  background-image: url("93d014815216594b9278a9cc50e51886.jpg");
}

.gallery-item:nth-child(5) {
  background-image: url("maritntntnnttntntn.jpg");
  background-position: center top;
}

.gallery-item:nth-child(6) {
  background-image: url("suag.jpg");
}

.footer-bar {
  margin-top: 8px;
}

.footer-quote {
  min-width: 0;
  color: #7b716a;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
}

.footer-line {
  width: 96px;
}

.footer-line.long {
  width: 154px;
}

.footer-line.short {
  width: 46px;
}

.credit-bar {
  display: grid;
  place-items: center;
  padding-top: 10px;
}

.credit-handle {
  color: #8f837b;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.58rem;
  line-height: 1;
}

@media (max-width: 760px) {
  .page-shell {
    padding: 12px;
  }

  .browser-card {
    padding: 8px 8px 14px;
  }

  .hero-panel {
    grid-template-columns: 1fr 1.25fr;
    min-height: 68px;
    height: 68px;
    background-position: center 34%;
  }

  .hero-left,
  .hero-right {
    min-height: 68px;
  }

  .hero-left {
    align-items: center;
  }

  .hero-name-wrap {
    padding: 0 0 0 8px;
  }

  .hero-name {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .middle-grid {
    grid-template-columns: 1fr;
  }

  .portrait-image {
    background-position: center 18%;
  }

  .feature-gif-card {
    min-height: 150px;
  }

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

  .mood-card {
    order: 1;
    min-height: 176px;
  }

  .mosaic-card {
    order: 2;
  }

  .right-card {
    order: 3;
    grid-column: 1 / -1;
  }

  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-panel {
    min-height: 58px;
    height: 58px;
    background-position: center 32%;
  }

  .hero-left,
  .hero-right {
    min-height: 58px;
  }

  .hero-name-wrap {
    padding: 0 0 0 6px;
  }

  .hero-name {
    font-size: clamp(1.2rem, 8vw, 1.65rem);
  }

  .title-bar {
    gap: 10px;
    padding: 4px 4px 6px;
  }

  .window-dot {
    width: 13px;
    height: 13px;
  }

  .mini-blinkie {
    height: 13px;
  }

  .portrait-card {
    grid-column: 1 / -1;
    min-height: 132px;
  }

  .portrait-image,
  .about-card {
    min-height: 122px;
  }

  .portrait-image {
    background-position: center 14%;
  }

  .about-card {
    padding: 8px;
  }

  .middle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .about-card,
  .feature-gif-card,
  .top-socials-card {
    min-height: 196px;
  }

  .feature-gif-card {
    padding: 8px;
  }

  .top-calendar-card {
    padding: 0;
  }

  .about-kicker,
  .about-copy,
  .about-box {
    font-size: 0.62rem;
  }

  .about-note {
    font-size: 0.56rem;
  }

  .top-socials-card {
    padding: 8px;
    align-content: center;
  }

  .socials-title {
    font-size: 0.7rem;
  }

  .socials-links {
    gap: 5px 10px;
  }

  .socials-links a {
    font-size: 0.66rem;
  }

  .socials-gif {
    width: min(132px, 100%);
    max-height: 86px;
  }

  .about-section-socials {
    grid-column: 1 / -1;
    padding-left: 0;
    justify-items: center;
  }

  .socials-links {
    justify-content: center;
    transform: none;
  }

  .socials-gif {
    justify-self: center;
  }

  .about-copy,
  .about-box {
    font-size: 0.62rem;
  }

  .gallery-strip {
    gap: 5px;
  }

  .calendar-title {
    font-size: 0.62rem;
  }

  .mood-card,
  .mosaic-card {
    min-height: 154px;
  }

  .chat-mosaic-card {
    --mobile-chat-lift: 202px;
    min-height: calc(154px + var(--mobile-chat-lift));
    margin-top: calc(var(--mobile-chat-lift) * -1);
    position: relative;
    z-index: 1;
  }

  .mood-card {
    padding: 7px;
  }

  .mood-view {
    padding-bottom: 56px;
  }

  .mood-eyebrow {
    padding: 2px 6px;
    font-size: 0.62rem;
  }

  .mood-current {
    margin-left: 5px;
    font-size: 0.66rem;
  }

  .mood-inline-icon {
    height: 13px;
  }

  .mood-note {
    min-height: 31px;
    margin-left: 5px;
    max-width: 18ch;
    font-size: 0.6rem;
  }

  .mood-owner-panel {
    right: 7px;
    bottom: 7px;
    left: 7px;
  }

  .mood-updated {
    font-size: 0.52rem;
  }

  .mood-options {
    gap: 2px;
  }

  .mood-options button {
    padding: 2px 3px;
    font-size: 0.5rem;
  }

  .calendar-widget {
    gap: 4px;
    padding: 4px;
  }

  .calendar-header {
    grid-template-columns: 16px 1fr 16px;
    gap: 4px;
  }

  .calendar-button {
    width: 16px;
    height: 16px;
  }

  .calendar-weekdays,
  .calendar-days {
    gap: 2px;
  }

  .calendar-weekdays span,
  .calendar-day {
    min-height: 15px;
    font-size: 0.5rem;
  }

  .calendar-weekdays span {
    min-height: 13px;
    font-size: 0.46rem;
  }
}
