:root {
  --ink: #061321;
  --night: #07192b;
  --night-2: #0d2940;
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(6, 19, 33, 0.12);
  --text: #f8fbff;
  --muted: rgba(248, 251, 255, 0.74);
  --body: #26384a;
  --body-muted: #6d7f8f;
  --coral: #ee6d5f;
  --coral-dark: #d95549;
  --moon: #f8c76c;
  --cyan: #65d2df;
  --green: #8ccfa6;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 12%, rgba(238, 109, 95, 0.2), transparent 26rem),
    linear-gradient(180deg, #061321 0%, #0c2338 48%, #f4f8fb 48%, #f4f8fb 100%);
  font-family:
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 14px 22px;
  background: rgba(5, 18, 32, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--night);
  background: var(--surface);
  border-radius: 8px;
  font-weight: 800;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(6, 19, 33, 0.18);
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.lang-switch button {
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lang-switch button.is-active {
  color: var(--night);
  background: #fff;
}

.icon-button,
.modal-close {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82vh;
  padding: 122px 24px 80px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 17, 31, 0.9) 0%, rgba(5, 17, 31, 0.72) 32%, rgba(5, 17, 31, 0.14) 74%),
    linear-gradient(180deg, rgba(5, 17, 31, 0.18) 0%, rgba(5, 17, 31, 0.35) 72%, #07192b 100%),
    url("./assets/hero-hanabi.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  min-width: 0;
  margin: 0 auto;
  max-width: var(--max);
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-family:
    "Noto Serif SC",
    "Songti SC",
    "SimSun",
    serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.12;
}

.mobile-title-break {
  display: none;
}

.hero p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button,
.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.primary-button {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 14px 36px rgba(238, 109, 95, 0.34);
}

.primary-button:hover {
  background: var(--coral-dark);
}

.secondary-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.quiet-button {
  min-height: 40px;
  color: var(--body);
  background: #fff;
  border-color: var(--line-dark);
}

.full {
  width: 100%;
}

.section {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 58px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.25;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  white-space: nowrap;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.event-card {
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.event-card-media,
.preview-image,
.guide-media {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  background:
    radial-gradient(circle at 52% 20%, rgba(248, 199, 108, 0.86) 0 4px, transparent 5px 16px, rgba(248, 199, 108, 0.34) 17px 18px, transparent 19px),
    radial-gradient(circle at 72% 34%, rgba(238, 109, 95, 0.86) 0 3px, transparent 4px 13px, rgba(238, 109, 95, 0.25) 14px 15px, transparent 16px),
    linear-gradient(145deg, rgba(7, 25, 43, 0.2), rgba(7, 25, 43, 0.68)),
    var(--event-image, url("./assets/hero-hanabi.png")) center / cover no-repeat;
}

.event-card:nth-child(2) .event-card-media {
  background-position: 58% 44%;
}

.event-card:nth-child(3) .event-card-media {
  background-position: 74% 38%;
}

.event-card:nth-child(4) .event-card-media {
  background-position: 88% 54%;
}

.event-card:nth-child(5) .event-card-media {
  background-position: 46% 42%;
}

.event-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  color: #fff;
  background: rgba(238, 109, 95, 0.92);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.event-card-body {
  padding: 14px;
}

.event-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: var(--body-muted);
  font-size: 13px;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #d89830;
  font-size: 13px;
  white-space: nowrap;
}

.feature-line {
  min-height: 44px;
  margin: 12px 0 14px;
  color: var(--body);
  font-size: 13px;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  color: var(--coral-dark);
  background: rgba(238, 109, 95, 0.08);
  border: 1px solid rgba(238, 109, 95, 0.32);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.city-section {
  padding-top: 20px;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.city-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 18px;
  color: var(--text);
  background:
    linear-gradient(150deg, rgba(7, 25, 43, 0.24), rgba(7, 25, 43, 0.7)),
    var(--city-art),
    linear-gradient(135deg, #264b66, #0d2940);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
}

.city-card h3 {
  margin: 0;
  font-size: 26px;
}

.city-card p {
  max-width: 12em;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.city-card span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: stretch;
}

.timeline-wrap,
.detail-preview {
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(6, 19, 33, 0.12);
}

.timeline-wrap {
  padding: 24px;
}

.section-heading.compact h2,
.section-heading.compact p,
.guides-section .section-heading h2,
.guides-section .section-heading p,
.community-list + .section-heading h2 {
  color: var(--ink);
}

.timeline-wrap .section-heading h2,
.timeline-wrap .section-heading p,
.guides-section .section-heading h2,
.guides-section .section-heading p,
.section:nth-of-type(n + 4) .section-heading h2,
.section:nth-of-type(n + 4) .section-heading p {
  color: var(--ink);
}

.timeline-wrap .section-heading p,
.guides-section .section-heading p,
.section:nth-of-type(n + 4) .section-heading p {
  color: var(--body-muted);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.filter-tabs button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  color: var(--body);
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-tabs button.is-active {
  color: #fff;
  background: var(--night-2);
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.empty-state {
  padding: 16px;
  color: var(--body-muted);
  background: var(--surface-soft);
  border: 1px dashed rgba(6, 19, 33, 0.16);
  border-radius: 8px;
  font-size: 14px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid rgba(6, 19, 33, 0.08);
  border-radius: 8px;
}

.timeline-date {
  color: var(--night);
  font-weight: 800;
  line-height: 1.25;
}

.timeline-date small {
  display: block;
  margin-top: 4px;
  color: var(--body-muted);
  font-size: 12px;
  font-weight: 600;
}

.timeline-main strong {
  display: block;
  font-size: 16px;
}

.timeline-main span {
  display: block;
  margin-top: 4px;
  color: var(--body-muted);
  font-size: 13px;
}

.want-count {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.past-events-panel {
  margin-top: 14px;
  color: var(--body-muted);
  background: rgba(6, 19, 33, 0.03);
  border: 1px solid rgba(6, 19, 33, 0.08);
  border-radius: 8px;
}

.past-events-panel[hidden] {
  display: none;
}

.past-events-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.past-events-panel summary::-webkit-details-marker {
  display: none;
}

.past-events-panel summary span {
  color: var(--body);
  font-size: 13px;
  font-weight: 800;
}

.past-events-panel summary small {
  font-size: 12px;
}

.past-timeline {
  display: grid;
  gap: 6px;
  padding: 0 12px 12px;
}

.past-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 10px;
  text-align: left;
  color: var(--body-muted);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(6, 19, 33, 0.06);
  border-radius: 8px;
}

.past-row span {
  color: var(--body-muted);
  font-size: 12px;
  font-weight: 800;
}

.past-row strong {
  overflow: hidden;
  color: var(--body);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.past-row small {
  grid-column: 2;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-preview {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.preview-image {
  min-height: 220px;
  background-position: 74% 42%;
}

.preview-body {
  padding: 22px;
}

.preview-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.preview-body p {
  margin: 10px 0 20px;
  color: var(--body-muted);
  font-size: 14px;
}

.community-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.community-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(6, 19, 33, 0.1);
}

.community-row strong {
  display: block;
  font-size: 18px;
}

.community-row span {
  display: block;
  margin-top: 4px;
  color: var(--body-muted);
  font-size: 13px;
}

.community-row button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 12px;
  color: #fff;
  background: var(--night-2);
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.guides-section {
  color: var(--ink);
}

.guides-section .text-link,
.section:nth-of-type(n + 4) .text-link {
  color: var(--night-2);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.guide-card {
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(6, 19, 33, 0.1);
  cursor: pointer;
}

.guide-card:hover {
  transform: translateY(-2px);
}

.guide-media {
  min-height: 112px;
}

.guide-card:nth-child(2) .guide-media {
  background-position: 42% 48%;
}

.guide-card:nth-child(3) .guide-media {
  background-position: 88% 52%;
}

.guide-card:nth-child(4) .guide-media {
  background-position: 28% 44%;
}

.guide-card:nth-child(5) .guide-media {
  background-position: 74% 48%;
}

.guide-body {
  padding: 14px;
}

.guide-body h3 {
  min-height: 54px;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.guide-body p {
  margin: 10px 0 0;
  color: var(--body-muted);
  font-size: 12px;
}

.guide-detail-hero {
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(5, 18, 32, 0.1), rgba(5, 18, 32, 0.72)),
    url("./assets/hero-hanabi.png") center 42% / cover no-repeat;
}

.guide-detail-body {
  padding: 24px;
}

.guide-detail-body h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.25;
}

.guide-lead {
  margin: 12px 0 0;
  color: var(--body);
  font-size: 16px;
}

.guide-section-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.guide-article-section {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(6, 19, 33, 0.08);
  border-radius: 8px;
}

.guide-article-section h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
}

.guide-article-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--body);
}

.guide-cta {
  margin-top: 18px;
}

.footer {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 20px 0 44px;
  color: var(--body-muted);
  font-size: 13px;
}

.footer p {
  margin: 8px 0 0;
}

.footer a {
  margin-right: 12px;
  color: var(--night-2);
  font-weight: 700;
}

.floating-contact {
  position: fixed;
  z-index: 45;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 18px;
  color: #fff;
  background: var(--coral);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(238, 109, 95, 0.34);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.service-float {
  left: 22px;
}

.ai-float {
  right: 22px;
  min-height: 66px;
  padding: 0 24px;
  background: #0d2940;
  box-shadow: 0 18px 48px rgba(13, 41, 64, 0.34);
  font-size: 16px;
}

.ai-float svg {
  width: 24px;
  height: 24px;
}

.modal,
.contact-drawer {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: none;
}

.modal.is-open,
.contact-drawer.is-open {
  display: block;
}

.modal-backdrop,
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 18, 0.7);
}

.modal-panel,
.drawer-panel {
  position: absolute;
  overflow: auto;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-panel {
  top: 5vh;
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(880px, calc(100% - 36px));
  max-height: 90vh;
  transform: translateX(-50%);
  border-radius: 8px;
}

.drawer-panel {
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  padding: 72px 24px 24px;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line-dark);
}

.modal-hero {
  min-height: 270px;
  padding: 96px 28px 28px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 17, 31, 0.12), rgba(5, 17, 31, 0.88)),
    var(--event-image, url("./assets/hero-hanabi.png")) center / cover no-repeat;
}

.modal-hero h2 {
  max-width: 680px;
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

.modal-hero p {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.modal-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.modal-link-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-weight: 800;
}

.modal-link-actions a.primary {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.modal-body {
  padding: 26px 28px 30px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.fact {
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid rgba(6, 19, 33, 0.08);
  border-radius: 8px;
}

.fact span {
  display: block;
  color: var(--body-muted);
  font-size: 12px;
}

.fact strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 14px;
}

.detail-section {
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
}

.detail-section h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
}

.detail-section p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
}

.tag-grid,
.highlight-grid,
.route-grid,
.tip-list {
  display: grid;
  gap: 10px;
}

.tag-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fit-tag,
.highlight,
.route,
.tip-list li {
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid rgba(6, 19, 33, 0.08);
  border-radius: 8px;
}

.fit-tag strong {
  display: block;
  font-size: 14px;
}

.fit-tag span {
  display: block;
  margin-top: 5px;
  color: #d89830;
  font-size: 13px;
}

.highlight {
  color: var(--night-2);
  font-size: 14px;
  font-weight: 800;
}

.highlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route strong {
  display: block;
  color: var(--ink);
}

.route span {
  display: block;
  margin-top: 6px;
  color: var(--body-muted);
  font-size: 13px;
}

.ticket-box,
.join-box {
  padding: 16px;
  background: linear-gradient(135deg, rgba(238, 109, 95, 0.1), rgba(101, 210, 223, 0.12));
  border: 1px solid rgba(238, 109, 95, 0.22);
  border-radius: 8px;
}

.ticket-box .modal-link-actions a {
  background: #fff;
  border-color: rgba(6, 19, 33, 0.1);
}

.ticket-box .modal-link-actions a.primary {
  background: var(--coral);
  border-color: var(--coral);
}

.ticket-option-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ticket-option-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(6, 19, 33, 0.1);
  border-radius: 8px;
}

.ticket-option-card strong,
.ticket-option-card span,
.ticket-option-card em {
  display: block;
}

.ticket-option-card strong {
  color: var(--ink);
  font-size: 16px;
}

.ticket-option-card span {
  margin-top: 5px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.ticket-option-card em {
  margin-top: 5px;
  color: var(--body-muted);
  font-style: normal;
  font-size: 13px;
}

.ticket-option-card a,
.ticket-option-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  color: #fff;
  background: var(--coral);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
}

.ticket-platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ticket-platform-links a {
  min-height: 38px;
  color: var(--coral);
  background: #fff;
  border: 1px solid rgba(238, 109, 95, 0.35);
}

.join-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.join-box strong {
  color: var(--coral-dark);
  font-size: 30px;
}

.drawer-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.drawer-panel p {
  margin: 12px 0 22px;
  color: var(--body-muted);
}

.contact-options {
  display: grid;
  gap: 10px;
}

.contact-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid rgba(6, 19, 33, 0.08);
  border-radius: 8px;
}

.contact-options span {
  color: var(--body-muted);
}

.qr-contact-options {
  gap: 14px;
}

.contact-qr-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid rgba(6, 19, 33, 0.08);
  border-radius: 8px;
}

.contact-qr-card div {
  display: grid;
  gap: 6px;
}

.contact-qr-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.contact-qr-card img {
  width: 122px;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(6, 19, 33, 0.1);
  border-radius: 8px;
}

@media (max-width: 560px) {
  .contact-qr-card {
    grid-template-columns: 1fr;
  }

  .contact-qr-card img {
    justify-self: center;
    width: min(190px, 100%);
  }
}

.ai-required {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 14px;
  background: rgba(238, 109, 95, 0.1);
  border: 1px solid rgba(238, 109, 95, 0.24);
  border-radius: 8px;
}

.ai-required strong {
  color: var(--coral-dark);
  font-size: 16px;
}

.ai-required span {
  color: var(--body);
  font-size: 13px;
}

#aiQuestion {
  width: 100%;
  margin: 4px 0 12px;
  padding: 12px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid rgba(6, 19, 33, 0.12);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

.ai-answer {
  min-height: 150px;
  margin: 14px 0 0;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--body);
  background: var(--surface-soft);
  border: 1px solid rgba(6, 19, 33, 0.08);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}

@media (max-width: 1020px) {
  .event-grid,
  .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .city-grid,
  .community-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  body {
    background:
      radial-gradient(circle at 100% 0%, rgba(238, 109, 95, 0.18), transparent 18rem),
      linear-gradient(180deg, #061321 0%, #0c2338 42%, #f4f8fb 42%, #f4f8fb 100%);
  }

  .topbar {
    padding: 10px 14px;
  }

  .site-shell,
  main,
  .topbar,
  .hero,
  .section {
    max-width: 100vw;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-logo {
    width: 31px;
    height: 31px;
  }

  .brand strong {
    font-size: 17px;
  }

  .nav-links {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
    transform: scale(0.94);
    transform-origin: right center;
  }

  .hero {
    min-height: 78vh;
    padding: 96px 18px 50px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(5, 17, 31, 0.52) 0%, rgba(5, 17, 31, 0.25) 42%, rgba(5, 17, 31, 0.94) 100%),
      url("./assets/hero-hanabi.png") 57% center / cover no-repeat;
  }

  .hero h1 {
    font-size: 38px;
  }

  .mobile-title-break {
    display: block;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    width: calc(100% - 28px);
    padding: 40px 0;
  }

  .section-heading {
    align-items: start;
    gap: 14px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .event-grid,
  .city-grid,
  .guide-grid,
  .community-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    max-width: 100%;
    padding: 0 2px 12px;
    scroll-snap-type: x mandatory;
  }

  .event-card,
  .city-card,
  .guide-card,
  .community-row {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .event-card-media {
    min-height: 150px;
  }

  .timeline-wrap {
    padding: 18px;
  }

  .timeline-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .want-count {
    grid-column: 2;
  }

  .floating-contact {
    bottom: 14px;
    width: calc(50vw - 20px);
    height: 52px;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 8px;
  }

  .service-float {
    left: 14px;
  }

  .ai-float {
    right: 14px;
    width: calc(54vw - 20px);
    min-height: 58px;
    height: 58px;
    padding: 0 16px;
    font-size: 14px;
  }

  .floating-contact span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }

  .modal-panel {
    inset: 0;
    width: 100%;
    max-height: none;
    transform: none;
    border-radius: 0;
  }

  .modal-hero h2 {
    font-size: 29px;
  }

  .modal-body,
  .modal-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .fact-grid,
  .tag-grid,
  .highlight-grid,
  .route-grid,
  .tip-list {
    grid-template-columns: 1fr;
  }

  .modal-link-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ticket-option-card {
    grid-template-columns: 1fr;
  }

  .ticket-platform-links {
    justify-content: stretch;
  }

  .ticket-platform-links a {
    flex: 1 1 130px;
  }

  .join-box {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 34px;
  }

  .primary-button,
  .secondary-button {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .event-card,
  .city-card,
  .guide-card,
  .community-row,
  .timeline-row {
    transition:
      transform 180ms ease,
      box-shadow 180ms ease;
  }

  .event-card:hover,
  .city-card:hover,
  .guide-card:hover,
  .community-row:hover,
  .timeline-row:hover {
    transform: translateY(-3px);
  }
}
