/* Additive, content-only motion. Navigation glass remains owned by liquid-ui.css. */
:root {
  --sx-spring: cubic-bezier(.22, 1.35, .36, 1);
  --sx-glow: rgba(104, 176, 191, .32);
  --sx-ink: rgba(60, 110, 154, .13);
}
[data-theme="dark"] {
  --sx-glow: rgba(126, 187, 200, .27);
  --sx-ink: rgba(4, 14, 27, .35);
}
.sx-card { position: relative; isolation: isolate; }
.sx-card > :not(.sx-beam):not(.sx-halo):not(.sx-specular):not(.sx-sweep) { position: relative; z-index: 1; }
.sx-beam, .sx-halo, .sx-specular, .sx-sweep { position: absolute; pointer-events: none; z-index: 0; }
.sx-halo {
  inset: -2%;
  border-radius: inherit;
  overflow: hidden;
  filter: blur(12px);
  opacity: .24;
  transition: opacity .45s ease;
}
.sx-halo::before {
  content: "";
  position: absolute;
  width: 240%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  background: conic-gradient(from 60deg, transparent 0deg 238deg, var(--sx-glow) 300deg, transparent 360deg);
}
.sx-card:is(:hover, :focus-within) .sx-halo { opacity: .45; }
.sx-beam {
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: .56;
  transition: opacity .5s ease;
}
.sx-beam::before {
  content: "";
  position: absolute;
  width: 240%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 238deg,
    rgba(255,255,255,.08) 270deg, var(--sx-glow) 300deg,
    rgba(238,249,255,.7) 317deg, var(--sx-glow) 332deg, transparent 360deg);
  animation: sx-orbit 13s linear infinite;
  animation-play-state: paused;
}
.sx-card.sx-inview .sx-beam::before { animation-play-state: running; }
html[data-sx-paused] .sx-card .sx-beam::before { animation-play-state: paused; }
@keyframes sx-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.sx-card:is(:hover, :focus-within) .sx-beam { opacity: .85; }
.sx-card.sx-tilt {
  transform: perspective(1100px) rotateX(var(--sx-rx, 0deg))
    rotateY(var(--sx-ry, 0deg)) translateY(var(--sx-lift, 0px))
    scale(var(--sx-scale, 1)) !important;
  transition: box-shadow .45s var(--sx-spring) !important;
  transform-style: preserve-3d;
}
.sx-card.sx-tilt:is(:hover, :focus-within) {
  box-shadow: 0 18px 38px var(--sx-ink), inset 0 1px 0 rgba(255,255,255,.42) !important;
}
.sx-specular {
  top: 0;
  left: 0;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.24), rgba(194,231,238,.07) 35%, transparent 68%);
  transform: translate(var(--sx-x, 100%), var(--sx-y, 100%)) translate(-50%,-50%);
  opacity: 0;
  transition: opacity .38s ease;
}
.sx-card:is(:hover, .sx-press) .sx-specular { opacity: 1; }
.product-cards .sx-magnet {
  translate: var(--sx-mx, 0px) var(--sx-my, 0px);
}
.sx-sweep {
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}
.sx-sweep::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 52%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.14) 40%,
    rgba(255,255,255,.23) 52%, transparent);
  transform: translateX(-120%) skewX(-16deg);
  opacity: 0;
}
.sx-card.sx-sweeping .sx-sweep::before {
  animation: sx-sweep-once .9s cubic-bezier(.2,.75,.2,1) both;
}
@keyframes sx-sweep-once {
  5% { opacity: .7; }
  85% { opacity: .48; }
  100% { transform: translateX(310%) skewX(-16deg); opacity: 0; }
}
.sx-decoding { position: relative; }
.sx-decoding > .sx-decoding-copy {
  position: absolute;
  inset: 0;
  color: var(--text-primary);
  white-space: nowrap;
  pointer-events: none;
}
.sx-decoding.sx-running { color: transparent !important; }
.sx-decoding.sx-running > .sx-decoding-copy { color: var(--text-primary); }
.sx-odometer { position: relative; display: inline-block; font-variant-numeric: tabular-nums; }
.sx-odometer > .sx-odometer-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  color: inherit;
  white-space: nowrap;
}
.sx-odometer.sx-changing { color: transparent !important; }
.sx-odometer.sx-changing > .sx-odometer-copy { color: var(--text-primary); }
.sx-digit-window {
  display: inline-block;
  overflow: hidden;
  height: 1em;
  width: .64em;
  vertical-align: -.08em;
  line-height: 1;
}
.sx-digit-reel { display: block; line-height: 1; }
.sx-digit-reel > span { display: block; height: 1em; line-height: 1; text-align: center; }
.sx-chart-readout {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: .5rem;
  margin-bottom: .5rem;
  color: var(--text-secondary);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.sx-chart-readout[hidden] { display: none; }
.sx-chart-readout strong { color: var(--text-primary); font-size: 18px; }
.study-daily-chart.sx-chart {
  display: block;
  touch-action: pan-x;
  overflow-x: auto;
  padding-top: 0;
}
.sx-chart-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--sx-days), minmax(1.75rem, 1fr));
  min-width: max(100%, calc(var(--sx-days) * 1.75rem));
  height: 100%;
}
.sx-chart .study-daily-day {
  cursor: crosshair;
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  flex: none;
  padding-bottom: 2px;
}
.sx-chart .study-daily-bar { display: none; }
.sx-chart-line { position: absolute; inset: 0 auto auto 0; width: 100%; height: calc(100% - 24px); overflow: visible; pointer-events: none; }
.sx-chart-area { fill: var(--sx-glow); opacity: .25; }
.sx-chart-stroke { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.sx-chart-dot { fill: var(--surface); stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.sx-chart-dot.sx-current {
  fill: var(--accent);
  stroke: var(--surface);
  stroke-width: 3;
  animation: sx-chart-pulse 2.8s ease-in-out infinite;
}
@keyframes sx-chart-pulse {
  50% { transform: scale(1.55); opacity: .7; }
}
.sx-chart:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.home-page .banner { isolation: isolate; overflow: hidden; }
.home-page .banner-photo {
  inset: -5%;
  background: linear-gradient(180deg, rgba(239,247,252,.81), rgba(242,249,253,.77) 55%, rgba(239,248,252,.89)),
    url('../img/study-lake.jpg') center / cover no-repeat !important;
  translate: 0 var(--sx-far-y, 0px);
  will-change: translate;
}
.home-page .banner-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #102935;
  opacity: calc(var(--sx-depth, 0) * .18);
  pointer-events: none;
}
[data-theme="dark"] .home-page .banner-photo {
  background: linear-gradient(180deg, rgba(19,35,47,.78), rgba(19,35,47,.82) 55%, rgba(19,35,47,.94)),
    url('../img/study-lake.jpg') center / cover no-repeat !important;
}
.home-page .banner-logo { translate: 0 var(--sx-near-y, 0px); }
.sx-reveal-ready .sx-reveal { opacity: 0 !important; translate: 0 .75rem; transition: opacity .52s var(--sx-spring), translate .52s var(--sx-spring) !important; }
.sx-reveal-ready .sx-reveal.sx-visible { opacity: 1 !important; translate: 0 0; }
:is(.filter-tag, [data-report-days], .ui-visual-options button):has(> .sx-focus-orbit) { position: relative; isolation: isolate; }
.sx-focus-orbit {
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  transition: opacity .25s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.sx-focus-orbit::before {
  content: "";
  position: absolute;
  width: 240%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(139,195,203,.42), rgba(240,251,255,.85), rgba(111,167,189,.35), transparent);
  transform: translate(-50%,-50%);
  animation: sx-orbit 14s linear infinite;
  animation-play-state: paused;
}
:is(.filter-tag.active, [data-report-days][aria-pressed="true"], .ui-visual-options button[aria-pressed="true"]) > .sx-focus-orbit {
  opacity: .9;
}
:is(.filter-tag.active, [data-report-days][aria-pressed="true"], .ui-visual-options button[aria-pressed="true"]) > .sx-focus-orbit::before {
  animation-play-state: running;
}
.sx-capsule-trigger { border-radius: 999px !important; }
.sx-capsule-ghost {
  position: fixed;
  z-index: 2147483647;
  pointer-events: none;
  border: 1px solid var(--liquid-border);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: var(--liquid-shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ui-reading-dialog.sx-capsule-opening > * {
  animation: sx-content-arrive .28s .16s both;
}
@keyframes sx-content-arrive {
  from { opacity: 0; translate: 0 .35rem; }
  to { opacity: 1; translate: 0 0; }
}
.sx-news-placeholder { position: fixed !important; z-index: 20; pointer-events: none; }
::view-transition-group(sx-news-item) {
  animation-duration: .52s;
  animation-timing-function: var(--sx-spring);
}
::view-transition-old(sx-news-item), ::view-transition-new(sx-news-item) { mix-blend-mode: normal; }
#backTop.sx-pulse {
  border-radius: 50% !important;
  corner-shape: round;
}
#backTop.sx-pulse::after {
  content: "";
  display: block !important;
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid var(--sx-glow);
  background: none !important;
  pointer-events: none;
  animation: sx-breathe 3.8s ease-in-out infinite !important;
}
#backTop.sx-pulse:hover::after { border-color: rgba(164, 211, 224, .65); }
#backTop.sx-pulse:active { scale: .94; }
@keyframes sx-breathe {
  0%, 100% { transform: scale(.96); opacity: .28; }
  50% { transform: scale(1.1); opacity: .52; }
}
html[data-sx-paused] .sx-chart-dot.sx-current,
html[data-sx-paused] .sx-focus-orbit::before,
html[data-sx-paused] #backTop.sx-pulse::after {
  animation-play-state: paused !important;
}
@media (max-width: 760px) {
  .study-page dialog.practice-dialog.ui-sheet, .room dialog.room-dialog.ui-sheet {
    transition-duration: .46s, .2s, .32s, .32s, .32s, .32s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sx-beam::before, .sx-halo::before, .sx-chart-dot.sx-current,
  .sx-card.sx-sweeping .sx-sweep::before, #backTop.sx-pulse::after,
  .sx-focus-orbit::before { animation: none !important; }
  .sx-card.sx-tilt { transform: none !important; }
  .sx-specular { display: none; }
  .product-cards .sx-magnet { translate: none; }
  .sx-reveal-ready .sx-reveal { opacity: 1 !important; translate: none; transition: none !important; }
  .home-page .banner-photo { filter: none; translate: none; }
  .home-page .banner-logo { translate: none; }
  .ui-reading-dialog.sx-capsule-opening > * { animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .sx-specular { display: none; }
  .sx-beam { opacity: .25; }
}
