:root { color-scheme: dark; }
.actions, .tool.edge-tool { position: absolute; z-index: 4; }
.actions { display: flex; align-items: center; gap: 1px; }
.landing-actions, .upper-right {
  top: max(20px,env(safe-area-inset-top)); right: max(28px,env(safe-area-inset-right));
}
.tool {
  -webkit-tap-highlight-color: transparent;
  position: relative; box-sizing: border-box; display: inline-grid; place-items: center;
  width: 46px; height: 46px; padding: 0; flex-shrink: 0;
  color: #f3f5fc; background: transparent; border: 1px solid transparent; border-radius: 50%;
  text-decoration: none; cursor: pointer; font: inherit;
  transition: background .16s, color .16s, border-color .16s;
}
.tool svg, .glyph {
  display: block; width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.65; fill: none;
  stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
.tool:focus-visible, .scene-card:focus-visible, .waypoint button:focus-visible, .film-play:focus-visible {
  outline: 2px solid #f7f9ff; outline-offset: 2px;
}
.tool:focus-visible, .tool:hover { color: white; background: #ffffff12; border-color: #ffffff21; }
.divider { display: block; height: 16px; width: 1px; background: #eef2ff38; margin: 0 4px; }
.landing-actions .primary { width: 54px; height: 54px; }
.landing-actions .primary svg { width: 34px; height: 34px; stroke-width: 1.3; }
.landing-actions .tool:not(.primary) svg { width: 24px; height: 24px; color: #d4d8e2; }
.landing-actions .tool svg { filter: drop-shadow(0 0 6px #f3f7ff33); }
.landing-preview {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 8;
  width: min(240px,calc(100vw - 84px)); padding: 9px;
  color: #e9edf4; background: #0c1015f5; border: 1px solid #ffffff2c; border-radius: 8px;
  box-shadow: 0 4px 18px #0008; font: 400 .83rem/1.4 "Segoe UI","Microsoft YaHei",sans-serif;
}
.landing-preview img { display: block; width: 100%; height: auto; margin-top: 7px; border-radius: 3px; }
.landing-preview::before { content: ""; position: absolute; bottom: 100%; right: 0; width: 100%; height: 9px; }
.landing-actions .tool:focus-visible .landing-preview { display: block; }
@media (hover:hover) {
  .landing-actions .tool:hover .landing-preview { display: block; }
  .landing-actions:has(.tool:hover) .tool:focus-visible:not(:hover) .landing-preview { display: none; }
}
[data-tip]::after {
  content: attr(data-tip); position: absolute; z-index: 8; pointer-events: none; opacity: 0;
  top: calc(100% + 8px); right: 0; padding: 6px 10px;
  background: #0c1015ee; color: #e9edf4; border: 1px solid #ffffff26; border-radius: 6px;
  font: 400 .83rem/1.4 "Segoe UI","Microsoft YaHei",sans-serif; white-space: nowrap; letter-spacing: .015em;
}
@media (hover:hover) { [data-tip]:hover::after { opacity: 1; transition: opacity .16s .36s; } }
[data-tip]:focus-visible::after { opacity: 1; }
[hidden] { display: none !important; }
@media (max-width:600px) {
  .landing-actions, .upper-right { top: max(12px,env(safe-area-inset-top)); right: max(12px,env(safe-area-inset-right)); }
  .landing-actions .primary { width: 48px; height: 48px; }
  .landing-actions .primary svg { width: 30px; height: 30px; }
  .divider { margin: 0 1px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
