:root {
--bg: #0e0b16;
--surface: #17122a;
--surface_2: #1e1836;
--line: #3a3158;
--text: #f5f3ff;
--muted: #b9b0d9;
--violet: #7c5cff;
--lilac: #c9bdff;
--accent_rgb: 124, 92, 255;
--accent_dark_rgb: 60, 30, 170;
--lilac_rgb: 201, 189, 255;
--danger: #ff8aa0;
--radius: 18px;
--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
--font_body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
--font_head: 'Sora', 'Inter', system-ui, sans-serif;
}
* {
box-sizing: border-box;
}
html {
color-scheme: dark;
}
body {
margin: 0;
min-height: 100vh;
background: var(--bg);
color: var(--text);
font: 400 16px/1.55 var(--font_body);
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
.glow {
position: fixed;
inset: -20vmax;
z-index: -1;
pointer-events: none;
background:
radial-gradient(40vmax 40vmax at 15% 12%, rgba(var(--accent_rgb), 0.3), transparent 60%),
radial-gradient(34vmax 34vmax at 88% 82%, rgba(var(--lilac_rgb), 0.13), transparent 60%);
animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
to {
transform: translate3d(3vmax, 2vmax, 0) scale(1.06);
}
}
.skip {
position: absolute;
left: 12px;
top: -60px;
padding: 8px 14px;
border-radius: 10px;
background: var(--surface_2);
color: var(--text);
z-index: 10;
transition: top 0.2s;
}
.skip:focus {
top: 12px;
}
.sr {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
.topbar {
position: sticky;
top: 0;
z-index: 5;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 10px 16px;
padding: 14px max(16px, calc((100% - 720px) / 2));
background: rgba(14, 11, 22, 0.95);
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand {
display: flex;
align-items: center;
gap: 10px;
font-family: var(--font_head);
font-weight: 600;
}
.brand_dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: linear-gradient(135deg, var(--lilac), var(--violet));
box-shadow: 0 0 14px rgba(var(--accent_rgb), 0.8);
}
.tabs {
display: flex;
gap: 6px;
padding: 4px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.tabs button {
position: relative;
font: inherit;
font-size: 14px;
font-weight: 500;
color: var(--muted);
background: transparent;
border: 1px solid transparent;
border-radius: 999px;
padding: 7px 16px;
cursor: pointer;
transition: color 0.2s, background 0.2s, transform 0.15s;
}
.tabs button:hover {
color: var(--text);
}
.tabs button:active {
transform: scale(0.96);
}
.badge {
font-size: 12px;
color: var(--muted);
border: 1px solid var(--line);
border-radius: 999px;
padding: 3px 10px;
}
.wrap {
width: min(100% - 32px, 720px);
margin: 0 auto;
padding: 28px 0 90px;
outline: none;
}
.glass,
.tabs button[aria-current='page'] {
position: relative;
isolation: isolate;
overflow: hidden;
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.3);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03)),
rgba(var(--accent_rgb), 0.45);
-webkit-backdrop-filter: blur(14px) saturate(160%);
backdrop-filter: blur(14px) saturate(160%);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.5),
inset 0 -10px 18px rgba(var(--accent_dark_rgb), 0.28),
0 8px 24px rgba(var(--accent_rgb), 0.32);
}
.glass::before,
.tabs button[aria-current='page']::before {
content: '';
position: absolute;
inset: 1px 1px 52% 1px;
border-radius: inherit;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
opacity: 0.75;
pointer-events: none;
z-index: -1;
}
.btn {
font: inherit;
font-weight: 600;
padding: 12px 24px;
border-radius: 999px;
border: 1px solid transparent;
cursor: pointer;
transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, opacity 0.2s;
}
.btn:hover {
transform: translateY(-1px);
}
.btn:active {
transform: scale(0.97);
}
.btn[disabled] {
opacity: 0.6;
cursor: progress;
}
.btn_glass:hover {
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.6),
inset 0 -10px 18px rgba(var(--accent_dark_rgb), 0.28),
0 12px 30px rgba(var(--accent_rgb), 0.5);
}
.btn_ghost {
color: var(--text);
background: rgba(255, 255, 255, 0.07);
border-color: rgba(255, 255, 255, 0.16);
}
.btn_ghost:hover {
background: rgba(255, 255, 255, 0.12);
}
.btn_danger {
color: var(--danger);
background: rgba(255, 138, 160, 0.08);
border-color: rgba(255, 138, 160, 0.3);
}
button:focus-visible,
.field:focus-visible,
a:focus-visible {
outline: 2px solid var(--lilac);
outline-offset: 3px;
}
.hero {
margin-bottom: 26px;
}
h1,
h2,
h3 {
font-family: var(--font_head);
margin: 0;
line-height: 1.2;
}
h1 {
font-size: clamp(28px, 6vw, 38px);
font-weight: 700;
letter-spacing: -0.02em;
}
.lead {
margin: 10px 0 0;
color: var(--muted);
font-size: 17px;
}
.muted {
color: var(--muted);
}
.step_title {
font-size: 22px;
font-weight: 600;
margin: 0 0 16px;
}
.chip {
display: inline-block;
font-size: 13px;
font-weight: 600;
padding: 4px 14px;
border-radius: 999px;
}
.progress {
margin: 0 0 26px;
}
.progress_top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
font-size: 13px;
color: var(--muted);
}
.progress_track {
height: 6px;
border-radius: 6px;
background: #2a2340;
overflow: hidden;
}
.progress_fill {
height: 100%;
border-radius: 6px;
background: linear-gradient(90deg, var(--violet), var(--lilac));
transition: width 0.6s var(--ease);
}
.card,
.q {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 20px;
}
.q {
transition: border-color 0.25s;
animation: rise 0.5s var(--ease) both;
animation-delay: calc(var(--i, 0) * 70ms);
}
.q + .q {
margin-top: 14px;
}
.q_title {
font-size: 17px;
font-weight: 500;
line-height: 1.4;
}
.req {
color: var(--lilac);
}
.q.has_error {
border-color: var(--danger);
}
.q_error {
margin: 10px 0 0;
color: var(--danger);
font-size: 13px;
}
.q_error:empty {
display: none;
}
.field {
width: 100%;
margin-top: 14px;
padding: 12px 14px;
font: inherit;
color: var(--text);
background: var(--surface_2);
border: 1px solid var(--line);
border-radius: 12px;
transition: border-color 0.2s, box-shadow 0.2s;
}
.field:focus {
outline: none;
border-color: var(--violet);
box-shadow: 0 0 0 3px rgba(var(--accent_rgb), 0.28);
}
textarea.field {
resize: vertical;
min-height: 90px;
}
.label {
display: block;
margin-top: 14px;
font-size: 13px;
color: var(--muted);
}
.label + .field {
margin-top: 6px;
}
.opts {
display: grid;
gap: 10px;
margin-top: 14px;
}
.opt {
position: relative;
display: flex;
align-items: center;
gap: 12px;
padding: 12px 14px;
background: var(--surface_2);
border: 1px solid var(--line);
border-radius: 14px;
cursor: pointer;
transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.opt:hover {
border-color: #5b4d8f;
}
.opt:active {
transform: scale(0.99);
}
.opt input,
.pill input,
.switch input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.mark {
display: grid;
place-items: center;
flex: none;
width: 20px;
height: 20px;
border: 2px solid #6d5fa3;
border-radius: 50%;
transition: background 0.2s, border-color 0.2s;
}
input[type='checkbox'] + .mark {
border-radius: 6px;
}
.mark::after {
content: '';
width: 8px;
height: 8px;
border-radius: 50%;
background: #fff;
transform: scale(0);
transition: transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1);
}
input[type='checkbox'] + .mark::after {
border-radius: 2px;
}
.opt input:checked + .mark {
background: var(--violet);
border-color: var(--violet);
}
.opt input:checked + .mark::after {
transform: scale(1);
}
.opt:has(input:checked) {
border-color: var(--violet);
background: rgba(var(--accent_rgb), 0.16);
}
.opt:has(input:focus-visible),
.pill:has(input:focus-visible) {
outline: 2px solid var(--lilac);
outline-offset: 2px;
}
.scale {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 8px;
margin-top: 14px;
}
.pill {
position: relative;
display: grid;
place-items: center;
height: 50px;
font-weight: 600;
background: var(--surface_2);
border: 1px solid var(--line);
border-radius: 14px;
cursor: pointer;
transition: transform 0.15s, border-color 0.2s, background 0.2s;
}
.pill:hover {
border-color: #5b4d8f;
}
.pill:active {
transform: scale(0.95);
}
.pill:has(input:checked) {
border-color: rgba(255, 255, 255, 0.35);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03)),
rgba(var(--accent_rgb), 0.55);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 18px rgba(var(--accent_rgb), 0.35);
}
.scale_labels {
display: flex;
justify-content: space-between;
gap: 12px;
margin-top: 8px;
font-size: 13px;
color: var(--muted);
}
.hero_row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.hero_text {
min-width: 0;
}
.cube_wrap {
flex: none;
width: 112px;
height: 112px;
display: grid;
place-items: center;
perspective: 600px;
touch-action: none;
cursor: grab;
user-select: none;
-webkit-user-select: none;
}
.cube_wrap:active {
cursor: grabbing;
}
.cube {
--half: 40px;
position: relative;
width: 80px;
height: 80px;
transform-style: preserve-3d;
}
.face {
position: absolute;
inset: 0;
display: grid;
place-items: center;
font-size: 12px;
font-weight: 600;
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.4);
border-radius: 12px;
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.03)),
rgba(var(--accent_rgb), 0.5);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
cursor: pointer;
}
.tiles {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
margin-top: 14px;
perspective: 700px;
}
.tile {
position: relative;
display: flex;
align-items: center;
justify-content: center;
min-height: 78px;
padding: 12px 30px;
text-align: center;
font-size: 15px;
font-weight: 500;
line-height: 1.3;
background: var(--surface_2);
border: 1px solid var(--line);
border-radius: 16px;
cursor: pointer;
transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
transition: transform 0.2s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tile:hover {
border-color: #5b4d8f;
}
.tile:active {
transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(0.96);
}
.tile input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.tile_check {
position: absolute;
top: 8px;
right: 10px;
display: grid;
place-items: center;
width: 20px;
height: 20px;
font-size: 12px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.25);
opacity: 0;
transform: scale(0.4);
transition: opacity 0.2s, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.tile:has(input:checked) {
border-color: rgba(255, 255, 255, 0.4);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03)),
rgba(var(--accent_rgb), 0.55);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 20px rgba(var(--accent_rgb), 0.35);
animation: pop 0.35s var(--ease);
}
.tile:has(input:checked) .tile_check {
opacity: 1;
transform: scale(1);
}
.tile:has(input:focus-visible) {
outline: 2px solid var(--lilac);
outline-offset: 2px;
}
@keyframes pop {
50% {
transform: scale(1.05);
}
}
.spin {
margin-top: 14px;
}
.spin_stage {
position: relative;
height: 210px;
overflow: hidden;
perspective: 900px;
touch-action: pan-y;
cursor: grab;
user-select: none;
-webkit-user-select: none;
border-radius: 16px;
background: radial-gradient(60% 80% at 50% 50%, rgba(var(--accent_rgb), 0.14), transparent 70%);
}
.spin_stage.dragging {
cursor: grabbing;
}
.spin_stage:focus-visible {
outline: 2px solid var(--lilac);
outline-offset: 2px;
}
.spin_ring {
position: absolute;
left: 50%;
top: 50%;
width: 0;
height: 0;
transform-style: preserve-3d;
}
.spin_card {
position: absolute;
left: -75px;
top: -60px;
display: grid;
place-items: center;
width: 150px;
height: 120px;
padding: 12px;
font: inherit;
font-size: 15px;
font-weight: 500;
line-height: 1.25;
text-align: center;
color: var(--text);
background: var(--surface_2);
border: 1px solid var(--line);
border-radius: 16px;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
cursor: pointer;
transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.spin_card.selected {
color: #fff;
border-color: rgba(255, 255, 255, 0.4);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.03)),
rgba(var(--accent_rgb), 0.6);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 26px rgba(var(--accent_rgb), 0.4);
}
.spin_controls {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-top: 12px;
}
.spin_controls .icon_btn {
font-size: 20px;
line-height: 1;
}
.spin_status {
margin: 10px 0 0;
text-align: center;
font-size: 13px;
color: var(--muted);
}
.nav_row {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
margin-top: 26px;
}
.center {
text-align: center;
padding-top: 40px;
}
.center_row {
justify-content: center;
}
.check {
display: grid;
place-items: center;
width: 88px;
height: 88px;
margin: 0 auto 22px;
border-radius: 50%;
}
.check svg {
width: 52px;
height: 52px;
}
.check_circle,
.check_mark {
fill: none;
stroke: #fff;
stroke-width: 3;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 150;
stroke-dashoffset: 150;
animation: draw 0.8s 0.15s var(--ease) forwards;
}
.check_mark {
stroke-dasharray: 40;
stroke-dashoffset: 40;
animation-delay: 0.5s;
animation-duration: 0.5s;
}
@keyframes draw {
to {
stroke-dashoffset: 0;
}
}
.view.from_up {
animation: rise 0.5s var(--ease) both;
}
.view.from_right {
animation: slide_right 0.45s var(--ease) both;
}
.view.from_left {
animation: slide_left 0.45s var(--ease) both;
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(14px);
}
}
@keyframes slide_right {
from {
opacity: 0;
transform: translateX(36px);
}
}
@keyframes slide_left {
from {
opacity: 0;
transform: translateX(-36px);
}
}
.step_box {
margin-top: 18px;
}
.step_head {
display: flex;
align-items: center;
gap: 10px;
}
.step_head .field {
margin-top: 0;
flex: 1;
}
.q_edit {
margin-top: 14px;
padding: 14px;
border: 1px dashed var(--line);
border-radius: 14px;
background: rgba(255, 255, 255, 0.02);
}
.row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
}
.row .field {
margin-top: 0;
width: auto;
flex: 1;
min-width: 140px;
}
.q_edit > .field,
.q_edit > .label + .field {
margin-top: 10px;
}
.icon_btn {
width: 38px;
height: 38px;
font: inherit;
color: var(--text);
background: var(--surface_2);
border: 1px solid var(--line);
border-radius: 10px;
cursor: pointer;
transition: background 0.2s, transform 0.15s;
}
.icon_btn:hover {
background: #2a2146;
}
.icon_btn:active {
transform: scale(0.94);
}
.switch {
position: relative;
display: inline-flex;
align-items: center;
gap: 8px;
margin-left: auto;
font-size: 14px;
color: var(--muted);
cursor: pointer;
}
.knob {
position: relative;
width: 38px;
height: 22px;
border-radius: 999px;
background: #2a2340;
border: 1px solid var(--line);
transition: background 0.2s;
}
.knob::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 16px;
height: 16px;
border-radius: 50%;
background: #fff;
transition: transform 0.2s var(--ease);
}
.switch input:checked + .knob {
background: var(--violet);
}
.switch input:checked + .knob::after {
transform: translateX(16px);
}
.switch input:focus-visible + .knob {
outline: 2px solid var(--lilac);
outline-offset: 2px;
}
.add_step {
margin-top: 18px;
width: 100%;
}
.link_add {
margin-top: 14px;
}
.metrics {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 12px;
margin-bottom: 18px;
}
.metric {
padding: 16px 18px;
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
}
.metric_value {
font-family: var(--font_head);
font-size: 24px;
font-weight: 600;
}
.metric_label {
font-size: 13px;
color: var(--muted);
}
.result {
margin-top: 14px;
}
.bar_row + .bar_row {
margin-top: 12px;
}
.bar_label {
display: flex;
justify-content: space-between;
gap: 12px;
font-size: 14px;
margin-bottom: 6px;
}
.bar_track {
height: 10px;
border-radius: 10px;
background: #2a2340;
overflow: hidden;
}
.bar_fill {
width: 0;
height: 100%;
border-radius: 10px;
background: linear-gradient(90deg, var(--violet), var(--lilac));
transition: width 0.8s var(--ease);
}
.avg {
display: flex;
align-items: baseline;
gap: 8px;
margin: 12px 0 6px;
}
.avg_value {
font-family: var(--font_head);
font-size: 28px;
font-weight: 600;
}
.texts {
list-style: none;
margin: 12px 0 0;
padding: 0;
display: grid;
gap: 8px;
}
.text_item {
padding: 10px 14px;
background: var(--surface_2);
border-radius: 12px;
font-size: 14px;
overflow-wrap: anywhere;
}
.actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 18px;
}
.empty {
padding: 30px 20px;
text-align: center;
color: var(--muted);
}
.toast {
position: fixed;
left: 50%;
bottom: 24px;
z-index: 20;
max-width: calc(100% - 32px);
padding: 12px 20px;
font-size: 14px;
color: #fff;
background: rgba(30, 24, 54, 0.95);
border: 1px solid var(--line);
border-radius: 999px;
opacity: 0;
transform: translate(-50%, 20px);
pointer-events: none;
transition: opacity 0.25s, transform 0.3s var(--ease);
}
.toast.show {
opacity: 1;
transform: translate(-50%, 0);
}
@media (max-width: 520px) {
.topbar {
justify-content: center;
}
.tabs button {
padding: 7px 12px;
}
.card,
.q {
padding: 16px;
}
.nav_row .btn {
flex: 1;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-delay: 0ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
.url_preview {
margin: 8px 0 0;
font-size: 13px;
overflow-wrap: anywhere;
}
.tabs button {
white-space: nowrap;
}
:root[data-accent='blue'] {
--violet: #3b82f6;
--lilac: #bfdbfe;
--accent_rgb: 59, 130, 246;
--accent_dark_rgb: 20, 60, 160;
--lilac_rgb: 191, 219, 254;
}
:root[data-accent='pink'] {
--violet: #ec4899;
--lilac: #fbcfe8;
--accent_rgb: 236, 72, 153;
--accent_dark_rgb: 150, 20, 90;
--lilac_rgb: 251, 207, 232;
}
:root[data-accent='green'] {
--violet: #10b981;
--lilac: #a7f3d0;
--accent_rgb: 16, 185, 129;
--accent_dark_rgb: 5, 100, 70;
--lilac_rgb: 167, 243, 208;
}
:root[data-accent='orange'] {
--violet: #f97316;
--lilac: #fed7aa;
--accent_rgb: 249, 115, 22;
--accent_dark_rgb: 160, 60, 5;
--lilac_rgb: 254, 215, 170;
}
:root[data-motion='soft'] .glow,
:root[data-motion='soft'] .q {
animation: none;
}
:root[data-motion='off'] *,
:root[data-motion='off'] *::before,
:root[data-motion='off'] *::after {
animation: none !important;
transition: none !important;
}
body[data-role='admin']:not(.ready) .tabs,
body[data-role='admin']:not(.ready) .badge {
visibility: hidden;
}
.login_card {
margin: 22px auto 0;
max-width: 360px;
text-align: left;
}
.login_card .field {
margin-top: 0;
}
.update_bar {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 18px;
padding: 12px 16px;
font-size: 14px;
background: rgba(var(--accent_rgb), 0.16);
border: 1px solid rgba(var(--accent_rgb), 0.5);
border-radius: 14px;
}
.update_bar .btn {
padding: 8px 18px;
}
.chip {
color: #fff;
background: rgba(var(--accent_rgb), 0.22);
border: 1px solid rgba(var(--accent_rgb), 0.5);
}
.check {
background: linear-gradient(135deg, rgba(var(--lilac_rgb), 0.9), var(--violet));
box-shadow: 0 10px 30px rgba(var(--accent_rgb), 0.45);
animation: flip_in 1s var(--ease) both;
}
.q,
.card {
background: rgba(23, 18, 42, 0.86);
}
.opt,
.pill,
.tile {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02)),
rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.17);
-webkit-backdrop-filter: blur(10px) saturate(150%);
backdrop-filter: blur(10px) saturate(150%);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.spin_card {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
rgba(30, 24, 54, 0.9);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.icon_btn {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
rgba(255, 255, 255, 0.05);
border-color: rgba(255, 255, 255, 0.2);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.toast {
background: rgba(40, 32, 70, 0.55);
border-color: rgba(255, 255, 255, 0.25);
-webkit-backdrop-filter: blur(14px) saturate(160%);
backdrop-filter: blur(14px) saturate(160%);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.update_bar {
-webkit-backdrop-filter: blur(14px) saturate(160%);
backdrop-filter: blur(14px) saturate(160%);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 30px rgba(0, 0, 0, 0.3);
}
.glass:not(.chip)::after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: -60%;
width: 40%;
background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
transform: skewX(-20deg);
opacity: 0;
pointer-events: none;
}
.btn.glass:hover::after {
animation: shine 0.9s var(--ease);
}
@keyframes shine {
0% {
left: -60%;
opacity: 0;
}
20% {
opacity: 1;
}
100% {
left: 130%;
opacity: 0;
}
}
@keyframes rise_soft {
from {
opacity: 0;
transform: translateY(16px) scale(0.97);
}
}
@keyframes fade_out_up {
to {
opacity: 0;
transform: translateY(-10px) scale(0.99);
}
}
@keyframes flip_in {
from {
opacity: 0;
transform: perspective(500px) rotateY(-360deg) scale(0.4);
}
}
@keyframes spin_xyz {
to {
transform: rotateX(360deg) rotateY(360deg);
}
}
@keyframes spin_z {
to {
transform: rotateX(72deg) rotateZ(360deg);
}
}
@keyframes spin_y {
to {
transform: rotateY(360deg);
}
}
@keyframes float_y {
50% {
transform: translateY(-9px);
}
}
@keyframes drift_a {
50% {
transform: translate3d(18px, -26px, 0);
}
}
@keyframes confetti_fall {
0% {
transform: translate3d(0, -20px, 0) rotate3d(1, 1, 0, 0deg);
opacity: 1;
}
100% {
transform: translate3d(var(--dx), 320px, 0) rotate3d(1, 1, 0, 720deg);
opacity: 0;
}
}
.view.leaving {
animation: fade_out_up 0.24s ease-in both;
pointer-events: none;
}
.hero > *,
.hero_text > * {
animation: rise_soft 0.7s var(--ease) both;
}
.hero_text > p {
animation-delay: 0.12s;
}
.cube_wrap {
animation: rise_soft 0.9s 0.2s var(--ease) both, float_y 6s 1.2s ease-in-out infinite;
transform-style: preserve-3d;
}
.orbit {
position: absolute;
left: 50%;
top: 50%;
width: 112px;
height: 112px;
margin: -56px 0 0 -56px;
border: 1px solid rgba(var(--lilac_rgb), 0.45);
border-radius: 50%;
pointer-events: none;
transform: rotateX(72deg) rotateZ(0deg);
animation: spin_z 9s linear infinite;
}
.orbit.second {
width: 136px;
height: 136px;
margin: -68px 0 0 -68px;
border-color: rgba(var(--accent_rgb), 0.5);
animation-duration: 14s;
animation-direction: reverse;
}
.opts .opt,
.scale .pill,
.tiles .tile {
animation: rise_soft 0.55s var(--ease) both;
animation-delay: calc(var(--i, 0) * 70ms + var(--j, 0) * 55ms + 160ms);
}
.q_title {
animation: rise_soft 0.5s var(--ease) both;
animation-delay: calc(var(--i, 0) * 70ms + 60ms);
}
.step_title {
animation: rise_soft 0.5s var(--ease) both;
}
.progress_fill {
position: relative;
overflow: hidden;
}
.progress_fill::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.5), transparent 80%);
transform: translateX(-100%);
animation: sweep 2.4s 0.8s ease-in-out infinite;
}
@keyframes sweep {
to {
transform: translateX(100%);
}
}
.decor {
position: fixed;
inset: 0;
z-index: -1;
overflow: hidden;
pointer-events: none;
perspective: 800px;
}
.d_wrap {
position: absolute;
animation: drift_a var(--drift, 22s) ease-in-out infinite;
animation-delay: var(--delay, 0s);
}
.d_cube {
position: relative;
width: var(--size, 44px);
height: var(--size, 44px);
transform-style: preserve-3d;
animation: spin_xyz var(--spin, 26s) linear infinite;
animation-delay: var(--delay, 0s);
}
.d_face {
position: absolute;
inset: 0;
border: 1px solid rgba(var(--lilac_rgb), 0.35);
background: rgba(var(--accent_rgb), 0.07);
}
.d_ring {
width: var(--size, 110px);
height: var(--size, 110px);
border: 2px solid rgba(var(--accent_rgb), 0.3);
border-radius: 50%;
transform: rotateX(72deg);
animation: spin_z var(--spin, 20s) linear infinite;
}
:root[data-motion='soft'] .decor,
:root[data-motion='soft'] .orbit,
:root[data-motion='off'] .decor,
:root[data-motion='off'] .orbit {
display: none;
}
:root[data-motion='soft'] .progress_fill::after,
:root[data-motion='soft'] .cube_wrap {
animation: none;
}
.confetti {
position: fixed;
left: 0;
right: 0;
top: 18%;
height: 0;
z-index: 15;
pointer-events: none;
perspective: 700px;
}
.confetti span {
position: absolute;
top: 0;
width: 9px;
height: 14px;
border-radius: 2px;
background: var(--c, var(--violet));
animation: confetti_fall var(--t, 1.8s) var(--d, 0s) cubic-bezier(0.2, 0.7, 0.4, 1) forwards;
}
.s0 {
--c: var(--violet);
}
.s1 {
--c: var(--lilac);
}
.s2 {
--c: #38bdf8;
}
.s3 {
--c: #34d399;
}
.s4 {
--c: #fbbf24;
}
.s5 {
--c: #fb7185;
}
.analysis_title {
margin: 34px 0 6px;
font-size: 24px;
}
.sub_title {
margin: 0 0 4px;
font-size: 18px;
font-weight: 600;
}
.sub_note {
margin: 0 0 14px;
font-size: 13px;
color: var(--muted);
}
.a_card {
margin-top: 14px;
padding: 20px;
background: rgba(23, 18, 42, 0.86);
border: 1px solid var(--line);
border-radius: var(--radius);
animation: rise_soft 0.6s var(--ease) both;
}
.kpis {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.kpi {
padding: 14px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
}
.kpi_value {
font-family: var(--font_head);
font-size: 24px;
font-weight: 600;
}
.kpi_label {
font-size: 12px;
color: var(--muted);
}
.cols {
display: flex;
align-items: flex-end;
gap: 4px;
height: 150px;
padding-top: 18px;
}
.col {
flex: 1;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
height: 100%;
min-width: 0;
}
.col_val {
font-size: 11px;
color: var(--muted);
min-height: 14px;
}
.col_fill {
width: 100%;
height: 0;
min-height: 2px;
border-radius: 6px 6px 2px 2px;
background: linear-gradient(180deg, var(--lilac), var(--violet));
transition: height 0.9s var(--ease);
}
.col_label {
margin-top: 6px;
font-size: 10px;
color: var(--muted);
white-space: nowrap;
}
.donut_row {
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
}
.donut {
flex: none;
width: 124px;
height: 124px;
}
.donut circle {
fill: none;
stroke-width: 14;
transform: rotate(-90deg);
transform-origin: 60px 60px;
}
.donut .donut_bg {
stroke: #2a2340;
}
.donut .donut_arc {
stroke: var(--c, var(--violet));
stroke-dasharray: 0 400;
transition: stroke-dasharray 1.1s var(--ease);
}
.donut text {
fill: #fff;
font-family: var(--font_head);
font-size: 18px;
font-weight: 600;
text-anchor: middle;
}
.legend {
flex: 1;
min-width: 150px;
display: grid;
gap: 6px;
font-size: 13px;
}
.legend_row {
display: flex;
align-items: center;
gap: 8px;
}
.dot {
flex: none;
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--c, var(--violet));
}
.legend_row .muted {
margin-left: auto;
}
.stack {
display: flex;
height: 14px;
border-radius: 14px;
overflow: hidden;
background: #2a2340;
}
.stack span {
width: 0;
background: var(--c);
transition: width 1s var(--ease);
}
.compare {
display: grid;
gap: 12px;
}
.compare_row {
padding: 12px 14px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
font-size: 14px;
}
.compare_row strong {
font-weight: 600;
}
.tag {
display: inline-block;
margin-top: 6px;
padding: 2px 10px;
font-size: 12px;
border-radius: 999px;
background: rgba(var(--accent_rgb), 0.2);
border: 1px solid rgba(var(--accent_rgb), 0.45);
}
.row_select {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 14px;
}
.row_select .field {
margin-top: 0;
flex: 1;
min-width: 150px;
}
.words {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.word {
padding: 4px 12px;
border-radius: 999px;
background: rgba(var(--accent_rgb), 0.16);
border: 1px solid rgba(var(--accent_rgb), 0.4);
animation: rise_soft 0.5s var(--ease) both;
animation-delay: calc(var(--i, 0) * 50ms);
}
.final_card {
border-color: rgba(var(--accent_rgb), 0.6);
box-shadow: 0 0 0 1px rgba(var(--accent_rgb), 0.25), 0 20px 50px rgba(var(--accent_rgb), 0.18);
}
.final_text {
margin: 0 0 16px;
padding-left: 18px;
display: grid;
gap: 6px;
font-size: 15px;
}
.final_row + .final_row {
margin-top: 14px;
}
.final_row .bar_track {
height: 14px;
}
.final_row .bar_fill {
background: var(--c);
}
.final_note {
font-size: 12px;
color: var(--muted);
}
.legend_inline {
display: flex;
flex-wrap: wrap;
gap: 14px;
margin: 0 0 14px;
font-size: 12px;
color: var(--muted);
}
.legend_inline span {
display: inline-flex;
align-items: center;
gap: 6px;
}