:root {
  --bg: #070b14;
  --bg-soft: #0c1322;
  --card: #101a2e;
  --card-2: #16203a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2fb;
  --soft: #94a1bd;
  --accent: #e9b45e;
  --accent-2: #7d8cff;
  --accent-soft: rgba(233, 180, 94, 0.14);
  --ok: #3ddc97;
  --warn: #f5b544;
  --danger: #ff6b6b;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --topbar-h: 62px;
  --nav-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(900px 520px at 12% -10%, rgba(125, 140, 255, 0.16), transparent 60%),
    radial-gradient(760px 460px at 108% 4%, rgba(233, 180, 94, 0.12), transparent 58%);
  background-attachment: fixed;
}

.app { max-width: 820px; margin: 0 auto; min-height: 100vh; position: relative; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + var(--safe-top)) 16px 10px;
  min-height: calc(var(--topbar-h) + var(--safe-top));
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-logo { width: 32px; height: 32px; border-radius: 8px; flex: 0 0 auto; }
.topbar-logo[hidden] { display: none; }
.topbar-title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.topbar-name { font-family: var(--serif); font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; text-align: center; }
.topbar-sub { font-size: 11.5px; color: var(--soft); letter-spacing: 0.04em; text-transform: uppercase; text-align: center; }

.demo-banner {
  margin: 0 16px 8px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.demo-banner[hidden] { display: none; }

.icon-btn {
  width: 42px; height: 42px; flex: 0 0 42px;
  border: 1px solid var(--line); border-radius: 50%;
  background: color-mix(in srgb, var(--card) 80%, transparent);
  color: var(--text); display: grid; place-items: center; cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.icon-btn:hover { border-color: var(--accent); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn[hidden] { display: none; }

.app-menu {
  position: fixed; top: calc(var(--topbar-h) + var(--safe-top) - 4px); right: 14px;
  width: min(280px, calc(100vw - 28px)); z-index: 80;
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--card) 96%, #000); box-shadow: var(--shadow);
  animation: rise 0.18s ease both;
}
.app-menu[hidden] { display: none; }
.app-menu-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-menu-label { font-size: 14.5px; font-weight: 600; }
.app-menu-hint { margin-top: 8px; color: var(--soft); font-size: 12px; line-height: 1.45; }
.app-menu-action { display: block; width: 100%; margin-top: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--accent-soft); color: var(--accent); font-family: var(--sans); font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; }
.app-menu-action[hidden] { display: none; }
.switch { position: relative; display: inline-flex; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track { width: 46px; height: 26px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); display: block; transition: background 0.2s ease, border-color 0.2s ease; }
.switch-thumb { position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--soft); transition: transform 0.2s ease, background 0.2s ease; }
.switch input:checked + .switch-track { background: color-mix(in srgb, var(--accent) 45%, var(--card-2)); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(20px); background: var(--accent); }
.app-menu-group[hidden] { display: none; }
.app-menu-sep { height: 1px; margin: 12px -16px; background: var(--line); }
.app-menu-option { margin-top: 10px; }
.app-menu-option .app-menu-label { margin-right: auto; font-size: 13.5px; font-weight: 500; }
.app-menu-ico { flex: 0 0 22px; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 700; }
.app-menu-ico svg { width: 14px; height: 14px; }
.app-menu-note { margin-top: 10px; color: var(--soft); font-size: 11.5px; line-height: 1.45; }
.app-menu-action.ghost { background: transparent; color: var(--soft); border-color: var(--line); }
.push-help-link { display: block; margin-top: 8px; }
.push-link-text { word-break: break-all; user-select: all; }
.ai-script-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ai-script-actions .ai-action { flex: 0 1 auto; font-size: 13px; padding: 9px 12px; border-radius: 11px; text-align: left; }
.ai-script-actions .ai-action:active { transform: scale(0.97); }

.view { padding: 4px 16px calc(var(--nav-h) + var(--safe-bottom) + 34px); }
.screen { animation: rise 0.4s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1); }

.hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl); padding: 30px 22px 24px; margin: 8px 0 26px;
  background: linear-gradient(150deg, #0d1730 0%, #101b38 45%, #0a1020 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.aurora { position: absolute; inset: -30% -10% auto -10%; height: 130%; pointer-events: none; filter: blur(46px); opacity: 0.75; }
.aurora span { position: absolute; display: block; border-radius: 50%; }
.aurora span:nth-child(1) { width: 320px; height: 320px; left: -40px; top: 10px; background: rgba(125, 140, 255, 0.5); animation: drift1 16s ease-in-out infinite; }
.aurora span:nth-child(2) { width: 280px; height: 280px; right: -30px; top: -20px; background: rgba(233, 180, 94, 0.34); animation: drift2 20s ease-in-out infinite; }
.aurora span:nth-child(3) { width: 240px; height: 240px; right: 30%; bottom: -120px; background: rgba(61, 220, 151, 0.2); animation: drift3 24s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate(60px, 40px) scale(1.12); } }
@keyframes drift2 { 50% { transform: translate(-50px, 50px) scale(1.18); } }
@keyframes drift3 { 50% { transform: translate(40px, -50px) scale(0.9); } }

.hero-content { position: relative; z-index: 1; }
.kick { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.kick::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; flex: 0 0 auto; }
.kick-date { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin-top: 6px; padding-left: 16px; }
.hero h1 { font-family: var(--serif); font-size: clamp(28px, 8vw, 46px); line-height: 1.08; font-weight: 600; margin: 16px 0 12px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.hero-lead { color: var(--soft); font-size: 15px; line-height: 1.55; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px; padding: 13px 20px;
  font-size: 14.5px; font-weight: 600; font-family: var(--sans);
  background: var(--card-2); color: var(--text); cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn.primary { background: linear-gradient(135deg, #f2c572, #e9a13e); color: #201503; box-shadow: 0 14px 30px rgba(233, 161, 62, 0.28); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.secondary { background: var(--card-2); }
.btn.block { width: 100%; }

.hero-count { position: relative; z-index: 1; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hero-count .count-label { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.hero-count .count-value { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.hero-count .count-title { font-size: 13.5px; color: var(--text); flex: 1; text-decoration: none; border-bottom: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
.hero-count .count-title:hover { color: var(--accent); }

.sec-head { position: relative; margin: 40px 0 16px; padding-top: 34px; }
.sec-ghost {
  position: absolute; left: 0; top: 0;
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(34px, 12vw, 64px);
  letter-spacing: -0.02em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 13%, transparent);
  pointer-events: none; user-select: none;
  white-space: nowrap; overflow: hidden; max-width: 100%;
}
.sec-kick { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }
.sec-kick::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }
.sec-title { position: relative; font-family: var(--serif); font-size: clamp(22px, 6vw, 30px); font-weight: 600; margin: 8px 0 0; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile {
  position: relative; text-align: left;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--card), color-mix(in srgb, var(--card) 70%, #000));
  color: var(--text); border-radius: var(--radius-lg); padding: 18px 16px; min-height: 122px;
  display: flex; flex-direction: column; gap: 12px; cursor: pointer; overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.tile::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 70%; background: radial-gradient(circle at 50% 0, rgba(233, 180, 94, 0.22), transparent 70%); opacity: 0; transition: opacity 0.3s ease; }
.tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.tile:hover::after { opacity: 1; }
.tile:active { transform: scale(0.98); }
.tile.wide { grid-column: 1 / -1; min-height: 150px; background: linear-gradient(140deg, #16224a, #0e1730 70%); }
.tile-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tile.wide .tile-icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.tile-icon svg { width: 22px; height: 22px; }
.tile-title { font-family: var(--serif); font-size: clamp(15px, 4.6vw, 18px); font-weight: 600; margin-top: auto; overflow-wrap: anywhere; line-height: 1.2; }
.tile-sub { font-size: 12.5px; color: var(--soft); line-height: 1.4; overflow-wrap: anywhere; }
.tile.wide .tile-sub { color: rgba(255, 255, 255, 0.8); }

.card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; background: color-mix(in srgb, var(--card) 78%, transparent); margin-bottom: 12px; }
.card-title { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.muted { color: var(--soft); font-size: 13.5px; line-height: 1.55; }
.row { display: flex; align-items: flex-start; gap: 12px; }
.row + .row { margin-top: 12px; }
.row-label { color: var(--soft); font-size: 12.5px; min-width: 118px; }
.row-value { font-size: 14.5px; font-weight: 500; flex: 1; }

.sched-days { position: sticky; top: calc(var(--topbar-h) + var(--safe-top)); z-index: 20; display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 10px 16px 12px; scrollbar-width: none; background: rgba(7, 11, 20, 0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sched-days::-webkit-scrollbar { display: none; }
.day-btn { flex: 0 0 auto; min-width: 108px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--soft); border-radius: var(--radius-md); padding: 12px 14px; text-align: left; cursor: pointer; }
.day-btn .day-num { font-family: var(--serif); font-size: 24px; color: var(--text); display: block; }
.day-btn .day-name { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.day-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.day-btn.active .day-num { color: var(--accent); }
.sched-days.meal-days { position: static; top: auto; z-index: auto; margin: 0 0 12px; padding: 0 0 6px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

.timeline { position: relative; --tl-meta: 88px; --tl-gap: 12px; }
.tl-item { position: relative; display: grid; grid-template-columns: var(--tl-meta) 40px 1fr; gap: var(--tl-gap); padding-bottom: 18px; }
.tl-item::before { content: ""; position: absolute; left: calc(var(--tl-meta) + var(--tl-gap) + 19px); top: 34px; bottom: 0; width: 2px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 55%, transparent), transparent); }
.tl-item:last-child::before { display: none; }
.tl-meta { padding-top: 3px; min-width: 0; }
.tl-time { font-size: 12.5px; color: var(--accent); font-weight: 600; letter-spacing: 0.02em; line-height: 1.35; }
.tl-meta .tl-place { margin-top: 6px; font-size: 11.5px; line-height: 1.35; }
.tl-node { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--card-2); color: var(--soft); border: 1px solid var(--line); position: relative; z-index: 1; }
.tl-item.now .tl-node { background: var(--accent); color: #201503; border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.tl-card { border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 72%, transparent); border-radius: var(--radius-md); padding: 15px 16px; }
.tl-item.now .tl-card { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.tl-item.focus .tl-node { background: var(--accent); color: #201503; border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.tl-item.focus .tl-card { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.tl-time { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.03em; }
.tl-place { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; border: none; background: transparent; color: var(--soft); font-size: 12.5px; cursor: pointer; padding: 0; text-align: left; }
.tl-place:hover { color: var(--accent); }
.tl-title { font-family: var(--serif); font-size: 17px; font-weight: 600; margin: 8px 0 0; }
.tl-details { font-size: 13px; color: var(--soft); margin-top: 6px; white-space: pre-line; line-height: 1.55; }
.tl-speaker { margin-top: 10px; }
.speaker-link { border: none; background: transparent; padding: 0; font-size: 13px; color: var(--accent-2); cursor: pointer; text-align: left; }
.speaker-link:hover { text-decoration: underline; }
.tl-item { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.tl-card { cursor: pointer; }
.speaker-members { margin-top: 12px; display: grid; gap: 10px; }
.speaker-member-name { font-weight: 600; font-size: 13.5px; }
.speaker-member-note { color: var(--soft); font-size: 12.5px; line-height: 1.45; }
.tl-flags { display: flex; gap: 6px; margin-top: 10px; }
@media (max-width: 430px) {
  .timeline { --tl-meta: 72px; --tl-gap: 10px; }
  .tl-time { font-size: 11.5px; }
  .tl-meta .tl-place { font-size: 10.5px; }
  .tl-node { width: 34px; height: 34px; font-size: 12.5px; }
  .tl-item::before { left: calc(var(--tl-meta) + var(--tl-gap) + 16px); top: 30px; }
}

.badge { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--card-2); color: var(--soft); }
.badge.live { background: var(--accent); color: #201503; }
.badge.depart { background: color-mix(in srgb, #6ea8fe 30%, var(--card-2)); color: #cfe0ff; }

.event-hero { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 26px 20px; background: linear-gradient(150deg, #101c38, #0a1120); box-shadow: var(--shadow); margin-bottom: 16px; }
.event-hero h1 { font-family: var(--serif); font-size: clamp(24px, 7vw, 34px); line-height: 1.1; font-weight: 600; margin: 12px 0 14px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--text); }
.event-meta .count-value { color: var(--accent); font-family: var(--serif); font-size: 18px; }
.event-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.event-link { display: inline-flex; align-items: center; gap: 6px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 9px 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; font-family: var(--sans); }
.event-link:active { transform: scale(0.97); }

.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--card) 70%, transparent); overflow: hidden; }
.faq-head { width: 100%; display: flex; align-items: center; gap: 12px; border: none; background: transparent; color: var(--text); text-align: left; padding: 15px 16px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.faq-head .pm { margin-left: auto; color: var(--accent); font-size: 20px; line-height: 1; transition: transform 0.25s ease; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-body { max-height: 480px; }
.faq-body p { margin: 0; padding: 0 16px 16px; color: var(--soft); font-size: 13.5px; line-height: 1.55; }
.faq-body .btn { margin: 0 16px 16px; width: calc(100% - 32px); }

.weather-hero { display: flex; align-items: center; gap: 18px; padding: 24px 20px; border-radius: var(--radius-xl); background: linear-gradient(140deg, #16224a, #0d1730 72%); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 16px; }
.weather-temp { font-family: var(--serif); font-size: 52px; line-height: 1; }
.weather-meta { font-size: 13.5px; color: var(--soft); margin-top: 6px; }
.weather-icon { font-size: 44px; margin-left: auto; }

.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.metric { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; background: color-mix(in srgb, var(--card) 70%, transparent); }
.metric-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--soft); }
.metric-value { font-size: 18px; font-weight: 600; margin-top: 4px; }

.strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip-cell { min-width: 68px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 8px; text-align: center; background: color-mix(in srgb, var(--card) 70%, transparent); }
.strip-time { font-size: 11px; color: var(--soft); }
.strip-icon { font-size: 18px; margin: 3px 0; }
.strip-temp { font-size: 15px; font-weight: 600; }
.strip-precip { font-size: 10.5px; color: var(--accent); min-height: 13px; }

.fact { display: flex; gap: 10px; font-size: 13.5px; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.fact:last-child { border-bottom: none; }
.fact::before { content: "—"; color: var(--accent); }

.rec { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: var(--radius-md); background: var(--accent-soft); margin-bottom: 10px; }
.rec-icon { font-size: 20px; }
.rec-title { font-size: 14.5px; font-weight: 600; }
.rec-where { font-size: 12.5px; color: var(--soft); margin-top: 3px; }

.accordion { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; background: color-mix(in srgb, var(--card) 72%, transparent); }
.accordion-head { width: 100%; display: flex; align-items: center; gap: 12px; border: none; background: transparent; color: var(--text); text-align: left; padding: 16px; font-family: var(--serif); font-size: 16px; font-weight: 600; cursor: pointer; }
.accordion-head .chev { margin-left: auto; color: var(--accent); transition: transform 0.25s ease; }
.accordion.open .chev { transform: rotate(90deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion.open .accordion-body { max-height: 1800px; }
.accordion-inner { padding: 0 16px 16px; }

.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { width: 80%; max-width: 340px; flex: 0 0 auto; border-radius: var(--radius-md); scroll-snap-align: center; aspect-ratio: 4 / 3; object-fit: cover; background: var(--card-2); border: 1px solid var(--line); }

.contact-card { text-align: center; padding: 30px 20px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(160deg, var(--card-2), var(--card)); box-shadow: var(--shadow); }
.contact-avatar { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--serif); font-size: 27px; font-weight: 600; margin: 0 auto 14px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); }
.contact-name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.25; }
.contact-role { color: var(--soft); font-size: 13.5px; margin-top: 6px; }

.people-search {
  width: 100%; border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--card) 74%, transparent); color: var(--text);
  padding: 12px 16px; font-size: 14.5px; font-family: var(--sans); margin-bottom: 8px;
}
.people-search:focus { outline: none; border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.people-count { color: var(--soft); font-size: 12px; letter-spacing: 0.04em; margin: 0 2px 12px; }
.people-list { display: grid; gap: 10px; }
.person {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--card) 74%, transparent);
}
.person.me { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.person-avatar {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; font-family: var(--serif); font-size: 18px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
}
.person-info { flex: 1; min-width: 0; }
.person-name { font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.25; display: flex; align-items: center; gap: 8px; }
.person-you { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; }
.person-role { color: var(--text); font-size: 13px; margin-top: 3px; }
.person-org { color: var(--soft); font-size: 12.5px; margin-top: 2px; }
.person-action {
  flex: 0 0 auto; align-self: center; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  background: transparent; color: var(--accent); border-radius: 999px; padding: 9px 14px;
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.person-action:active { transform: scale(0.96); }
.person[hidden] { display: none; }

@media (max-width: 430px) {
  .person { gap: 12px; padding: 11px 12px; }
  .person-avatar { width: 46px; height: 46px; flex-basis: 46px; font-size: 16px; }
  .person-action { padding: 8px 11px; font-size: 12.5px; }
}

.person { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.person:active { background: color-mix(in srgb, var(--card) 90%, transparent); }
.person, .person *, .modal-person, .modal-person * {
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
img.person-avatar, img.person-modal-img { display: block; }

.modal-person .modal-backdrop { background: rgba(3, 6, 14, 0.62); }
.modal-person .modal-card {
  inset: 5%;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(155deg, rgba(24, 35, 62, 0.72), rgba(10, 16, 30, 0.68));
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--shadow);
  overflow-y: auto;
}
.person-modal-photo { display: flex; justify-content: center; margin: 10px 0 20px; }
.person-modal-img {
  width: min(78%, 300px); aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; font-family: var(--serif); font-size: 72px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent);
  border: 3px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.person-modal-name { font-family: var(--serif); font-size: 24px; font-weight: 600; text-align: center; margin-bottom: 16px; padding: 0 40px; }
.modal-person .btn.block { margin-bottom: 18px; }
.person-details { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.person-detail { display: flex; flex-direction: column; gap: 3px; }
.person-detail-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.person-detail-value { font-size: 14.5px; line-height: 1.45; }

.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; font-size: 14.5px; margin: 0; }
.kv dt { color: var(--soft); margin: 0; }
.kv dd { margin: 0; font-weight: 600; text-align: right; }

.copy-row { display: flex; align-items: center; gap: 10px; }
.copy-value { flex: 1; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; letter-spacing: 0.04em; word-break: break-all; }

.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card-2); }
.map-preload { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; }

.push-card { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--card) 74%, transparent); margin: 16px 0; }
.push-card .btn { padding: 11px 16px; font-size: 13.5px; flex: 0 0 auto; }

.modal { position: fixed; inset: 0; z-index: 90; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 14, 0.82); backdrop-filter: blur(6px); }
.modal-card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--bg);
  background-image: radial-gradient(760px 420px at 100% 0%, rgba(125, 140, 255, 0.12), transparent 60%);
  padding: calc(20px + var(--safe-top)) 16px calc(18px + var(--safe-bottom));
  animation: fade 0.25s ease both;
  overflow: hidden;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-close { position: absolute; top: calc(14px + var(--safe-top)); right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card-2); color: var(--text); font-size: 21px; line-height: 1; cursor: pointer; z-index: 2; }
.modal-body { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-title { font-family: var(--serif); font-size: 21px; font-weight: 600; padding-right: 48px; }
.modal-hint { color: var(--soft); font-size: 13px; margin-top: 8px; line-height: 1.5; }
.push-help { margin: 8px 0 0; padding-left: 20px; color: var(--text); font-size: 13px; line-height: 1.5; }
.push-help li { margin-bottom: 8px; }
.push-help-actions { margin-top: 16px; display: flex; justify-content: flex-end; }
.modal-map { width: 100%; flex: 1; min-height: 260px; border: 1px solid var(--line); border-radius: var(--radius-md); margin-top: 14px; background: var(--card-2); }
.speaker-photo { width: 96px; height: 96px; border-radius: 50%; margin: 6px auto 14px; display: grid; place-items: center; font-family: var(--serif); font-size: 32px; background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); }

.skeleton { border-radius: var(--radius-lg); background: linear-gradient(90deg, var(--card) 25%, var(--card-2) 37%, var(--card) 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; min-height: 110px; margin-bottom: 12px; border: 1px solid var(--line); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.empty { text-align: center; color: var(--soft); padding: 40px 12px; font-size: 14px; }
.footer { margin-top: 34px; padding: 22px 16px calc(var(--nav-h) + 30px); border-top: 1px solid var(--line); text-align: center; color: var(--soft); font-size: 12.5px; line-height: 1.6; }

.bottomnav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 820px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 8px 14px calc(8px + var(--safe-bottom)); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(18px) saturate(140%); border-top: 1px solid var(--line); z-index: 50; }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border: none; background: transparent; color: var(--soft); font-size: 11px; letter-spacing: 0.04em; text-decoration: none; cursor: pointer; }
.nav-item[hidden] { display: none; }
.nav-item svg { width: 23px; height: 23px; }
.nav-item.active { color: var(--accent); }
.nav-item:active { transform: scale(0.95); }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-bottom) + 20px); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 13px; max-width: 90%; z-index: 100; box-shadow: var(--shadow); }
.offline { position: fixed; top: calc(var(--safe-top) + 6px); left: 50%; transform: translateX(-50%); background: var(--warn); color: #1b1200; font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; z-index: 110; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.nav-icon-wrap { position: relative; display: inline-flex; }
.nav-badge {
  position: absolute; top: -5px; right: -10px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--accent); color: #201503;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}

.chat-screen {
  position: fixed; left: 0; right: 0; top: var(--vv-offset, 0px);
  height: var(--vvh, 100dvh);
  display: flex; flex-direction: column;
  padding: calc(var(--topbar-h) + var(--safe-top) + 6px) 16px calc(var(--nav-h) + var(--safe-bottom) + 8px);
  background: var(--bg); z-index: 20; overflow: hidden;
}
body.chat-open { overflow: hidden; }
.chat-head {
  position: absolute; left: 16px; right: 16px;
  top: calc(var(--topbar-h) + var(--safe-top) + 6px);
  z-index: 25;
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(7, 11, 20, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.chat-head--hidden { transform: translateY(-160%); opacity: 0; }
.chat-screen--stack .chat-head { position: static; margin-bottom: 6px; flex: 0 0 auto; }
.chat-screen--stack .chat-head--hidden { transform: none; opacity: 1; }
.chat-screen--stack .chat-list { padding-top: 8px; padding-bottom: 4px; }
.chat-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--soft); border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.chat-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.chat-status.offline .dot { background: var(--danger); }
.chat-nick-btn {
  margin-left: auto; border: 1px solid var(--line); background: var(--card);
  color: var(--text); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; cursor: pointer;
}
.chat-nick-btn .mod { color: var(--accent); font-size: 11px; margin-left: 4px; }
.chat-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 10px; padding: 58px 2px 14px; }
.chat-load-more { align-self: center; border: 1px solid var(--line); background: transparent; color: var(--soft); border-radius: 999px; padding: 8px 14px; font-size: 12.5px; cursor: pointer; }
.chat-day { align-self: center; font-size: 11.5px; color: var(--soft); margin: 10px 0 2px; }
.chat-msg { position: relative; max-width: 88%; border-radius: 16px; padding: 9px 12px; background: var(--card); border: 1px solid var(--line); cursor: pointer; -webkit-touch-callout: none; }
.chat-msg.own { align-self: flex-end; background: linear-gradient(135deg, rgba(233, 180, 94, 0.22), rgba(233, 180, 94, 0.11)); color: var(--text); border-color: color-mix(in srgb, var(--accent) 32%, var(--line)); }
.chat-msg.pending { opacity: 0.6; }
.chat-author { font-size: 12px; font-weight: 650; color: var(--accent); margin-bottom: 3px; }
.chat-msg.own .chat-author { color: var(--accent); }
.chat-body { font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-meta { display: flex; gap: 6px; font-size: 10.5px; opacity: 0.7; margin-top: 4px; }
.chat-reply-quote { border-left: 2px solid currentColor; padding: 3px 8px; margin-bottom: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); font-size: 12.5px; opacity: 0.9; }
.chat-reply-quote .q-author { font-weight: 650; }
.chat-typing { min-height: 18px; font-size: 12.5px; color: var(--soft); padding: 0 2px 6px; }
.chat-typing-inline {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px; color: var(--soft); padding: 0 6px; text-align: left;
}
.chat-empty { text-align: center; color: var(--soft); padding: 34px 12px; font-size: 14px; }
.chat-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: color-mix(in srgb, var(--card) 75%, transparent); font-size: 12.5px; }
.chat-bar .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-bar button { border: none; background: transparent; color: var(--accent); font-size: 13px; cursor: pointer; }
.chat-composer { display: flex; gap: 8px; align-items: flex-end; padding-top: 8px; background: var(--bg); }
.chat-send.status-green { background: linear-gradient(135deg, #7ff0b6, #3ddc97); }
.chat-send.status-yellow { background: linear-gradient(135deg, #ffd27a, #f5b544); }
.chat-send.status-red { background: linear-gradient(135deg, #ff9a9a, #ff6b6b); }
.chat-status.status-green .dot { background: var(--ok); }
.chat-status.status-yellow .dot { background: var(--warn); }
.chat-status.status-red .dot { background: var(--danger); }
.chat-state { font-weight: 700; }
.chat-state.failed { color: var(--danger); }
.modal-online .modal-card { background: rgba(7, 11, 20, 0.85); }
.chat-fab {
  position: absolute; right: 18px;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 78px);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer; z-index: 30;
  opacity: 0; transform: translateY(10px) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.chat-fab.visible { opacity: 1; transform: none; pointer-events: auto; }
.chat-fab svg { width: 22px; height: 22px; }
body.composing .chat-fab { display: none; }
button, .btn, .nav-item, .chip, .tile, .icon-btn, .badge, .chat-msg, .day-btn, .faq-head, .accordion-head, .modal-close, .chat-nick-btn, .chat-status, .chat-load-more, .speaker-link, .tl-place, .modal-title, .modal-hint, .card-title, .sec-title, .sec-kick, .contact-name, .topbar-name, .topbar-sub, .chat-author, .event-title, .tl-title, .rec-title, .metric-label, .stat-label, .row-label, .count-label { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.tl-title, .tl-title a, .tl-place, .speaker-link, .day-btn, .sched-days { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.chat-input { flex: 1; min-height: 46px; max-height: 130px; resize: none; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 13px; font-family: var(--sans); font-size: 15px; }
.chat-input:focus { outline: none; border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.chat-send { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: none; background: linear-gradient(135deg, #f2c572, #e9a13e); color: #201503; cursor: pointer; padding: 0; }
.chat-send svg { display: block; width: 21px; height: 21px; }
.chat-send:disabled { opacity: 0.5; }
.chat-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.chat-actions .btn { width: 100%; }
.mention { color: var(--accent-2); font-weight: 650; }
.chat-msg.own .mention { color: var(--accent-2); }

/* --- INC-034: personal AI assistant --- */
.ai-avatar { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: linear-gradient(135deg, rgba(233, 180, 94, 0.22), rgba(125, 140, 255, 0.18)); color: var(--accent); }
.ai-avatar svg { width: 19px; height: 19px; }
.ai-head-name { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ai-head-title { font-size: 13.5px; font-weight: 650; }
.ai-head-sub { font-size: 11.5px; color: var(--soft); }
.ai-clear { margin-left: auto; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; cursor: pointer; }
.ai-msg { align-self: flex-start; max-width: 92%; }
.ai-link { display: inline-flex; margin-top: 10px; padding: 9px 14px; font-size: 13px; width: auto; }
.ai-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ai-actions .btn { width: auto; padding: 9px 13px; font-size: 12.5px; box-shadow: none; }
.ai-contact { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.ai-msg .chat-body p { margin: 0 0 8px; }
.ai-msg .chat-body p:last-child { margin-bottom: 0; }
.ai-bullets { margin: 0 0 8px; padding-left: 18px; }
.ai-bullets:last-child { margin-bottom: 0; }
.ai-bullets li { margin: 4px 0; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 2px; }
.ai-chip { border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 72%, transparent); color: var(--text); border-radius: 999px; padding: 9px 13px; font-size: 13px; cursor: pointer; text-align: left; }
.ai-chip:active { transform: scale(0.97); }
.ai-greeting { align-self: flex-start; max-width: 92%; border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 16px; padding: 12px 14px; background: color-mix(in srgb, var(--accent-soft) 70%, transparent); }
.ai-greeting .chat-body { font-size: 14px; color: var(--text); }
.ai-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--soft); animation: ai-blink 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ai-blink { 0%, 60%, 100% { opacity: 0.35; } 30% { opacity: 1; } }

/* --- INC-035: hotel wiki blocks and photo gallery --- */
.wiki-service { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.wiki-service:last-child { border-bottom: none; }
.wiki-service-title { font-weight: 650; font-size: 14.5px; }
.wiki-service-text { font-size: 14px; line-height: 1.5; color: var(--text); }
.wiki-tariffs { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--soft); display: flex; flex-direction: column; gap: 4px; }
.wiki-nav-title { margin: 12px 0 6px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.wiki-service .btn { align-self: flex-start; width: auto; }
.hotel-gallery { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.hotel-gallery::-webkit-scrollbar { display: none; }
.hotel-thumb { flex: 0 0 auto; width: 150px; height: 100px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--card); cursor: pointer; scroll-snap-align: start; }
.hotel-thumb:active { transform: scale(0.97); }
.hotel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-credit { margin: 2px 2px 6px; font-size: 12px; }
.gallery-credit a { color: var(--accent); }
.exc-fact { margin: 8px 0 12px; padding: 10px 12px; border-left: 2px solid var(--accent); background: color-mix(in srgb, var(--accent-soft) 65%, transparent); border-radius: 8px; font-size: 13.5px; line-height: 1.45; }
.exc-fact-label { color: var(--accent); font-weight: 650; }

/* --- W3: compact weather now + 2-hour strip --- */
.weather-now { display: grid; grid-template-columns: auto auto 1fr; gap: 16px; align-items: center; padding: 22px 20px; border-radius: var(--radius-xl); background: linear-gradient(140deg, #16224a, #0d1730 72%); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 16px; }
.weather-now-icon { font-size: 48px; line-height: 1; }
.weather-now-temp { display: flex; flex-direction: column; font-family: var(--serif); font-size: 54px; line-height: 1; }
.weather-now-label { font-family: var(--sans); font-size: 13px; color: var(--soft); margin-top: 6px; }
.weather-now-side { display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--line); padding-left: 16px; }
.weather-now-row { display: flex; flex-direction: column; gap: 2px; }
.wn-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); }
.wn-value { font-size: 15px; font-weight: 600; }
.wslots { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.wslots::-webkit-scrollbar { display: none; }
.wslot { flex: 0 0 auto; min-width: 66px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 8px; text-align: center; background: color-mix(in srgb, var(--card) 70%, transparent); scroll-snap-align: start; }
.wslot.now { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: var(--accent-soft); }
.wslot-time { font-size: 11px; color: var(--soft); }
.wslot.now .wslot-time { color: var(--accent); font-weight: 700; }
.wslot-icon { font-size: 18px; margin: 4px 0; }
.wslot-temp { font-size: 15px; font-weight: 600; }
.wslot-precip { font-size: 10.5px; color: var(--accent); min-height: 13px; }

/* --- W9: excursions slider + lightbox --- */
.accordion-head .acc-title { flex: 1; min-width: 0; }
.accordion-head .acc-sub { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--accent); white-space: nowrap; }
.exc-lead { font-size: 13.5px; color: var(--soft); line-height: 1.5; margin: 0 0 12px; }
.exc-slider-wrap { position: relative; }
.exc-slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.exc-slider::-webkit-scrollbar { display: none; }
.exc-slide { flex: 0 0 88%; max-width: 420px; margin: 0; scroll-snap-align: center; }
.exc-photo { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--card-2); cursor: zoom-in; }
.exc-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.exc-photo:active img { transform: scale(0.99); }
.exc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.exc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background 0.2s ease, transform 0.2s ease; }
.exc-dot.active { background: var(--accent); transform: scale(1.25); }

/* Glassy blurred, vertically centered photo lightbox with swipe navigation. */
.modal-image .modal-backdrop { background: rgba(5, 8, 16, 0.55); backdrop-filter: blur(22px) saturate(130%); -webkit-backdrop-filter: blur(22px) saturate(130%); }
.modal-image .modal-card { background: transparent; background-image: none; border: none; box-shadow: none; padding: calc(56px + var(--safe-top)) 10px calc(20px + var(--safe-bottom)); }
.modal-image .modal-body { justify-content: center; align-items: center; }
.lb-gallery { position: relative; width: 100%; max-width: 820px; display: flex; flex-direction: column; justify-content: center; margin: auto 0; }
.lb-slider { display: flex; gap: 7vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lb-slider::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
.lb-slide img { max-width: 100%; max-height: 70vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-md); animation: lightbox-in 0.26s ease both; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(10, 15, 28, 0.55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); z-index: 3; }
.lb-prev { left: 4px; }
.lb-next { right: 4px; }
.lb-foot { margin-top: 12px; text-align: center; }
.lb-caption { color: var(--text); font-size: 13.5px; line-height: 1.55; max-width: 720px; margin: 0 auto; }
.lb-count { color: var(--soft); font-size: 12px; margin-top: 6px; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }

/* --- W7: greeters --- */
.greeters { display: grid; gap: 10px; }
.greeter { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; background: color-mix(in srgb, var(--card) 72%, transparent); }
.greeter-name { font-family: var(--serif); font-size: 16px; font-weight: 600; }
.greeter-note { color: var(--soft); font-size: 12.5px; line-height: 1.5; margin: 4px 0 10px; }
.wifi-item + .wifi-item { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.wifi-note { margin-bottom: 10px; }
.wifi-line { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.wifi-key { color: var(--soft); font-size: 12.5px; min-width: 58px; }
.wifi-val { font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
.wifi-line .btn { margin-left: auto; }
.wifi-join { margin-top: 8px; }
.wifi-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.wifi-row + .wifi-row { border-top: 1px solid var(--line); }
.wifi-row-info { flex: 1; min-width: 0; }
.wifi-row-name { font-weight: 600; font-size: 14.5px; }
.wifi-row-sub { color: var(--soft); font-size: 12px; margin-top: 2px; }
.wifi-row-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.wifi-mini { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 12.5px; font-family: var(--sans); cursor: pointer; }
.wifi-mini.primary { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.wifi-qr { display: flex; justify-content: center; margin: 16px 0; }
.wifi-qr img { width: min(72%, 240px); height: auto; background: #fff; border-radius: 12px; padding: 10px; }
.faq-wifi { margin-top: 10px; }
.menu-variants { display: grid; gap: 12px; margin-top: 14px; }
.menu-variant { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; background: color-mix(in srgb, var(--card) 70%, transparent); }
.menu-variant-title { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.menu-variant ul { margin: 0; padding-left: 18px; color: var(--soft); font-size: 13.5px; line-height: 1.6; }
.menu-sections { display: grid; gap: 16px; margin-top: 14px; }
.menu-section { border-top: 1px solid var(--line); padding-top: 12px; }
.menu-section:first-child { border-top: none; padding-top: 0; }
.menu-section-title { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--accent); }
.menu-section ul { margin: 0; padding-left: 18px; color: var(--text); font-size: 13.5px; line-height: 1.6; }
.menu-section li + li { margin-top: 3px; }
.vip-note { margin-top: 12px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: var(--radius-md); background: var(--accent-soft); color: var(--text); font-size: 13.5px; line-height: 1.5; }
.vip-note::before { content: "★ "; color: var(--accent); }

/* --- Transfer: Yandex Maps route modal --- */
.route-mode { display: flex; gap: 8px; margin-top: 12px; }
.route-mode button { flex: 1; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--soft); cursor: pointer; font-size: 13px; font-family: var(--sans); }
.route-mode button.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.route-mode[hidden] { display: none; }
.route-view { display: flex; gap: 8px; margin-top: 12px; }
.route-view button { flex: 1; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--soft); cursor: pointer; font-size: 13px; font-family: var(--sans); }
.route-view button.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.ymap { width: 100%; height: 60vh; min-height: 320px; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--card-2); }
.ymap-frame { width: 100%; height: 100%; border: 0; }

/* --- INC-068: «Материалы» --- */
.mat-hero { display: flex; flex-direction: column; gap: 14px; }
.mat-hero-top { display: flex; align-items: center; gap: 14px; }
.mat-hero-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: 0 0 auto; }
.mat-hero-ico svg { width: 24px; height: 24px; }
.mat-hero-actions { display: flex; flex-direction: column; gap: 10px; }
.mat-hero-actions .btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
.mat-hero-actions .btn svg { width: 18px; height: 18px; }
.mat-overall { display: flex; flex-direction: column; gap: 6px; }
.mat-overall-label { font-size: 12.5px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mat-talk .acc-sub { max-width: 42%; overflow: hidden; text-overflow: ellipsis; }
.mat-speaker { font-weight: 600; font-size: 14.5px; margin-bottom: 2px; }
.mat-position { color: var(--soft); font-size: 12.5px; line-height: 1.5; }
.mat-desc { color: var(--text); font-size: 13.5px; line-height: 1.6; margin: 10px 0 0; }
.mat-empty { color: var(--soft); font-size: 13px; padding: 8px 0 2px; }
.mat-files { display: grid; gap: 10px; margin-top: 12px; }
.mat-file { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px; background: color-mix(in srgb, var(--card) 72%, transparent); }
.mat-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); color: var(--accent); }
.mat-ico svg { width: 21px; height: 21px; }
.mat-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mat-name { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.mat-badge { margin-left: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 45%, var(--line)); border-radius: 999px; padding: 1px 8px; }
.mat-meta { color: var(--soft); font-size: 12px; }
.mat-meta-extra { display: block; color: var(--accent); }
.mat-bar { height: 4px; border-radius: 999px; background: var(--card-2); overflow: hidden; display: block; }
.mat-bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #f7d9a0); transition: width 0.2s ease; }
.mat-btn { min-width: 96px; }
.mat-busy .mat-bar { background: color-mix(in srgb, var(--accent) 18%, var(--card-2)); }
.mat-done .mat-ico { color: var(--ok); }
.mat-archive-block { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.mat-subhead { font-family: var(--serif); font-size: 14.5px; font-weight: 600; color: var(--accent); margin: 14px 0 8px; }
.mat-footer { margin-top: 16px; font-size: 12px; line-height: 1.6; }

.mat-stats .acc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mat-stats .acc-ico svg { width: 18px; height: 18px; }
.mat-stats-toolbar { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.mat-stats-toolbar .btn { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 8px; }
.mat-stats-toolbar .btn svg { width: 16px; height: 16px; }
.mat-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mat-kpi { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: color-mix(in srgb, var(--card) 72%, transparent); display: flex; flex-direction: column; gap: 2px; }
.mat-kpi-value { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--accent); }
.mat-kpi-label { color: var(--soft); font-size: 11.5px; }
.mat-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.mat-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 12.5px; }
.mat-table th { text-align: left; font-weight: 600; color: var(--soft); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mat-table td { padding: 8px 10px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); vertical-align: top; }
.mat-table tr:last-child td { border-bottom: none; }
.mat-table .n { text-align: right; white-space: nowrap; }
.mat-table .n.bad { color: var(--danger); }
.mat-tt { display: block; font-weight: 600; }
.mat-ts { display: block; color: var(--soft); font-size: 11.5px; margin-top: 2px; }
.mat-fails { display: grid; gap: 6px; }
.mat-fail { display: grid; grid-template-columns: 72px 1fr; gap: 2px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 12px; background: color-mix(in srgb, var(--card) 60%, transparent); }
.mat-fail-time { color: var(--soft); grid-row: span 2; }
.mat-fail-who { font-weight: 600; }
.mat-fail-what { color: var(--text); overflow-wrap: anywhere; }
.mat-fail-why { color: var(--danger); }
.mat-days { display: grid; gap: 6px; }
.mat-day { display: grid; grid-template-columns: 52px 1fr 32px; gap: 8px; align-items: center; font-size: 12px; }
.mat-day-label { color: var(--soft); }
.mat-day-bar { height: 8px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.mat-day-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.mat-day-value { text-align: right; color: var(--soft); }
.mat-stats-note { margin-top: 12px; font-size: 11.5px; }

/* --- INC-069: «Галерея» --- */
.tile.wide.compact { min-height: 100px; flex-direction: row; align-items: center; gap: 14px; padding: 14px 18px; }
.tile.compact .tile-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile.compact .tile-title { margin-top: 0; }
.tile.compact .tile-sub { color: rgba(255, 255, 255, 0.8); }

.gallery-lead { color: var(--soft); font-size: 13px; line-height: 1.5; margin: 0 0 10px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery-card { position: relative; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--card-2); cursor: zoom-in; }
.gallery-card img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.25s ease; }
.gallery-card:active img { transform: scale(0.97); }
.gallery-sentinel { height: 2px; }
.gallery-credit { margin: 16px 2px 4px; font-size: 13px; color: var(--soft); }
.gallery-credit a { color: var(--accent); }

/* Полноэкранный просмотр фото: превью сразу, оригинал поверх с фейдом. */
.pv-modal .modal-body { justify-content: center; }
.pv { display: flex; flex-direction: column; align-items: center; width: 100%; }
.pv-stage { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40vh; }
.pv-img { max-width: 100%; max-height: 74vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-md); opacity: 0.92; transition: opacity 0.2s ease; }
.pv-img.pv-full { opacity: 1; }
.pv-note { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(10, 15, 28, 0.78); color: #fff; font-size: 12px; white-space: nowrap; }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(10, 15, 28, 0.55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); z-index: 3; }
.pv-prev { left: 4px; }
.pv-next { right: 4px; }
.pv-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 820px; margin-top: 14px; }
.pv-count { color: var(--soft); font-size: 13px; }
.pv-actions { display: flex; gap: 10px; }
.pv-btn { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(10, 15, 28, 0.6); color: #fff; font-size: 13px; text-decoration: none; cursor: pointer; font-family: var(--sans); }
.pv-btn:active { transform: scale(0.97); }

/* --- INC-068 HF3: страховка «Скачать через браузер», подсказка при сбое --- */
.mat-alt { align-self: flex-start; background: none; border: none; padding: 2px 0 0; margin: 0; color: var(--soft); font-size: 11.5px; font-family: var(--sans); text-decoration: underline; cursor: pointer; }
.mat-alt:hover { color: var(--accent); }
.mat-hero-alt { margin-top: 2px; }
.mat-file.mat-failed .mat-alt { color: var(--accent); font-weight: 600; }
