@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("./fonts/manrope-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("./fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("./fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("./fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("./fonts/pt-serif-regular-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("./fonts/pt-serif-regular-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("./fonts/pt-serif-regular-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("./fonts/pt-serif-regular-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("./fonts/pt-serif-bold-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("./fonts/pt-serif-bold-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("./fonts/pt-serif-bold-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("./fonts/pt-serif-bold-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --green: #00583e; --green-2: #007453; --teal: #207d87; --blue: #163f8d; --gold: #c09a42; --ink: #0d332d; --text: #192823; --muted: #62736d; --line: #dfe7e4; --wash: #f5f8f7; --white: #fff; --shadow: 0 18px 48px rgba(15, 40, 35, 0.12); --soft-shadow: 0 8px 28px rgba(15, 40, 35, 0.08); --radius: 14px; --serif: "PT Serif", Georgia, "Times New Roman", serif; --sans: "Manrope", "Segoe UI", Arial, sans-serif; }
* { box-sizing: border-box; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
html { min-height: 100%; background: rgb(247, 248, 247); }
body { min-height: 100%; margin: 0px; color: var(--text); background: radial-gradient(circle at 13% 18%, rgba(0, 88, 62, 0.043), transparent 22rem), radial-gradient(circle at 88% 14%, rgba(22, 63, 141, 0.043), transparent 26rem), rgb(247, 248, 247); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img, video { max-width: 100%; }
.template-body { padding: 18px; }
.template-card { position: relative; width: min(100%, 1460px); min-height: calc(-36px + 100vh); margin: 0px auto; overflow: hidden; border: 1px solid rgba(223, 231, 228, 0.92); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.template-header, .screen-head { position: relative; z-index: 3; display: grid; align-items: start; }
.template-header { grid-template-columns: 220px 1fr; padding: 30px 42px 0px; }
.template-logo img, .screen-logo img { display: block; width: 175px; height: auto; }
.template-lang { justify-self: end; display: flex; gap: 24px; align-items: center; }
.lang-btn { min-width: 40px; height: 36px; border-width: 0px 0px 2px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: initial; color: var(--teal); background: transparent; font-size: 14px; font-weight: 800; }
.lang-btn.is-active { color: var(--green); border-color: var(--gold); }
.template-hero { position: relative; display: grid; grid-template-columns: 0.95fr 1.22fr; min-height: 430px; padding: 20px 0px 0px 42px; }
.template-hero-copy { position: relative; z-index: 2; align-self: center; max-width: 540px; padding-bottom: 20px; }
.template-hero h1 { margin: 0px 0px 28px; color: var(--green); font-family: var(--serif); font-size: clamp(48px, 5.4vw, 72px); font-weight: 500; line-height: 0.94; letter-spacing: 0px; }
.template-hero p { max-width: 440px; margin: 0px; color: rgb(36, 53, 47); font-size: 17px; line-height: 1.6; }
.years-line { display: grid; gap: 14px; width: 170px; margin-top: 38px; }
.years-line span { position: relative; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(192, 154, 66, 0.15)); }
.years-line span::before, .years-line span::after { position: absolute; top: -4px; width: 9px; height: 9px; border: 1px solid var(--gold); border-radius: 50%; background: rgb(255, 255, 255); content: ""; }
.years-line span::before { left: 0px; }
.years-line span::after { right: 0px; }
.years-line strong { color: var(--gold); font-family: var(--serif); font-size: 27px; font-weight: 500; }
.template-hero-art { position: relative; min-height: 440px; margin-top: -18px; align-self: stretch; }
.template-hero-art::before { position: absolute; inset: 5% 0px 3% -18%; z-index: 1; background: radial-gradient(circle at 62% 26%, rgba(121, 173, 222, 0.28), transparent 24rem), linear-gradient(90deg, rgba(255, 255, 255, 0), rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 32%), linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 28%); pointer-events: none; content: ""; }
.template-hero-art img { position: absolute; inset: -18px -2px 0px -22%; width: 122%; height: 100%; object-fit: cover; object-position: center center; mask-image: linear-gradient(90deg, transparent 0%, rgb(0, 0, 0) 15%, rgb(0, 0, 0) 100%), linear-gradient(0deg, transparent 0%, rgb(0, 0, 0) 20%, rgb(0, 0, 0) 100%); mask-composite: intersect; }
.home-routes { position: relative; z-index: 4; padding: 0px 42px 44px; }
.home-routes::before { position: absolute; left: 28px; right: 28px; top: 178px; height: 1px; background: linear-gradient(90deg, transparent, rgba(192, 154, 66, 0.7), transparent); content: ""; }
.home-routes h2 { margin: 0px 0px 26px; color: var(--green); font-family: var(--serif); font-size: clamp(28px, 2.2vw, 38px); font-weight: 500; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 32px; }
.route-card { position: relative; display: flex; min-height: 255px; flex-direction: column; align-items: center; justify-content: center; padding: 34px 30px 28px; overflow: hidden; border-radius: 12px; color: rgb(255, 255, 255); text-align: center; box-shadow: rgba(10, 54, 48, 0.16) 0px 20px 40px; isolation: isolate; transition: transform 180ms, box-shadow 180ms; }
.route-card::after { position: absolute; inset: 0px; z-index: -1; background: radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.16), transparent 16rem), linear-gradient(145deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.12)); content: ""; }
.route-card:hover { transform: translateY(-4px); box-shadow: rgba(10, 54, 48, 0.2) 0px 28px 54px; }
.route-green { background: linear-gradient(140deg, rgb(0, 99, 69), rgb(0, 73, 52)); }
.route-teal { background: linear-gradient(140deg, rgb(38, 138, 148), rgb(23, 111, 121)); }
.route-blue { background: linear-gradient(140deg, rgb(26, 84, 171), rgb(18, 59, 131)); }
.route-card h3 { margin: 24px 0px 12px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.route-card p { max-width: 250px; margin: 0px; font-size: 15px; line-height: 1.55; }
.route-icon { display: grid; width: 72px; height: 72px; place-items: center; color: rgb(223, 195, 107); }
.route-icon .icon { width: 66px; height: 66px; }
.route-arrow { display: grid; width: 46px; height: 46px; place-items: center; margin-top: 26px; border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 50%; }
.route-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.template-footer { display: grid; grid-template-columns: 200px 1fr repeat(3, auto); gap: 34px; align-items: center; min-height: 116px; padding: 24px 42px 30px; border-top: 1px solid var(--line); }
.footer-building { width: 200px; height: 116px; align-self: end; object-fit: contain; object-position: left bottom; opacity: 0.95; }
.template-footer p { margin: 0px; color: var(--green); font-size: 14px; line-height: 1.5; }
.footer-stat { display: grid; grid-template-columns: 26px auto; column-gap: 12px; align-items: center; color: var(--green); }
.footer-stat .icon { grid-row: 1 / 3; color: var(--teal); }
.footer-stat strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.footer-stat small { color: var(--muted); font-size: 13px; }
.screen-head { grid-template-columns: auto 1fr auto; gap: 26px; padding: 30px 42px 22px; }
.screen-logo img { width: 128px; }
.screen-head h1 { margin: 0px; color: var(--green); font-family: var(--serif); font-size: clamp(34px, 3.8vw, 52px); font-weight: 500; line-height: 1; }
.screen-head p { max-width: 460px; margin: 12px 0px 0px; color: rgb(41, 58, 52); font-size: 16px; line-height: 1.45; }
.screen-head .program-update-note {
  max-width: 610px;
  margin-top: 9px;
  padding-left: 13px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.screen-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.primary-action, .light-action, .submit-btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; border-radius: 7px; font-size: 14px; font-weight: 800; }
.primary-action, .submit-btn { border: 1px solid var(--green); color: rgb(255, 255, 255); background: linear-gradient(135deg, var(--green), var(--green-2)); box-shadow: rgba(0, 88, 62, 0.18) 0px 12px 20px; }
.primary-action.compact { padding: 0px 22px; }
.light-action { padding: 0px 18px; border: 1px solid rgb(203, 216, 212); color: var(--green); background: rgb(255, 255, 255); }
.light-action.is-active { border-color: var(--green); box-shadow: rgba(0, 88, 62, 0.12) 0px 0px 0px 1px inset; }
.program-layout { display: grid; grid-template-columns: minmax(0px, 1fr) 345px; gap: 26px; padding: 24px 42px 42px; }
.program-main { min-width: 0px; }
.date-tabs, .tag-cloud { display: flex; flex-wrap: wrap; gap: 14px; }
.day-theme-panel {
  --theme-color: #00664a;
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  margin: 18px 0 22px;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--theme-color) 20%, white);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--theme-color) 12%, transparent), transparent 180px),
    linear-gradient(135deg, #fff, color-mix(in srgb, var(--theme-color) 5%, white));
  box-shadow: 0 16px 38px rgba(22, 57, 47, .08);
}
.day-theme-panel::after {
  position: absolute;
  right: -44px;
  bottom: -72px;
  width: 180px;
  height: 180px;
  border: 1px solid color-mix(in srgb, var(--theme-color) 17%, transparent);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}
.theme-all { --theme-color: #00664a; }
.theme-heritage { --theme-color: #9a7428; }
.theme-partners { --theme-color: #176f83; }
.theme-student { --theme-color: #6d49ae; }
.theme-science { --theme-color: #1a6994; }
.theme-culture { --theme-color: #a34d78; }
.theme-alumni { --theme-color: #8a5f35; }
.theme-future { --theme-color: #08755c; }
.day-theme-date {
  min-height: 108px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 14px 8px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--theme-color), color-mix(in srgb, var(--theme-color) 75%, #132d26));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--theme-color) 24%, transparent);
}
.day-theme-date strong {
  font: 500 39px/1 var(--serif);
  letter-spacing: -.035em;
}
.day-theme-date span {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .82;
}
.day-theme-copy { position: relative; z-index: 1; min-width: 0; }
.day-theme-eyebrow {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 6px;
  color: var(--theme-color);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.day-theme-eyebrow .icon { width: 15px; height: 15px; flex-basis: 15px; }
.day-theme-copy h2 {
  margin: 0;
  color: var(--green);
  font: 500 clamp(25px, 2.4vw, 34px)/1.08 var(--serif);
  letter-spacing: -.02em;
}
.day-theme-motto {
  display: block;
  margin-top: 7px;
  color: var(--theme-color);
  font-size: 14px;
  line-height: 1.35;
}
.day-theme-copy > p:last-child {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.day-theme-count {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border: 1px solid color-mix(in srgb, var(--theme-color) 17%, white);
  border-radius: 13px;
  color: var(--theme-color);
  background: rgba(255,255,255,.76);
  text-align: center;
}
.day-theme-count b { font: 500 30px/1 var(--serif); }
.day-theme-count span { font-size: 11px; font-weight: 800; line-height: 1.25; }
.event-official-link { color: var(--green); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.day-tab, .tag-chip { display: grid; place-items: center; min-width: 88px; min-height: 78px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: rgb(255, 255, 255); box-shadow: var(--soft-shadow); font-size: 13px; font-weight: 700; }
.day-tab strong { color: inherit; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1; }
.day-tab span, .day-tab small { display: block; line-height: 1.1; }
.day-tab span { font-size: 11px; }
.day-tab small { font-size: 12px; }
.day-tab.is-active, .tag-chip.is-active { color: rgb(255, 255, 255); border-color: var(--green); background: linear-gradient(145deg, var(--green), #006e50); }
.compact-tags { margin: 12px 0px 16px; }
.compact-tags .tag-chip { min-width: 0px; min-height: 34px; padding: 0px 12px; border-radius: 999px; font-size: 12px; box-shadow: none; }
.program-search { max-width: 420px; margin-top: 16px; }
.search-box { display: grid; gap: 7px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.search-box input, .quick-greeting input, .join-form input, .join-form select { width: 100%; min-height: 45px; padding: 0px 14px; border: 1px solid rgb(207, 218, 215); border-radius: 8px; color: var(--text); background: rgb(255, 255, 255); }
.timeline-board { position: relative; margin-top: 14px; padding-left: 0; }
.timeline-board::before { display: none; }
.event-canvas { display: grid; gap: 14px; }
.planner-card { position: relative; display: grid; grid-template-columns: 1fr 44px; min-height: 70px; align-items: center; border: 1px solid rgb(225, 232, 230); border-radius: 9px; background: rgb(255, 255, 255); box-shadow: rgba(15, 40, 35, 0.05) 0px 8px 20px; transition: border-color 160ms, box-shadow 160ms, transform 160ms; }
.planner-card::before { display: none; }
.planner-card.is-selected { border-color: var(--green); box-shadow: rgba(0, 88, 62, 0.12) 0px 10px 28px; transform: translateX(2px); }
.planner-main { display: grid; grid-template-columns: 44px minmax(0px, 1fr); gap: 16px; align-items: center; width: 100%; min-height: 70px; padding: 10px 16px; border: 0px; background: transparent; text-align: left; }
.event-tag { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: rgb(255, 255, 255); background: var(--tile, #155eab); box-shadow: 0 6px 14px color-mix(in srgb, var(--tile, #155eab) 32%, transparent); }
.event-tag .icon { width: 20px; height: 20px; flex: 0 0 20px; }
.planner-main strong { grid-column: 2; color: rgb(27, 44, 39); font-size: 15px; line-height: 1.25; }
.planner-main small { grid-column: 2; margin-top: -8px; color: var(--muted); font-size: 12px; }
.save-event { display: grid; width: 34px; height: 34px; place-items: center; margin-right: 10px; border: 0px; color: rgb(154, 172, 166); background: transparent; }
.save-event .icon { width: 19px; height: 19px; flex: 0 0 19px; }
.save-event.is-saved { color: var(--gold); }
.save-event.is-saved .icon-svg { fill: currentcolor; }
.program-detail, .video-dock, .world-map-panel { border: 1px solid rgb(225, 232, 230); border-radius: 12px; background: rgb(255, 255, 255); box-shadow: var(--soft-shadow); }
.program-detail { display: grid; min-width: 0; max-width: 100%; align-content: start; gap: 18px; min-height: 500px; padding: 28px; overflow: hidden; }
.form-label { margin: 0px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.02em; }
.program-detail h2, .greeting-meta h2 { max-width: 100%; margin: 0px; color: var(--ink); font-family: var(--serif); font-size: clamp(25px, 1.65vw, 32px); font-weight: 500; line-height: 1.14; overflow-wrap: anywhere; word-break: normal; hyphens: auto; text-wrap: pretty; }
.event-facts { display: grid; gap: 12px; color: rgb(38, 59, 53); font-size: 14px; }
.event-facts span { display: flex; gap: 10px; align-items: center; }
.program-detail p, .greeting-meta p { min-width: 0; max-width: 100%; color: rgb(83, 100, 95); line-height: 1.55; overflow-wrap: anywhere; word-break: normal; text-wrap: pretty; }
.cinema-layout { display: grid; grid-template-columns: minmax(0px, 1fr) 410px; gap: 24px; padding: 10px 42px 24px; }
.cinema-actions .primary-action { display: none; }
.world-map-panel { min-height: 520px; padding: 18px; box-shadow: none; }
.map-toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.map-toolbar > div { display: flex; gap: 6px; align-items: baseline; color: var(--muted); }
.map-toolbar strong { color: var(--green); font-family: var(--serif); font-size: 34px; font-weight: 500; }
.compact-search { min-width: 240px; }
.world-map { position: relative; width: 100%; aspect-ratio: 1000 / 500; overflow: hidden; border-radius: 12px; border: 1px solid rgb(227, 238, 234); background: radial-gradient(circle at 50% 44%, rgb(241, 247, 247), transparent 62%), linear-gradient(rgb(238, 245, 246), rgb(233, 241, 241)); }
.world-map::before { display: none; }
.world-map-shape { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.world-map-shape path { fill: rgb(200, 219, 210); stroke: none; }
.map-empty-note { position: absolute; z-index: 2; left: 50%; bottom: 24px; width: max-content; max-width: calc(100% - 32px); padding: 9px 14px; transform: translateX(-50%); border: 1px solid rgba(0, 88, 62, 0.12); border-radius: 999px; color: var(--green); background: rgba(255, 255, 255, 0.9); box-shadow: rgba(15, 40, 35, 0.08) 0px 8px 20px; font-size: 12px; font-weight: 750; text-align: center; }
.map-marker { position: absolute; z-index: 2; width: 40px; height: 40px; display: grid; padding: 0px; place-items: center; transform: translate(-50%, -50%); border: 0px; background: transparent; }
.marker-dot { display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; border: 2px solid rgb(255, 255, 255); background: var(--teal); box-shadow: rgba(15, 40, 35, 0.28) 0px 3px 7px; transition: transform 140ms, background 140ms; }
.marker-dot::before { width: 0px; height: 0px; margin-left: 1px; border-top: 3px solid transparent; border-bottom: 3px solid transparent; border-left: 5px solid rgb(255, 255, 255); content: ""; }
.map-marker:hover .marker-dot { transform: scale(1.18); background: var(--green); }
.marker-label { position: absolute; left: 50%; bottom: calc(50% + 16px); transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; color: rgb(255, 255, 255); background: var(--green); box-shadow: rgba(15, 40, 35, 0.22) 0px 6px 14px; font-size: 11px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 140ms; }
.map-marker:hover .marker-label, .map-marker.is-active .marker-label { opacity: 1; }
.map-marker.is-active { z-index: 3; }
.map-marker.is-active .marker-dot { width: 22px; height: 22px; background: var(--green); box-shadow: rgba(0, 88, 62, 0.14) 0px 0px 0px 6px, rgba(15, 40, 35, 0.28) 0px 8px 18px; }
.map-marker.is-active .marker-dot::before { border-top-width: 4px; border-bottom-width: 4px; border-left-width: 7px; }
.world-map-scroll { overflow: hidden; border-radius: 12px; }
.map-mobile-hint, .map-city-list { display: none; }
.video-dock { overflow: hidden; }
.cinema-empty { position: relative; min-height: 100%; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 42px 30px; overflow: hidden; text-align: center; background: radial-gradient(circle at 78% 16%, rgba(197, 168, 102, 0.16), transparent 13rem), linear-gradient(145deg, #f8fbfa, #eef6f3); }
.cinema-empty::before { position: absolute; right: -76px; bottom: -112px; width: 250px; height: 250px; border: 1px solid rgba(0, 88, 62, 0.09); border-radius: 50%; content: ""; }
.cinema-empty[hidden] { display: none; }
.cinema-empty > .icon { position: relative; z-index: 1; width: 54px; height: 54px; padding: 15px; border-radius: 50%; color: #fff; background: var(--green); box-shadow: rgba(0, 88, 62, 0.18) 0px 12px 28px; }
.cinema-empty h2 { position: relative; z-index: 1; max-width: 290px; margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(26px, 2.2vw, 34px); font-weight: 500; line-height: 1.14; }
.cinema-empty p { position: relative; z-index: 1; max-width: 300px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.video-card { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: rgb(10, 18, 16); }
.video-card[hidden] { display: none; }
.video-viewport { min-height: 0; display: grid; place-items: center; overflow: hidden; background: rgb(10, 18, 16); }
.video-card video { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; background: rgb(10, 18, 16); cursor: pointer; }
.player-controls { display: grid; grid-template-columns: 42px minmax(0, 1fr) 96px 42px 110px; gap: 10px; align-items: center; padding: 10px 14px; color: rgb(255, 255, 255); background: rgb(13, 26, 22); }
.player-controls button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; color: rgb(255, 255, 255); background: rgba(255, 255, 255, 0.08); cursor: pointer; }
.player-controls #play-toggle { border-color: var(--green); background: var(--green); }
.player-controls input { min-height: auto; padding: 0px; accent-color: var(--gold); }
.player-controls .volume-control { width: 100%; }
.greeting-meta { display: grid; gap: 10px; padding: 22px; }
.greeting-meta strong { color: var(--green); }
.greeting-location { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: baseline; }
.greeting-location strong { font-size: 14px; }
.greeting-location span { color: var(--muted); font-size: 14px; }
.greeting-meta .greeting-person { font-size: clamp(24px, 2vw, 34px); }
.greeting-meta .greeting-role { margin: 2px 0 0; color: var(--ink); font-weight: 750; }
.greeting-meta .greeting-unit { margin: -4px 0 0; color: var(--muted); font-size: 13px; }
.open-greeting-video { display: grid; width: 100%; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 10px; padding: 15px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; box-shadow: none; font: inherit; text-align: left; cursor: pointer; transition: color 160ms ease; }
.open-greeting-video:hover { color: var(--green); }
.watch-play { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); box-shadow: rgba(0, 88, 62, 0.16) 0px 8px 20px; transition: transform 160ms ease, background 160ms ease; }
.open-greeting-video:hover .watch-play { background: #007652; transform: scale(1.05); }
.watch-play .icon { width: 18px; height: 18px; transform: translateX(1px); }
.watch-copy { min-width: 0; display: grid; gap: 2px; }
.greeting-meta .watch-copy strong { color: currentColor; font-size: 14px; font-weight: 800; }
.watch-copy small { color: var(--muted); font-size: 11px; font-weight: 650; }
.watch-arrow { color: var(--green); font-size: 21px; transition: transform 160ms ease; }
.open-greeting-video:hover .watch-arrow { transform: translateX(4px); }
.has-greeting-player { overflow: hidden; }
.greeting-player-modal { position: fixed; z-index: 3000; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(4, 13, 11, 0.93); backdrop-filter: blur(16px); }
.greeting-player-modal[hidden] { display: none; }
.greeting-player-dialog { width: min(1180px, 100%); height: calc(100dvh - 32px); display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 22px; background: rgb(10, 18, 16); box-shadow: rgba(0, 0, 0, 0.45) 0px 30px 90px; }
.greeting-player-head { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px 14px 22px; color: #fff; background: linear-gradient(90deg, #10382e, #00583e); }
.greeting-player-head > div { min-width: 0; display: grid; gap: 3px; }
.greeting-player-head small { color: rgba(255, 255, 255, 0.68); font-size: 11px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.greeting-player-head strong { font-family: var(--serif); font-size: clamp(18px, 2vw, 27px); font-weight: 500; line-height: 1.12; overflow-wrap: anywhere; }
.greeting-player-close { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.1); font-size: 28px; font-weight: 300; line-height: 1; cursor: pointer; }
.greeting-player-close:hover { background: rgba(255, 255, 255, 0.2); }
.mini-feed { display: none; }
.cinema-stats { display: grid; grid-template-columns: repeat(3, auto) minmax(320px, 1fr); gap: 28px; align-items: center; margin: 0px 42px 34px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 10px; }
.cinema-stats > div { display: grid; grid-template-columns: 36px auto; column-gap: 12px; align-items: center; }
.cinema-stats .icon { grid-row: 1 / 3; color: var(--green); }
.cinema-stats strong { color: var(--green); font-family: var(--serif); font-size: 26px; font-weight: 500; }
.cinema-stats small { color: var(--muted); font-size: 12px; }
.quick-greeting { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) auto; gap: 10px; }
.quick-greeting .submit-btn { padding: 0px 22px; }
.site-header, .page-shell { width: min(100% - 36px, 1180px); margin: 18px auto; }
.site-header { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 16px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgb(255, 255, 255); box-shadow: var(--soft-shadow); }
.brand img { width: 140px; }
.platform-nav { display: flex; gap: 12px; justify-content: center; }
.platform-nav a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal); font-size: 13px; font-weight: 850; }
.platform-nav a.is-current { color: rgb(255, 255, 255); border-color: var(--green); background: var(--green); }
.header-actions { display: flex; gap: 10px; }
.page-shell { display: grid; gap: 24px; }
.page-hero, .participation-layout, .history-panel, .join-form { border: 1px solid var(--line); border-radius: 14px; background: rgb(255, 255, 255); box-shadow: var(--soft-shadow); }
.page-hero { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 34px; }
.page-hero h1, .join-form h2, .history-panel h2 { margin: 0px; color: var(--green); font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); font-weight: 500; overflow-wrap: break-word; }
.page-hero p, .history-panel p { color: var(--muted); }
.participation-layout { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(320px, 380px); gap: 24px; padding: 24px; align-items: start; }
.participation-layout > * { min-width: 0px; }
.join-form h2 { font-size: clamp(23px, 1.9vw, 30px); line-height: 1.14; overflow-wrap: break-word; hyphens: auto; }
.participation-options { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 16px; }
.option-card { position: relative; min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: rgb(255, 255, 255); text-align: left; box-shadow: var(--soft-shadow); }
.option-card.is-selected { border-color: var(--green); }
.option-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; color: var(--green); background: rgb(238, 246, 243); }
.option-status { position: absolute; top: 22px; right: 22px; width: 14px; height: 14px; border: 1px solid var(--line); border-radius: 50%; }
.option-card.is-selected .option-status { border: 4px solid var(--green); }
.option-card h3 { color: var(--ink); }
.option-card p { color: var(--muted); }
.join-form { display: grid; gap: 14px; padding: 24px; }
.join-form label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 800; }
.check-row { grid-template-columns: 18px 1fr; align-items: start; }
.check-row input { min-height: 18px; }
.ticket-output { display: none; padding: 12px; border-radius: 8px; color: var(--green); background: rgb(237, 248, 244); font-weight: 800; }
.ticket-output.is-visible { display: block; }
.history-panel { padding: 28px; }
.section-title-row { display: flex; gap: 22px; justify-content: space-between; align-items: end; }
.registration-list { display: grid; gap: 12px; margin-top: 18px; }
.registration-item, .empty-state { padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.registration-item { display: grid; grid-template-columns: 160px 200px 1fr; gap: 14px; }
.empty-state { color: var(--muted); background: rgb(255, 255, 255); }
.ghost-link { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); font-weight: 800; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; line-height: 0; }
.icon .icon-svg { width: 100%; height: 100%; display: block; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: rgba(0, 88, 62, 0.16) solid 3px; outline-offset: 2px; }
@media (max-width: 1180px) {
  .template-hero { grid-template-columns: 1fr; padding-right: 42px; }
  .template-hero-art { order: -1; min-height: 390px; }
  .template-hero-art img { inset: 0px; width: 100%; border-radius: 12px; }
  .program-layout, .cinema-layout, .participation-layout { grid-template-columns: 1fr; }
  .cinema-stats, .template-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .template-body { padding: 10px; }
  .template-card { min-height: calc(-20px + 100vh); }
  .template-header, .screen-head, .template-hero, .home-routes, .template-footer, .program-layout, .cinema-layout { padding-left: 18px; padding-right: 18px; }
  .template-header, .screen-head, .site-header, .page-hero { grid-template-columns: 1fr; }
  .template-lang, .screen-actions { justify-self: start; }
  .template-hero h1 { font-size: 50px; }
  .route-grid, .participation-options, .cinema-stats, .template-footer, .quick-greeting { grid-template-columns: 1fr; }
  .route-card { min-height: 220px; }
  .screen-head { gap: 16px; }
  .screen-actions { justify-content: start; }
  .timeline-board { padding-left: 0; }
  .planner-main { grid-template-columns: 40px 1fr; }
  .event-tag { grid-column: 1; }
  .planner-main strong, .planner-main small { grid-column: 2; }
  .world-map { min-height: 0; }
  .world-map-panel { min-height: 0; }
  .cinema-layout, .world-map-panel, .video-dock, .program-main, .program-detail { min-width: 0; }
}
.anniversary-body { min-height: 100vh; padding: 0px; color: rgb(19, 33, 46); background: radial-gradient(circle at 13% 4%, rgba(0, 88, 62, 0.04), transparent 28rem), radial-gradient(circle at 86% 5%, rgba(112, 82, 190, 0.05), transparent 28rem), rgb(255, 255, 255); }
.anniversary-sheet { width: 100%; margin: 0px; overflow: hidden; background: rgb(255, 255, 255); box-shadow: none; }
.jubilee-hero { position: relative; width: min(100% - 88px, 1440px); margin: 0px auto; min-height: 720px; overflow: hidden; background: radial-gradient(circle at 58% 29%, rgba(112, 160, 196, 0.14), transparent 22rem), linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 36%, rgba(255, 255, 255, 0.92) 48%, rgba(255, 255, 255, 0.12) 70%, transparent 100%); }
.jubilee-hero::after, .jubilee-footer::after { position: absolute; pointer-events: none; content: ""; }
.jubilee-hero::after { left: 34%; top: 68px; width: 290px; height: 120px; border-top: 1px solid rgba(192, 154, 66, 0.72); border-radius: 50%; transform: rotate(-8deg); opacity: 0.85; }
.jubilee-topbar { position: relative; z-index: 4; padding: 30px 0px 0px; }
.jubilee-logo { opacity: .82; transition: opacity 160ms ease; }
.jubilee-logo:hover, .jubilee-logo:focus-visible { opacity: 1; }
.jubilee-logo img { display: block; width: 142px; height: auto; }
.hero-copy { position: relative; z-index: 3; width: 490px; padding: 44px 0px 0px; }
.hero-years { display: flex; align-items: baseline; gap: 16px; margin: 0px 0px 4px; color: var(--gold); font-family: var(--serif); line-height: 0.82; }
.hero-years span { font-size: 90px; font-weight: 500; }
.hero-years small { font-size: 33px; font-weight: 500; }
.hero-copy h1 { margin: 0px 0px 54px; color: var(--green); font-family: var(--serif); font-size: 58px; font-weight: 700; line-height: 0.99; letter-spacing: 0px; }
.hero-lead { width: 385px; margin: 0px 0px 54px; color: rgb(22, 42, 37); font-size: 17px; font-weight: 600; line-height: 1.72; }
.hero-image { position: absolute; z-index: 1; inset: 0px; }
.hero-image::before { position: absolute; inset: 0px; z-index: 2; background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 32%, rgba(255, 255, 255, 0.84) 43%, rgba(255, 255, 255, 0.15) 68%, transparent 100%), linear-gradient(transparent 0%, transparent 84%, rgb(255, 255, 255) 98%); content: ""; pointer-events: none; }
.hero-image img { position: absolute; right: -78px; top: 48px; width: min(76vw, 1120px); max-width: none; height: 650px; object-fit: cover; object-position: center center; }
.hero-actions { position: relative; z-index: 5; width: min(-88px + 100vw, 920px); }
.hero-main-action, .hero-secondary-actions a, .circle-arrow, .to-top { display: inline-flex; align-items: center; justify-content: center; }
.hero-main-action { width: 380px; min-height: 68px; padding: 0 18px; gap: 14px; border-radius: 12px; color: rgb(255, 255, 255); background: linear-gradient(145deg, rgb(0, 101, 72), rgb(0, 76, 54)); box-shadow: rgba(0, 88, 62, 0.2) 0px 16px 30px; font-size: 14px; font-weight: 900; line-height: 1.2; letter-spacing: 0.01em; text-align: center; }
.hero-main-action svg { width: 27px; height: 27px; margin-left: auto; fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.action-icon { width: 27px; height: 27px; margin-left: 2px; color: rgb(216, 193, 112); }
.hero-secondary-actions { display: grid; grid-template-columns: 220px 190px 190px 200px; gap: 16px; margin-top: 24px; }
.hero-secondary-actions a { height: 55px; gap: 13px; border: 1px solid rgb(184, 196, 192); border-radius: 8px; color: rgb(24, 52, 46); background: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 900; letter-spacing: 0.01em; backdrop-filter: blur(8px); transition: transform 160ms, border-color 160ms, box-shadow 160ms; }
.hero-secondary-actions a:hover, .participate-tile:hover, .meaning-card:hover { transform: translateY(-4px); }
.hero-secondary-actions a:hover { border-color: var(--green); box-shadow: rgba(10, 54, 48, 0.12) 0px 12px 24px; }
.book-glyph, .gallery-glyph, .auction-glyph { position: relative; display: inline-block; width: 24px; height: 24px; }
.book-glyph::before, .book-glyph::after { position: absolute; top: 4px; width: 10px; height: 16px; border: 1.8px solid; border-radius: 2px 4px 4px 2px; content: ""; }
.book-glyph::before { left: 2px; transform: skewY(-8deg); }
.book-glyph::after { right: 2px; transform: skewY(8deg); }
.gallery-glyph::before { position: absolute; inset: 4px 2px 3px; border: 1.8px solid; border-radius: 2px; content: ""; }
.gallery-glyph::after { position: absolute; left: 8px; top: 1px; width: 8px; height: 4px; border-width: 1.8px 1.8px 0px; border-style: solid solid none; border-color: currentcolor; border-image: initial; border-radius: 2px 2px 0px 0px; content: ""; }
.auction-glyph::before { position: absolute; left: 4px; top: 2px; width: 15px; height: 9px; border: 1.8px solid; border-radius: 2px; transform: rotate(-38deg); content: ""; }
.auction-glyph::after { position: absolute; left: 11px; top: 12px; width: 2px; height: 10px; border-radius: 999px; background: currentcolor; transform: rotate(-38deg); content: ""; }
.ornament-title { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; margin-bottom: 26px; }
.ornament-title span { position: relative; height: 1px; background: linear-gradient(90deg, transparent, rgba(192, 154, 66, 0.82)); }
.ornament-title span:last-child { background: linear-gradient(90deg, rgba(192, 154, 66, 0.82), transparent); }
.ornament-title span::after, .ornament-title span:last-child::before { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); content: ""; }
.ornament-title span::after { right: 0px; }
.ornament-title span:last-child::before { left: 0px; }
.ornament-title h2 { margin: 0px; color: var(--green); font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: 0.01em; text-align: center; }
.meaning-section { width: min(100% - 88px, 1320px); margin: 0px auto; padding: 12px 0px 42px; }
.meaning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.meaning-card { position: relative; min-height: 392px; overflow: hidden; padding: 246px 28px 30px; border-radius: 18px; color: rgb(19, 33, 46); background: rgb(251, 251, 248); box-shadow: rgba(20, 36, 33, 0.08) 0px 16px 38px; transition: transform 180ms, box-shadow 180ms; }
.meaning-card:hover { box-shadow: rgba(20, 36, 33, 0.14) 0px 22px 48px; }
.meaning-card::after { position: absolute; inset: 0px; background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0.92) 58%, rgb(255, 255, 255) 68%); content: ""; }
.meaning-image { position: absolute; inset: 0px 0px auto; height: 220px; background-size: cover; background-position: center center; filter: saturate(0.96); }
.meaning-time .meaning-image { background-image: url("./meaning-connection-2026-thumb.jpg"); background-position: center center; }
.meaning-event .meaning-image { background-image: url("./meaning-coevent-2026-thumb.jpg"); background-position: center center; filter: saturate(0.96); }
.meaning-create .meaning-image { background-image: url("./meaning-creation-2026-thumb.jpg"); background-position: center center; }
.meaning-icon { position: relative; z-index: 2; display: none; width: 62px; height: 62px; place-items: center; margin-bottom: 22px; border-radius: 50%; color: rgb(255, 255, 255); background: var(--green); box-shadow: rgba(0, 88, 62, 0.18) 0px 12px 24px; }
.meaning-event .meaning-icon { background: rgb(102, 64, 182); }
.meaning-create .meaning-icon { background: var(--gold); }
.meaning-card h3, .meaning-card p, .meaning-card .circle-arrow { position: relative; z-index: 2; }
.meaning-card h3 { margin: 0px 0px 14px; color: rgb(20, 33, 29); font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.08; }
.meaning-card p { margin: 0px; color: rgb(23, 41, 36); font-size: 14px; font-weight: 600; line-height: 1.55; }
.circle-arrow { width: 37px; height: 37px; margin-top: 24px; border: 1px solid; border-radius: 50%; color: rgb(18, 50, 44); background: rgba(255, 255, 255, 0.54); }
.circle-arrow svg, .to-top svg { width: 21px; height: 21px; fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.participate-strip { width: min(100% - 88px, 1320px); margin: 0px auto; padding: 6px 0px 34px; }
.participate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.participate-tile { min-height: 170px; padding: 26px 26px 20px; border: 1px solid rgb(236, 238, 233); border-radius: 8px; color: rgb(19, 33, 46); background: rgb(255, 255, 255); box-shadow: rgba(20, 36, 33, 0.07) 0px 12px 28px; transition: transform 180ms, box-shadow 180ms, border-color 180ms; }
.participate-tile:hover { border-color: rgba(0, 88, 62, 0.24); box-shadow: rgba(20, 36, 33, 0.12) 0px 20px 42px; }
.tile-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 18px; border-radius: 50%; color: var(--green); }
.tile-icon.mint { background: rgb(238, 246, 244); }
.tile-icon.lavender { color: rgb(103, 64, 184); background: rgb(240, 235, 247); }
.tile-icon.gold { color: var(--gold); background: rgb(250, 244, 231); }
.tile-icon.violet { color: rgb(109, 61, 174); background: rgb(241, 235, 245); }
.participate-tile h3 { min-height: 43px; margin: 0px 0px 13px; color: rgb(16, 29, 25); font-size: 13px; font-weight: 900; line-height: 1.25; letter-spacing: 0.01em; }
.participate-tile p { margin: 0px; color: rgb(36, 52, 47); font-size: 13px; font-weight: 600; line-height: 1.45; }
.participate-tile .circle-arrow { width: 35px; height: 35px; margin-top: 17px; }
.jubilee-footer { position: relative; min-height: 196px; overflow: hidden; border-top: 1px solid rgb(226, 233, 229); }
.jubilee-footer::after { left: 460px; top: 33px; width: 260px; height: 65px; border-top: 1px solid rgba(192, 154, 66, 0.65); border-radius: 50%; transform: rotate(-8deg); }
.footer-wash { position: absolute; inset: 0px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.18) 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.88) 0%, transparent 44%), url("./hero-campus-full.jpg") 100% 55% / 640px no-repeat; }
.footer-wash::before { position: absolute; inset: auto 0px 0px; height: 96px; background: radial-gradient(circle at 6% 100%, rgba(0, 88, 62, 0.16), transparent 10rem), radial-gradient(circle at 86% 100%, rgba(112, 82, 190, 0.16), transparent 13rem); content: ""; }
.footer-content { position: relative; z-index: 2; width: min(100% - 88px, 1320px); margin: 0px auto; padding: 30px 0px 0px; }
.footer-content h2 { margin: 0px 0px 28px; color: var(--green); font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.1; }
.social-row { display: flex; gap: 18px; }
.social-row a { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--green); background: rgb(255, 255, 255); box-shadow: rgba(20, 36, 33, 0.12) 0px 8px 18px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.to-top { position: absolute; right: max(44px, -640px + 50vw); bottom: 37px; z-index: 3; width: 50px; height: 50px; border-radius: 50%; color: var(--green); background: rgb(255, 255, 255); box-shadow: rgba(20, 36, 33, 0.14) 0px 10px 24px; }
@media (max-width: 1040px) {
  .anniversary-sheet { width: 100%; }
}
@media (max-width: 900px) {
  .jubilee-hero { min-height: auto; padding-bottom: 34px; }
  .hero-copy { width: auto; padding: 34px 28px 0px; }
  .hero-copy h1 { margin-bottom: 34px; font-size: clamp(48px, 12vw, 64px); }
  .hero-lead { width: min(100%, 410px); margin-bottom: 34px; }
  .hero-image { position: relative; height: 380px; margin-top: -10px; }
  .hero-image img { right: -70px; top: 0px; width: 800px; height: 100%; }
  .hero-actions { width: 100%; }
  .hero-secondary-actions, .meaning-grid, .participate-grid { grid-template-columns: 1fr; }
  .meaning-section, .participate-strip { padding-left: 24px; padding-right: 24px; }
  .participate-grid { gap: 16px; }
}
@media (max-width: 620px) {
  .jubilee-topbar { padding: 18px 22px 0px; }
  .jubilee-logo img { width: 135px; }
  .hero-years span { font-size: 76px; }
  .hero-years small { font-size: 28px; }
  .hero-copy { padding-left: 22px; padding-right: 22px; }
  .hero-main-action { width: 100%; }
  .hero-secondary-actions { gap: 10px; }
  .hero-secondary-actions a { justify-content: flex-start; padding: 0px 16px; }
  .ornament-title { grid-template-columns: 1fr; gap: 10px; }
  .ornament-title span { display: none; }
  .footer-content { padding: 28px 22px 0px; }
  .footer-content h2 { font-size: 21px; }
  .to-top { right: 18px; bottom: 24px; }
}
.story-body { min-height: 100vh; padding: 18px; background: radial-gradient(circle at 6% 6%, rgba(0, 88, 62, 0.08), transparent 24rem), radial-gradient(circle at 92% 6%, rgba(110, 78, 180, 0.07), transparent 26rem), rgb(244, 244, 241); }
.story-connection { --meaning-accent: #4b7c55; --meaning-soft: #eef6ef; }
.story-coevent { --meaning-accent: #7752ad; --meaning-soft: #f3eef9; }
.story-creation { --meaning-accent: #b66b2f; --meaning-soft: #fbf1e8; }
.story-shell { width: min(100%, 1180px); margin: 0px auto; overflow: hidden; border: 1px solid rgba(223, 231, 228, 0.95); border-radius: 16px; background: rgb(255, 255, 255); box-shadow: rgba(20, 36, 33, 0.1) 0px 18px 60px; }
.story-header { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 24px 38px 18px; }
.story-logo img { display: block; width: 145px; }
.story-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.story-links a { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0px 16px; border: 1px solid rgb(216, 224, 220); border-radius: 999px; color: var(--green); background: rgb(255, 255, 255); font-size: 13px; font-weight: 850; }
.story-hero { position: relative; display: grid; grid-template-columns: minmax(340px, 0.82fr) minmax(0px, 1.18fr); gap: 34px; min-height: 610px; padding: 28px 38px 42px; }
.story-hero::before { position: absolute; left: 45%; top: 46px; width: 310px; height: 110px; border-top: 1px solid rgba(192, 154, 66, 0.64); border-radius: 50%; transform: rotate(-10deg); content: ""; }
.story-copy { position: relative; z-index: 2; align-self: center; padding: 35px 0px; }
.story-eyebrow { display: inline-flex; gap: 8px; align-items: center; margin: 0px 0px 22px; color: var(--meaning-accent, var(--gold)); font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.story-copy h1 { margin: 0px 0px 24px; color: var(--green); font-family: var(--serif); font-size: clamp(48px, 5.6vw, 76px); font-weight: 700; line-height: 0.98; }
.story-copy > p { max-width: 520px; margin: 0px; color: rgb(27, 45, 40); font-size: 17px; font-weight: 600; line-height: 1.7; }
.story-art { position: relative; min-height: 560px; overflow: hidden; border-radius: 26px; background: var(--meaning-soft, rgb(240, 247, 244)); box-shadow: rgba(16, 40, 34, 0.16) 0px 24px 54px; }
.story-art img { position: absolute; inset: 0px; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center center; }
.story-art::after { position: absolute; inset: 0px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%, rgba(4, 31, 23, 0.08)); box-shadow: inset 0px 0px 0px 1px rgba(24, 56, 47, 0.08); content: ""; }
.story-axis, .story-stats, .story-grid, .source-panel, .gallery-grid, .book-layout { margin: 0px 38px 34px; }
.story-axis { display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(0px, 1.22fr); gap: 28px; align-items: center; padding: 30px; border-radius: 22px; color: rgb(255, 255, 255); background: linear-gradient(135deg, rgb(8, 68, 52), rgb(5, 46, 36)); box-shadow: rgba(9, 49, 39, 0.16) 0px 18px 42px; }
.story-axis-copy p { margin: 0px 0px 10px; color: rgb(226, 193, 116); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.story-axis-copy h2 { margin: 0px; color: rgb(255, 255, 255); font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.12; }
.story-axis-steps { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 10px; }
.story-axis-steps span, .story-axis-steps a { min-width: 0px; padding: 18px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 15px; color: inherit; background: rgba(255, 255, 255, 0.07); text-decoration: none; transition: transform 160ms, border-color 160ms, background 160ms; }
.story-axis-steps a:hover, .story-axis-steps a:focus-visible { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.story-axis-steps span.is-active, .story-axis-steps a.is-active { border-color: rgba(255, 255, 255, 0.42); background: var(--meaning-accent, var(--gold)); box-shadow: rgba(0, 0, 0, 0.15) 0px 12px 28px; }
.story-axis-steps small { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, 0.68); font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.story-axis-steps strong { display: block; color: rgb(255, 255, 255); font-family: var(--serif); font-size: 18px; line-height: 1.12; }
.story-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.story-stat { min-height: 112px; padding: 20px; border: 1px solid rgb(229, 236, 232); border-radius: 10px; background: rgb(255, 255, 255); box-shadow: rgba(20, 36, 33, 0.06) 0px 12px 28px; }
.story-stat strong { display: block; color: var(--meaning-accent, var(--green)); font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1; }
.story-stat span { display: block; margin-top: 9px; color: rgb(82, 99, 94); font-size: 13px; font-weight: 700; line-height: 1.35; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story-panel { position: relative; min-height: 250px; overflow: hidden; padding: 28px; border: 1px solid rgb(230, 236, 233); border-radius: 18px; background: linear-gradient(rgba(255, 255, 255, 0.94), rgb(255, 255, 255)), radial-gradient(circle at 22% 0%, var(--meaning-soft, rgba(0, 88, 62, 0.11)), transparent 11rem); box-shadow: rgba(20, 36, 33, 0.07) 0px 14px 32px; }
.story-panel::before { position: absolute; inset: 0px 0px auto; height: 4px; background: var(--meaning-accent, var(--green)); content: ""; }
.story-panel .tile-icon { margin-bottom: 18px; }
.story-panel h2 { margin: 0px 0px 14px; color: rgb(20, 33, 29); font-family: var(--serif); font-size: 26px; line-height: 1.08; }
.story-panel p, .source-panel p, .book-card p, .gallery-card p { margin: 0px; color: rgb(77, 95, 89); font-size: 14px; font-weight: 600; line-height: 1.6; }
.source-panel { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 22px 26px; border: 1px solid rgb(228, 236, 232); border-radius: 12px; background: linear-gradient(90deg, rgba(240, 247, 244, 0.8), rgb(255, 255, 255)), rgb(255, 255, 255); }
.source-panel a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0px 18px; border-radius: 7px; color: rgb(255, 255, 255); background: var(--green); font-size: 13px; font-weight: 900; white-space: nowrap; }
.book-layout { display: grid; grid-template-columns: minmax(0px, 0.9fr) minmax(340px, 1.1fr); gap: 18px; }
.book-cover { min-height: 510px; padding: 42px; border-radius: 12px; color: rgb(255, 255, 255); background: linear-gradient(150deg, rgba(0, 88, 62, 0.94), rgba(0, 68, 50, 0.88)), url("./hero-campus-full.jpg") center center / cover; box-shadow: rgba(0, 88, 62, 0.2) 0px 20px 46px; }
.book-cover h2 { margin: 0px 0px 28px; font-family: var(--serif); font-size: clamp(42px, 5vw, 64px); line-height: 0.98; }
.book-cover p { max-width: 380px; margin: 0px; color: rgba(255, 255, 255, 0.82); font-weight: 700; line-height: 1.6; }
.book-chapters { display: grid; gap: 14px; }
.book-card, .gallery-card { border: 1px solid rgb(230, 236, 233); border-radius: 12px; background: rgb(255, 255, 255); box-shadow: rgba(20, 36, 33, 0.07) 0px 12px 28px; }
.book-card { padding: 24px; }
.book-card h3, .gallery-card h3 { margin: 0px 0px 10px; color: rgb(20, 33, 29); font-family: var(--serif); font-size: 25px; line-height: 1.12; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-card { overflow: hidden; }
.gallery-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.gallery-card div { padding: 20px; }
@media (max-width: 900px) {
  .story-header, .story-hero { grid-template-columns: 1fr; }
  .story-links { justify-content: flex-start; }
  .story-hero { gap: 18px; min-height: 0px; padding-bottom: 30px; }
  .story-copy { padding: 18px 0px 6px; }
  .story-art { min-height: 420px; }
  .story-art img { inset: 0px; width: 100%; height: 100%; }
  .story-axis { grid-template-columns: 1fr; }
  .story-stats, .story-grid, .gallery-grid, .book-layout { grid-template-columns: 1fr; }
  .source-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .story-body { padding: 10px; }
  .story-header, .story-hero { padding-left: 20px; padding-right: 20px; }
  .story-axis, .story-stats, .story-grid, .source-panel, .gallery-grid, .book-layout { margin-left: 20px; margin-right: 20px; }
  .story-axis { padding: 20px; }
  .story-axis-steps { grid-template-columns: 1fr; }
  .story-art { min-height: 330px; border-radius: 20px; }
}
:root { --page-wide: min(100% - 88px, 1440px); --page-content: min(100% - 88px, 1320px); }
.template-body, .story-body, body[data-page="participate"] { padding: 0px; background: radial-gradient(circle at 8% 6%, rgba(0, 88, 62, 0.035), transparent 25rem), radial-gradient(circle at 92% 7%, rgba(112, 82, 190, 0.035), transparent 27rem), rgb(255, 255, 255); }
.template-card, .story-shell { width: 100%; min-height: 100vh; margin: 0px; overflow: hidden; border: 0px; border-radius: 0px; background: rgb(255, 255, 255); box-shadow: none; }
.screen-head, .program-layout, .cinema-layout, .cinema-stats, .story-header, .story-hero, .story-axis, .story-stats, .story-grid, .source-panel, .book-layout, .gallery-grid { width: var(--page-wide); margin-left: auto; margin-right: auto; }
.screen-head { padding: 30px 0px 22px; }
.program-layout { padding: 24px 0px 42px; }
.cinema-layout { padding: 10px 0px 24px; }
.cinema-stats { margin-top: 0px; margin-bottom: 34px; }
.site-header, .page-shell { width: var(--page-content); }
.site-header { margin-top: 0px; margin-bottom: 24px; border-radius: 0px; border-top: 0px; border-left: 0px; border-right: 0px; box-shadow: none; }
.page-shell { margin-top: 0px; margin-bottom: 42px; }
.page-hero, .participation-layout, .history-panel, .join-form { border-radius: 12px; }
.story-header { padding: 26px 0px 18px; }
.story-hero { padding: 28px 0px 0px; }
.story-axis, .story-stats, .story-grid, .source-panel, .book-layout, .gallery-grid { margin-top: 0px; margin-bottom: 34px; }
.story-shell .source-panel { display: flex; }
@media (max-width: 900px) {
  :root { --page-wide: min(100% - 40px, 1440px); --page-content: min(100% - 40px, 1320px); }
  .screen-head, .program-layout, .cinema-layout, .cinema-stats, .story-header, .story-hero, .story-axis, .story-stats, .story-grid, .source-panel, .book-layout, .gallery-grid { width: var(--page-wide); }
  .site-header, .page-shell { width: var(--page-content); }
}
@media (max-width: 620px) {
  :root { --page-wide: min(100% - 24px, 1440px); --page-content: min(100% - 24px, 1320px); }
  .screen-head, .program-layout, .cinema-layout, .story-header, .story-hero { padding-left: 0px; padding-right: 0px; }
  .cinema-stats, .story-axis, .story-stats, .story-grid, .source-panel, .book-layout, .gallery-grid { margin-left: auto; margin-right: auto; }
}

/* Softer landing footer: campus image works as an atmospheric wash, not a pasted crop. */
.jubilee-footer {
  min-height: 270px;
  background: linear-gradient(180deg, #fff 0%, #f7fbf9 100%);
}

.jubilee-footer::after {
  left: 42%;
  top: 62px;
  width: 360px;
  height: 92px;
  opacity: 0.42;
}

.footer-wash {
  background:
    radial-gradient(circle at 6% 100%, rgba(0, 88, 62, 0.12), transparent 14rem),
    radial-gradient(circle at 87% 100%, rgba(112, 82, 190, 0.11), transparent 17rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(243, 249, 246, 0.72) 100%);
}

.footer-wash::before {
  height: 150px;
  background:
    radial-gradient(circle at 15% 100%, rgba(0, 88, 62, 0.11), transparent 16rem),
    radial-gradient(circle at 80% 95%, rgba(192, 154, 66, 0.08), transparent 14rem);
}

.footer-wash::after {
  position: absolute;
  right: max(-28px, calc((100vw - 1320px) / 2 - 44px));
  bottom: -34px;
  width: min(58vw, 760px);
  height: 255px;
  background: url("./hero-campus-full.jpg") center bottom / contain no-repeat;
  content: "";
  opacity: 0.34;
  filter: saturate(0.9) brightness(1.04);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 22%, #000 100%),
    linear-gradient(0deg, transparent 0%, #000 22%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 22%, #000 100%),
    linear-gradient(0deg, transparent 0%, #000 22%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.footer-content {
  padding-top: 52px;
}

.to-top {
  bottom: 70px;
}

@media (max-width: 900px) {
  .footer-wash::after {
    right: -120px;
    width: 760px;
    opacity: 0.24;
  }
}

/* Страница книги: финальные приоритетные правила после общих стилей story */
body.book-body {
  min-height: 100vh;
  color: #f6eee7;
  background:
    radial-gradient(90% 65% at 50% -10%, rgba(126, 65, 83, .5) 0%, rgba(76, 37, 52, .22) 48%, transparent 72%),
    linear-gradient(145deg, #38202d 0%, #25151f 48%, #160e14 100%);
}
body.book-body .story-shell {
  width: 100%;
  min-height: 100vh;
  overflow: visible;
  background: transparent;
}
body.book-body .story-logo img {
  filter: brightness(0) invert(1);
  opacity: .92;
}
body.book-body .book-poster-heading {
  width: min(100% - 48px, 1160px);
}
body.book-body .book-poster {
  width: min(100% - 48px, 960px);
}
body.book-body .book-poster-heading h1 {
  color: #fffaf4;
}

@media (max-width: 760px) {
  body.book-body .story-header {
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  body.book-body .book-poster-heading {
    width: calc(100% - 32px);
    margin-bottom: 18px;
  }
  body.book-body .book-poster {
    width: calc(100% - 28px);
    margin-bottom: 30px;
  }
  body.book-body .book-poster-caption {
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 620px) {
  .jubilee-footer {
    min-height: 315px;
  }

  .footer-content {
    padding-top: 34px;
  }

  .footer-wash::after {
    right: -210px;
    bottom: -22px;
    width: 680px;
    opacity: 0.18;
  }
}

/* ===== Film / cinema page ===== */
.film-body { min-height: 100vh; margin: 0; color: #eaf2ee; background: radial-gradient(120% 80% at 50% -20%, #0e4435 0%, #0a2c22 45%, #061a14 100%); font-family: var(--sans); overflow-x: hidden; }
.film-glow { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(40% 55% at 50% 8%, rgba(120, 200, 170, 0.16), transparent 60%), radial-gradient(30% 42% at 16% 0%, rgba(192, 154, 66, 0.12), transparent 60%), radial-gradient(30% 42% at 84% 0%, rgba(32, 125, 135, 0.14), transparent 60%); }
.film-room { position: relative; z-index: 1; width: min(100% - 36px, 1080px); margin: 0 auto; padding-bottom: 60px; }
.film-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px 18px; }
.film-logo img { display: block; width: 150px; filter: brightness(0) invert(1); opacity: 0.92; }
.film-nav { display: flex; gap: 8px; }
.film-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; color: #d7e6df; font-size: 13px; font-weight: 700; transition: border-color 160ms ease, background 160ms ease; }
.film-nav a:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.05); }
.film-hall { text-align: center; padding-top: 14px; }
.film-eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.film-title { margin: 0 0 30px; color: #fff; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 56px); font-weight: 700; line-height: 1.05; }
.film-stage { position: relative; width: min(100%, 960px); margin: 0 auto; }
.film-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #02100c; box-shadow: 0 0 0 1px rgba(192, 154, 66, 0.35), 0 0 0 8px rgba(255, 255, 255, 0.02), 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 130px rgba(32, 125, 135, 0.22); }
.film-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #02100c; }
.film-overlay { position: absolute; inset: 0; display: grid; place-content: center; gap: 16px; border: 0; cursor: pointer; color: #fff; background: radial-gradient(60% 60% at 50% 45%, rgba(6, 26, 20, 0.25), rgba(3, 16, 12, 0.7)); transition: opacity 260ms ease; }
.film-stage.is-playing .film-overlay { opacity: 0; pointer-events: none; }
.film-overlay-ring { justify-self: center; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(145deg, var(--green-2), var(--green)); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.1), 0 18px 40px rgba(0, 0, 0, 0.5); transition: transform 180ms ease; }
.film-overlay:hover .film-overlay-ring { transform: scale(1.06); }
.film-overlay-ring svg { width: 40px; height: 40px; margin-left: 4px; fill: #fff; }
.film-overlay-label { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.92); }
.film-controls { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto auto 1fr auto auto auto auto; gap: 12px; align-items: center; padding: 28px 16px 12px; background: linear-gradient(transparent, rgba(2, 14, 10, 0.86)); opacity: 0; transform: translateY(8px); transition: opacity 200ms ease, transform 200ms ease; }
.film-stage:hover .film-controls, .film-stage.is-playing .film-controls, .film-stage:focus-within .film-controls { opacity: 1; transform: none; }
.fc-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; color: #fff; background: transparent; transition: background 140ms ease; }
.fc-btn:hover { background: rgba(255, 255, 255, 0.12); }
.fc-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fc-btn .ic-play { fill: currentColor; stroke: none; }
.ic-pause { display: none; fill: currentColor; stroke: none; }
.fc-btn .ic-vol { fill: currentColor; stroke: none; }
.film-stage.is-playing #film-play .ic-play { display: none; }
.film-stage.is-playing #film-play .ic-pause { display: block; }
.ic-muted { display: none; }
.film-stage.is-muted #film-mute .ic-vol { display: none; }
.film-stage.is-muted #film-mute .ic-muted { display: block; }
.fc-time { min-width: 44px; color: rgba(255, 255, 255, 0.85); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fc-total { text-align: right; }
.fc-seek, .fc-volume { -webkit-appearance: none; appearance: none; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); cursor: pointer; }
.fc-seek { background: linear-gradient(90deg, var(--gold) var(--fill, 0%), rgba(255, 255, 255, 0.22) var(--fill, 0%)); }
.fc-volume { width: 78px; }
.fc-seek::-webkit-slider-thumb, .fc-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.fc-seek::-moz-range-thumb, .fc-volume::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.film-seats { height: 44px; margin: 0 6%; border-radius: 0 0 60% 60% / 0 0 100% 100%; background: radial-gradient(circle at 10% 0, #0c3024 22%, transparent 23%) 0 0 / 56px 44px repeat-x, linear-gradient(#0c3024, #061a14); opacity: 0.5; }
.film-meta { max-width: 760px; margin: 34px auto 0; text-align: center; }
.film-desc { margin: 0 0 18px; color: rgba(231, 242, 236, 0.82); font-size: 16px; line-height: 1.65; }
.film-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.film-chips span { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; color: #d7e6df; font-size: 12px; font-weight: 700; }
@media (max-width: 720px) { .film-controls { grid-template-columns: auto auto 1fr auto auto; } .fc-vol-btn, .fc-volume { display: none; } .film-seats { display: none; } }

/* ===== Media gallery ===== */
.gallery-head { margin: 0 38px 22px; }
.gallery-head h1 { margin: 0 0 12px; color: var(--green); font-family: var(--serif); font-size: clamp(34px, 4.4vw, 58px); font-weight: 700; line-height: 1; }
.gallery-sub { max-width: 620px; margin: 0 0 22px; color: #43524d; font-size: 16px; line-height: 1.6; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.g-chip { min-height: 38px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); background: #fff; font-size: 13px; font-weight: 700; transition: color 140ms ease, background 140ms ease, border-color 140ms ease; }
.g-chip:hover { border-color: var(--green); }
.g-chip.is-active { color: #fff; border-color: var(--green); background: var(--green); }
.gallery-masonry { columns: 3; column-gap: 16px; margin: 0 38px 40px; }
.g-tile { position: relative; break-inside: avoid; margin: 0 0 16px; overflow: hidden; border-radius: 14px; cursor: pointer; box-shadow: 0 12px 30px rgba(20, 36, 33, 0.1); outline: none; }
.g-tile img { display: block; width: 100%; height: auto; transition: transform 400ms ease; }
.g-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(6, 26, 20, 0.72)); transition: opacity 200ms ease; }
.g-tile:hover img, .g-tile:focus-visible img { transform: scale(1.05); }
.g-tile:focus-visible { box-shadow: 0 0 0 3px rgba(0, 88, 62, 0.45); }
.g-tile figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: grid; gap: 6px; transform: translateY(6px); opacity: 0; transition: opacity 200ms ease, transform 200ms ease; }
.g-tile:hover figcaption, .g-tile:focus-visible figcaption { opacity: 1; transform: none; }
.g-cat { justify-self: start; padding: 3px 10px; border-radius: 999px; background: rgba(192, 154, 66, 0.96); color: #2a2310; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.g-name { color: #fff; font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 30px; background: rgba(5, 18, 14, 0.82); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; max-width: min(92vw, 1100px); max-height: 86vh; display: grid; gap: 12px; }
.lb-stage img { max-width: 100%; max-height: 78vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); object-fit: contain; }
.lb-stage figcaption { text-align: center; color: #eaf2ee; font-weight: 700; }
.lb-close { position: absolute; top: 20px; right: 24px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.14); }
.lb-close:hover { background: rgba(255, 255, 255, 0.24); }
.lb-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 900px) { .gallery-masonry { columns: 2; } .gallery-head { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 560px) { .gallery-masonry { columns: 1; margin-left: 24px; margin-right: 24px; } }

/* Контакты по вопросам юбилея */
.contact-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px auto 28px; padding: 0 20px; color: var(--muted); font-size: 14px; font-weight: 600; }
.contact-line .icon { display: inline-flex; width: 18px; height: 18px; color: var(--green); flex: none; }
.contact-line a { color: var(--green); font-weight: 800; text-decoration: none; white-space: nowrap; }
.contact-line a:hover { color: var(--gold); }
.jubilee-footer .contact-line { justify-content: flex-start; margin: 16px 0 0; padding: 0; }
.film-body .contact-line { color: rgba(255, 255, 255, 0.72); }
.film-body .contact-line .icon, .film-body .contact-line a { color: var(--gold); }

/* Заставка «раздел готовится» */
.coming-soon { display: grid; justify-items: center; gap: 20px; width: var(--page-wide, calc(100% - 48px)); margin: 14px auto 44px; padding: 52px 26px 56px; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(circle at 12% 8%, rgba(0, 88, 62, 0.05), transparent 22rem), radial-gradient(circle at 88% 10%, rgba(112, 82, 190, 0.05), transparent 24rem), #fff; text-align: center; }
.coming-soon-img { max-width: min(720px, 100%); border-radius: 12px; box-shadow: var(--soft-shadow); }
.coming-soon-img.is-missing { display: none; }
.coming-soon-body { display: grid; gap: 12px; max-width: 640px; }
.coming-soon h1, .coming-soon h2 { margin: 0; color: var(--green); font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.05; }
.coming-soon p { margin: 0; color: var(--muted); line-height: 1.55; }

/* Раунд 3: шапки с переключателем языка, заставки-картинки */
.jubilee-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.jubilee-topbar .header-actions, .film-bar .header-actions, .story-header .header-actions { display: inline-flex; gap: 4px; }
.jubilee-topbar .header-actions {
  align-items: center;
  padding: 5px;
  border: 1px solid rgba(0, 88, 62, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(13, 51, 45, .12);
  backdrop-filter: blur(12px);
}
.jubilee-topbar .lang-btn {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--green);
}
.jubilee-topbar .lang-btn.is-active {
  color: #fff;
  background: var(--green);
  box-shadow: 0 4px 12px rgba(0, 88, 62, .2);
}
.story-header .header-actions { justify-self: end; align-self: center; }
.film-bar .header-actions { margin-left: auto; }
.film-bar .lang-btn { color: rgba(255, 255, 255, 0.66); }
.film-bar .lang-btn.is-active { color: var(--gold); border-color: var(--gold); }
.screen-actions .header-actions { display: inline-flex; gap: 4px; margin-right: 10px; align-self: center; }
.coming-soon.has-img { padding: 0; border: 0; background: transparent; }
.coming-soon.has-img .coming-soon-body { display: none; }
.coming-soon.has-img .coming-soon-img { max-width: min(1060px, 100%); box-shadow: var(--shadow); }
.book-coming,
.book-coming.has-img {
  grid-template-columns: minmax(320px, .92fr) minmax(360px, 1.08fr);
  align-items: stretch;
  justify-items: stretch;
  gap: 0;
  overflow: hidden;
  min-height: 620px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  box-shadow: var(--soft-shadow);
}
.book-coming.has-img .coming-soon-body { display: grid; }
.book-coming-visual { position: relative; display: grid; min-height: 620px; overflow: hidden; place-items: center; background: #f6eef2; }
.book-coming .coming-soon-img,
.book-coming.has-img .coming-soon-img { width: 100%; height: 100%; max-width: none; border-radius: 0; object-fit: contain; box-shadow: none; }
.book-coming-badge { position: absolute; top: 24px; left: 24px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.58); border-radius: 999px; color: #fff; background: rgba(79, 20, 51, .66); backdrop-filter: blur(10px); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.book-coming .coming-soon-body { align-content: center; gap: 20px; max-width: none; padding: clamp(36px, 5vw, 72px); }
.book-coming h1 { max-width: 720px; font-size: clamp(42px, 5vw, 68px); line-height: .98; }
.book-coming .coming-soon-body > p:not(.story-eyebrow) { max-width: 620px; font-size: 17px; line-height: 1.7; }
.book-coming-status { display: flex; gap: 11px; align-items: center; padding: 14px 16px; border-radius: 10px; color: var(--green); background: #eef5f2; font-size: 13px; line-height: 1.4; }
.book-coming-status > span { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(190,151,58,.13); }
.book-coming-features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.book-coming-features article { display: grid; align-content: start; gap: 12px; min-height: 126px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.book-coming-features small { color: var(--gold); font-family: var(--serif); font-size: 23px; }
.book-coming-features strong { color: var(--ink); font-size: 13px; line-height: 1.4; }
.book-coming-link { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); color: var(--green); font-size: 13px; font-weight: 850; text-decoration: none; }
.book-coming-link:hover { color: var(--teal); }
.book-poster {
  width: var(--page-wide);
  margin: 14px auto 44px;
}
.book-poster > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 18px 42px rgba(12, 67, 49, .09);
}
.book-poster-caption {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 0 0 18px 18px;
  color: #fff;
  background: linear-gradient(110deg, #005d43, #08775c);
  text-align: center;
  box-shadow: 0 18px 42px rgba(12, 67, 49, .13);
}
.book-poster-caption > span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .1);
}
.book-poster-caption strong {
  font-size: 18px;
  line-height: 1.35;
}
.book-body {
  min-height: 100vh;
  color: #f6eee7;
  background:
    radial-gradient(90% 65% at 50% -10%, rgba(126, 65, 83, .5) 0%, rgba(76, 37, 52, .22) 48%, transparent 72%),
    linear-gradient(145deg, #38202d 0%, #25151f 48%, #160e14 100%);
}
.book-body .story-header {
  margin-bottom: 6px;
}
.book-body .story-header .lang-btn {
  color: rgba(255,255,255,.66);
}
.book-body .story-header .lang-btn.is-active {
  color: #d6ad55;
  border-color: #d6ad55;
}
.book-poster-heading {
  width: min(100% - 48px, 1460px);
  margin: 6px auto 30px;
  text-align: center;
}
.book-poster-heading p {
  margin: 0 0 14px;
  color: #d6ad55;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.book-poster-heading h1 {
  margin: 0;
  color: #fffaf4;
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 66px);
  font-weight: 650;
  line-height: 1.05;
}
.book-body .book-poster {
  width: min(100% - 48px, 1430px);
}
.book-body .book-poster > img {
  border-color: rgba(226, 184, 116, .32);
  border-radius: 16px;
  box-shadow: 0 34px 80px rgba(0,0,0,.42), 0 0 0 7px rgba(255,255,255,.025);
}
.book-body .book-poster-caption {
  width: fit-content;
  min-height: 0;
  margin: 28px auto 0;
  padding: 15px 24px;
  border: 1px solid rgba(226, 184, 116, .32);
  border-radius: 999px;
  color: #fff9f1;
  background: rgba(120, 64, 82, .48);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
}
.book-body .contact-line {
  color: rgba(255,255,255,.68);
}
.book-body .contact-line .icon,
.book-body .contact-line a {
  color: #d6ad55;
}
.film-body .coming-soon { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); }
.film-body .coming-soon h1, .film-body .coming-soon h2 { color: #fff; }
.film-body .coming-soon .story-eyebrow { color: var(--gold); }
.hero-secondary-actions a span:last-child { text-transform: uppercase; }

/* ==================== Раунд 4 ==================== */
/* Шире контент — убираем пустые поля по бокам */
:root { --page-wide: min(100% - 48px, 1760px); --page-content: min(100% - 48px, 1680px); }
.jubilee-hero { width: min(100% - 48px, 1760px); }
.jubilee-footer .footer-content { width: min(100% - 48px, 1680px); }

/* Календарь: «День …» + «Все мероприятия» */
.day-tabs { flex-wrap: wrap; }
.day-tab small { line-height: 1.14; }
.day-tab-all { background: linear-gradient(135deg, rgba(0,88,62,.07), rgba(112,82,190,.07)); border-color: rgba(0,88,62,.25); }
.day-tab-all .icon { width: 24px; height: 24px; color: var(--green); }
.day-tab-all.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.day-tab-all.is-active .icon, .day-tab-all.is-active small { color: #fff; }

/* Карточка события: «Присоединиться» + закладка */
.planner-card { grid-template-columns: minmax(0,1fr) auto; }
.planner-actions { display: flex; align-items: center; gap: 4px; padding-right: 10px; }
.join-event { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(0,88,62,.22); color: var(--green); background: rgba(0,88,62,.05); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background 150ms, color 150ms; }
.join-event .icon { width: 15px; height: 15px; }
.join-event:hover { background: var(--green); color: #fff; }

/* Детальная карточка */
.detail-actions { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 10px; margin-top: 8px; }
.detail-actions .ghost-btn,
.detail-actions .submit-btn { width: 100%; min-width: 0; min-height: 54px; height: auto; padding: 10px 12px; line-height: 1.25; text-align: center; white-space: normal; }
.detail-actions .submit-btn { background: var(--green); color: #fff; text-decoration: none; box-shadow: none; font-size: 13px; }
.detail-actions .submit-btn:hover { background: var(--green-2); }
.ghost-btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border-radius: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.ghost-btn:hover { border-color: var(--green); color: var(--green); }

/* Гайд «как присоединиться» */
.join-guide { display: flex; gap: 14px; margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(135deg, rgba(0,88,62,.04), rgba(192,154,66,.05)); }
.join-guide-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; color: #fff; background: var(--green); }
.join-guide-icon .icon { width: 20px; height: 20px; }
.join-guide h3 { margin: 0 0 4px; color: var(--ink); font-size: 15px; font-weight: 800; }
.join-guide p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Маршрут-модалка */
.route-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(5,18,14,.55); backdrop-filter: blur(4px); }
.route-modal[hidden] { display: none; }
.route-sheet { width: min(560px, 100%); max-height: 86vh; display: flex; flex-direction: column; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.route-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.route-head h2 { min-width: 0; margin: 0; font-family: var(--serif); font-size: 24px; color: var(--green); }
.route-close { width: auto; min-width: 0; min-height: 38px; padding: 0 13px; flex: none; border: 0; border-radius: 8px; background: var(--wash); color: var(--muted); font-size: 13px; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer; }
.route-body { padding: 8px 22px; overflow-y: auto; }
.route-day { padding: 12px 0; border-bottom: 1px solid var(--line); }
.route-day:last-child { border-bottom: 0; }
.route-day h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; font-size: 14px; color: var(--green); font-weight: 800; }
.route-day h3 span { color: var(--gold); }
.route-day h3 b { margin-left: auto; color: var(--muted); font-weight: 700; }
.route-item { display: grid; grid-template-columns: minmax(0,1fr) 28px; gap: 10px; align-items: center; padding: 8px 0; }
.route-info strong { display: block; font-size: 14px; color: var(--ink); }
.route-info small { color: var(--muted); font-size: 12px; }
.route-remove { width: 26px; height: 26px; border: 0; border-radius: 6px; background: var(--wash); color: var(--muted); font-size: 16px; cursor: pointer; }
.route-remove:hover { background: #fbe9e9; color: #b3261e; }
.route-foot { display: flex; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); }
.route-foot .submit-btn { flex: 1; background: var(--green); color: #fff; border: 0; cursor: pointer; }

/* Форма поздравления + гайд + текстовые поздравления */
.quick-greeting { display: grid; grid-template-columns: 1fr; gap: 10px; }
.greeting-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.greeting-types { display: flex; flex-wrap: wrap; gap: 8px; }
.greeting-type { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; }
.greeting-type input { accent-color: var(--green); }
.greeting-type:has(input:checked) { border-color: var(--green); color: var(--green); background: rgba(0,88,62,.05); }
.quick-greeting textarea { min-height: 52px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; resize: vertical; }
.quick-greeting .submit-btn { background: var(--green); color: #fff; border: 0; cursor: pointer; }
.greeting-guide { grid-column: 1 / -1; margin-top: 2px; padding: 12px 14px; border-radius: 10px; background: var(--wash); }
.greeting-guide h3 { margin: 0 0 4px; font-size: 13px; font-weight: 800; color: var(--ink); }
.greeting-guide p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.greeting-kind { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.greeting-kind .icon { width: 13px; height: 13px; }
.greeting-kind.text { color: #6838c8; background: rgba(104,56,200,.1); }
.greeting-kind.video { color: var(--green); background: rgba(0,88,62,.09); }
.video-dock.is-text .video-card { display: none; }
.greeting-quote { margin: 4px 0 0; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--wash); border-radius: 0 10px 10px 0; font-family: var(--serif); font-size: 16px; line-height: 1.5; color: var(--ink); }
.cinema-stats { grid-template-columns: repeat(3, auto); align-items: start; }
.cinema-stats .quick-greeting, .cinema-stats .greeting-guide { grid-column: 1 / -1; }

/* Поддержать университет + аукцион */
.support-section { width: var(--page-wide); margin: 46px auto 24px; }
.support-lead { max-width: 760px; margin: -6px auto 30px; text-align: center; color: var(--muted); line-height: 1.6; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.donate-card, .auction-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--soft-shadow); }
.donate-card h3, .auction-card h3 { margin: 0 0 12px; font-size: 14px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .03em; }
.donate-card h3:nth-of-type(2) { margin-top: 22px; }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amount-chip { padding: 14px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 800; font-size: 15px; color: var(--ink); cursor: pointer; transition: all 140ms; }
.amount-chip:hover { border-color: var(--green); }
.amount-chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.amount-other { grid-column: 1 / -1; font-size: 14px; }
.amount-input { width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--green); border-radius: 10px; font: inherit; font-weight: 700; }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.purpose-chip { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.purpose-chip input { accent-color: var(--green); }
.purpose-chip.is-active { border-color: var(--green); background: rgba(0,88,62,.05); color: var(--green); }
.support-pay { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 24px; min-height: 54px; border: 0; border-radius: 10px; background: var(--green); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; }
.support-pay:hover { background: var(--green-2); }
.support-pay .icon { width: 18px; height: 18px; }
.support-secure { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.support-secure .icon { width: 15px; height: 15px; color: var(--green); }
.auction-lead { margin: 0 0 18px; color: var(--muted); line-height: 1.55; font-size: 14px; }
.auction-lots { display: grid; gap: 12px; }
.lot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); }
.lot-info h4 { margin: 0 0 4px; font-size: 15px; color: var(--ink); }
.lot-info p { margin: 0; font-size: 13px; color: var(--muted); }
.lot-info b { color: var(--green); }
.lot-apply { flex: none; padding: 11px 16px; border: 1px solid var(--green); border-radius: 999px; background: #fff; color: var(--green); font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.lot-apply:hover { background: var(--green); color: #fff; }

@media (max-width: 900px) {
  .support-grid { grid-template-columns: 1fr; }
  .greeting-row { grid-template-columns: 1fr; }
  .lot { flex-direction: column; align-items: flex-start; }
  .lot-apply { width: 100%; }
}
@media (max-width: 620px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-grid { grid-template-columns: 1fr; }
  .route-foot { flex-direction: column; }
}

/* Фикс: на узких экранах кнопки события уходят под текст, а не сжимают заголовок */
@media (max-width: 620px) {
  .planner-card { grid-template-columns: 1fr; }
  .planner-main { min-height: 0; padding-bottom: 4px; }
  .planner-actions { justify-content: flex-end; gap: 8px; padding: 0 12px 12px; }
  .join-event { padding: 9px 14px; }
}

/* Фикс: radio в форме поздравления не должны наследовать стиль текстовых полей */
.greeting-type input[type="radio"] { width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; flex: none; accent-color: var(--green); }

/* ==================== Адаптация экранов: июль 2026 ==================== */
/* Убираем горизонтальные артефакты на Windows и при дробном масштабировании. */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; }

/* Блок временно скрыт до подключения реальных сценариев поддержки. */
.support-section { display: none !important; }

/* Главная: полноширинный первый экран без белых полос по краям. */
:root { --hero-gutter: clamp(24px, 4.2vw, 80px); }
.jubilee-hero {
  width: 100%;
  max-width: none;
  min-height: clamp(680px, 46vw, 760px);
  margin: 0;
}
.jubilee-topbar { padding: clamp(22px, 2vw, 36px) var(--hero-gutter) 0; }
.hero-copy {
  width: min(490px, calc(100% - 48px));
  margin-left: var(--hero-gutter);
  padding-top: clamp(38px, 3vw, 52px);
}
.hero-years span { font-size: clamp(84px, 5.2vw, 104px); }
.hero-years small { font-size: clamp(30px, 1.9vw, 38px); }
.hero-copy h1 { font-size: clamp(54px, 3.25vw, 68px); }
.hero-actions { width: min(920px, calc(100vw - 48px)); }
.hero-image img {
  inset: 0 0 0 auto;
  width: min(78vw, 1440px);
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Страховка для всех внутренних страниц и нестандартного системного масштаба. */
.template-card, .story-shell, .film-room, .site-header, .page-shell,
.screen-head, .program-layout, .cinema-layout, .cinema-stats,
.world-map-panel, .video-dock, .program-main, .program-detail,
.story-header, .story-hero, .story-axis, .story-stats, .story-grid,
.source-panel, .book-layout, .gallery-grid { min-width: 0; }
.contact-line { flex-wrap: wrap; text-align: center; }

@media (max-width: 900px) {
  .jubilee-hero {
    min-height: 0;
    padding-bottom: 0;
  }
  .hero-copy {
    width: auto;
    margin-left: 0;
    padding: clamp(28px, 6vw, 42px) clamp(22px, 6vw, 40px) 0;
  }
  .hero-years span { font-size: clamp(68px, 18vw, 92px); }
  .hero-years small { font-size: clamp(25px, 6.6vw, 32px); }
  .hero-copy h1 {
    margin-bottom: clamp(30px, 7vw, 42px);
    font-size: clamp(42px, 11.8vw, 60px);
  }
  .hero-lead {
    width: min(100%, 430px);
    margin-bottom: clamp(30px, 7vw, 42px);
    font-size: clamp(15px, 4.1vw, 17px);
  }
  .hero-actions { width: 100%; }
  .hero-image {
    position: relative;
    width: 100%;
    height: clamp(330px, 92vw, 500px);
    margin: -4px 0 0;
    overflow: hidden;
  }
  .hero-image::before {
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.78) 9%, transparent 28%, transparent 80%, #fff 100%);
  }
  .hero-image img {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 72% center;
  }

  .map-toolbar { align-items: stretch; flex-direction: column; }
  .compact-search { width: 100%; min-width: 0; }
  .cinema-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cinema-stats .quick-greeting,
  .cinema-stats .greeting-guide { grid-column: 1; }
  .quick-greeting, .greeting-row,
  .quick-greeting > *, .greeting-row > * { width: 100%; min-width: 0; }
  .greeting-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .screen-head, .program-layout, .cinema-layout, .cinema-stats,
  .story-header, .story-hero, .story-axis, .story-stats, .story-grid,
  .source-panel, .book-layout, .gallery-grid,
  .site-header, .page-shell { width: calc(100% - 32px); }

  .cinema-stats { margin-left: auto; margin-right: auto; padding: 18px; }
  .world-map-panel { padding: 14px; }

  .greeting-player-modal { padding: 0; }
  .greeting-player-dialog { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .greeting-player-head { padding: max(12px, env(safe-area-inset-top)) 12px 12px 16px; }
  .greeting-player-head strong { font-size: 17px; }
  .greeting-player-close { width: 40px; height: 40px; flex-basis: 40px; }
  .player-controls { grid-template-columns: 38px minmax(0, 1fr) 88px 38px; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); }
  .player-controls .volume-control { display: none; }

  .film-room { width: calc(100% - 32px); }
  .film-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 20px 0 18px;
  }
  .film-logo { grid-column: 1; grid-row: 1; }
  .film-logo img { width: 132px; }
  .film-bar .header-actions {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    align-self: center;
  }
  .film-nav {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .film-nav a {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 7px 8px;
    text-align: center;
    line-height: 1.2;
  }

  .story-header { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
  .story-header .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .story-links {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .story-links a { min-width: 0; padding: 8px; text-align: center; line-height: 1.2; }
}

@media (max-width: 620px) {
  /* На телефоне язык слева, юбилейный знак справа. */
  .jubilee-topbar {
    flex-direction: row-reverse;
    padding: 18px 22px 0;
  }
  .jubilee-logo img { width: 116px; }

  .hero-main-action { min-height: 60px; height: auto; padding-top: 10px; padding-bottom: 10px; }
  .hero-secondary-actions a { min-height: 56px; height: auto; }
  .footer-content { width: calc(100% - 44px); }
}

@media (max-width: 420px) {
  .hero-copy h1 { font-size: clamp(40px, 11.5vw, 48px); }
  .hero-image { height: clamp(320px, 94vw, 395px); }
  .hero-image img { object-position: 70% center; }
  .hero-main-action { font-size: 14px; }
  .hero-secondary-actions a { font-size: 12px; }
  .film-nav a, .story-links a { font-size: 11px; }
  .contact-line { font-size: 13px; }
}

/* ==================== Стать частью юбилея ==================== */
.hero-secondary-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-secondary-actions a {
  min-width: 0;
  padding: 0 12px;
  text-align: center;
  line-height: 1.2;
  transition: transform 160ms, border-color 160ms, box-shadow 160ms, color 160ms, background-color 160ms;
}
.hero-secondary-actions a:nth-child(1) { --action-hover: #006b50; }
.hero-secondary-actions a:nth-child(2) { --action-hover: #7351a8; }
.hero-secondary-actions a:nth-child(3) { --action-hover: #987126; }
.hero-secondary-actions a:nth-child(4) { --action-hover: #167f87; }
.hero-secondary-actions a:nth-child(5) { --action-hover: #a14982; }
.hero-secondary-actions a:nth-child(6) { --action-hover: #b8632a; }
.hero-secondary-actions a:hover,
.hero-secondary-actions a:focus-visible {
  border-color: var(--action-hover);
  color: #fff;
  background-color: var(--action-hover);
  box-shadow: 0 14px 28px rgba(29, 54, 48, .2);
  transform: translateY(-4px);
}
.hero-secondary-actions a:focus-visible { outline: 3px solid rgba(216, 188, 112, .52); outline-offset: 3px; }

.join-page-body {
  min-height: 100vh;
  padding: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 88, 62, .07), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(112, 82, 190, .06), transparent 27rem),
    #f7faf8;
}
.join-shell, .support-shell, .auction-shell { padding-bottom: 54px; }
.join-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(36px, 6vw, 76px);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 30%, rgba(255,255,255,.16) 0 7%, transparent 7.3%),
    radial-gradient(circle at 88% 38%, transparent 0 19%, rgba(255,255,255,.1) 19.2% 19.7%, transparent 20%),
    linear-gradient(125deg, #004a35 0%, #006e51 58%, #15856c 100%);
  box-shadow: 0 24px 60px rgba(0, 74, 53, .18);
}
.join-eyebrow {
  margin: 0 0 14px;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.join-hero h1, .endowment-hero h1, .auction-coming h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}
.join-hero > p:last-child { max-width: 680px; margin: 24px 0 0; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.55; }
.join-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.join-card {
  position: relative;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(0, 88, 62, .12);
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 15px 38px rgba(20, 36, 33, .08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.join-card::after { position: absolute; width: 180px; height: 180px; right: -74px; bottom: -78px; border-radius: 50%; content: ""; background: rgba(0, 88, 62, .045); }
.join-card:hover { transform: translateY(-6px); border-color: rgba(0, 88, 62, .3); box-shadow: 0 24px 52px rgba(20, 36, 33, .13); }
.join-card-number { position: absolute; top: 25px; right: 28px; color: rgba(0, 88, 62, .22); font-family: var(--serif); font-size: 48px; line-height: 1; }
.join-card-icon { display: grid; width: 62px; height: 62px; place-items: center; margin-bottom: 54px; border-radius: 50%; color: var(--green); background: #edf7f3; }
.join-card-icon .icon { width: 28px; height: 28px; flex-basis: 28px; }
.join-card h2 { max-width: 300px; margin: 0 0 17px; color: var(--green); font-family: var(--serif); font-size: clamp(29px, 2.4vw, 38px); font-weight: 500; line-height: 1.05; }
.join-card p { max-width: 360px; margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.join-card-link { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: auto; color: var(--green); font-size: 13px; font-weight: 850; }
.join-card-link > span:last-child { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); }
.join-card-support { background: linear-gradient(145deg, #fff 45%, #f2f8f5); }
.join-card-auction { background: linear-gradient(145deg, #fff 45%, #f7f3ff); }
.join-card-auction::after { background: rgba(112, 82, 190, .07); }

.back-inline { width: max-content; display: inline-flex; gap: 9px; align-items: center; color: var(--green); font-size: 13px; font-weight: 800; }
.endowment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 40px;
  align-items: end;
  overflow: hidden;
  padding: clamp(34px, 5vw, 68px);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 6%, rgba(255,255,255,.13) 0 17%, transparent 17.2%),
    linear-gradient(125deg, #004a35, #007457);
  box-shadow: 0 24px 60px rgba(0, 74, 53, .16);
}
.endowment-copy > p:not(.join-eyebrow) { max-width: 700px; margin: 27px 0; font-size: 16px; line-height: 1.7; }
.official-link { display: inline-flex; gap: 12px; align-items: center; color: inherit; font-size: 13px; font-weight: 850; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 5px; }
.endowment-capital { display: grid; gap: 9px; padding: 28px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.endowment-capital span { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.endowment-capital strong { font-family: var(--serif); font-size: clamp(30px, 3.3vw, 48px); font-weight: 500; line-height: 1; white-space: nowrap; }
.endowment-capital small { color: rgba(255,255,255,.72); font-size: 12px; }
.endowment-purpose, .donation-section { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--soft-shadow); }
.support-section-heading { max-width: 780px; margin-bottom: 30px; }
.support-section-heading .join-eyebrow { color: var(--green); }
.support-section-heading h2, .endowment-contact h2 { margin: 0; color: var(--green); font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 500; line-height: 1.05; }
.support-section-heading > p:last-child:not(.join-eyebrow) { margin: 18px 0 0; color: var(--muted); line-height: 1.65; }
.purpose-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.purpose-cards article { min-height: 170px; padding: 24px; border-radius: 14px; background: #f1f7f4; }
.purpose-cards span { color: #6f8f84; font-size: 12px; font-weight: 800; }
.purpose-cards h3 { margin: 44px 0 0; color: var(--green); font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.15; }
.qr-grid { display: grid; grid-template-columns: minmax(0, 820px); gap: 20px; }
.qr-card { display: grid; grid-template-columns: minmax(150px, 190px) minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdfc; }
.qr-card-primary { border-color: rgba(0, 88, 62, .24); background: #f2f9f6; }
.qr-image { overflow: hidden; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(20,36,33,.08); }
.qr-image img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.qr-copy { min-width: 0; }
.qr-bank { color: #6f8f84; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.qr-copy h3 { margin: 12px 0; color: var(--green); font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.13; }
.qr-copy p { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.qr-copy .submit-btn { min-height: 46px; display: inline-flex; align-items: center; padding: 0 20px; }
.qr-copy .official-link { color: var(--green); text-decoration-color: rgba(0,88,62,.25); }
.payment-note { display: flex; gap: 11px; align-items: flex-start; margin: 24px 0 0; padding: 16px 18px; border-radius: 10px; color: var(--muted); background: #f6f8f7; font-size: 12px; line-height: 1.55; }
.payment-note .icon { color: var(--green); }
.endowment-contact { display: flex; gap: 40px; align-items: center; justify-content: space-between; padding: clamp(28px, 4vw, 46px); border-radius: 18px; color: #fff; background: #14372e; }
.endowment-contact .join-eyebrow { color: #8fb7aa; }
.endowment-contact h2 { color: #fff; }
.endowment-contact-links { display: grid; gap: 8px; justify-items: end; text-align: right; }
.endowment-contact-links a,
.endowment-contact-links button {
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.endowment-contact-links span { color: #a8c3bb; font-size: 13px; }

.auction-shell { min-height: calc(100vh - 120px); grid-template-rows: auto 1fr; }
.auction-coming {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 6vw, 82px);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 85%, rgba(197,168,102,.18), transparent 28rem),
    linear-gradient(125deg, #102d26, #00583e 70%, #08735a);
  box-shadow: 0 24px 60px rgba(0, 74, 53, .17);
}
.auction-orbit { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.auction-orbit::before, .auction-orbit::after { position: absolute; border-radius: 50%; content: ""; }
.auction-orbit::before { inset: 12%; border: 1px solid rgba(255,255,255,.14); }
.auction-orbit::after { width: 18px; height: 18px; top: 16%; right: 13%; background: #d6bc7c; box-shadow: 0 0 0 9px rgba(214,188,124,.12); }
.auction-orbit span { font-family: var(--serif); font-size: clamp(90px, 13vw, 180px); line-height: 1; letter-spacing: -.06em; }
.auction-coming-copy { position: relative; z-index: 1; }
.auction-status { width: max-content; display: inline-flex; gap: 10px; align-items: center; margin: 28px 0 24px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.09); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #d6bc7c; box-shadow: 0 0 0 5px rgba(214,188,124,.13); }
.auction-coming-copy > p:not(.join-eyebrow) { max-width: 650px; margin: 0; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.75; }
.auction-coming-actions { display: flex; gap: 24px; align-items: center; margin-top: 32px; }
.auction-coming-actions .submit-btn { min-height: 50px; display: inline-flex; align-items: center; padding: 0 24px; color: #14372e; background: #fff; }

.registration-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: registration-step; }
.registration-steps li { position: relative; min-height: 112px; padding: 48px 18px 18px; border-radius: 10px; color: var(--muted); background: #f4f8f6; font-size: 13px; line-height: 1.5; counter-increment: registration-step; }
.registration-steps li::before { position: absolute; top: 15px; left: 18px; color: var(--green); font-weight: 900; content: "0" counter(registration-step); }

@media (max-width: 1050px) {
  .join-cards { grid-template-columns: 1fr; }
  .join-card { min-height: 300px; }
  .join-card-icon { margin-bottom: 34px; }
  .qr-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-secondary-actions { grid-template-columns: 1fr; }
  .endowment-hero, .auction-coming { grid-template-columns: 1fr; }
  .endowment-capital { max-width: 520px; }
  .auction-orbit { width: min(68vw, 420px); justify-self: center; }
}

@media (max-width: 760px) {
  .join-hero { min-height: 290px; border-radius: 14px; }
  .join-hero h1, .endowment-hero h1, .auction-coming h1 { font-size: clamp(39px, 11vw, 58px); overflow-wrap: break-word; }
  .join-card { min-height: 330px; padding: 24px; }
  .join-card-number { right: 23px; }
  .purpose-cards, .registration-steps { grid-template-columns: 1fr; }
  .purpose-cards article { min-height: 135px; }
  .purpose-cards h3 { margin-top: 28px; }
  .qr-card { grid-template-columns: minmax(120px, 170px) minmax(0, 1fr); }
  .endowment-contact { align-items: flex-start; flex-direction: column; }
  .endowment-contact-links { justify-items: start; text-align: left; }
  .auction-coming { min-height: 0; }
  .auction-orbit { width: min(72vw, 340px); }
}

@media (max-width: 560px) {
  .join-shell, .support-shell, .auction-shell { gap: 16px; padding-bottom: 32px; }
  .join-hero, .endowment-hero, .auction-coming { padding: 28px 22px; }
  .join-hero { min-height: 260px; }
  .join-hero > p:last-child, .endowment-copy > p:not(.join-eyebrow), .auction-coming-copy > p:not(.join-eyebrow) { font-size: 14px; }
  .endowment-capital { padding: 20px; }
  .endowment-capital strong { font-size: clamp(26px, 8.4vw, 38px); white-space: normal; }
  .endowment-purpose, .donation-section { padding: 22px; }
  .qr-card { grid-template-columns: 1fr; padding: 18px; }
  .qr-image { width: min(100%, 250px); margin: 0 auto; }
  .auction-coming { gap: 28px; }
  .auction-coming-actions { align-items: flex-start; flex-direction: column; }
}

/* ==================== Визуальная переработка раздела участия ==================== */
.anniversary-inner-header {
  grid-template-columns: auto auto;
  justify-content: space-between;
  min-height: 92px;
  margin-bottom: 0;
  padding: 18px 0;
  border-bottom: 1px solid #e7ece9;
  background: rgba(255,255,255,.96);
}
.anniversary-inner-header .header-actions { justify-self: end; }
.anniversary-inner-header .brand img { width: 154px; }
.join-page-body, body[data-page="participate"] { background: #fff; }
.join-shell, .support-shell, .auction-shell, .participate-redesign-shell { padding-top: 24px; }

.join-hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(390px, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
  padding: 0;
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}
.join-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 70px 24px 70px 0; }
.join-hero .join-eyebrow { color: var(--green); }
.join-hero h1, .participate-intro h1, .endowment-hero h1, .auction-coming h1 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.055em;
}
.join-hero h1 { color: var(--green); font-size: clamp(52px, 5.4vw, 88px); }
.join-hero-copy > p:last-of-type { max-width: 560px; margin: 27px 0 30px; color: #425d55; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.6; }
.join-hero-cta { width: max-content; display: inline-flex; gap: 20px; align-items: center; min-height: 58px; padding: 0 22px 0 26px; color: #fff; background: var(--green); font-size: 13px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.join-hero-cta > span:last-child { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; }
.join-hero-art { position: relative; min-width: 0; overflow: hidden; }
.join-hero-art::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 24%; content: ""; background: linear-gradient(90deg, #fff, transparent); }
.join-hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 59% center; }
.join-directions { padding: 54px 0 18px; }
.join-directions-title { margin-bottom: 30px; }
.join-directions-title h2 { color: var(--green); font-size: clamp(18px, 2vw, 27px); line-height: 1.2; text-align: center; }
.join-cards { gap: 16px; }
.join-card {
  min-height: 510px;
  display: flex;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(19,49,41,.11);
}
.join-card::after, .join-card-number { display: none; }
.join-card-visual { display: block; height: 188px; overflow: hidden; background: #edf2ef; }
.join-card-visual img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 360ms ease; }
.join-card:hover .join-card-visual img { transform: scale(1.045); }
.join-card-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 38px 28px 26px; }
.join-card-icon { position: absolute; top: -30px; left: 28px; width: 60px; height: 60px; margin: 0; border: 5px solid #fff; background: #e7f4ef; }
.join-card-kicker { display: block; margin-bottom: 16px; color: #628077; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.join-card h2 { max-width: none; margin: 0 0 14px; color: #102e26; font-family: var(--sans); font-size: clamp(23px, 2vw, 30px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; text-transform: uppercase; }
.join-card p { margin-bottom: 22px; }
.join-card-link { padding-top: 18px; border-top: 1px solid #e4ebe8; }
.join-card-support, .join-card-auction { background: #fff; }

.participate-redesign-shell { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 48px; }
.participate-intro {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(390px, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  background: #f0f6f3;
}
.participate-intro-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 72px); }
.participate-intro-copy .join-eyebrow { color: var(--green); }
.participate-intro h1 { color: var(--green); font-size: clamp(52px, 5.2vw, 82px); }
.participate-intro-copy > p:last-of-type { max-width: 600px; margin: 26px 0 30px; color: #425d55; font-size: 17px; line-height: 1.65; }
.participate-intro-art { position: relative; min-width: 0; overflow: hidden; }
.participate-intro-art::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 22%; content: ""; background: linear-gradient(90deg, #f0f6f3, transparent); }
.participate-intro-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 46%; }
.registration-form-redesign { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); overflow: hidden; box-shadow: 0 18px 48px rgba(20,49,41,.12); }
.registration-event-panel, .registration-contact-panel { min-width: 0; padding: clamp(32px, 4vw, 56px); }
.registration-event-panel { color: #fff; background: linear-gradient(145deg, #004c37, #007457); }
.registration-contact-panel { background: #fff; }
.registration-number { margin: 0 0 38px; color: #c5a866; font-size: 13px; font-weight: 900; letter-spacing: .15em; }
.registration-form-redesign h2 { margin: 0; font-family: var(--sans); font-size: clamp(29px, 3vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; text-transform: uppercase; }
.registration-event-panel > p:not(.registration-number), .registration-contact-panel > p:not(.registration-number) { max-width: 570px; margin: 17px 0 28px; line-height: 1.65; }
.registration-event-panel > p:not(.registration-number) { color: rgba(255,255,255,.72); }
.registration-contact-panel > p:not(.registration-number) { color: var(--muted); }
.registration-select-label, .registration-fields label, .registration-contact-panel > .check-row { display: grid; gap: 8px; font-size: 12px; font-weight: 850; }
.registration-select-label span { color: rgba(255,255,255,.8); }
.registration-select-label select { min-width: 0; border: 0; color: #153b31; background: #fff; }
.selected-event-summary { margin-top: 16px; padding: 23px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); }
.selected-event-summary > span { color: #e1cd9c; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.selected-event-summary h3 { margin: 12px 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }
.selected-event-summary p { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.5; }
.registration-fields { display: grid; gap: 15px; }
.registration-contact-panel .check-row { grid-template-columns: 18px 1fr; margin: 20px 0; color: var(--muted); line-height: 1.4; }
.registration-contact-panel .submit-btn { width: 100%; min-height: 58px; }
.registration-guide { border: 0; border-radius: 0; box-shadow: none; background: #f3f7f5; }
.registration-guide .section-title-row h2 { font-family: var(--sans); font-size: clamp(28px, 3vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; text-transform: uppercase; }

.endowment-hero { min-height: 560px; grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr); gap: 0; align-items: stretch; padding: 0; border-radius: 0; background: #00583e; }
.endowment-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 68px); }
.endowment-hero h1 { font-size: clamp(45px, 4.7vw, 72px); text-transform: uppercase; }
.endowment-visual { position: relative; min-width: 0; overflow: hidden; }
.endowment-visual::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 20%; content: ""; background: linear-gradient(90deg, #00583e, transparent); }
.endowment-visual > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 60% center; }
.endowment-capital { position: absolute; z-index: 2; right: 26px; bottom: 26px; left: 26px; background: rgba(0,61,44,.82); }
.support-section-heading h2, .endowment-contact h2, .purpose-cards h3, .qr-copy h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; }
.support-section-heading h2, .endowment-contact h2 { text-transform: uppercase; }
.auction-coming h1 { font-size: clamp(48px, 5.2vw, 80px); text-transform: uppercase; }

@media (max-width: 1050px) {
  .join-hero, .participate-intro, .endowment-hero { grid-template-columns: 1fr; }
  .join-hero-copy { padding: 54px 0 38px; }
  .join-hero-art { min-height: 500px; }
  .join-hero-art::before { inset: 0 0 auto; width: 100%; height: 20%; background: linear-gradient(180deg, #fff, transparent); }
  .join-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .join-card { min-height: 500px; }
  .participate-intro-art { min-height: 420px; }
  .participate-intro-art::before { inset: 0 0 auto; width: 100%; height: 18%; background: linear-gradient(180deg, #f0f6f3, transparent); }
  .registration-form-redesign { grid-template-columns: 1fr; }
  .endowment-visual { min-height: 500px; }
  .endowment-visual::before { inset: 0 0 auto; width: 100%; height: 20%; background: linear-gradient(180deg, #00583e, transparent); }
}

@media (max-width: 760px) {
  .anniversary-inner-header { grid-template-columns: 1fr auto; min-height: 78px; padding: 13px 0; }
  .anniversary-inner-header .brand img { width: 128px; }
  .join-shell, .support-shell, .auction-shell, .participate-redesign-shell { padding-top: 16px; }
  .join-hero { min-height: 0; }
  .join-hero-copy { padding: 38px 0 28px; }
  .join-hero h1, .participate-intro h1 { font-size: clamp(42px, 12vw, 62px); }
  .join-hero-art { min-height: 390px; }
  .join-directions { padding-top: 40px; }
  .join-cards { grid-template-columns: 1fr; }
  .join-card { min-height: 0; }
  .join-card-visual { height: 210px; }
  .participate-intro-copy { padding: 38px 24px; }
  .participate-intro-art { min-height: 360px; }
  .registration-event-panel, .registration-contact-panel { padding: 32px 24px; }
  .registration-number { margin-bottom: 24px; }
  .endowment-copy { padding: 38px 24px; }
  .endowment-visual { min-height: 440px; }
  .auction-coming h1 { font-size: clamp(42px, 11vw, 58px); }
}

@media (max-width: 480px) {
  .join-hero-art { min-height: 330px; }
  .join-hero-art img { object-position: 55% center; }
  .join-directions-title h2 { font-size: 16px; }
  .join-card-visual { height: 185px; }
  .join-card-body { padding: 36px 22px 22px; }
  .participate-intro-art { min-height: 300px; }
  .registration-form-redesign { margin-right: -1px; margin-left: -1px; }
  .endowment-capital { right: 14px; bottom: 14px; left: 14px; }
}
/* ==================== Стать частью юбилея: портал без изображений ==================== */
.join-portal {
  position: relative;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 2% 100%, rgba(197,168,102,.17), transparent 32rem),
    linear-gradient(125deg, #10382e 0%, #00583e 54%, #08785d 100%);
  box-shadow: 0 24px 60px rgba(0,74,53,.18);
}
.join-portal::before,
.join-portal::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.join-portal::before { width: 470px; height: 470px; left: -190px; bottom: -260px; }
.join-portal::after { width: 260px; height: 260px; top: -150px; left: 38%; }
.join-portal-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(44px, 5vw, 76px);
  border-right: 1px solid rgba(255,255,255,.13);
}
.join-portal-copy .join-eyebrow { color: #d9c38b; }
.join-portal-copy h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(50px, 5vw, 78px);
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.055em;
}
.join-portal-copy > p:last-of-type {
  max-width: 540px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.7;
}
.join-portal-mark {
  position: absolute;
  right: 28px;
  bottom: -25px;
  color: rgba(255,255,255,.055);
  font-family: var(--serif);
  font-size: clamp(140px, 16vw, 260px);
  line-height: 1;
  pointer-events: none;
}
.join-portal-options {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  min-width: 0;
  padding: 28px;
  background: rgba(0,28,20,.11);
}
.join-portal-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr) 46px;
  gap: 18px;
  align-items: center;
  padding: 26px 24px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.join-portal-option:last-child { border-bottom: 0; }
.join-portal-option:hover { color: #fff; background: rgba(255,255,255,.1); transform: translateX(5px); }
.join-option-number { align-self: start; padding-top: 5px; color: #d9c38b; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.join-option-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
}
.join-option-icon .icon { width: 25px; height: 25px; flex-basis: 25px; }
.join-option-copy { min-width: 0; display: grid; gap: 8px; }
.join-option-copy small { color: #bed5cc; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.join-option-copy strong { font-size: clamp(22px, 2.1vw, 31px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; text-transform: uppercase; }
.join-option-copy > span { max-width: 570px; color: rgba(255,255,255,.63); font-size: 12px; line-height: 1.5; }
.join-option-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  font-size: 18px;
}
@media (max-width: 980px) {
  .join-portal { grid-template-columns: 1fr; }
  .join-portal-copy { min-height: 440px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .join-portal-options { grid-template-rows: none; }
}
@media (max-width: 620px) {
  .join-portal-copy { min-height: 390px; padding: 36px 24px; }
  .join-portal-copy h1 { font-size: clamp(42px, 12vw, 58px); }
  .join-portal-copy > p:last-of-type { font-size: 14px; }
  .join-portal-mark { right: 10px; font-size: 150px; }
  .join-portal-options { padding: 12px; }
  .join-portal-option {
    grid-template-columns: 34px minmax(0, 1fr) 40px;
    gap: 12px;
    padding: 22px 12px;
  }
  .join-option-icon { display: none; }
  .join-option-copy strong { font-size: 21px; }
  .join-option-copy > span { font-size: 11px; }
  .join-option-arrow { width: 38px; height: 38px; }
}

/* ==================== Мягкая геометрия и участие без изображения ==================== */
.join-portal,
.participate-intro,
.registration-form-redesign,
.endowment-hero,
.auction-coming {
  border-radius: 22px;
}

.join-portal-options {
  gap: 12px;
}

.join-portal-option,
.join-portal-option:last-child {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.join-portal-option:hover {
  transform: translateY(-2px);
}

.participate-intro {
  position: relative;
  min-height: 480px;
  display: block;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(197,168,102,.18), transparent 18rem),
    linear-gradient(125deg, #10382e 0%, #00583e 58%, #08785d 100%);
  box-shadow: 0 24px 60px rgba(0,74,53,.16);
}

.participate-intro::before,
.participate-intro::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.participate-intro::before {
  width: 430px;
  height: 430px;
  right: -130px;
  top: -240px;
}

.participate-intro::after {
  width: 240px;
  height: 240px;
  right: 12%;
  bottom: -170px;
}

.participate-intro-copy {
  position: relative;
  z-index: 1;
  max-width: 940px;
  min-height: 480px;
  padding: clamp(44px, 6vw, 82px);
}

.participate-intro-copy .join-eyebrow { color: #d9c38b; }
.participate-intro h1 { color: #fff; }
.participate-intro-copy > p:last-of-type { color: rgba(255,255,255,.74); }
.participate-intro-art { display: none; }

.participate-intro .join-hero-cta {
  border-radius: 12px;
  color: var(--green);
  background: #fff;
}

.selected-event-summary,
.registration-form-redesign input,
.registration-form-redesign select,
.registration-contact-panel .submit-btn {
  border-radius: 12px;
}

.registration-guide,
.endowment-purpose,
.donation-section,
.endowment-contact {
  border-radius: 20px;
}

.registration-steps li { border-radius: 14px; }

@media (max-width: 620px) {
  .join-portal,
  .participate-intro,
  .registration-form-redesign,
  .endowment-hero,
  .auction-coming {
    border-radius: 16px;
  }

  .join-portal-options { gap: 8px; }
  .join-portal-option { border-radius: 13px; }
  .participate-intro,
  .participate-intro-copy { min-height: 410px; }
  .registration-form-redesign h2 {
    font-size: clamp(24px, 6.8vw, 28px);
    letter-spacing: -.035em;
    overflow-wrap: break-word;
  }
}

/* ==================== Юбилейный знак 150 ==================== */
.participate-intro-copy {
  z-index: 2;
  max-width: min(940px, 64%);
}

.participate-intro-mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(44px, 7vw, 128px);
  width: clamp(330px, 28vw, 470px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  color: rgba(255,255,255,.2);
  transform: translateY(-50%);
  pointer-events: none;
}

.participate-intro-mark::before {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  content: "";
}

.participate-intro-mark::after {
  position: absolute;
  top: 13%;
  right: 17%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  content: "";
  background: #d7b968;
  box-shadow: 0 0 0 11px rgba(215,185,104,.13);
}

.participate-intro-mark span {
  font-family: var(--serif);
  font-size: clamp(132px, 14vw, 224px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.08em;
  transform: translateX(-.04em);
}

@media (max-width: 1050px) {
  .participate-intro-copy { max-width: 72%; }
  .participate-intro-mark {
    right: 24px;
    width: 310px;
    color: rgba(255,255,255,.14);
  }
}

@media (max-width: 760px) {
  .participate-intro-copy { max-width: 100%; }
  .participate-intro-mark {
    top: auto;
    right: -28px;
    bottom: -64px;
    width: 210px;
    color: rgba(255,255,255,.1);
    transform: none;
  }
  .participate-intro-mark span { font-size: 104px; }
  .participate-intro-mark::after { width: 9px; height: 9px; box-shadow: 0 0 0 8px rgba(215,185,104,.12); }
}

/* Главная: юбилейный знак заменяет отдельное золотое «150 лет». */
.jubilee-topbar { flex-direction: row; }
.jubilee-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border: 1px solid rgba(0, 88, 62, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(13, 51, 45, .12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 1;
}
.jubilee-logo img { width: clamp(138px, 11vw, 188px); }

/* ==================== Финальная система участия ==================== */
.join-role-shell { gap: 24px; }
.join-role-hero {
  min-height: 520px;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
}
.join-role-hero .join-portal-copy {
  padding: clamp(42px, 6vw, 84px);
}
.join-role-lead {
  max-width: 650px !important;
  font-size: clamp(17px, 1.5vw, 22px) !important;
}
.join-role-note {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border-left: 1px solid rgba(255,255,255,.13);
  background: #0a4838;
}
.join-role-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% center;
}
.join-role-note::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0,52,38,.48) 0%, rgba(0,52,38,.08) 34%, transparent 58%),
    linear-gradient(0deg, rgba(0,38,28,.7) 0%, rgba(0,38,28,.14) 48%, transparent 72%);
}
.join-role-note-content {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 4vw, 48px);
  bottom: clamp(22px, 4vw, 48px);
  left: clamp(22px, 4vw, 48px);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(5,66,48,.78);
  box-shadow: 0 18px 42px rgba(0,31,23,.24);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.join-role-note .icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: #dcc781;
}
.join-role-note p {
  max-width: 470px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.7;
}
.join-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.join-role-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr) 46px;
  gap: 18px;
  align-items: center;
  min-height: 190px;
  padding: 26px 28px;
  border: 1px solid rgba(0,88,62,.13);
  border-radius: 18px;
  color: #17352d;
  background: #fff;
  box-shadow: 0 14px 34px rgba(19,49,41,.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.join-role-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,88,62,.34);
  box-shadow: 0 20px 44px rgba(19,49,41,.12);
}
.join-role-card .join-option-number { color: #aa8738; }
.join-role-card .join-option-icon {
  border-color: rgba(0,88,62,.14);
  color: var(--green);
  background: #eef7f3;
}
.join-role-card .join-option-copy small { color: #69857c; }
.join-role-card .join-option-copy strong {
  color: var(--green);
  font-size: clamp(21px, 1.8vw, 29px);
}
.join-role-card .join-option-copy > span { color: var(--muted); }
.join-role-card .join-option-arrow {
  border-color: rgba(0,88,62,.22);
  color: var(--green);
}

.participation-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f5f8f7;
}
.participation-mode-tabs button {
  min-width: 0;
  min-height: 62px;
  display: flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 0;
  border-radius: 13px;
  color: #37544c;
  background: transparent;
  font: 800 13px/1.25 var(--sans);
  cursor: pointer;
}
.participation-mode-tabs button.is-active {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(0,88,62,.2);
}
.participation-mode-tabs .icon { width: 21px; height: 21px; flex-basis: 21px; }
.registration-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.registration-fields .field-wide { grid-column: 1 / -1; }
.registration-form-redesign input,
.registration-form-redesign select,
.registration-form-redesign textarea,
.quick-greeting input,
.quick-greeting select,
.quick-greeting textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cfdbd7;
  border-radius: 12px;
  color: var(--text);
  background: #fff;
  font: inherit;
}
.registration-form-redesign textarea,
.quick-greeting textarea { resize: vertical; }
.registration-event-panel[hidden] + .registration-contact-panel { grid-column: 1 / -1; }
.registration-event-panel[hidden] + .registration-contact-panel .registration-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.submit-btn:disabled { opacity: .62; cursor: wait; }
.ticket-output.is-visible { display: block; }
.ticket-output.is-error { color: #8d3f32; background: #fff2ee; }
.ticket-output.is-fallback { color: #5d4b1d; background: #fff9e9; }
.ticket-output a { color: inherit; font-weight: 900; text-decoration: underline; }

/* ==================== Поддержка: направления и карточки ==================== */
.support-shell { gap: 28px; }
.support-manifesto {
  max-width: 650px;
  margin: 4px 0 28px;
  padding: 20px 22px;
  border-left: 3px solid #d9c276;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.08);
  font-family: var(--serif);
  font-size: clamp(18px, 1.65vw, 25px);
  line-height: 1.45;
}
.endowment-visual-caption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px;
  color: #fff;
  background: rgba(0,61,44,.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.endowment-visual-caption span {
  color: #dec577;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
}
.endowment-visual-caption p { max-width: 260px; margin: 0; font-weight: 750; line-height: 1.35; }
.support-directions,
.donation-section {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.support-drawers { display: grid; gap: 12px; }
.support-drawer {
  overflow: hidden;
  border: 1px solid #dce6e2;
  border-radius: 17px;
  background: #fbfdfc;
}
.support-drawer[open] { border-color: rgba(0,88,62,.27); background: #fff; }
.support-drawer summary {
  min-height: 104px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 44px;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  color: var(--green);
  cursor: pointer;
  list-style: none;
}
.support-drawer summary::-webkit-details-marker { display: none; }
.support-drawer-number { color: #b08c3c; font: 500 31px/1 var(--serif); }
.support-drawer summary > span:nth-child(2) { display: grid; gap: 7px; }
.support-drawer summary small {
  color: #6b877e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.support-drawer summary strong { font-size: clamp(20px, 2vw, 29px); line-height: 1.15; }
.support-drawer-toggle {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #cddbd6;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 400;
  transition: transform 180ms ease;
}
.support-drawer[open] .support-drawer-toggle { transform: rotate(45deg); }
.support-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 22px 22px;
}
.support-choice-grid button {
  min-width: 0;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 19px;
  border: 1px solid #dce6e2;
  border-radius: 14px;
  color: #193d33;
  background: #f6faf8;
  font: 800 13px/1.45 var(--sans);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.support-choice-grid button:hover {
  transform: translateY(-2px);
  border-color: rgba(0,88,62,.32);
  background: #eef7f3;
}
.institute-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.support-mark {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 72px;
}
.support-mark img {
  display: block;
  width: auto;
  max-width: 132px;
  height: 68px;
  object-fit: contain;
}
.support-mark b {
  min-width: 58px;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 7px 10px;
  border-radius: 11px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(0,88,62,.15);
  font: 900 11px/1 var(--sans);
  letter-spacing: .04em;
}
.institute-choice-grid button:nth-child(3n+2) .support-mark b { background: #207d87; }
.institute-choice-grid button:nth-child(3n+3) .support-mark b { background: #9b792e; }
.direction-symbol {
  color: #a27e2e;
  font: 800 11px/1 var(--sans);
  letter-spacing: .06em;
}
.direction-symbol { font-size: 20px; }
.bank-app-note {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  color: #0e4938;
  background: #eaf5f0;
  font-size: 13px;
  line-height: 1.45;
}
.support-source-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.support-source-links a { color: var(--green); font-size: 12px; font-weight: 850; }
.support-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 24px;
  background: rgba(5,25,19,.76);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.support-modal[hidden] { display: none; }
.has-support-modal { overflow: hidden; }
.support-modal-dialog {
  position: relative;
  width: min(920px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(0,88,62,.09), transparent 22rem),
    #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.support-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid #ccd9d5;
  border-radius: 50%;
  color: var(--green);
  background: #fff;
  font-size: 27px;
  cursor: pointer;
}
.support-modal-dialog .join-eyebrow { padding-right: 50px; color: #a07c2f; }
.support-modal-dialog h2 {
  max-width: 720px;
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.05;
}
.support-modal-copy { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.support-modal-qr { display: grid; grid-template-columns: minmax(0, 220px); gap: 18px; margin: 24px 0; }
.support-modal-qr figure { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #f8fbfa; }
.support-modal-qr img { width: 100%; aspect-ratio: 1; display: block; object-fit: contain; }
.support-modal-qr figcaption { margin-top: 9px; color: #5c786f; font-size: 11px; font-weight: 850; text-align: center; }
.support-modal-dialog > .submit-btn { min-height: 50px; display: inline-flex; align-items: center; padding: 0 22px; }

/* ==================== Поздравления и медиагалерея ==================== */
body[data-page="cinema"] .cinema-stats {
  display: block;
  padding: clamp(22px, 3vw, 38px);
}
body[data-page="cinema"] .cinema-stats > .cinema-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
body[data-page="cinema"] .cinema-stat-row > div {
  display: grid;
  grid-template-columns: 44px auto;
  grid-template-rows: auto auto;
  align-items: center;
  min-width: 0;
  padding: 16px;
  border-radius: 14px;
  background: #f5f9f7;
}
.cinema-stat-row .icon { grid-row: 1 / 3; }
body[data-page="cinema"] .cinema-stats > .greeting-form-heading {
  display: block;
  max-width: 850px;
  margin: 34px 0 14px;
}
.greeting-form-heading .join-eyebrow { color: #a07c2f; }
.greeting-form-heading h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 500;
}
.greeting-form-heading > p:last-child { color: var(--muted); line-height: 1.65; }
body[data-page="cinema"] .cinema-stats > .quick-greeting {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbfa;
}
body[data-page="cinema"] .greeting-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.quick-greeting .check-row { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 12px; line-height: 1.5; }
.quick-greeting .check-row input { width: 18px; min-height: 18px; flex: 0 0 18px; margin-top: 1px; }
.application-form .check-row a,
.form-privacy-note a {
  color: var(--green);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(0, 88, 62, .32);
  text-underline-offset: 2px;
}
.form-privacy-note,
.registration-contact-panel > .form-privacy-note {
  max-width: none;
  margin: 16px 0 20px;
  padding: 13px 15px;
  border: 1px solid #d8e4e0;
  border-radius: 12px;
  color: #667b75;
  background: #f5f9f7;
  font-size: 11px;
  line-height: 1.6;
}
.gallery-coming-soon {
  position: relative;
  min-height: min(720px, calc(100vh - 150px));
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 7vw, 100px);
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 7vw, 96px);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 82%, rgba(217,194,118,.2), transparent 20rem),
    linear-gradient(130deg, #11372e, #00583e 62%, #08775c);
}
.gallery-soon-ornament { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.gallery-soon-ornament::before { position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.gallery-soon-ornament span { font: 500 clamp(90px, 13vw, 190px)/1 var(--serif); }
.gallery-soon-ornament i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #dcc475; box-shadow: 0 0 0 9px rgba(220,196,117,.13); }
.gallery-soon-ornament i:first-of-type { top: 15%; right: 17%; }
.gallery-soon-ornament i:last-of-type { bottom: 12%; left: 24%; width: 7px; height: 7px; }
.gallery-coming-soon .coming-soon-body h1 { color: #fff; font-size: clamp(46px, 5.8vw, 82px); }
.gallery-coming-soon .coming-soon-body > p:not(.story-eyebrow) { max-width: 690px; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.7; }
.gallery-soon-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 30px; }
.gallery-soon-actions .submit-btn { min-height: 54px; display: inline-flex; gap: 11px; align-items: center; padding: 0 24px; color: var(--green); background: #fff; }
.gallery-soon-actions .official-link { color: #fff; }
.gallery-soon-note { margin-top: 24px !important; font-size: 12px !important; }

/* ==================== Общий подвал ==================== */
.site-wide-footer {
  width: min(1880px, calc(100% - 32px));
  margin: 32px auto 0;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  color: #fff;
  background: #0d3027;
}
.footer-countdown,
.footer-contact {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  padding: clamp(28px, 4vw, 54px);
}
.footer-countdown { border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-countdown-copy .join-eyebrow { color: #dcc475; }
.footer-countdown-copy > strong { font: 500 clamp(27px, 3vw, 42px)/1.1 var(--serif); }
.countdown-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.countdown-values span {
  display: grid;
  gap: 6px;
  padding: 18px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  text-align: center;
}
.countdown-values b { color: #fff; font: 500 clamp(30px, 4vw, 56px)/1 var(--serif); }
.countdown-values small { color: #a8c1b9; font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.footer-contact { background: #123a30; }
.footer-contact h2 { max-width: 760px; margin: 0; font: 500 clamp(28px, 3.4vw, 48px)/1.08 var(--serif); }
.footer-contact p { max-width: 680px; margin: 16px 0 0; color: #afc6bf; line-height: 1.6; }
.footer-contact-links { display: grid; gap: 10px; justify-items: end; }
.footer-contact-links a {
  width: min(100%, 390px);
  min-height: 54px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 13px;
  color: #fff;
  background: rgba(255,255,255,.05);
  font-weight: 800;
}
.footer-resources {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(28px, 4vw, 54px);
  border-top: 1px solid rgba(255,255,255,.1);
  background: #0b2c24;
}
.footer-resources > strong {
  color: #d6e5df;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
}
.footer-resources .social-row { gap: 10px; }
.footer-resources .social-row a {
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(255,255,255,.08);
  box-shadow: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}
.footer-resources .social-row a:hover {
  color: #173c32;
  background: #fff;
  transform: translateY(-2px);
}
.footer-resources .social-row .icon { width: 21px; height: 21px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 20px clamp(28px, 4vw, 54px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-nav a { color: #b9cdc7; font-size: 12px; font-weight: 800; }

@media (max-width: 980px) {
  .join-role-hero { grid-template-columns: 1fr; }
  .join-role-note { min-height: clamp(360px, 58vw, 520px); border-top: 1px solid rgba(255,255,255,.13); border-left: 0; }
  .support-choice-grid,
  .institute-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-countdown,
  .footer-contact { grid-template-columns: 1fr; }
  .footer-contact-links { justify-items: start; }
  .gallery-coming-soon { grid-template-columns: 1fr; }
  .gallery-soon-ornament { width: min(58vw, 360px); justify-self: center; }
}

@media (max-width: 720px) {
  .join-role-grid { grid-template-columns: 1fr; }
  .join-role-card { grid-template-columns: 34px minmax(0, 1fr) 40px; min-height: 170px; gap: 12px; padding: 22px 17px; }
  .join-role-card .join-option-icon { display: none; }
  .join-role-card .join-option-copy strong { font-size: 21px; }
  .participation-mode-tabs { grid-template-columns: 1fr; }
  .participation-mode-tabs button { justify-content: flex-start; }
  .registration-fields,
  .registration-event-panel[hidden] + .registration-contact-panel .registration-fields { grid-template-columns: 1fr; }
  .registration-fields .field-wide { grid-column: auto; }
  .support-choice-grid,
  .institute-choice-grid { grid-template-columns: 1fr; }
  .support-drawer summary { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 10px; padding: 18px 15px; }
  .support-drawer-toggle { width: 36px; height: 36px; }
  .support-modal { padding: 12px; }
  .support-modal-dialog { padding: 34px 20px 24px; }
  .support-modal-qr { grid-template-columns: minmax(0, 220px); }
  body[data-page="cinema"] .greeting-row { grid-template-columns: 1fr; }
  body[data-page="cinema"] .cinema-stats > .cinema-stat-row { grid-template-columns: 1fr; }
  .gallery-coming-soon { min-height: 650px; padding: 32px 22px; }
  .gallery-soon-ornament { width: min(72vw, 280px); }
  .site-wide-footer { width: 100%; margin-top: 22px; border-radius: 20px 20px 0 0; }
  .countdown-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-resources { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 460px) {
  .join-role-hero .join-portal-copy { padding: 34px 22px; }
  .join-role-note { min-height: 330px; padding: 0; }
  .join-role-image { object-position: 58% center; }
  .join-role-note-content { right: 16px; bottom: 16px; left: 16px; grid-template-columns: 1fr; padding: 18px; }
  .join-role-note .icon { display: none; }
  .support-directions,
  .donation-section { padding: 20px 15px; }
  .support-choice-grid { padding: 0 12px 12px; }
  .support-modal-qr { gap: 8px; }
  .support-modal-qr figure { padding: 7px; }
  .footer-countdown,
  .footer-contact { padding: 30px 20px; }
  .footer-nav { padding: 18px 20px; }
}

/* ==================== Финальная мобильная полировка ==================== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #075f46;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}

/* Логотип на главной остается самостоятельным знаком без капсулы. */
.jubilee-logo {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero-image picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-image picture img {
  display: block;
  max-width: none;
}

/* Возвращаем фотографию в первый экран формы участия. */
.participate-intro {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr);
  color: #fff;
  background:
    radial-gradient(circle at 7% 92%, rgba(217, 194, 118, .17), transparent 21rem),
    linear-gradient(128deg, #10382e 0%, #00583e 70%, #08785d 100%);
}

.participate-intro-copy {
  z-index: 2;
  min-width: 0;
  max-width: none;
  min-height: 500px;
  padding: clamp(40px, 4vw, 64px);
}

.participate-intro-copy .join-eyebrow { color: #ddc987; }
.participate-intro h1 {
  max-width: 100%;
  color: #fff;
  font-size: clamp(46px, 4vw, 68px);
  line-height: .94;
  letter-spacing: -.035em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.participate-intro-copy > p:last-of-type { color: rgba(255, 255, 255, .78); }

.participate-intro-art {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 500px;
  display: block;
  overflow: hidden;
}

.participate-intro-art::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 22%;
  content: "";
  background: linear-gradient(90deg, #00583e, transparent);
  pointer-events: none;
}

.participate-intro-art picture {
  width: 100%;
  height: 100%;
  display: block;
}

.participate-intro-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 38%;
}

/* Карточки форматов: без мелких вводных подписей, с ясной иконкой. */
.join-role-card {
  grid-template-columns: 58px minmax(0, 1fr) 44px;
  min-height: 164px;
  padding: 24px 26px;
}

.join-role-card .join-option-number,
.join-role-card .join-option-copy small {
  display: none;
}

.join-role-card .join-option-icon {
  width: 58px;
  height: 58px;
}

.join-role-card .join-option-icon .icon {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
}

.join-role-card .join-option-copy { gap: 10px; }
.join-role-card .join-option-copy strong { line-height: 1.08; }
.join-role-card .join-option-copy > span { font-size: 13px; line-height: 1.55; }

/* Поддержка: иконки направлений и компактные заголовки аккордеона. */
.support-drawer summary {
  grid-template-columns: 58px minmax(0, 1fr) 44px;
}

.support-drawer summary small { display: none; }

.support-drawer-icon,
.support-choice-icon {
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--green);
  background: #e9f5f0;
  box-shadow: inset 0 0 0 1px rgba(0, 88, 62, .1);
}

.support-drawer-icon {
  width: 54px;
  height: 54px;
}

.support-drawer:nth-child(2) .support-drawer-icon {
  color: #176d77;
  background: #e8f4f5;
  box-shadow: inset 0 0 0 1px rgba(23, 109, 119, .12);
}

.support-drawer:nth-child(3) .support-drawer-icon {
  color: #8a6925;
  background: #f8f1df;
  box-shadow: inset 0 0 0 1px rgba(138, 105, 37, .12);
}

.support-drawer-icon .icon {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.support-choice-icon {
  width: 46px;
  height: 46px;
}

.support-choice-icon .icon {
  width: 23px;
  height: 23px;
  flex-basis: 23px;
}

.support-choice-grid:not(.institute-choice-grid) button:nth-child(3n + 2) .support-choice-icon {
  color: #176d77;
  background: #e8f4f5;
}

.support-choice-grid:not(.institute-choice-grid) button:nth-child(3n + 3) .support-choice-icon {
  color: #8a6925;
  background: #f8f1df;
}

.support-modal-dialog {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-width: 980px) {
  .participate-intro { grid-template-columns: minmax(0, 1fr); }
  .participate-intro-copy,
  .participate-intro-art {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .participate-intro-copy { min-height: 410px; }
  .participate-intro-art { min-height: clamp(320px, 58vw, 470px); }
  .participate-intro-art::before {
    inset: 0 0 auto;
    width: 100%;
    height: 22%;
    background: linear-gradient(180deg, #00583e, transparent);
  }
}

@media (max-width: 760px) {
  :root {
    --page-wide: min(100% - 32px, 1440px);
    --page-content: min(100% - 32px, 1320px);
  }

  .jubilee-hero { padding-bottom: 28px; }
  .jubilee-topbar {
    flex-direction: row;
    padding: 17px 20px 0;
  }
  .jubilee-logo img { width: clamp(118px, 34vw, 136px); }
  .jubilee-topbar .header-actions { padding: 3px; }
  .jubilee-topbar .lang-btn {
    min-width: 44px;
    height: 44px;
  }
  .anniversary-inner-header .lang-btn {
    min-width: 44px;
    height: 44px;
  }
  .hero-copy {
    width: 100%;
    margin: 0;
    padding: 28px 20px 0;
  }
  .hero-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(38px, 11.5vw, 50px);
    line-height: .98;
  }
  .hero-lead {
    width: 100%;
    max-width: 430px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.62;
  }
  .hero-main-action {
    width: 100%;
    min-height: 58px;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 13px;
  }
  .hero-secondary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }
  .hero-secondary-actions a {
    min-height: 70px;
    height: auto;
    flex-direction: column;
    gap: 7px;
    padding: 9px 6px;
    font-size: 11.5px;
    line-height: 1.25;
  }
  .hero-secondary-actions a:nth-child(5) {
    min-height: 70px;
    flex-direction: column;
  }
  .hero-secondary-actions .icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .hero-image {
    width: auto;
    height: clamp(280px, 78vw, 340px);
    margin: 24px 16px 0;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(13, 51, 45, .13);
  }
  .hero-image::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), transparent 18%, transparent 84%, rgba(255, 255, 255, .55));
  }
  .hero-image img { object-position: 66% center; }

  .meaning-section,
  .participate-strip {
    width: calc(100% - 32px);
    padding-right: 0;
    padding-left: 0;
  }
  .meaning-section { padding-top: 30px; }
  .meaning-card {
    min-height: 366px;
    padding: 236px 22px 24px;
  }
  .meaning-image { height: 214px; }

  .join-portal-copy {
    min-height: 0;
    padding: 32px 22px 30px;
  }
  .join-portal-copy h1 { font-size: clamp(38px, 11.2vw, 52px); }
  .join-role-note { min-height: 310px; }
  .join-role-note-content {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 17px;
    border-radius: 15px;
  }
  .join-role-note p { font-size: 13px; line-height: 1.55; }

  .join-role-card {
    position: relative;
    min-height: 0;
    display: block;
    padding: 78px 18px 20px;
    border-radius: 16px;
  }
  .join-role-card .join-option-icon {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 48px;
    height: 48px;
    display: grid;
  }
  .join-role-card .join-option-icon .icon {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }
  .join-role-card .join-option-arrow {
    position: absolute;
    top: 22px;
    right: 18px;
    width: 40px;
    height: 40px;
  }
  .join-role-card .join-option-copy { gap: 9px; }
  .join-role-card .join-option-copy strong {
    font-size: clamp(20px, 6vw, 23px);
    line-height: 1.06;
  }
  .join-role-card .join-option-copy > span {
    max-width: none;
    font-size: 13px;
    line-height: 1.5;
  }

  .participate-intro,
  .participate-intro-copy {
    min-height: 0;
  }
  .participate-intro-copy {
    padding: 34px 22px 32px;
  }
  .participate-intro h1 {
    font-size: clamp(25px, 7.8vw, 34px);
    overflow-wrap: normal;
    word-break: normal;
  }
  .participate-intro-copy > p:last-of-type {
    margin: 22px 0 26px;
    font-size: 15px;
    line-height: 1.6;
  }
  .participate-intro-art {
    height: clamp(270px, 76vw, 340px);
    min-height: 0;
  }
  .participate-intro-art img { object-position: center 36%; }
  .participation-mode-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 15px;
  }
  .participation-mode-tabs button {
    min-height: 76px;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
    padding: 8px 5px;
    font-size: 12px;
    text-align: center;
  }
  .participation-mode-tabs .icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .registration-event-panel,
  .registration-contact-panel { padding: 28px 20px; }
  .registration-form-redesign input,
  .registration-form-redesign select,
  .registration-form-redesign textarea,
  .quick-greeting input,
  .quick-greeting select,
  .quick-greeting textarea {
    font-size: 16px;
  }
  .registration-contact-panel .check-row {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 650;
  }
  .registration-contact-panel .check-row input {
    width: 22px;
    min-height: 22px;
    margin-top: 1px;
  }
  .form-privacy-note,
  .registration-contact-panel > .form-privacy-note {
    font-size: 12px;
    line-height: 1.6;
  }

  .support-directions,
  .donation-section {
    padding: 24px 16px;
    border-radius: 18px;
  }
  .support-section-heading { margin-bottom: 24px; }
  .support-section-heading h2 {
    font-size: clamp(30px, 9vw, 40px);
    overflow-wrap: break-word;
  }
  .support-drawer summary {
    min-height: 86px;
    grid-template-columns: 48px minmax(0, 1fr) 38px;
    gap: 11px;
    padding: 15px 13px;
  }
  .support-drawer summary strong {
    font-size: clamp(18px, 5.4vw, 22px);
    line-height: 1.15;
    overflow-wrap: break-word;
  }
  .support-drawer-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
  .support-drawer-icon .icon {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }
  .support-drawer-toggle {
    width: 36px;
    height: 36px;
  }
  .support-choice-grid,
  .institute-choice-grid {
    grid-template-columns: 1fr;
    padding: 0 12px 12px;
  }
  .support-choice-grid:not(.institute-choice-grid) button {
    min-height: 78px;
    flex-direction: row;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
    padding: 14px;
    font-size: 13px;
  }
  .institute-choice-grid button {
    min-height: 104px;
    gap: 10px;
    padding: 14px;
  }
  .support-mark { min-height: 52px; }
  .support-mark img {
    max-width: 112px;
    height: 52px;
  }
  .endowment-copy { padding: 32px 22px; }
  .endowment-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .support-manifesto {
    padding: 17px 18px;
    font-size: 18px;
  }
  .endowment-visual { min-height: 360px; }

  .back-inline { min-height: 44px; align-items: center; }
  .official-link,
  .support-source-links a { min-height: 44px; }
  .site-wide-footer { overflow: hidden; }
  .footer-contact-links a { min-height: 56px; }
}

@media (max-width: 460px) {
  .participate-intro .join-hero-cta {
    width: 100%;
    min-height: 54px;
    justify-content: space-between;
    padding-right: 12px;
    padding-left: 18px;
  }
  .support-drawer summary {
    min-height: 0;
    grid-template-columns: 46px minmax(0, 1fr) 38px;
    grid-template-rows: auto auto;
    row-gap: 12px;
  }
  .support-drawer summary > span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .support-drawer-icon {
    grid-column: 1;
    grid-row: 1;
  }
  .support-drawer-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .endowment-copy { padding-top: 28px; padding-bottom: 28px; }
  .endowment-visual { min-height: 270px; }
  .support-modal { align-items: end; padding: 0; }
  .support-modal-dialog {
    width: 100%;
    max-height: 92dvh;
    padding: 34px 18px max(22px, env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
  }
  .support-modal-close {
    position: sticky;
    z-index: 2;
    top: 0;
    margin: -18px 0 -26px auto;
    display: block;
    box-shadow: 0 4px 16px rgba(5, 35, 27, .14);
  }
}

@media (max-width: 350px) {
  .jubilee-topbar { padding-right: 16px; padding-left: 16px; }
  .jubilee-logo img { width: 112px; }
  .jubilee-topbar .lang-btn {
    min-width: 44px;
    height: 44px;
  }
  .hero-copy { padding-right: 16px; padding-left: 16px; }
  .hero-copy h1 { font-size: 37px; }
  .hero-secondary-actions { gap: 8px; }
  .participation-mode-tabs {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .participation-mode-tabs button {
    min-height: 52px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 11px;
    padding: 10px 14px;
    font-size: 13px;
    text-align: left;
  }
  .support-drawer summary {
    gap: 8px;
    padding: 14px 10px;
  }
  .support-drawer-icon {
    width: 42px;
    height: 42px;
  }
  .support-drawer-toggle {
    width: 34px;
    height: 34px;
  }
}

/* Structured collections rendered from ProcessWire. */
.cms-collection-empty,
.cms-form-unavailable {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.cms-form-unavailable {
  width: min(100%, 760px);
  margin: 24px auto;
}

.gallery-head h2 {
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1;
}

body.has-gallery-lightbox {
  overflow: hidden;
}

.g-tile[role="button"]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.book-card:is(a) {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.book-card:is(a):hover {
  border-color: rgba(0, 88, 62, .34);
  box-shadow: rgba(20, 36, 33, .13) 0 18px 38px;
  transform: translateY(-2px);
}

.book-card-number {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
}

.has-book-chapters .book-poster {
  margin-bottom: 32px;
}

.cms-auction-lots {
  width: 100%;
  padding: clamp(28px, 4vw, 54px);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.cms-auction-lots > h2 {
  margin: 0 0 28px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1;
}

.cms-auction-lot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cms-auction-lot {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdfc;
}

.cms-auction-lot > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cms-auction-lot > div {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.cms-auction-lot h3,
.cms-auction-lot p {
  margin: 0;
}

.cms-auction-lot h3 {
  color: var(--green);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.12;
}

.cms-auction-lot p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cms-auction-lot .cms-auction-bid {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.cms-auction-lot .cms-auction-bid strong {
  color: var(--ink);
}

.cms-auction-lot .submit-btn {
  width: max-content;
  max-width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  text-decoration: none;
}

@media (max-width: 980px) {
  .cms-auction-lot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .cms-auction-lots {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .cms-auction-lot-grid {
    grid-template-columns: 1fr;
  }

  .cms-auction-lot > div {
    padding: 18px;
  }

  .has-book-chapters .book-poster {
    margin-bottom: 22px;
  }
}

/* Книга: типографика и подпись в масштабе эталонной страницы фильма */
body.book-body .book-poster-heading {
  margin: 14px auto 30px;
}
body.book-body .book-poster-heading p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}
body.book-body .book-poster-heading h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
}
.book-poster-description {
  max-width: 860px;
  margin: 28px auto 0;
  color: rgba(255, 249, 241, .76);
  font-size: 17px;
  line-height: 1.65;
  text-align: center;
}

.book-poster-file {
  width: max-content;
  max-width: 100%;
  margin: 22px auto 0;
  color: #24131d;
  background: #fff9f1;
  text-decoration: none;
}

@media (max-width: 760px) {
  body.book-body .book-poster-heading {
    margin-top: 8px;
    margin-bottom: 22px;
  }
  body.book-body .book-poster-heading p {
    margin-bottom: 10px;
    font-size: 11px;
  }
  body.book-body .book-poster-heading h1 {
    font-size: clamp(30px, 9vw, 40px);
  }
  .book-poster-description {
    margin-top: 18px;
    padding: 0 8px;
    font-size: 14px;
    line-height: 1.55;
  }
}

@media (max-width: 760px) {
  .book-poster-heading {
    width: calc(100% - 32px);
    margin: 2px auto 20px;
  }
  .book-poster-heading p {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: .12em;
  }
  .book-poster-heading h1 {
    font-size: clamp(29px, 9.4vw, 42px);
  }
  .book-body .book-poster {
    width: calc(100% - 28px);
  }
  .book-body .book-poster > img {
    border-radius: 12px;
  }
  .book-body .book-poster-caption {
    width: auto;
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 12px;
  }
  .book-poster {
    width: calc(100% - 28px);
    margin: 8px auto 28px;
  }
  .book-poster > img {
    border-radius: 13px 13px 0 0;
  }
  .book-poster-caption {
    min-height: 0;
    padding: 15px 16px;
    border-radius: 0 0 13px 13px;
  }
  .book-poster-caption strong {
    font-size: 14px;
  }
}

@media (hover: none) {
  .hero-secondary-actions a:hover,
  .meaning-card:hover,
  .join-role-card:hover,
  .support-choice-grid button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==================== Правки контента 24.07: изображения, почта, карточки ==================== */
.join-role-note picture,
.auction-coming-art picture,
.gallery-soon-art picture,
.endowment-visual picture {
  width: 100%;
  height: 100%;
  display: block;
}

.join-role-note::before { display: none; }
.join-role-note .join-role-image {
  object-position: center 52%;
}
.join-role-lead {
  max-width: 720px !important;
  line-height: 1.55;
}

.auction-coming {
  grid-template-columns: minmax(320px, .82fr) minmax(440px, 1.18fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: #0a3c2f;
}
.auction-coming-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 76px);
}
.auction-coming-art {
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
}
.auction-coming-art img,
.gallery-soon-art img,
.endowment-visual picture > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.auction-coming-art img { object-position: 50% center; }

.gallery-coming-soon {
  grid-template-columns: minmax(320px, .88fr) minmax(440px, 1.12fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: #0a3c2f;
}
.gallery-coming-soon .coming-soon-body {
  align-content: center;
  max-width: none;
  padding: clamp(34px, 5vw, 76px);
}
.gallery-soon-art {
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
}
.gallery-soon-art img { object-position: center; }

.endowment-visual picture > img { object-position: center; }

.support-choice-grid:not(.institute-choice-grid) button {
  min-height: 148px;
}
.support-choice-grid:not(.institute-choice-grid) .support-choice-icon {
  width: 54px;
  height: 54px;
}
.support-choice-grid:not(.institute-choice-grid) .support-choice-icon .icon {
  width: 29px;
  height: 29px;
}
.institute-choice-grid button {
  align-items: center;
  text-align: center;
}
.institute-choice-grid .support-mark {
  width: 100%;
  min-height: 84px;
  justify-content: center;
}
.institute-choice-grid .support-mark img {
  max-width: 150px;
  height: 82px;
}

.footer-contact-links a,
.footer-contact-links button {
  width: min(100%, 390px);
  min-height: 54px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 13px;
  color: #fff;
  background: rgba(255,255,255,.05);
  font: 800 14px/1.2 var(--sans);
  text-align: left;
  cursor: pointer;
}
.footer-contact-links button:hover {
  background: rgba(255,255,255,.1);
}
.copy-draft-button {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .auction-coming,
  .gallery-coming-soon {
    grid-template-columns: 1fr;
  }
  .auction-coming-art,
  .gallery-soon-art {
    min-height: clamp(300px, 62vw, 520px);
  }
  .join-role-note {
    min-height: clamp(300px, 64vw, 500px);
  }
  .endowment-visual picture > img {
    object-position: center 58%;
  }
}

@media (max-width: 760px) {
  .auction-coming-copy,
  .gallery-coming-soon .coming-soon-body {
    padding: 28px 20px 32px;
  }
  .auction-coming-art,
  .gallery-soon-art {
    min-height: 310px;
  }
  .gallery-coming-soon {
    min-height: 0;
  }
  .support-choice-grid:not(.institute-choice-grid) button {
    min-height: 118px;
  }
  .institute-choice-grid .support-mark {
    min-height: 72px;
  }
  .institute-choice-grid .support-mark img {
    max-width: 132px;
    height: 70px;
  }
  .footer-contact-links button {
    min-height: 56px;
  }
}

@media (max-width: 420px) {
  .join-role-note {
    min-height: 280px;
  }
  .join-role-note .join-role-image {
    object-position: center 50%;
  }
  .auction-coming-art,
  .gallery-soon-art {
    min-height: 270px;
  }
}

/* Финальный приоритет мобильной типографики после всех компонентных правил */
@media (max-width: 760px) {
  .hero-copy h1,
  .join-portal-copy h1,
  .participate-intro h1,
  .endowment-hero h1,
  .auction-coming h1,
  .gallery-coming-soon .coming-soon-body h1,
  .story-copy h1,
  .screen-head h1,
  .template-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.5vw, 41px);
    line-height: 1.06;
    letter-spacing: -.022em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  .support-section-heading h2,
  .registration-form-redesign h2,
  .registration-guide .section-title-row h2,
  .endowment-contact h2,
  .footer-contact h2,
  .gallery-head h2,
  .story-axis-copy h2,
  .book-cover h2 {
    max-width: 100%;
    font-size: clamp(27px, 7.8vw, 34px);
    line-height: 1.12;
    letter-spacing: -.018em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  .join-option-copy strong,
  .join-card h2,
  .support-drawer summary strong,
  .support-choice-grid button,
  .purpose-cards h3,
  .qr-copy h3,
  .planner-card strong,
  .selected-event-summary h3 {
    line-height: 1.18;
    letter-spacing: -.012em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .join-eyebrow,
  .story-eyebrow {
    max-width: 100%;
    font-size: 10.5px;
    line-height: 1.45;
    letter-spacing: .09em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .join-portal-copy,
  .join-role-hero .join-portal-copy,
  .participate-intro-copy,
  .endowment-copy,
  .auction-coming-copy,
  .gallery-coming-soon .coming-soon-body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .join-portal-copy > p:last-of-type,
  .join-role-lead,
  .participate-intro-copy > p:last-of-type,
  .endowment-copy > p:not(.join-eyebrow),
  .auction-coming-copy > p:not(.join-eyebrow),
  .gallery-coming-soon .coming-soon-body > p:not(.story-eyebrow) {
    max-width: 100% !important;
    line-height: 1.6;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  .join-portal-copy > p:last-of-type,
  .join-role-lead {
    margin-top: 24px;
  }
}

@media (max-width: 350px) {
  .hero-copy h1,
  .join-portal-copy h1,
  .participate-intro h1,
  .endowment-hero h1,
  .auction-coming h1,
  .gallery-coming-soon .coming-soon-body h1,
  .story-copy h1,
  .screen-head h1,
  .template-hero h1 {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -.015em;
  }
}

@media (max-width: 760px) {
  .book-coming,
  .book-coming.has-img {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    min-height: 0;
    margin-top: 4px;
    margin-bottom: 26px;
    border-radius: 16px;
  }
  .book-coming-visual { min-height: 0; aspect-ratio: 16 / 9; }
  .book-coming-badge { top: 14px; left: 14px; padding: 8px 10px; font-size: 9px; }
  .book-coming .coming-soon-body { gap: 16px; padding: 26px 20px 24px; }
  .book-coming h1 { font-size: clamp(34px, 10.5vw, 46px); line-height: 1; }
  .book-coming .coming-soon-body > p:not(.story-eyebrow) { font-size: 15px; line-height: 1.6; }
  .book-coming-status { align-items: flex-start; padding: 13px 14px; font-size: 12px; }
  .book-coming-status > span { margin-top: 4px; }
  .book-coming-features { grid-template-columns: 1fr; gap: 8px; }
  .book-coming-features article { grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 10px; min-height: 0; padding: 13px 14px; }
  .book-coming-features small { font-size: 21px; }
  .book-coming-features strong { font-size: 12px; }
  .book-coming-link { align-items: flex-start; padding-top: 15px; font-size: 12px; line-height: 1.45; }

  .participate-intro h1 {
    font-size: clamp(25px, 6.8vw, 30px);
  }

  .day-theme-panel {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    margin: 16px 0 20px;
    padding: 16px;
    border-radius: 16px;
  }
  .day-theme-date {
    min-height: 88px;
    padding: 10px 6px;
  }
  .day-theme-date strong { font-size: 30px; }
  .day-theme-date span { font-size: 8px; }
  .day-theme-copy h2 { font-size: 25px; }
  .day-theme-motto { font-size: 13px; }
  .day-theme-copy > p:last-child {
    font-size: 12px;
    line-height: 1.55;
  }
  .day-theme-count {
    grid-column: 1 / -1;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 13px;
    text-align: left;
  }
  .day-theme-count b { font-size: 24px; }
  .day-theme-count span { font-size: 10px; }

  .world-map-panel {
    padding: 14px 12px 16px;
  }
  .map-toolbar {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 10px;
  }
  .compact-search {
    width: 100%;
    min-width: 0;
  }
  .map-mobile-hint {
    display: block;
    margin: 0 2px 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
  }
  .world-map-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .world-map {
    width: 720px;
    max-width: none;
    height: 360px;
    min-height: 360px;
    aspect-ratio: auto;
  }
  .map-marker {
    width: 54px;
    height: 54px;
  }
  .marker-dot {
    width: 20px;
    height: 20px;
  }
  .map-marker.is-active .marker-dot {
    width: 26px;
    height: 26px;
  }
  .marker-label {
    bottom: calc(50% + 18px);
    padding: 5px 10px;
    font-size: 12px;
  }
  .map-city-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 2px;
    padding: 6px 1px 4px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .map-city-list button {
    min-width: 160px;
    min-height: 60px;
    display: grid;
    gap: 3px;
    align-content: center;
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid #cfddd8;
    border-radius: 12px;
    color: var(--green);
    background: #fff;
    font: inherit;
    text-align: left;
    scroll-snap-align: start;
  }
  .map-city-list button.is-active {
    border-color: var(--green);
    color: #fff;
    background: var(--green);
    box-shadow: 0 8px 20px rgba(0, 88, 62, .18);
  }
  .map-city-list strong {
    font-size: 14px;
    line-height: 1.2;
  }
  .map-city-list span {
    font-size: 11px;
    line-height: 1.25;
    opacity: .76;
  }
}

@media (max-width: 350px) {
  .day-theme-panel {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .day-theme-date { min-height: 80px; }
  .day-theme-date strong { font-size: 27px; }
  .day-theme-copy h2 { font-size: 22px; }

  .world-map {
    width: 680px;
    height: 340px;
    min-height: 340px;
  }
}

/* --- Карта поздравлений: масштабирование и города с несколькими выпускниками --- */
.world-map { touch-action: pan-y; cursor: grab; }
.world-map.is-zoomed { touch-action: none; }
.world-map.is-panning { cursor: grabbing; }
.map-markers { position: absolute; inset: 0; pointer-events: none; }
.map-markers .map-marker { pointer-events: auto; }
.map-marker[hidden] { display: none; }
/* метка, за которой скрыто несколько соседних городов */
.map-marker.is-area .marker-dot { background: var(--green); box-shadow: rgba(0, 88, 62, .16) 0 0 0 5px, rgba(15, 40, 35, .28) 0 3px 7px; }
.map-marker.is-area:hover .marker-dot { box-shadow: rgba(0, 88, 62, .24) 0 0 0 7px, rgba(15, 40, 35, .3) 0 4px 9px; }
.map-controls { position: absolute; right: 10px; bottom: 10px; z-index: 6; display: grid; gap: 6px; justify-items: stretch; }
.map-controls button { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid rgb(207, 221, 216); border-radius: 10px; background: rgba(255, 255, 255, .94); color: var(--green); box-shadow: rgba(15, 40, 35, .12) 0 4px 10px; font: 700 17px/1 inherit; cursor: pointer; transition: background 140ms, border-color 140ms, color 140ms; }
.map-controls button:hover:not(:disabled) { border-color: var(--green); background: var(--green); color: rgb(255, 255, 255); }
.map-controls button:disabled { opacity: .45; cursor: default; }
.map-controls .map-zoom-reset { width: auto; height: 28px; padding: 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.map-marker.is-cluster .marker-dot { width: 24px; height: 24px; }
.map-marker.is-cluster .marker-dot::before { content: none; }
.map-marker.is-cluster.is-active .marker-dot { width: 30px; height: 30px; }
.marker-count { color: rgb(255, 255, 255); font-size: 11px; font-weight: 800; line-height: 1; }
.map-marker.is-cluster.is-active .marker-count { font-size: 13px; }
.map-city-list .city-count { display: inline-flex; width: max-content; align-items: center; margin-top: 3px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 88, 62, .1); color: var(--green); font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .02em; }
.map-city-list button.is-active .city-count { background: rgba(255, 255, 255, .22); color: rgb(255, 255, 255); }
.greeting-switch { display: grid; gap: 8px; }
.greeting-switch-title { margin: 0; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.greeting-switch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.greeting-switch-row button { display: grid; flex: 1 1 190px; gap: 2px; min-width: 0; padding: 9px 12px; border: 1px solid rgb(207, 221, 216); border-radius: 12px; background: rgb(255, 255, 255); color: var(--green); font: inherit; text-align: left; cursor: pointer; transition: border-color 140ms, background 140ms, color 140ms, box-shadow 140ms; }
.greeting-switch-row button:hover { border-color: var(--green); }
.greeting-switch-row button strong { color: var(--green); font-size: 13px; line-height: 1.25; }
.greeting-switch-row button small { font-size: 11px; line-height: 1.3; opacity: .72; }
.greeting-switch-row button.is-active { border-color: var(--green); background: var(--green); color: rgb(255, 255, 255); box-shadow: rgba(0, 88, 62, .18) 0 8px 18px; }
.greeting-switch-row button.is-active strong { color: rgb(255, 255, 255); }
.greeting-switch-row button.is-active small { opacity: .85; }

@media (max-width: 760px) {
  /* карта больше не прокручивается вбок — её приближают и перетаскивают */
  .world-map-scroll { overflow: hidden; padding-bottom: 0; }
  .world-map { width: 100%; max-width: 100%; height: auto; min-height: 0; aspect-ratio: 2 / 1; }
  /* управление уводим в левый нижний угол — там на карте нет меток */
  .map-controls { right: auto; left: 8px; bottom: 8px; grid-auto-flow: column; align-items: center; gap: 6px; }
  .map-controls button { width: 38px; height: 38px; font-size: 19px; }
  .map-controls .map-zoom-reset { width: auto; height: 38px; font-size: 11px; }
  /* карта на телефоне ниже, поэтому метки компактнее — их разводит приближение */
  .map-marker { width: 36px; height: 36px; }
  .marker-dot { width: 14px; height: 14px; border-width: 2px; }
  .marker-dot::before { border-top-width: 2.5px; border-bottom-width: 2.5px; border-left-width: 4px; }
  .map-marker.is-active .marker-dot { width: 20px; height: 20px; }
  .marker-label { bottom: calc(50% + 13px); padding: 4px 9px; font-size: 11px; }
  .map-marker.is-cluster .marker-dot { width: 22px; height: 22px; }
  .map-marker.is-cluster.is-active .marker-dot { width: 27px; height: 27px; }
  .marker-count { font-size: 10px; }
  .map-marker.is-cluster.is-active .marker-count { font-size: 12px; }
  .greeting-switch-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .greeting-switch-row button { flex: 0 0 auto; min-width: 170px; min-height: 54px; scroll-snap-align: start; }
}

@media (max-width: 350px) {
  .world-map { width: 100%; height: auto; min-height: 0; }
}

/* --- Лоты юбилейного аукциона --- */
.auction-lots { display: grid; gap: 18px; margin-top: 34px; }
.auction-lots[hidden] { display: none; }
.auction-lots h2 { margin: 0; font-size: clamp(24px, 2vw, 32px); }
.lot-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.lot-card { display: grid; overflow: hidden; border: 1px solid rgb(225, 232, 230); border-radius: 16px; background: rgb(255, 255, 255); box-shadow: var(--soft-shadow); }
.lot-art { aspect-ratio: 16 / 10; overflow: hidden; background: rgb(238, 245, 246); }
.lot-art img { width: 100%; height: 100%; object-fit: cover; }
.lot-body { display: grid; gap: 8px; align-content: start; padding: 18px 20px 20px; }
.lot-org { margin: 0; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.lot-card h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.lot-text { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.lot-amount { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 4px 0 0; }
.lot-amount small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.lot-amount strong { font-size: 20px; }
.lot-cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 6px; padding: 11px 18px; border-radius: 999px; background: var(--green); color: rgb(255, 255, 255); font-size: 14px; font-weight: 700; text-decoration: none; transition: background 140ms, box-shadow 140ms; }
.lot-cta:hover { background: var(--teal); box-shadow: rgba(0, 88, 62, .18) 0 8px 18px; }

@media (max-width: 760px) {
  .auction-lots { margin-top: 26px; }
  .lot-grid { grid-template-columns: 1fr; }
}

/* --- Юбилейная книга: листалка --- */
.book-reader { display: grid; gap: 14px; margin-top: 8px; }
/* пока книга не загружена, читалки на странице нет: атрибут hidden
   должен побеждать display, иначе панель видна на пустой странице */
.book-reader[hidden] { display: none; }
.reader-toolbar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; padding: 10px 14px; border: 1px solid rgb(225, 232, 230); border-radius: 14px; background: rgb(255, 255, 255); box-shadow: var(--soft-shadow); }
.reader-nav, .reader-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.reader-toolbar button, .reader-download { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border: 1px solid rgb(207, 221, 216); border-radius: 999px; background: rgb(255, 255, 255); color: var(--green); font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: border-color 140ms, background 140ms, color 140ms; }
.reader-toolbar button:hover:not(:disabled), .reader-download:hover { border-color: var(--green); background: var(--green); color: rgb(255, 255, 255); }
.reader-toolbar button:disabled { opacity: .4; cursor: default; }
/* атрибут hidden должен побеждать display у кнопок панели */
.reader-toolbar button[hidden], .reader-download[hidden] { display: none; }
.reader-arrow, .reader-icon { width: 36px; padding: 0; font-size: 18px; line-height: 1; }
.reader-counter { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 700; }
.reader-counter input { width: 62px; min-height: 34px; padding: 0 8px; border: 1px solid rgb(207, 221, 216); border-radius: 10px; color: var(--green); font: inherit; font-weight: 700; text-align: center; }
.reader-counter b { color: var(--green); }
.reader-stage-wrap { position: relative; display: grid; overflow: hidden; border: 1px solid rgb(225, 232, 230); border-radius: 16px; background: linear-gradient(rgb(238, 245, 246), rgb(230, 240, 240)); }
.reader-stage { display: grid; height: min(74vh, 860px); place-items: center; padding: 18px; overflow: auto; }
.book-spread { position: relative; display: flex; gap: 2px; align-items: stretch; perspective: 2400px; }
/* корешок между страницами разворота */
.book-spread:not(.is-single)::after { position: absolute; top: 0; bottom: 0; left: 50%; width: 22px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(15, 40, 35, 0) 0%, rgba(15, 40, 35, .16) 45%, rgba(15, 40, 35, .16) 55%, rgba(15, 40, 35, 0) 100%); pointer-events: none; content: ""; }
.book-page { display: block; border-radius: 3px; background: rgb(255, 255, 255); box-shadow: rgba(15, 40, 35, .18) 0 10px 26px; }
.book-page[hidden] { display: none; }
.book-flip { position: absolute; top: 0; transform-style: preserve-3d; transition: transform 520ms cubic-bezier(.42, .04, .26, 1); z-index: 5; }
.book-flip.is-forward { right: 0; transform-origin: left center; }
.book-flip.is-forward.is-turning { transform: rotateY(-172deg); }
.book-flip.is-backward { left: 0; transform-origin: right center; }
.book-flip.is-backward.is-turning { transform: rotateY(172deg); }
.book-flip-face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 3px; background: rgb(255, 255, 255); box-shadow: rgba(15, 40, 35, .22) 0 12px 30px; backface-visibility: hidden; }
.book-flip-face.is-back { transform: rotateY(180deg); }
.reader-status { position: absolute; margin: 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.book-outline { position: absolute; top: 12px; left: 12px; display: grid; gap: 2px; max-width: min(320px, 70%); max-height: calc(100% - 24px); overflow: auto; padding: 10px; border: 1px solid rgb(207, 221, 216); border-radius: 14px; background: rgba(255, 255, 255, .97); box-shadow: rgba(15, 40, 35, .16) 0 12px 28px; z-index: 6; }
.book-outline button { padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--green); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.book-outline button:hover { background: rgba(0, 88, 62, .08); }
.book-outline .depth-1 { padding-left: 22px; font-size: 12px; }
.book-outline .depth-2 { padding-left: 34px; color: var(--muted); font-size: 12px; }
.reader-stage-wrap:fullscreen { border-radius: 0; }
.reader-stage-wrap:fullscreen .reader-stage { height: 100vh; }

@media (max-width: 900px) {
  .reader-stage { height: min(64vh, 620px); padding: 12px; }
  .reader-toolbar { justify-content: center; padding: 10px; }
  .reader-tools { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .book-flip { transition: none; }
}

/* --- Заявка по лоту аукциона --- */
.lot-context { display: inline-flex; align-items: center; margin: 0 0 4px; padding: 8px 14px; border-radius: 999px; background: rgba(0, 88, 62, .09); color: var(--green); font-size: 13px; font-weight: 700; }
.lot-context[hidden] { display: none; }
