:root {
  --device-top: env(safe-area-inset-top, 0px);
  --device-bottom: env(safe-area-inset-bottom, 0px);
  --device-left: env(safe-area-inset-left, 0px);
  --device-right: env(safe-area-inset-right, 0px);
  --site-header-height: 84px;
}
.header {
  height: calc(var(--site-header-height) + var(--device-top));
  padding-top: var(--device-top);
}
.hero::before { top: calc(0px - var(--site-header-height) - var(--device-top)); }
.scroll-progress { top: var(--device-top); }
.album-cover .snow-toggle {
  position: absolute;
  inset: 14px auto auto 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 12px;
  background: #14382ded;
  color: #fff6df;
  border: 1px solid #f0e9cb50;
}
.album-cover .snow-toggle .ui-icon { width: 19px; height: 19px; }

.nomination-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.nomination-picker { display: none; }
.nomination-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
  border: 1px solid #d9dfd0;
  border-radius: 18px;
  background: #eeefe5;
}
.nomination-tab {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  min-height: 61px;
  padding: 9px 10px;
  border-color: transparent;
  border-radius: 12px;
  background: transparent;
  color: #234538;
  font-size: clamp(12px, 1.18vw, 15px);
}
.nomination-tab:last-child { grid-column: auto; }
.nomination-tab:hover { background: #fdfaf1; }
.nomination-tab[aria-selected="true"] {
  border-color: #234638;
  background: #234638;
  color: #fff7e8;
}
.nomination-number { color: #7b4a2a; font-size: 11px; }
.nomination-tab[aria-selected="true"] .nomination-number { color: #ffbd7c; }
.nomination-chevron { display: none; }
.nomination-tab:focus-visible { outline-color: #a14c26; }
.nomination-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border: 1px solid #d7dfd0;
  border-radius: 23px;
  background: #fffbf1;
}
.nomination-image {
  height: auto;
  min-height: clamp(285px, 27vw, 383px);
}
.nomination-image img { position: absolute; inset: 0; }
.nomination-brief {
  align-content: center;
  min-height: 0;
  padding: clamp(20px, 3vw, 44px);
}
.nomination-brief h3 { font-size: clamp(25px, 3vw, 43px); }
.nomination-brief .nomination-join { min-height: 46px; font-size: 14px; }

.map-city-directory { margin-top: 18px; }
.map-city-directory summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #acc9aa55;
  border-radius: 12px;
  color: #f7f0dd;
  background: #dbe8c70b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.map-city-directory summary::-webkit-details-marker { display: none; }
.map-city-directory summary span { font-size: 21px; font-weight: 500; }
.map-city-directory[open] summary span { transform: rotate(45deg); }
.map-city-directory .city-tabs { margin-top: 10px; }
.mobile-actions { display: none; }

@media (max-width: 1000px) {
  :root { --site-header-height: 78px; }
  .wrap { width: calc(100% - max(24px, var(--device-left)) - max(24px, var(--device-right))); }
}
@media (max-width: 760px) {
  :root { --site-header-height: 68px; }
  html { scroll-padding-bottom: calc(84px + var(--device-bottom)); }
  .wrap { width: calc(100% - max(17px, var(--device-left)) - max(17px, var(--device-right))); }
  .header .header-actions { gap: 8px; }
  .header .header-join { min-height: 44px; font-size: 11px; }
  .header .menu-toggle { width: 44px; height: 44px; }
  .hero {
    padding-block: 24px 34px;
    gap: 22px;
  }
  .hero h1 {
    margin-top: 20px;
    font-size: clamp(39px, 11.8vw, 72px);
    line-height: 1.01;
  }
  .hero h1 .title-line, .hero h1 em { white-space: normal; }
  .hero .hero-hand { display: none; }
  .hero .hero-desc { font-size: 15px; line-height: 1.55; margin-top: 17px; }
  .hero .hero-actions {
    margin-top: 19px;
    gap: 8px;
  }
  .hero .hero-actions .button {
    min-height: 52px;
    padding-inline: 10px;
    gap: 7px;
    font-size: 13px;
  }
  .hero .hero-actions .ui-icon { width: 17px; height: 17px; }
  .album-cover { width: calc(100% - 7px); margin-left: 7px; }
  .album-cover-image { height: clamp(218px, 64vw, 345px); }
  .album-cover-tag { font-size: 9px; }
  .album-cover .snow-toggle { top: 9px; left: 9px; width: 44px; padding: 0; }
  .album-cover .snow-toggle-label { display: none; }
  .album-cover figcaption { font-size: 12px; }
  .album-cover-open { width: 44px; height: 44px; }
  .section { padding-block: 48px; }
  .how > .section-top, .contest-nominations > .section-top, .gallery > .section-top { margin-bottom: 20px; }
  .section-top .eyebrow { font-size: 10px; }
  .section-note { display: none; }
  .how .step { padding: 17px; }
  .how .step p { font-size: 14px; line-height: 1.6; }
  .how .step .step-number { font-size: 24px; }
  .how .instruction-visual { height: 82px; }
  .how .instruction-visual svg { height: 81px; }
  .how .step-action { min-height: 44px; }
  .contest-nominations { padding-top: 5px; }
  .nomination-showcase { gap: 9px; }
  .nomination-tabs { display: none; }
  .nomination-picker {
    display: grid;
    gap: 6px;
    padding: 10px 11px;
    border: 1px solid #d6dfcf;
    border-radius: 15px;
    background: #edf0e4;
  }
  .nomination-picker label {
    color: #425d49;
    font-size: 12px;
    font-weight: 750;
  }
  .nomination-picker select {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #bbc9b6;
    border-radius: 10px;
    background: #fffcf3;
    color: #183c30;
    font: 700 16px/1.25 Manrope, sans-serif;
    text-overflow: ellipsis;
  }
  .nomination-panel {
    grid-template-columns: minmax(0,1fr);
    border-radius: 16px;
  }
  .nomination-image {
    min-height: 0;
    height: clamp(175px, 50vw, 290px);
  }
  .nomination-brief { gap: 8px; padding: 16px; }
  .nomination-brief h3 { font-size: clamp(24px, 6.1vw, 35px); }
  .nomination-brief > p:not(.nomination-theme) { font-size: 14px; line-height: 1.6; }
  .nomination-brief .nomination-join {
    width: 100%;
    justify-content: center;
    min-height: 47px;
  }

  .map-section {
    margin-left: max(6px, var(--device-left));
    margin-right: max(6px, var(--device-right));
  }
  .map-section > .wrap { width: calc(100% - 24px); }
  .map-tour-bar > span { font-size: 12px; }
  .map-tour-bar button { min-height: 44px; font-size: 12px; }
  .map-tools { gap: 8px; }
  .city-search { min-height: 48px; }
  .city-search input { font-size: 16px; }
  #reset-map { min-height: 44px; font-size: 12px; }
  .region-tabs { gap: 6px; margin-top: 6px; }
  .region-tabs button { min-height: 44px; font-size: 12px; padding-inline: 10px; }
  .map-canvas {
    grid-template-columns: minmax(0, 1fr) 46px;
    height: clamp(225px, 67vw, 330px);
  }
  .map-canvas .map-zoom button { width: 44px; height: 44px; }
  .map-canvas #country:not(.is-regional) .city-marker.active .city-label { font-size: 26px; stroke-width: 6px; }
  .map-card { display: block; }
  .map-card > .scene { height: clamp(170px, 53vw, 310px); min-height: 0; }
  .map-card-body { padding: 14px 10px; }
  .map-card p:not(.eyebrow):not(.map-sample) { font-size: 13px; line-height: 1.55; }
  .map-card .map-card-join, .map-card .photo-like, .map-card .city-photo-all { min-height: 44px; font-size: 12px; }
  .map-card .city-photo-nav > div button { width: 44px; height: 44px; }
  .map-card .city-photo-thumbs button { min-height: 44px; }
  .city-tabs { gap: 6px; max-height: 230px; }
  .city-tabs button { min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .map-truth { font-size: 12px; }

  .guest-gallery .gallery-note { font-size: 12px; }
  .guest-gallery .gallery-card:first-child .photo-open { height: clamp(220px, 67vw, 355px); }
  .guest-gallery .participant-info p { font-size: 12px; }
  .studio-copy input, .entry-dialog form input:not([type=checkbox]):not([type=file]),
  .entry-dialog textarea, .entry-dialog select, .city-gallery-dialog select {
    font-size: 16px;
  }
  .studio-copy input, .entry-dialog form input:not([type=checkbox]):not([type=file]),
  .entry-dialog textarea, .entry-dialog select { min-height: 48px; }
  .studio-copy .studio-label { font-size: 13px; }
  .studio-angles { flex-wrap: wrap; }
  .studio-angles button { min-height: 48px; }
  #download-postcard { min-height: 48px; font-size: 14px; }
  .studio-note { font-size: 11px; }
  .studio-art { min-height: 414px; }
  .faq summary { min-height: 49px; }
  .faq details p { font-size: 14px; padding-right: 0; }
  main + footer { padding-bottom: calc(92px + var(--device-bottom)); }
  main + footer .text-link { min-height: 44px; }

  .mobile-actions {
    position: fixed;
    z-index: 20;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px max(14px, var(--device-right)) calc(8px + var(--device-bottom)) max(14px, var(--device-left));
    border-top: 1px solid #d5ddc8;
    background: #fbf7ebf7;
    box-shadow: 0 -7px 28px #172f251e;
  }
  .mobile-actions .button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 0;
    gap: 8px;
    padding-inline: 8px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 750;
  }
  body:has(dialog[open]) .mobile-actions { visibility: hidden; }

  #join-dialog, #rules-dialog, #navigation-dialog, #city-gallery-dialog {
    position: fixed;
    inset: auto 0 var(--sheet-bottom, 0px);
    width: 100%;
    max-width: none;
    max-height: calc(100vh - var(--device-top) - 8px);
    max-height: calc(var(--sheet-height, 100dvh) - var(--device-top) - 8px);
    margin: 0;
    padding: 18px max(16px, var(--device-right)) calc(22px + var(--device-bottom)) max(16px, var(--device-left));
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 22px 22px 0 0;
    scroll-padding-block: 62px 20px;
  }
  #join-dialog > .close, #rules-dialog > .close, #city-gallery-dialog > .close {
    position: sticky;
    top: 0;
    right: 0;
    z-index: 6;
    float: right;
    width: 44px;
    height: 44px;
    margin: -3px 0 5px 10px;
    background: #e4ead9;
  }
  #navigation-dialog .navigation-close { width: 44px; height: 44px; }
  #navigation-dialog .navigation-links a { min-height: 50px; }
  #navigation-dialog .navigation-rules { min-height: 44px; }
  .entry-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .entry-dialog .modal-intro { font-size: 14px; line-height: 1.55; }
  .entry-dialog form label { font-size: 14px; }
  .entry-dialog .field-hint, .entry-dialog .entry-consent > span { font-size: 12px; }
  .entry-dialog .entry-consent { min-height: 44px; }
  .entry-dialog .entry-consent > input { width: 21px; height: 21px; }
  #entry-submit { min-height: 49px; font-size: 15px; }
  #entry-success .button { max-width: 100%; white-space: normal; min-height: 44px; }
  #rules-dialog > p:not(.eyebrow) { font-size: 14px; line-height: 1.65; }
  .photo-dialog {
    max-height: calc(100vh - var(--device-top) - var(--device-bottom) - 18px);
    max-height: calc(100dvh - var(--device-top) - var(--device-bottom) - 18px);
  }
  .photo-dialog > .close, .lightbox-controls button { width: 44px; height: 44px; }
}
@media (hover: none) {
  .button:hover, .how .step:hover, .guest-gallery .gallery-card:hover { transform: none; }
  .album-cover-image:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The shared finish: brand palette, quiet surfaces and deliberate motion. */
:root {
  --brand-green: #254c35;
  --brand-deep: #14392c;
  --brand-orange: #f47800;
  --brand-red: #ff4523;
  --brand-paper: #faf6ec;
  --brand-ink: #183b2b;
  --green: var(--brand-green);
  --deep: var(--brand-deep);
  --orange: var(--brand-orange);
  --cream: var(--brand-paper);
  --ink: var(--brand-ink);
  --muted: #526450;
  --album-paper: var(--brand-paper);
  --album-ink: var(--brand-ink);
  --album-heading: clamp(38px, 4.7vw, 68px);
}
body { background: var(--brand-paper); }
::selection { color: var(--brand-paper); background: var(--brand-green); }
h1, h2, h3 { text-wrap: balance; }
button, a, summary { touch-action: manipulation; }
input, textarea, select { color-scheme: light; }
.button.orange {
  background: var(--brand-orange);
  color: #102d20;
  border: 1px solid #ffb56866;
  box-shadow: inset 0 1px 0 #ffd7ab66, 0 4px 12px #142d2010;
}
.button.orange:hover { background: #ff9229; }
.button.green { background: var(--brand-green); }
.button { transition: background .2s, box-shadow .2s, transform .2s; }
.button:active { transform: scale(.98); }
.button:disabled { transform: none; cursor: progress; }
.button:focus-visible { outline: 3px solid #567943; outline-offset: 4px; }
.hero .button:focus-visible, .postcard-studio .button:focus-visible { outline-color: #fff4d7; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 12px; padding: 14px 20px; border-radius: 12px; background: #fff8e8; color: #183b2b; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.hero::before {
  background: radial-gradient(ellipse at 78% 50%, #3b6248 0%, transparent 52%), linear-gradient(130deg, #153b2a, #254c35);
}
.hero .eyebrow-dot { background: var(--brand-red); animation: none; box-shadow: none; }
.hero h1 em { background: none; -webkit-text-fill-color: currentColor; color: #ff9b3e; }
.hero .hero-desc { color: #d5e1d1; }
.hero .hero-hand { transform: rotate(-2deg); }
.hero #snow-canvas { opacity: .5; }
.album-cover { border-radius: 26px; padding: 8px 8px 0; box-shadow: 0 30px 70px #0b211b55; }
.album-cover-image { border-radius: 18px; }
.album-cover figcaption { min-height: 47px; padding-inline: 9px; }
.album-inset { width: 27%; left: -16px; }
.section-top .eyebrow { color: #54654b; }
.map-section .section-top .eyebrow { color: #d9e5cf; }
.how .steps { margin-top: 30px; }
.how .step { box-shadow: none; }
.how .step:nth-child(2) { background: #edf0e3; }
.how .step:nth-child(3) { background: var(--brand-green); }
.how .step-final p { color: #dce5d2; }
.how .instruction-visual .art-pin { fill: var(--brand-orange); stroke: #a54e00; }
.how .instruction-visual .art-star { stroke: var(--brand-red); }
.how .step-final .art-check { stroke: #153821; }
.nomination-browse { display: none; }
.nomination-showcase { position: relative; }
.nomination-tabs { border: 0; background: #e9eddf; padding: 6px; border-radius: 18px; }
.nomination-tab { min-height: 68px; border-radius: 13px; font-size: clamp(12px, 1.1vw, 15px); }
.nomination-tab[aria-selected="true"] { background: var(--brand-green); box-shadow: 0 4px 12px #1e45251a; }
.nomination-panel { border-color: #d8dfcd; border-radius: 24px; background: #fffcf5; }
.nomination-image-label { background: #183c2eed; font-size: 11px; }
.nomination-brief { min-height: 335px; gap: 16px; }
.nomination-brief h3 { letter-spacing: -.055em; }
.nomination-brief > p:not(.nomination-theme) { max-width: 37ch; font-size: 15px; line-height: 1.65; }
.nomination-brief .nomination-theme { color: #94501d; font-size: 10px; }
.nomination-brief .nomination-join { min-height: 48px; margin-top: 4px; font-size: 14px; }
.map-section { background: linear-gradient(135deg, #254c35, #14392c); }
.map-canvas { background: #14392c; border-color: #71916a66; }
.map-card { border: 1px solid #dce1cf; box-shadow: none; }
.map-card-body .map-sample { color: #54634b; }
.region-tabs button { transition: color .18s, background .18s, border-color .18s; }
.region-tabs button.selected { color: #183b2b; background: #f5ebc9; border-color: #f5ebc9; }
.city-search input::placeholder { color: #c1d0b9; opacity: 1; }
#reset-map { color: #d6e2ce; }
.guest-gallery .gallery-note { color: #56634e; }
.postcard-studio { background: radial-gradient(ellipse at 80% 45%, #3c6245, #254c35 60%, #173d2c); }
.studio-card { max-width: 100%; }
.studio-city-tag { overflow-wrap: anywhere; }
.studio-copy input { color: #1a3c2c; border-color: #aaba9b; }
.studio-copy .studio-label { font-size: 13px; }
.studio-note { color: #d6e0cd; }
.faq summary { gap: 20px; line-height: 1.45; }
.faq summary span { flex: none; color: #7a512a; }
.last-call { background: radial-gradient(ellipse at 50% 100%, #3b6445, #254c35 65%); }
.last-call > span { animation: none; }

/* A short, progressive application with the complete form as the fallback. */
.entry-dialog { width: min(660px, calc(100% - 32px)); padding: 30px; }
.entry-dialog .close { width: 44px; height: 44px; border-radius: 50%; background: #e8eddf; }
.entry-dialog #entry-title { font-size: clamp(33px, 4vw, 45px); line-height: 1.03; margin: 18px 0 12px; }
.entry-dialog .modal-intro { font-size: 14px; line-height: 1.6; color: #53654b; margin: 0 0 23px; }
.entry-dialog #entry-title em, #entry-success-title em { color: #a34d10; }
.entry-step { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.entry-step legend { width: 100%; padding: 0; font-size: 18px; font-weight: 750; letter-spacing: -.5px; margin-bottom: 18px; color: #21432e; }
.entry-step legend:focus { outline: none; }
.entry-stepper { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; padding: 5px; margin: 0; list-style: none; background: #e9eddf; border-radius: 14px; }
.entry-stepper button { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; background: transparent; color: #52634a; border-radius: 10px; }
.entry-stepper button span { font-size: 10px; font-variant-numeric: tabular-nums; }
.entry-stepper button[aria-current] { color: #fff5e5; background: #254c35; }
.entry-stepper button.is-past { color: #254c35; }
.entry-dialog form label { font-size: 13px; margin-top: 17px; }
.entry-dialog form input:not([type=checkbox]):not([type=file]), .entry-dialog textarea, .entry-dialog select { min-height: 50px; padding: 13px; font-size: 16px; background: #fffcf6; border: 1px solid #bdcbb3; border-radius: 12px; }
.entry-dialog input::placeholder, .entry-dialog textarea::placeholder { color: #637258; opacity: 1; }
.entry-dialog input:focus, .entry-dialog textarea:focus, .entry-dialog select:focus { outline: 2px solid #567943; outline-offset: 2px; }
.entry-dialog .field-hint { font-size: 12px; color: #58694f; line-height: 1.55; }
.entry-upload { min-height: 136px; background: #edf0e5; margin-bottom: 15px; border-color: #8ca17e; }
.entry-upload .upload-empty { min-height: 136px; padding: 17px; gap: 8px; }
.entry-upload .upload-empty strong { font-size: 14px; }
.entry-upload .upload-empty span { font-size: 12px; color: #526348; }
.entry-review { position: relative; display: grid; gap: 6px; margin-top: 20px; border: 1px solid #d5decb; background: #edf0e4; border-radius: 13px; padding: 15px 80px 15px 15px; }
.entry-review > span { font-size: 11px; color: #52634c; }
.entry-review strong { font-size: 14px; }
.entry-review p { font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.entry-review button { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); min-height: 44px; padding: 8px; background: none; text-decoration: underline; text-underline-offset: 3px; font-size: 11px; color: #254c35; }
.entry-dialog .entry-consent > span { font-size: 12px; color: #4a5e42; }
.entry-dialog .entry-consent > input { width: 22px; height: 22px; margin-top: 2px; }
.entry-flow-actions { display: flex; gap: 10px; align-items: center; margin-top: 24px; }
.entry-flow-actions > .button { flex: 1; width: auto; min-width: 0; min-height: 50px; font-size: 14px; }
.entry-back { background: #edf0e4; border: 1px solid #c9d5bf; border-radius: 100px; min-height: 50px; padding: 0 22px; font-size: 14px; color: #254c35; }
.entry-error { font-size: 14px; margin-top: 20px; }
.entry-dialog .form-note { color: #52664b; font-size: 12px; }
.entry-dialog #entry-success > p:not(.eyebrow) { color: #4f6347; font-size: 14px; }
#entry-success .vk-next-actions { display: grid; gap: 10px; margin-top: 20px; }
#entry-success .vk-next-actions .button { margin: 0; width: 100%; min-height: 50px; white-space: normal; }
#entry-success #entry-again { background: transparent; color: #254c35; border: 1px solid #b9c9aa; min-height: 46px; font-size: 13px; }

@media (max-width: 760px) {
  .header .brand { font-size: 17px; gap: 9px; }
  .header .brand-symbol { width: 40px; height: 34px; }
  .header .header-join { font-size: 12px; padding-left: 13px; }
  .hero { padding-top: 18px; gap: 24px; }
  .hero h1 { font-size: clamp(38px, 11.6vw, 70px); letter-spacing: -.065em; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .09em; }
  .hero .hero-desc { font-size: 15px; max-width: 38ch; }
  .hero .hero-actions { width: 100%; }
  .hero .hero-actions .button { font-size: 14px; }
  .album-cover { border-radius: 20px; padding: 6px 6px 0; width: calc(100% - 4px); margin-left: 4px; }
  .album-cover-image { border-radius: 15px; height: clamp(210px, 61vw, 330px); }
  .album-cover figcaption { min-height: 42px; font-size: 12px; }
  .album-inset { width: 25%; bottom: 55px; left: -8px; padding: 4px 4px 8px; }
  .how .steps { gap: 10px; margin-top: 22px; }
  .how .step { grid-template-columns: 43px minmax(0,1fr); gap: 0 12px; padding: 20px 17px; min-height: 0; }
  .how .step .step-top { grid-column: 1; grid-row: 1; margin: 0; }
  .how .step .step-number { font-size: 21px; margin-top: 2px; color: #7f4a20; }
  .how .step-final .step-number { color: #ffb25f; }
  .how .step-kicker, .how .instruction-visual { display: none; }
  .how .step-copy { grid-column: 2; grid-row: 1; margin: 0; }
  .how .step h3 { font-size: 20px; letter-spacing: -.6px; margin-bottom: 8px; line-height: 1.18; text-wrap: pretty; }
  .how .step p { font-size: 14px; line-height: 1.6; }
  .how .step-action { grid-column: 2; grid-row: 2; margin-top: 14px; padding-top: 12px; }
  .nomination-intro { max-width: 34ch; margin-top: 14px; font-size: 15px; }
  .nomination-browse { display: flex; justify-content: space-between; font-size: 12px; color: #52654a; margin-bottom: 1px; }
  .nomination-browse span { font-size: 18px; line-height: 1; }
  .nomination-picker { display: none; }
  .nomination-tabs { position: relative; display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; gap: 7px; padding: 5px; scrollbar-width: none; border-radius: 16px; }
  .nomination-tabs::-webkit-scrollbar { display: none; }
  .nomination-tab { display: grid; grid-template-columns: 1fr; align-content: center; gap: 4px; flex: 0 0 43%; min-height: 78px; font-size: 13px; padding: 10px 12px; scroll-snap-align: start; }
  .nomination-tab:last-child { margin-right: 0; }
  .nomination-number { font-size: 10px; }
  .nomination-panel { border-radius: 19px; }
  .nomination-image { height: clamp(190px, 56vw, 320px); }
  .nomination-brief { min-height: 240px; padding: 20px 17px; gap: 12px; }
  .nomination-brief h3 { font-size: clamp(25px, 6.7vw, 37px); }
  .nomination-brief > p:not(.nomination-theme) { font-size: 14px; line-height: 1.6; max-width: none; }
  .nomination-brief .nomination-join { margin-top: auto; min-height: 48px; }
  .map-tour-bar { flex-wrap: wrap; gap: 4px; padding-block: 7px; }
  .map-tour-bar > span { flex-basis: 100%; }
  .region-tabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; padding: 6px 2px 8px; scrollbar-width: none; }
  .region-tabs::-webkit-scrollbar { display: none; }
  .region-tabs button { flex: none; white-space: nowrap; min-height: 44px; padding-inline: 14px; }
  .map-coverage { margin-top: 10px; }
  .map-coverage p { font-size: 12px; }
  .map-card { padding: 7px; }
  .map-card > .scene { height: clamp(170px, 48vw, 280px); }
  .map-card .map-card-body { padding: 17px 10px 10px; }
  .map-card .city-all-photos, .map-card .map-card-join { min-height: 44px; }
  .map-city-directory summary { min-height: 48px; font-size: 14px; }
  .guest-gallery .gallery-grid { gap: 10px; }
  .guest-gallery .gallery-card h3 { font-size: 16px; line-height: 1.22; }
  .guest-gallery .gallery-card span:not(.photo-expand):not(.gallery-handwritten) { font-size: 10px; line-height: 1.4; }
  .studio-layout { display: flex; flex-direction: column; gap: 20px; }
  .studio-copy { width: 100%; max-width: none; }
  .studio-copy h2 { font-size: clamp(36px, 9.6vw, 58px); }
  .studio-art { min-height: 0; padding: 14px 10px 8px; margin-block: 16px; }
  .studio-art::before, .studio-hand, .studio-spark { display: none; }
  .studio-card, .studio-card:hover { width: min(100%, 330px); transform: none; padding: 12px; }
  .studio-card-photo { height: 210px; }
  .studio-greeting { font-size: 27px; min-height: 64px; padding-block: 15px 12px; }
  .studio-card-top, .studio-card-year { font-size: 9px; }
  .studio-city-tag { font-size: 12px; }
  .studio-card-footer, .studio-card-footer > span:last-child { font-size: 10px; }
  .studio-copy .studio-label { font-size: 14px; }
  .studio-copy .studio-desc { font-size: 15px; }
  .studio-copy > #download-postcard { width: 100%; min-height: 52px; }
  .faq summary { font-size: 15px; min-height: 58px; }
  .last-call .button { min-height: 52px; font-size: 14px; }
  .mobile-actions { border-radius: 20px 20px 0 0; background: #faf6ecf5; box-shadow: 0 -6px 26px #142d2112; }
  @supports (backdrop-filter: blur(12px)) { .mobile-actions { background: #faf6eceb; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
  #toast { bottom: calc(88px + var(--device-bottom)); max-width: calc(100% - 30px); font-size: 13px; }
  #join-dialog { padding-top: 16px; padding-bottom: calc(22px + var(--device-bottom)); }
  .entry-dialog #entry-title { font-size: 34px; margin-top: 16px; }
  .entry-dialog .modal-intro { font-size: 14px; margin-bottom: 20px; }
  .entry-step { margin-top: 22px; }
  .entry-step legend { font-size: 18px; margin-bottom: 7px; }
  .entry-dialog form label { font-size: 14px; }
  .entry-stepper button { min-height: 44px; font-size: 13px; }
  .entry-fields { gap: 0; }
  .entry-flow-actions { margin-top: 23px; }
  .entry-flow-actions > .button { min-height: 52px; font-size: 15px; padding-inline: 16px; }
  .entry-dialog #entry-success h2 { font-size: 36px; }
  #entry-success .entry-success-icon { width: 54px; height: 54px; margin-bottom: 20px; }
}
@media (min-width: 641px) and (max-width: 760px) {
  .how .step { display: grid; }
  .how .steps { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 359px) {
  .header .header-join > span { display: none; }
  .header .header-join { padding-inline: 12px; }
  .header .brand { font-size: 15px; }
  .hero .hero-actions .button { font-size: 13px; gap: 5px; }
  .nomination-tab { flex-basis: 48%; }
  .entry-stepper button { gap: 5px; }
}
@media (prefers-reduced-motion: no-preference) {
  #join-dialog[open], #rules-dialog[open], #city-gallery-dialog[open] { animation: sheet-arrive .28s cubic-bezier(.2,.7,.3,1); }
  .mobile-actions:not([hidden]) { animation: action-arrive .25s ease-out; }
  @keyframes sheet-arrive { from { opacity: .5; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
  @keyframes action-arrive { from { opacity: .5; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .button:active { transform: none; }
}


/* Short titles stay together at normal viewing sizes, and can reflow at text zoom. */
main h2.compact-title {
  max-width: none;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: pretty;
}
main h2.compact-title em { display: inline; }
.studio-copy h2.compact-title,
.faq h2.compact-title { font-size: clamp(30px, 3vw, 43px); }
.entry-dialog #entry-title,
.entry-dialog #entry-success-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.045em;
  text-wrap: pretty;
}
.entry-dialog #entry-title em,
.entry-dialog #entry-success-title em { display: inline; }
.studio-card-footer { gap: 16px; }
.studio-card-footer .postcard-brand { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 760px) {
  main h2.compact-title { font-size: clamp(26px, 7.2vw, 38px); }
  .last-call h2.compact-title { font-size: clamp(24px, 6.4vw, 36px); }
  .entry-dialog #entry-title,
  .entry-dialog #entry-success-title { font-size: clamp(27px, 7.6vw, 36px); }
}
