@charset "UTF-8";

:root {
  --cream: #fbf8f1;
  --paper: #fffcf6;
  --ink: #29251f;
  --muted: #70685c;
  --orange: #bd4721;
  --orange-dark: #a93b14;
  --line: #e7dfd1;
  --sage: #e8ecdf;
  --font: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 5px;
}

h1, h2, p {
  margin: 0;
}

svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 12px;
  padding: 15px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.profile-page {
  width: min(560px, calc(100% - 40px));
  margin: 48px auto;
  padding: 36px 40px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.wordmark {
  width: 166px;
  height: auto;
}

.brand-flower {
  font-size: 29px;
  line-height: 1;
  color: var(--orange);
}

.profile {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 27px;
}

.character-frame {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 104px;
  height: 128px;
  flex-shrink: 0;
  border-radius: 55px 55px 24px 24px;
  background: #f5e4cf;
  padding: 8px 17px 0;
  overflow: hidden;
}

.character-frame img {
  width: 70px;
  height: auto;
}

.eyebrow {
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.65px;
  margin-bottom: 7px;
}

h1 {
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -1.7px;
  font-weight: 800;
}

.bio {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.35px;
}

.invitation {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: -.1px;
}

.channel-links {
  display: grid;
  gap: 11px;
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  border-radius: 11px;
  padding: 15px 18px;
  transition: background .18s, transform .18s;
}

.channel-link:hover {
  transform: translateY(-2px);
}

.youtube {
  background: var(--orange);
  color: #fff;
}

.youtube:hover {
  background: var(--orange-dark);
}

.instagram {
  background: transparent;
  border: 1px solid var(--line);
}

.instagram:hover {
  background: #f5eee3;
}

.link-icon {
  flex-shrink: 0;
}

.link-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.link-copy strong {
  font-size: 16px;
  letter-spacing: -.4px;
  line-height: 1.5;
}

.link-copy small {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 2px;
}

.instagram small {
  color: var(--muted);
}

.channel-link > svg {
  width: 21px;
  height: 21px;
}

.featured-section {
  margin-top: 28px;
}

.featured-section h2, .contact-section h2 {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -.15px;
  line-height: 1.6;
}

.featured-link {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
}

.featured-image {
  width: 92px;
  flex-shrink: 0;
}

.featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 268/480;
  object-fit: contain;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  padding: 15px 20px 15px 0;
  min-width: 0;
}

.featured-copy > strong {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -.8px;
}

.featured-copy > span:not(.featured-action) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin-top: 9px;
}

.featured-action {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  margin-top: 15px;
}

.featured-action svg {
  width: 17px;
  height: 17px;
}

.featured-link:hover .featured-action {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.zipbap-section {
  margin: 0 0 11px;
  padding: 16px 18px 14px;
  border-radius: 11px;
  background: var(--sage);
}

.zipbap-link {
  display: block;
  min-height: 44px;
  color: #344331;
}

.zipbap-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zipbap-link h2 {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.3px;
  line-height: 1.6;
}

.zipbap-description, .zipbap-features {
  font-size: 12px;
  line-height: 1.8;
  color: #59634f;
}

.zipbap-description {
  margin-top: 10px;
}

.zipbap-description strong {
  color: #344331;
  font-weight: 750;
}

.zipbap-features > span {
  white-space: nowrap;
}

.zipbap-action {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.zipbap-action svg {
  width: 17px;
  height: 17px;
}

.zipbap-link:hover .zipbap-action {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.beta-access {
  color: #59634f;
  font-size: 11px;
  line-height: 1.75;
  margin-top: 10px;
}

.contact-section {
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.contact-section h2 {
  color: var(--muted);
  font-size: 12px;
}

.contact-link {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  font-size: 16px;
  letter-spacing: -.25px;
}

.contact-link svg {
  width: 19px;
  height: 19px;
  color: var(--orange-dark);
}

.contact-link > svg:last-child {
  margin-left: auto;
}

.contact-link:hover > span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

footer > span {
  color: var(--orange);
  font-size: 17px;
}

.no-script {
  width: min(480px, calc(100% - 40px));
  margin: 40px auto;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .profile-page {
    width: min(480px, calc(100% - 40px));
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0 0 calc(24px + env(safe-area-inset-bottom));
    margin: 30px auto 0;
  }

  .brand-header {
    margin-bottom: 29px;
  }

  .wordmark {
    width: 154px;
  }

  .profile {
    gap: 20px;
  }

  .character-frame {
    width: 94px;
    height: 123px;
    padding-inline: 12px;
  }

  .profile-copy {
    flex: 1;
  }

  h1 {
    font-size: 32px;
  }

  .bio {
    font-size: 14px;
    margin-top: 8px;
  }

  .invitation {
    font-size: 11px;
  }

  .channel-link {
    min-height: 73px;
    padding: 15px 17px;
  }

  .link-copy strong {
    font-size: 15px;
  }

  .featured-copy > strong {
    font-size: 21px;
  }
}

@media (max-width: 359px) {
  .profile-page {
    width: calc(100% - 32px);
    margin-top: 24px;
  }

  .profile {
    gap: 15px;
  }

  .character-frame {
    width: 79px;
    height: 116px;
    padding-inline: 7px;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .bio {
    font-size: 13px;
  }

  .invitation {
    font-size: 10px;
  }

  .channel-link {
    gap: 12px;
    padding-inline: 14px;
  }

  .link-copy strong {
    font-size: 14px;
  }

  .featured-image {
    width: 82px;
  }

  .featured-link {
    gap: 15px;
  }

  .featured-copy {
    padding-right: 13px;
  }

  .featured-copy > strong {
    font-size: 19px;
  }

  .featured-copy > span:not(.featured-action) {
    font-size: 11px;
  }

  .zipbap-section {
    padding-inline: 14px;
  }

  .zipbap-link h2 {
    font-size: 13px;
  }

  .beta-access {
    font-size: 10px;
  }

  .contact-link {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }

  .channel-link:hover {
    transform: none;
  }
}
