* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--stickers-bg);
}

body {
  --stickers-bg: #f8faf5;
  --stickers-text: #000;
  --stickers-muted: rgba(0, 0, 0, 0.47);
  --stickers-faint: rgba(0, 0, 0, 0.3);
  --stickers-card: #f8faf5;
  --stickers-glass: rgba(255, 255, 255, 0.82);
  --stickers-border: rgba(0, 0, 0, 0.18);
  --stickers-shadow: rgba(37, 38, 36, 0.09);
  color: var(--stickers-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-color-scheme: dark) {
  body {
    --stickers-bg: #252624;
    --stickers-text: #c2c0b6;
    --stickers-muted: rgba(194, 192, 182, 0.56);
    --stickers-faint: rgba(194, 192, 182, 0.32);
    --stickers-card: #252624;
    --stickers-glass: rgba(47, 48, 46, 0.82);
    --stickers-border: rgba(194, 192, 182, 0.18);
    --stickers-shadow: rgba(0, 0, 0, 0.22);
  }
}

.stickers-page {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  background: var(--stickers-bg);
}

.stickers-card {
  position: relative;
  width: min(644px, 100%);
  min-height: 760px;
  padding: 6px 36px 18px;
  background: var(--stickers-card);
  overflow: hidden;
}

.stickers-back {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 40;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--stickers-text);
  background: var(--stickers-glass);
  border: 1px solid var(--stickers-border);
  box-shadow: 0 10px 30px var(--stickers-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
}

.stickers-title {
  position: relative;
  z-index: 4;
  width: 112%;
  margin: 34px 0 0 -18px;
  min-height: 108px;
  font-family: "Pridi", serif;
  font-size: clamp(54px, 5.7vw, 77px);
  font-weight: 400;
  line-height: 0.72;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-4.49deg);
}

.stickers-author {
  position: relative;
  z-index: 5;
  width: min(132px, 100%);
  margin: 28px auto 0;
  font-family: "Pridi", serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--stickers-muted);
  transform: rotate(-4.99deg);
}

.stickers-author-role {
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.05;
}

.stickers-author-name {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.05;
}

.stickers-copy {
  position: relative;
  z-index: 4;
  margin: 0 auto;
  font-family: "Playfair Display", serif;
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.16;
  text-align: center;
}

.stickers-copy-intro {
  width: min(470px, 100%);
  margin-top: 34px;
}

.stickers-copy-main {
  width: min(470px, 100%);
  margin-top: 24px;
}

.stickers-copy-dialogs {
  width: min(360px, 100%);
  margin: 190px auto 0;
}

.stickers-copy-outro {
  width: min(552px, 100%);
  margin-top: 56px;
}

.stickers-art {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.stickers-art-left {
  z-index: 7;
  width: 64px;
  left: 70px;
  top: 116px;
  transform: rotate(-21.38deg);
}

.stickers-art-top {
  z-index: 7;
  width: 58px;
  right: 42px;
  top: 20px;
}

.stickers-art-photo {
  z-index: 3;
  width: 230px;
  right: 8px;
  top: 394px;
  transform: rotate(16.15deg);
}

.stickers-art-bubble {
  width: 108px;
  left: 38px;
  top: 408px;
}

.stickers-art-small {
  position: relative;
  z-index: 4;
  display: block;
  width: 34px;
  margin: 12px auto 0;
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
}

.stickers-made {
  position: relative;
  z-index: 4;
  width: 100%;
  margin-top: 30px;
  font-family: "Patrick Hand SC", cursive;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  color: var(--stickers-faint);
}

@media (max-width: 900px) {
  .stickers-card {
    min-height: 100dvh;
    padding: 82px 18px 28px;
  }

  .stickers-back {
    top: 14px;
    left: 14px;
    width: 58px;
    height: 58px;
  }

  .stickers-title {
    width: 112%;
    min-height: auto;
    margin: 0 0 0 -14px;
    font-size: clamp(50px, 14vw, 78px);
    line-height: 0.82;
    justify-content: flex-start;
    text-align: left;
  }

  .stickers-author {
    align-items: flex-start;
    text-align: left;
    margin: 42px 0 0 48%;
  }

  .stickers-copy {
    font-size: clamp(21px, 6vw, 30px);
    text-align: left;
  }

  .stickers-copy-intro,
  .stickers-copy-main,
  .stickers-copy-dialogs,
  .stickers-copy-outro {
    width: 100%;
    margin-left: 0;
  }

  .stickers-copy-intro {
    margin-top: 42px;
  }

  .stickers-copy-main {
    margin-top: 30px;
  }

  .stickers-copy-dialogs {
    margin-top: 300px;
  }

  .stickers-copy-outro {
    margin-top: 44px;
  }

  .stickers-art-left {
    width: clamp(72px, 24vw, 130px);
    left: 14px;
    top: 192px;
  }

  .stickers-art-top {
    width: clamp(58px, 19vw, 116px);
    right: 0;
    top: 58px;
  }

  .stickers-art-photo {
    width: min(62vw, 300px);
    right: -14vw;
    top: 690px;
  }

  .stickers-art-bubble {
    width: clamp(110px, 34vw, 190px);
    left: -20px;
    top: 718px;
  }

  .stickers-art-small {
    width: clamp(42px, 14vw, 78px);
    margin-top: 16px;
  }

  .stickers-made {
    margin-top: 44px;
    font-size: clamp(30px, 10vw, 52px);
  }
}
