:root {
  --pink: #f58db2;
  --pink-deep: #df5f91;
  --pink-soft: #ffd7e6;
  --pink-pale: #fff0f6;
  --white: #fff;
  --ink: #a75e78;
  --shadow: rgba(206, 87, 130, 0.25);
}

@font-face {
  font-family: "Kawaii Stitch";
  src: url("assets/fonts/Straw_20Milky.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Straw Milky";
  src: url("assets/fonts/Kawaii_Stitch.ttf") format("truetype"),
    url("assets/fonts/Kawaii_Stitch.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "earthbound beginnings";
  src: url("assets/earthbound-beginnings.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
  cursor: url("https://cdn.cursors-4u.net/previews/cute-polka-dotted-red-bow-tie-ribbon-36336bff-32.webp") 32 32, auto !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 238, 247, 0.3), rgba(255, 238, 247, 0.3)),
    url("assets/pink-strips.gif") center / cover fixed;
  font-family: "Kawaii Stitch", "Straw Milky", "earthbound beginnings", cursive, sans-serif;
  font-size: 9px;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

.dove-site {
  width: min(1090px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 3px;
  overflow: hidden;
  border-radius: 30px;
}

.dove-window {
  height: min(820px, calc(100vh - 54px));
  overflow: hidden;
  display: grid;
  grid-template-rows: 154px 50px 1fr;
  gap: 10px;
  padding: 16px;
  border-width: 7px;
  border-style: solid;
  border-image: url("https://i.imgur.com/ROjUrNz.gif") 6 fill round;
  border-image-outset: 0;
  border-radius: 26px;
  background-clip: padding-box;
  background:
    radial-gradient(circle, rgba(245, 141, 178, 0.18) 0 4px, transparent 5px) 12px 12px / 30px 30px,
    rgba(255, 250, 253, 0.88);
  box-shadow:
    0 0 0 2px rgba(245, 141, 178, 0.55),
    0 18px 48px var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 2px solid rgba(245, 141, 178, 0.42);
  border-radius: 22px;
  background: #fff6fb;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 22px 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(223, 95, 145, 0.45), transparent);
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}

.button-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(128px, 170px));
  justify-content: center;
  align-content: center;
  gap: 8px;
}

.tab-control {
  cursor: pointer;
  border: 0;
}

.image-tab {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(245, 141, 178, 0.5);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 6px 0 rgba(245, 141, 178, 0.16);
  display: block;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.game-link {
  text-decoration: none;
}

.image-tab img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tab-control:hover,
.tab-control:focus-visible,
.tab-control.is-active {
  outline: none;
  transform: translateY(-2px);
}

.image-tab:hover,
.image-tab:focus-visible,
.image-tab.is-active {
  border-color: var(--pink-deep);
  box-shadow:
    0 7px 0 rgba(245, 141, 178, 0.2),
    0 0 0 4px rgba(255, 255, 255, 0.8);
}

.content-shell {
  min-height: 0;
  display: grid;
  grid-template-columns: 230px 1fr 220px;
  gap: 14px;
}

.brand-card,
.main-card,
.side-card {
  min-height: 0;
  border: 2px solid rgba(245, 141, 178, 0.42);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 244, 249, 0.86)),
    radial-gradient(circle, rgba(245, 141, 178, 0.2) 0 4px, transparent 5px) 0 0 / 24px 24px;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.45);
}

.brand-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
  padding: 14px;
}

.about-photo {
  width: min(138px, 88%);
  aspect-ratio: 1;
  object-fit: contain;
  border: 2px dashed rgba(245, 141, 178, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  filter: drop-shadow(0 8px 8px rgba(223, 95, 145, 0.12));
}

.about-scrollbox {
  width: 100%;
  min-height: 0;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 12px 14px;
  border: 2px dashed rgba(245, 141, 178, 0.65);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  text-align: left;
  scrollbar-color: #f5a3c3 #fff4f8;
  scrollbar-width: thin;
}

.about-scrollbox h2 {
  margin: 0 0 8px;
  color: var(--pink-deep);
  font-family: "Kawaii Stitch", "Straw Milky", cursive;
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
}

.about-scrollbox p {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.about-scrollbox::-webkit-scrollbar {
  width: 17px;
}

.about-scrollbox::-webkit-scrollbar-corner {
  background: #ffe6f0;
}

.about-scrollbox::-webkit-scrollbar-track:vertical {
  border-left: 1px solid #fff;
  border-right: 1px solid #f4b7cf;
  background:
    repeating-linear-gradient(
      to bottom,
      #fff7fb 0 2px,
      #ffe6f0 2px 4px
    );
}

.about-scrollbox::-webkit-scrollbar-thumb {
  border: 1px solid #fff;
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      to bottom,
      #fff 0 2px,
      #f48db5 2px 4px,
      #f48db5 4px 6px
    );
  box-shadow:
    inset -3px 0 #ef79a7,
    inset 1px 1px #ffd9e8;
}

.about-scrollbox::-webkit-scrollbar-button:vertical:start,
.about-scrollbox::-webkit-scrollbar-button:vertical:end {
  height: 17px;
  border: 1px solid #fff;
  background:
    linear-gradient(#fffafd, #ffd6e7);
}

.main-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 18px;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 70px;
  margin-bottom: 12px;
  border: 2px dashed rgba(245, 141, 178, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.title-row h1 {
  margin: 0;
  color: var(--pink-deep);
  font-family: "Kawaii Stitch", "Straw Milky", cursive;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.heart {
  color: var(--pink);
  font-size: 1.8rem;
}

.panel-copy {
  display: none;
  overflow: auto;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.64), rgba(255, 239, 247, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, 0.38) 24px 48px);
    font-family: 'earthbound beginnings';
  font-size: 14px;
  line-height: 1.55;
}

.panel-copy.is-active {
  display: block;
}

.panel-copy p {
  max-width: 620px;
  margin: 0 auto 14px;
  text-align: center;
}

.dot-list {
  width: fit-content;
  margin: 16px auto 0;
  padding-left: 24px;
}

.dot-list li::marker {
  color: var(--pink-deep);
}

.tag-row,
.link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.tag-row span,
.link-row a,
.text-tab {
  min-width: 92px;
  padding: 9px 16px;
  border: 2px solid rgba(245, 141, 178, 0.52);
  border-radius: 999px;
  color: var(--pink-deep);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
  text-decoration: none;
}

.side-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}

.text-tab {
  width: 100%;
  box-shadow: 0 5px 0 rgba(245, 141, 178, 0.16);
  font-family: "Kawaii Stitch", "Straw Milky", cursive;
  font-size: 1.15rem;
}

.text-tab:hover,
.text-tab:focus-visible,
.text-tab.is-active {
  color: var(--white);
  background: var(--pink);
  border-color: var(--pink-deep);
}

.status-tab {
  font-size: 1rem;
}

.music-player {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(96px, 1fr) auto auto auto;
  gap: 8px;
  padding: 10px;
  border: 2px dashed rgba(245, 141, 178, 0.62);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 206, 225, 0.74));
  text-align: center;
}

.music-player #thumbnail {
  width: 100%;
  min-height: 0;
  height: 100%;
  max-height: 156px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  transition: transform 200ms ease;
}

.music-player.is-playing #thumbnail {
  transform: scale(1.03);
}

.music-info {
  min-width: 0;
}

.song-artist,
.song-title {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.song-artist {
  color: var(--ink);
  font-size: 0.9rem;
}

.song-title {
  color: var(--pink-deep);
  font-family: "Kawaii Stitch", "Straw Milky", cursive;
  font-size: 0.96rem;
  line-height: 1.15;
}

.music-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.music-controls button {
  min-width: 0;
  padding: 6px 4px;
  border: 2px solid rgba(245, 141, 178, 0.52);
  border-radius: 999px;
  color: var(--pink-deep);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-family: "Kawaii Stitch", "Straw Milky", cursive;
  font-size: 0.78rem;
}

#progress-bar {
  width: 100%;
  accent-color: var(--pink-deep);
}

.music-times {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 0.75rem;
}

@media (max-width: 980px) {
  body {
    align-items: start;
    overflow-y: auto;
  }

  .dove-site {
    max-height: none;
  }

  .dove-window {
    height: auto;
    overflow: visible;
    grid-template-rows: auto auto auto;
  }

  .hero {
    height: 150px;
  }

  .button-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-shell {
    grid-template-columns: 1fr;
  }

  .brand-card {
    grid-template-columns: 140px 1fr;
    grid-template-rows: auto;
  }

  .side-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .music-player {
    grid-column: 1 / -1;
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  body {
    padding: 10px;
  }

  .dove-site {
    width: calc(100vw - 20px);
  }

  .dove-window {
    padding: 10px;
    border-radius: 18px;
  }

  .button-tabs,
  .brand-card,
  .side-card,
  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 124px;
  }
}

.header img {
  width: 500px;
  object-fit: contain;
  height: 250px;
  margin-left: -20px;
  margin-top: -10px;
  
}

.sticker {
  width: 90px;
  position: absolute;
  top: 30px;
  right: 389px;
  transform: rotate(10deg);
  z-index: 10;
}
