@font-face {
  font-family: Pretendard;
  src: url('../assets/fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Pretendard,-apple-system,BlinkMacSystemFont,sans-serif;
  color: #111;
  background: white;
  --red: #ff4438;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
}
button,a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
::selection {
  background: #ffd5cf;
}
h1,h2,h3,p {
  margin: 0;
}
h2 {
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -.055em;
  font-weight: 720;
}
h3 {
  letter-spacing: -.035em;
}
img {
  max-width: 100%;
  display: block;
}
.masthead {
  max-width: 1440px;
  margin: auto;
  padding: 27px 48px;
  display: flex;
  align-items: center;
  gap: 46px;
  font-size: 14px;
}
.brand {
  font-size: 16px;
  font-weight: 760;
}
.masthead nav {
  display: flex;
  gap: 30px;
}
.my-button {
  margin-left: auto;
  font-size: 13px;
}
.hero {
  text-align: center;
  padding: 55px 24px 65px;
  overflow: hidden;
}
.wordmark {
  width: min(580px,80vw);
  height: auto;
  margin: auto;
}
.headline {
  font-size: 26px;
  letter-spacing: -.045em;
  margin: 26px 0 10px;
}
.description {
  font-size: 16px;
  line-height: 1.75;
  color: #777;
}
.showcase {
  position: relative;
  width: min(960px,100%);
  height: 480px;
  margin: 22px auto 0;
  isolation: isolate;
}
.orbit {
  position: absolute;
  width: 800px;
  height: 230px;
  border: 1px solid #eaeaea;
  border-radius: 50%;
  top: 116px;
  left: 50%;
  transform: translateX(-50%) rotate(-12deg);
  z-index: -1;
}
.orbit:before,.orbit:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  left: 43px;
  top: 45px;
}
.orbit:after {
  left: auto;
  top: auto;
  right: 43px;
  bottom: 45px;
}
.hero-card {
  position: absolute;
  width: 280px;
  left: 49%;
  top: 4px;
  transform: rotate(9deg);
  mix-blend-mode: multiply;
}
.hero-sheet {
  position: absolute;
  left: 23%;
  top: 78px;
  width: 220px;
  transform: rotate(-11deg);
  z-index: 1;
}
.handwritten {
  font: italic 24px/1.3 Georgia,serif;
  letter-spacing: -.04em;
}
.note-left {
  position: absolute;
  left: 3%;
  top: 77px;
  transform: rotate(-8deg);
  text-align: left;
}
.note-right {
  position: absolute;
  right: 0;
  top: 295px;
  text-align: left;
  transform: rotate(6deg);
}
.note-right em {
  color: #c62e25;
}
.hero-label {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  font-size: 10px;
  letter-spacing: .1em;
  color: #888;
}
.hero-label span {
  color: var(--red);
  margin: 0 15px;
  font-size: 16px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 17px 23px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
}
.primary {
  background: #111;
  color: white;
}
.primary:hover {
  background: #333;
}
.text-link {
  font-size: 14px;
  border-bottom: 1px solid #bbb;
  padding: 8px 0;
}
.section {
  max-width: 1200px;
  margin: auto;
  padding: 76px 40px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 13px;
}
.muted {
  font-size: 15px;
  line-height: 1.8;
  color: #777;
  margin-top: 12px;
  word-break: keep-all;
}
.little-note {
  font: italic 19px Georgia;
  color: #777;
}
.packs {
  border-top: 1px solid #eee;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}
.product {
  padding: 0;
  text-align: left;
  width: 100%;
}
.product-art {
  background: var(--wash);
  height: 340px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-art .sheet {
  width: 188px;
  transform: rotate(-8deg) translateX(-22px);
  transition: transform .3s;
}
.product:hover .sheet {
  transform: rotate(-3deg) translateX(-22px) translateY(-5px);
}
.mini-card {
  position: absolute;
  width: 112px;
  bottom: 18px;
  right: 10px;
  transform: rotate(10deg);
  mix-blend-mode: multiply;
}
.pack-number {
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 10px;
  letter-spacing: .09em;
  color: #777;
}
.product-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 19px 0 8px;
  align-items: center;
}
.product-label h3 {
  font-size: 18px;
}
.price {
  font-size: 14px;
  white-space: nowrap;
}
.price i {
  font-style: normal;
  color: var(--red);
  margin-right: 5px;
}
.product p {
  font-size: 13px;
  color: #888;
}
.sample-note {
  font-size: 11px;
  color: #999;
  margin-top: 24px;
  line-height: 1.7;
}
.sheet {
  background: #fffefa;
  border: 1px solid #e5dfd8;
  border-radius: 3px;
  box-shadow: 2px 8px 15px #4433260d;
  padding: 12px 12px 8px;
  position: relative;
  color: var(--ink,#c8323e);
}
.sheet-header {
  text-align: left;
  border-bottom: 1px solid #e9e3df;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 700 12px Pretendard,sans-serif;
}
.sheet-header small {
  font: 7px Pretendard;
  letter-spacing: .1em;
  color: #999;
}
.stickers {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 4px;
  padding-top: 9px;
  align-items: center;
}
.sticker {
  width: 100%;
  aspect-ratio: 1;
  padding: 1px;
  filter: drop-shadow(0 2px 1px #0002);
  display: grid;
  place-items: center;
}
.sticker svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sticker:nth-child(4n) {
  transform: rotate(-13deg);
}
.sticker:nth-child(4n + 1) {
  transform: rotate(9deg);
}
.sheet-bottom {
  text-align: center;
  font-size: 7px;
  letter-spacing: .15em;
  color: #a3978c;
}
.play-section {
  background: #faf8f5;
  margin-top: 20px;
  padding: 75px 40px;
}
.play-inner {
  max-width: 1020px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
}
.play-visual {
  position: relative;
  place-items: center;
}
.preview-card {
  position: relative;
  width: 290px;
}
.preview-card>img {
  mix-blend-mode: multiply;
}
.play-note {
  position: absolute;
  bottom: 5px;
  right: 15px;
  color: #b6453d;
  transform: rotate(-8deg);
}
.reset {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 12px;
  padding: 12px;
  color: #777;
}
.play-content h2 {
  font-size: 35px;
}
.theme-tabs {
  display: flex;
  gap: 9px;
  margin: 24px 0 17px;
}
.theme-tabs button {
  border: 1px solid #dedbd7;
  border-radius: 30px;
  padding: 10px 13px;
  font-size: 12px;
  background: white;
}
.theme-tabs button[aria-pressed=true] {
  border-color: #111;
  color: white;
  background: #111;
}
.try-sheet {
  max-width: 350px;
  padding: 12px 20px;
}
.try-sheet .stickers {
  grid-template-columns: repeat(6,1fr);
}
.try-sheet .sticker {
  transition: opacity .2s,transform .2s;
}
.try-sheet .sticker:hover {
  transform: translateY(-4px);
}
.sticker.used {
  opacity: .18;
  filter: none;
}
.try-note {
  font-size: 11px;
  color: #888;
  margin-top: 13px;
}
.reusable {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #e6e0d9;
  margin-top: 24px;
  padding-top: 20px;
}
.reusable>span {
  font-size: 27px;
  color: var(--red);
}
.reusable p {
  font-size: 12px;
  line-height: 1.9;
  color: #777;
}
.reusable strong {
  color: #222;
  font-size: 14px;
  font-weight: 600;
}
#sticker-layer {
  position: absolute;
  inset: 0;
}
.placed {
  position: absolute;
  width: 22%;
  padding: 0;
  filter: drop-shadow(0 2px 2px #0003);
  transform: translate(-50%,-50%);
}
.placed svg {
  width: 100%;
  display: block;
}
.how {
  text-align: center;
  padding-top: 85px;
  padding-bottom: 85px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 40px;
}
.steps article+article {
  border-left: 1px solid #eee;
}
.steps span {
  font-size: 10px;
  color: var(--red);
  letter-spacing: .12em;
}
.steps h3 {
  font-size: 18px;
  margin: 17px 0 11px;
}
.steps p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
}
.inspiration {
  border-top: 1px solid #eee;
}
.editorial-label {
  font-size: 12px;
  color: #888;
}
.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 23px;
}
.inspiration-grid button {
  text-align: left;
  padding: 0;
}
.inspiration-grid button>div {
  background: #faf9f7;
  overflow: hidden;
  padding: 16px 12px;
}
.inspiration-grid img {
  mix-blend-mode: multiply;
  transition: transform .3s;
}
.inspiration-grid button:nth-child(even) img {
  transform: rotate(4deg);
}
.inspiration-grid button:nth-child(odd) img {
  transform: rotate(-4deg);
}
.inspiration-grid button:hover img {
  transform: rotate(0) scale(1.03);
}
.inspiration-grid span {
  display: block;
  font-size: 14px;
  margin: 17px 0 8px;
}
.inspiration-grid b {
  float: right;
  font-weight: 400;
}
.inspiration-grid small {
  font-size: 9px;
  color: #999;
  letter-spacing: .1em;
}
.closing {
  text-align: center;
  padding: 70px 20px 90px;
}
.closing .handwritten {
  color: #bd3d35;
  margin-bottom: 18px;
}
.closing h2 {
  font-size: 28px;
  margin-bottom: 27px;
}
footer {
  margin: 0 48px;
  border-top: 1px solid #eee;
  padding: 30px 0;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 11px;
  color: #888;
}
footer span {
  margin-left: auto;
}
dialog {
  border: 0;
  border-radius: 10px;
  max-width: 780px;
  width: calc(100% - 32px);
  padding: 45px;
  color: #111;
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #18110d66;
  backdrop-filter: blur(4px);
}
.close {
  position: absolute;
  right: 13px;
  top: 10px;
  font-size: 28px;
  width: 40px;
  height: 40px;
}
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.modal-grid .sheet {
  width: 100%;
}
.modal-copy h2 {
  font-size: 28px;
}
.modal-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  margin: 15px 0;
}
.modal-copy .button {
  width: 100%;
  margin-top: 20px;
}
.modal-copy small {
  display: block;
  font-size: 11px;
  color: #999;
  line-height: 1.7;
  margin-top: 12px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%,15px);
  background: #222;
  color: white;
  padding: 15px 22px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  max-width: calc(100% - 32px);
  width: max-content;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  z-index: 10;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%,0);
}
@media(max-width:760px) {
  .masthead {
    padding: 22px;
    gap: 25px;
  }
  .masthead nav {
    gap: 18px;
    font-size: 12px;
  }
  .my-button {
    font-size: 12px;
  }
  .my-button span {
    display: none;
  }
  .hero {
    padding: 40px 20px 48px;
  }
  .wordmark {
    width: 85%;
    max-width: 430px;
  }
  .headline {
    font-size: 22px;
    margin-top: 22px;
  }
  .description {
    font-size: 15px;
  }
  .showcase {
    height: 375px;
    margin-top: 20px;
  }
  .hero-card {
    width: 210px;
    left: 43%;
    top: 9px;
  }
  .hero-sheet {
    width: 155px;
    left: 12%;
    top: 83px;
  }
  .orbit {
    width: 510px;
    height: 160px;
    top: 115px;
  }
  .note-left {
    font-size: 16px;
    left: 0;
    top: 32px;
  }
  .note-right {
    font-size: 16px;
    right: 0;
    top: 282px;
  }
  .hero-label {
    font-size: 8px;
  }
  .hero-label span {
    margin: 0 7px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }
  .button {
    font-size: 14px;
    padding: 16px 21px;
  }
  .section {
    padding: 50px 22px;
  }
  h2 {
    font-size: 26px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
  .little-note {
    display: none;
  }
  .muted {
    font-size: 14px;
  }
  .product-grid {
    gap: 25px;
    grid-template-columns: 1fr;
  }
  .product-art {
    height: 340px;
  }
  .product-art .sheet {
    width: 210px;
    transform: rotate(-8deg) translateX(-25px);
  }
  .mini-card {
    width: 127px;
    right: 22px;
    bottom: 17px;
  }
  .product-label {
    margin-top: 15px;
  }
  .product-label h3 {
    font-size: 18px;
  }
  .sample-note {
    font-size: 10px;
  }
  .play-inner {
    grid-template-columns: 1fr;
  }
  .play-content {
    grid-row: 1;
  }
  .play-visual {
    min-height: 415px;
  }
  .preview-card {
    width: 240px;
  }
  .play-note {
    font-size: 21px;
    right: 5%;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 30px;
  }
  .steps article+article {
    border-left: 0;
    border-top: 1px solid #eee;
    padding-top: 28px;
  }
  .steps h3 {
    margin-top: 12px;
  }
  .editorial-label {
    display: none;
  }
  .inspiration-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 25px 16px;
  }
  .inspiration-grid button>div {
    padding: 8px;
  }
  .inspiration-grid span {
    font-size: 12px;
  }
  .inspiration-grid small {
    font-size: 8px;
    letter-spacing: .04em;
  }
  .closing {
    padding: 40px 22px 65px;
  }
  .closing h2 {
    font-size: 23px;
  }
  .closing .handwritten {
    font-size: 21px;
  }
  footer {
    margin: 0 22px;
    gap: 16px;
    flex-wrap: wrap;
    padding: 25px 0;
  }
  footer img {
    width: 125px;
  }
  footer p {
    display: none;
  }
  footer span {
    font-size: 10px;
  }
  dialog {
    padding: 42px 24px 24px;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .modal-grid>.sheet {
    width: 200px;
    margin: auto;
  }
  .modal-copy h2 {
    font-size: 25px;
  }
}
@media(min-width:500px) and (max-width:760px) {
  .showcase {
    max-width: 470px;
  }
  .hero-sheet {
    left: 17%;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    transition: none!important;
    animation: none!important;
  }
}
/* Keep explicit image dimensions responsive without stretching the artwork. */
img {
  height: auto;
}
@media(max-width:760px) {
  .hero-label {
    bottom: -3px;
  }
  .sheet-header {
    gap: 5px;
  }
  .hero-sheet .sheet-header {
    font-size: 10px;
  }
  .hero-sheet .sheet-header small {
    font-size: 6px;
  }
}
@media(max-width:420px) {
  .hero-card {
    width: 195px;
    left: 40%;
  }
  .hero-sheet {
    left: 7%;
    width: 150px;
  }
  .note-right {
    right: 0;
    font-size: 15px;
  }
  .hero-label {
    font-size: 7px;
  }
}
.png-sticker {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.placed {
  touch-action: none;
  cursor: grab;
}
.placed:active {
  cursor: grabbing;
}
.placed .png-sticker {
  height: auto;
}
.try-sheet .sticker {
  min-height: 44px;
}
.sticker:has(.png-sticker) {
  filter: none;
}
.photo-picker {
  display: inline-flex;
  position: relative;
  border-bottom: 1px solid #aaa;
  font-size: 13px;
  padding: 8px 0;
  margin-top: 12px;
  cursor: pointer;
}
.photo-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.photo-picker:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
.local-photo-note {
  font-size: 10px;
  color: #888;
  margin-top: 6px;
}
.preview-card>img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}
.png-sticker {
  mix-blend-mode: normal;
}
.sticker:has(.png-sticker) {
  position: relative;
}
.sticker>.png-sticker {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Grouped inventory: one sample per design, individual instances on the card. */
.sticker {
  position: relative;
}
.quantity {
  position: absolute;
  right: -3px;
  bottom: -3px;
  z-index: 1;
  border-radius: 20px;
  background: #fff;
  color: #555;
  box-shadow: 0 0 0 1px #e9e1da;
  padding: 2px 5px;
  font: 600 9px/1.2 Pretendard;
  letter-spacing: 0;
}
.try-sheet .stickers {
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 17px 13px;
  padding: 18px 0 10px;
}
.try-sheet .quantity {
  font-size: 11px;
  right: -5px;
  bottom: -5px;
}
.sticker:disabled {
  cursor: default;
}
.sticker:disabled:hover {
  transform: none;
}
.placed:focus-visible {
  outline: 2px solid var(--red);
}
.sheet .stickers {
  row-gap: 12px;
}
.try-sheet .stickers {
  row-gap: 17px;
}
.sheet-bottom {
  margin-top: 13px;
}
.play-visual {
  align-self: center;
}
.preview-card {
  transform: none;
}
.placed {
  outline: none;
  line-height: 0;
}
.placed.selected {
  z-index: 100;
  outline: 1px dashed var(--red);
  outline-offset: 0;
  border-radius: 0;
  filter: none;
}
.transform-handle {
  display: none;
  position: absolute;
  width: 25px;
  height: 25px;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: #fff;
  color: #d83c32;
  font-size: 16px;
  line-height: 23px;
  padding: 0;
  touch-action: none;
  user-select: none;
  box-shadow: 0 2px 5px #0002;
  z-index: 2;
}
.selected .transform-handle {
  display: block;
}
.resize-handle {
  right: -12px;
  bottom: -12px;
  cursor: nwse-resize;
}
.rotate-handle {
  left: 50%;
  top: -36px;
  transform: translateX(-50%);
  cursor: grab;
}
.rotate-handle:before {
  content: '';
  position: absolute;
  height: 11px;
  width: 1px;
  background: var(--red);
  top: 24px;
  left: 11px;
}
.rotate-handle:active {
  cursor: grabbing;
}
.transform-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #777;
  margin-top: 12px;
}
.transform-info output {
  color: #222;
  margin-left: 4px;
  font-variant-numeric: tabular-nums;
}
.transform-info button {
  margin-left: auto;
  font-size: 11px;
  padding: 5px 0;
}
.handle-help {
  font-size: 11px;
  color: #888;
  line-height: 1.6;
  margin-top: 12px;
}
.resize-handle svg {
  width: 15px;
  height: 15px;
  display: block;
  margin: auto;
  pointer-events: none;
}
.auto-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 8px;
}
.auto-tools button {
  border-radius: 6px;
  padding: 11px 15px;
  font-size: 13px;
  font-weight: 600;
}
.auto-tools #auto-place {
  background: #111;
  color: #fff;
}
.auto-tools #auto-place:hover {
  background: #333;
}
.auto-tools #undo-auto {
  color: #777;
  font-size: 12px;
  padding: 11px 0;
}
.auto-tools #undo-auto:disabled {
  opacity: .35;
  cursor: default;
}
.auto-note {
  font-size: 11px;
  line-height: 1.6;
  color: #888;
  margin: 0 0 17px;
  word-break: keep-all;
}
/* Shared navigation */
.gnb-account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.masthead .my-button {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.gnb-avatar {
  width: 30px;
  height: 30px;
  object-fit: contain;
  padding: 3px;
  border: 1px solid #f2ddd7;
  border-radius: 50%;
  background: #fff1ec;
}
@media(max-width:650px) {
  .masthead {
    gap: 18px;
    padding: 18px 16px;
  }
  .gnb-account {
    gap: 12px;
  }
  .masthead .my-button {
    font-size: 12px;
    gap: 6px;
  }
  .gnb-avatar {
    width: 25px;
    height: 25px;
  }
}
@media(max-width:360px) {
  .masthead {
    gap: 10px;
    padding: 16px 12px;
  }
  .gnb-account {
    gap: 8px;
  }
  .masthead .brand {
    font-size: 14px;
  }
  .masthead nav {
    font-size: 11px;
  }
  .masthead .my-button {
    font-size: 11px;
  }
}
.masthead .brand {
  flex-shrink: 0;
}
.gnb-logo {
  display: block;
  width: 157px;
  height: 24px;
  object-fit: contain;
}
.masthead nav a[aria-current="page"],.masthead .my-button[aria-current="page"] {
  color: var(--red);
  font-weight: 700;
}
.masthead .my-button[aria-current="page"] .gnb-avatar {
  border-color: var(--red);
}
@media(max-width:650px) {
  .gnb-logo {
    width: 112px;
    height: auto;
  }
  .masthead:has(.gnb-logo) {
    gap: 12px;
  }
  .masthead:has(.gnb-logo) .gnb-account {
    gap: 9px;
  }
}
@media(max-width:380px) {
  .gnb-logo {
    width: 90px;
  }
  .masthead:has(.gnb-logo) {
    gap: 8px;
  }
  .masthead:has(.gnb-logo) .gnb-avatar {
    width: 22px;
    height: 22px;
  }
}
.gnb-toggle {
  display: none;
}
@media(max-width:760px) {
  .masthead,.masthead:has(.gnb-logo) {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 14px 20px;
    min-height: 68px;
    border-bottom: 1px solid #f1f1f1;
  }
  .masthead .gnb-logo {
    width: 140px;
    height: auto;
  }
  .gnb-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 40px;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: -11px;
    order: 1;
    padding: 0;
  }
  .gnb-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #222;
    transition: transform .2s,opacity .2s;
  }
  .menu-open .gnb-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-open .gnb-toggle span:nth-child(2) {
    opacity: 0;
  }
  .menu-open .gnb-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .masthead nav,.masthead .gnb-account {
    display: none;
  }
  .masthead.menu-open nav {
    display: flex;
    order: 2;
    flex-basis: 100%;
    font-size: 16px;
  }
  .masthead.menu-open .gnb-account {
    display: flex;
    order: 3;
    flex-basis: 100%;
    margin: 0;
    justify-content: space-between;
  }
  .masthead .my-button span {
    display: inline;
  }
  .masthead .my-button {
    font-size: 14px;
  }
  .masthead .gnb-avatar {
    width: 30px;
    height: 30px;
  }
}
.masthead nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gnb-store-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.gnb-backdrop[hidden] {
  display: none;
}
@media(max-width:760px) {
  body:has(.masthead) {
    padding-top: 68px;
  }
  body.gnb-open {
    overflow: hidden;
  }
  .masthead,.masthead:has(.gnb-logo) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    width: 100%;
    max-height: 100dvh;
    overflow: auto;
  }
  .gnb-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(24,17,13,.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .masthead.menu-open {
    padding-bottom: 24px;
    box-shadow: 0 12px 24px #00000005;
  }
  .masthead.menu-open nav {
    padding: 18px 0 0;
    flex-direction: column;
    gap: 0;
  }
  .masthead.menu-open nav a,.masthead.menu-open .my-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 56px;
    padding: 12px 4px;
    font-size: 16px;
    font-weight: 550;
    line-height: 24px;
    text-align: left;
  }
  .masthead.menu-open nav a[aria-current=page],.masthead.menu-open .my-button[aria-current=page] {
    font-weight: 700;
  }
  .masthead .gnb-store-icon {
    display: block;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
  }
  .masthead.menu-open .gnb-account {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-top: 0;
  }
  .masthead.menu-open .my-button {
    order: 0;
    margin: 0;
  }
  .masthead.menu-open .gnb-avatar {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }
}
/* Home entry and compact touch playground */
.hero-actions {
  flex-direction: column;
  gap: 12px;
}
.hero-actions #start-x {
  min-width: 240px;
  gap: 12px;
}
.play-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
}
.play-visual .reset {
  position: static;
  align-self: center;
}
.reusable>span .lucide {
  width: 28px;
  height: 28px;
}
.remove-handle {
  left: -14px;
  top: -14px;
  font-size: 20px;
}
.try-note {
  min-height: 36px;
  line-height: 1.6;
}
#try {
  scroll-margin-top: 80px;
}
#x-start-dialog {
  max-width: 440px;
}
#x-start-dialog>p {
  margin-top: 16px;
  line-height: 1.8;
  color: #777;
}
@media(max-width:760px) {
  .play-section {
    padding: 36px 20px;
  }
  .play-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .play-content {
    display: contents;
  }
  .play-content h2 {
    order: 0;
    font-size: 25px;
    text-align: center;
  }
  .play-content>.muted {
    order: 1;
    text-align: center;
    font-size: 12px;
    margin: 0;
  }
  .play-visual {
    order: 2;
    padding-top: 20px;
    gap: 6px;
  }
  .preview-card {
    width: min(190px,48vw);
  }
  .theme-tabs {
    order: 3;
    margin: 8px 0 0;
    justify-content: center;
    gap: 7px;
  }
  .theme-tabs button {
    padding: 10px 12px;
  }
  .auto-tools {
    order: 4;
    margin: 0;
    justify-content: center;
  }
  .auto-note {
    order: 5;
    margin: 0;
    text-align: center;
  }
  .try-sheet {
    order: 6;
    width: 100%;
    max-width: 380px;
    padding: 12px 16px;
  }
  .try-sheet .stickers {
    gap: 12px;
  }
  .try-sheet .sticker {
    min-height: 40px;
  }
  .try-note {
    order: 7;
    margin: 0;
    min-height: 36px;
    text-align: center;
  }
  .reusable {
    order: 8;
    width: 100%;
    margin-top: 0;
  }
  .transform-handle {
    width: 30px;
    height: 30px;
  }
  .rotate-handle {
    top: -38px;
  }
  .remove-handle {
    left: -15px;
    top: -15px;
  }
}
.sheet-header>span {
  color: #ff4438;
}
.closing .button {
  gap: 8px;
}
.masthead #gnb-navigation>a,.masthead #gnb-user>a.my-button {
  font-size: 16px;
}
.hero-actions .welcome-offer {
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
}
.closing .closing-offer {
  margin: 14px 0 28px;
  color: #777;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}
.closing .closing-offer+.button {
  margin-top: 0;
}
@media(max-width:650px) {
  .hero-actions .welcome-offer {
    font-size: 14px;
  }
  .closing .closing-offer {
    font-size: 14px;
  }
}
.hero-actions .x-start-button,.closing .x-start-button {
  gap: 4px;
}
.x-start-button>svg {
  flex-shrink: 0;
}
@media(min-width:901px) {
  .product-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .product-grid .product-art .sheet {
    width: 160px;
  }
  .product-grid .mini-card {
    width: 90px;
  }
  .theme-tabs {
    flex-wrap: wrap;
  }
}
html[data-feed-enabled="false"] [data-feature="feed"] {
  display: none!important;
}
html:not([data-feed-enabled="false"]) [data-feature="feed-paused"] {
  display: none!important;
}
/* Mobile app navigation is rendered in HTML, ready from the first paint. */
.mobile-bottom-nav {
  display: none;
}
@media(max-width:760px) {
  body.mobile-tab-layout {
    padding-top: env(safe-area-inset-top,0px);
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .mobile-tab-layout .masthead,.mobile-tab-layout .masthead:has(.gnb-logo) {
    min-height: 56px;
    height: calc(56px + env(safe-area-inset-top));
    padding: calc(12px + env(safe-area-inset-top)) 20px 12px;
    flex-wrap: nowrap;
    justify-content: center;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .24s ease,opacity .18s ease,visibility 0s .24s;
  }
  .mobile-tab-layout .masthead.mobile-header-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .mobile-tab-layout .gnb-toggle {
    display: none;
  }
  .mobile-tab-layout .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    padding: 6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
    border-top: 1px solid rgba(225,222,219,.5);
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
  }
  html[data-feed-enabled="false"] .mobile-tab-layout .mobile-bottom-nav {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 54px;
    padding: 4px 0;
    color: #8c8a87;
    font-size: 11px;
    font-weight: 550;
    line-height: 16px;
    white-space: nowrap;
    touch-action: manipulation;
  }
  .mobile-bottom-nav a[aria-current=page] {
    color: var(--red);
    font-weight: 750;
  }
  .mobile-bottom-nav a[aria-current=page] svg {
    stroke-width: 2.1;
  }
  .mobile-bottom-nav a:active {
    background: #fff3ef;
    border-radius: 10px;
  }
  .mobile-tab-layout #notice,.mobile-tab-layout #shop-toast {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
  html:has(.mobile-tab-layout) {
    scroll-padding-top: 72px;
    scroll-padding-bottom: 96px;
  }
}
@media(max-width:650px) {
  input:not([type=file]):not([type=range]):not([type=checkbox]),textarea,select {
    font-size: 16px;
  }
  #search,#pack-search {
    font-size: 16px;
  }
  #popular,#newest {
    min-height: 40px;
  }
  .filter-options button {
    min-height: 40px;
  }
}
@media(max-width:760px) {
  .mobile-tab-layout .masthead,.mobile-tab-layout .masthead:has(.gnb-logo) {
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(225,222,219,.5);
    box-shadow: 0 1px 8px rgba(30,25,20,.025);
  }
}
@media(min-width:761px) {
  .masthead #gnb-navigation>a,.masthead #gnb-user>a.my-button {
    font-size: 15px;
    font-weight: 700;
  }
}
/* Desktop navigation stays above the page and compacts after scrolling. */
@media(min-width:761px) {
  body.mobile-tab-layout {
    padding-top: 84px;
  }
  .mobile-tab-layout .masthead {
    position: fixed;
    inset: 0 0 auto;
    z-index: 90;
    width: 100%;
    max-width: none;
    height: 84px;
    padding: 0 max(48px,calc((100vw - 1344px)/2));
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(225,222,219,.5);
    transition: height .22s ease,box-shadow .22s ease;
  }
  .mobile-tab-layout .masthead.desktop-header-compact {
    height: 64px;
    box-shadow: 0 1px 8px rgba(30,25,20,.04);
  }
  html:has(body.mobile-tab-layout) {
    scroll-padding-top: 80px;
  }
}
/* Keep the start action visible in the shorter viewport of mobile browsers. */
@media(max-width:760px) {
  .mobile-tab-layout .hero {
    padding-top: 36px;
    padding-bottom: 28px;
    --mobile-showcase-height: 290px;
  }
  .mobile-tab-layout #hero-title {
    padding-bottom: 12px;
  }
  .hero .headline {
    margin: 24px 0 12px;
  }
  .hero .description {
    line-height: 1.6;
  }
  .hero .showcase {
    height: var(--mobile-showcase-height);
    margin-top: 24px;
  }
  .hero .hero-card {
    width: min(190px,calc(var(--mobile-showcase-height)*.58));
    left: 43%;
    top: 6px;
  }
  .hero .hero-sheet {
    width: min(140px,calc(var(--mobile-showcase-height)*.44));
    left: 8%;
    top: calc(var(--mobile-showcase-height)*.2);
  }
  .hero .orbit {
    width: 145%;
    height: calc(var(--mobile-showcase-height)*.4);
    top: calc(var(--mobile-showcase-height)*.3);
  }
  .hero .hero-actions {
    margin-top: 8px;
    gap: 10px;
  }
  .hero .hero-actions .text-link {
    padding: 6px 0;
  }
}
@media(min-width:761px) {
  .masthead #gnb-navigation>a {
    padding-inline: 6px;
  }
}
/* Initial modal titles are announced without imitating button focus rings. */
.dialog-focus-title:focus {
  outline: none;
}
.dialog-sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* Keep editable mobile controls at 16px even when page styles reset the font shorthand. */
@media(max-width:760px) {
  input:not([type=file]):not([type=range]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]):not([type=color]),textarea,select {
    font-size: 16px!important;
  }
}


/* Handwritten pack titles; UI labels remain in Pretendard. */
@font-face {
  font-family: 'Caveat';
  src: url('../assets/fonts/caveat/Caveat-Variable.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gaegu';
  src: url('../assets/fonts/gaegu/Gaegu-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.sheet-header>span {
  font-family: 'Caveat', 'Gaegu', cursive;
  font-weight: 600;
  font-size: 1.4em;
  line-height: 1.1;
}
.sheet-header>span[lang=ko] {
  font-family: 'Gaegu', 'Caveat', cursive;
  font-weight: 700;
}

@media(max-width:760px){.hero-sheet .sheet-header>span{font-size:1.2em;white-space:nowrap}}
@media(max-width:760px){.hero-sheet .sheet-header{gap:3px}}
