/* Original pattern background preserved */
.add-hobby-page {
  min-height: 100vh;
  background: #000000;
}
.add-hobby-bg {
  position: fixed;
  z-index: 0;
  top: 98px;
  left: 50%;
  width: 1440px;
  height: 603px;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  max-width: none;
  pointer-events: none;
}
@media (min-width: 600px) and (max-width: 1024px) {
  .add-hobby-bg {
    top: var(--shumi-bg-top-md, 8px);
    width: var(--shumi-bg-width-md, 200%);
    height: auto;
  }
}
@media (max-width: 599px) {
  .add-hobby-bg {
    top: var(--shumi-bg-top-sm, 56px);
    width: var(--shumi-bg-width-sm, 200%);
    height: auto;
  }
}

.add-hobby-page {
  min-height: 100vh;
}

.add-hobby-main {
  position: relative;
  width: min(100% - 48px, 1400px);
  margin: 0 auto;
  padding: 16px 0 72px;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(580px, 720px);
  gap: 20px 16px;
  align-items: start;
  justify-items: center;
  overflow: visible;
}

.add-hobby-back {
  position: relative;
  top: auto;
  left: auto;
  grid-column: 1 / -1;
  justify-self: start;
  margin-bottom: 18px;
  margin-left: max(0px, calc((min(100vw - 48px, 1400px) - min(100vw - 48px, 920px)) / 2));
}

.add-hobby-bubble {
  position: relative;
  top: auto;
  left: auto;
  grid-column: 1;
  grid-row: 2;
  width: max-content;
  min-width: 0;
  max-width: 100%;
  height: auto;
  padding: 6px 8px;
  margin: -16px 0 0 220px;
  justify-self: start;
}

.add-hobby-alien {
  position: relative;
  top: auto;
  left: auto;
  grid-column: 1;
  grid-row: 3;
  overflow: hidden;
  justify-self: center;
  margin-top: 10px;
}

.add-hobby-profile {
  grid-column: 1;
  grid-row: 4;
  max-width: 280px;
  justify-self: center;
  margin-left: 40px;
}

.add-hobby-profile h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
}

.add-hobby-profile__line {
  width: 48px;
  height: 6px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--accent);
  transform: skewX(-24deg);
}

.add-hobby-profile__line img {
  display: none;
}

.add-hobby-profile p {
  margin: 0;
  color: var(--dust);
  font-size: 14px;
  line-height: 1.7;
  white-space: normal;
}

.add-hobby-bubble p {
  white-space: nowrap;
}

.add-hobby-bubble__br-mobile {
  display: revert;
}

.add-hobby-board__br-mobile {
  display: none;
}

.add-hobby-board {
  grid-column: 2;
  grid-row: 2 / 5;
  justify-self: stretch;
  align-self: end;
  width: 100%;
  max-width: 720px;
  min-width: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 28px 26px 24px 32px;
  background: var(--paper);
  color: var(--ink);
  margin-left: -104px;
  transform: rotate(-0.8deg);
}

.add-hobby-board::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--accent);
}

.add-hobby-board h1 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.add-hobby-board__dots {
  width: 40px;
  height: 3px;
  margin-bottom: 14px;
  background: var(--ink);
  transform: skewX(-22deg);
}

.add-hobby-board__dots img {
  display: none;
}

.add-hobby-board__text p {
  margin: 0 0 10px;
  color: #3f3c36;
  font-size: 16px;
  line-height: 1.75;
}

.add-hobby-board__text span {
  color: var(--accent);
}

.add-hobby-board__note-line {
  color: #6b665c !important;
  font-size: 13px !important;
}

.add-hobby-board__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 8px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--cream);
  font-size: 17px;
}

.add-hobby-board__cta:hover {
  transform: translate(2px, -2px);
}

@media (max-width: 1024px) {
  .add-hobby-main {
    width: min(100% - 32px, 1000px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
    gap: 12px 12px;
    padding: 16px 0 56px;
    overflow: visible;
  }

  .add-hobby-back {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
    margin-bottom: 12px;
    margin-left: max(0px, calc((min(100vw - 32px, 1000px) - min(100vw - 40px, 720px)) / 2));
  }

  .add-hobby-bubble {
    grid-column: 1;
    grid-row: 2;
    width: max-content;
    max-width: none;
    margin: -10px 0 0 clamp(12px, 9vw, 88px);
    justify-self: start;
  }

  .add-hobby-alien {
    grid-column: 1;
    grid-row: 3;
    margin-top: 8px;
    justify-self: center;
  }

  .add-hobby-profile {
    grid-column: 1;
    grid-row: 4;
    max-width: min(200px, 100%);
    margin-left: 0;
    justify-self: center;
  }

  .add-hobby-profile h2 {
    font-size: 17px;
  }

  .add-hobby-profile p {
    font-size: 12px;
    line-height: 1.6;
  }

  .add-hobby-board {
    grid-column: 2;
    grid-row: 2 / 5;
    align-self: end;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-left: 0;
    padding: 14px 10px 14px 12px;
    transform: rotate(-0.8deg);
    overflow: visible;
  }

  .add-hobby-board::before {
    width: 6px;
  }

  .add-hobby-board h1 {
    white-space: nowrap;
    font-size: clamp(12px, 2.1vw, 22px);
    margin: 0 0 10px;
  }

  .add-hobby-board__br-mobile {
    display: none;
  }

  .add-hobby-board__text p {
    font-size: 13px;
    line-height: 1.65;
  }

  .add-hobby-board__note-line {
    font-size: 11px !important;
  }

  .add-hobby-board__cta {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
    width: auto;
  }
}

@media (max-width: 599px) {
  .add-hobby-main {
    width: min(100% - 32px, 540px);
    grid-template-columns: 1fr;
    margin: 0 auto;
  }

  .add-hobby-bubble,
  .add-hobby-alien,
  .add-hobby-profile,
  .add-hobby-board {
    grid-column: 1;
  }

  .add-hobby-bubble {
    grid-row: 2;
    max-width: calc(100% - 8px);
    width: max-content;
    margin: -6px 0 0 32px;
  }

  .add-hobby-bubble p {
    white-space: nowrap;
    font-size: clamp(20px, 6.6vw, var(--bubble-font));
  }

  .add-hobby-alien {
    grid-row: 3;
    margin-top: 8px;
  }

  .add-hobby-profile {
    grid-row: 4;
    margin-left: 12px;
  }

  .add-hobby-board {
    grid-column: 1;
    grid-row: 5;
    width: 100%;
    max-width: none;
    align-self: start;
    margin-left: 0;
    transform: none;
  }

  .add-hobby-board__cta {
    width: 100%;
  }

  .add-hobby-bubble__br-mobile {
    display: revert;
  }

  .add-hobby-board__br-mobile {
    display: revert;
  }

  .add-hobby-board h1 {
    white-space: normal;
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.35;
  }

  .add-hobby-profile {
    max-width: none;
  }

  .add-hobby-profile h2 {
    font-size: 24px;
  }

  .add-hobby-profile p {
    white-space: normal;
    font-size: 16px;
    line-height: 1.75;
  }
}

