:root {
  color-scheme: light;
  --ink: #1c1a18;
  --muted: #a89470;
  --line: rgba(215, 164, 72, 0.38);
  --paper: #fbfaf7;
  --panel: #14100b;
  --rose: #c95f8f;
  --mint: #4f9f86;
  --gold: #d7a448;
  --screen: #c68a2b;
  --navy: #293b59;
  --banner-height: clamp(180px, 16.666vw, 320px);
  --topbar-height: 72px;
  --topbar-clearance: calc(var(--topbar-height) + 22px);
  --glass: rgba(18, 14, 9, 0.62);
  --glass-strong: rgba(22, 17, 11, 0.78);
  --glass-edge: rgba(255, 220, 145, 0.34);
  --glass-highlight: rgba(255, 245, 216, 0.14);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42), 0 10px 28px rgba(77, 44, 9, 0.22);
  --inner-glow: inset 0 1px 0 rgba(255, 245, 216, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

body.dialog-open {
  overflow: hidden;
}

body.dialog-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.72);
}

button,
select {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.root-world {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  color: #f8e7bd;
  background: #07111f;
  isolation: isolate;
}

body.root-active {
  background: #07111f;
}

body.root-active .entry-page,
body.root-active .coming-soon-page,
body.root-active .app-shell {
  display: none;
}

body:not(.root-active) .root-world {
  display: none;
}

.world-bg,
.world-vignette,
.ornate-frame,
.asset-layer,
#eggCanvas {
  position: absolute;
}

.world-bg {
  inset: 0;
  z-index: 0;
}

.world-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.world-vignette {
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 64% 46%, transparent 0 28%, rgba(5, 9, 18, 0.04) 46%, rgba(4, 6, 12, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 28%, rgba(0, 0, 0, 0.2));
}

.ornate-frame {
  --frame-inset: 18px;
  inset: var(--frame-inset);
  z-index: 7;
  pointer-events: none;
  border: 1px solid rgba(255, 217, 130, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(95, 54, 12, 0.72),
    inset 0 0 46px rgba(255, 195, 85, 0.08);
}

.ornate-frame::before,
.ornate-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(150px, 26vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 224, 148, 0.86), transparent);
  transform: translateX(-50%);
}

.ornate-frame::before {
  top: 14px;
}

.ornate-frame::after {
  bottom: 14px;
}

.root-topbar {
  position: absolute;
  z-index: 8;
  top: 28px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.title-block {
  width: fit-content;
  max-width: calc(100vw - 72px);
  padding: 14px 16px;
  border: 1px solid rgba(255, 223, 151, 0.34);
  border-radius: 18px;
  text-align: center;
  background: rgba(7, 13, 24, 0.46);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 245, 216, 0.16);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.title-block h1,
.title-block p,
.year-card h2,
.year-card p {
  margin: 0;
}

.title-block h1 {
  color: #ffe8ad;
  font-size: clamp(20px, 2.15vw, 31px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
}

.title-block p {
  margin-top: 6px;
  color: rgba(248, 231, 189, 0.74);
  font-size: clamp(12px, 1.1vw, 15px);
}

.asset-layer {
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.asset-layer img {
  width: 100%;
  display: block;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.42));
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 47%, rgba(0, 0, 0, 0.92) 55%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 0 47%, rgba(0, 0, 0, 0.92) 55%, transparent 78%);
}

.future-islands {
  top: 4%;
  left: 31%;
  width: 33%;
  opacity: 0.44;
  transform: rotate(-2deg);
}

.island-2025 {
  top: 21%;
  left: 3%;
  width: 39%;
  opacity: 0.86;
  transform: rotate(-2deg) scale(0.94);
}

.island-2026 {
  z-index: 3;
  top: 12%;
  right: 2%;
  width: 55%;
  transform: rotate(1.5deg);
}

.seal {
  position: absolute;
  z-index: 5;
  width: clamp(72px, 8.4vw, 132px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 231, 171, 0.74);
  padding: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 250, 224, 0.98) 0 8%, rgba(255, 220, 125, 0.78) 9% 12%, transparent 13%),
    repeating-conic-gradient(from 18deg, rgba(255, 236, 178, 0.9) 0 4deg, rgba(205, 140, 42, 0.42) 5deg 8deg, transparent 9deg 16deg),
    radial-gradient(circle, transparent 0 34%, rgba(255, 238, 184, 0.88) 35% 37%, transparent 38% 51%, rgba(255, 225, 146, 0.74) 52% 54%, transparent 55%),
    radial-gradient(circle, rgba(255, 233, 170, 0.2), rgba(205, 140, 42, 0.16) 48%, rgba(255, 246, 218, 0.12));
  box-shadow:
    0 0 18px rgba(255, 223, 141, 0.34),
    0 8px 14px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 248, 220, 0.34),
    inset 0 0 16px rgba(255, 217, 132, 0.22);
  cursor: pointer;
  transform: translate(-50%, -50%) var(--tilt, rotateX(58deg) rotateZ(0deg));
  transform-style: preserve-3d;
}

.seal::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 238, 184, 0.5), transparent 60%);
  opacity: 0.42;
  animation: pulseSeal 2.4s ease-in-out infinite;
}

.seal::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 247, 216, 0.66);
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(255, 218, 124, 0.08),
    inset 0 0 14px rgba(255, 255, 238, 0.28);
}

.seal:focus-visible {
  outline: 2px solid rgba(255, 240, 190, 0.9);
  outline-offset: 8px;
}

.seal-2025 {
  left: 22.4%;
  top: 42.2%;
  width: clamp(54px, 5.8vw, 94px);
  --tilt: rotateX(64deg) rotateZ(-8deg);
}

.seal-2026 {
  left: 70.2%;
  top: 43.6%;
  width: clamp(68px, 7.2vw, 116px);
  --tilt: rotateX(63deg) rotateZ(5deg);
}

.year-mark {
  position: absolute;
  z-index: 6;
  left: var(--x);
  top: var(--y);
  pointer-events: none;
  color: #fff0b8;
  font-family: "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: clamp(28px, 3.8vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 0 #8b551b, 0 8px 16px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 224, 148, 0.38);
  transform: translate(-50%, -50%) perspective(700px) rotateX(10deg) rotateY(var(--ry, 0deg)) rotateZ(var(--rz, 0deg));
}

.year-mark sup {
  position: relative;
  top: -0.34em;
  margin-left: -0.03em;
  font-size: 0.34em;
  letter-spacing: 0;
  vertical-align: baseline;
}

.year-mark-2025 {
  --x: 24.3%;
  --y: 37.2%;
  --ry: 12deg;
  --rz: -4deg;
  font-size: clamp(23px, 3vw, 48px);
}

.year-mark-2026 {
  --x: 70.2%;
  --y: 36%;
  --ry: -10deg;
  --rz: 5deg;
}

@keyframes pulseSeal {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.28;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.58;
  }
}

#eggCanvas {
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.year-card {
  position: absolute;
  z-index: 8;
  width: min(260px, 26vw);
  padding: 13px 14px;
  border: 1px solid rgba(255, 223, 151, 0.34);
  border-radius: 16px;
  color: #f8e7bd;
  background: rgba(7, 13, 24, 0.42);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 245, 216, 0.14);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  pointer-events: none;
}

.year-card.active {
  opacity: 1;
  transform: translateY(0);
}

.year-card h2 {
  color: #ffe8ad;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.year-card p {
  margin-top: 7px;
  color: rgba(248, 231, 189, 0.72);
  font-size: 12px;
  line-height: 1.4;
}

.card-2025 {
  left: 5%;
  bottom: 13%;
}

.card-2026 {
  right: 5%;
  bottom: 11%;
}

.root-footer {
  position: absolute;
  z-index: 8;
  left: 32px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 232, 173, 0.58);
  font-size: 11px;
  line-height: 1;
}

.privacy-link {
  padding: 7px 9px;
  border: 1px solid rgba(255, 223, 151, 0.26);
  border-radius: 999px;
  color: rgba(255, 232, 173, 0.76);
  background: rgba(7, 13, 24, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 245, 216, 0.1);
  font-size: 11px;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.privacy-link:hover,
.privacy-link:focus-visible {
  color: #ffe8ad;
  border-color: rgba(255, 223, 151, 0.5);
  background: rgba(7, 13, 24, 0.44);
}

.privacy-link:focus-visible {
  outline: 2px solid rgba(255, 231, 164, 0.86);
  outline-offset: 4px;
}

.root-return {
  min-height: 40px;
  border: 1px solid rgba(222, 174, 79, 0.5);
  border-radius: 12px;
  color: #171006;
  background: linear-gradient(145deg, #ffe09a, #d3922f 64%, #9a5c17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 10px 22px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.root-return:focus-visible {
  outline: 2px solid rgba(255, 231, 164, 0.86);
  outline-offset: 4px;
}

.root-return-floating {
  position: fixed;
  z-index: 950;
  top: 16px;
  left: 16px;
  display: none;
  padding: 0 14px;
}

body.entry-active .root-return-floating,
body.coming-soon-active .root-return-floating {
  display: inline-flex;
  align-items: center;
}

.root-return-inline {
  flex: 0 0 auto;
  padding: 0 13px;
}

.entry-page {
  min-height: 100vh;
  display: none;
  place-items: center;
  padding: clamp(14px, 2vw, 28px);
  position: relative;
  overflow: hidden;
  color: #f7d78e;
  background:
    radial-gradient(circle at 18% 10%, rgba(226, 166, 47, 0.22), transparent 28%),
    radial-gradient(circle at 78% 90%, rgba(146, 79, 13, 0.22), transparent 34%),
    #050403;
}

body.entry-active {
  background: #050403;
}

body.entry-active .entry-page {
  display: grid;
}

body.entry-active .app-shell {
  display: none;
}

.coming-soon-page {
  min-height: 100vh;
  display: none;
  place-items: center;
  overflow: hidden;
  background: #fbf4dc;
}

body.coming-soon-active .entry-page,
body.coming-soon-active .app-shell {
  display: none;
}

body.coming-soon-active .coming-soon-page {
  display: grid;
}

.coming-soon-art,
.coming-soon-art img {
  width: 100%;
  height: 100vh;
  display: block;
}

.coming-soon-art img {
  object-fit: cover;
  object-position: center;
}

.entry-stage {
  width: min(100%, calc((100vh - 34px) * 1.3));
  max-width: 1420px;
  position: relative;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.56));
}

.entry-art,
.entry-art img {
  width: 100%;
  display: block;
}

.entry-art img {
  border-radius: 2px;
}

.entry-hotspot {
  position: absolute;
  z-index: 5;
  border: 0;
  border-radius: 26px;
  background: transparent;
  cursor: pointer;
}

.entry-hotspot:focus-visible {
  outline: 2px solid rgba(255, 231, 164, 0.86);
  outline-offset: 5px;
}

.entry-hotspot-map {
  left: 73.5%;
  top: 9.8%;
  width: 23%;
  height: 34%;
}

.entry-hotspot-calendar {
  left: 73.5%;
  top: 45.3%;
  width: 23%;
  height: 34%;
}

.topbar {
  position: fixed;
  z-index: 800;
  top: 10px;
  left: 12px;
  right: 12px;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  color: #f7e5b5;
  background: transparent;
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36), var(--inner-glow);
  isolation: isolate;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 236, 183, 0.12), rgba(255, 236, 183, 0.02) 34%, rgba(0, 0, 0, 0.16)),
    var(--glass);
  backdrop-filter: blur(24px) saturate(1.18);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #120d05;
  background: radial-gradient(circle at 32% 24%, #fff1b8, #e3b452 46%, #9f651e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 8px 22px rgba(0, 0, 0, 0.3);
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

h1,
h2,
p {
  margin: 0;
}

.brand h1 {
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand p {
  margin-top: 3px;
  color: rgba(247, 229, 181, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(222, 174, 79, 0.46);
  border-radius: 12px;
  background: rgba(255, 238, 192, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 245, 216, 0.14), 0 8px 20px rgba(0, 0, 0, 0.18);
}

.segmented-button,
.language-select,
.icon-button,
.carousel-button,
.dot {
  cursor: pointer;
}

.segmented-button {
  min-width: 86px;
  min-height: 38px;
  border: 0;
  color: rgba(247, 229, 181, 0.8);
  background: transparent;
}

.segmented-button.active {
  color: #171006;
  background: linear-gradient(145deg, #ffe09a, #d3922f 64%, #9a5c17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 8px 18px rgba(0, 0, 0, 0.25);
}

.language-select {
  min-height: 40px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(222, 174, 79, 0.46);
  border-radius: 12px;
  color: #f7e5b5;
  background: rgba(10, 8, 6, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 245, 216, 0.12), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.main {
  min-height: 100vh;
}

.view {
  display: none;
  min-height: 100vh;
  padding-top: var(--topbar-clearance);
}

.view.active {
  display: block;
}

#mapView {
  position: relative;
  background: #090806;
}

.banner-frame {
  position: relative;
  height: var(--banner-height);
  overflow: hidden;
  background: #070604;
  border-bottom: 1px solid rgba(209, 148, 38, 0.42);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.banner-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(255, 220, 145, 0.28);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 216, 0.18),
    inset 0 -22px 42px rgba(0, 0, 0, 0.24),
    0 12px 34px rgba(0, 0, 0, 0.22);
}

.banner-frame picture,
.banner-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.banner-frame img {
  object-fit: cover;
  object-position: center center;
}

.map {
  width: 100%;
  height: calc(100vh - var(--topbar-clearance) - var(--banner-height));
  min-height: 480px;
}

.event-panel {
  position: fixed;
  z-index: 700;
  top: calc(var(--topbar-clearance) + var(--banner-height) + 18px);
  right: 18px;
  width: min(390px, calc(100vw - 36px));
  max-height: calc(100vh - var(--topbar-clearance) - var(--banner-height) - 36px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  color: #f7ead2;
  background: transparent;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.event-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 224, 148, 0.18), transparent 34%),
    linear-gradient(155deg, rgba(255, 245, 216, 0.08), rgba(255, 245, 216, 0.02) 32%, rgba(0, 0, 0, 0.18)),
    var(--glass-strong);
  backdrop-filter: blur(26px) saturate(1.18);
  -webkit-backdrop-filter: blur(26px) saturate(1.18);
}

.event-panel > * {
  position: relative;
  z-index: 1;
}

.event-panel.hidden {
  display: none;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.eyebrow {
  margin-bottom: 6px;
  color: #e9b75d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-header h2 {
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
}

.icon-button,
.dialog-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(215, 164, 72, 0.48);
  border-radius: 12px;
  color: #f7ead2;
  background: linear-gradient(145deg, rgba(255, 224, 148, 0.18), rgba(255, 224, 148, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 245, 216, 0.18), 0 8px 20px rgba(0, 0, 0, 0.24);
  font-size: 22px;
  line-height: 1;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.meta-pill {
  padding: 7px 9px;
  border: 1px solid rgba(215, 164, 72, 0.32);
  border-radius: 999px;
  color: #f9dfac;
  background: linear-gradient(145deg, rgba(255, 224, 148, 0.14), rgba(255, 224, 148, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 245, 216, 0.1);
  font-size: 12px;
}

.summary {
  margin-top: 16px;
  color: rgba(247, 234, 210, 0.86);
  font-size: 14px;
  line-height: 1.55;
}

.location-box {
  margin-top: 14px;
  padding: 12px;
  border-left: 4px solid #e5b65f;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 224, 148, 0.13), rgba(255, 224, 148, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 245, 216, 0.12);
  color: rgba(247, 234, 210, 0.88);
  font-size: 13px;
  line-height: 1.45;
}

.location-box strong {
  display: block;
  margin-bottom: 4px;
}

.event-gallery {
  position: relative;
  margin-top: 16px;
}

.image-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.image-strip::-webkit-scrollbar {
  display: none;
}

.image-thumb {
  width: calc((100% - 10px) / 2);
  aspect-ratio: 4 / 5;
  flex: 0 0 calc((100% - 10px) / 2);
  padding: 0;
  overflow: hidden;
  border: 0;
  border: 1px solid rgba(255, 220, 145, 0.18);
  border-radius: 12px;
  background: rgba(255, 224, 148, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 245, 216, 0.12);
  scroll-snap-align: start;
}

.image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-thumb {
  position: relative;
}

.media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 240, 190, 0.7);
  border-radius: 50%;
  color: #fff7dc;
  background: rgba(0, 0, 0, 0.54);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  font-size: 17px;
  transform: translate(-50%, -50%);
}

.support-marker {
  --s: 44px;
  --base: #0fa36d;
  --light: #b8ffe1;
  --dark: #044532;
  --glow: rgba(52, 226, 153, 0.42);
  --cut: polygon(49% 0, 71% 9%, 93% 34%, 87% 67%, 62% 95%, 31% 91%, 8% 67%, 5% 31%, 26% 7%);
  --facet: polygon(50% 5%, 75% 17%, 84% 46%, 67% 80%, 37% 82%, 16% 55%, 24% 20%);
  width: var(--s);
  height: var(--s);
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  color: white;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75), 0 0 8px rgba(255, 244, 201, 0.3);
  transform: translate(var(--dx, 0), var(--dy, 0));
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 10px var(--glow));
}

.support-marker::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: var(--cut);
  background:
    radial-gradient(circle at 30% 21%, rgba(255, 255, 255, 0.98) 0 8%, transparent 15%),
    conic-gradient(from 18deg at 50% 52%, var(--light), var(--base) 15%, var(--dark) 31%, var(--base) 47%, var(--dark) 64%, var(--base) 82%, var(--light)),
    radial-gradient(circle at 42% 36%, var(--light), var(--base) 48%, var(--dark));
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.65),
    inset 0 -9px 12px rgba(0, 0, 0, 0.38),
    inset -6px 1px 10px rgba(255, 255, 255, 0.12);
}

.support-marker::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  clip-path: var(--facet);
  background:
    linear-gradient(120deg, transparent 0 30%, rgba(255, 255, 255, 0.45) 36%, transparent 48% 100%),
    linear-gradient(35deg, transparent 0 55%, rgba(0, 0, 0, 0.22) 61%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.86;
}

.support-marker span {
  position: relative;
  z-index: 1;
  transform: translateY(0.5px);
}

.support-marker.dense {
  --s: 31px;
  font-size: 11px;
}

.support-marker.metro {
  --base: #0d9d6b;
  --light: #a9ffe0;
  --dark: #033f2c;
  --glow: rgba(54, 228, 159, 0.34);
  --cut: polygon(49% 0, 71% 9%, 93% 34%, 87% 67%, 62% 95%, 31% 91%, 8% 67%, 5% 31%, 26% 7%);
  --facet: polygon(50% 5%, 75% 17%, 84% 46%, 67% 80%, 37% 82%, 16% 55%, 24% 20%);
}

.support-marker.building-screen {
  --base: #d28a25;
  --light: #ffe19b;
  --dark: #5b3308;
  --glow: rgba(255, 184, 67, 0.42);
  --cut: polygon(25% 2%, 73% 5%, 98% 35%, 89% 78%, 52% 99%, 14% 84%, 2% 42%);
  --facet: polygon(28% 8%, 74% 11%, 86% 40%, 70% 80%, 32% 78%, 12% 43%);
}

.support-marker.store-network {
  --base: #6d49db;
  --light: #d7c2ff;
  --dark: #25125a;
  --glow: rgba(150, 103, 255, 0.45);
  --cut: polygon(50% 0, 84% 14%, 100% 47%, 77% 93%, 35% 100%, 3% 64%, 13% 24%);
  --facet: polygon(50% 5%, 79% 19%, 89% 49%, 68% 84%, 36% 88%, 14% 58%, 22% 27%);
}

.support-marker.station-display {
  --base: #18aebe;
  --light: #c9fbff;
  --dark: #064657;
  --glow: rgba(62, 222, 235, 0.42);
  --cut: polygon(31% 0, 71% 4%, 100% 41%, 87% 80%, 49% 100%, 12% 82%, 0 36%);
  --facet: polygon(34% 8%, 69% 10%, 87% 42%, 73% 76%, 43% 87%, 15% 60%, 18% 29%);
}

.support-marker.online-ad {
  --base: #c82762;
  --light: #ffc2dc;
  --dark: #5c0d2d;
  --glow: rgba(240, 72, 133, 0.42);
  --cut: polygon(45% 0, 78% 10%, 99% 39%, 92% 73%, 59% 100%, 20% 90%, 0 52%, 11% 18%);
  --facet: polygon(46% 8%, 75% 16%, 87% 42%, 74% 76%, 43% 87%, 16% 56%, 22% 23%);
}

.support-marker.birthday-cafe {
  --base: #d56f9f;
  --light: #ffd1e5;
  --dark: #682444;
  --glow: rgba(235, 118, 170, 0.42);
  --cut: polygon(50% 0, 81% 15%, 99% 48%, 80% 89%, 42% 100%, 8% 74%, 4% 31%);
  --facet: polygon(50% 7%, 75% 18%, 88% 49%, 68% 82%, 38% 87%, 16% 60%, 22% 26%);
  color: #fff3fb;
  text-shadow: 0 1px 4px rgba(91, 25, 57, 0.72), 0 0 8px rgba(255, 224, 239, 0.45);
}

.support-marker.fan-goods {
  --base: #e4a037;
  --light: #ffe9aa;
  --dark: #6b3709;
  --glow: rgba(255, 199, 83, 0.45);
  --cut: polygon(50% 0, 82% 18%, 96% 58%, 70% 97%, 28% 94%, 4% 62%, 14% 20%);
  --facet: polygon(51% 8%, 76% 23%, 83% 56%, 65% 83%, 34% 82%, 16% 58%, 23% 26%);
  color: #251609;
  text-shadow: 0 1px 2px rgba(255, 245, 204, 0.45);
}

.support-marker.tokyo-screen {
  --base: #8d63d6;
  --light: #dfceff;
  --dark: #2d174e;
  --glow: rgba(174, 126, 255, 0.43);
  --cut: polygon(37% 0, 76% 7%, 100% 42%, 85% 86%, 42% 100%, 8% 72%, 2% 31%);
  --facet: polygon(40% 8%, 73% 14%, 87% 44%, 72% 79%, 39% 87%, 15% 63%, 18% 28%);
}

.support-marker:hover {
  filter: brightness(1.12) saturate(1.12);
  transform: translate(var(--dx, 0), var(--dy, 0)) scale(1.08);
}

.support-marker.pearl {
  --pearl-src: url("../assets/2026/markers/pearl-gold-v1.png");
  color: #5a3c08;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 8px rgba(255, 247, 214, 0.82),
    0 2px 5px rgba(72, 45, 8, 0.28);
  filter: drop-shadow(0 10px 12px rgba(119, 95, 44, 0.27)) drop-shadow(0 0 12px rgba(255, 231, 167, 0.4));
}

.support-marker.pearl::before {
  inset: -4px;
  clip-path: none;
  border-radius: 50%;
  background: var(--pearl-src) center / contain no-repeat;
  box-shadow: none;
}

.support-marker.pearl::after {
  inset: -8px;
  clip-path: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 209, 0.42), transparent 66%);
  mix-blend-mode: normal;
  opacity: 0.72;
}

.support-marker.pearl span {
  display: block;
  font-size: 14px;
  font-weight: 950;
}

.support-marker.pearl.dense span {
  font-size: 10px;
}

.support-marker.pearl.metro,
.support-marker.pearl.station-display {
  --pearl-src: url("../assets/2026/markers/pearl-white-v1.png");
  color: #55606d;
  filter: drop-shadow(0 10px 12px rgba(88, 114, 130, 0.2)) drop-shadow(0 0 12px rgba(224, 245, 255, 0.5));
}

.support-marker.pearl.building-screen {
  --pearl-src: url("../assets/2026/markers/pearl-gold-v1.png");
}

.support-marker.pearl.store-network {
  --pearl-src: url("../assets/2026/markers/pearl-aqua-v1.png");
  color: #24646c;
  filter: drop-shadow(0 10px 12px rgba(48, 110, 122, 0.22)) drop-shadow(0 0 12px rgba(184, 244, 255, 0.48));
}

.support-marker.pearl.online-ad {
  --pearl-src: url("../assets/2026/markers/pearl-pink-v1.png");
  color: #8b3e66;
  filter: drop-shadow(0 10px 12px rgba(148, 65, 101, 0.22)) drop-shadow(0 0 12px rgba(255, 204, 230, 0.48));
}

.support-marker.pearl.birthday-cafe {
  --pearl-src: url("../assets/2026/markers/pearl-pink-v1.png");
  color: #82345d;
  filter: drop-shadow(0 10px 12px rgba(152, 72, 112, 0.22)) drop-shadow(0 0 13px rgba(255, 204, 230, 0.54));
}

.support-marker.pearl.birthday-cafe::after {
  inset: -6px;
  background:
    radial-gradient(circle, rgba(255, 246, 209, 0.28), transparent 58%),
    conic-gradient(from 18deg, rgba(255, 215, 234, 0), rgba(255, 198, 225, 0.86), rgba(225, 138, 179, 0), rgba(255, 198, 225, 0.86), rgba(255, 215, 234, 0));
  opacity: 0.82;
}

.support-marker.pearl.fan-goods,
.support-marker.pearl.tokyo-screen {
  --pearl-src: url("../assets/2026/markers/pearl-black-v1.png");
  color: #fff1cb;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72), 0 0 9px rgba(255, 213, 136, 0.72);
}

.legend-disclosure {
  position: fixed;
  z-index: 690;
  left: 18px;
  bottom: 76px;
  width: min(174px, calc(100vw - 36px));
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  color: #f7ead2;
  background: transparent;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), var(--inner-glow);
  isolation: isolate;
}

.legend-disclosure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 224, 148, 0.16), transparent 34%),
    linear-gradient(155deg, rgba(255, 245, 216, 0.07), rgba(255, 245, 216, 0.02) 36%, rgba(0, 0, 0, 0.18)),
    var(--glass);
  backdrop-filter: blur(24px) saturate(1.18);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
}

.legend-disclosure > * {
  position: relative;
  z-index: 1;
}

.legend-disclosure summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  cursor: pointer;
  color: #f7e5b5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  list-style: none;
}

.legend-disclosure summary::-webkit-details-marker {
  display: none;
}

.legend-disclosure summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 164, 72, 0.44);
  border-radius: 50%;
  color: #f9dfac;
  background: rgba(255, 224, 148, 0.08);
}

.legend-disclosure[open] summary::after {
  content: "-";
}

.map-legend {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-top: 1px solid rgba(215, 164, 72, 0.2);
  color: #f7ead2;
  font-size: 12px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-swatch {
  --base: #0d9d6b;
  --light: #a9ffe0;
  --dark: #033f2c;
  --cut: polygon(49% 0, 71% 9%, 93% 34%, 87% 67%, 62% 95%, 31% 91%, 8% 67%, 5% 31%, 26% 7%);
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  clip-path: var(--cut);
  background:
    radial-gradient(circle at 30% 21%, rgba(255, 255, 255, 0.98) 0 10%, transparent 18%),
    conic-gradient(from 18deg at 50% 52%, var(--light), var(--base) 15%, var(--dark) 31%, var(--base) 47%, var(--dark) 64%, var(--base) 82%, var(--light));
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3));
}

.legend-swatch.building-screen {
  --base: #d28a25;
  --light: #ffe19b;
  --dark: #5b3308;
  --cut: polygon(25% 2%, 73% 5%, 98% 35%, 89% 78%, 52% 99%, 14% 84%, 2% 42%);
}

.legend-swatch.store-network {
  --base: #6d49db;
  --light: #d7c2ff;
  --dark: #25125a;
  --cut: polygon(50% 0, 84% 14%, 100% 47%, 77% 93%, 35% 100%, 3% 64%, 13% 24%);
}

.legend-swatch.station-display {
  --base: #18aebe;
  --light: #c9fbff;
  --dark: #064657;
  --cut: polygon(31% 0, 71% 4%, 100% 41%, 87% 80%, 49% 100%, 12% 82%, 0 36%);
}

.legend-swatch.online-ad {
  --base: #c82762;
  --light: #ffc2dc;
  --dark: #5c0d2d;
  --cut: polygon(45% 0, 78% 10%, 99% 39%, 92% 73%, 59% 100%, 20% 90%, 0 52%, 11% 18%);
}

.legend-swatch.birthday-cafe {
  --base: #d56f9f;
  --light: #ffd1e5;
  --dark: #682444;
  --cut: polygon(50% 0, 81% 15%, 99% 48%, 80% 89%, 42% 100%, 8% 74%, 4% 31%);
}

.legend-swatch.fan-goods {
  --base: #e4a037;
  --light: #ffe9aa;
  --dark: #6b3709;
  --cut: polygon(50% 0, 82% 18%, 96% 58%, 70% 97%, 28% 94%, 4% 62%, 14% 20%);
}

.legend-swatch.tokyo-screen {
  --base: #8d63d6;
  --light: #dfceff;
  --dark: #2d174e;
  --cut: polygon(37% 0, 76% 7%, 100% 42%, 85% 86%, 42% 100%, 8% 72%, 2% 31%);
}

.legend-note {
  color: var(--muted);
  line-height: 1.35;
}

.all-events-disclosure {
  position: fixed;
  z-index: 691;
  left: 18px;
  bottom: 18px;
  width: min(286px, calc(100vw - 36px));
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  color: #f7ead2;
  background: transparent;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), var(--inner-glow);
  isolation: isolate;
}

.all-events-disclosure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 224, 148, 0.16), transparent 34%),
    linear-gradient(155deg, rgba(255, 245, 216, 0.07), rgba(255, 245, 216, 0.02) 36%, rgba(0, 0, 0, 0.18)),
    var(--glass);
  backdrop-filter: blur(24px) saturate(1.18);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
}

.all-events-disclosure > * {
  position: relative;
  z-index: 1;
}

.all-events-disclosure summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  cursor: pointer;
  color: #f7e5b5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  list-style: none;
}

.all-events-disclosure summary::-webkit-details-marker {
  display: none;
}

#allEventsCount {
  min-width: 27px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 164, 72, 0.44);
  border-radius: 999px;
  color: #f9dfac;
  background: rgba(255, 224, 148, 0.08);
}

.all-events-list {
  display: grid;
  gap: 8px;
  max-height: min(58vh, 520px);
  overflow: auto;
  padding: 10px;
  border-top: 1px solid rgba(215, 164, 72, 0.2);
}

.all-event-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 54px;
  padding: 7px;
  border: 1px solid rgba(255, 220, 145, 0.17);
  border-radius: 12px;
  color: #f7ead2;
  text-align: left;
  background: rgba(255, 224, 148, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 245, 216, 0.1);
}

.all-event-row.selected {
  border-color: rgba(255, 224, 148, 0.56);
  background: rgba(255, 224, 148, 0.18);
}

.all-event-marker {
  --base: #d28a25;
  --light: #ffe19b;
  --dark: #5b3308;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  clip-path: polygon(25% 2%, 73% 5%, 98% 35%, 89% 78%, 52% 99%, 14% 84%, 2% 42%);
  color: white;
  background:
    radial-gradient(circle at 30% 21%, rgba(255, 255, 255, 0.98) 0 10%, transparent 18%),
    conic-gradient(from 18deg at 50% 52%, var(--light), var(--base) 15%, var(--dark) 31%, var(--base) 47%, var(--dark) 64%, var(--base) 82%, var(--light));
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.72);
}

.all-event-marker.metro,
.all-event-marker.station-display {
  --base: #0d9d6b;
  --light: #a9ffe0;
  --dark: #033f2c;
}

.all-event-marker.store-network {
  --base: #6d49db;
  --light: #d7c2ff;
  --dark: #25125a;
}

.all-event-marker.online-ad {
  --base: #c82762;
  --light: #ffc2dc;
  --dark: #5c0d2d;
}

.all-event-marker.birthday-cafe {
  --base: #d56f9f;
  --light: #ffd1e5;
  --dark: #682444;
}

.all-event-copy {
  min-width: 0;
}

.all-event-copy strong,
.all-event-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.all-event-copy strong {
  color: #fff4d6;
  font-size: 12px;
}

.all-event-copy span {
  margin-top: 3px;
  color: rgba(247, 234, 210, 0.68);
  font-size: 10px;
}

.leaflet-popup-content {
  margin: 12px 14px;
  min-width: 180px;
}

.popup-title {
  margin-bottom: 5px;
  font-weight: 800;
}

.popup-text {
  color: var(--muted);
  font-size: 12px;
}

.overview-view {
  min-height: 100vh;
  padding: var(--topbar-clearance) 0 28px;
  background: #090806;
}

.overview-stage {
  position: relative;
  width: min(840px, 100%);
  height: calc(100vh - 150px);
  min-height: 520px;
  margin: 22px auto 0;
  overflow: hidden;
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  background: #070706;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.overview-track {
  height: 100%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.overview-track img {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  object-fit: contain;
  scroll-snap-align: center;
  background: #070706;
}

.overview-empty {
  width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  color: rgba(247, 234, 210, 0.76);
  text-align: center;
  line-height: 1.5;
}

.overview-track::-webkit-scrollbar {
  display: none;
}

.overview-view.collection-view {
  min-height: 100vh;
  padding-bottom: 36px;
}

.overview-view.collection-view .overview-stage {
  width: min(1180px, calc(100% - 28px));
  height: auto;
  min-height: 0;
  max-height: none;
  margin-top: 20px;
  overflow: visible;
  border-radius: 20px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 240, 196, 0.58), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(246, 250, 252, 0.72));
}

.overview-view.collection-view .overview-track {
  height: auto;
  display: block;
  overflow: visible;
}

.collection-board {
  padding: clamp(14px, 2.2vw, 26px);
}

.collection-prompt {
  width: min(640px, 100%);
  margin: 0 auto 18px;
  color: #7a6c57;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: clamp(12px, 1.7vw, 18px);
}

.collection-card {
  aspect-ratio: 0.72;
  min-height: 184px;
  border: 0;
  padding: 0;
  perspective: 900px;
  background: transparent;
  cursor: pointer;
}

.collection-card:focus-visible {
  outline: 2px solid rgba(199, 151, 47, 0.86);
  outline-offset: 5px;
  border-radius: 18px;
}

.collection-card-inner {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.collection-card.flipped .collection-card-inner {
  transform: rotateY(180deg);
}

.collection-card-face {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(211, 178, 96, 0.42);
  border-radius: 18px;
  backface-visibility: hidden;
  box-shadow: 0 18px 38px rgba(126, 98, 46, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.collection-card-back {
  place-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.96), rgba(255, 248, 230, 0.62) 27%, transparent 55%),
    radial-gradient(circle at 50% 52%, rgba(255, 226, 151, 0.34), transparent 48%),
    linear-gradient(145deg, rgba(247, 251, 253, 0.96), rgba(255, 246, 225, 0.9));
}

.collection-card-back::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(211, 178, 96, 0.42);
  border-radius: 14px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(211, 178, 96, 0.28) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(211, 178, 96, 0.18) 49% 51%, transparent 52%);
  opacity: 0.62;
}

.collection-card-back::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 172, 0.26), transparent 68%);
}

.collection-pearl {
  position: relative;
  z-index: 1;
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("../assets/2026/markers/pearl-gold-v1.png") center / contain no-repeat;
  filter: drop-shadow(0 10px 14px rgba(119, 95, 44, 0.2)) drop-shadow(0 0 12px rgba(255, 231, 167, 0.44));
}

.collection-pearl.metro,
.collection-pearl.station-display {
  background-image: url("../assets/2026/markers/pearl-white-v1.png");
}

.collection-pearl.store-network {
  background-image: url("../assets/2026/markers/pearl-aqua-v1.png");
}

.collection-pearl.online-ad,
.collection-pearl.birthday-cafe {
  background-image: url("../assets/2026/markers/pearl-pink-v1.png");
}

.collection-pearl.birthday-cafe {
  box-shadow: 0 0 0 1px rgba(213, 111, 159, 0.42), 0 0 16px rgba(255, 204, 230, 0.48);
}

.collection-pearl.fan-goods,
.collection-pearl.tokyo-screen {
  background-image: url("../assets/2026/markers/pearl-black-v1.png");
}

.collection-card-front {
  grid-template-rows: minmax(0, 1fr) auto;
  transform: rotateY(180deg);
  background: rgba(255, 255, 255, 0.92);
}

.collection-card-media {
  position: relative;
  min-height: 0;
  background: #f2ead9;
}

.collection-card-media img,
.collection-card-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.collection-card-placeholder {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(145deg, #f8fbfd, #f7ead0);
}

.collection-card-copy {
  display: grid;
  gap: 4px;
  padding: 10px;
  text-align: left;
}

.collection-card-copy strong,
.collection-card-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-card-copy strong {
  color: #302b25;
  font-size: 12px;
}

.collection-card-copy span {
  color: #7c6d56;
  font-size: 10px;
}

.collection-detail {
  width: min(1040px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(211, 178, 96, 0.46);
  border-radius: 20px;
  color: #302b25;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 238, 188, 0.58), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(238, 247, 251, 0.74));
  box-shadow: var(--shadow);
}

.collection-detail.hidden {
  display: none;
}

.collection-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.collection-detail h2 {
  margin: 4px 0 0;
  color: #302b25;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.12;
}

.collection-media-strip {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.carousel-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  color: #fff;
  background: rgba(12, 10, 8, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 245, 216, 0.18), 0 14px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  font-size: 34px;
  transform: translateY(-50%);
}

.carousel-button.prev {
  left: 12px;
}

.carousel-button.next {
  right: 12px;
}

.carousel-button.event-prev,
.carousel-button.event-next {
  top: 50%;
  width: 34px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.46);
  font-size: 28px;
  box-shadow: 0 10px 22px rgba(31, 25, 18, 0.22);
}

.carousel-button.event-prev {
  left: 8px;
}

.carousel-button.event-next {
  right: 8px;
}

.carousel-button:disabled {
  cursor: default;
  opacity: 0.38;
}

.overview-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.dot.active {
  background: #fff;
}

.image-dialog {
  position: fixed;
  z-index: 9001;
  inset: 12px;
  width: min(calc(100vw - 24px), 900px);
  height: min(calc(100vh - 24px), 920px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #111;
  overflow: hidden;
}

.image-dialog[hidden] {
  display: none;
}

.image-dialog img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.image-dialog img[hidden] {
  display: none;
}

.image-dialog video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #111;
}

.image-dialog video[hidden] {
  display: none;
}

.image-dialog.long-media {
  width: min(calc(100vw - 24px), 900px);
  overflow-x: hidden;
  overflow-y: auto;
}

.image-dialog img.long-image {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  object-fit: initial;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 9002;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 240, 190, 0.82);
  border-radius: 50%;
  color: #fff6d6;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 245, 216, 0.22);
  font-size: 30px;
  line-height: 1;
}

.dialog-nav {
  position: absolute;
  z-index: 9002;
  top: 50%;
  width: 44px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.46);
  cursor: pointer;
  font: inherit;
  font-size: 36px;
  line-height: 1;
  transform: translateY(-50%);
}

.dialog-nav.prev {
  left: 12px;
}

.dialog-nav.next {
  right: 12px;
}

body[data-year="2026"]:not(.root-active) {
  --ink: #2c2924;
  --muted: #8d806b;
  --line: rgba(211, 178, 96, 0.4);
  --paper: #fbfdff;
  --gold: #d6aa4b;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-edge: rgba(211, 178, 96, 0.46);
  --glass-highlight: rgba(255, 255, 255, 0.62);
  --shadow: 0 24px 70px rgba(126, 98, 46, 0.17), 0 10px 28px rgba(132, 103, 49, 0.12);
  --inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.82), inset 0 -1px 0 rgba(216, 182, 102, 0.18);
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 241, 196, 0.85), transparent 32%),
    radial-gradient(circle at 14% 12%, rgba(224, 242, 255, 0.86), transparent 34%),
    linear-gradient(135deg, #fbfdff 0%, #fffaf0 52%, #f1f7fb 100%);
}

body[data-year="2026"] .topbar,
body[data-year="2026"] .root-return,
body[data-year="2026"] .segmented,
body[data-year="2026"] .language-select {
  color: #3a3329;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(211, 178, 96, 0.42);
  box-shadow: 0 16px 40px rgba(126, 98, 46, 0.13), var(--inner-glow);
}

body[data-year="2026"] .brand h1 {
  color: #312c25;
}

body[data-year="2026"] .brand p,
body[data-year="2026"] .root-return,
body[data-year="2026"] .language-select,
body[data-year="2026"] .segmented-button {
  color: #806f55;
}

body[data-year="2026"] .segmented-button.active {
  color: #5d4212;
  background: linear-gradient(145deg, #fff9e6, #e8c56f);
}

body[data-year="2026"] .brand-mark {
  color: #8d661d;
  background: linear-gradient(145deg, #ffffff 0%, #fff7da 46%, #e7c36a 100%);
}

body[data-year="2026"] .map {
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.7), transparent 24%),
    linear-gradient(160deg, #eaf2f5 0%, #f8fbf8 45%, #edf4f7 100%);
}

body[data-year="2026"] .event-panel,
body[data-year="2026"] .legend-disclosure,
body[data-year="2026"] .all-events-disclosure {
  color: #302b25;
  box-shadow: var(--shadow);
}

body[data-year="2026"] .event-panel::before,
body[data-year="2026"] .legend-disclosure::before,
body[data-year="2026"] .all-events-disclosure::before {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 238, 188, 0.64), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68) 42%, rgba(235, 244, 248, 0.72)),
    var(--glass-strong);
}

body[data-year="2026"] .eyebrow {
  color: #9f7130;
}

body[data-year="2026"] .panel-header h2,
body[data-year="2026"] .all-event-copy strong {
  color: #302b25;
}

body[data-year="2026"] .icon-button,
body[data-year="2026"] .dialog-close {
  color: #7b5b1d;
  background: linear-gradient(145deg, rgba(255, 250, 234, 0.96), rgba(236, 207, 132, 0.36));
}

body[data-year="2026"] .meta-pill,
body[data-year="2026"] .location-box,
body[data-year="2026"] .all-event-row {
  color: #67583f;
  border-color: rgba(211, 178, 96, 0.35);
  background: rgba(255, 250, 236, 0.62);
}

body[data-year="2026"] .summary,
body[data-year="2026"] .location-box,
body[data-year="2026"] .map-legend,
body[data-year="2026"] .legend-disclosure summary,
body[data-year="2026"] .all-events-disclosure summary {
  color: #5f5548;
}

body[data-year="2026"] .all-event-row.selected {
  border-color: rgba(199, 151, 47, 0.62);
  background: rgba(255, 241, 199, 0.8);
}

body[data-year="2026"] .all-event-copy span,
body[data-year="2026"] .legend-note {
  color: #8d806b;
}

body[data-year="2026"] .all-event-marker {
  clip-path: none;
  border-radius: 50%;
  color: #5a3c08;
  background: url("../assets/2026/markers/pearl-gold-v1.png") center / contain no-repeat;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.92), 0 2px 5px rgba(72, 45, 8, 0.28);
}

body[data-year="2026"] .all-event-marker.metro,
body[data-year="2026"] .all-event-marker.station-display {
  color: #55606d;
  background-image: url("../assets/2026/markers/pearl-white-v1.png");
}

body[data-year="2026"] .all-event-marker.store-network {
  color: #24646c;
  background-image: url("../assets/2026/markers/pearl-aqua-v1.png");
}

body[data-year="2026"] .all-event-marker.online-ad {
  color: #8b3e66;
  background-image: url("../assets/2026/markers/pearl-pink-v1.png");
}

body[data-year="2026"] .all-event-marker.birthday-cafe {
  color: #82345d;
  background-image: url("../assets/2026/markers/pearl-pink-v1.png");
  box-shadow: 0 0 0 1px rgba(213, 111, 159, 0.42), 0 0 10px rgba(255, 204, 230, 0.42);
}

body[data-year="2026"] .all-event-marker.fan-goods,
body[data-year="2026"] .all-event-marker.tokyo-screen {
  color: #fff1cb;
  background-image: url("../assets/2026/markers/pearl-black-v1.png");
}

body[data-year="2026"] .legend-swatch {
  clip-path: none;
  border-radius: 50%;
  background: url("../assets/2026/markers/pearl-white-v1.png") center / contain no-repeat;
}

body[data-year="2026"] .legend-swatch.building-screen {
  background-image: url("../assets/2026/markers/pearl-gold-v1.png");
}

body[data-year="2026"] .legend-swatch.store-network {
  background-image: url("../assets/2026/markers/pearl-aqua-v1.png");
}

body[data-year="2026"] .legend-swatch.online-ad {
  background-image: url("../assets/2026/markers/pearl-pink-v1.png");
}

body[data-year="2026"] .legend-swatch.birthday-cafe {
  background-image: url("../assets/2026/markers/pearl-pink-v1.png");
  box-shadow: 0 0 0 1px rgba(213, 111, 159, 0.52), 0 0 8px rgba(255, 204, 230, 0.45);
}

body[data-year="2026"] .legend-swatch.fan-goods,
body[data-year="2026"] .legend-swatch.tokyo-screen {
  background-image: url("../assets/2026/markers/pearl-black-v1.png");
}

body[data-year="2026"] .overview-view {
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 241, 196, 0.85), transparent 32%),
    linear-gradient(135deg, #fbfdff 0%, #fffaf0 52%, #f1f7fb 100%);
}

body[data-year="2026"] .overview-stage {
  background: rgba(255, 255, 255, 0.78);
}

body[data-year="2026"] .overview-empty {
  color: #6d6252;
}

@media (max-width: 720px) {
  .root-topbar {
    top: 28px;
    left: 16px;
    right: 16px;
  }

  .title-block {
    max-width: calc(100vw - 32px);
    padding: 12px;
  }

  :root {
    --banner-height: clamp(172px, 46vw, 240px);
    --topbar-height: 64px;
    --topbar-clearance: calc(var(--topbar-height) + 24px);
  }

  .topbar {
    flex-direction: row;
    gap: 8px;
    height: auto;
    min-height: var(--topbar-height);
    align-items: center;
    padding: 9px 10px;
  }

  .brand-mark {
    display: none;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
  }

  .brand > div {
    min-width: 0;
  }

  .brand h1 {
    width: 100%;
    max-width: min(206px, calc(100vw - 176px));
    overflow: hidden;
    display: block;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand p {
    display: block;
    width: 100%;
    max-width: min(206px, calc(100vw - 176px));
    margin-top: 2px;
    overflow: hidden;
    color: rgba(247, 229, 181, 0.68);
    font-size: 7px;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .controls {
    width: auto;
    flex: 0 0 auto;
    align-items: stretch;
    justify-content: flex-end;
    gap: 4px;
  }

  .root-return-inline {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .root-return-floating {
    top: 12px;
    left: 12px;
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }

  .segmented-button {
    min-width: 38px;
    min-height: 34px;
    padding: 0 5px;
    font-size: 10px;
  }

  .language-select {
    min-height: 34px;
    max-width: 48px;
    padding-left: 6px;
    padding-right: 14px;
    font-size: 10px;
  }

  .view {
    padding-top: var(--topbar-clearance);
  }

  .map {
    height: calc(100vh - var(--topbar-clearance) - var(--banner-height));
    min-height: 420px;
  }

  .event-panel {
    top: auto;
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-height: 48vh;
    padding: 14px;
  }

  .map-legend {
    padding: 9px 10px;
  }

  .panel-header h2 {
    font-size: 18px;
  }

  .image-thumb {
    width: calc((100% - 16px) / 3);
    flex-basis: calc((100% - 16px) / 3);
  }

  .overview-view {
    padding: var(--topbar-clearance) 0 20px;
  }

  .overview-stage {
    width: calc(100% - 20px);
    height: calc(100vh - var(--topbar-clearance) - var(--banner-height) - 72px);
    min-height: 360px;
    margin-top: 14px;
  }

  .overview-view.collection-view .overview-stage {
    height: auto;
    min-height: 0;
  }

  .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .root-topbar {
    top: 20px;
  }

  .title-block {
    max-width: calc(100vw - 80px);
    padding: 6px 12px 7px;
    border-radius: 14px;
  }

  .title-block h1 {
    font-size: 15px;
    line-height: 1;
  }

  .title-block p {
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.1;
    white-space: nowrap;
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .ornate-frame {
    inset: 10px;
  }

  .future-islands {
    top: 16%;
    left: 16%;
    width: 68%;
    opacity: 0.32;
  }

  .island-2025 {
    top: 29%;
    left: -10%;
    width: 70%;
    opacity: 0.78;
  }

  .island-2026 {
    top: 35%;
    right: -18%;
    width: 100%;
  }

  .year-card {
    width: min(220px, 54vw);
  }

  .card-2025 {
    left: 16px;
    bottom: 112px;
  }

  .card-2026 {
    right: 16px;
    bottom: 82px;
  }

  .privacy-link {
    padding: 6px 8px;
    font-size: 10px;
  }

  .root-footer {
    left: 18px;
    bottom: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
  }
}

@media (max-width: 720px) and (orientation: portrait) {
  html {
    scroll-padding-top: calc(var(--topbar-clearance) + 10px);
  }

  body {
    background: #090806;
  }

  .entry-page {
    padding: 10px;
  }

  .entry-stage {
    width: min(100%, calc((100vh - 22px) * 0.521));
    max-width: 430px;
  }

  .entry-hotspot {
    border-radius: 22px;
  }

  .entry-hotspot-map {
    left: 6%;
    top: 65.7%;
    width: 41%;
    height: 21%;
  }

  .entry-hotspot-calendar {
    left: 53%;
    top: 65.7%;
    width: 41%;
    height: 21%;
  }

  .app-shell {
    display: block;
  }

  #mapView {
    min-height: auto;
    padding-bottom: 20px;
  }

  .banner-frame {
    height: min(46vw, 190px);
  }

  .map {
    height: 52vh;
    min-height: 360px;
    border-bottom: 1px solid rgba(215, 164, 72, 0.24);
  }

  .event-panel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 20px);
    max-height: none;
    margin: 14px auto 0;
    overflow: visible;
  }

  .event-panel.hidden {
    display: none;
  }

  .image-dialog {
    inset: 10px;
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    max-width: none;
    max-height: none;
    margin: auto;
    border-radius: 10px;
  }

  .dialog-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }

  .dialog-nav {
    width: 38px;
    height: 52px;
  }

  .dialog-nav.prev {
    left: 8px;
  }

  .dialog-nav.next {
    right: 8px;
  }

  .legend-disclosure {
    position: relative;
    z-index: 1;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 20px);
    margin: 14px auto 0;
    border: 1px solid var(--glass-edge);
    border-radius: 18px;
    color: #f7ead2;
    background: transparent;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), var(--inner-glow);
  }

  .legend-disclosure summary {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    cursor: pointer;
    color: #f7e5b5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    list-style: none;
  }

  .legend-disclosure summary::-webkit-details-marker {
    display: none;
  }

  .legend-disclosure summary::after {
    content: "+";
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(215, 164, 72, 0.44);
    border-radius: 50%;
    color: #f9dfac;
    background: rgba(255, 224, 148, 0.08);
  }

  .legend-disclosure[open] summary::after {
    content: "-";
  }

  .legend-disclosure .map-legend {
    border: 0;
    border-top: 1px solid rgba(215, 164, 72, 0.2);
    border-radius: 0 0 18px 18px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .all-events-disclosure {
    position: relative;
    z-index: 1;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 20px);
    margin: 12px auto 0;
  }

  .all-events-disclosure summary {
    min-height: 46px;
    padding: 0 14px;
    font-size: 13px;
  }

  .all-events-list {
    max-height: 360px;
  }

  .overview-view.collection-view .overview-stage {
    width: calc(100% - 20px);
    margin-top: 12px;
  }

  .collection-board {
    padding: 12px;
  }

  .collection-prompt {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .collection-card {
    min-height: 196px;
  }

  .collection-card-face {
    border-radius: 15px;
  }

  .collection-card-copy {
    padding: 9px;
  }

  .collection-detail {
    width: calc(100% - 20px);
    margin-top: 12px;
  }

  .collection-detail-header {
    align-items: flex-start;
  }

  .image-thumb {
    width: calc((100% - 10px) / 2);
    flex-basis: calc((100% - 10px) / 2);
  }
}

@media (max-width: 960px) and (orientation: landscape) {
  :root {
    --banner-height: 0px;
    --topbar-height: 58px;
    --topbar-clearance: calc(var(--topbar-height) + 14px);
  }

  .topbar {
    top: 8px;
    left: 12px;
    right: 12px;
    height: var(--topbar-height);
    padding: 7px 12px;
    gap: 12px;
    border-radius: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .brand {
    gap: 10px;
  }

  .brand h1 {
    font-size: 17px;
    line-height: 1.05;
  }

  .brand p {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.05;
  }

  .controls {
    gap: 8px;
  }

  .root-return-inline {
    min-height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .segmented-button {
    min-width: 76px;
    min-height: 36px;
    font-size: 14px;
  }

  .language-select {
    min-height: 36px;
    max-width: 80px;
    padding-left: 12px;
    padding-right: 28px;
    font-size: 14px;
  }

  .view {
    padding-top: var(--topbar-clearance);
  }

  #mapView .banner-frame {
    display: none;
  }

  .map {
    height: calc(100vh - var(--topbar-clearance));
    min-height: 0;
  }

  .event-panel {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 8px;
    width: auto;
    max-height: min(52vh, 214px);
    padding: 12px 14px;
    border-radius: 16px;
  }

  .panel-header {
    align-items: center;
    gap: 10px;
  }

  .eyebrow {
    margin-bottom: 3px;
    font-size: 10px;
  }

  .panel-header h2 {
    font-size: 18px;
    line-height: 1.1;
  }

  .meta-list {
    gap: 6px;
    margin-top: 8px;
  }

  .meta-pill {
    padding: 5px 8px;
    font-size: 11px;
  }

  .summary,
  .location-box,
  .event-gallery {
    margin-top: 10px;
  }

  .summary {
    font-size: 12px;
    line-height: 1.38;
  }

  .location-box {
    padding: 9px 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  .image-strip {
    gap: 8px;
  }

  .image-thumb {
    width: 92px;
    flex: 0 0 92px;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
  }

  .map-legend {
    left: 16px;
    bottom: 16px;
    width: min(230px, 34vw);
    padding: 9px 11px;
    border-radius: 14px;
  }

  .legend-summary {
    min-height: 34px;
  }

  .legend-title {
    font-size: 12px;
  }
}

body.entry-active .app-shell {
  display: none;
}
