:root {
  color-scheme: dark;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #ece9f6;
  background: #0d0a18;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(
    ellipse at top right,
    #24163c 0,
    transparent 38rem
  );
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
a:hover {
  color: #d7bfff;
}
a:focus-visible {
  outline: 3px solid #d7bfff;
  outline-offset: 5px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
}
h1,
h2,
p,
figure {
  margin: 0;
}
h1,
h2 {
  letter-spacing: -0.035em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 900px;
}
h2 {
  font-size: 1.6rem;
}
p {
  line-height: 1.65;
}
.site-shell {
  max-width: 1160px;
  margin: auto;
  padding: 0 28px;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid #ffffff14;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #d9d0eb;
}
.brand strong {
  color: #fff;
}
.brand img {
  border-radius: 9px;
}
.app-link {
  font-size: 0.85rem;
  text-decoration: none;
}
.page-intro {
  padding: 60px 0 24px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #c8aae9;
  font-size: 0.72rem;
  font-weight: 650;
  margin-bottom: 14px;
}
.intro-description {
  max-width: 700px;
  font-size: 1.12rem;
  color: #c7bed4;
  margin-top: 22px;
}
.freshness {
  font-size: 0.78rem;
  color: #a99dbb;
  max-width: 760px;
  margin-top: 18px;
  line-height: 1.65;
}
.period-label {
  margin-top: 15px;
  color: #ddcafa;
}
.collection-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0 34px;
}
.collection-nav a {
  padding: 10px 15px;
  background: #ffffff05;
  border: 1px solid #ffffff1c;
  border-radius: 99px;
  font-size: 0.8rem;
  text-decoration: none;
}
.collection-nav a:hover {
  background: #caa4ff15;
  border-color: #caa4ff6b;
}
.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0;
  color: #b5a8c9;
  font-size: 0.82rem;
}
.results-heading strong {
  font-size: 1.05rem;
  color: #eee8f6;
}
.festival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.festival-card {
  overflow: hidden;
  border: 1px solid #ffffff15;
  border-radius: 20px;
  background: #171120;
}
.festival-image {
  margin: 0;
  min-width: 0;
}
.image-frame {
  position: relative;
  overflow: hidden;
  background: #21182e;
  line-height: 0;
  isolation: isolate;
}
.image-frame > img {
  display: block;
  width: 100%;
  height: auto;
}
.image-credit {
  font-size: 0.65rem;
  line-height: 1.6;
  color: #b2a4c0;
  padding: 10px 13px;
  overflow-wrap: anywhere;
  background: #171120;
}
.image-credit a {
  text-decoration-color: #6d5c81;
}
.image-placeholder {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #2e1d43, #1b1528);
  color: #b899d5;
  font-size: 0.8rem;
}
.image-placeholder > span:first-child {
  font-size: 3rem;
}
.face-protection-overlay {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: #8b8092;
  pointer-events: none;
}
.image-protection-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #251b33;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #d1bbeb;
}
.card-content {
  padding: 23px;
}
.card-content .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 10px;
}
.card-content h2 {
  font-size: 1.25rem;
  line-height: 1.35;
}
.card-content h2 a {
  text-decoration: none;
}
.card-dates {
  font-size: 0.82rem;
  color: #dccbe9;
  margin-top: 16px;
}
.card-place {
  font-size: 0.78rem;
  color: #b6a6c6;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.text-link {
  display: inline-block;
  margin-top: 19px;
  font-size: 0.82rem;
  color: #d9bcff;
  text-decoration: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px 22px;
  border: 1px solid #d4b3ff;
  border-radius: 12px;
  background: #d4b3ff;
  color: #241336;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
}
.button:hover {
  color: #241336;
  background: #e5ceff;
}
.button-secondary {
  background: transparent;
  color: #eee5fa;
  border-color: #ffffff35;
}
.button-secondary:hover {
  background: #ffffff0c;
  color: #fff;
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.app-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 72px;
  padding: 36px;
  background: linear-gradient(120deg, #2e1b42, #1f142f);
  border: 1px solid #cda3ff30;
  border-radius: 24px;
}
.app-banner h2 {
  font-size: 1.7rem;
}
.app-banner p:not(.eyebrow) {
  font-size: 0.88rem;
  color: #c3b3d4;
  max-width: 570px;
  margin-top: 14px;
}
.app-banner .store-links {
  flex-shrink: 0;
  flex-direction: column;
}
.site-footer {
  padding: 32px 0 38px;
  font-size: 0.73rem;
  color: #9e90b1;
}
.site-footer p + p {
  margin-top: 12px;
}
.site-footer .freshness {
  margin-top: 0;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 27px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  margin-top: 30px;
  color: #ad9bbb;
}
.detail-intro {
  padding-top: 28px;
}
.original-title {
  margin-top: 15px;
  color: #baa8cc;
  font-size: 1rem;
}
.detail-dates {
  margin-top: 22px;
  font-size: 1.1rem;
  color: #dec9f4;
}
.ended-notice {
  padding: 16px 20px;
  border: 1px solid #ba99d044;
  border-radius: 13px;
  color: #d3badf;
  font-size: 0.85rem;
  margin-top: 22px;
  max-width: 800px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 20px;
}
.info-panel {
  padding: 28px;
  border: 1px solid #ffffff19;
  background: #191220;
  border-radius: 20px;
}
.info-panel h2 {
  font-size: 1.4rem;
}
dl {
  margin: 24px 0 0;
}
dl > div {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #ffffff12;
  font-size: 0.9rem;
  line-height: 1.65;
}
dt {
  color: #aa96bd;
  font-size: 0.78rem;
}
dd {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.official-link {
  margin-top: 20px;
}
.about-section {
  padding: 34px 2px;
}
.about-section h2 {
  margin-bottom: 18px;
}
.festival-description {
  white-space: pre-line;
  color: #cfc1dd;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.source-line {
  font-size: 0.7rem;
  color: #a390b5;
  margin-top: 22px;
  overflow-wrap: anywhere;
}
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.detail-gallery figure {
  border: 1px solid #ffffff19;
  border-radius: 18px;
  overflow: hidden;
}
.image-notice {
  font-size: 0.72rem;
  color: #ac97c0;
  line-height: 1.7;
}
.empty-state {
  padding: 45px 25px;
  border-radius: 20px;
  border: 1px solid #ffffff19;
  background: #19121f;
}
.empty-state p {
  margin-top: 18px;
  color: #b7a7c7;
  max-width: 680px;
}
.empty-state .button {
  margin-top: 25px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 10;
  padding: 12px;
  background: #d4b3ff;
  color: #241336;
}
.skip-link:focus {
  top: 12px;
}
@supports (
  (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))
) {
  .face-protection-overlay {
    background: rgb(0 0 0 / 8%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
@media (max-width: 850px) {
  .festival-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-banner {
    align-items: flex-start;
    flex-direction: column;
  }
  .app-banner .store-links {
    flex-direction: row;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .detail-gallery {
    max-width: 650px;
  }
  .detail-gallery figure {
    max-width: 100%;
  }
}
@media (max-width: 520px) {
  .site-shell {
    padding: 0 20px;
  }
  .site-header {
    padding: 21px 0;
  }
  .app-link {
    font-size: 0.75rem;
  }
  .brand {
    font-size: 0.72rem;
  }
  .page-intro {
    padding-top: 38px;
  }
  .intro-description {
    font-size: 1rem;
  }
  .festival-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }
  .collection-nav {
    gap: 8px;
    margin-top: 22px;
  }
  .collection-nav a {
    padding: 9px 12px;
    font-size: 0.74rem;
  }
  .results-heading {
    font-size: 0.75rem;
  }
  .card-content {
    padding: 23px;
  }
  .card-content h2 {
    font-size: 1.4rem;
  }
  .app-banner {
    padding: 27px 23px;
    margin-top: 50px;
  }
  .app-banner h2 {
    font-size: 1.6rem;
  }
  .store-links {
    width: 100%;
  }
  .store-links .button {
    width: 100%;
  }
  .info-panel {
    padding: 23px;
  }
  dl > div {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .detail-dates {
    font-size: 1rem;
  }
  .detail-intro {
    padding-top: 25px;
  }
  .image-credit {
    font-size: 0.66rem;
  }
  .site-footer nav {
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
