.skip-link {
  position: absolute;
  z-index: 2;
  inset: 0 auto auto 12px;
  transform: translateY(-140%);
  padding: 10px;
  color: white;
  background: var(--ink);
}
.skip-link:focus {
  transform: translateY(0);
}
.workshop,
.page-footer > div {
  width: min(1240px, 100% - clamp(36px, 8vw, 120px));
  margin-inline: auto;
}
.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "proof heading" "proof settings";
  align-items: start;
  gap: 26px clamp(32px, 6vw, 98px);
  padding: clamp(32px, 4.4vw, 68px) 0 35px;
}
.heading {
  grid-area: heading;
  padding-top: 9px;
}
.heading h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 4.65vw, 67px);
  line-height: 0.99;
  letter-spacing: -0.04em;
}
:lang(ko) .heading h1 {
  font-family: var(--sans);
  font-size: clamp(43px, 4.65vw, 70px);
  font-weight: 880;
  line-height: 1.04;
  letter-spacing: -0.045em;
  word-break: keep-all;
}
.heading p {
  margin: 17px 0 0;
  max-width: 39ch;
  line-height: 1.5;
  font-size: 1.025rem;
}
.proof {
  grid-area: proof;
  margin: 0;
  min-width: 0;
}
.mat {
  background: #dadcd3;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: clamp(24px, 3vw, 46px);
}
.paper-sheet {
  width: min(100%, 430px);
  position: relative;
  background: #fff9e8;
}
.paper-sheet::before,
.paper-sheet::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 9px;
  height: 9px;
}
.paper-sheet::before {
  top: -7px;
  left: -7px;
  border-top: 1px solid #676b65;
  border-left: 1px solid #676b65;
}
.paper-sheet::after {
  bottom: -7px;
  right: -7px;
  border-bottom: 1px solid #676b65;
  border-right: 1px solid #676b65;
}
#poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}
.proof figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  color: #595b52;
  font-size: 0.75rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.settings {
  grid-area: settings;
  min-width: 0;
}
.photo-field {
  padding-top: 19px;
  border-top: 1px solid var(--ink);
}
.photo-pick {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  padding: 0 16px 0 11px;
  gap: 9px;
  align-items: center;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  font-weight: 680;
}
.photo-pick:hover {
  background: #eaeae2;
}
.photo-pick input {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.pick-plus {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1;
}
#privacy,
.status {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #595b52;
}
#privacy {
  margin: 7px 0 0;
}
.status {
  margin: 5px 0 0;
}
.status:empty {
  display: none;
}
.field {
  margin-top: 22px;
}
.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.field label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  font-weight: 700;
}
.field input {
  display: block;
  width: 100%;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid #74766b;
  padding: 5px 1px 9px;
  line-height: 1.3;
  font-weight: 500;
  font-size: 1.18rem;
}
.quiet {
  background: none;
  border: 0;
  padding: 5px 0;
  color: #43453d;
  cursor: pointer;
  font-size: 0.81rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#demo {
  margin-left: 10px;
}
.suggest span {
  display: inline-block;
  font-size: 1.04rem;
  margin-left: 1px;
}
.output {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  align-items: stretch;
}
.save,
.share {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}
.save {
  flex: 1;
  padding: 0 17px;
  justify-content: space-between;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}
.save span {
  color: #ff7759;
  font-size: 1.55rem;
}
.save:hover {
  background: #383a33;
}
.save[aria-disabled="true"] {
  background: #696b62;
  cursor: progress;
}
.share {
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0 18px;
}
.app-link {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  padding: 22px 0;
  border-top: 1px solid var(--ink);
}
.comic-detail {
  display: block;
  height: 76px;
  overflow: hidden;
}
.comic-detail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 11%;
}
.app-link p {
  margin: 0 0 4px;
  font-size: 0.74rem;
  color: #57594f;
}
.app-link strong {
  font-size: clamp(1.02rem, 2vw, 1.6rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}
.store {
  display: inline-flex;
  min-height: 44px;
  gap: 8px;
  align-items: center;
  font-weight: 650;
  text-underline-offset: 4px;
}
.page-footer {
  border-top: 1px solid var(--rule);
}
.page-footer > div {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.page-footer nav {
  display: flex;
  gap: 18px;
}
.page-footer a {
  color: #53564c;
  font-size: 0.78rem;
  text-underline-offset: 3px;
}

@media (max-width: 770px) {
  .workbench {
    grid-template-columns: 1fr;
    grid-template-areas: "heading" "proof" "settings";
    grid-template-rows: auto;
    gap: 16px;
    padding: 21px 0 24px;
    max-width: 560px;
    margin: auto;
  }
  .heading {
    padding: 0;
  }
  .heading h1 {
    font-size: clamp(31px, 6.5vw, 45px);
  }
  :lang(ko) .heading h1 {
    font-size: clamp(29px, 6.4vw, 41px);
  }
  .heading h1 br {
    display: none;
  }
  .heading p {
    margin-top: 8px;
    font-size: 0.91rem;
  }
  .mat {
    padding: 18px;
  }
  .paper-sheet {
    width: min(78%, 300px);
  }
  .proof figcaption {
    padding-top: 5px;
    font-size: 0.7rem;
  }
  .photo-field {
    border: 0;
    padding: 0;
  }
  .field {
    margin-top: 13px;
  }
  .output {
    margin-top: 18px;
  }
  .app-link {
    grid-template-columns: 57px 1fr;
    gap: 4px 14px;
  }
  .comic-detail {
    height: 65px;
    grid-row: span 2;
  }
  .app-link p {
    margin-bottom: 1px;
  }
  .store {
    grid-column: 2;
    min-height: 32px;
    font-size: 0.82rem;
  }
}
@media (max-width: 420px) {
  .mat {
    padding-block: 14px;
  }
  .paper-sheet {
    width: min(80%, 247px);
  }
}
