/* The existing closing composition stays in place; only the stone is lifted. */
.skor-stone-scene { position: relative; }
.skor-stone-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  --stone-left: 64.5%;
  --stone-top: 14%;
  --stone-width: 17.4%;
  --stone-height: 72.5%;
  --stone-clip: polygon(66.5% 14%, 80.7% 14%, 81.9% 16.9%, 81.9% 83.7%, 80.9% 86.5%, 66.9% 86.5%, 65.5% 85%, 64.5% 82.7%, 64.5% 18%, 65.2% 15.6%);
}
.skor-stone-entrance {
  position: absolute;
  z-index: 2;
  left: var(--stone-left);
  top: var(--stone-top);
  width: var(--stone-width);
  height: var(--stone-height);
  border-radius: 10% / 5%;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.skor-stone-entrance:focus-visible {
  outline: 2px solid #fff4d9;
  outline-offset: -2px;
  box-shadow: 0 0 0 2px #283345;
}
.skor-stone-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skor-stone-lift, .skor-stone-copy { position: absolute; inset: 0; pointer-events: none; }
.skor-stone-lift {
  opacity: 0;
  transform-origin: 73% 86.5%;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
  transition: transform 180ms ease, opacity 180ms ease, filter 180ms ease;
}
.skor-stone-copy {
  background: url("skor-close-shadow-20261022.webp") center / cover no-repeat;
  clip-path: var(--stone-clip);
}
.skor-stone-entrance:focus-visible + .skor-stone-lift {
  opacity: 1;
  transform: translateY(-2px);
  filter: brightness(1.06) drop-shadow(0 0 6px rgb(255 239 199 / 35%));
}
@media (hover: hover) {
  .skor-stone-entrance:hover + .skor-stone-lift {
    opacity: 1;
    transform: translateY(-2px);
    filter: brightness(1.06) drop-shadow(0 0 6px rgb(255 239 199 / 35%));
  }
}
.skor-stone-scene.is-opening .skor-stone-lift {
  opacity: 1;
  filter: brightness(1.08) drop-shadow(0 0 8px rgb(255 239 199 / 40%));
  animation: skor-stone-knock 240ms ease-in-out both;
}
@keyframes skor-stone-knock {
  0%, 100% { transform: translateY(-2px) rotate(0); }
  25% { transform: translate(-1px, -2px) rotate(-.3deg); }
  50% { transform: translate(1.4px, -2px) rotate(.35deg); }
  75% { transform: translate(-.7px, -2px) rotate(-.2deg); }
}
.skor-journey-dialog {
  position: fixed;
  inset: 0;
  width: calc(100vw - 32px);
  max-width: 1800px;
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid #45515c;
  border-radius: 12px;
  color: #eef1ed;
  background: #091019;
  overflow: hidden;
  box-shadow: 0 24px 100px rgb(0 0 0 / 55%);
}
.skor-journey-dialog:not([open]) { display: none; }
.skor-journey-dialog::backdrop { background: rgb(6 10 14 / 82%); }
.skor-journey-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.skor-journey-toolbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid #34404b;
  background: #121a23;
}
.skor-journey-toolbar h2 { margin: 0 auto 0 0; font: 600 15px/1.3 var(--font-body, sans-serif); }
.skor-journey-toolbar a { color: #ccd7dd; font: 13px/1.4 var(--font-body, sans-serif); text-underline-offset: 3px; }
.skor-journey-close {
  flex: none;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #647481;
  border-radius: 5px;
  background: #1c2934;
  color: #f0f4f5;
  font: 600 14px/1.4 var(--font-body, sans-serif);
  cursor: pointer;
}
.skor-journey-toolbar :is(a, button):focus-visible { outline: 2px solid #abe2e6; outline-offset: 3px; }
.skor-journey-frame { display: block; flex: 1; min-height: 0; width: 100%; border: 0; background: #091019; }
@media (max-width: 600px) {
  .skor-journey-dialog { width: 100%; max-width: none; height: 100vh; height: 100dvh; border: 0; border-radius: 0; }
  .skor-journey-toolbar { gap: 10px; padding: max(8px, env(safe-area-inset-top)) 10px 8px; }
  .skor-journey-toolbar h2 { font-size: 13px; }
  .skor-journey-toolbar a { max-width: 74px; font-size: 12px; }
  .skor-journey-close { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .skor-stone-lift { transition: none; }
  .skor-stone-entrance:hover + .skor-stone-lift,
  .skor-stone-entrance:focus-visible + .skor-stone-lift,
  .skor-stone-scene.is-opening .skor-stone-lift { transform: none; animation: none; }
}
