@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --ink: #173640;
  --muted: #655a68;
  --purple: #b91b55;
  --orange: #b85008;
  --paper: #fffdfa;
  --line: #d8ced9;
  --focus: #97425f;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.55 Inter, system-ui, "Noto Sans TC", "PingFang TC", sans-serif;
  overflow-wrap: anywhere;
}
[hidden] { display: none !important; }
a { color: var(--purple); text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  z-index: 2;
  left: 1rem;
  top: -10rem;
  padding: .6rem 1rem;
  color: white;
  background: var(--purple);
}
.skip-link:focus { top: .5rem; }
main { padding: 0 clamp(1rem, 4vw, 3rem) 4rem; }
.intro {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  max-width: 48rem;
  text-align: center;
}
h1, h2, p { margin: 0; }
h1 { max-width: 17ch; font-size: clamp(2.1rem, 5vw, 3.65rem); line-height: 1.07; letter-spacing: -.052em; font-weight: 720; }
:lang(zh-Hant) h1 { letter-spacing: -.04em; line-height: 1.2; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.16; letter-spacing: -.035em; }
.portrait-scene {
  position: relative;
  width: min(100%, 26rem);
  isolation: isolate;
  overflow: hidden;
  border-radius: 11% 27% 11% 24%;
  background: radial-gradient(ellipse at -15% 70%, transparent 0 24%, #ccb8e2 25% 39%, transparent 40%), radial-gradient(ellipse at 90% 20%, #f6edf9 0%, transparent 62%), #e5d8ef;
}
.portrait { display: block; width: 100%; height: auto; }
.portrait-choices { position: absolute; left: 20%; right: 4%; bottom: 6%; display: flex; justify-content: stretch; min-width: 0; }
.choice, .submit {
  align-items: center;
  justify-content: center;
  display: inline-flex;
  border: 1px solid transparent;
  border-radius: .85rem;
  background: var(--purple);
  color: white;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  min-height: 3rem;
}
.choice { width: 100%; padding: .92rem .65rem; font-size: clamp(1rem, 3vw, 1.2rem); box-shadow: 0 3px 0 #49264d, 0 7px 15px #36204620; }
.choice:not(.line), .submit { background: #d81665; }
.choice.line { background: #007b3a; border-color: #007138; box-shadow: 0 3px 0 #005428, 0 7px 15px #36204620; }
.choice:hover, .submit:hover { filter: brightness(.94); }
.form-section, .receipt { max-width: 43rem; margin: 0 auto; }
.form-section { padding-top: 1.8rem; border-top: 1px solid var(--line); }
.form-section h2 { margin-bottom: 1.35rem; }
form { display: grid; gap: 1.22rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, legend { font-weight: 650; }
.field input, .field select, .field textarea {
  border: 1px solid #b6a9b9;
  border-radius: .55rem;
  color: var(--ink);
  background-color: #fff;
  width: 100%;
  padding: .68rem .78rem;
  min-height: 2.95rem;
}
textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #a42d31; }
small, .privacy { color: var(--muted); font-size: .89rem; line-height: 1.5; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin: 0 0 .45rem; }
.length-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-bottom: .35rem; }
.rate {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: .5rem;
  cursor: pointer;
  padding: .7rem .65rem;
  border: 1px solid #b6a9b9;
  border-radius: .65rem;
  background: white;
}
.rate:focus-within, .rate:has(input:checked) { border-color: var(--purple); background: #f8eff8; }
.rate input { flex: none; width: 1rem; height: 1rem; margin: 0; accent-color: var(--purple); }
.rate > span { display: grid; }
.rate > span > span { color: var(--muted); font-size: .85rem; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.honey { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.feedback { background: #fcf0ec; border-left: 3px solid #a94332; padding: .8rem 1rem; border-radius: .35rem; margin-bottom: 1.5rem; }
.feedback a, .field-error { color: #833024; }
.field-error { display: block; margin-top: .12rem; font-size: .89rem; }
.submit { justify-self: start; padding: .9rem 1.55rem; font-size: 1rem; }
.receipt { padding-top: clamp(2.6rem, 8vw, 5rem); display: grid; gap: 1.25rem; }
.receipt h2 { margin-top: .55rem; font-size: 1.25rem; }
.reference { padding: .7rem 1rem; background: #f3e9f3; border-radius: .55rem; }
.reference code { font-size: 1rem; }
.campaign-list { margin: 0; }
.campaign-list > div { display: grid; grid-template-columns: minmax(8ch, 1fr) 3fr; gap: .8rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.campaign-list dt { color: var(--muted); }
.campaign-list dd { margin: 0; }
@media (max-width: 36rem) {
  .intro { gap: 1rem; }
  .portrait-scene { max-width: 22rem; }
  .contact-fields { grid-template-columns: 1fr; }
  .rate { flex-direction: column; align-items: start; padding: .65rem .55rem; gap: .28rem; }
  .submit { width: 100%; }
}
@media (forced-colors: active) {
  .choice, .submit, .tuyu-header a[aria-current] { border: 1px solid ButtonText; }
}

/* Native option state also updates the contact action when scripting is disabled. */
@supports selector(body:has(option:checked)) {
  body:has(#country option:checked) #line-choice { display: none !important; }
  body:has(#country option:checked) #form-choice { display: inline-flex !important; }
  body:has(#country option:is([value="TW"], [value="JP"]):checked) #line-choice { display: inline-flex !important; }
  body:has(#country option:is([value="TW"], [value="JP"]):checked) #form-choice { display: none !important; }
}

.schedule > small { display: block; margin-bottom: .6rem; }
.schedule > .contact-fields { margin-bottom: .7rem; }
