:root {
      --bg: #FEEFF3;
      --accent: #B07283;
      --muted: #FFF5F7;
      --button: #FFD6E0;
      --ms-bg: #fce8f1;
    }

    html,
    body {
      height: 100%;
      margin: 0;
      font-family: 'Special Elite', cursive;
      background:
        url('../assets/bg.gif') no-repeat center center fixed;
      background-size: cover;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 16px;
      box-sizing: border-box;
    }

    .main-container {
      width: 680px;
      height: 600px;
      background: var(--bg);
      border: 2px solid var(--accent);
      border-radius: 10px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
      display: flex;
      gap: 16px;
      padding: 14px;
      box-sizing: border-box;
      overflow: hidden;
    }

    .left-col {
      width: 200px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      box-sizing: border-box;
    }

    .left-col .pfp,
    .left-col .logo,
    .left-col .eye-cover {
      width: 180px;
      border-radius: 6px;
      display: block;
    }

    .left-col .pfp {
      height: 30px;
      width: 100px;
      object-fit: contain;
      border-radius: 1px;
    }

    .left-col .logo {
      height: 56px;
      object-fit: contain;
    }

    .left-col .eye-cover {
      height: 56px;
      object-fit: cover;
    }

    .socials {
      width: 180px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: stretch;
    }

    .socials a {
      display: block;
      text-align: center;
      padding: 7px 8px;
      text-decoration: none;
      background: var(--button);
      color: var(--accent);
      border: 1px solid var(--accent);
      border-radius: 6px;
      font-size: 13px;
      line-height: 1;
      box-sizing: border-box;
      position: relative;
      overflow: visible;
    }

    .socials a:hover {
      background: var(--accent);
      color: #fff;
    }

    .left-buttons {
      width: 180px;
      display: flex;
      gap: 8px;
      justify-content: center;
    }

    .left-buttons button {
      flex: 1;
      padding: 6px 8px;
      background: var(--button);
      border: 1px solid var(--accent);
      border-radius: 6px;
      cursor: pointer;
      font-family: 'Special Elite', cursive;
    }

    .left-buttons button:hover {
      background: var(--accent);
      color: #fff;
    }

    .right-col {
      flex: 1;
      height: 100%;
      display: flex;
      flex-direction: column;
      gap: 10px;
      box-sizing: border-box;
      overflow: hidden;
    }

    .right-scroll {
      flex: 1;
      overflow-y: auto;
      padding-right: 6px;
      box-sizing: border-box;
    }

    .box {
      background: var(--muted);
      border: 1px solid var(--accent);
      border-radius: 6px;
      padding: 10px;
      box-sizing: border-box;
    }

    .box h2 {
      margin: 0 0 8px 0;
      font-size: 16px;
    }

    .box p,
    .box li {
      font-size: 13px;
      margin: 4px 0;
      line-height: 1.15;
    }

    .trigger {
      display: block;
      cursor: pointer;
      background: var(--button);
      color: var(--accent);
      padding: 8px;
      border-radius: 6px;
      border: 1px solid var(--accent);
      font-weight: bold;
      font-size: 13px;
      font-family: 'Special Elite', cursive;
      user-select: none;
    }

    .trigger:hover {
      background: var(--accent);
      color: #fff;
    }

    .dropdown {
      max-height: 0;
      overflow: hidden;
      transition: max-height .35s ease;
    }

    .dropdown.active {
      max-height: 800px;
      transition: max-height .45s cubic-bezier(.2, .9, .2, 1);
    }

    .dropdown .trigger {
      margin-top: 3px;
      margin-bottom: 3px;
      width: calc(100% - 150px);
      padding-right: 12px;
      box-sizing: border-box;
    }

    .dropdown .box {
      border: none;
      background: transparent;
      padding: 0;
    }

    .image-bullets {
      list-style: none;
      padding-left: 0;
      margin: 0;
    }

    .image-bullets li {
      padding-left: 22px;
      position: relative;
      margin: 6px 0;
    }

    .image-bullets li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 18px;
      height: 18px;
      background: url("../assets/anchor.gif") no-repeat center;
      background-size: contain;
    }

    .drawbox,
    .ms-window {
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(126, 85, 95, 0.12);
    }

    .drawbox canvas {
      width: 100%;
      height: 200px;
      border-radius: 6px;
      display: block;
    }

    .stamps {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
    }

    button,
    .trigger,
    .socials a,
    .left-buttons button {
      position: relative;
      z-index: 0;
    }

    button::before,
    .trigger::before,
    .socials a::before,
    .left-buttons button::before {
      content: "";
      position: absolute;
      top: 2px;
      left: 2px;
      right: 2px;
      bottom: 2px;
      border: 1px dashed var(--accent);
      border-radius: inherit;
      z-index: -1;
      pointer-events: none;
    }

    #age-warning {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    #age-warning .warning-box {
      background: var(--bg);
      border: 3px solid var(--accent);
      padding: 18px;
      border-radius: 12px;
      max-width: 460px;
      width: 90%;
      text-align: center;
      box-sizing: border-box;
    }

    .right-scroll {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      padding-right: 6px;
      box-sizing: border-box;
    }

    .right-scroll>* {
      max-width: 100%;
      box-sizing: border-box;
    }

    .divider {
      width: 100%;
      max-width: 100%;
      height: auto;
      display: block;
      margin: 6px 0;
      object-fit: contain;
      border: none;
      box-sizing: border-box;
    }

    @keyframes bounce {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-6px);
      }
    }

    #play-gif.bounce {
      animation: bounce 0.5s ease-in-out infinite;
    }

    .ms-titlebar-bg {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 8px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.03);
      border-radius: 6px 6px 0 0;
      background: url('../assets/titlecard.png') no-repeat center center;
      background-size: cover;
      color: #fff;
      position: relative;
    }

@media (max-width: 680px) {

  html, body {
    overflow-x: hidden;
  }

  .main-container {
    width: 100%;
    max-width: 100%;
    min-width: 390px;
    height: 600px;             
    display: flex;
    flex-direction: row;        
    padding: 12px;
    gap: 12px;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto;
  }

  .left-col {
    flex: 0 0 26%;              
    min-width: 110px;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
  }

  .left-col .pfp,
  .left-col .logo,
  .left-col .eye-cover {
    width: 100%;
    max-width: 130px;
    height: auto;
    object-fit: contain;
  }

  .socials {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .socials a {
    width: 100%;
    font-size: 12px;
    padding: 6px 8px;
    box-sizing: border-box;
  }

  .left-buttons {
    width: 100%;
    display: flex;
    gap: 6px;
  }

  .left-buttons button {
    flex: 1;
    padding: 6px 8px;
    box-sizing: border-box;
  }

  .right-col {
    flex: 1 1 auto;             
    min-width: 0;             
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;          
    box-sizing: border-box;
  }

  .right-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    min-width: 0;
  }

  .right-scroll > *,
  .box {
    max-width: 100%;
    box-sizing: border-box;
  }

  .dropdown .trigger {
    width: 100%;
    padding-right: 8px;
    box-sizing: border-box;
  }

  .drawbox canvas {
    width: 100%;
    height: 200px;
  }

  #anonLetter,
  #spotifyLink {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
