* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #efebe0; color: #161512; font-family: "Noto Sans TC", Inter, sans-serif; font-size: 16px; line-height: 1.8; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
a, button, input, select, textarea { transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #6343c5; outline-offset: 5px; }
::selection { background: #c4e70c; color: #161512; }
.skip { position: absolute; left: 16px; top: -100px; background: #c4e70c; padding: 12px; border: 2px solid #161512; z-index: 10; }
.skip:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 5; background: #efebe0; border-bottom: 2px solid #161512; }
.nav-inner { max-width: 660px; padding: 10px 20px; margin: auto; display: flex; align-items: center; gap: 22px; }
.monogram { text-decoration: none; display: inline-flex; align-items: center; position: relative; min-width: 57px; height: 42px; line-height: 1; font-weight: 900; }
.logo-xiao { font-size: 24px; align-self: flex-start; margin-top: 2px; }
.logo-chao { font-size: 24px; align-self: flex-end; margin-bottom: 2px; }
.monogram i { font-family: "Space Mono", monospace; font-style: normal; font-size: 20px; margin: 4px -1px 0; color: #6343c5; }
nav { display: flex; flex: 1; gap: 10px; justify-content: flex-end; }
nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 16px; border: 1.5px solid #161512; box-shadow: 2px 2px 0 #161512; font-size: 12px; font-weight: 700; white-space: nowrap; text-decoration: none; }
nav a:hover { background: #c4e70c; transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #161512; }
nav a:active { transform: translate(2px, 2px); box-shadow: none; }
.page { width: min(100% - 40px, 588px); margin: auto; }
.hero { position: relative; padding: 52px 0 50px; }
.eyebrow { display: inline-block; position: relative; margin: 0 0 28px; padding: 7px 12px; background: #f4bb42; border: 2px solid #161512; font-family: "Space Mono", "Noto Sans TC", monospace; font-size: 12px; font-weight: 700; letter-spacing: .06em; transform: rotate(-2deg); }
.hero h1 { position: relative; font-weight: 900; margin: 0; line-height: 1.06; letter-spacing: -.055em; }
.title-cn, .title-en { display: block; width: fit-content; text-shadow: -4px 4px 0 #1e7be0, 5px 6px 0 #ff3ea0; }
.title-cn { font-size: 100px; white-space: nowrap; }
.title-cn .amp { font-family: Inter, "Noto Sans TC", sans-serif; font-size: .74em; letter-spacing: -.08em; }
.title-en { font-family: Inter, "Noto Sans TC", sans-serif; font-size: 67px; letter-spacing: -.055em; margin-top: 9px; }
.hero-stickers { position: absolute; inset: 0; pointer-events: none; }
.sticker-dot { position: absolute; top: 44px; right: 160px; width: 34px; height: 34px; border-radius: 50%; background: #c4e70c; }
.sticker-flower { position: absolute; width: 58px; height: 58px; right: 16px; top: 42px; background: #6343c5; border-radius: 50%; box-shadow: 0 -19px 0 #6343c5, 17px -10px 0 #6343c5, 17px 11px 0 #6343c5, 0 21px 0 #6343c5, -17px 11px 0 #6343c5, -17px -10px 0 #6343c5; transform: rotate(14deg); }
.sticker-spark { position: absolute; top: 174px; right: 32px; width: 58px; height: 58px; background: #ef7450; clip-path: polygon(50% 0, 60% 32%, 92% 17%, 72% 48%, 100% 64%, 65% 64%, 58% 100%, 42% 70%, 10% 90%, 26% 56%, 0 38%, 36% 39%); transform: rotate(12deg); }
.invitation { font-family: "Noto Serif TC", serif; font-size: 18px; font-weight: 700; text-align: center; line-height: 2; margin: 30px 0; }
.invitation p { margin: 0 0 23px; }
.invitation .invitation-last { margin-top: 27px; margin-bottom: 0; }
.highlight { box-shadow: inset 0 -5px 0 #ff94c9; }
.event-ticket { border: 2px solid #161512; margin: 28px 0 24px; }
.event-ticket > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
.event-ticket > div + div { border-top: 2px solid #161512; }
.event-ticket dt { border-right: 2px solid #161512; padding: 25px 12px; font-family: "Space Mono", monospace; font-size: 11px; font-weight: 700; align-content: center; }
.event-ticket dt span { font-family: "Noto Sans TC", sans-serif; font-size: 11px; font-weight: 400; color: #70695e; }
.event-ticket dd { margin: 0; padding: 18px; min-width: 0; }
.event-date { display: block; font-family: Inter, sans-serif; font-size: 32px; font-weight: 900; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.event-ticket small { display: block; font-family: "Space Mono", "Noto Sans TC", monospace; font-size: 11px; color: #70695e; margin-top: 5px; }
.event-ticket a { font-size: 18px; font-weight: 700; text-decoration: none; box-shadow: inset 0 -7px 0 #c4e70c; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.button-link, button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; background: #1469c4; color: #fff; border: 2px solid #161512; border-radius: 0; padding: 11px 20px; box-shadow: 4px 4px 0 #161512; font-size: 14px; font-weight: 900; cursor: pointer; text-decoration: none; }
.button-link:hover, button:hover { background: #105aaa; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #161512; }
.button-link:active, button:active { transform: translate(4px, 4px); box-shadow: none; }
button:disabled { opacity: .55; cursor: wait; transform: none; }
.secondary { background: #efebe0; color: #161512; }
.secondary:hover { background: #c4e70c; }
.section { padding: 45px 0 48px; border-top: 2px solid #161512; }
.section-label { display: flex; gap: 12px; align-items: baseline; font-family: "Space Mono", "Noto Sans TC", monospace; font-size: 11px; margin: 0 0 19px; }
.section-label span { font-size: 13px; font-weight: 700; }
.section-label p { margin: 0; color: #70695e; }
h2 { font-size: 38px; font-weight: 900; line-height: 1.35; letter-spacing: -.02em; margin: 0 0 16px; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 900; line-height: 1.5; margin: 0 0 9px; }
.body-copy { color: #6c675e; font-size: 15px; line-height: 1.95; margin: 0 0 24px; text-wrap: pretty; }
.hero-photo { margin: 28px 0 24px; padding: 9px; background: #f7f4ec; border: 2px solid #161512; box-shadow: 5px 5px 0 #161512; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; object-position: center 56%; }
figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-family: "Space Mono", "Noto Sans TC", monospace; font-size: 10px; font-weight: 700; padding: 11px 3px 2px; }
figcaption span { color: #6343c5; }
.venue-note { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.venue-note p { margin: 0; font-size: 12px; color: #70695e; }
.venue-note strong { font-size: 15px; color: #161512; }
.text-link { display: inline-block; font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; border-bottom: 2px solid #161512; }
.text-link:hover { background: #c4e70c; }
.travel-grid { margin: 28px 0 23px; border-top: 2px solid #161512; }
.travel-grid article { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid #c4beb1; }
.travel-index { display: grid; place-content: center; align-self: start; width: 36px; height: 36px; border: 2px solid #161512; background: #c4e70c; font-family: "Space Mono", monospace; font-weight: 700; }
.travel-grid p { font-size: 14px; color: #6c675e; line-height: 1.9; margin: 0; }
.paper-form { border: 2px solid #161512; padding: 25px 22px 19px; box-shadow: 7px 7px 0 #1e7be0; margin: 25px 7px 7px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
form > label, form .form-grid { margin-bottom: 23px; }
label { display: block; font-size: 13px; font-weight: 700; line-height: 1.65; min-width: 0; }
input:not([type=radio]), textarea, select { display: block; width: 100%; border: 2px solid #161512; border-radius: 0; background: #efebe0; padding: 11px 12px; color: #161512; margin-top: 8px; font-size: 16px; font-weight: 400; min-height: 48px; }
input:not([type=radio]):hover, textarea:hover, select:hover { background: #f7f4ec; }
input::placeholder, textarea::placeholder { color: #70695e; font-size: 14px; opacity: 1; }
textarea { resize: vertical; min-height: 112px; }
fieldset { border: 0; padding: 0; margin: 0 0 23px; min-width: 0; }
legend { font-family: "Space Mono", "Noto Sans TC", monospace; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.choices { display: grid; gap: 10px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; left: 15px; top: 18px; width: 15px; height: 15px; accent-color: #161512; margin: 0; }
.choices span { display: block; border: 2px solid #161512; padding: 12px 14px 12px 43px; font-size: 14px; font-weight: 400; }
.choices strong { display: block; font-weight: 900; }
.choices small { display: block; color: #70695e; font-size: 12px; margin-top: 3px; font-weight: 400; }
.choices label:has(input:checked) span { background: #c4e70c; }
.choices label:has(input:checked) small { color: #403e27; }
.choices label:hover span { box-shadow: 2px 2px 0 #161512; }
.choices input:focus-visible + span { outline: 3px solid #6343c5; outline-offset: 3px; }
.optional { color: #70695e; font-weight: 400; font-size: 12px; }
.submit-row { display: flex; gap: 18px; align-items: center; margin: 27px 0 10px; }
.privacy, .form-footnote { font-size: 11px; line-height: 1.8; color: #70695e; margin: 0; font-weight: 400; }
.form-footnote { border-top: 1px solid #c4beb1; padding-top: 12px; margin-top: 9px; }
.status { font-size: 13px; line-height: 1.9; margin: 16px 0 0; color: #376027; overflow-wrap: anywhere; }
.status:empty { display: none; }
.status.error { color: #a1372a; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note-paper { box-shadow: 7px 7px 0 #ff3ea0; }
.note-paper > .privacy { margin-top: 17px; }
.notes { padding: 24px 0 5px; margin-bottom: 20px; }
.empty-note { font-family: "Noto Serif TC", serif; font-size: 19px; color: #70695e; text-align: center; margin: 0; padding: 13px 0 25px; }
.empty-note span { display: block; font-family: Inter, sans-serif; font-size: 43px; font-weight: 700; line-height: 1.25; color: #ff3ea0; }
.note { padding: 19px 18px; border: 2px solid #161512; margin: 0 4px 19px 0; box-shadow: 4px 4px 0 #c4e70c; }
.note p { margin: 0 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-family: "Noto Serif TC", serif; font-size: 16px; }
.note small { font-family: "Space Mono", "Noto Sans TC", monospace; font-size: 11px; color: #70695e; }
footer { max-width: 588px; width: calc(100% - 40px); text-align: center; padding: 35px 0 46px; margin: 25px auto 0; border-top: 2px solid #161512; }
.footer-names { font-size: 32px; font-weight: 900; margin: 0 0 10px; line-height: 1.4; }
.footer-names i { color: #6343c5; font-style: normal; }
footer > p:not(.footer-names) { font-family: "Space Mono", monospace; font-size: 10px; color: #70695e; letter-spacing: .015em; }
.photo-credit { display: inline-block; font-size: 10px; color: #70695e; margin-top: 8px; }
.admin { max-width: 1100px; margin: 40px auto; padding: 24px; }
.admin h1 { font-size: 36px; font-weight: 900; }
.admin table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin td, .admin th { text-align: left; padding: 12px; border-bottom: 1px solid #c4beb1; vertical-align: top; overflow-wrap: anywhere; }
.admin th { border-bottom: 2px solid #161512; }
.admin .table-wrap { overflow: auto; }
.admin pre { white-space: pre-wrap; }
.admin button { margin: 6px; }
.admin .admin-entry { border-bottom: 1px solid #c4beb1; padding: 18px 0; }
.admin #login { max-width: 540px; padding: 24px; border: 2px solid #161512; box-shadow: 6px 6px 0 #1e7be0; }
.admin #login button { margin: 20px 0 0; }
.nav-play { background: #c4e70c; }
.play-heading { position: relative; }
.play-heading h2 { padding-right: 80px; }
.play-sticker { position: absolute; top: 3px; right: 10px; width: 75px; height: 75px; display: grid; place-content: center; text-align: center; font-size: 12px; line-height: 1.5; font-weight: 900; background: #f4bb42; border: 2px solid #161512; border-radius: 50%; transform: rotate(12deg); box-shadow: 3px 3px 0 #161512; }
.game-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 28px 4px 20px 0; }
.game-switch button { background: #efebe0; color: #161512; padding: 11px 8px; }
.game-switch button[aria-pressed=true] { background: #c4e70c; }
.drawing-workshop { border: 2px solid #161512; background: #f7f4ec; padding: 21px; box-shadow: 6px 6px 0 #ff94c9; margin-right: 6px; }
.drawing-prompt { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin: 0 0 20px; border-bottom: 1px solid #c4beb1; padding-bottom: 16px; }
.drawing-prompt p { font-size: 13px; margin: 0; max-width: 340px; }
.drawing-prompt .quiet-button { font-size: 11px; padding: 6px 2px; flex-shrink: 0; }
.drawing-tools { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 16px; }
.drawing-tools button { font-size: 12px; padding: 8px 4px; min-height: 44px; background: #f7f4ec; color: #161512; box-shadow: 2px 2px 0 #161512; }
.drawing-tools button[aria-pressed=true] { background: #161512; color: #fffdf8; }
.drawing-colors { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 13px; }
.drawing-colors button { width: 42px; height: 42px; min-height: 42px; border-radius: 50%; padding: 0; box-shadow: none; position: relative; }
.drawing-colors button:hover { transform: scale(1.07); }
.drawing-colors button[aria-pressed=true]::after { content: '✓'; color: #fff; text-shadow: 0 1px 2px #161512; font-size: 18px; }
.drawing-colors .ink-yellow[aria-pressed=true]::after { color: #161512; text-shadow: none; }
.ink-black { background: #161512 !important; }.ink-blue { background: #1469c4 !important; }.ink-pink { background: #ff3ea0 !important; }.ink-purple { background: #6343c5 !important; }.ink-coral { background: #ef7450 !important; }.ink-yellow { background: #f4bb42 !important; }.ink-green { background: #689438 !important; }
.drawing-size { display: flex; align-items: center; gap: 12px; font-size: 11px; margin: 0 0 16px; }
.drawing-size input[type=range] { min-width: 0; min-height: 40px; flex: 1; width: auto; margin: 0; padding: 0; border: 0; accent-color: #161512; background: transparent; cursor: pointer; }
.drawing-size output { min-width: 33px; font: 10px 'Space Mono',monospace; }
.drawing-paper { position: relative; background: #fffdf8; border: 2px solid #161512; }
#drawing-pad { width: 100%; height: auto; aspect-ratio: 1; display: block; touch-action: none; cursor: crosshair; }
.paper-corner { position: absolute; bottom: 8px; right: 11px; color: #c4beb1; font: 18px Inter,sans-serif; pointer-events: none; }
.drawing-help { font-size: 10px; color: #70695e; margin: 10px 0 18px; }
.drawing-help a { display: inline-block; }
.drawing-actions { display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.drawing-actions > div { display: flex; gap: 8px; }
.drawing-actions button { min-height: 42px; padding: 8px 12px; font-size: 11px; box-shadow: 2px 2px 0 #161512; }
.drawing-submit-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 23px 3px 12px 0; }
.drawing-submit-row .privacy { overflow-wrap: anywhere; }
.drawing-submit-row button { flex-shrink: 0; background: #c4e70c; color: #161512; }
.drawing-submit-row button:hover { background: #d1ee39; }
.drawing-review { padding-top: 10px; border-top: 1px solid #c4beb1; }
.circle-instructions { margin-bottom: 21px; }
.circle-instructions > p { font-size: 12px; margin: 0 0 8px; }
.circle-instructions .circle-kicker { font-size: 19px; font-weight: 900; }
.circle-instructions .circle-result { color: #6343c5; font-size: 16px; font-weight: 900; margin: 15px 0 6px; }
.circle-pad { background-image: radial-gradient(circle,#e2dcce 1px,transparent 1px); background-size: 20px 20px; }
.drawing-basket { margin: 39px 6px 0 0; border: 2px solid #161512; padding: 18px; background: #fffdf8; box-shadow: 6px 6px 0 #f4bb42; }
.drawing-gallery-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.drawing-gallery-heading h3 { margin: 0; }
.drawing-gallery-heading span { display: block; margin-top: 4px; font: 10px 'Space Mono','Noto Sans TC',monospace; color: #70695e; }
.drawing-gallery-heading button { flex-shrink: 0; padding: 8px 12px; font-size: 12px; min-height: 44px; background: #c4e70c; box-shadow: 2px 2px 0 #161512; }
.basket-help { font-size: 11px; margin: 13px 0 15px; color: #70695e; }
.drawing-gallery { position: relative; height: 420px; isolation: isolate; overflow: hidden; border: 2px solid #161512; border-radius: 8px 8px 33px 33px; background: radial-gradient(circle,#c9c2b4 1px,transparent 1px) 0 0 / 10px 10px #f7f4ec; }
.gallery-empty { position: absolute; inset: 0 18px 40px; display: grid; align-content: center; text-align: center; font-family: 'Noto Serif TC',serif; margin: 0; color: #70695e; font-size: 17px; pointer-events: none; }
.gallery-empty > span { display: block; color: #6343c5; font-size: 36px; margin-bottom: 9px; }
.gallery-empty > small { display: block; font-family: 'Noto Sans TC',sans-serif; font-size: 11px; margin-top: 9px; }
.basket-sticker { position: absolute; top: 0; left: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; touch-action: none; cursor: grab; transition: none; filter: drop-shadow(2px 3px 1px #16151220); }
.basket-sticker:hover, .basket-sticker:active { background: transparent; box-shadow: none; }
.basket-sticker canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.basket-sticker.dragging { cursor: grabbing; z-index: 2; filter: drop-shadow(3px 6px 2px #16151230); }
.basket-sticker:focus-visible { z-index: 3; outline: 3px solid #6343c5; outline-offset: 3px; border-radius: 9px; }
.pending-sticker::after { content: '♡'; position: absolute; right: 0; top: 0; width: 20px; height: 20px; display: grid; place-content: center; background: #ff94c9; color: #161512; font-size: 14px; border: 1px solid #161512; border-radius: 50%; }
.basket-rim { position: absolute; bottom: 0; left: 0; right: 0; height: 33px; background: #eadbc2; border-top: 2px solid #161512; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; pointer-events: none; z-index: 4; font-size: 10px; }
.basket-rim span:first-child { font-family: 'Noto Serif TC',serif; font-size: 12px; }
.basket-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.basket-bottom .privacy { margin: 0; max-width: 330px; font-size: 10px; }
.basket-bottom button { flex-shrink: 0; font-size: 11px; min-height: 44px; }
.gallery-footnote { font-size: 11px; color: #70695e; }
.gallery-footnote:empty { display: none; }
body.artwork-open { overflow: hidden; }
.drawing-preview { width: min(480px,calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 22px; border: 2px solid #161512; background: #fffdf8; color: #161512; overflow: auto; }
.drawing-preview::backdrop { background: #161512b8; }
.drawing-preview-heading { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-bottom: 16px; }
.drawing-preview-heading h3 { margin: 0; overflow-wrap: anywhere; }
.drawing-preview-heading button { flex-shrink: 0; padding: 8px 12px; min-height: 44px; }
#drawing-preview-canvas { display: block; width: 100%; height: auto; background: #f7f4ec; border: 1px solid #c4beb1; }
#drawing-preview-prompt { font-size: 12px; }
.preview-picker { font-size: 11px; }
.preview-picker select { width: 100%; min-height: 44px; margin: 6px 0 16px; padding: 8px; border: 1px solid #161512; background: #fffdf8; color: #161512; font-family: inherit; }
.drawing-preview-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.drawing-preview-controls button { font-size: 11px; padding: 8px 10px; min-height: 44px; }
.drawing-preview-controls span { font: 10px 'Space Mono',monospace; }
.admin-drawings { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 22px; margin-top: 20px; }
.admin-drawing { border: 2px solid #161512; padding: 16px; min-width: 0; }
.admin-drawing canvas { display: block; width: 100%; height: auto; background: #fffdf8; }
.admin-drawing p { font-size: 12px; overflow-wrap: anywhere; }
.admin-drawing button { font-size: 11px; padding: 8px; }
@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  .nav-inner { padding: 9px 16px; gap: 12px; }
  nav { gap: 7px; }
  nav a { padding: 7px 10px; font-size: 11px; }
  .monogram { min-width: 49px; height: 37px; }
  .logo-xiao, .logo-chao { font-size: 21px; }
  .monogram i { font-size: 17px; }
  .hero { padding-top: 42px; padding-bottom: 43px; }
  .eyebrow { font-size: 10px; padding: 7px 9px; margin-bottom: 29px; }
  .title-cn { font-size: clamp(64px, 16vw, 92px); }
  .title-en { font-size: clamp(34px, 9.3vw, 58px); margin-top: 10px; }
  .title-cn, .title-en { text-shadow: -3px 3px 0 #1e7be0, 4px 5px 0 #ff3ea0; }
  .sticker-flower { right: 14px; top: 42px; width: 35px; height: 35px; box-shadow: 0 -12px 0 #6343c5, 11px -6px 0 #6343c5, 11px 7px 0 #6343c5, 0 13px 0 #6343c5, -11px 7px 0 #6343c5, -11px -6px 0 #6343c5; }
  .sticker-dot { top: 46px; right: 95px; width: 22px; height: 22px; }
  .sticker-spark { width: 33px; height: 33px; top: 133px; right: 11px; }
  .invitation { font-size: 16px; margin-top: 28px; line-height: 2; }
  .event-ticket > div { grid-template-columns: 68px minmax(0, 1fr); }
  .event-ticket dt { padding: 16px 9px; font-size: 10px; }
  .event-ticket dd { padding: 15px 13px; }
  .event-date { font-size: 26px; }
  .event-ticket a { font-size: 15px; }
  .event-ticket small { font-size: 10px; }
  .hero-actions { gap: 12px; }
  .button-link, button { font-size: 13px; padding: 10px 14px; }
  .section { padding: 35px 0 40px; }
  h2 { font-size: 30px; line-height: 1.4; }
  .section-label { font-size: 10px; gap: 10px; margin-bottom: 17px; }
  .section-label span { font-size: 12px; }
  .body-copy { font-size: 14px; }
  .hero-photo { padding: 7px; box-shadow: 4px 4px 0 #161512; margin-top: 23px; }
  .hero-photo img { aspect-ratio: 1.4; }
  figcaption { font-size: 9px; }
  .venue-note { display: block; }
  .venue-note .text-link { margin-top: 12px; }
  .travel-grid article { gap: 14px; }
  .paper-form { padding: 22px 16px 17px; box-shadow: 5px 5px 0 #1e7be0; margin-right: 5px; }
  .note-paper { box-shadow: 5px 5px 0 #ff3ea0; }
  .form-grid { grid-template-columns: 1fr; gap: 23px; }
  .submit-row { flex-wrap: wrap; gap: 15px; }
  .submit-row button { width: 100%; }
  .privacy { font-size: 11px; }
  .admin { padding: 20px; margin-top: 20px; }
  .admin h1 { font-size: 30px; }
  .admin #login { padding: 20px; }
  .nav-inner { flex-wrap: wrap; gap: 9px; }
  .nav-inner nav { min-width: 0; gap: 6px; }
  nav a { padding-left: 8px; padding-right: 8px; }
  .drawing-workshop { padding: 16px; }
  .drawing-prompt { display: block; }
  .drawing-prompt .quiet-button { margin-top: 4px; }
  .drawing-tools { gap: 6px; }
  .drawing-tools button { font-size: 11px; padding: 6px 2px; }
  .drawing-colors { gap: 5px; }
  .drawing-colors button { width: 36px; height: 40px; min-height: 40px; }
  .drawing-submit-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .drawing-basket { padding: 14px; }
  .drawing-gallery { height: 360px; }
  .drawing-gallery-heading h3 { font-size: 17px; }
  .basket-bottom { align-items: flex-start; }
  .play-sticker { width: 62px; height: 62px; right: 2px; font-size: 10px; }
  .play-heading h2 { padding-right: 66px; }
}
@media (max-width: 360px) {
  .nav-inner { padding-left: 12px; padding-right: 12px; gap: 9px; }
  nav a { padding-left: 7px; padding-right: 7px; }
  nav { gap: 6px; }
  .page, footer { width: calc(100% - 32px); }
  .eyebrow { font-size: 9px; }
  .sticker-dot { display: none; }
  .sticker-flower { right: 12px; width: 30px; height: 30px; }
  h2 { font-size: 27px; }
  .nav-inner { gap: 6px; }
  nav a { padding-left: 5px; padding-right: 5px; font-size: 10px; }
  nav { gap: 5px; }
  .drawing-workshop { padding: 12px; }
  .drawing-colors { gap: 3px; }
  .drawing-colors button { width: 31px; }
  .drawing-actions button { padding-left: 8px; padding-right: 8px; }
  .game-switch button { font-size: 12px; }
  .drawing-basket { padding: 12px; }
  .drawing-gallery { height: 340px; }
  .drawing-gallery-heading h3 { font-size: 16px; }
  .drawing-gallery-heading button { font-size: 11px; padding: 8px; }
  .basket-rim { padding: 0 12px; }
  .drawing-preview { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, button, input, select, textarea { transition: none; }
}

.portal-body { min-height: 100svh; display: flex; flex-direction: column; }
.portal-header { width: min(100% - 80px, 1080px); margin: 0 auto; min-height: 80px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #c4beb1; }
.portal-header-note { font: 10px "Space Mono", monospace; letter-spacing: .1em; display: flex; align-items: center; gap: 23px; }
.portal-header-note > span { font-size: 25px; color: #6343c5; }
.portal-layout { width: min(100% - 80px, 1000px); margin: auto; padding: 27px 0 32px; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 430px; align-items: center; gap: 78px; }
.portal-intro { position: relative; padding: 15px 0 75px; }
.portal-intro .eyebrow { font-size: 10px; margin-bottom: 30px; }
.portal-intro h1 { font-size: clamp(48px, 5.4vw, 70px); line-height: 1.3; font-weight: 900; letter-spacing: -.04em; margin: 0; white-space: nowrap; }
.portal-title-last { text-shadow: -3px 3px 0 #1e7be0, 4px 5px 0 #ff3ea0; }
.portal-copy { font-family: "Noto Serif TC", serif; font-size: 17px; margin: 27px 0 30px; line-height: 2; }
.portal-signature { font-weight: 900; font-size: 27px; margin: 0; }
.portal-signature > span { color: #6343c5; font-family: Inter, sans-serif; }
.portal-signature small { display: block; font: 10px "Space Mono", monospace; letter-spacing: .07em; margin-top: 6px; }
.portal-orbit { pointer-events: none; position: absolute; inset: 0; }
.portal-orbit .sticker-flower { width: 30px; height: 30px; top: auto; bottom: 105px; right: 29px; box-shadow: 0 -12px 0 #6343c5, 11px -6px 0 #6343c5, 11px 7px 0 #6343c5, 0 13px 0 #6343c5, -11px 7px 0 #6343c5, -11px -6px 0 #6343c5; }
.portal-orbit .sticker-spark { top: auto; bottom: 34px; right: 80px; width: 36px; height: 36px; }
.portal-orbit .sticker-dot { top: 28px; right: 4px; width: 17px; height: 17px; }
.invitation-card { background: #f7f4ec; border: 2px solid #161512; box-shadow: 10px 10px 0 #ff94c9; padding: 27px 32px 0; position: relative; margin-right: 10px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; font: 9px "Space Mono", monospace; letter-spacing: .04em; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid #c4beb1; }
.card-heart { font: 30px Inter, sans-serif; color: #6343c5; line-height: 1; }
.card-kicker { font-size: 11px; color: #70695e; margin: 0 0 5px; }
.invitation-card h2 { font-size: 27px; margin-bottom: 12px; letter-spacing: -.03em; }
.card-description { font-size: 13px; line-height: 1.9; color: #70695e; margin: 0 0 21px; }
.invitation-card label { font-size: 12px; }
#guest-login > label { margin-bottom: 0; }
.invitation-card input:not([type=radio]) { background: #f7f4ec; min-height: 57px; padding: 13px 14px; }
.invitation-card input:not([type=radio]):focus { background: #fffdf8; }
.name-hint { color: #70695e; font-size: 10px; margin: 10px 0 23px; }
.invitation-card button { width: 100%; min-height: 54px; justify-content: space-between; background: #c4e70c; color: #161512; padding: 12px 17px; box-shadow: 4px 4px 0 #161512; }
.invitation-card button:hover { background: #d1ee39; }
.invitation-card button > span:last-child { font: 23px Inter, sans-serif; line-height: 1; }
.invitation-card .status { font-size: 12px; margin: 17px 0 0; }
.card-perforation { border-top: 1px dashed #a49d90; margin: 27px -32px 0; }
.card-details { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 19px 0 20px; }
.card-details > div + div { border-left: 1px solid #c4beb1; padding-left: 24px; }
.card-details span, .card-details strong, .card-details small { display: block; }
.card-details span { font: 9px "Space Mono", monospace; color: #70695e; margin-bottom: 7px; }
.card-details strong { font: 900 21px Inter, sans-serif; letter-spacing: -.03em; }
.card-details small { font-size: 10px; color: #70695e; margin-top: 7px; line-height: 1.6; }
.portal-footer { width: min(100% - 80px, 1080px); max-width: none; border-top: 1px solid #c4beb1; margin: 0 auto; padding: 18px 0 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; }
.portal-footer > p { margin: 0; }
.portal-footer a { font-size: 10px; color: #70695e; text-decoration: none; }
.portal-footer a:hover { color: #161512; text-decoration: underline; }
.noscript-note { padding: 20px; text-align: center; }
.guest-welcome { border-bottom: 1px solid #c4beb1; padding: 24px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.guest-welcome > div { min-width: 0; }
.guest-caption { font: 10px "Space Mono", "Noto Sans TC", monospace; color: #70695e; margin: 0 0 7px; }
.guest-welcome h2 { font-size: 22px; margin: 0; overflow-wrap: anywhere; }
.guest-welcome #personal-greeting { font-size: 12px; color: #70695e; margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.quiet-button { color: #70695e; background: none; border: 0; border-bottom: 1px solid #70695e; box-shadow: none; font-size: 10px; font-weight: 500; padding: 0; min-height: 30px; flex-shrink: 0; }
.quiet-button:hover { color: #161512; background: none; transform: none; box-shadow: none; }
input[readonly] { background: #e7e2d6; color: #70695e; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.admin-toolbar button { margin: 0; }
.import-panel { border: 2px solid #161512; padding: 25px; margin: 24px 7px 40px 0; box-shadow: 6px 6px 0 #c4e70c; }
.import-panel h2 { font-size: 27px; }
.import-panel p { font-size: 13px; color: #70695e; }
.import-panel label { margin: 22px 0; }
.import-panel textarea { font-family: "Space Mono", "Noto Sans TC", monospace; font-size: 13px; }
.import-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.import-panel .import-actions button { margin: 0; }
.import-preview { border-top: 1px solid #c4beb1; margin-top: 25px; padding-top: 20px; }
.admin h2 { margin-top: 35px; }
.admin .import-panel h2 { margin-top: 0; }
.admin #guest-summary { color: #70695e; font-size: 14px; }
.admin .guest-table { margin-bottom: 38px; }
.admin .guest-table td:first-child { min-width: 120px; }
.admin .guest-table button { font-size: 11px; padding: 5px 11px; min-height: 34px; background: #efebe0; color: #161512; box-shadow: 2px 2px 0 #161512; white-space: nowrap; }
@media (max-width: 840px) {
  .portal-layout { gap: 40px; grid-template-columns: minmax(0, 1fr) 380px; width: calc(100% - 48px); }
  .portal-header, .portal-footer { width: calc(100% - 48px); }
  .portal-intro h1 { font-size: 45px; }
  .portal-orbit .sticker-dot { display: none; }
  .portal-orbit .sticker-flower { right: 13px; bottom: 45px; }
  .portal-orbit .sticker-spark { right: 85px; bottom: 15px; }
  .invitation-card { padding-left: 26px; padding-right: 26px; }
  .card-perforation { margin-left: -26px; margin-right: -26px; }
}
@media (max-width: 700px) {
  .portal-header { min-height: 70px; }
  .portal-header-note { font-size: 8px; gap: 12px; }
  .portal-layout { width: min(100% - 48px, 430px); display: block; padding: 30px 0 35px; }
  .portal-intro { padding: 0 0 24px; }
  .portal-intro .eyebrow { font-size: 8px; margin-bottom: 17px; padding: 5px 8px; }
  .portal-intro h1 { font-size: 43px; line-height: 1.2; }
  .portal-copy { font-size: 12px; line-height: 1.9; margin: 15px 0; }
  .portal-signature { font-size: 19px; position: absolute; bottom: 32px; right: 0; line-height: 1.4; text-align: right; }
  .portal-signature small { font-size: 8px; }
  .portal-orbit .sticker-flower { top: 65px; bottom: auto; right: 18px; width: 23px; height: 23px; box-shadow: 0 -9px 0 #6343c5, 8px -5px 0 #6343c5, 8px 5px 0 #6343c5, 0 10px 0 #6343c5, -8px 5px 0 #6343c5, -8px -5px 0 #6343c5; }
  .portal-orbit .sticker-spark { top: 17px; bottom: auto; right: 6px; width: 25px; height: 25px; }
  .invitation-card { padding: 22px 22px 0; box-shadow: 7px 7px 0 #ff94c9; margin-right: 7px; }
  .card-topline { font-size: 8px; padding-bottom: 14px; margin-bottom: 19px; }
  .invitation-card h2 { font-size: 25px; }
  .card-description { font-size: 12px; margin-bottom: 21px; }
  .invitation-card input:not([type=radio]) { min-height: 52px; }
  .name-hint { font-size: 9px; margin-bottom: 20px; }
  .invitation-card button { min-height: 50px; }
  .card-perforation { margin: 27px -22px 0; }
  .card-details { gap: 15px; padding: 19px 0; }
  .card-details > div + div { padding-left: 15px; }
  .card-details strong { font-size: 19px; }
  .card-details small { font-size: 9px; }
  .portal-footer { display: block; padding: 18px 0; }
  .portal-footer > p { font-size: 9px !important; }
  .portal-footer a { font-size: 9px; display: inline-block; margin-top: 7px; }
  .guest-welcome { gap: 12px; }
  .guest-welcome h2 { font-size: 19px; }
  .guest-welcome #personal-greeting { font-size: 11px; }
  .import-panel { padding: 20px 16px; }
}

html { scrollbar-gutter: stable; }
.opening-header { position: fixed; inset: 0 0 auto; height: 86px; z-index: 6; display: flex; align-items: center; justify-content: center; color: #fffdf8; transition: background-color 180ms ease,color 180ms ease; }
.opening-header .monogram { color: #fffdf8; font-family: 'Noto Serif TC',serif; height: 44px; }
.opening-header .monogram i { color: #dec58b; }
.opening-header.header-plain { background: #efebe0; color: #161512; border-bottom: 1px solid #d4cebf; }
.opening-header.header-plain .monogram { color: #161512; }
.opening-header.header-plain .monogram i { color: #897342; }
.header-date { position: absolute; right: 36px; top: 37px; font: 9px 'Space Mono',monospace; letter-spacing: .12em; }
.menu-toggle,.menu-close { position: absolute; top: 19px; left: 25px; width: 48px; height: 48px; min-height: 48px; padding: 0; color: inherit; background: none; border: 0; box-shadow: none; }
.menu-toggle { flex-direction: column; gap: 6px; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; }
.menu-toggle:hover,.menu-toggle:active,.menu-close:hover,.menu-close:active { background: none; color: inherit; transform: none; box-shadow: none; }
.menu-toggle:hover { opacity: .7; }
.opening-header a:focus-visible,.opening-header button:focus-visible { outline-color: currentColor; }
.opening { position: relative; isolation: isolate; min-height: 570px; height: 88svh; max-height: 920px; display: grid; align-items: center; justify-items: center; color: #fffdf8; text-align: center; background: #24473f; }
.opening-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; z-index: -2; }
.opening::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(9,25,22,.38),rgba(9,25,22,.42) 55%,rgba(9,25,22,.58)); z-index: -1; }
.opening-content { padding: 100px 24px 60px; width: min(100%,700px); }
.opening-kicker { font: 9px 'Space Mono',monospace; letter-spacing: .2em; margin: 0 0 23px; color: #f1e6cf; }
.opening h1 { margin: 0; line-height: 1.3; font-weight: 500; }
.opening-names { display: block; font: 500 88px/1.2 'Noto Serif TC',serif; letter-spacing: .03em; }
.opening-names i { font-style: italic; color: #e8d1a0; font-size: .76em; }
.opening-english { display: block; font: 500 34px/1.5 'Noto Serif TC',serif; letter-spacing: .02em; margin-top: 16px; }
.opening-announcement { font-size: 15px; font-weight: 400; letter-spacing: .2em; margin: 28px 0 13px; }
.opening-date { font: 11px 'Space Mono',monospace; letter-spacing: .12em; margin: 0; }
.opening-link { display: inline-flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 400; text-decoration: none; border-bottom: 1px solid rgba(255,253,248,.65); padding: 10px 0; margin-top: 30px; }
.opening-link:hover { border-bottom-color: #e8d1a0; color: #e8d1a0; }
.opening-link:focus-visible { outline-color: #fffdf8; }
.opening-link span { font-size: 19px; }
.opening-photo-note { position: absolute; bottom: 22px; right: 30px; font: 8px 'Space Mono',monospace; letter-spacing: .09em; opacity: .85; }
.invitation-section { padding: 51px 0 49px; text-align: center; }
.invitation-section h2 { font: 500 32px/1.6 'Noto Serif TC',serif; margin-bottom: 24px; }
.invitation-section .hero-actions { justify-content: center; }
.wedding-main > .page { padding-top: 17px; }
.portal-main { flex: 1; }
.portal-access { display: grid; grid-template-columns: minmax(0,1fr) 430px; align-items: center; gap: 100px; width: min(100% - 80px,1000px); margin: 0 auto; padding: 85px 0 76px; }
.access-kicker { font-size: 11px; letter-spacing: .1em; margin: 0 0 22px; color: #897342; }
.access-intro h2 { font: 500 36px/1.6 'Noto Serif TC',serif; margin-bottom: 26px; letter-spacing: 0; }
.access-intro > p:not(.access-kicker) { font-size: 13px; color: #6c675e; line-height: 2; }
.access-intro .access-details { font-size: 11px !important; margin-top: 30px; }
.portal-access .invitation-card { background: #f7f4ec; border: 1px solid #c9c1af; box-shadow: none; padding: 28px 31px 0; margin: 0; }
.portal-access .invitation-card h2 { font: 500 29px/1.5 'Noto Serif TC',serif; }
.portal-access .card-heart { color: #897342; }
.portal-access .card-kicker { font-size: 10px; }
.portal-access .invitation-card input:not([type=radio]) { border: 1px solid #9e9685; background: #fffdf8; padding: 13px; }
.portal-access .invitation-card button { background: #203c32; color: #fffdf8; border: 1px solid #203c32; font-weight: 500; box-shadow: none; }
.portal-access .invitation-card button:hover { background: #2f5144; transform: none; }
.portal-access .card-perforation { border-top: 1px solid #c9c1af; margin-left: -31px; margin-right: -31px; }
.portal-access .card-details strong { font: 500 18px/1.5 'Space Mono',monospace; letter-spacing: -.03em; }
.portal-access .card-details { gap: 18px; }
.portal-access .card-details > div + div { padding-left: 18px; }
.menu-open { overflow: hidden; }
.site-menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; background: #141b17; color: #fffdf8; border: 0; overflow-y: auto; }
.site-menu::backdrop { background: #141b17; }
.site-menu[open] { display: flex; flex-direction: column; animation: menu-appear 220ms ease both; }
.menu-top { flex-shrink: 0; height: 86px; position: relative; display: flex; align-items: center; justify-content: center; }
.menu-top .monogram { color: #d9bd82; font-family: 'Noto Serif TC',serif; }
.menu-top .monogram i { color: #d9bd82; }
.menu-close { color: #fffdf8; }
.menu-close span { position: absolute; width: 25px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.menu-close span + span { transform: rotate(-45deg); }
.site-menu .menu-links { flex: 1; width: min(100% - 48px,600px); margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px 0; }
.site-menu .menu-links a { min-height: 52px; padding: 10px 16px; border: 0; box-shadow: none; font: 400 23px/1.5 'Noto Sans TC',sans-serif; letter-spacing: .12em; color: #f7f4ec; background: none; white-space: normal; text-align: center; }
.site-menu .menu-links a[aria-current] { color: #d9bd82; }
.site-menu .menu-links a:hover,.site-menu .menu-links a:active { color: #d9bd82; background: none; box-shadow: none; transform: none; }
.site-menu a:focus-visible,.site-menu button:focus-visible { outline-color: #d9bd82; }
.menu-footer { padding: 25px 24px 31px; text-align: center; color: #b9b7a8; flex-shrink: 0; }
.menu-footer p { font: 8px 'Space Mono',monospace; letter-spacing: .1em; margin: 0 0 14px; }
.menu-footer a { display: inline-block; font-size: 10px; color: #b9b7a8; text-decoration: none; padding: 8px; }
@keyframes menu-appear { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 840px) {
  .portal-access { width: calc(100% - 48px); gap: 35px; grid-template-columns: minmax(0,1fr) 370px; }
  .access-intro h2 { font-size: 27px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .opening-header,.menu-top { height: 72px; }
  .menu-toggle,.menu-close { top: 12px; left: 10px; }
  .header-date { top: 32px; right: 20px; font-size: 7px; }
  .opening-header .monogram { height: 37px; }
  .opening { height: 72svh; min-height: 440px; max-height: 680px; }
  .opening-content { padding: 100px 20px 50px; }
  .opening-names { font-size: clamp(57px,16vw,76px); }
  .opening-english { font-size: 27px; margin-top: 15px; }
  .opening-kicker { font-size: 8px; letter-spacing: .12em; }
  .opening-announcement { font-size: 13px; margin-top: 23px; }
  .opening-date { font-size: 10px; }
  .opening-photo-note { font-size: 7px; right: 16px; bottom: 17px; }
  .opening-link { margin-top: 25px; }
  .portal-access { width: min(100% - 40px,430px); display: block; padding: 48px 0; }
  .access-intro { text-align: center; margin-bottom: 33px; }
  .access-intro h2 { font-size: 27px; }
  .access-intro > p:not(.access-kicker) { font-size: 12px; }
  .access-intro .access-details { margin-top: 18px; }
  .portal-access .invitation-card { padding: 23px 23px 0; }
  .portal-access .invitation-card h2 { font-size: 27px; }
  .portal-access .card-perforation { margin-left: -23px; margin-right: -23px; }
  .portal-access .card-details { gap: 12px; }
  .portal-access .card-details strong { font-size: 16px; }
  .portal-access .card-details > div + div { padding-left: 12px; }
  .invitation-section { padding: 34px 0 41px; }
  .invitation-section h2 { font-size: 26px; }
  .site-menu .menu-links a { font-size: 20px; min-height: 51px; }
  .menu-footer { padding-bottom: 24px; }
}
@media (max-height: 560px) {
  .site-menu .menu-links { gap: 0; padding: 8px 0; }
  .site-menu .menu-links a { font-size: 17px; min-height: 38px; padding: 6px; }
  .menu-footer { padding-top: 10px; padding-bottom: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu[open] { animation: none; }
  .opening-header { transition: none; }
}
