:root {
  color-scheme: dark;
  --ink: #f6f4fc;
  --muted: #c0b8d2;
  --surface: #191429;
  --violet: #c9b7ff;
  --lime: #d9ff92;
  --shell: 540px;
  --side: clamp(12px, 3.9vw, 20px);
  font-family: "IBM Plex Sans Thai", system-ui, sans-serif;
  line-height: 1.45;
  color: var(--ink);
  background: #100d19;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a, button { color: inherit; font: inherit; touch-action: manipulation; }
a { text-decoration: none; }
button { cursor: pointer; }
img { display: block; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.edition {
  width: min(100%, var(--shell)); min-height: 100svh; margin-inline: auto;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
  background: var(--surface); box-shadow: 0 0 0 1px #3b304d;
}
.masthead {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 88px; padding: 12px var(--side);
  background: radial-gradient(ellipse at 100% 0%, #4f3a1d66 0%, transparent 64%),
    linear-gradient(110deg, #0a0a0d, #19151f);
  border-bottom: 1px solid #eed6a82b;
}
.masthead::before, .masthead::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 68%; height: 125px; border: 1px solid #e2c9ff1c; border-radius: 50%; transform: rotate(-19deg);
  left: 17%; top: -73px;
}
.masthead::after { top: -65px; left: 15%; border-color: #e9bf7714; }
.masthead > img { width: 64px; height: 64px; object-fit: contain; transform: scale(1.12); }
.brand-name { min-width: 0; display: grid; gap: 1px; }
.brand-name h1 { font-size: clamp(1.25rem, 5.4vw, 1.5rem); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.brand-name small { color: #ddcea9; font: 600 .75rem/1.5 system-ui, sans-serif; letter-spacing: .1em; white-space: nowrap; }
.handle {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 7px;
  padding: 0 13px; background: #25222ce8; border: 1px solid #e8d9b747; border-radius: 99px;
  font-size: .875rem; font-weight: 600; color: white;
}
.handle .icon { width: 17px; color: #dfd6ff; }
.promotions { padding: 13px var(--side) 4px; }
.section-heading { display: flex; align-items: center; gap: 7px; margin-bottom: 11px; }
.section-heading h2 {
  display: inline-flex; align-items: center; gap: 7px; margin: 0; min-width: 0;
  font-size: clamp(1rem, 4.5vw, 1.3rem); font-weight: 700; line-height: 1.2;
}
.section-heading h2 .icon { width: 17px; height: 17px; color: var(--violet); transform: rotate(-12deg); }
.counter { white-space: nowrap; color: #e2d6f7; background: #30263e; border-radius: 20px; padding: 3px 7px; font: 600 .75rem/1.3 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.heading-tools { flex: none; display: flex; align-items: center; gap: 4px; margin-left: auto; }
.round-button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: #30283f; color: white; border: 1px solid #61516e; border-radius: 14px;
  box-shadow: inset 0 1px #ffffff0d;
}
.round-button .icon { width: 19px; height: 19px; }
#promo-autoplay { background: #29213a; color: var(--violet); }
#promo-next { color: #261b37; background: #ded1ff; border-color: #e6dcff; }
.tickets {
  position: relative; overflow: hidden; border-radius: 18px;
  background: #282136;
  box-shadow: 0 0 0 1px #554764, 0 8px 24px -12px #000a;
}
#promo-track {
  display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
}
#promo-track::-webkit-scrollbar { display: none; }
#promo-track:focus-visible, .promo-slide:focus-visible { outline: 3px solid var(--lime); outline-offset: -4px; }
.promo-slide { flex: 0 0 100%; display: flex; flex-direction: column; width: 100%; min-width: 0; scroll-snap-align: start; }
.poster { display: block; width: 100%; }
.poster > img[data-src]:not([src]) { visibility: hidden; }
.poster img { display: block; width: 100%; height: auto; }
.stub {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: space-between; gap: 8px;
  padding: 11px 12px 13px; background: linear-gradient(115deg, #33283f, #241d32);
  border-top: 1px solid #ffffff1a;
}
.stub strong { font-size: 1.075rem; line-height: 1.35; font-weight: 650; }
.promo-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 8px 12px; border-radius: 12px;
  background: linear-gradient(110deg, #e6ffb5, var(--lime) 60%, #c5f68a);
  border: 1px solid #e4ffb6; color: #202b16;
  box-shadow: 0 2px 0 #759b55, 0 3px 12px #a9fe3814;
  font-size: 1rem; font-weight: 700;
}
.promo-cta .icon { width: 19px; height: 19px; }
.promo-progress { height: 3px; overflow: hidden; background: #42354f; }
#promo-progress { display: block; height: 100%; width: 100%; transform-origin: left center; transform: scaleX(0); background: linear-gradient(90deg, #b79aff, var(--lime)); }
#promo-controls { margin-top: 12px; }
.thumbnails { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(3px, 1.1vw, 7px); }
.thumb {
  position: relative; display: grid; place-items: center; min-width: 0; min-height: 44px; height: 48px;
  overflow: hidden; padding: 3px; border-radius: 10px;
  border: 1px solid #584b65; background: #272132;
}
.thumb img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 6px; opacity: .72; }
.thumb[aria-pressed="true"] { border: 2px solid var(--lime); padding: 2px; }
.thumb[aria-pressed="true"] img { opacity: 1; }
.dock {
  position: fixed; z-index: 5; inset: auto 0 0; max-width: var(--shell); margin: auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 6px;
  padding: 5px var(--side) calc(5px + env(safe-area-inset-bottom));
  border-top: 1px solid #6c5e7b; background: #211a30f7; box-shadow: 0 -3px 16px #110d1d33;
}
.dock a {
  min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 6px;
  color: #e3dbea; font-weight: 600; font-size: .8125rem; border-radius: 11px;
}
.dock a .icon { width: 17px; height: 17px; }
.dock a[aria-current] { color: #eedfff; background: #463459; }
.dock a[href^="https"] { background: #e1d4fc; color: #30223f; }
@media (max-width: 360px) {
  .section-heading { gap: 5px; }
  .section-heading h2 .icon { display: none; }
  .heading-tools { gap: 2px; }
  .dock a { gap: 4px; }
}
@media (hover: hover) {
  .round-button:hover, .handle:hover, .dock a:hover { filter: brightness(1.15); }
  .promo-slide:hover .promo-cta { background: #ecffca; }
  .thumb:hover img { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .masthead::after { animation: orbit-in 1.2s ease-out both; }
  .thumb[aria-pressed="true"] { animation: pick-poster .4s ease-out; }
  .round-button, .handle, .promo-cta, .thumb, .dock a { transition: transform .14s ease, background-color .2s ease, box-shadow .2s ease; }
  .round-button:active, .handle:active, .dock a:active, .thumb:active { transform: scale(.95); }
  .promo-slide:active .promo-cta { transform: translateY(2px); box-shadow: 0 0 0 #759b55; }
}
@keyframes orbit-in {
  from { transform: translateX(-14px) rotate(-13deg); opacity: 0; }
  to { transform: rotate(-19deg); opacity: 1; }
}
@keyframes pick-poster {
  from { box-shadow: 0 0 0 3px #d9ff924b; }
  to { box-shadow: 0 0 0 0 #d9ff9200; }
}
