
.page-header.sfx-scene-host { padding-bottom: 28px; }
.page-header .container { position: relative; }

.scx-cube-wrap { --s: 112px; position: absolute; top: 50%; right: -8px; width: var(--s); height: calc(var(--s) + 40px); margin-top: calc(var(--s) / -2 - 14px); perspective: 700px; }
.scx-cube { position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d;
  transform: rotateX(-18deg) rotateY(calc(var(--scx-r, 0deg) + 28deg)); transition: transform 1.1s cubic-bezier(.65, -0.2, .25, 1.2); }
.scx-cube-wrap:hover .scx-cube { transform: rotateX(-8deg) rotateY(calc(var(--scx-r, 0deg) + 0deg)); }
.scx-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px solid rgba(120, 180, 255, .45); background: linear-gradient(150deg, rgba(31, 123, 255, .34), rgba(139, 92, 246, .26) 60%, rgba(4, 17, 46, .85));
  box-shadow: inset 0 0 26px rgba(56, 182, 255, .25); backface-visibility: hidden; color: #f2f7ff; }
.scx-face b { font-family: var(--font-head); font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(56, 182, 255, .8); }
.scx-face span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #a6c8ff; }
.scx-front { transform: translateZ(calc(var(--s) / 2)); }
.scx-right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.scx-back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.scx-left { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.scx-top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(135deg, rgba(245, 184, 46, .5), rgba(236, 72, 153, .35)); border-color: rgba(245, 184, 46, .6); }
.scx-top .sfx-ic { width: 22px; height: 22px; color: #fff; }
.scx-top span { color: #fff; font-size: .62rem; }
.scx-shadow { width: calc(var(--s) * 1.1); height: 16px; margin: 26px auto 0; background: radial-gradient(ellipse, rgba(56, 182, 255, .45), transparent 70%); filter: blur(4px); }
html.sfx-on .scx-shadow { animation: scx-shadow 2.4s ease-in-out infinite; }
html.sfx-on .scx-cube-wrap { animation: scx-float 4.8s ease-in-out infinite; }
@keyframes scx-float { 50% { translate: 0 -8px; } }
@keyframes scx-shadow { 50% { opacity: .55; transform: scaleX(.9); } }
:root[data-theme="light"] .scx-face { color: #fff; }
@media (max-width: 1240px) { .scx-cube-wrap { right: 0; --s: 96px; } }
@media (max-width: 1100px) {
  .scx-cube-wrap { position: relative; top: auto; right: auto; margin: 26px auto 0; --s: 92px; }
}

html.sfx-on .scx-cal { perspective: 1200px; }
html.sfx-on .scx-cal > .schedule-item.reveal { transform-origin: 50% 0; transform: rotateX(-82deg); opacity: 0;
  transition: transform .9s cubic-bezier(.2, .9, .25, 1.15) calc(var(--scx-i, 0) * 110ms), opacity .5s ease calc(var(--scx-i, 0) * 110ms), box-shadow .35s ease, border-color .35s ease; }
html.sfx-on .scx-cal > .schedule-item.reveal.is-visible { transform: none; opacity: 1; }
html.sfx-on .scx-cal > .schedule-item.reveal.sfx-tilt { transform: perspective(900px) rotateX(var(--sfx-rx, 0deg)) rotateY(var(--sfx-ry, 0deg)) translateY(var(--sfx-ty, 0px)); transition-delay: 0s; }
.scx-cal .schedule-date { position: relative; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6), inset 0 -3px 0 rgba(255, 255, 255, .05); overflow: visible; }
.scx-cal .schedule-date::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .07); pointer-events: none; }
.scx-rings { position: absolute; top: -5px; left: 18px; right: 18px; height: 10px; pointer-events: none;
  background: radial-gradient(circle at 5px 5px, #a6b8db 0 2.5px, transparent 3px) left / 10px 10px no-repeat, radial-gradient(circle at 5px 5px, #a6b8db 0 2.5px, transparent 3px) right / 10px 10px no-repeat; }

.scx-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; padding: 5px 10px; border: 1px solid var(--border); color: var(--text-muted); }
.scx-next .scx-chip { margin-left: auto; color: #fff; border-color: rgba(245, 184, 46, .7); background: linear-gradient(90deg, rgba(245, 184, 46, .3), rgba(236, 72, 153, .25)); }
.scx-next .scx-chip + .schedule-tag, .scx-past .scx-chip + .schedule-tag { margin-left: 0; }
.scx-past .scx-chip { margin-left: auto; }
.scx-next .scx-chip i { width: 7px; height: 7px; border-radius: 50% !important; background: #f5b82e; box-shadow: 0 0 0 0 rgba(245, 184, 46, .7); }
html.sfx-on .scx-next .scx-chip i { animation: scx-ping 1.6s ease-out infinite; }
@keyframes scx-ping { 70% { box-shadow: 0 0 0 7px rgba(245, 184, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 184, 46, 0); } }
.scx-cal > .schedule-item.scx-next { position: relative; border-color: rgba(245, 184, 46, .55); box-shadow: 0 0 0 1px rgba(245, 184, 46, .25), 0 18px 46px -18px rgba(245, 184, 46, .45); }
html.sfx-on .scx-cal > .schedule-item.scx-next::before { content: ""; position: absolute; inset: -1px; pointer-events: none; border: 1px solid transparent;
  background: conic-gradient(from var(--scx-a, 0deg), transparent 0 70%, rgba(245, 184, 46, .95) 85%, transparent 100%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: scx-run 4s linear infinite; }
@property --scx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes scx-run { to { --scx-a: 360deg; } }
.scx-next .schedule-date { background: linear-gradient(160deg, rgba(245, 184, 46, .35), rgba(236, 72, 153, .2)); }
.scx-past { opacity: .62; }
html.sfx-on .scx-cal > .schedule-item.scx-past.reveal.is-visible { opacity: .62; }
.scx-past:hover { opacity: 1; }

@media (max-width: 640px) {
  .scx-cal .schedule-item { flex-wrap: wrap; }
  .scx-chip { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .scx-cube, .scx-cube-wrap { transition: none; animation: none !important; }
  html .scx-cal > .schedule-item.reveal { transform: none !important; }
}

.newsletter-panel .newsletter-form { flex-basis: min(320px, 100%); min-width: 0; }
.newsletter-panel .newsletter-form input { min-width: 0; }
