:root {
color-scheme: dark;
--canvas: #2F2942;
--canvas-subtle: #252035;
--surface-base: rgba(32, 24, 49, 0.88);
--surface-solid: #201831;
--surface-raised: rgba(47, 41, 66, 0.85);
--surface-overlay: #201831;
--surface-nav-panel: #191820;
--border-subtle: rgba(89, 68, 155, 0.25);
--border-medium: #59449B;
--border-focus: rgba(142, 114, 230, 0.7);
--divider: rgba(89, 68, 155, 0.35);
--ink-primary: #f8fafc;
--ink-secondary: #cbd5e1;
--ink-muted: #9ba3b8;
--ink-subtle: #798299;
--ink-inverse: #201831;
--faction-nature: oklch(0.78 0.18 135);
--faction-nature-surface: rgba(126, 227, 82, 0.14);
--faction-nature-border: rgba(126, 227, 82, 0.35);
--faction-nature-ink: #071203;
--faction-engineering: oklch(0.82 0.16 85);
--faction-engineering-surface: rgba(245, 211, 88, 0.14);
--faction-engineering-border: rgba(245, 211, 88, 0.35);
--faction-engineering-ink: #140d02;
--faction-magic: oklch(0.72 0.16 250);
--faction-magic-surface: rgba(93, 160, 255, 0.14);
--faction-magic-border: rgba(93, 160, 255, 0.35);
--faction-magic-ink: #030c18;
--faction-order: oklch(0.75 0.12 300);
--faction-order-surface: rgba(186, 166, 224, 0.14);
--faction-order-border: rgba(186, 166, 224, 0.35);
--faction-order-ink: #11091a;
--faction-chaos: oklch(0.70 0.20 325);
--faction-chaos-surface: rgba(203, 101, 255, 0.14);
--faction-chaos-border: rgba(203, 101, 255, 0.35);
--faction-chaos-ink: #14031a;
--node-faction: var(--faction-nature);
--node-faction-surface: var(--faction-nature-surface);
--node-faction-border: var(--faction-nature-border);
--node-faction-ink: var(--faction-nature-ink);
--accent: #5da0ff;
--gold-currency: #f5d358;
--core-currency: #4cd5ff;
--positive: #7ee352;
--danger: #ff5c5c;
--white: #ffffff;
--white-a05: rgba(255, 255, 255, 0.05);
--white-a06: rgba(255, 255, 255, 0.06);
--white-a08: rgba(255, 255, 255, 0.08);
--white-a10: rgba(255, 255, 255, 0.1);
--white-a12: rgba(255, 255, 255, 0.12);
--white-a14: rgba(255, 255, 255, 0.14);
--white-a15: rgba(255, 255, 255, 0.15);
--white-a16: rgba(255, 255, 255, 0.16);
--white-a22: rgba(255, 255, 255, 0.22);
--white-a28: rgba(255, 255, 255, 0.28);
--white-a35: rgba(255, 255, 255, 0.35);
--white-a50: rgba(255, 255, 255, 0.5);
--white-a60: rgba(255, 255, 255, 0.6);
--white-a85: rgba(255, 255, 255, 0.85);
--black-a40: rgba(0, 0, 0, 0.4);
--black-a50: rgba(0, 0, 0, 0.5);
--black-a60: rgba(0, 0, 0, 0.6);
--black-a65: rgba(0, 0, 0, 0.65);
--black-a70: rgba(0, 0, 0, 0.7);
--black-a72: rgba(0, 0, 0, 0.72);
--black-a80: rgba(0, 0, 0, 0.8);
--black-a85: rgba(0, 0, 0, 0.85);
--accent-violet-a25: rgba(140, 103, 232, 0.25);
--accent-violet-a30: rgba(140, 103, 232, 0.3);
--ink-violet-muted: #9789ae;
--ink-violet-dim: #a497bd;
--accent-gold-bright: #ffd859;
--elevation-low:
0 1px 2px rgba(0, 0, 0, 0.3),
0 2px 6px rgba(0, 0, 0, 0.2),
inset 0 1px 0 var(--white-a05);
--elevation-panel:
0 0 0 1px var(--white-a08),
0 4px 12px var(--black-a40),
0 16px 36px var(--black-a60),
inset 0 1px 0 rgba(255, 255, 255, 0.09);
--elevation-modal:
0 0 0 1px var(--white-a10),
0 12px 32px var(--black-a65),
0 28px 64px var(--black-a80),
inset 0 1px 0 var(--white-a12);
--surface-deep: #1e172e;
--surface-widget: rgba(14, 11, 22, 0.94);
--accent-violet: #5a3fa2;
--accent-violet-bright: #8c67e8;
--ink-violet-soft: #d1c8e8;
--action-outline: #221226;
--action-gold-border: #eedb8d;
--action-gold-fill: #ffcc19;
--radius-xs: 4px;
--radius-sm: 6px;
--radius-base: 8px;
--radius-card: 16px;
--radius-panel: 16px;
--radius-sheet: 20px;
--font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro TC", "PingFang TC", "Hiragino Sans TC", "Noto Sans TC", "Microsoft JhengHei UI", "Microsoft JhengHei", "Segoe UI", Roboto, sans-serif;
--font-numeric: "SF Pro Rounded", "Arial Rounded MT Bold", "Google Sans", "Segoe UI Variable Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
--font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}
*,
*::before,
*::after {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
dialog {
margin: 0;
padding: 0;
border: 0;
color: inherit;
width: auto;
height: auto;
max-width: none;
max-height: none;
}
html,
body {
width: 100%;
height: 100%;
margin: 0;
overflow: hidden;
background: #050505;
color: var(--ink-primary);
font-family: var(--font-sans);
font-synthesis: none;
font-variant-numeric: tabular-nums;
text-rendering: geometricPrecision;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-tap-highlight-color: transparent;
}
button,
input,
svg,
.map-viewport,
.map-scene,
.node,
.toolbar-button {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
outline: none;
}
button,
input {
font: inherit;
}
button {
color: inherit;
user-select: none;
-webkit-user-select: none;
}
button:focus-visible,
input:focus-visible,
.map-viewport:focus-visible {
outline: 2px solid var(--faction-magic);
outline-offset: 2px;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.app-shell {
position: relative;
width: 100%;
height: 100%;
isolation: isolate;
overflow: hidden;
background: var(--canvas);
}
.app-shell::before {
position: absolute;
inset: 0;
z-index: -1;
pointer-events: none;
content: "";
background-image:
radial-gradient(circle at 50% 15%, rgba(93, 160, 255, 0.04), transparent 50%),
linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, transparent 100%);
}
.app-shell.canvas-map-mode::before {
display: none;
}
.topbar {
position: absolute;
z-index: 40;
top: 14px;
right: 16px;
left: 16px;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 16px;
opacity: 1 !important;
pointer-events: none;
}
.map-toolbar,
.empty-state {
pointer-events: auto;
}
.search-block {
position: fixed;
top: 68px;
right: 16px;
z-index: 500;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 10px;
width: auto;
min-width: 0;
pointer-events: none;
transform-origin: top right;
transition-property: opacity, transform, visibility;
transition-duration: 220ms, 240ms, 0s;
transition-delay: 0s, 0s, 0s;
transition-timing-function: ease-out, cubic-bezier(0.16, 1, 0.3, 1), linear;
}
body.simulation-mode .search-block {
opacity: 0;
pointer-events: none;
transform: translateY(-10px) scale(0.96);
visibility: hidden;
transition-delay: 0s, 0s, 240ms;
}
body.reveal-nav-open .search-block {
opacity: 0;
pointer-events: none;
transform: none;
}
body:has(#compendium-overlay:not([hidden])) .search-block,
body:has(#attack-speed-modal:not([hidden])) .search-block {
display: none !important;
}
body.simulation-mode .filter-widget {
opacity: 0;
transform: translateY(-5px) scale(0.96);
}
.search-widget {
position: relative;
top: auto;
right: auto;
width: 42px;
height: 42px;
min-width: 42px;
box-sizing: border-box;
overflow: visible;
pointer-events: auto;
transition: width 320ms cubic-bezier(0.4, 0, 0.2, 1),
box-shadow 200ms ease;
}
.search-widget.is-expanded {
width: min(320px, calc(100vw - 32px));
}
.search-field {
position: absolute;
top: 0;
right: 0;
z-index: 1;
display: flex;
align-items: center;
width: 100%;
box-sizing: border-box;
height: 42px;
padding: 0 13px;
overflow: hidden;
background: var(--white);
border: none;
border-radius: 9999px;
box-shadow: 0 4px 16px var(--black-a40);
cursor: pointer;
transition-property: border-color, box-shadow, background-color, width, border-radius;
transition-duration: 200ms;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.search-widget:not(.is-expanded) .search-field {
width: 42px;
padding: 0;
justify-content: center;
}
.search-widget:not(.is-expanded) .search-field:hover {
transform: scale(1.05);
}
.search-icon-svg {
flex-shrink: 0;
color: #111111;
}
#search-input {
min-width: 0;
height: 100%;
flex: 1;
padding: 0 8px;
color: #111111;
background: transparent;
border: 0;
outline: 0;
font-size: 13.5px;
font-weight: 600;
opacity: 1;
transition: opacity 160ms ease;
}
.search-widget:not(.is-expanded) #search-input {
opacity: 0;
pointer-events: none;
width: 0;
padding: 0;
flex: 0;
}
#search-input::placeholder {
color: #888888;
opacity: 1;
}
#search-input::-webkit-search-cancel-button,
#search-input::-webkit-search-decoration,
#search-input::-webkit-search-results-button,
#search-input::-webkit-search-results-decoration {
appearance: none;
-webkit-appearance: none;
}
.search-kbd {
display: inline-flex;
min-width: 18px;
height: 18px;
align-items: center;
justify-content: center;
padding: 0 5px;
color: var(--ink-muted);
background: var(--white-a05);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xs);
font-family: var(--font-mono);
font-size: 10.5px;
line-height: 1;
}
.icon-button {
position: relative;
display: inline-grid;
width: 28px;
height: 28px;
flex: 0 0 28px;
place-items: center;
padding: 0;
color: var(--ink-muted);
cursor: pointer;
background: transparent;
border: 0;
border-radius: var(--radius-sm);
transition-property: color, background-color, transform;
transition-duration: 120ms;
transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.icon-button::after {
content: "";
position: absolute;
inset: -8px;
}
.icon-button:hover {
color: var(--ink-primary);
background: var(--white-a08);
}
.icon-button:active,
.toolbar-button:active,
.search-result:active,
.upgrade-btn:active {
transform: scale(0.96);
}
.search-results {
position: absolute;
top: 100%;
right: 0;
left: 0;
z-index: 60;
max-height: 0;
margin: 0;
padding: 0 4px;
overflow: hidden;
opacity: 0;
pointer-events: none;
visibility: hidden;
transform: translateY(-6px);
background: transparent;
border: 1px solid transparent;
border-radius: 0 0 10px 10px;
box-shadow: none;
transition-property: max-height, opacity, padding, border-color, transform, visibility;
transition-duration: 280ms, 160ms, 280ms, 160ms, 220ms, 0s;
transition-delay: 0s, 0s, 0s, 0s, 0s, 280ms;
transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease, cubic-bezier(0.16, 1, 0.3, 1), ease, cubic-bezier(0.16, 1, 0.3, 1), linear;
}
.search-widget.has-search-results .search-results {
max-height: min(360px, 48vh);
padding: 6px;
overflow: auto;
opacity: 1;
pointer-events: auto;
visibility: visible;
transform: translateY(0);
background: var(--white);
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 16px;
margin-top: 8px;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
transition-delay: 0s, 0s, 0s, 0s, 0s, 0s;
}
.search-widget.has-search-results .search-field {
border-radius: 9999px;
background: var(--white);
box-shadow: 0 4px 16px var(--black-a40);
transition-property: border-color, border-radius, background-color, box-shadow;
transition-duration: 160ms, 240ms, 160ms, 200ms;
transition-timing-function: ease, cubic-bezier(0.16, 1, 0.3, 1), ease, ease;
}
.search-result {
display: flex;
width: 100%;
min-height: 32px;
align-items: center;
gap: 8px;
padding: 4px 10px;
text-align: start;
cursor: pointer;
background: transparent;
border: 0;
border-radius: 8px;
transition-property: background-color, transform;
transition-duration: 100ms;
transition-timing-function: ease;
}
.search-result:hover,
.search-result[aria-selected="true"] {
background: #f2f1f8;
}
.search-result-name {
min-width: 0;
flex: 1;
display: block;
overflow: hidden;
color: #111111;
font-size: 13px;
font-weight: 750;
text-overflow: ellipsis;
white-space: nowrap;
}
.search-result-type {
display: block;
overflow: hidden;
color: #666666;
font-size: 11px;
font-weight: 650;
text-overflow: ellipsis;
white-space: nowrap;
}
html,
body,
.app-shell,
.topbar,
.search-block,
.search-widget,
.search-widget *,
.disclaimer-widget,
.disclaimer-widget *,
.changelog-widget,
.changelog-widget *,
.locale-widget,
.locale-widget *,
.map-viewport,
.map-scene,
.tree-render-root,
.tree-canvas-layer,
.tree-canvas-layer canvas,
.tree-semantic-layer {
touch-action: none;
}
.map-viewport {
position: absolute;
inset: 0;
z-index: 1;
overflow: hidden;
cursor: grab;
user-select: none;
-webkit-user-select: none;
background: transparent;
}
body.attack-speed-modal-open .map-viewport,
body:has(#attack-speed-modal:not([hidden])) .map-viewport {
visibility: hidden;
pointer-events: none;
}
.map-viewport.is-dragging,
.map-viewport.is-navigating {
cursor: grabbing;
}
body.is-navigating .search-field,
body.is-zooming .search-field,
body.is-navigating .map-toolbar,
body.is-zooming .map-toolbar,
body.is-navigating .node-tooltip,
body.is-zooming .node-tooltip {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
}
@media (hover: none), (pointer: coarse) {
body.is-navigating .filter-widget,
body.is-zooming .filter-widget,
body.is-navigating .hud-toggle-group,
body.is-zooming .hud-toggle-group,
body.is-navigating .topbar,
body.is-zooming .topbar,
body.is-navigating .search-widget,
body.is-zooming .search-widget,
body.is-navigating .disclaimer-widget,
body.is-zooming .disclaimer-widget,
body.is-navigating .changelog-widget,
body.is-zooming .changelog-widget,
body.is-navigating .locale-widget,
body.is-zooming .locale-widget,
body.is-navigating .map-zoom-readout,
body.is-zooming .map-zoom-readout {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
}
}
html.is-android .filter-widget.is-expanded .filter-card,
html.is-android .disclaimer-widget.is-expanded .disclaimer-card,
html.is-android .changelog-widget.is-expanded .changelog-card,
html.is-android .locale-widget.is-expanded .locale-card,
html.is-android .simulation-exit-widget.is-expanded .simulation-exit-card,
html.is-android .search-widget.has-search-results .search-results {
transition-delay: 0s !important;
}
.map-scene {
position: absolute;
top: 0;
left: 0;
z-index: 1;
width: 4000px;
height: 3400px;
transform-origin: 0 0;
contain: layout style;
transform: translate(0px, 0px) scale(1);
will-change: auto;
}
.map-scene.canvas-map-scene {
overflow: hidden;
transform: none;
}
.tree-render-root {
position: absolute;
inset: 0 auto auto 0;
display: block;
transform-origin: 0 0;
pointer-events: none;
}
.tree-canvas-layer,
.tree-semantic-layer {
position: absolute;
inset: 0 auto auto 0;
display: block;
pointer-events: none;
}
.tree-canvas-layer canvas {
position: absolute;
display: block;
margin: 0;
padding: 0;
pointer-events: none;
user-select: none;
}
.canvas-map-scene canvas {
image-rendering: auto;
}
.tree-raster-layer {
position: absolute;
inset: 0 auto auto 0;
display: block;
pointer-events: none;
}
.canvas-map-scene > .tree-render-root {
transform: none;
transform-origin: 0 0;
}
.tree-frame-canvas {
z-index: 4;
overflow: hidden;
pointer-events: none;
}
.tree-frame-surface {
position: absolute;
inset: 0 auto auto 0;
width: 100%;
height: 100%;
overflow: hidden;
pointer-events: none;
contain: strict;
z-index: 1;
}
.tree-frame-surface > .tree-overview-surface {
position: absolute;
display: block;
z-index: 0;
margin: 0;
padding: 0;
visibility: hidden;
pointer-events: none;
}
.tree-frame-surface > .tree-overview-edge-surface {
position: absolute;
display: block;
z-index: 3;
margin: 0;
padding: 0;
visibility: hidden;
pointer-events: none;
}
.tree-frame-surface > .tree-overview-node-art-surface {
position: absolute;
display: block;
z-index: 3;
margin: 0;
padding: 0;
visibility: hidden;
pointer-events: none;
}
.tree-frame-surface > .tree-overview-dynamic-surface {
position: absolute;
display: block;
z-index: 5;
margin: 0;
padding: 0;
visibility: hidden;
pointer-events: none;
}
.tree-frame-surface canvas {
z-index: 0;
opacity: 1;
filter: none;
mix-blend-mode: normal;
}
.tree-frame-surface .tree-static-surface {
z-index: 1;
transition: opacity 360ms cubic-bezier(0.42, 0, 0.58, 1);
}
.tree-frame-surface > .tree-overview-surface {
transition: opacity 360ms cubic-bezier(0.42, 0, 0.58, 1);
}
.tree-frame-surface .tree-active-edge-surface {
z-index: 3;
display: block;
pointer-events: none;
visibility: visible;
}
.tree-frame-surface .tree-node-art-surface {
z-index: 3;
}
.tree-frame-surface .tree-dynamic-surface {
z-index: 5;
}
.tree-frame-surface .tree-android-scene-composite-surface {
z-index: 5;
display: none;
pointer-events: none;
}
.tree-selection-animation-canvas {
z-index: 5;
overflow: hidden;
pointer-events: none;
}
.tree-selection-animation-surface {
z-index: 0;
}
.tree-canvas-layer.tree-active-edge-canvas,
.tree-canvas-layer.tree-center-canvas,
.tree-canvas-layer.tree-center-stats-canvas,
.tree-canvas-layer.tree-node-canvas,
.tree-canvas-layer.tree-state-canvas,
.tree-canvas-layer.tree-state-label-canvas,
.tree-canvas-layer.tree-selection-canvas {
display: none !important;
}
.tree-node-surface,
.tree-state-surface {
left: 0;
top: 0;
}
.tree-edge-canvas,
.tree-active-edge-canvas,
.tree-center-canvas,
.tree-center-stats-canvas,
.tree-node-canvas,
.tree-state-canvas,
.tree-selection-canvas {
overflow: hidden;
}
.tree-edge-canvas { z-index: 0; }
.tree-active-edge-canvas { z-index: 1; }
.tree-center-canvas { z-index: 2; }
.tree-node-canvas { z-index: 3; }
.tree-state-label-canvas { z-index: 4.5; }
.tree-state-canvas { z-index: 4; }
.tree-center-stats-canvas { z-index: 5; }
.tree-selection-canvas { z-index: 5; }
.tree-semantic-layer { z-index: 6; }
body.is-zooming .tree-state-label-canvas,
body.is-navigating .tree-state-label-canvas {
visibility: hidden;
}
.tree-node-semantic,
.tree-center-stats-semantic {
position: absolute;
display: block;
margin: 0;
padding: 0;
border: 0;
background: transparent;
color: transparent;
cursor: pointer;
opacity: 0;
pointer-events: auto;
appearance: none;
-webkit-tap-highlight-color: transparent;
touch-action: none;
}
.tree-node-semantic {
border-radius: 50%;
clip-path: circle(50% at 50% 50%);
}
.tree-node-semantic:focus-visible,
.tree-center-stats-semantic:focus-visible {
opacity: 1;
outline: 3px solid rgba(255, 255, 255, 0.88);
outline-offset: 3px;
}
.tree-node-semantic.is-dimmed {
pointer-events: auto;
}
body.is-zooming .tree-node-semantic,
body.is-navigating .tree-node-semantic {
pointer-events: none;
}
.tree-center-stats-semantic {
border-radius: 32px;
z-index: 5;
}
.map-scene > svg {
display: block;
width: 4000px;
height: 3400px;
overflow: visible;
user-select: none;
shape-rendering: geometricPrecision;
text-rendering: geometricPrecision;
image-rendering: -webkit-optimize-contrast;
image-rendering: high-quality;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.map-scene text {
shape-rendering: geometricPrecision;
text-rendering: geometricPrecision;
font-smooth: always;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.map-scene image,
.map-scene use,
.map-scene foreignObject {
image-rendering: -webkit-optimize-contrast;
image-rendering: high-quality;
}
.disclaimer-widget {
position: absolute;
z-index: 35;
left: 16px;
bottom: 34px;
width: 38px;
height: 38px;
border-radius: 20px;
background: var(--black-a72);
border: 1px solid var(--white-a16);
box-shadow: 0 4px 16px var(--black-a40);
overflow: hidden;
display: block;
transform-origin: bottom left;
transition: width 340ms cubic-bezier(0.16, 1, 0.3, 1),
height 340ms cubic-bezier(0.16, 1, 0.3, 1),
border-radius 340ms cubic-bezier(0.16, 1, 0.3, 1),
background-color 240ms ease,
border-color 240ms ease,
box-shadow 240ms ease,
opacity 180ms ease;
will-change: width, height, border-radius;
}
.disclaimer-toggle-btn {
position: absolute;
top: 0;
left: 0;
width: 38px;
height: 38px;
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
background: none;
border: none;
cursor: pointer;
color: var(--white);
border-radius: 50%;
outline: none;
box-shadow: none;
-webkit-tap-highlight-color: transparent;
opacity: 1;
transition: opacity 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.disclaimer-question-icon {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 16px;
font-weight: 700;
line-height: 1;
color: var(--white);
opacity: 0.92;
transition: transform 180ms ease, opacity 140ms ease;
user-select: none;
}
.disclaimer-toggle-btn:hover .disclaimer-question-icon {
transform: scale(1.12);
opacity: 1;
}
.disclaimer-toggle-btn:active {
transform: scale(0.94);
}
.disclaimer-card {
position: absolute;
left: 0;
top: 0;
width: 396px;
height: auto;
opacity: 0;
pointer-events: none;
visibility: hidden;
transition: opacity 180ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
transform: translateY(6px);
}
.disclaimer-card-inner {
width: 100%;
box-sizing: border-box;
padding: 16px 18px;
display: flex;
flex-direction: column;
gap: 12px;
}
.disclaimer-widget.is-expanded {
width: min(396px, calc(100vw - 32px));
height: 345px;
border-radius: 20px;
background: var(--surface-widget);
border-color: var(--white-a22);
box-shadow: 0 16px 40px var(--black-a80), 0 0 1px 1px var(--white-a12);
z-index: 60;
}
.disclaimer-widget.is-expanded .disclaimer-toggle-btn {
opacity: 0;
pointer-events: none;
}
.disclaimer-widget.is-expanded .disclaimer-card {
opacity: 1;
pointer-events: auto;
visibility: visible;
transform: translateY(0);
transition-delay: 90ms;
}
.disclaimer-header {
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 10px;
border-bottom: 1px solid var(--white-a10);
min-height: 28px;
}
.disclaimer-title-wrap {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
width: 100%;
}
.disclaimer-badge {
display: inline-block;
padding: 2px 6px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.5px;
border-radius: var(--radius-sm);
background: #23456d;
color: var(--white);
border: 1px solid rgba(69, 145, 240, 0.4);
}
.disclaimer-title {
margin: 0;
font-size: 14px;
font-weight: 700;
color: var(--white);
letter-spacing: 0.2px;
text-align: center;
}
.disclaimer-close-btn {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 26px;
height: 26px;
display: inline-grid;
place-items: center;
padding: 0;
background: var(--white-a06);
border: 1px solid var(--white-a12);
border-radius: 6px;
color: var(--ink-secondary);
cursor: pointer;
transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}
.disclaimer-close-btn:hover {
background: var(--white-a16);
color: var(--white);
}
.disclaimer-close-btn:active {
transform: translateY(-50%) scale(0.96);
}
.disclaimer-body {
display: flex;
flex-direction: column;
gap: 10px;
}
.disclaimer-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.disclaimer-list li {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 12px;
line-height: 1.5;
color: rgba(255, 255, 255, 0.84);
}
.disclaimer-bullet {
color: #4591f0;
font-size: 10px;
margin-top: 2px;
flex-shrink: 0;
}
.disclaimer-item-text strong {
color: var(--white);
font-weight: 600;
}
.disclaimer-contact-box {
margin-top: 2px;
padding-top: 10px;
border-top: 1px dashed var(--white-a12);
display: flex;
flex-direction: column;
gap: 8px;
}
.disclaimer-takedown-notice {
margin: 0;
font-size: 11px;
line-height: 1.45;
color: rgba(255, 255, 255, 0.68);
font-style: italic;
}
.disclaimer-inline-link {
color: #7ab8ff;
text-decoration: underline;
text-underline-offset: 2px;
}
.disclaimer-contact-row {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 6px;
}
.disclaimer-contact-label {
font-size: 11px;
color: var(--white-a60);
}
.disclaimer-email-link {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
font-size: 11.5px;
font-weight: 500;
color: var(--white);
background: #23456d;
border: 1px solid rgba(69, 145, 240, 0.28);
border-radius: 6px;
text-decoration: none;
transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease;
}
.disclaimer-email-link:hover {
background: rgba(69, 145, 240, 0.22);
border-color: rgba(69, 145, 240, 0.5);
color: var(--white);
transform: translateY(-1px);
}
.disclaimer-email-link:active {
transform: scale(0.96);
}
.changelog-widget {
position: absolute;
z-index: 30;
left: 62px;
bottom: 34px;
width: 74px;
height: 38px;
border-radius: 20px;
background: var(--black-a72);
border: 1px solid var(--white-a14);
box-shadow: 0 4px 16px var(--black-a40);
overflow: hidden;
display: block;
cursor: pointer;
transform-origin: bottom left;
transition: width 320ms cubic-bezier(0.16, 1, 0.3, 1),
height 320ms cubic-bezier(0.16, 1, 0.3, 1),
border-radius 320ms cubic-bezier(0.16, 1, 0.3, 1),
background-color 200ms ease,
border-color 200ms ease,
box-shadow 240ms ease,
opacity 180ms ease;
will-change: width, height, border-radius;
}
.changelog-toggle-btn {
position: absolute;
top: 0;
left: 0;
width: 74px;
height: 38px;
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
background: none;
border: none;
cursor: pointer;
color: var(--white);
border-radius: 20px;
outline: none;
box-shadow: none;
-webkit-tap-highlight-color: transparent;
opacity: 1;
transition: opacity 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.changelog-toggle-btn:hover {
background: var(--black-a85);
}
.changelog-toggle-btn:active {
transform: scale(0.96);
}
.data-version-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 34px;
height: 34px;
padding: 0 6px;
background: transparent !important;
background-image: none !important;
border: none !important;
border-radius: 0 !important;
color: var(--white);
font-family: var(--font-numeric), sans-serif;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.02em;
user-select: none;
pointer-events: none;
}
.changelog-card {
position: absolute;
left: 0;
top: 0;
width: min(396px, calc(100vw - 32px));
height: 345px;
opacity: 0;
pointer-events: none;
visibility: hidden;
transition: opacity 180ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
transform: translateY(6px);
}
.changelog-card-inner {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 16px 18px;
display: flex;
flex-direction: column;
gap: 10px;
}
.changelog-widget.is-expanded {
width: min(396px, calc(100vw - 32px));
height: 345px;
border-radius: 20px;
background: var(--surface-widget);
border-color: var(--white-a22);
box-shadow: 0 16px 40px var(--black-a80), 0 0 1px 1px var(--white-a12);
z-index: 50;
}
.changelog-widget.is-expanded .changelog-toggle-btn {
opacity: 0;
pointer-events: none;
}
.changelog-widget.is-expanded .changelog-card {
opacity: 1;
pointer-events: auto;
visibility: visible;
transform: translateY(0);
transition-delay: 90ms;
}
#changelog-widget .changelog-body,
.changelog-card .changelog-body {
display: flex !important;
flex-direction: column !important;
width: 100% !important;
flex: 1 1 auto !important;
min-height: 0 !important;
box-sizing: border-box !important;
padding: 0 !important;
margin: 0 !important;
gap: 0 !important;
}
#changelog-widget .changelog-entries-container,
.changelog-card .changelog-entries-container {
width: 100% !important;
height: 100% !important;
flex: 1 1 auto !important;
min-height: 0 !important;
box-sizing: border-box !important;
overflow-y: auto !important;
display: flex !important;
flex-direction: column !important;
gap: 8px !important;
padding: 0 !important;
margin: 0 !important;
scrollbar-width: none !important;
-ms-overflow-style: none !important;
}
.changelog-entries-container::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}
.changelog-entry-item {
display: flex;
flex-direction: column;
gap: 6px;
padding: 10px 12px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 12px;
box-sizing: border-box;
}
.changelog-entry-head {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12.5px;
}
.changelog-entry-ver {
color: #f9da67;
font-weight: 800;
font-family: var(--font-numeric), sans-serif;
}
.changelog-entry-date {
color: var(--white-a50);
font-size: 11px;
}
.changelog-entry-bullets {
margin: 0;
padding-left: 16px;
font-size: 12px;
line-height: 1.5;
color: rgba(255, 255, 255, 0.88);
}
.changelog-entry-bullets li {
margin-bottom: 3px;
}
.locale-widget {
position: absolute;
z-index: 29;
left: 144px;
bottom: 34px;
width: 38px;
height: 38px;
border-radius: 20px;
background: var(--black-a72);
border: 1px solid var(--white-a16);
box-shadow: 0 4px 16px var(--black-a40);
overflow: hidden;
display: block;
transform-origin: bottom left;
transition: width 340ms cubic-bezier(0.16, 1, 0.3, 1),
height 340ms cubic-bezier(0.16, 1, 0.3, 1),
border-radius 340ms cubic-bezier(0.16, 1, 0.3, 1),
background-color 240ms ease,
border-color 240ms ease,
box-shadow 240ms ease,
opacity 180ms ease;
will-change: width, height, border-radius;
}
.locale-toggle-btn {
position: absolute;
inset: 0 auto auto 0;
width: 38px;
height: 38px;
padding: 0;
margin: 0;
display: grid;
place-items: center;
background: none;
border: 0;
color: var(--white);
border-radius: 50%;
cursor: pointer;
outline: none;
transition: opacity 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.locale-toggle-btn:hover .locale-globe-icon {
transform: scale(1.12);
}
.locale-globe-icon {
opacity: 0.92;
transition: transform 180ms ease, opacity 140ms ease;
}
.locale-card {
position: absolute;
left: 0;
top: 0;
width: 396px;
height: 210px;
opacity: 0;
pointer-events: none;
visibility: hidden;
transform: translateY(6px);
transition: opacity 180ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.locale-card-inner {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 16px 18px;
display: flex;
flex-direction: column;
gap: 14px;
}
.locale-widget.is-expanded {
width: min(396px, calc(100vw - 32px));
height: 210px;
border-radius: 20px;
background: var(--surface-widget);
border-color: var(--white-a22);
box-shadow: 0 16px 40px var(--black-a80), 0 0 1px 1px var(--white-a12);
z-index: 60;
}
.locale-widget.is-expanded .locale-toggle-btn {
opacity: 0;
pointer-events: none;
}
.locale-widget.is-expanded .locale-card {
opacity: 1;
pointer-events: auto;
visibility: visible;
transform: translateY(0);
transition-delay: 90ms;
}
.locale-body {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
min-inline-size: 0;
margin: 0;
padding: 0;
border: 0;
}
.locale-option {
min-height: 48px;
padding: 8px 12px;
border: 1px solid var(--white-a12);
border-radius: 10px;
background: var(--white-a05);
color: var(--ink-secondary);
font: inherit;
font-size: 13px;
cursor: pointer;
transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease;
}
.locale-option:hover,
.locale-option:focus-visible {
color: var(--white);
background: rgba(69, 145, 240, 0.16);
border-color: rgba(69, 145, 240, 0.55);
}
.locale-option.is-active {
color: var(--white);
background: rgba(69, 145, 240, 0.28);
border-color: rgba(69, 145, 240, 0.8);
box-shadow: inset 0 0 0 1px rgba(126, 206, 255, 0.16);
}
.statusbar {
position: absolute;
z-index: 14;
right: 16px;
bottom: 10px;
left: 16px;
display: flex;
justify-content: space-between;
gap: 16px;
color: var(--ink-muted);
font-size: 11px;
pointer-events: none;
}
.status-shortcuts {
display: inline-flex;
align-items: center;
gap: 4px;
}
.status-shortcuts kbd {
min-width: 16px;
height: 16px;
padding: 0 4px;
color: var(--ink-muted);
background: var(--white-a05);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xs);
font-family: var(--font-mono);
font-size: 9.5px;
}
.badge {
display: inline-flex;
align-items: center;
height: 20px;
padding: 0 7px;
border-radius: var(--radius-sm);
font-size: 10.5px;
font-weight: 700;
letter-spacing: 0.02em;
white-space: nowrap;
}
.branch-badge {
color: var(--node-faction-ink, #071203);
background: var(--node-faction, var(--faction-nature));
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.type-badge {
color: var(--ink-secondary);
background: var(--white-a06);
border: 1px solid var(--border-subtle);
}
.rank-badge {
color: var(--gold-currency);
background: rgba(245, 211, 88, 0.12);
border: 1px solid rgba(245, 211, 88, 0.28);
}
.node-tooltip {
position: fixed;
z-index: 70;
top: 0;
left: 0;
--tooltip-arrow-x: 50%;
width: min(440px, calc(100vw - 32px));
max-width: min(440px, calc(100vw - 32px));
max-height: min(720px, calc(100vh - 60px));
display: flex;
flex-direction: column;
gap: 8px;
overflow: visible;
min-height: 0;
color: var(--ink-primary);
background: transparent;
border: none;
border-radius: 0;
box-shadow: none;
backdrop-filter: none;
-webkit-backdrop-filter: none;
opacity: 0;
pointer-events: none;
transform-origin: var(--tooltip-arrow-x, 50%) 100%;
box-sizing: border-box;
}
.tooltip-main-panel {
position: relative;
display: flex;
flex-direction: column;
flex: 1 1 auto;
width: 100%;
min-height: 0;
box-sizing: border-box;
overflow: visible;
color: var(--ink-primary);
background: var(--surface-deep);
border: 3px solid var(--accent-violet);
border-radius: 16px;
box-shadow: 0 16px 36px var(--black-a65), 0 0 0 1px var(--white-a05);
}
.tooltip-cost-panel {
position: relative;
display: flex;
flex-direction: column;
flex: 0 0 auto;
width: 100%;
box-sizing: border-box;
overflow: visible;
color: var(--ink-primary);
background: var(--surface-deep);
border: 3px solid var(--accent-violet);
border-radius: 16px;
box-shadow: 0 16px 36px var(--black-a65), 0 0 0 1px var(--white-a05);
padding: 14px 20px;
}
.tooltip-cost-panel[hidden] {
display: none !important;
}
.tooltip-cost-panel .tooltip-meta-box {
padding-top: 0;
margin-top: 0;
border-top: none;
}
.node-tooltip.is-non-dice .tooltip-cost-panel .meta-line {
justify-content: center;
gap: 16px;
}
.node-tooltip::after {
content: "";
position: absolute;
top: 100%;
left: var(--tooltip-arrow-x, 50%);
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 11px solid transparent;
border-right: 11px solid transparent;
border-top: 10px solid var(--accent-violet);
pointer-events: none;
z-index: 1;
}
@keyframes tooltip-spring-enter {
0% {
opacity: 0.3;
transform: translateY(8px) scale(0.35, 0.75);
}
48% {
opacity: 1;
transform: translateY(-8px) scale(1.035, 1.015);
}
78% {
transform: translateY(-3px) scale(0.97, 0.995);
}
100% {
opacity: 1;
transform: translateY(0) scale(1, 1);
}
}
@keyframes tooltip-scale-exit {
0% {
opacity: 1;
transform: scale(1);
}
30% {
opacity: 0.95;
transform: scale(0.92);
}
100% {
opacity: 0;
transform: scale(0.28);
}
}
@keyframes modal-spring-enter {
0% {
opacity: 0.3;
transform: scale(0.8);
}
48% {
opacity: 1;
transform: scale(1.02);
}
78% {
opacity: 1;
transform: scale(0.99);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes modal-scale-exit {
0% {
opacity: 1;
transform: scale(1);
}
30% {
opacity: 0.95;
transform: scale(0.95);
}
100% {
opacity: 0;
transform: scale(0.75);
}
}
@keyframes popover-spring-enter {
0% {
opacity: 0.3;
transform: scale(0.82);
}
48% {
opacity: 1;
transform: scale(1.025);
}
78% {
opacity: 1;
transform: scale(0.99);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes popover-scale-exit {
0% {
opacity: 1;
transform: scale(1);
}
100% {
opacity: 0;
transform: scale(0.82);
}
}
.node-tooltip.is-active {
opacity: 1;
pointer-events: auto;
}
.node-tooltip.is-entering {
will-change: transform, opacity;
backface-visibility: hidden;
transform-origin: var(--tooltip-arrow-x, 50%) 100%;
animation: tooltip-spring-enter 340ms cubic-bezier(0.28, 0.58, 0.52, 1) forwards;
}
.node-tooltip.is-center-locked {
left: 50%;
top: 50%;
translate: -50% -50%;
}
.node-tooltip.is-center-locked.is-entering {
transform-origin: 50% 50%;
}
@keyframes tooltip-android-exit {
from {
opacity: 1;
transform: translateY(0);
}
to {
opacity: 0;
transform: translateY(4px);
}
}
html.is-android .node-tooltip {
isolation: isolate;
}
.node-tooltip.is-closing {
pointer-events: none;
will-change: transform, opacity;
backface-visibility: hidden;
transform-origin: var(--tooltip-arrow-x, 50%) 100%;
animation: tooltip-scale-exit 140ms cubic-bezier(0.4, 0, 0.9, 0.4) forwards;
}
html.is-android .node-tooltip.is-closing {
will-change: transform, opacity;
backface-visibility: hidden;
transform-origin: var(--tooltip-arrow-x, 50%) 100%;
animation: tooltip-android-exit 140ms cubic-bezier(0.4, 0, 0.9, 0.4) forwards;
}
.node-tooltip.is-placed-below::after {
top: auto;
bottom: 100%;
border-top: none;
border-bottom: 10px solid var(--accent-violet);
}
.node-tooltip.is-placed-below.is-entering {
transform-origin: var(--tooltip-arrow-x, 50%) 0%;
}
.node-tooltip.is-placed-below.is-closing {
transform-origin: var(--tooltip-arrow-x, 50%) 0%;
}
.tooltip-balance {
position: absolute;
top: 8px;
right: 12px;
display: flex;
gap: 8px;
font-size: 14px;
font-weight: 700;
z-index: 2;
}
#tooltip .tooltip-balance[hidden] { display: none !important; }
.tooltip-balance.is-balance-row:not([hidden]) {
position: static;
align-self: stretch;
align-items: center;
justify-content: flex-end;
box-sizing: border-box;
min-height: 18px;
margin-inline: 20px;
overflow: visible;
z-index: 2;
}
.balance-marker.is-buff { color: var(--positive); }
.balance-marker.is-nerf { color: var(--danger); }
.stat-history-info {
background: transparent;
color: #e2d9ed;
border: 1px solid currentColor;
border-radius: 50%;
width: 17px;
height: 17px;
padding: 0;
margin-left: 3px;
font-size: 11px;
line-height: 15px;
font-family: inherit;
font-weight: 600;
cursor: pointer;
position: relative;
top: -5px;
flex: 0 0 auto;
}
#tooltip-balance .stat-history-info { top: 0; margin-left: 0; }
.stat-history-info::before { content: ''; position: absolute; inset: -7px; }
.stat-history-info:focus-visible { outline: 2px solid var(--accent-violet-bright); outline-offset: 3px; }
.stat-history-popover {
position: fixed;
z-index: 2600;
width: min(360px, calc(100vw - 24px));
box-sizing: border-box;
max-height: min(65vh, 480px);
overflow-y: auto;
overscroll-behavior: contain;
padding: 16px;
background: #181224;
border: 1px solid var(--white-a22);
border-radius: var(--radius-panel);
box-shadow: 0 10px 28px var(--black-a60);
color: var(--white);
font-size: 14px;
}
.stat-history-popover.is-entering {
transform-origin: center top;
will-change: transform, opacity;
backface-visibility: hidden;
animation: tooltip-spring-enter 260ms cubic-bezier(0.18, 0.9, 0.3, 1) forwards;
}
.stat-history-popover.is-above.is-entering { transform-origin: center bottom; }
.stat-history-popover.is-closing {
pointer-events: none;
will-change: transform, opacity;
backface-visibility: hidden;
transform-origin: center top;
animation: tooltip-scale-exit 140ms cubic-bezier(0.4, 0, 0.9, 0.4) forwards;
}
.stat-history-popover.is-above.is-closing { transform-origin: center bottom; }
html.is-android .stat-history-popover.is-closing {
animation: tooltip-android-exit 140ms cubic-bezier(0.4, 0, 0.9, 0.4) forwards;
}
.stat-history-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 7px 0; }
.stat-history-row > span { min-width: 0; color: #e2d9ed; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.stat-history-row > strong { display: flex; justify-content: flex-end; gap: 0; min-width: 0; width: 100%; color: var(--white); font-size: 14px; text-align: right; line-height: 1.45; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-history-value-before { color: #d4cce0; font-weight: 500; }
.stat-history-values.is-up .stat-history-value-arrow,
.stat-history-values.is-up .stat-history-value-current { color: var(--positive); }
.stat-history-values.is-down .stat-history-value-arrow,
.stat-history-values.is-down .stat-history-value-current { color: var(--danger); }
.stat-history-values.is-neutral .stat-history-value-arrow,
.stat-history-values.is-neutral .stat-history-value-current { color: var(--white); }
.stat-history-value-arrow { padding-inline: 0.35em; }
.stat-history-value-current { font-weight: 800; }
.stat-history-version + .stat-history-version { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--white-a22); }
.stat-history-version-title { display: block; margin-bottom: 5px; color: var(--white); font-size: 14px; font-weight: 700; }
.tooltip-header {
position: relative;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
flex: 0 0 auto;
padding: 16px 20px 10px;
border-bottom: 1px solid rgba(151, 137, 174, 0.2);
}
.tooltip-heading {
min-width: 0;
flex: 1;
padding-right: 8px;
}
.tooltip-title {
margin: 0 0 6px;
color: var(--white);
font-size: 22px;
font-weight: 800;
line-height: 1.25;
letter-spacing: -0.01em;
}
.tooltip-badges {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.node-tooltip.is-non-dice .tooltip-header {
justify-content: center;
}
.node-tooltip.is-non-dice .tooltip-heading {
padding-right: 0;
text-align: center;
}
.node-tooltip.is-non-dice .tooltip-title {
text-align: center;
}
.node-tooltip.is-non-dice .tooltip-badges {
justify-content: center;
}
.tooltip-badges .badge {
font-size: 13.5px;
font-weight: 800;
padding: 3px 10px;
border-radius: 6px;
}
.tooltip-badges .branch-badge {
background: var(--node-faction, #a83af0);
color: var(--white);
border: none;
}
.tooltip-badges .rank-badge {
background: #5a4e52 !important;
color: var(--white) !important;
font-weight: 800 !important;
border: none !important;
border-radius: 6px;
font-family: var(--font-numeric);
letter-spacing: -0.01em;
}
@keyframes detailCopyPopSmooth {
0% {
transform: scale(1);
}
30% {
transform: scale(1.12);
}
100% {
transform: scale(1);
}
}
@keyframes badgePopSmooth {
0% {
transform: scale(1);
}
30% {
transform: scale(1.36);
}
100% {
transform: scale(1);
}
}
.rank-badge.is-popping,
#tooltip-rank-badge.is-popping {
display: inline-flex !important;
animation: badgePopSmooth 0.38s cubic-bezier(0.2, 0.9, 0.3, 1) both;
transform-origin: center center;
}
.detail-copy.is-popping {
display: block;
animation: detailCopyPopSmooth 0.38s cubic-bezier(0.2, 0.9, 0.3, 1) both;
transform-origin: center center;
will-change: transform;
}
.tooltip-dice-visual {
position: relative;
width: 80px;
height: 44px;
flex: 0 0 80px;
pointer-events: none;
}
.tooltip-dice-img {
position: absolute;
right: -8px;
top: -19px;
width: 108px;
height: 108px;
transform: translateY(-33.33%);
object-fit: contain;
filter: drop-shadow(0 6px 14px var(--black-a50));
user-select: none;
-webkit-user-drag: none;
pointer-events: none;
transition: opacity 120ms ease;
}
.tooltip-dice-img[hidden] {
display: none !important;
}
.tooltip-body {
flex: 1 1 auto;
min-height: 0;
padding: 16px 20px 20px;
overflow-y: auto;
overflow-x: hidden;
scrollbar-width: thin;
scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
display: flex;
flex-direction: column;
gap: 14px;
}
.detail-section {
display: flex;
flex-direction: column;
gap: 6px;
}
.section-label {
color: var(--ink-violet-muted);
font-size: 13.5px;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.detail-copy {
margin: 0;
color: var(--ink-violet-muted);
font-size: 16.5px;
font-weight: 700;
line-height: 1.55;
overflow-wrap: break-word;
}
.node-tooltip.is-non-dice .detail-copy {
text-align: center;
}
.node-tooltip.is-dice-node .detail-copy {
text-align: left;
}
.tooltip-tag-inline {
color: var(--white);
text-decoration: underline;
text-underline-offset: 3px;
text-decoration-thickness: 1.5px;
font-weight: 800;
cursor: pointer;
transition: color 120ms ease;
}
.tooltip-tag-inline:hover {
color: var(--accent-gold-bright);
}
.stat-green-add {
color: #4cd964;
font-weight: 800;
font-family: var(--font-numeric);
letter-spacing: -0.01em;
}
.tooltip-hashtag-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-top: 10px;
}
.node-tooltip.is-non-dice .tooltip-hashtag-row {
justify-content: center;
}
.node-tooltip.is-dice-node .tooltip-hashtag-row {
justify-content: flex-start;
}
.tooltip-hashtag-chip {
background: #ea7a28;
color: var(--white);
font-size: 13px;
font-weight: 800;
border: none;
border-radius: 6px;
padding: 4px 10px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 4px;
box-shadow: 0 2px 6px rgba(234, 122, 40, 0.35);
transition: transform 120ms ease, filter 120ms ease;
}
.tooltip-hashtag-chip:hover {
transform: scale(1.05);
filter: brightness(1.1);
}
.tooltip-hashtag-chip:active {
transform: scale(0.96);
}
.tooltip-divider {
border: none;
border-top: 1.5px solid rgba(151, 137, 174, 0.25);
margin: 12px 0 10px;
}
.tooltip-divider-wrap {
position: relative;
width: 100%;
height: 1.5px;
flex: 0 0 1.5px;
margin: 12px 0 10px;
}
.tooltip-divider-wrap .tooltip-divider { margin: 0; }
.dice-stat-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px 12px;
width: 100%;
box-sizing: border-box;
}
.dice-stat-item {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
overflow: hidden;
}
.dice-stat-icon-box {
width: 38px;
height: 38px;
flex: 0 0 38px;
background: #362c4b;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: inset 0 1px 3px var(--black-a40);
}
.dice-stat-icon-box img {
width: 24px;
height: 24px;
object-fit: contain;
filter: drop-shadow(0 1px 2px var(--black-a50));
}
.dice-stat-text {
display: flex;
flex-direction: column;
min-width: 0;
justify-content: center;
overflow: hidden;
}
.dice-stat-label {
font-size: 12px;
font-weight: 600;
color: var(--ink-violet-muted);
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.dice-stat-val-wrap {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 1px;
min-width: 0;
}
.dice-stat-val {
font-size: 20px;
font-weight: 800;
color: var(--white);
line-height: 1.2;
font-family: var(--font-numeric);
letter-spacing: -0.01em;
font-variant-numeric: tabular-nums proportional-nums;
display: inline-flex;
align-items: baseline;
flex-wrap: nowrap;
white-space: nowrap;
gap: 3px;
min-width: 0;
}
.stat-base-val {
color: var(--white);
white-space: nowrap;
}
.stat-label-with-rank {
display: inline-flex;
align-items: center;
gap: 4px;
min-width: 0;
white-space: nowrap;
position: relative;
}
.stat-label-with-rank .dice-stat-label {
font-size: 11.5px;
letter-spacing: -0.02em;
flex-shrink: 0;
}
.sp-rank-badge-btn {
display: inline-flex;
align-items: center;
justify-content: center;
height: 16px;
padding: 0 4px;
font-size: 10px;
font-weight: 800;
line-height: 1;
border-radius: 4px;
background: #3e2e5e;
border: 1px solid var(--white-a22);
color: var(--white);
cursor: pointer;
outline: none;
white-space: nowrap;
font-family: var(--font-numeric);
flex-shrink: 0;
transition: background-color 120ms ease, border-color 120ms ease, transform 80ms ease;
}
.compendium-card.is-normal-monster .dice-stat-icon-box,
.compendium-card.is-boss-card .dice-stat-icon-box {
width: 32px;
height: 32px;
flex: 0 0 32px;
border-radius: 7px;
}
.compendium-card.is-normal-monster .dice-stat-icon-box img,
.compendium-card.is-boss-card .dice-stat-icon-box img {
width: 20px;
height: 20px;
}
.compendium-card.is-normal-monster .dice-stat-item,
.compendium-card.is-boss-card .dice-stat-item {
gap: 6px;
min-width: 0;
}
.compendium-card.is-normal-monster .dice-stat-item.is-rankable-stat,
.compendium-card.is-boss-card .dice-stat-item.is-rankable-stat,
.dice-stat-item.is-rankable-stat,
.dice-stat-item.is-rankable-stat .dice-stat-text,
.dice-stat-item.is-rankable-stat .stat-label-with-rank {
overflow: visible !important;
position: relative;
z-index: 5;
}
.dice-stat-item.is-rankable-stat:has(.rune-slider-popover:not([hidden])) {
z-index: 100;
}
.compendium-card:has(.rune-slider-popover:not([hidden])) {
z-index: 100 !important;
}
.sp-rank-badge-btn:hover {
background: var(--accent-violet);
border-color: var(--accent-violet-bright);
transform: scale(1.06);
}
.dice-stat-item.is-rankable-stat .rune-slider-popover {
bottom: calc(100% + 8px);
z-index: 120;
}
.dice-stat-item:nth-child(odd) .rune-slider-popover {
left: 0;
right: auto;
}
.dice-stat-item:nth-child(even) .rune-slider-popover {
right: 0;
left: auto;
}
.stat-bonus-val {
font-size: 18px;
font-weight: 800;
font-family: var(--font-numeric);
letter-spacing: -0.01em;
font-variant-numeric: proportional-nums;
display: inline-block;
white-space: nowrap;
transition: opacity 180ms ease, transform 180ms ease;
will-change: transform;
}
.stat-bonus-val:not([hidden]) {
animation: bonus-pop-fade 220ms cubic-bezier(0.18, 0.9, 0.3, 1.15) forwards;
}
@keyframes bonus-pop-fade {
0% {
opacity: 0.2;
transform: scale(0.82) translateY(2px);
}
100% {
opacity: 1;
transform: scale(1) translateY(0);
}
}
.stat-bonus-val.is-gold {
color: var(--accent-gold-bright);
}
.stat-bonus-val.is-purple {
color: #a875ff;
}
.stat-bonus-combined {
appearance: none;
border: 0;
margin: 0;
padding: 0;
background: transparent;
color: transparent;
background-image: linear-gradient(100deg, var(--accent-gold-bright) 0%, #f3d56c 42%, var(--accent-violet-bright) 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
cursor: pointer;
font-family: var(--font-numeric);
font-size: 18px;
font-weight: 800;
font-variant-numeric: proportional-nums;
letter-spacing: -0.01em;
line-height: inherit;
text-decoration: underline dotted rgba(168, 117, 255, 0.82);
text-underline-offset: 3px;
}
.stat-bonus-combined:hover {
filter: brightness(1.12);
}
.stat-bonus-combined:focus-visible {
border-radius: 4px;
outline: 2px solid #f3d56c;
outline-offset: 3px;
}
.dice-upgrade-action-bar {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-top: auto;
padding-top: 12px;
width: 100%;
}
.dice-upgrade-btn {
display: flex;
align-items: center;
justify-content: center;
height: 42px;
background: rgba(43, 33, 66, 0.9);
border: 1.5px solid rgba(138, 106, 214, 0.45);
border-radius: var(--radius-sm);
color: var(--white);
font-size: 15px;
font-weight: 800;
cursor: pointer;
box-shadow: 0 3px 8px var(--black-a40);
transition: all 140ms ease;
user-select: none;
}
.dice-upgrade-btn:hover {
background: rgba(65, 48, 102, 0.95);
border-color: rgba(186, 126, 255, 0.7);
transform: translateY(-1px);
}
.dice-upgrade-btn:active {
transform: scale(0.97);
}
.dice-upgrade-btn.is-active {
background: #6c42db;
border-color: #ba7eff;
box-shadow: 0 0 14px rgba(168, 109, 245, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
color: var(--white);
}
.tag-popover {
position: fixed;
z-index: 2500;
background: #181224;
border: 2px solid #ea7a28;
border-radius: var(--radius-panel);
padding: 12px 14px;
max-width: 280px;
max-height: min(78vh, 520px);
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
scrollbar-color: var(--white-a22) transparent;
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--white-a10);
color: var(--white);
will-change: transform, opacity;
backface-visibility: hidden;
animation: popover-spring-enter 200ms cubic-bezier(0.18, 0.9, 0.3, 1) forwards;
}
.tag-popover-header {
margin-bottom: 6px;
}
.tag-popover-badge {
background: #ea7a28;
color: var(--white);
font-size: 12px;
font-weight: 800;
border-radius: var(--radius-sm);
padding: 2px 7px;
display: inline-block;
}
.tag-popover-desc {
font-size: 13.5px;
font-weight: 600;
color: #d8d0ea;
line-height: 1.45;
margin: 0;
}
.stat-bonus-popover {
min-width: 188px;
max-width: 240px;
border-color: var(--accent-violet-bright);
}
.stat-bonus-popover-details {
display: grid;
gap: 2px;
}
.stat-bonus-detail-row {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 18px;
padding: 5px 0;
border-bottom: 1px solid var(--white-a10);
}
.stat-bonus-detail-row:last-child {
border-bottom: 0;
padding-bottom: 0;
}
.stat-bonus-detail-label {
color: #aaa0c3;
font-size: 12.5px;
font-weight: 700;
white-space: nowrap;
}
.stat-bonus-detail-value {
font-family: var(--font-numeric);
font-size: 15.5px;
font-weight: 800;
white-space: nowrap;
}
.stat-bonus-detail-value.is-gold {
color: var(--accent-gold-bright);
}
.stat-bonus-detail-value.is-purple {
color: var(--accent-violet-bright);
}
.stat-compact-list {
display: flex;
flex-wrap: wrap;
gap: 6px 12px;
margin: 0;
padding: 0;
list-style: none;
font-size: 15px;
}
.stat-compact-item {
display: inline-flex;
align-items: center;
gap: 6px;
color: #e4e7f0;
font-weight: 600;
}
.stat-compact-item .stat-label {
color: var(--ink-violet-muted);
font-size: 13.5px;
font-weight: 700;
}
.stat-compact-item .stat-value {
color: var(--white);
font-weight: 800;
font-family: var(--font-mono);
}
.tooltip-meta-box {
padding-top: 10px;
margin-top: 4px;
border-top: 1px solid var(--divider);
display: flex;
flex-direction: column;
gap: 8px;
font-size: 16px;
font-weight: 600;
}
.meta-line {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
color: var(--ink-secondary);
font-size: 16px;
font-weight: 600;
}
.meta-cost {
color: var(--white);
font-family: var(--font-mono);
font-size: 17px;
font-weight: 800;
display: inline-flex;
align-items: center;
gap: 4px;
}
.currency-icon-svg {
display: inline-block;
width: 22px;
height: 22px;
vertical-align: -3px;
margin-inline-end: 2px;
flex-shrink: 0;
overflow: visible;
filter: drop-shadow(0 1.5px 2px rgba(0, 0, 0, 0.45));
object-fit: contain;
}
.node-link-pill {
display: inline-flex;
align-items: center;
gap: 3px;
padding: 3px 10px;
color: var(--white);
cursor: pointer;
background: var(--white-a08);
border: 1px solid var(--border-medium);
border-radius: var(--radius-sm);
font-size: 15px;
font-weight: 700;
transition-property: background-color, color, border-color, transform;
transition-duration: 100ms;
}
.node-link-pill:hover {
color: var(--white);
background: var(--white-a16);
border-color: var(--white);
}
.rank-slider-wrap {
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px 14px;
background: rgba(38, 30, 58, 0.75);
border: 1px solid rgba(138, 106, 214, 0.35);
border-radius: var(--radius-card);
box-shadow: inset 0 1px 0 var(--white-a08), 0 4px 12px rgba(0, 0, 0, 0.3);
margin-top: 4px;
}
.slider-header {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 13px;
font-weight: 700;
color: var(--ink-secondary);
}
.slider-title {
color: var(--ink-violet-muted);
font-size: 12.5px;
}
.slider-rank-display {
color: #f7f4ff;
font-family: var(--font-numeric);
font-size: 13px;
letter-spacing: -0.01em;
}
.slider-rank-current {
font-family: var(--font-numeric);
color: #ffefae;
font-size: 15px;
font-weight: 800;
display: inline-block;
}
.slider-track-container {
position: relative;
width: 100%;
display: flex;
align-items: center;
height: 28px;
}
.rank-slider-input {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 8px;
background: linear-gradient(to right, #8c5af2 0%, #ba7eff var(--slider-pct, 0%), rgba(20, 15, 32, 0.88) var(--slider-pct, 0%), rgba(20, 15, 32, 0.88) 100%);
border-radius: 9999px;
border: 1px solid rgba(186, 126, 255, 0.3);
box-shadow: inset 0 1px 2px var(--black-a60);
outline: none;
cursor: pointer;
touch-action: none;
margin: 0;
padding: 0;
transition: background 60ms linear;
}
.rank-slider-input::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 18px;
height: 12px;
border-radius: 9999px;
background: #fdfcff;
border: 2px solid #7545de;
box-shadow: 0 2px 6px var(--black-a50), 0 0 8px rgba(186, 126, 255, 0.5);
cursor: grab;
transition: box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.rank-slider-input:hover::-webkit-slider-thumb {
background: var(--white);
border-color: #8c5af2;
box-shadow: 0 0 12px rgba(203, 145, 255, 0.8), 0 2px 8px var(--black-a60);
}
.rank-slider-input:active::-webkit-slider-thumb,
.rank-slider-input.is-dragging::-webkit-slider-thumb {
cursor: grabbing;
background: var(--white);
border-color: #ab6cf7;
box-shadow: 0 0 18px rgba(203, 145, 255, 0.95), 0 0 32px rgba(171, 108, 247, 0.6), 0 4px 12px var(--black-a70);
transition: box-shadow 160ms ease, background-color 160ms ease;
}
.rank-slider-input::-moz-range-thumb {
width: 18px;
height: 12px;
border-radius: 9999px;
background: #fdfcff;
border: 2px solid #7545de;
box-shadow: 0 2px 6px var(--black-a50), 0 0 8px rgba(186, 126, 255, 0.5);
cursor: grab;
transition: box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.rank-slider-input:hover::-moz-range-thumb {
background: var(--white);
border-color: #8c5af2;
box-shadow: 0 0 12px rgba(203, 145, 255, 0.8), 0 2px 8px var(--black-a60);
}
.rank-slider-input:active::-moz-range-thumb,
.rank-slider-input.is-dragging::-moz-range-thumb {
cursor: grabbing;
background: var(--white);
border-color: #ab6cf7;
box-shadow: 0 0 18px rgba(203, 145, 255, 0.95), 0 0 32px rgba(171, 108, 247, 0.6), 0 4px 12px var(--black-a70);
transition: box-shadow 160ms ease, background-color 160ms ease;
}
.rank-slider-input::-moz-range-track {
height: 8px;
background: transparent;
border: none;
}
.slider-cost-row {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12.5px;
font-weight: 700;
}
.slider-cost-label {
color: var(--ink-violet-muted);
}
.slider-cost-value {
color: #f7f4ff;
font-family: var(--font-numeric);
font-weight: 750;
letter-spacing: -0.01em;
font-variant-numeric: proportional-nums;
display: inline-flex;
align-items: center;
gap: 4px;
}
.empty-state {
position: absolute;
z-index: 12;
top: 50%;
left: 50%;
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
color: var(--ink-secondary);
background: var(--surface-solid);
border: 1px solid var(--border-medium);
border-radius: var(--radius-base);
box-shadow: var(--elevation-modal);
transform: translate(-50%, -50%);
font-size: 13px;
}
[hidden] {
display: none !important;
}
@media (max-width: 768px) {
.subtitle {
display: none;
}
h1#page-title {
font-size: 16px;
}
.app-shell > .topbar {
position: fixed;
top: max(8px, env(safe-area-inset-top));
left: 12px;
right: max(60px, calc(env(safe-area-inset-right) + 60px));
width: auto;
padding: 0;
display: flex;
gap: 4px;
justify-content: space-between;
align-items: center;
pointer-events: none;
z-index: 50;
}
.brand-block {
margin-left: 0;
margin-right: auto;
pointer-events: auto;
}
.search-block {
position: fixed;
top: max(54px, calc(env(safe-area-inset-top) + 46px));
right: max(12px, env(safe-area-inset-right));
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 8px;
width: auto;
pointer-events: none;
z-index: 500;
}
.search-widget {
flex: 0 0 42px;
width: 42px;
max-width: 42px;
height: 42px;
min-width: 42px;
transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1),
max-width 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.search-widget.is-expanded {
width: min(320px, calc(100vw - 24px));
max-width: calc(100vw - 24px);
z-index: 60;
}
.search-field {
width: 100%;
height: 42px;
padding: 0 13px;
cursor: pointer;
background: var(--white);
border: none;
border-radius: 9999px;
box-shadow: 0 4px 16px var(--black-a40);
transition-property: width, max-width, border-color, box-shadow, background-color;
transition-duration: 280ms, 280ms, 120ms, 120ms, 120ms;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.search-widget:not(.is-expanded) .search-field {
width: 42px;
padding: 0;
justify-content: center;
}
.search-field.is-expanded {
width: 100%;
max-width: none;
padding: 0 14px;
cursor: text;
background: var(--white);
border: none;
border-radius: 9999px;
box-shadow: 0 6px 20px var(--black-a50);
}
.search-field .search-icon-svg {
width: 16px;
height: 16px;
margin-left: 0;
color: #111111;
stroke: #111111;
stroke-width: 2.2;
flex-shrink: 0;
}
#search-input {
min-width: 0;
width: 0;
padding: 0;
opacity: 0;
pointer-events: none;
transition: opacity 160ms ease;
}
.search-field.is-expanded #search-input {
width: 100%;
padding: 0 8px;
opacity: 1;
pointer-events: auto;
color: #111111;
font-size: 13.5px;
}
.search-widget.has-search-results .search-results {
left: auto;
width: calc(100vw - 24px);
max-width: calc(100vw - 24px);
max-height: min(360px, calc(100vh - 120px));
}
.statusbar {
display: none;
}
.node-tooltip {
width: min(330px, calc(100vw - 32px));
max-width: min(330px, calc(100vw - 32px));
max-height: min(560px, calc(100dvh - 64px));
border-width: 2.5px;
border-radius: 16px;
}
.tooltip-header {
padding: 10px 12px 8px;
}
.tooltip-title {
font-size: 18px;
margin-bottom: 4px;
}
.tooltip-badges .badge {
font-size: 11.5px;
padding: 1.5px 6px;
height: 18px;
}
.tooltip-dice-visual {
width: 64px;
height: 36px;
flex: 0 0 64px;
}
.tooltip-dice-img {
width: 86px;
height: 86px;
right: -4px;
top: -12px;
}
.tooltip-body {
padding: 10px 12px 12px;
gap: 10px;
max-height: calc(min(560px, calc(100dvh - 64px)) - 56px);
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
}
.section-label {
font-size: 11.5px;
}
.detail-copy {
font-size: 15px;
line-height: 1.35;
}
.stat-grid {
gap: 5px;
}
.dice-stat-grid {
gap: 8px 8px;
}
.dice-stat-icon-box {
width: 32px;
height: 32px;
flex: 0 0 32px;
border-radius: 6px;
}
.dice-stat-icon-box img {
width: 20px;
height: 20px;
}
#tooltip.node-tooltip {
width: min(320px, calc(100vw - 36px));
max-width: min(320px, calc(100vw - 36px));
max-height: min(560px, calc(100dvh - 64px));
}
#tooltip .tooltip-main-panel,
#tooltip .tooltip-cost-panel {
border-width: 2px;
border-radius: 14px;
}
#tooltip .tooltip-header {
padding: 9px 11px 7px;
gap: 10px;
}
#tooltip .tooltip-title {
font-size: 16px;
margin-bottom: 3px;
}
#tooltip .tooltip-badges {
gap: 6px;
}
#tooltip .tooltip-badges .badge {
height: 17px;
padding: 1px 5px;
font-size: 11px;
}
#tooltip .tooltip-dice-visual {
width: 56px;
height: 32px;
flex-basis: 56px;
}
#tooltip .tooltip-dice-img {
width: 74px;
height: 74px;
right: -3px;
top: -11px;
}
#tooltip .tooltip-body {
flex: 1 1 auto;
min-height: 0;
padding: 8px 10px 10px;
gap: 8px;
max-height: none;
}
#tooltip .detail-section {
gap: 5px;
}
#tooltip .section-label {
font-size: 11px;
}
#tooltip .detail-copy {
font-size: 13px;
line-height: 1.35;
}
#tooltip .tooltip-hashtag-row {
gap: 6px;
margin-top: 8px;
}
#tooltip .tooltip-hashtag-chip {
padding: 3px 8px;
font-size: 11.5px;
}
#tooltip .tooltip-divider-wrap { margin: 9px 0 8px; }
#tooltip .tooltip-balance.is-balance-row:not([hidden]) { margin-inline: 10px; }
#tooltip .dice-stat-grid {
gap: 7px;
}
#tooltip .dice-stat-item {
gap: 6px;
}
#tooltip .dice-stat-icon-box {
width: 28px;
height: 28px;
flex-basis: 28px;
}
#tooltip .dice-stat-icon-box img {
width: 17px;
height: 17px;
}
#tooltip .dice-stat-label {
font-size: 11px;
}
#tooltip .dice-stat-val {
gap: 2px;
font-size: 17px;
}
#tooltip .stat-compact-list {
gap: 5px 10px;
font-size: 14px;
}
#tooltip .stat-compact-item {
gap: 5px;
}
#tooltip .stat-compact-item .stat-label {
font-size: 12px;
}
#tooltip .tooltip-meta-box {
gap: 7px;
margin-top: 3px;
padding-top: 8px;
font-size: 13px;
}
#tooltip .meta-line {
gap: 8px;
font-size: 13px;
}
#tooltip .meta-cost {
font-size: 14px;
}
#tooltip .currency-icon-svg {
width: 20px;
height: 20px;
}
#tooltip .rank-slider-wrap {
gap: 7px;
padding: 8px 11px;
}
#tooltip .slider-header {
font-size: 12px;
}
#tooltip .slider-title {
font-size: 11.5px;
}
#tooltip .slider-rank-display {
font-size: 12px;
}
#tooltip .slider-track-container {
height: 25px;
}
#tooltip .slider-cost-row {
font-size: 11.5px;
}
}
#simulation-toggle-btn {
transition: background-color 480ms cubic-bezier(0.16, 1, 0.3, 1),
border-color 480ms cubic-bezier(0.16, 1, 0.3, 1),
box-shadow 480ms cubic-bezier(0.16, 1, 0.3, 1),
transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
#simulation-toggle-btn .hud-checkbox-box {
position: relative;
transition: border-color 400ms cubic-bezier(0.16, 1, 0.3, 1),
background-color 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
#simulation-toggle-btn .hud-check-icon {
transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
transform-origin: center;
}
#simulation-toggle-btn .hud-checkbox-box::after {
content: "✕";
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
font-size: 20px;
font-weight: 900;
line-height: 1;
text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
opacity: 0;
transform: scale(0.6) rotate(-20deg);
transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
pointer-events: none;
}
#simulation-toggle-btn .hud-feature-label {
transition: color 450ms cubic-bezier(0.16, 1, 0.3, 1);
}
body.simulation-mode:not(.simulation-mode-checking) #simulation-toggle-btn {
background: #991b1b !important;
border-color: #ef4444 !important;
box-shadow: 0 0 16px rgba(239, 68, 68, 0.45) !important;
}
body.simulation-mode:not(.simulation-mode-checking) #simulation-toggle-btn .hud-checkbox-box {
border-color: transparent !important;
background: transparent !important;
}
body.simulation-mode:not(.simulation-mode-checking) #simulation-toggle-btn .hud-check-icon {
opacity: 0 !important;
transform: scale(0.6) rotate(15deg) !important;
}
body.simulation-mode:not(.simulation-mode-checking) #simulation-toggle-btn .hud-checkbox-box::after {
opacity: 1 !important;
transform: scale(1) rotate(0deg) !important;
}
body.simulation-mode:not(.simulation-mode-checking) #simulation-toggle-btn .hud-feature-label {
color: #fecaca !important;
}
.hud-toggle-group:has(.simulation-exit-widget.is-expanded) {
z-index: 80;
}
.simulation-exit-widget {
position: relative;
width: 62px;
height: 60px;
flex: 0 0 auto;
transform-origin: bottom right;
transition: width 320ms cubic-bezier(0.16, 1, 0.3, 1),
height 320ms cubic-bezier(0.16, 1, 0.3, 1);
will-change: width, height;
}
.simulation-exit-widget > .hud-feature-btn {
width: 100%;
height: 100%;
}
.simulation-exit-card {
position: absolute;
right: 0;
bottom: 0;
display: block;
width: 100%;
height: 100%;
overflow: hidden;
background: rgba(14, 11, 24, 0.96);
border: 1px solid var(--white-a22);
border-radius: 20px;
box-shadow: 0 20px 48px var(--black-a85), 0 0 1px 1px var(--white-a12);
color: var(--white);
opacity: 0;
pointer-events: none;
visibility: hidden;
transform: translateY(8px) scale(0.96);
transform-origin: bottom right;
transition: opacity 180ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1), visibility 180ms ease;
}
.simulation-exit-card-inner {
display: flex;
flex-direction: column;
gap: 12px;
width: 100%;
height: 100%;
padding: 16px;
}
.simulation-exit-card-header {
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 8px;
border-bottom: 1px solid var(--white-a08);
min-height: 28px;
}
.simulation-exit-card-title-wrap {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
width: 100%;
}
.simulation-exit-card-badge {
flex-shrink: 0;
padding: 2px 7px;
border: 1px solid var(--faction-engineering-border);
border-radius: 999px;
background: var(--faction-engineering-surface);
color: var(--gold-currency);
font-size: 10px;
font-weight: 850;
letter-spacing: 0.04em;
}
.simulation-exit-card-title {
margin: 0;
color: var(--white);
font-size: 15px;
font-weight: 850;
text-align: center;
}
.simulation-exit-close-btn {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 26px;
height: 26px;
border: 1px solid var(--white-a10);
border-radius: 8px;
background: var(--white-a06);
color: var(--ink-violet-muted);
cursor: pointer;
transition: background-color 140ms ease, color 140ms ease, transform 120ms ease;
}
.simulation-exit-close-btn:hover {
background: var(--white-a15);
color: var(--white);
}
.simulation-exit-close-btn:active {
transform: translateY(-50%) scale(0.96);
}
.simulation-exit-description {
margin: 0;
color: var(--ink-violet-muted);
font-size: 13px;
font-weight: 650;
line-height: 1.5;
}
.simulation-exit-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
margin-top: auto;
}
.simulation-exit-action-btn {
min-width: 0;
min-height: 38px;
padding: 0 10px;
border-radius: 10px;
color: var(--white);
cursor: pointer;
font-size: 13px;
font-weight: 800;
line-height: 1.2;
transition: background-color 140ms ease, border-color 140ms ease, transform 120ms ease, box-shadow 140ms ease;
white-space: nowrap;
}
.simulation-exit-action-btn:active {
transform: scale(0.97);
}
.simulation-exit-action-btn.is-quick {
background: var(--gold-currency);
border: 1px solid var(--action-gold-border);
color: var(--action-outline);
box-shadow: 0 4px 14px rgba(245, 211, 88, 0.28);
}
.simulation-exit-action-btn.is-quick:hover {
background: #ffe07a;
border-color: var(--accent-gold-bright);
box-shadow: 0 6px 18px rgba(245, 211, 88, 0.42);
}
.simulation-exit-action-btn.is-save {
background: var(--white-a08);
border: 1px solid var(--white-a16);
color: var(--white);
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.simulation-exit-action-btn.is-save:hover {
background: var(--white-a15);
border-color: var(--white-a22);
}
.simulation-exit-action-btn.is-reset {
background: #991b1b;
border: 1px solid #ef4444;
box-shadow: 0 4px 14px rgba(239, 68, 68, 0.22);
}
.simulation-exit-action-btn.is-reset:hover {
background: #b42323;
border-color: #f87171;
box-shadow: 0 6px 18px rgba(239, 68, 68, 0.32);
}
.simulation-exit-action-btn.is-pause {
background: var(--white-a08);
border: 1px solid var(--white-a16);
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.simulation-exit-action-btn.is-pause:hover {
background: var(--white-a16);
border-color: var(--white-a35);
}
.simulation-exit-widget.is-expanded {
width: min(360px, calc(100vw - 24px));
height: 224px;
z-index: 80;
}
.simulation-exit-widget.is-expanded > .hud-feature-btn {
position: absolute;
opacity: 0;
pointer-events: none;
transform: scale(0.96);
}
.simulation-exit-widget.is-expanded .simulation-exit-card {
opacity: 1;
pointer-events: auto;
visibility: visible;
transform: translateY(0) scale(1);
transition-delay: 80ms;
}
.simulation-top-capsule-group {
position: fixed;
top: 16px;
right: 124px;
z-index: 100;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 14px;
opacity: 0;
pointer-events: none;
transform: translateY(-10px) scale(0.96);
transform-origin: top right;
visibility: hidden;
transition-property: opacity, transform, visibility;
transition-duration: 180ms, 260ms, 0s;
transition-delay: 0s, 0s, 260ms;
transition-timing-function: ease-out, cubic-bezier(0.16, 1, 0.3, 1), linear;
}
.simulation-top-capsule-group[hidden] {
display: none !important;
}
body.reveal-nav-open .simulation-top-capsule-group,
body.reveal-nav-open .simulation-top-capsule-group.is-active {
opacity: 0;
pointer-events: none;
transform: none;
visibility: hidden;
}
body.attack-speed-modal-open .simulation-top-capsule-group,
body.attack-speed-modal-open .simulation-top-capsule-group.is-active,
body:has(#attack-speed-modal:not([hidden])) .simulation-top-capsule-group,
body:has(#compendium-overlay:not([hidden])) .simulation-top-capsule-group {
display: none;
}
.simulation-top-capsule-group.is-active {
opacity: 1;
pointer-events: auto;
transform: none;
visibility: visible;
transition-delay: 0s;
}
.simulation-currency-capsules {
display: flex;
align-items: center;
gap: 12px;
}
.simulation-currency-capsule {
position: relative;
display: inline-flex;
align-items: center;
height: 38px;
min-width: 120px;
padding: 0 16px 0 46px;
background: rgba(12, 9, 20, 0.96);
border: 1px solid var(--white-a08);
border-radius: 12px;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
box-sizing: border-box;
}
@keyframes currencyCapsulePop {
0% {
transform: scale(1);
}
30% {
transform: scale(1.18);
}
100% {
transform: scale(1);
}
}
.simulation-currency-capsule.is-popping {
animation: currencyCapsulePop 0.36s cubic-bezier(0.2, 0.9, 0.3, 1) both;
transform-origin: center center;
will-change: transform;
}
.simulation-currency-capsule .simulation-currency-icon {
position: absolute;
left: -2px;
bottom: 0px;
width: 44px;
height: 44px;
filter: drop-shadow(0 3px 6px var(--black-a70));
pointer-events: none;
}
.simulation-capsule-value {
color: var(--white) !important;
font-family: var(--font-numeric);
font-size: 19px;
font-weight: 850;
font-variant-numeric: tabular-nums;
letter-spacing: -0.01em;
line-height: 1;
}
.simulation-share-widget {
position: fixed;
top: 68px;
right: 16px;
z-index: 1055;
display: inline-flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
box-sizing: border-box;
flex-shrink: 0;
pointer-events: none;
transform-origin: top right;
opacity: 0;
transform: translateY(-10px) scale(0.96);
visibility: hidden;
transition-property: opacity, transform, visibility;
transition-duration: 220ms, 240ms, 0s;
transition-delay: 0s, 0s, 240ms;
transition-timing-function: ease-out, cubic-bezier(0.16, 1, 0.3, 1), linear;
}
body.simulation-mode:not(.reveal-nav-open) .simulation-share-widget {
opacity: 1;
pointer-events: auto;
transform: none;
visibility: visible;
transition-delay: 0s, 0s, 0s;
}
body.reveal-nav-open .simulation-share-widget {
opacity: 0;
pointer-events: none;
transform: none;
visibility: hidden;
}
body:has(#compendium-overlay:not([hidden])) .simulation-share-widget,
body:has(#attack-speed-modal:not([hidden])) .simulation-share-widget {
display: none !important;
}
.simulation-share-widget .simulation-share-trigger-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0;
width: 42px;
height: 42px;
padding: 0;
background: var(--white);
border: none;
border-radius: 9999px;
box-shadow: 0 4px 16px var(--black-a40);
color: #111111;
cursor: pointer;
outline: none;
box-sizing: border-box;
transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
box-shadow 200ms ease,
background-color 200ms ease;
}
.simulation-share-widget .simulation-share-trigger-btn:hover {
transform: scale(1.05);
}
.simulation-share-widget .simulation-share-trigger-btn:active {
transform: scale(0.96);
}
.simulation-share-widget .simulation-share-trigger-btn .simulation-share-icon {
width: 17px;
height: 17px;
stroke: #111111;
stroke-width: 2.2;
flex-shrink: 0;
filter: none;
}
.simulation-share-widget .simulation-share-trigger-btn .simulation-share-btn-text {
display: none !important;
}
.simulation-share-backdrop {
background: var(--black-a72);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
z-index: 9999;
}
.simulation-share-backdrop[hidden] {
display: none !important;
}
.simulation-share-backdrop:not([hidden]) {
display: flex !important;
}
.simulation-share-backdrop.is-closing {
opacity: 0;
pointer-events: none;
transition: opacity 160ms ease;
}
.simulation-share-backdrop.is-closing .simulation-share-card-inner {
will-change: transform, opacity;
backface-visibility: hidden;
animation: modal-scale-exit 160ms cubic-bezier(0.4, 0, 0.9, 0.4) both;
}
.simulation-share-card-inner {
width: min(520px, calc(100vw - 28px));
max-width: 520px;
max-height: min(960px, calc(100dvh - 24px));
background: var(--black-a85);
border: 1px solid var(--white-a16);
border-radius: 18px;
box-shadow: 0 20px 60px var(--black-a80), 0 0 0 1px var(--white-a10);
padding: 14px 18px;
display: flex;
flex-direction: column;
gap: 10px;
overflow-y: auto;
box-sizing: border-box;
animation: modal-spring-enter 240ms cubic-bezier(0.18, 0.9, 0.3, 1) both;
transition: height 260ms cubic-bezier(0.16, 1, 0.3, 1), transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.simulation-share-card.is-picker-mode .simulation-share-card-inner {
height: min(720px, calc(100dvh - 24px));
}
.simulation-share-card-header {
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 10px;
border-bottom: 1px solid var(--white-a10);
min-height: 36px;
}
.simulation-share-card-title-wrap {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
width: 100%;
}
.simulation-share-card-badge {
padding: 3px 8px;
border-radius: 999px;
background: rgba(170, 60, 234, 0.15);
border: 1px solid rgba(170, 60, 234, 0.35);
color: var(--accent-violet-bright);
font-size: 11px;
font-weight: 800;
letter-spacing: 0.02em;
}
.simulation-share-card-title {
margin: 0;
color: var(--white);
font-size: 16px;
font-weight: 800;
letter-spacing: -0.01em;
text-align: center;
}
.simulation-share-close-btn {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 9999px;
background: var(--white-a08);
border: 1px solid var(--white-a12);
color: var(--white);
cursor: pointer;
transition: all 140ms ease;
}
.simulation-share-close-btn:hover {
background: var(--white-a18);
color: var(--white);
transform: translateY(-50%) scale(1.05);
}
.simulation-share-close-btn:active {
transform: translateY(-50%) scale(0.95);
}
.simulation-share-card-body {
display: flex;
flex-direction: column;
gap: 10px;
}
.simulation-share-pane {
display: flex;
flex-direction: column;
gap: 10px;
animation: paneFadeIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.simulation-picker-pane {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
box-sizing: border-box;
padding: 18px 20px;
}
@keyframes paneFadeIn {
from {
opacity: 0;
transform: translateY(4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.simulation-picker-header {
flex-shrink: 0;
padding-bottom: 12px;
margin-bottom: 10px;
}
.simulation-picker-nav-left {
display: flex;
align-items: center;
gap: 10px;
}
.simulation-picker-back-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 8px;
background: var(--white-a06);
border: 1px solid var(--white-a10);
color: var(--white);
cursor: pointer;
transition: all 140ms ease;
}
.simulation-picker-back-btn:hover {
background: var(--white-a16);
color: var(--white);
transform: translateX(-1px);
}
.simulation-picker-count {
color: var(--gold-currency);
font-size: 13px;
font-weight: 800;
}
.simulation-picker-body {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.simulation-picker-grid {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding: 6px 4px 10px;
grid-template-columns: repeat(5, 1fr);
gap: 12px 10px;
}
.simulation-picker-grid.is-support-grid {
grid-template-columns: repeat(5, 1fr);
gap: 12px 10px;
}
.simulation-picker-actions {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
margin-top: auto;
padding-top: 14px;
border-top: 1px solid var(--white-a08);
}
.simulation-picker-btn {
height: 36px;
padding: 0 18px;
border-radius: 10px;
font-size: 13.5px;
font-weight: 800;
cursor: pointer;
transition: all 140ms cubic-bezier(0.16, 1, 0.3, 1);
}
.simulation-picker-btn.is-cancel {
background: var(--white-a08);
border: 1px solid var(--white-a16);
color: var(--white);
}
.simulation-picker-btn.is-cancel:hover {
background: var(--white-a15);
border-color: var(--white-a22);
}
.simulation-picker-btn.is-save {
background: var(--accent-violet-bright);
border: 1px solid var(--white-a20);
color: var(--white);
box-shadow: 0 4px 14px var(--accent-violet-a30);
}
.simulation-picker-btn.is-save:hover:not(:disabled) {
background: var(--accent-violet-soft);
border-color: var(--white-a35);
transform: translateY(-1px);
box-shadow: 0 6px 18px var(--accent-violet-a40);
}
.simulation-picker-btn.is-save:disabled {
opacity: 0.35;
cursor: not-allowed;
background: var(--white-a08);
border-color: var(--white-a10);
color: var(--white-a35);
box-shadow: none;
}
@media (max-width: 768px) {
.simulation-exit-widget:not(.is-expanded) {
width: 56px;
height: 54px;
}
.simulation-top-capsule-group {
top: max(8px, env(safe-area-inset-top));
right: 104px;
gap: 8px;
max-width: calc(100vw - 116px);
}
.simulation-currency-capsules {
display: grid;
grid-template-columns: repeat(2, auto);
gap: 6px 10px;
justify-content: flex-end;
align-items: center;
max-width: 100%;
}
.simulation-currency-capsule {
min-width: auto;
height: 38px;
padding: 0 12px 0 42px;
border-radius: 12px;
}
.simulation-currency-capsule .simulation-currency-icon {
width: 38px;
height: 38px;
left: -4px;
bottom: -2px;
}
.simulation-capsule-value {
font-size: 16px;
}
.simulation-share-widget {
position: fixed;
top: max(54px, calc(env(safe-area-inset-top) + 46px));
right: max(12px, env(safe-area-inset-right));
width: 42px;
height: 42px;
z-index: 500;
}
.simulation-share-widget .simulation-share-trigger-btn {
width: 42px;
height: 42px;
padding: 0;
}
.simulation-share-widget .simulation-share-trigger-btn .simulation-share-icon {
width: 17px;
height: 17px;
}
.simulation-share-widget .simulation-share-trigger-btn .simulation-share-btn-text {
display: none !important;
}
.hud-toggle-group:has(.simulation-exit-widget.is-expanded) {
position: fixed;
left: 12px;
right: 12px;
bottom: max(12px, env(safe-area-inset-bottom));
width: auto;
align-items: stretch;
z-index: 80;
}
.hud-toggle-group:has(.simulation-exit-widget.is-expanded) > :not(.simulation-exit-widget) {
display: none;
opacity: 0;
pointer-events: none;
}
.simulation-exit-widget.is-expanded {
width: 100% !important;
max-width: none;
height: min(190px, calc(100dvh - 24px));
}
body:has(#simulation-exit-widget.is-expanded) #disclaimer-widget,
body:has(#simulation-exit-widget.is-expanded) #changelog-widget,
body:has(#simulation-exit-widget.is-expanded) #locale-widget {
opacity: 0 !important;
visibility: hidden !important;
pointer-events: none !important;
transform: translateY(6px) scale(0.92);
}
}
.simulation-share-modal-clean .simulation-clean-surface {
width: min(520px, calc(100vw - 24px));
max-height: min(90dvh, 820px);
padding: 20px;
background: rgba(14, 11, 24, 0.88) !important;
backdrop-filter: blur(24px) !important;
-webkit-backdrop-filter: blur(24px) !important;
border: 1px solid var(--white-a12) !important;
border-radius: 20px !important;
box-shadow: 0 16px 48px var(--black-a60) !important;
}
.simulation-share-clean-content {
display: flex;
flex-direction: column;
gap: 14px;
}
.simulation-share-url-row {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
}
.simulation-url-input-wrap {
flex: 1;
min-width: 0;
}
.simulation-share-url-single {
width: 100%;
height: 40px;
padding: 0 14px;
background: var(--white-a06);
border: 1px solid var(--white-a12);
border-radius: 12px;
color: var(--white-a90);
font-size: 13px;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
outline: none;
transition: border-color 160ms ease, background-color 160ms ease;
}
.simulation-share-url-single:focus {
border-color: var(--accent-violet-bright);
background: var(--white-a10);
}
.simulation-share-copy-btn {
height: 40px;
padding: 0 20px;
background: var(--accent-violet-bright);
border: none;
border-radius: 12px;
color: var(--white);
font-size: 13.5px;
font-weight: 700;
cursor: pointer;
white-space: nowrap;
box-shadow: 0 2px 10px var(--accent-violet-a25);
transition: all 160ms ease;
}
.simulation-share-copy-btn:hover {
filter: brightness(1.1);
transform: translateY(-1px);
box-shadow: 0 4px 14px var(--accent-violet-a30);
}
.simulation-share-copy-btn:active {
transform: translateY(0) scale(0.96);
}
.simulation-image-preview-wrap {
position: relative;
width: 100%;
aspect-ratio: 16 / 10;
background: rgba(10, 8, 18, 0.6);
border: 1px solid var(--white-a08);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
overflow: visible;
}
.simulation-image-preview-wrap.is-mode-details {
aspect-ratio: 7 / 6;
}
.simulation-image-preview-wrap.is-mode-split-square {
aspect-ratio: 1 / 1;
}
.simulation-image-preview-wrap.is-mode-split-horizontal {
aspect-ratio: 2 / 1;
}
.simulation-image-preview-wrap.is-mode-split-vertical {
aspect-ratio: 1 / 2;
}
.simulation-image-preview-wrap.is-mode-split-quad {
aspect-ratio: 1 / 1;
}
.simulation-share-image-preview {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 12px;
display: block;
}
.simulation-image-loading {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(14, 11, 24, 0.95);
overflow: hidden;
border-radius: 12px;
}
.simulation-loading-label {
position: relative;
z-index: 3;
color: rgba(255, 255, 255, 0.95);
font-size: 13.5px;
font-weight: 700;
letter-spacing: 0.02em;
text-shadow: 0 2px 8px var(--black-a85);
}
.simulation-shimmer-blob {
position: absolute;
border-radius: 50%;
filter: blur(44px);
pointer-events: none;
will-change: transform, opacity;
}
.simulation-shimmer-blob.blob-1 {
width: 280px;
height: 280px;
background: radial-gradient(circle, rgba(255, 255, 255, 0.78) 0%, var(--white-a22) 48%, transparent 70%);
top: 12%;
left: 12%;
opacity: 0.82;
animation: floatBlob1 2.2s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}
.simulation-shimmer-blob.blob-2 {
width: 320px;
height: 320px;
background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, var(--white-a12) 50%, transparent 75%);
bottom: 10%;
right: 14%;
opacity: 0.65;
animation: floatBlob2 2.6s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}
.simulation-shimmer-blob.blob-3 {
width: 240px;
height: 240px;
background: radial-gradient(circle, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.18) 45%, transparent 70%);
top: 35%;
right: 25%;
opacity: 0.72;
animation: floatBlob3 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}
@keyframes simulationImageFadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.simulation-share-image-preview,
.simulation-split-item-img {
animation: simulationImageFadeIn 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes floatBlob1 {
0% { transform: translate(0, 0) scale(0.9); }
50% { transform: translate(75px, 40px) scale(1.18); }
100% { transform: translate(140px, -15px) scale(1); }
}
@keyframes floatBlob2 {
0% { transform: translate(0, 0) scale(1.15); }
50% { transform: translate(-65px, -50px) scale(0.85); }
100% { transform: translate(-120px, 30px) scale(1.1); }
}
@keyframes floatBlob3 {
0% { transform: translate(0, 0) scale(1); }
50% { transform: translate(-55px, 50px) scale(1.25); }
100% { transform: translate(95px, 60px) scale(0.92); }
}
.simulation-download-image-btn {
width: 100%;
height: 38px;
background: linear-gradient(135deg, #7e52bf, var(--accent-violet));
border: 1px solid #b495ee;
border-radius: 10px;
color: var(--white);
font-size: 13.5px;
font-weight: 800;
cursor: pointer;
box-shadow: 0 4px 14px rgba(126, 82, 191, 0.35);
transition: all 160ms ease;
}
.simulation-download-image-btn:hover {
filter: brightness(1.15);
transform: translateY(-1px);
}
.simulation-clean-divider {
border: none;
border-top: 1px solid var(--white-a08);
margin: 2px 0;
}
.simulation-team-section {
display: flex;
flex-direction: column;
gap: 8px;
}
.simulation-team-section-header {
display: flex;
align-items: baseline;
justify-content: space-between;
}
.simulation-team-section-title {
color: #e9dcff;
font-size: 13px;
font-weight: 800;
}
.simulation-team-section-hint {
color: #8f82a7;
font-size: 11px;
}
.simulation-team-row-clean {
display: flex;
flex-direction: column;
gap: 6px;
padding: 8px 10px 10px;
background: rgba(22, 18, 36, 0.65);
border: 1px solid var(--white-a08);
border-radius: 12px;
}
.simulation-team-row-label-wrap {
display: flex;
align-items: center;
justify-content: space-between;
}
.simulation-team-num {
color: #b7a6d6;
font-size: 12px;
font-weight: 750;
}
.simulation-team-slots-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 8px;
}
.simulation-team-dice-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
background: transparent;
border: none;
padding: 0;
cursor: pointer;
outline: none;
transition: transform 120ms cubic-bezier(0.16, 1, 0.3, 1);
user-select: none;
}
.simulation-team-dice-card:hover {
transform: translateY(-2px);
}
.simulation-team-dice-card:active {
transform: scale(0.95);
}
.simulation-team-compact-slot {
position: relative;
width: 100%;
aspect-ratio: 1 / 1;
border-radius: 12px;
background: #1a142c;
border: 1.5px solid #3b2d5a;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45), inset 0 1px 0 var(--white-a05);
transition: all 140ms ease;
}
.simulation-team-dice-card.is-filled .simulation-team-compact-slot {
border-color: rgba(255, 255, 255, 0.9);
background: #241c3d;
box-shadow: 0 4px 12px var(--black-a50), 0 0 8px var(--white-a22);
}
.simulation-team-dice-card:hover .simulation-team-compact-slot {
border-color: var(--accent-violet-bright);
background: #2b2048;
box-shadow: 0 6px 16px var(--black-a65), 0 0 14px var(--accent-violet-a30);
}
.simulation-team-dice-card .compact-dice-img {
width: 78%;
height: 78%;
}
.simulation-team-slot-empty-num {
font-family: var(--font-numeric);
font-size: 15px;
font-weight: 850;
color: #5d4d7a;
}
.simulation-team-dice-card:hover .simulation-team-slot-empty-num {
color: var(--accent-violet-bright);
}
.simulation-team-compact-label {
font-size: 11px;
font-weight: 750;
color: #9c8fb6;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
line-height: 1.1;
transition: color 120ms ease;
}
.simulation-team-dice-card.is-filled .simulation-team-compact-label {
color: var(--white);
font-weight: 800;
}
.simulation-team-dice-card:hover .simulation-team-compact-label {
color: var(--accent-violet-bright);
}
.simulation-clean-bottom {
display: flex;
justify-content: flex-end;
margin-top: 14px;
}
.simulation-clean-close-btn {
padding: 6px 18px;
background: var(--white-a08);
border: 1px solid var(--white-a12);
border-radius: 8px;
color: #d0c8dc;
font-size: 12px;
font-weight: 700;
cursor: pointer;
}
.simulation-clean-close-btn:hover {
background: var(--white-a15);
color: var(--white);
}
.simulation-picker-pane .compact-dice-slot {
background: var(--black-a65);
border: 1px solid var(--white-a14);
box-shadow: 0 6px 16px var(--black-a50);
}
.simulation-picker-pane .compendium-compact-item:hover:not(:disabled) .compact-dice-slot {
background: var(--black-a85);
border-color: var(--accent-violet-bright);
box-shadow: 0 8px 20px var(--black-a70), 0 0 12px var(--accent-violet-a25);
}
.simulation-picker-pane .simulation-picker-card.is-selected .compact-dice-slot {
border-color: var(--accent-violet-bright);
box-shadow: 0 0 16px var(--accent-violet-a30), 0 8px 24px var(--black-a70);
background: rgba(168, 85, 247, 0.12);
}
.simulation-picker-pane .simulation-picker-card.is-selected .compact-dice-label {
color: var(--white);
font-weight: 700;
}
.simulation-picker-card-badge {
position: absolute;
top: 6px;
right: 6px;
width: 22px;
height: 22px;
background: var(--accent-violet-bright);
color: var(--white);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 800;
z-index: 5;
box-shadow: 0 2px 8px var(--black-a60);
pointer-events: none;
}
.simulation-picker-faction-header {
grid-column: 1 / -1;
display: flex;
align-items: center;
gap: 8px;
padding: 12px 4px 6px;
font-size: 13px;
font-weight: 800;
color: var(--white);
border-bottom: 1px solid var(--white-a10);
margin-top: 6px;
}
.simulation-picker-faction-header:first-child {
margin-top: 0;
padding-top: 2px;
}
.simulation-picker-faction-header .faction-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--faction-color, #8ae665);
box-shadow: 0 0 8px var(--faction-color, #8ae665);
flex-shrink: 0;
}
.simulation-picker-faction-header .faction-name {
letter-spacing: 0.5px;
}
@keyframes simulationHudIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes simulationDicePulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (max-width: 768px) {
.data-version-badge { min-width: 0; padding: 0 6px; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
}
@media (max-width: 300px) {
.topbar #simulation-toggle-btn {
flex: 0 0 44px;
width: 44px;
min-width: 44px;
padding-inline: 0;
justify-content: center;
gap: 0;
}
.topbar #simulation-toggle-btn > span:last-child {
display: none;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
animation-duration: 1ms !important;
animation-iteration-count: 1 !important;
transition-duration: 1ms !important;
}
}
.simulation-share-control-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
padding: 8px 12px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--white-a06);
border-radius: 12px;
flex-wrap: wrap;
}
.simulation-share-options-group {
display: flex;
align-items: center;
gap: 14px;
}
.simulation-share-title-wrap {
display: inline-flex;
align-items: center;
gap: 8px;
}
.simulation-share-title-label {
font-size: 13px;
font-weight: 700;
color: var(--ink-secondary);
user-select: none;
}
.simulation-share-title-input {
height: 28px;
width: 140px;
padding: 0 10px;
border-radius: 6px;
background: var(--black-a72);
border: 1px solid var(--white-a22);
color: var(--white);
font-size: 12px;
font-weight: 600;
outline: none;
transition: border-color 140ms ease;
}
.simulation-share-title-input:focus {
border-color: var(--gold-currency);
}
.simulation-share-checkbox-label {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
font-weight: 700;
color: var(--ink-secondary);
cursor: pointer;
user-select: none;
}
.simulation-share-checkbox {
appearance: none;
width: 16px;
height: 16px;
border-radius: 4px;
border: 1.5px solid var(--white-a22);
background: var(--black-a72);
cursor: pointer;
position: relative;
transition: all 140ms ease;
}
.simulation-share-checkbox:checked {
background: var(--gold-currency);
border-color: var(--action-gold-border);
}
.simulation-share-checkbox:checked::after {
content: "";
position: absolute;
left: 4px;
top: 1px;
width: 4px;
height: 8px;
border: solid var(--action-outline);
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.simulation-details-settings-btn {
padding: 4px 12px;
background: var(--white-a08);
border: 1px solid var(--white-a16);
border-radius: 8px;
color: var(--white);
font-size: 12px;
font-weight: 700;
cursor: pointer;
transition: background-color 140ms ease, border-color 140ms ease;
}
.simulation-details-settings-btn:hover {
background: var(--white-a15);
border-color: var(--white-a22);
}
.simulation-share-mode-center-wrap {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin: 2px 0 10px 0;
}
.simulation-share-mode-toggle-group {
position: relative;
display: inline-flex;
align-items: center;
background: var(--white-a06);
padding: 3px;
border-radius: 9999px;
border: 1px solid var(--white-a10);
box-shadow: inset 0 1px 3px var(--black-a40);
}
.simulation-share-mode-btn {
position: relative;
z-index: 2;
min-height: 32px;
padding: 6px 18px;
border: none;
background: transparent;
color: var(--white-a60);
font-size: 13px;
font-weight: 700;
border-radius: 9999px;
cursor: pointer;
transition: color 220ms ease, opacity 220ms ease;
white-space: nowrap;
user-select: none;
}
.simulation-share-mode-btn:hover:not(.is-active) {
color: var(--white);
background: transparent;
}
.simulation-share-mode-btn.is-active {
background: transparent;
color: var(--white);
box-shadow: none;
}
.simulation-download-actions-wrap {
display: flex;
gap: 10px;
margin-top: 12px;
}
.simulation-download-actions-wrap > button {
flex: 1;
}
.simulation-download-image-btn.is-all {
background: var(--white-a08);
border: 1px solid var(--white-a16);
color: var(--white);
}
.simulation-download-image-btn.is-all:hover {
background: var(--white-a15);
border-color: var(--white-a22);
}
.simulation-share-preview-container {
width: 100%;
min-height: 180px;
display: flex;
align-items: flex-start;
justify-content: center;
}
.simulation-split-grid {
display: grid;
gap: 6px;
width: 100%;
}
.simulation-split-grid.is-vertical {
grid-template-rows: 1fr 1fr;
}
.simulation-split-grid.is-horizontal {
grid-template-columns: 1fr 1fr;
}
.simulation-split-grid.is-quad {
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
}
.simulation-split-item-wrap {
position: relative;
border-radius: 12px;
overflow: hidden;
background: var(--black-a72);
border: 1px solid var(--white-a10);
}
.simulation-split-item-wrap.is-single {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.simulation-split-item-wrap.is-single .simulation-share-image-preview {
width: 100%;
height: auto;
object-fit: contain;
}
.simulation-split-item-img {
width: 100%;
height: auto;
display: block;
border-radius: 12px;
}
.simulation-split-overlay-actions {
position: absolute;
top: 8px;
right: 8px;
display: flex;
gap: 6px;
opacity: 0;
transition: opacity 140ms ease;
z-index: 10;
}
.simulation-split-item-wrap:hover .simulation-split-overlay-actions,
.simulation-split-overlay-actions:focus-within,
.simulation-split-overlay-actions:has(.simulation-download-popover) {
opacity: 1;
}
.simulation-split-tool-btn {
width: 28px;
height: 28px;
border-radius: 6px;
background: var(--black-a72);
border: 1px solid var(--white-a22);
color: var(--white);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background-color 140ms ease, border-color 140ms ease;
}
.simulation-split-tool-btn:hover {
background: var(--white-a22);
border-color: var(--white-a35);
}
.simulation-split-tool-btn.is-copied {
background: var(--gold-currency);
border-color: var(--action-gold-border);
color: var(--action-outline);
}
.simulation-share-select {
appearance: none;
background: var(--black-a72);
border: 1px solid var(--white-a16);
border-radius: 6px;
color: var(--white);
font-size: 12px;
font-weight: 600;
padding: 4px 10px;
cursor: pointer;
transition: border-color 140ms ease;
}
.simulation-share-select:hover,
.simulation-share-select:focus {
border-color: var(--white-a35);
outline: none;
}
.simulation-download-popover {
position: absolute;
top: calc(100% + 6px);
right: 0;
z-index: 100;
background: var(--black-a85);
border: 1px solid var(--white-a16);
border-radius: 8px;
box-shadow: 0 8px 24px var(--black-a72);
padding: 4px;
display: flex;
flex-direction: column;
gap: 2px;
min-width: 140px;
}
.simulation-download-popover-item {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 10px;
border-radius: 6px;
border: none;
background: transparent;
color: var(--white);
font-size: 12px;
font-weight: 600;
cursor: pointer;
white-space: nowrap;
transition: background-color 120ms ease;
}
.simulation-download-popover-item:hover {
background: var(--white-a16);
}
.simulation-modal-backdrop {
position: fixed;
inset: 0;
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
max-width: none;
max-height: none;
border: none;
background: var(--black-a50);
backdrop-filter: none;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.simulation-modal-backdrop[hidden] {
display: none !important;
}
.quick-unlock-backdrop {
background: var(--black-a72);
backdrop-filter: none;
-webkit-backdrop-filter: none;
transition: opacity 180ms ease;
animation: modalBackdropFadeIn 180ms ease both;
}
.quick-unlock-backdrop .quick-unlock-card {
will-change: transform, opacity;
backface-visibility: hidden;
animation: modal-spring-enter 240ms cubic-bezier(0.18, 0.9, 0.3, 1) both;
}
.quick-unlock-backdrop.is-closing {
opacity: 0;
pointer-events: none;
}
.quick-unlock-backdrop.is-closing .quick-unlock-card {
will-change: transform, opacity;
backface-visibility: hidden;
animation: modal-scale-exit 150ms cubic-bezier(0.4, 0, 0.9, 0.4) both;
}
@keyframes modalBackdropFadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes modalPopIn {
0% {
opacity: 0.3;
transform: scale(0.8);
}
48% {
opacity: 1;
transform: scale(1.02);
}
78% {
opacity: 1;
transform: scale(0.99);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes modalPopOut {
0% {
opacity: 1;
transform: scale(1);
}
30% {
opacity: 0.95;
transform: scale(0.95);
}
100% {
opacity: 0;
transform: scale(0.75);
}
}
.quick-unlock-card {
width: min(920px, calc(100vw - 32px));
height: auto;
max-height: min(85vh, 800px);
background: var(--surface-deep);
border: 3px solid var(--accent-violet);
border-radius: 16px;
box-shadow: 0 16px 36px var(--black-a65), 0 0 0 1px var(--white-a05);
backdrop-filter: none;
-webkit-backdrop-filter: none;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
transition: width 280ms cubic-bezier(0.16, 1, 0.3, 1),
height 280ms cubic-bezier(0.16, 1, 0.3, 1),
max-height 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.quick-unlock-card.is-picker-mode {
width: min(580px, calc(100vw - 28px));
height: min(720px, 88dvh);
max-height: 88dvh;
}
.quick-unlock-card.is-picker-mode.is-support-picker {
height: auto;
max-height: min(360px, 88dvh);
}
.quick-unlock-main-pane {
display: flex;
flex-direction: column;
min-height: 0;
height: 100%;
animation: paneFadeIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.quick-unlock-card.is-picker-mode .quick-unlock-main-pane {
display: none;
}
.quick-unlock-picker-pane {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
box-sizing: border-box;
animation: paneFadeIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.quick-unlock-picker-pane .simulation-picker-grid {
grid-template-columns: repeat(5, 1fr);
gap: 12px 10px;
}
.quick-unlock-picker-pane .simulation-picker-grid.is-support-grid {
grid-template-columns: repeat(5, 1fr);
gap: 12px 10px;
}
.quick-unlock-card:not(.is-picker-mode) .quick-unlock-picker-pane {
display: none;
}
.quick-unlock-header {
position: relative;
padding: 14px 20px 12px;
border-bottom: 1px solid var(--white-a08);
display: flex;
align-items: center;
justify-content: center;
}
.quick-unlock-title-wrap {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
width: 100%;
}
.quick-unlock-title {
font-size: 17px;
font-weight: 800;
color: var(--white);
letter-spacing: -0.01em;
margin: 0;
text-align: center;
text-shadow: 0 2px 4px var(--black-a50);
}
.quick-unlock-close-btn {
position: absolute;
top: 12px;
right: 12px;
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
background: transparent;
border: none;
color: var(--white-a60);
cursor: pointer;
padding: 0;
border-radius: 6px;
transition: color 120ms, transform 120ms;
}
.quick-unlock-close-btn:hover {
color: var(--white);
transform: scale(1.1);
}
.quick-unlock-close-btn:active {
transform: scale(0.92);
}
.quick-unlock-body {
padding: 20px;
overflow-y: auto;
flex: 1;
position: relative;
}
.quick-unlock-slots-layout {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 12px;
align-items: flex-start;
width: 100%;
}
.quick-unlock-dice-columns {
display: contents;
}
.quick-unlock-dice-column {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
min-width: 0;
width: 100%;
}
.quick-unlock-main-slot {
width: 100%;
aspect-ratio: 1;
background: var(--black-a65);
border: 2px solid var(--white-a14);
border-radius: 14px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
user-select: none;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
transition: all 140ms ease;
position: relative;
padding: 6px;
min-width: 0;
box-sizing: border-box;
}
.quick-unlock-main-slot:hover {
border-color: var(--gold-currency);
box-shadow: 0 4px 16px rgba(245, 211, 88, 0.25);
}
.quick-unlock-main-slot:active {
transform: scale(0.96);
}
.quick-unlock-main-slot.is-filled {
background: var(--black-a85);
border-color: rgba(255, 255, 255, 0.9);
box-shadow: 0 4px 12px var(--black-a50), 0 0 8px var(--white-a22);
}
.quick-unlock-slot-img {
width: 64px;
height: 64px;
object-fit: contain;
}
.quick-unlock-slot-name {
font-size: 11px;
font-weight: 700;
color: var(--ink-secondary);
margin-top: 4px;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.quick-unlock-slot-placeholder {
font-size: 20px;
font-weight: 800;
color: var(--ink-violet-muted);
}
.quick-unlock-runes-list {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
min-width: 0;
animation: simulationSlideDown 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.quick-unlock-rune-card {
width: 100%;
min-width: 0;
box-sizing: border-box;
background: rgba(32, 23, 56, 0.92);
border: 1.5px solid var(--accent-violet-bright);
border-radius: 10px;
padding: 6px 8px;
display: flex;
align-items: center;
gap: 6px;
cursor: pointer;
position: relative;
user-select: none;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
transition: all 140ms ease;
box-shadow: 0 0 10px rgba(186, 126, 255, 0.22);
}
.quick-unlock-rune-card:hover {
background: rgba(42, 30, 74, 0.96);
border-color: #d8b4fe;
box-shadow: 0 0 14px rgba(186, 126, 255, 0.4);
}
.quick-unlock-rune-card:active {
transform: scale(0.98);
}
.quick-unlock-rune-card.is-excluded {
background: var(--black-a65);
border-color: rgba(239, 68, 68, 0.35);
opacity: 0.48;
filter: grayscale(0.85);
box-shadow: none;
}
.quick-unlock-rune-card.is-excluded:hover {
background: var(--black-a80);
border-color: rgba(239, 68, 68, 0.6);
}
.quick-unlock-rune-state-tag {
position: absolute;
top: 3px;
right: 4px;
width: 15px;
height: 15px;
border-radius: 50%;
font-size: 9.5px;
font-weight: 900;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
user-select: none;
z-index: 2;
pointer-events: none;
transition: all 140ms ease;
}
.quick-unlock-rune-state-tag.is-included {
background: rgba(34, 197, 94, 0.22);
color: #4ade80;
border: 1px solid rgba(34, 197, 94, 0.6);
box-shadow: 0 0 6px rgba(34, 197, 94, 0.35);
}
.quick-unlock-rune-state-tag.is-excluded {
background: rgba(239, 68, 68, 0.25);
color: #f87171;
border: 1px solid rgba(239, 68, 68, 0.65);
}
.quick-unlock-rune-icon {
width: 24px;
height: 24px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
}
.quick-unlock-rune-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.quick-unlock-rune-name {
font-size: 11px;
font-weight: 700;
color: var(--white);
line-height: 1.25;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
padding-right: 14px;
box-sizing: border-box;
}
.quick-unlock-rune-rank-tag {
font-size: 11px;
font-weight: 800;
color: var(--accent-gold-bright);
background: rgba(255, 216, 89, 0.15);
border: 1px solid rgba(255, 216, 89, 0.3);
padding: 2px 8px;
border-radius: 6px;
align-self: flex-start;
margin-top: 2px;
cursor: pointer;
user-select: none;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
transition: all 120ms ease;
}
.quick-unlock-rune-rank-tag:hover {
background: rgba(255, 216, 89, 0.3);
border-color: var(--accent-gold-bright);
transform: scale(1.04);
}
.quick-unlock-rune-card.has-popover-open,
.quick-unlock-rune-card.is-excluded.has-popover-open,
.quick-unlock-rune-card:has(.quick-unlock-slider-popover:not([hidden])) {
transform: none;
opacity: 1;
filter: none;
z-index: 140;
}
.quick-unlock-rune-card.has-popover-open:hover,
.quick-unlock-rune-card.has-popover-open:active,
.quick-unlock-rune-card:has(.quick-unlock-slider-popover:not([hidden])):hover,
.quick-unlock-rune-card:has(.quick-unlock-slider-popover:not([hidden])):active {
transform: none;
}
.quick-unlock-slider-popover {
position: absolute;
bottom: calc(100% + 8px);
z-index: 150;
width: 220px;
padding: 10px 12px;
background: var(--surface-deep);
border: 1px solid var(--white-a16);
border-radius: 12px;
box-shadow: 0 12px 32px var(--black-a85), 0 0 0 1px var(--white-a10);
display: flex;
flex-direction: column;
gap: 8px;
opacity: 1;
pointer-events: auto;
box-sizing: border-box;
}
.quick-unlock-slider-popover.is-entering {
will-change: transform, opacity;
backface-visibility: hidden;
animation: tooltip-spring-enter 340ms cubic-bezier(0.28, 0.58, 0.52, 1) forwards;
}
.quick-unlock-slider-popover.is-closing {
pointer-events: none;
will-change: transform, opacity;
backface-visibility: hidden;
animation: tooltip-scale-exit 140ms cubic-bezier(0.4, 0, 0.9, 0.4) forwards;
}
html.is-android .quick-unlock-slider-popover.is-closing {
animation: tooltip-android-exit 140ms cubic-bezier(0.4, 0, 0.9, 0.4) forwards;
}
.quick-unlock-dice-column:first-child .quick-unlock-slider-popover {
left: 0;
margin-left: 0;
transform-origin: 0 100%;
}
.quick-unlock-dice-column:nth-child(5) .quick-unlock-slider-popover,
.quick-unlock-support-column .quick-unlock-slider-popover {
left: auto;
right: 0;
margin-left: 0;
transform-origin: 100% 100%;
}
.quick-unlock-dice-column:not(:first-child):not(:nth-child(5)) .quick-unlock-slider-popover {
left: 50%;
margin-left: -110px;
transform-origin: 50% 100%;
}
.quick-unlock-slider-popover[hidden] {
display: none !important;
}
.quick-unlock-slider-popover .popover-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.quick-unlock-slider-popover .popover-title {
color: var(--white);
font-size: 12px;
font-weight: 800;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.quick-unlock-slider-popover .popover-rank-val {
color: var(--accent-gold-bright);
font-size: 11px;
font-weight: 800;
font-family: var(--font-numeric);
background: rgba(255, 216, 89, 0.12);
border: 1px solid rgba(255, 216, 89, 0.25);
padding: 1px 6px;
border-radius: 4px;
}
.quick-unlock-slider-popover .popover-slider-wrap {
width: 100%;
}
.quick-unlock-support-column {
width: 100%;
min-width: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.quick-unlock-support-slot {
width: 100%;
aspect-ratio: 1;
background: var(--black-a65);
border: 2px dashed var(--white-a16);
border-radius: 14px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
user-select: none;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
transition: all 140ms ease;
padding: 6px;
position: relative;
}
.quick-unlock-support-slot:hover {
border-color: var(--gold-currency);
box-shadow: 0 4px 16px rgba(245, 211, 88, 0.25);
}
.quick-unlock-support-slot:active {
transform: scale(0.96);
}
.quick-unlock-support-slot.is-filled {
border-style: solid;
border-color: var(--gold-currency);
background: var(--black-a85);
}
.quick-unlock-slot-hint {
font-size: 11px;
font-weight: 700;
color: var(--ink-violet-dim);
margin-top: 4px;
text-align: center;
white-space: nowrap;
}
.quick-unlock-footer {
padding: 14px 20px;
border-top: 1px solid var(--white-a08);
display: flex;
justify-content: flex-end;
gap: 12px;
}
.quick-unlock-action-btn {
min-height: 42px;
padding: 0 22px;
border-radius: 12px;
font-size: 14.5px;
font-weight: 800;
cursor: pointer;
user-select: none;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
transition: all 140ms ease;
}
.quick-unlock-action-btn:active {
transform: scale(0.97);
}
.quick-unlock-action-btn.is-clear,
.quick-unlock-action-btn.is-skip {
background: var(--white-a08);
border: 1px solid var(--white-a16);
color: var(--white);
}
.quick-unlock-action-btn.is-clear:hover,
.quick-unlock-action-btn.is-skip:hover {
background: var(--white-a15);
border-color: var(--white-a22);
}
.quick-unlock-action-btn.is-confirm {
background: var(--gold-currency);
border: 1px solid var(--action-gold-border);
color: var(--action-outline);
box-shadow: 0 4px 14px rgba(245, 211, 88, 0.28);
}
.quick-unlock-action-btn.is-confirm:hover {
background: #ffe07a;
border-color: var(--accent-gold-bright);
box-shadow: 0 6px 18px rgba(245, 211, 88, 0.42);
transform: translateY(-1px);
}
@media (max-width: 768px) {
.quick-unlock-card {
width: min(640px, calc(100vw - 20px));
max-height: 88vh;
border-radius: 16px;
}
.quick-unlock-body {
padding: 14px 12px;
}
.quick-unlock-slots-layout {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
align-items: start;
}
.quick-unlock-dice-columns {
display: contents;
}
.quick-unlock-dice-column {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
width: 100%;
min-width: 0;
}
.quick-unlock-support-column {
width: 100%;
min-width: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
}
.quick-unlock-main-slot,
.quick-unlock-support-slot {
width: 100%;
height: 84px;
aspect-ratio: auto;
border-radius: 12px;
padding: 6px 4px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
}
.simulation-save-card {
width: min(540px, calc(100vw - 32px));
background: var(--black-a72);
border: 1px solid var(--white-a14);
border-radius: 18px;
overflow: hidden;
box-shadow: 0 20px 48px var(--black-a85);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
}
.simulation-save-header {
padding: 16px 20px;
border-bottom: 1px solid var(--white-a08);
display: flex;
align-items: center;
justify-content: space-between;
}
.simulation-save-title-wrap {
display: flex;
align-items: center;
gap: 10px;
}
.simulation-save-badge {
padding: 2px 8px;
border-radius: 6px;
background: var(--faction-engineering-surface);
border: 1px solid var(--faction-engineering-border);
color: var(--gold-currency);
font-size: 11px;
font-weight: 800;
}
.simulation-save-title {
font-size: 16px;
font-weight: 800;
color: var(--white);
margin: 0;
}
.simulation-save-close-btn {
background: transparent;
border: none;
color: var(--ink-violet-muted);
cursor: pointer;
}
.simulation-save-close-btn:hover {
color: var(--white);
}
.simulation-save-slots-list {
padding: 16px 20px;
display: flex;
flex-direction: column;
gap: 10px;
max-height: 480px;
overflow-y: auto;
}
.simulation-save-slot-row {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
background: var(--black-a65);
border: 1px solid var(--white-a10);
border-radius: 12px;
transition: all 140ms ease;
}
.simulation-save-slot-row:hover {
background: var(--black-a85);
border-color: var(--white-a22);
}
.simulation-save-slot-idx {
width: 24px;
height: 24px;
border-radius: 50%;
background: var(--faction-engineering-surface);
color: var(--gold-currency);
font-size: 12px;
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.simulation-save-slot-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
.simulation-save-name-input {
background: transparent;
border: 1px solid transparent;
color: var(--white);
font-size: 14px;
font-weight: 700;
padding: 2px 6px;
border-radius: 6px;
width: 100%;
}
.simulation-save-name-input:focus {
background: var(--black-a40);
border-color: var(--gold-currency);
outline: none;
}
.simulation-save-meta-text {
font-size: 11px;
color: var(--ink-violet-muted);
margin-top: 2px;
}
.simulation-save-row-actions {
display: flex;
gap: 6px;
flex-shrink: 0;
}
.simulation-slot-btn {
padding: 4px 10px;
border-radius: 6px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
border: 1px solid transparent;
transition: all 120ms ease;
}
.simulation-slot-btn.is-load {
background: var(--faction-engineering-surface);
border-color: var(--faction-engineering-border);
color: var(--gold-currency);
}
.simulation-slot-btn.is-load:hover {
background: var(--faction-engineering-border);
border-color: var(--gold-currency);
}
.simulation-slot-btn.is-save {
background: var(--white-a08);
border-color: var(--white-a16);
color: var(--white);
}
.simulation-slot-btn.is-save:hover {
background: var(--white-a15);
border-color: var(--white-a22);
}
.simulation-slot-btn.is-delete {
background: rgba(239, 68, 68, 0.15);
border-color: rgba(239, 68, 68, 0.4);
color: #fca5a5;
}
.simulation-slot-btn.is-delete:hover {
background: rgba(239, 68, 68, 0.28);
}
.simulation-confirm-backdrop {
transition: opacity 160ms ease;
}
.simulation-confirm-backdrop.is-closing {
opacity: 0;
pointer-events: none;
}
.simulation-confirm-card {
width: min(380px, calc(100vw - 32px));
background: var(--black-a72);
border: 1px solid var(--white-a14);
border-radius: 16px;
padding: 24px;
box-shadow: 0 20px 48px var(--black-a85);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
will-change: transform, opacity;
backface-visibility: hidden;
animation: modal-spring-enter 240ms cubic-bezier(0.18, 0.9, 0.3, 1) both;
}
.simulation-confirm-backdrop.is-closing .simulation-confirm-card {
will-change: transform, opacity;
backface-visibility: hidden;
animation: modal-scale-exit 150ms cubic-bezier(0.4, 0, 0.9, 0.4) forwards;
}
.simulation-confirm-title {
font-size: 17px;
font-weight: 800;
color: var(--white);
margin: 0 0 10px 0;
}
.simulation-confirm-message {
font-size: 13px;
color: var(--ink-secondary);
line-height: 1.5;
margin: 0 0 20px 0;
}
.simulation-confirm-actions {
display: flex;
gap: 12px;
width: 100%;
}
.simulation-confirm-btn {
flex: 1;
min-height: 38px;
border-radius: 8px;
font-size: 13px;
font-weight: 800;
cursor: pointer;
transition: all 120ms ease;
}
.simulation-confirm-btn.is-cancel {
background: var(--white);
border: 1px solid var(--white);
color: #111111;
}
.simulation-confirm-btn.is-cancel:hover {
background: var(--white);
filter: brightness(0.92);
color: #111111;
}
.simulation-confirm-btn.is-ok {
background: linear-gradient(135deg, rgba(168, 85, 247, 0.85), rgba(139, 92, 246, 0.85));
border: 1px solid rgba(192, 132, 252, 0.45);
color: var(--white);
box-shadow: 0 4px 16px var(--accent-violet-a25);
}
.simulation-confirm-btn.is-ok:hover {
background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(139, 92, 246, 0.95));
border-color: rgba(192, 132, 252, 0.65);
box-shadow: 0 4px 20px rgba(168, 85, 247, 0.45);
}
@media (max-width: 640px) {
.quick-unlock-card {
width: min(440px, calc(100vw - 24px));
max-height: 86dvh;
border-radius: 14px;
}
.quick-unlock-header {
padding: 8px 12px;
}
.quick-unlock-title {
font-size: 13.5px;
}
.quick-unlock-close-btn {
width: 24px;
height: 24px;
font-size: 12px;
}
.quick-unlock-body {
padding: 8px 6px;
}
.quick-unlock-slots-layout {
gap: 6px;
}
.quick-unlock-dice-columns {
gap: 5px;
}
.quick-unlock-dice-column {
gap: 6px;
}
.quick-unlock-main-slot,
.quick-unlock-support-slot {
height: 78px;
padding: 3px;
border-radius: 9px;
}
.quick-unlock-slot-img {
width: 44px;
height: 44px;
}
.quick-unlock-slot-name {
font-size: 9.5px;
margin-top: 2px;
}
.quick-unlock-slot-placeholder {
font-size: 15px;
}
.quick-unlock-runes-list {
gap: 5px;
}
.quick-unlock-rune-card {
padding: 3px 4px;
gap: 4px;
border-radius: 7px;
}
.quick-unlock-rune-icon {
width: 20px;
height: 20px;
}
.quick-unlock-rune-name {
font-size: 9px;
}
.quick-unlock-rune-rank-tag {
font-size: 8.5px;
padding: 0 4px;
}
.quick-unlock-support-column {
width: 100%;
min-width: 0;
gap: 6px;
}
.quick-unlock-slot-hint {
font-size: 8.5px;
margin-top: 2px;
}
.quick-unlock-footer {
padding: 8px 12px;
gap: 8px;
}
.quick-unlock-action-btn {
min-height: 32px;
padding: 0 14px;
font-size: 12px;
border-radius: 8px;
}
.quick-unlock-slider-popover {
left: 6px;
right: 6px;
width: auto;
max-width: calc(100% - 12px);
margin-left: 0;
bottom: calc(100% + 6px);
z-index: 150;
}
.simulation-picker-grid {
grid-template-columns: repeat(4, 1fr) !important;
gap: 8px 6px !important;
}
.simulation-picker-grid .compact-dice-slot {
border-radius: 12px;
}
.simulation-picker-grid .compact-dice-label {
font-size: 11px;
}
}
