@font-face {
  font-family: Pretendard;
  src: url("PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-display: swap;
}

@font-face {
  font-family: Gaegu;
  src: url("assets/post-office/Gaegu-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f5ea;
  --white: #fffdf5;
  --ink: #1d3d3c;
  --muted: #526462;
  --line: #c7c8b4;
  --berry: #a43928;
  --berry-deep: #852d20;
  --blush: #f8e9d8;
  --green: #225850;
  --mint: #e4eee1;
  --radius-panel: 12px;
  --radius-card: 7px;
  --radius-control: 7px;
  --control-height: 44px;
  --gradient-soft: linear-gradient(115deg, #fcf3df, #f6f1e3 54%, #e4eee5);
  --gradient-button: linear-gradient(125deg, #aa4430, #913626);
  --airmail: repeating-linear-gradient(130deg, #b24a35 0 11px, #f8efd7 11px 22px, #386474 22px 33px, #f8efd7 33px 44px);
  --hand: Gaegu, "Pretendard", sans-serif;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  font: 16px/1.55 var(--font);
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { min-width: 0; margin: 0; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #087391; outline-offset: 3px; }
.wrap { width: min(1144px, calc(100% - 96px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 4;
  left: 12px;
  top: 12px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 12px;
  clip-path: inset(50%);
}
.skip-link:focus { clip-path: none; }


.site-header { position: relative; background: linear-gradient(to bottom,#fff9e9 0 calc(100% - 33px),var(--paper) calc(100% - 33px)); }
.star-trim { width: 100%; height: 40px; background: url("assets/post-office/stars.webp") left center / auto 31px repeat-x; pointer-events: none; }
.site-header::before { content: ""; display: block; height: 6px; background: var(--airmail); }
.header-inner { min-height: 86px; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: clamp(12px,2.5vw,32px); }
.header-inner > :last-child { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: var(--berry-deep); font-size: 1.55rem; line-height: 1; font-weight: 850; letter-spacing: -.075em; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand-type { display: grid; gap: 5px; }
.brand-type small { font: 700 .99rem/.9 var(--hand); letter-spacing: .025em; color: var(--green); }
.brand-stamp { position: relative; width: 48px; height: 55px; background: #efe1bd; border: 2px dotted #97855e; outline: 1px solid #c6b995; outline-offset: -3px; transform: rotate(-6deg); }
.brand-stamp::before { content: ""; position: absolute; inset: 4px; border: 1px solid #798b79; background: #c9dbca url("assets/post-office/doodoong.webp") 100% 52% / 310% auto no-repeat; }
.holiday-sprig { position: relative; justify-self: center; width: min(100%,185px); height: 60px; border: 0; background: none; padding: 2px; }
button.holiday-sprig { cursor: pointer; }
.holiday-sprig img { width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 14%; }
.holiday-sprig.is-shaking img { animation: ring-bells .65s ease-in-out; }
@keyframes ring-bells { 16% { transform: rotate(-6deg); } 41% { transform: rotate(5deg); } 68% { transform: rotate(-2deg); } }
.site-nav { display: flex; align-items: center; gap: clamp(14px,2.6vw,34px); font-size: .95rem; font-weight: 720; white-space: nowrap; }
.site-nav a { display: inline-flex; justify-content: center; align-items: center; min-height: var(--control-height); color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--green); }
.site-nav a[aria-current]:not(.nav-apply) { box-shadow: inset 0 -2px var(--green); }
.site-nav .nav-apply { gap: 7px; border-radius: var(--radius-control); background: var(--gradient-button); color: white; padding: 0 15px; }
.nav-apply::before { content: "✉"; font: 1rem/1 Georgia,serif; }
.site-nav .nav-apply:hover, .site-nav .nav-apply[aria-current] { color: white; background: var(--berry-deep); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--control-height); border: 1px solid transparent; border-radius: var(--radius-control); padding: 8px 16px; font-size: .91rem; font-weight: 740; cursor: pointer; transition: background .18s, border-color .18s; }
.primary { color: white; background: var(--gradient-button); }
.primary:hover { background: var(--berry-deep); }
.secondary { color: var(--berry-deep); border-color: var(--line); background: var(--white); }
.secondary:hover { border-color: var(--green); background: var(--mint); }
.button:disabled { opacity: .55; cursor: default; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--green); font-size: .94rem; font-weight: 740; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }

.home-section { margin-top: clamp(38px, 5.4vw, 72px); }
.recommendation { margin-top: clamp(24px, 3.6vw, 46px); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; margin-bottom: 19px; }
.section-heading h1 { font-size: clamp(2.8rem, 6.1vw, 5.2rem); letter-spacing: -.078em; font-weight: 820; line-height: 1.07; }
.section-heading h1::after { content: "✷" / ""; display: inline-block; vertical-align: top; color: var(--berry); font: .46em/1 Georgia,serif; margin: .2em 0 0 .26em; }
.section-heading h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -.068em; font-weight: 810; line-height: 1.13; }
.section-heading p { color: var(--muted); margin-top: 7px; font-size: 1rem; }
.schedule { color: var(--green); border-bottom: 1px solid var(--line); padding: 6px 0; font-size: .9rem; font-weight: 740; white-space: nowrap; }
.schedule small { margin-left: 4px; font-size: .77rem; font-weight: 540; }

.airmail { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); padding: 7px; background: var(--airmail); border: 1px solid #57716a; border-radius: 9px; overflow: hidden; box-shadow: 0 3px 0 #65664b30; }
.postcard { position: relative; display: grid; min-width: 0; justify-items: center; align-content: center; gap: 13px; padding: 27px 14px 20px; min-height: 420px; isolation: isolate; background: repeating-linear-gradient(0deg, transparent 0 32px,#876c4d28 32px 33px),#f5e9cc; }
.postcard::before { content: ""; position: absolute; inset: 12px; pointer-events: none; border: 1px solid #ab9974; z-index: -1; }
.recommendation-card { touch-action: pan-y; position: relative; width: min(62%,248px); background: #fffcf2; border: 1px solid #c9b99d; padding: 8px; transform: rotate(3deg); box-shadow: 2px 4px 8px #52462b3d; }
.recommendation-card::before { content: ""; position: absolute; inset: -9px auto auto 34%; z-index: 1; width: 32%; height: 16px; transform: rotate(-7deg); background: repeating-linear-gradient(130deg,#b89261b8 0 3px,#d3b37dbf 3px 6px); pointer-events: none; }
.recommendation-card.empty { min-height: 200px; display: grid; place-items: center; padding: 22px; text-align: center; color: var(--muted); }
.card-inner { min-width: 0; }
.card-photo { background: #e7e1cf; }
.card-image { width: 100%; height: auto; aspect-ratio: 1.23; object-fit: cover; object-position: var(--photo-position,center); }
.card-info { text-align: center; padding: 6px 3px 0; }
.card-info h2 { font: 700 clamp(1.6rem,3.1vw,2.25rem)/1.04 var(--hand); color: #493b2f; overflow-wrap: anywhere; }
.card-info .handle { color: #685847; font-size: .84rem; overflow-wrap: anywhere; }
.card-profile { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 0; background: transparent; color: var(--green); font-size: .83rem; font-weight: 730; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.carousel-dots { display: grid; grid-template-columns: repeat(auto-fit,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.carousel-dots:empty { display: none; }
.carousel-dots button { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; padding: 4px 7px; color: var(--ink); border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-control); font-weight: 700; cursor: pointer; }
.carousel-dots button:hover,.carousel-dots button[aria-current] { background: var(--mint); border-color: var(--green); }
.carousel-dots button[aria-current] { box-shadow: inset 0 0 0 1px var(--green); }
.carousel-dots img { width: 32px; height: 32px; object-fit: cover; border-radius: 50%; }
.carousel-dots span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carousel-controls { display: flex; align-items: center; gap: 5px; }
#carousel-count { font-weight: 680; font-size: .85rem; min-width: 36px; text-align: center; font-variant-numeric: tabular-nums; }
.post-control { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #9a997e; color: var(--green); border-radius: 50%; background: #fff8e9; font: 1.4rem/1 Arial,sans-serif; cursor: pointer; }
#toggle-autoplay { font-size: 1rem; }
.post-control:disabled { opacity: .55; cursor: default; }
.winter-letter { position: absolute; right: 5%; top: 5%; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2; }
.winter-letter span { display: block; width: 38px; height: 26px; border: 1.5px solid #a54a35; background: #fff8df; box-shadow: 1px 2px 0 #866c484d; transform: rotate(8deg); }
.winter-letter span::before { content: ""; display: block; width: 100%; height: 67%; background: #b45840; clip-path: polygon(0 0,50% 80%,100% 0,100% 12%,50% 93%,0 12%); transform-origin: top; transition: transform .25s; }
.winter-letter[aria-expanded=true] span::before { transform: scaleY(-.74); }
.winter-note { position: absolute; top: 17%; right: 5%; max-width: 75%; padding: 8px 12px; color: #6a3c2b; border: 1px solid #aa9571; box-shadow: 0 3px 5px #0002; background: #fff6dd; z-index: 3; font: 700 1.18rem/1.1 var(--hand); }
.winter-scene { position: relative; border-left: 1px solid #988f73; overflow: hidden; min-height: 100%; isolation: isolate; }
.village { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 59%; }
.village-sign { position: absolute; bottom: 11px; right: 16px; padding: 2px 12px; border: 1px solid #876e4d; color: #5a4430; background: #fff2d1; box-shadow: 1px 2px 0 #65533b80; transform: rotate(-2deg); font: 700 1.22rem/1.35 var(--hand); }
.walkway { position: absolute; inset: auto 8% 8%; pointer-events: none; }
.walking-dog { position: relative; display: block; pointer-events: auto; width: 31%; max-width: 170px; aspect-ratio: 1; padding: 0; border: 0; background: transparent; cursor: pointer; animation: mail-walk 20s linear infinite; }
.dog-turn,.dog-steps,.dog-turn::before { display: block; width: 100%; height: 100%; }
.dog-turn { position: relative; pointer-events: none; animation: mail-turn 20s step-end infinite; }
.dog-steps,.dog-turn::before { background: url("assets/post-office/doodoong.webp") 100% center / 300% 100% no-repeat; }
.dog-turn::before { content: ""; position: absolute; inset: 0; animation: seated 20s step-end infinite; }
.dog-steps { animation: footstep .75s step-end infinite, walking 20s step-end infinite; }
.dog-hello { position: absolute; left: 50%; bottom: 87%; transform: translateX(-50%); padding: 3px 8px; border: 1px solid #8c6847; border-radius: 10px 10px 10px 1px; background: #fff9e8; color: #863826; white-space: nowrap; opacity: 0; font: 700 1.05rem/1.1 var(--hand); }
.walking-dog.is-hello,.walking-dog:focus-visible { animation-play-state: paused; }
.walking-dog:is(.is-hello,:focus-visible) .dog-hello { opacity: 1; }
.walking-dog:is(.is-hello,:focus-visible) :is(.dog-turn,.dog-steps) { animation: none; }
.walking-dog:is(.is-hello,:focus-visible) .dog-turn::before { display: none; }
@keyframes mail-walk { 0%,12%,93%,100% { transform: translateX(12%); } 46%,59% { transform: translateX(154%); } }
@keyframes mail-turn { 0%,93%,100% { transform: scaleX(1); } 59% { transform: scaleX(-1); } }
@keyframes footstep { 0%,100% { background-position-x: 0%; } 50% { background-position-x: 100%; } }
@keyframes seated { 0%,46%,93%,100% { opacity: 1; } 12%,59% { opacity: 0; } }
@keyframes walking { 0%,46%,93%,100% { opacity: 0; } 12%,59% { opacity: 1; } }
#preview-label { margin-top: 8px; }

.gallery-preview { border-top: 1px solid var(--line); padding-top: 25px; }
.home-gallery-layout { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); gap: 12px; }
.home-gallery-layout .gallery-grid { gap: 9px; }
.hero-photo { position: relative; min-height: 100%; min-width: 0; overflow: hidden; border-radius: var(--radius-card); background: var(--blush); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, 55% center); }
.photo-label { position: absolute; bottom: 10px; left: 10px; border-radius: var(--radius-control); background: #fffaf2eb; color: var(--ink); font-size: .78rem; font-weight: 730; padding: 5px 9px; }
.icon-button { display: grid; place-items: center; width: var(--control-height); height: var(--control-height); flex: none; padding: 0; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-control); font-size: 1.12rem; font-weight: 740; cursor: pointer; }
.icon-button:hover { background: var(--blush); }
.icon-button:disabled { opacity: .55; cursor: default; }
.slide-next { animation: slide-next .3s ease-out both; }
.slide-prev { animation: slide-prev .3s ease-out both; }
@keyframes slide-next { from { transform: translateX(12px); opacity: .35; } to { transform: translateX(0); opacity: 1; } }
@keyframes slide-prev { from { transform: translateX(-12px); opacity: .35; } to { transform: translateX(0); opacity: 1; } }
[data-reduced-motion] *, [data-reduced-motion] *::before, [data-reduced-motion] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-control .system-motion { display: block; }
}

.inner-page { min-height: 60vh; }
.page-banner { display: flex; justify-content: space-between; gap: 20px; align-items: center; background: var(--gradient-soft); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 34px clamp(20px, 5vw, 57px); margin: 34px 0 28px; }
.page-banner.mint { background: var(--gradient-soft); }
.page-banner h1 { font-size: clamp(2.13rem, 5.2vw, 4.2rem); line-height: 1.15; font-weight: 900; letter-spacing: -.095em; }
.page-banner p { margin-top: 10px; color: var(--muted); word-break: keep-all; }
.page-banner img { flex: none; width: clamp(54px, 10vw, 100px); height: auto; transform: rotate(9deg); }
.sample-note { color: #636356; font-size: .83rem; }
.full-gallery { margin-top: 15px; }
.gallery-grid, .friend-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.tile { padding: 6px 6px 0; overflow: hidden; border: 1px solid var(--line); background: var(--white); border-radius: 3px; box-shadow: 1px 2px 2px #4c46321a; text-align: left; cursor: pointer; }
.tile:hover { border-color: var(--green); }
.tile-media { position: relative; display: block; overflow: hidden; background: var(--blush); }
.tile-media img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; object-position: var(--photo-position, center); transition: transform .24s; }
.full-gallery .tile-media img { aspect-ratio: .82; }
.tile:hover .tile-media img { transform: scale(1.035); }
.tile-copy { display: grid; gap: 2px; padding: 11px 14px 13px; }
.tile-title { font-size: 1.03rem; font-weight: 850; letter-spacing: -.055em; overflow-wrap: anywhere; }
.tile-detail { color: var(--green); font-size: .8rem; font-weight: 650; overflow-wrap: anywhere; }
.friend-grid .tile-media img { aspect-ratio: 1.48; }
.list-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 13px; }

.apply-layout { display: grid; grid-template-columns: minmax(200px, .72fr) minmax(0, 1.55fr); gap: 22px; align-items: start; }
.form-aside, .apply-form { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-panel); padding: clamp(20px, 3.1vw, 38px); }
.form-aside { background: var(--gradient-soft); }
.aside-avatar, .upload-preview img { object-fit: cover; border-radius: 50%; }
.form-aside h2 { font-size: 1.27rem; letter-spacing: -.06em; margin-top: 12px; }
.form-aside p { color: var(--muted); font-size: .92rem; margin-top: 8px; word-break: keep-all; }
.apply-form { display: grid; gap: 20px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field > label { font-weight: 850; }
.field > label span { color: var(--berry-deep); font-weight: 750; font-size: .73rem; margin-left: 5px; }
.field > :is(input, select, textarea) { min-width: 0; width: 100%; min-height: var(--control-height); padding: 10px 11px; border: 1px solid var(--line); border-radius: var(--radius-control); background: white; color: var(--ink); }
.field > input::placeholder { color: #69655a; }
.field > input[type="file"] { font-size: .84rem; }
.field-hint { font-size: .79rem; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.upload-preview { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.text-button { border: 0; padding: 0; background: transparent; cursor: pointer; }
.text-button { text-decoration: underline; color: var(--green); font-size: .8rem; }
.checkbox-field, .motion-control label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.checkbox-field { color: #404336; font-size: .89rem; word-break: keep-all; overflow-wrap: anywhere; }
input[type="checkbox"] { accent-color: var(--green); width: 18px; height: 18px; flex: none; margin: .15em 0 0; }
.apply-form .button { justify-self: start; }
.apply-result { border-radius: 10px; background: var(--mint); color: var(--green); padding: 11px 14px; font-size: .92rem; font-weight: 700; }
.apply-result.error { background: var(--blush); color: var(--berry-deep); }
.cancellation-receipt { display: grid; gap: 5px; border-top: 1px solid var(--line); margin-top: 9px; padding-top: 9px; overflow-wrap: anywhere; }
.cancellation-receipt a { justify-self: start; }

.admin-page { padding-bottom: 50px; }
.admin-page > .apply-result { margin: 14px 0; }
.admin-login { max-width: 460px; margin-top: 18px; }
.admin-toolbar, .admin-toolbar nav, .admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 15px; }
.admin-toolbar { justify-content: space-between; margin: 17px 0 26px; }
.admin-section { display: grid; gap: 12px; margin-top: 31px; scroll-margin-top: 20px; }
.admin-section h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.05em; }
.admin-records { display: grid; gap: 9px; }
.admin-panel { border: 1px solid var(--line); border-radius: 15px; background: var(--white); padding: clamp(12px, 3vw, 23px); overflow-wrap: anywhere; }
.admin-panel summary { font-weight: 800; cursor: pointer; }
.admin-application, #queue-content { display: grid; gap: 8px; justify-items: start; }
.admin-record-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-record-title img { flex: none; border-radius: 12px; object-fit: cover; }
.admin-state { color: var(--green); font-size: .86rem; font-weight: 750; }
.admin-edit { display: grid; max-width: 630px; gap: 12px; margin-top: 16px; }
.admin-edit .button { justify-self: start; }
.admin-edit textarea { resize: vertical; }
.admin-gallery-photo { width: min(100%, 260px); height: 180px; object-fit: cover; border-radius: 9px; margin-top: 12px; }

.site-footer { margin-top: 68px; background: #f0eddf; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 111px; padding-block: 17px; }
.footer-inner .brand { font-size: 1.13rem; }
.footer-inner p, .motion-control span { color: var(--muted); font-size: .78rem; }
.footer-inner p { margin-top: 3px; }
.motion-control { display: grid; gap: 4px; }
.system-motion { display: none; }
.motion-control label { align-items: center; font-weight: 800; font-size: .86rem; }
.motion-control label input { margin: 0; }

dialog { width: min(555px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 1px solid var(--line); padding: 0; border-radius: var(--radius-panel); background: var(--white); color: var(--ink); }
dialog::backdrop { background: #28271f9c; }
.dialog-close { position: absolute; top: 10px; right: 10px; z-index: 1; }
dialog > img { width: 100%; max-height: min(63vh, 570px); object-fit: contain; background: #f1eadd; }
.dialog-copy { padding: 16px 20px 21px; }
.dialog-copy h2 { font-size: 1.55rem; letter-spacing: -.06em; margin-bottom: 2px; }
.dialog-copy p { color: var(--muted); margin-bottom: 8px; overflow-wrap: anywhere; }


@media (max-width: 980px) {
  .wrap { width: calc(100% - 48px); }
}
@media (max-width: 680px) {
  :root { --radius-panel: 9px; --radius-card: 6px; --radius-control: 6px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 4px 8px; min-height: 0; padding-top: 7px; }
  .brand-stamp { width: 37px; height: 42px; }
  .brand-type { font-size: 1.28rem; gap: 4px; }
  .brand-type small { font-size: .87rem; }
  .holiday-sprig { justify-self: end; width: 115px; height: 44px; }
  .header-inner > .site-nav { grid-column: 1/-1; justify-self: stretch; justify-content: space-between; gap: 4px; font-size: clamp(.79rem, 3.45vw, .93rem); }
  .admin-page .header-inner { padding-bottom: 4px; }
  .site-nav .nav-apply { padding-inline: 9px; margin-block: 3px; }
  .home-section { margin-top: 38px; }
  .recommendation { margin-top: 24px; }
  .section-heading { margin-bottom: 13px; gap: 8px 12px; }
  .section-heading p { margin-top: 5px; font-size: .93rem; }
  .schedule { padding: 5px 8px; }
  .airmail { grid-template-columns: 1fr; padding: 5px; }
  .postcard { min-height: 310px; padding: 20px 12px 11px; gap: 8px; }
  .recommendation-card { width: min(58%,207px); padding: 6px; }
  .winter-scene { height: clamp(145px,43vw,230px); min-height: 0; border-left: 0; border-top: 1px solid #a6987b; }
  .walkway { bottom: 5%; }
  .walking-dog { width: 23%; max-width: 110px; }
  .village-sign { font-size: 1rem; bottom: 7px; right: 9px; }
  .carousel-dots { gap: 5px; margin-top: 7px; }
  .carousel-dots button { flex-direction: column; gap: 3px; padding: 4px 2px 6px; font-size: .82rem; text-align: center; }
  .carousel-dots img { flex-basis: auto; width: min(37px, 100%); height: auto; aspect-ratio: 1; }
  .carousel-dots span { max-width: 100%; }
  .home-gallery-layout { grid-template-columns: 1fr; gap: 9px; }
  .home-gallery-layout .hero-photo { min-height: 180px; aspect-ratio: 1.65; }
  .home-gallery-layout .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-banner { margin-top: 16px; padding-block: 21px; }
  .page-banner p { font-size: .95rem; }
  .gallery-grid, .friend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .tile-copy { padding: 7px 8px 9px; }
  .tile-title { font-size: .92rem; }
  .tile-detail { font-size: .78rem; }
  .apply-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .site-footer { margin-top: 46px; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
.member-panel {
  display: grid;
  gap: 0.7rem;
  margin-block: 1rem;
  padding-block: 1rem;
  border-block: 1px solid #e7dfd4;
}
.member-panel > :is(h2, p) { margin: 0; }
.member-actions, .member-form { display: grid; gap: 0.65rem; }
.member-actions summary { cursor: pointer; font-weight: 650; }
.member-form { margin-block-start: 0.65rem; }
.member-form .field { min-width: 0; }
.member-form input { width: 100%; }
#member-status:empty { display: none; }
