/* ManiaMapper's app shell. Original geometry; Nunito is bundled under OFL 1.1.
   The base stylesheet still owns functional controls and the separate admin UI. */
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 200 1000;
  font-display: swap; src: url("/static/fonts/nunito-variable.woff2") format("woff2");
}
.lazer-ui {
  --bg: #1b1621; --bg-deep: #211b29; --surface: #302637;
  --surface-2: #3b3044; --surface-3: #4a3b53;
  --border: #58415e; --border-2: #725477;
  --text: #fff6fd; --text-2: #dfcddd; --muted: #bca9bd;
  --pink: #ff83bc; --pink-deep: #e94b98; --pink-soft: #ff83bc1c;
  --cyan: #94e2d9; --cyan-soft: #94e2d91a;
  --radius: 12px; --radius-sm: 8px; --radius-xs: 6px;
  --font: "Nunito", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.18,.8,.25,1); --dock-height: 94px; --topbar-height: 62px;
  font-family: var(--font); background: var(--bg); overflow: hidden;
  color-scheme: dark; font-size: 15px;
}
.lazer-ui button, .lazer-ui input, .lazer-ui select { font-family: inherit; }
.lazer-ui button { -webkit-tap-highlight-color: transparent; }
.lazer-ui :focus-visible { outline: 2px solid #abfff2; outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 10px; z-index: 100; padding: 10px 20px; background: #231828; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.scene { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.scene-art { position: absolute; inset: 0; background: radial-gradient(ellipse at 17% 37%, #86476650, transparent 45%), radial-gradient(ellipse at 66% 82%, #68629c40, transparent 48%), linear-gradient(135deg, #493048, #322438 45%, #1c1a2c); }
.scene-art::before, .scene-art::after { content: ""; position: absolute; inset: 0; }
.scene-art::before { background: linear-gradient(137deg, transparent 24%, #ee94c411 24.1%, #bfb1ee0d 42%, transparent 42.1%), linear-gradient(32deg, #100f2870 24%, transparent 24.1%, transparent 66%, #a89ac211 66.1%); }
.scene-art::after { clip-path: polygon(0 81%, 13% 58%, 28% 77%, 47% 44%, 70% 83%, 87% 64%, 100% 79%, 100% 100%, 0 100%); background: linear-gradient(145deg, #e4adce0d, #171025a0); }
.scene-cover { width: 100%; height: 100%; object-fit: cover; filter: blur(18px) saturate(.7); opacity: .38; transform: scale(1.08); animation: scene-appear 700ms ease both; }
.scene-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #20172140, #19131e25 40%, #1b151fbb 100%), linear-gradient(0deg, #17131bd9, transparent 60%); }
.scene-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(60deg, transparent 49.7%, #e1c8df60 50%, transparent 50.3%), linear-gradient(-60deg, transparent 49.7%, #e1c8df60 50%, transparent 50.3%); background-size: 160px 280px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.scene-triangle { position: absolute; width: 100px; aspect-ratio: 1; border: 1px solid #f6b0d223; clip-path: polygon(50% 0,100% 100%,0 100%); background: #f6b0d20a; animation: float-triangle 18s ease-in-out infinite alternate; }
.triangle-a { top: 29%; left: 6%; rotate: -20deg; }
.triangle-b { bottom: 17%; left: 36%; width: 62px; rotate: 22deg; animation-delay: -8s; }
.triangle-c { top: 10%; left: 40%; width: 40px; animation-delay: -12s; }

/* A compact game-like top rail and persistent bottom actions. */
.studio-topbar { height: var(--topbar-height); padding: 0 30px; display: flex; align-items: center; gap: 24px; background: #19151fef; border-bottom: 1px solid #ffffff0a; position: relative; z-index: 5; }
.studio-brand { color: #fff; display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 950; letter-spacing: -.7px; white-space: nowrap; }
.studio-brand:hover { text-decoration: none; }
.brand-light { font-weight: 500; color: #ded1df; }
.studio-brand small { margin-left: 9px; color: var(--pink); font-size: 9px; font-weight: 900; letter-spacing: 1px; vertical-align: middle; }
.mini-mania { display: flex; align-items: center; justify-content: center; gap: 3px; width: 33px; height: 33px; border: 2px solid var(--pink); border-radius: 50%; }
.mini-mania i { display: block; width: 3px; height: 15px; border-radius: 2px; background: var(--pink); }
.mini-mania i:nth-child(2),.mini-mania i:nth-child(3) { height: 21px; }
.topbar-divider { width: 1px; height: 26px; background: #ffffff18; }
.mode-label { display: flex; align-items: center; gap: 9px; color: #d9c6d9; font-size: 13px; }
.mode-dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 12px #94e2d940; }
.mode-label b { padding: 2px 7px; border-radius: 4px; background: #ffffff0b; font-size: 11px; }
.topbar-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.topbar-link,.motion-toggle { background: none; border: 0; color: #c8b8cd; font: inherit; font-size: 12px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; padding: 8px 0; }
.topbar-link>span:first-child { font-size: 17px; color: var(--pink); }
.topbar-link:hover,.motion-toggle:hover { color: white; text-decoration: none; }
.motion-toggle { border-left: 1px solid #ffffff13; padding-left: 22px; font-size: 10px; }
.motion-symbol { font-size: 14px; color: var(--pink); }
.release-status { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: none; }
.release-version { border: 1px solid #f7a8cf38; border-radius: 5px; background: #e18bbd12; color: #ffcbe5; font: inherit; font-weight: 850; font-size: 11px; padding: 3px 9px; cursor: pointer; white-space: nowrap; }
.release-version:hover { background: #e18bbd30; border-color: #f7a8cf85; }
.release-age { font-size: 9px; color: #baa6be; white-space: nowrap; }
.release-link { border: 0; padding: 0; background: none; color: var(--pink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.release-dialog { margin: auto; width: min(610px,calc(100% - 32px)); max-height: min(760px,calc(100dvh - 48px)); padding: 28px; border: 1px solid #ae7b9c66; border-radius: 18px; color: var(--text); background: radial-gradient(ellipse at 100% 0,#7a496836,transparent 50%),#29202f; box-shadow: 0 25px 100px #0a060a80; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #86637c88 transparent; }
.release-dialog::backdrop { background: #100b19c9; backdrop-filter: blur(8px); }
.release-dialog[open] { animation: panel-enter 220ms var(--ease); }
.release-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.release-dialog h2 { margin: 4px 0 0; font-size: 33px; letter-spacing: -1px; }.release-dialog h2 span { color: var(--pink); }
.release-close { width: 38px; height: 38px; border: 1px solid #e0a4c62b; border-radius: 50%; background: #e0a4c611; color: #fbd9eb; font-size: 27px; line-height: 1; cursor: pointer; }.release-close:hover { background: #e0a4c632; }
.release-dialog-intro { color: #c0a9bf; font-size: 12px; margin: 9px 0 24px; }
#release-message { color: #cdb5cc; font-size: 13px; }#release-retry { margin: 14px 0; }
.release-entry { position: relative; padding: 0 0 24px 22px; border-left: 1px solid #cc91b438; margin-left: 5px; }
.release-entry::before { content: ''; position: absolute; width: 9px; height: 9px; top: 5px; left: -5px; background: #95738e; border: 2px solid #29202f; border-radius: 50%; }
.release-entry.is-current::before { background: var(--pink); box-shadow: 0 0 12px #ef8cc560; }
.release-entry:last-child { padding-bottom: 0; border-left-color: transparent; }
.release-entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 10px; color: #bca5bb; }
.release-entry-version { font-size: 14px; font-weight: 900; color: #edc5df; }
.release-current { padding: 2px 7px; background: #b2e0d51a; color: #b2e0d5; border-radius: 4px; font-size: 9px; font-weight: 800; }
.release-entry h3 { font-size: 16px; margin: 9px 0 8px; font-weight: 850; }
.release-entry ul { padding-left: 17px; color: #d3bdd1; font-size: 12px; line-height: 1.7; }.release-entry li+li { margin-top: 5px; }
.studio { display: grid; grid-template-columns: minmax(360px, .92fr) minmax(520px, 1.08fr); gap: 32px; height: calc(100dvh - var(--topbar-height) - var(--dock-height)); max-width: 1700px; padding: 0 48px 0 38px; margin: auto; }
.song-stage { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 30px 18px 24px 0; }
.stage-heading { display: flex; justify-content: space-between; align-items: center; color: #baa6be; font-size: 10px; letter-spacing: 2px; font-weight: 800; }
.stage-number { font-size: 9px; color: #aa90ac; letter-spacing: 1px; }
.song-info { margin-top: 30px; position: relative; z-index: 1; }
.status-tag { display: inline-block; background: #eda6c315; color: #efbbd6; border: 1px solid #eca4c826; padding: 3px 8px; font-weight: 850; font-size: 9px; letter-spacing: 1.3px; border-radius: 3px; }
#stage-title { font-size: clamp(32px, 3.7vw, 58px); font-weight: 950; letter-spacing: -1.9px; line-height: 1.08; margin-top: 14px; text-wrap: balance; overflow-wrap: anywhere; }
#stage-title span { color: #efbdd9; }
.has-source #stage-title { font-size: clamp(30px, 3vw, 47px); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#stage-artist { color: #d2bcd2; font-size: 16px; margin-top: 12px; overflow-wrap: anywhere; }
.song-facts { display: flex; gap: 10px; align-items: center; color: #b29cb6; font-size: 11px; margin-top: 15px; }
.fact-separator { color: #765a7b; }
.stage-visual { position: relative; flex: 1; min-height: 100px; max-height: 430px; display: grid; grid-template-rows: minmax(0,1fr); margin: 7px 0 10px; }
.stage-orbits { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; container-type: size; }
.stage-disc { position: relative; width: min(275px,96cqmin); aspect-ratio: 1; border: 3px solid #ffb3d073; border-radius: 50%; background: radial-gradient(circle at 30% 20%, #b76a9470, #56394fbb 75%); box-shadow: 0 0 0 9px #ffffff04, 0 15px 80px #c86a9920, inset 0 0 50px #f399d012; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-7deg); animation: disc-breathe 4s ease-in-out infinite; }
.stage-disc>img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.disc-shade { position: absolute; inset: 0; background: linear-gradient(180deg,#1e132114,#27142996); }
.disc-word { position: relative; color: #fff3fa; font-size: min(50px,18cqmin); font-weight: 1000; line-height: .9; letter-spacing: -2px; text-align: center; }
.disc-word>span { display: block; font-size: clamp(6px,3.5cqmin,12px); letter-spacing: clamp(2px,1.4cqmin,5px); font-weight: 750; margin-top: clamp(4px,3cqmin,12px); text-transform: uppercase; padding-left: clamp(2px,1.4cqmin,5px); }
.mania-lanes { display: flex; gap: min(8px,2cqmin); height: min(70px,24cqh); align-items: flex-end; margin-bottom: min(14px,4cqh); position: relative; }
.mania-lanes i { display: block; width: min(10px,3cqmin); height: min(64px,22cqh); background: #ffcee911; border-radius: 5px; overflow: hidden; position: relative; }
.mania-lanes i:nth-child(n+5) { display: none; }
.is-7k .mania-lanes { gap: min(5px,1.5cqmin); }
.is-7k .mania-lanes i:nth-child(-n+7) { display: block; width: min(8px,3cqmin); }
.is-10k .mania-lanes { gap: min(4px,1.2cqmin); }
.is-10k .mania-lanes i { display: block; width: min(6px,2cqmin); }
.mania-lanes b { position: absolute; left: 0; width: 100%; height: 23px; border-radius: 4px; background: #ffe0f0; animation: note-travel 2.7s ease-in-out infinite; }
.mania-lanes i:nth-child(2n) b { height: 40px; background: #eea8cd; animation-delay: -.9s; }
.mania-lanes i:nth-child(3n) b { animation-delay: -1.7s; background: #caeae7; }
.mania-lanes i:nth-child(4n) b { animation-delay: -.4s; }
.orbit { position: absolute; border: 1px solid #ffb9dd21; border-radius: 50%; width: min(318px,104cqmin); aspect-ratio: 1; }
.orbit-outer { width: min(370px,114cqmin); border-style: dashed; opacity: .75; animation: orbit-spin 100s linear infinite; }
.orbit-spark { width: 5px; height: 5px; border-radius: 1px; background: #ffe1ef; position: absolute; box-shadow: 0 0 15px #ef93c6; transform: rotate(45deg); }
.spark-one { left: 17%; top: 28%; }.spark-two { right: 14%; bottom: 29%; width: 3px; height: 3px; }
.chart-ticket { display: flex; align-items: center; padding: 16px 23px; gap: 16px; background: linear-gradient(105deg,#f391bd25,#ffffff09); border-left: 3px solid var(--pink); border-radius: 4px 12px 12px 4px; transform: skewX(-7deg); margin-right: 12px; }
.chart-ticket>* { transform: skewX(7deg); }
.ticket-icon { font-size: 25px; color: var(--pink); }
.ticket-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ticket-main strong { font-size: 26px; font-weight: 950; line-height: 1.1; letter-spacing: -.8px; }
.ticket-main strong span { font-size: 10px; color: #dbb6d3; font-weight: 700; margin-left: 8px; letter-spacing: .3px; }
#stage-style { font-size: 11px; color: #d1b5d0; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-keys { display: flex; flex-direction: column; border-left: 1px solid #d3a9c631; padding-left: 22px; text-align: center; }
.ticket-keys strong { font-size: 27px; font-weight: 900; line-height: 1.1; }.ticket-keys span { font-size: 9px; color: #c3adc2; }
.stage-note { margin: 16px 5px 0; font-size: 10px; color: #b6a0b9; line-height: 1.7; }

/* Main carousel-like workspace. Existing form nodes remain intact. */
.workspace { min-width: 0; min-height: 0; position: relative; display: flex; flex-direction: column; padding-top: 29px; }
.workspace::before { content: ""; position: absolute; inset: 0 -48px 0 -20px; background: linear-gradient(100deg,#1d17275c,#21192385); transform: skewX(-4deg); border-left: 1px solid #ffffff05; pointer-events: none; z-index: -1; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 18px; }
.eyebrow { font-size: 9px; font-weight: 900; letter-spacing: 2px; color: #bea3be; }
.workspace-heading h2 { font-size: clamp(23px,2.2vw,33px); font-weight: 900; letter-spacing: -.8px; margin-top: 4px; }
.workspace-heading h2 span { color: var(--pink); }
.workspace-step { font-size: 48px; font-weight: 1000; color: #ddbdcd13; letter-spacing: -3px; }
.studio-tabs { display: flex; border-bottom: 1px solid #f4bfd51c; gap: 4px; padding: 0 2px; flex: none; }
.studio-tab { position: relative; color: #b49db6; background: transparent; border: 0; border-radius: 6px 6px 0 0; font: inherit; font-size: 13px; font-weight: 800; padding: 13px 17px; cursor: pointer; transition: color 180ms,background 180ms; white-space: nowrap; }
.studio-tab>span { font-size: 9px; margin-right: 6px; opacity: .65; }
.studio-tab::after { content: ""; position: absolute; height: 3px; background: var(--pink); bottom: -1px; left: 13px; right: 13px; border-radius: 3px; transform: scaleX(0); transition: transform 260ms var(--ease); box-shadow: 0 0 15px #ee92c440; }
.studio-tab.is-active { color: #ffe3f1; background: linear-gradient(#fb9ecc00,#fb9ecc12); }.studio-tab.is-active::after { transform: scaleX(1); }.studio-tab:hover { color: white; background-color: #ffffff05; }
.workspace-scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 23px 11px 35px 5px; scrollbar-width: thin; scrollbar-color: #86637c55 transparent; scroll-padding-top: 20px; }
.studio-view { outline: none; min-width: 0; }
.studio-view.is-entering { animation: panel-enter 350ms var(--ease) both; }
.lazer-ui .card { margin: 0 0 21px; background: #32273b80; border: 1px solid #dac0d110; border-radius: 10px; padding: 20px; box-shadow: 0 8px 30px #110a1710; }
.lazer-ui .card-head { gap: 10px; margin-bottom: 19px; }
.lazer-ui .card-head h2 { font-size: 17px; font-weight: 850; letter-spacing: -.3px; }
.lazer-ui .card-sub { font-size: 11px; line-height: 1.6; margin-top: 4px; }
.lazer-ui .step { display: none; }
#card-source { padding: 0; background: none; border: none; box-shadow: none; }
#card-source>.card-head { display: none; }
.lazer-ui.is-hosted #card-source>.card-head { display: block; margin: 0 2px 13px; }
.lazer-ui.is-hosted #card-source>.card-head h2 { display: none; }
.lazer-ui .tabs { background: #1d1624a3; border: 0; padding: 4px; gap: 4px; border-radius: 7px; margin-bottom: 17px; }
.lazer-ui .tab { font-size: 12px; padding: 9px; color: #b5a0b9; }
.lazer-ui .tab.is-active { background: #5a405d; color: #ffe6f4; box-shadow: 0 3px 9px #130b1520; }
.lazer-ui .dropzone { border: 1px dashed #d797c259; background: radial-gradient(ellipse at 50% 10%, #da8ec116, transparent),#382a4080; min-height: 207px; border-radius: 10px; padding: 27px 18px; transition: border-color 200ms, background 200ms, transform 250ms var(--ease); }
.lazer-ui .dropzone:hover,.lazer-ui .dropzone.is-dragging { border-color: #edacce; background: #79527344; transform: translateY(-2px); }
.lazer-ui .dz-icon { width: 35px; height: 35px; padding: 8px; box-sizing: content-box; border: 1px solid #fca8ce27; border-radius: 50%; background: #f59bca0c; color: #eebad6; }
.lazer-ui .dz-title { font-size: 16px; font-weight: 850; }.lazer-ui .dz-hint { font-size: 11px; color: #bba5bc; }.lazer-ui .dz-hint u { color: var(--pink); text-underline-offset: 3px; }
.lazer-ui .selected-source { border: 1px solid #f5a5cb59; background: linear-gradient(105deg,#b7609240,#40314490); border-radius: 8px; padding: 14px; }
.lazer-ui .recent { margin-top: 22px; }.lazer-ui .recent>summary { font-size: 12px; padding-bottom: 10px; }
.lazer-ui .recent-list { max-height: 300px; padding: 3px; gap: 8px; }
.lazer-ui .recent-item { padding: 11px 13px; border-radius: 7px; background: #3a2b428c; transition: transform 220ms var(--ease),background 180ms,border-color 180ms; }
.lazer-ui .recent-item:hover { transform: translateX(3px); background: #5d405caa; border-color: #bc8baa; }.lazer-ui .recent-item.is-selected { border-color: var(--pink); background: #7b47616b; }
.lazer-ui .ri-thumb { width: 58px; height: 41px; }.lazer-ui .ri-name { font-weight: 800; font-size: 13px; }.lazer-ui .ri-meta { font-size: 10px; }.lazer-ui .ri-del { min-width: 34px; min-height: 34px; }
.panel-next { display: flex; width: 100%; text-align: left; align-items: center; justify-content: space-between; padding: 16px 20px; background: linear-gradient(100deg,#d97fa522,#d97fa508); border: 1px solid #d797ba24; border-left: 3px solid #d88cb3; border-radius: 4px 9px 9px 4px; color: #f5d2e6; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform 230ms var(--ease),background 230ms; }
.panel-next small { display: block; font-size: 8px; letter-spacing: 1.5px; margin-bottom: 4px; color: #c391b2; }.panel-next>span:last-child { font-size: 26px; font-weight: 300; }.panel-next:hover { transform: translateX(3px); background: #d97fa529; }
.panel-tip { display: flex; gap: 14px; padding: 6px 17px; color: #c3a9c3; font-size: 12px; line-height: 1.7; }.panel-tip>span { font-size: 25px; color: var(--pink); }
.lazer-ui .input { background-color: #1e1825b0; border-color: #82608045; font-size: 13px; min-height: 41px; }.lazer-ui .input::placeholder { color: #a18aa6; }.lazer-ui .input:hover { border-color: #a1779770; }
.lazer-ui .field>span,.lazer-ui .field-label { font-size: 11px; }.lazer-ui .grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; }.lazer-ui .check { font-size: 12px; line-height: 1.6; min-height: 37px; }.lazer-ui .check input { width: 17px; height: 17px; }
.lazer-ui .btn { min-height: 38px; font-size: 12px; font-weight: 850; border-radius: 6px; }.lazer-ui .btn-accent { background: #f094bf; color: #392039; border-color: #ffb9d7; box-shadow: 0 3px 0 #9b416d; }.lazer-ui .btn-accent:hover { background: #ffb5d6; box-shadow: 0 3px 0 #9b416d,0 0 20px #eb79b129; }
.lazer-ui .small,.lazer-ui .note { font-size: 11px; }.lazer-ui .hint { font-size: 10px; }.lazer-ui .segmented { border-color: #b07da53a; background: #211928; }.lazer-ui .seg { padding: 8px 13px; font-size: 11px; }.lazer-ui .seg.is-active { color: #fff1fa; background: #71466b; }
.lazer-ui .key-count-row { margin-bottom: 17px; }.lazer-ui .slider-value { font-size: 25px; font-weight: 1000; }.lazer-ui .slider-head label { font-size: 12px; }.lazer-ui .slider-foot { margin-top: 10px; }.lazer-ui .diff-toggles { margin-bottom: 17px; }.lazer-ui .advanced { border-top-color: #ad7d9e30; }.lazer-ui .advanced>summary { font-size: 12px; }
.lazer-ui .style-grid { display: flex; flex-direction: column; gap: 8px; }
.lazer-ui .style-card { position: relative; border: 1px solid #bd89af24; border-left: 3px solid #9e789c; padding: 13px 42px 13px 50px; background: linear-gradient(105deg,#46354c,#3b2c4266); border-radius: 5px 9px 9px 5px; transition: transform 230ms var(--ease),background 230ms,border-color 230ms; }
.lazer-ui .style-card::before { content: "▥"; position: absolute; left: 17px; top: 17px; color: #c6a0c1; font-size: 20px; }.lazer-ui .style-card[data-style="auto"]::before { content: "✦"; }.lazer-ui .style-card[data-style="ln"]::before { content: "Ⅱ"; }.lazer-ui .style-card[data-style="speed"]::before { content: "»"; }.lazer-ui .style-card[data-style="chordjack"]::before { content: "▤"; }.lazer-ui .style-card[data-style="tech"]::before { content: "◇"; }
.lazer-ui .style-card strong { font-size: 13px; font-weight: 900; margin-bottom: 2px; }.lazer-ui .style-card span { font-size: 11px; line-height: 1.5; }
.lazer-ui .style-card:hover { transform: translateX(4px); background: #79536e65; border-color: #c58aaf70; }.lazer-ui .style-card.is-active { transform: translateX(-4px); border-color: #f9b0d0; border-left-color: #fff0f8; color: white; background: linear-gradient(105deg,#a6648e90,#775c7950); box-shadow: 0 4px 18px #0c061620; }.lazer-ui .style-card.is-active::after { content: "✓"; position: absolute; right: 16px; top: 18px; color: #ffe6f3; font-size: 18px; }
.lazer-ui .card-result { border-top: 3px solid #a5e6d7; }.lazer-ui .result-kicker { color: #a5e6d7; }.lazer-ui .result-head h2 { font-size: 22px; line-height: 1.3; }.lazer-ui .result-head { flex-wrap: wrap; }.lazer-ui .stat-grid { grid-template-columns: repeat(auto-fit,minmax(80px,1fr)); }.lazer-ui .result-cols { grid-template-columns: 1fr; }
.lazer-ui .bar { background: #211729; }.lazer-ui .bar-fill { background: linear-gradient(90deg,#a886c9,#f49ac8); box-shadow: 0 0 13px #ea8db83a; }
.lazer-ui .preview-hint { white-space: normal; }.lazer-ui .diff-row { background: #2c2234; }.lazer-ui .prose { margin: 0; padding: 20px; border: 1px solid #dac0d110; border-radius: 10px; background: #32273b80; font-size: 13px; }.lazer-ui .site-footer { margin-top: 20px; padding: 15px 10px; font-size: 10px; }.lazer-ui .site-footer .chip { font-size: 10px; padding: 4px 9px; }
.studio-dock { position: fixed; bottom: 0; left: 0; width: 100%; height: var(--dock-height); background: #211b28f2; border-top: 1px solid #cba4bd20; z-index: 10; display: flex; align-items: stretch; gap: 20px; padding: 10px 37px 10px 24px; box-shadow: 0 -12px 45px #160e1c25; }
.dock-back { display: flex; align-items: center; gap: 23px; min-width: 195px; border: 1px solid #fb9ac253; border-bottom: 4px solid #b96b98; color: #ffe8f7; background: linear-gradient(115deg,#a34d84,#814875); border-radius: 6px; padding: 7px 23px; font: inherit; font-size: 15px; font-weight: 900; text-align: left; cursor: pointer; transform: skewX(-8deg); transition: background 180ms,translate 220ms var(--ease); }
.dock-back>* { transform: skewX(8deg); }.dock-back>span:first-child { font-size: 40px; line-height: 1; font-weight: 400; }.dock-back small { display: block; font-size: 7px; font-weight: 700; letter-spacing: .9px; color: #efb6d5; }.dock-back:hover { background: #b16695; translate: -3px 0; }
.dock-tools { display: flex; align-items: stretch; gap: 8px; margin-left: 7px; }
.dock-tool { display: flex; align-items: center; gap: 11px; padding: 10px 17px; font: inherit; font-size: 12px; font-weight: 800; color: #decddd; border: 0; border-bottom: 3px solid #9ccfca; border-radius: 6px; background: #413747; transform: skewX(-8deg); cursor: pointer; transition: background 180ms,translate 180ms; text-align: left; }
.dock-tool>* { transform: skewX(8deg); }.dock-tool small { display: block; color: #b7a9bd; font-size: 7px; font-weight: 700; letter-spacing: .7px; margin-top: 3px; }.dock-icon { font-size: 24px; font-weight: 500; color: #add7d1; }.dock-tool:nth-child(2) { border-bottom-color: #b7a3df; }.dock-tool:nth-child(2) .dock-icon { color: #c5abe8; }.dock-tool:nth-child(3) { border-bottom-color: #e0b38e; }.dock-tool:nth-child(3) .dock-icon { color: #e0b38e; }.dock-tool:hover { background: #5a4860; translate: 0 -3px; }
.lazer-ui .go-bar { margin: 0 0 0 auto; display: flex; flex-wrap: nowrap; min-width: 0; align-items: center; gap: 18px; padding: 0; flex: 1; justify-content: flex-end; }
.lazer-ui .go-hint { max-width: 240px; font-size: 10px; line-height: 1.5; color: #c1a7bd; text-align: right; }
.dock-next { display: flex; align-items: center; justify-content: space-between; flex: none; min-width: 108px; gap: 12px; height: 100%; padding: 9px 17px; background: linear-gradient(115deg,#77536e,#533e59); border: 1px solid #f2abd158; border-bottom: 3px solid #e99ac3; border-radius: 6px; color: #ffe4f2; font: inherit; font-size: 14px; font-weight: 850; text-align: left; cursor: pointer; transition: background 180ms,translate 180ms; }
.dock-next small { display: block; font-size: 8px; letter-spacing: 1px; color: #dab4ce; }.dock-next .next-arrow { font-size: 28px; font-weight: 500; }.dock-next:hover { background: #8b5d7e; translate: 2px 0; }
.lazer-ui .btn-go { flex: none; position: relative; width: 126px; height: 126px; min-width: 0; margin: -47px 1px 0 0; border: 5px solid #ffdfef; border-radius: 50%; background: radial-gradient(circle at 25% 20%,#ee9bc8,#c65c9c); color: #fff5fc; font-size: 46px; font-weight: 1000; letter-spacing: -2px; box-shadow: 0 0 0 7px #e399c024,0 0 35px #db78ad26; transform: rotate(-8deg); transition: transform 350ms var(--ease),filter 200ms,box-shadow 200ms; animation: go-arrive 600ms var(--ease); padding: 0; gap: 0; }
.lazer-ui .btn-go>span { font-size: 44px; }.lazer-ui .btn-go:not(:disabled):hover { transform: rotate(-8deg) scale(1.09); filter: brightness(1.12); background: radial-gradient(circle at 25% 20%,#f7aad2,#dc71ad); box-shadow: 0 0 0 12px #e399c024,0 0 45px #db78ad36; }.lazer-ui .btn-go:disabled { opacity: .52; transform: rotate(-8deg); cursor: not-allowed; }.lazer-ui .btn-go:active:not(:disabled) { transform: rotate(-8deg) scale(.97); }
.lazer-ui .toasts { bottom: calc(var(--dock-height) + 15px); }.noscript-note { position: fixed; z-index: 100; bottom: 100px; left: 10%; right: 10%; padding: 25px; background: #59394d; border: 1px solid var(--pink); }
.lazer-ui.is-working .stage-disc { border-color: #ace6db8f; }.lazer-ui.is-working .status-tag { color: #b4ede2; }.lazer-ui.is-working .orbit-outer { animation-duration: 20s; }
@keyframes panel-enter { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes scene-appear { from { opacity: 0; } to { opacity: .38; } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes note-travel { 0% { transform: translateY(-42px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: .85; } 100% { transform: translateY(75px); opacity: 0; } }
@keyframes disc-breathe { 0%,100% { transform: rotate(-7deg) scale(.985); } 50% { transform: rotate(-7deg) scale(1); } }
@keyframes float-triangle { to { transform: translate(12px,-30px) rotate(20deg); } }
@keyframes go-arrive { from { opacity: 0; transform: rotate(-20deg) scale(.8); } to { opacity: .52; transform: rotate(-8deg); } }

/* Short displays, touch devices and narrow screens keep every control reachable. */
@media (min-width: 1500px) { .studio { gap: 65px; padding-left: 60px; padding-right: 65px; }.workspace-scroll { padding-right: 20px; }.song-info { margin-top: 42px; }.stage-visual { max-height: 430px; }.stage-disc { width: min(290px,96cqmin); }.orbit-inner { width: min(335px,104cqmin); }.orbit-outer { width: min(385px,114cqmin); } }
@media (max-height: 780px) and (min-width: 981px) { .song-stage { padding-top: 23px; }.song-info { margin-top: 18px; }#stage-title { font-size: 39px; }.stage-visual { min-height: 100px; grid-template-rows: minmax(0,1fr); gap: 0; }.stage-disc { width: min(200px,96cqmin); }.orbit-inner { width: min(225px,104cqmin); }.orbit-outer { width: min(250px,114cqmin); }.disc-word { font-size: min(33px,15cqmin); }.mania-lanes { height: min(43px,19cqh); margin-bottom: min(9px,4cqh); }.mania-lanes i { height: min(44px,18cqh); }.disc-word>span { font-size: min(9px,3.5cqmin); margin-top: min(9px,3cqmin); }.chart-ticket { padding-top: 12px; padding-bottom: 12px; }.stage-note { margin-top: 11px; }.workspace { padding-top: 23px; } }
@media (max-height: 640px) and (min-width: 981px) { .stage-visual { display: none; }.chart-ticket { margin-top: auto; }.song-facts { margin-bottom: 25px; }.studio { height: calc(100dvh - var(--topbar-height) - var(--dock-height)); }.lazer-ui { --dock-height: 77px; }.lazer-ui .btn-go { width: 104px; height: 104px; margin-top: -44px; font-size: 40px; } }
@media (max-width: 1150px) { .studio { grid-template-columns: minmax(295px,.8fr) minmax(470px,1.2fr); padding-left: 25px; padding-right: 25px; gap: 18px; }.studio-topbar { padding: 0 24px; gap: 18px; }.studio-dock { gap: 12px; padding-right: 25px; }.dock-back { min-width: 157px; gap: 14px; padding: 7px 15px; }.dock-tool { padding: 9px 12px; }.dock-tool small { display: none; }.lazer-ui .go-hint { max-width: 185px; }.studio-tab { padding: 13px 12px; } }
@media (max-width: 980px) { .lazer-ui { overflow: auto; --dock-height: 82px; }.studio { grid-template-columns: 1fr; display: block; height: auto; max-width: 780px; padding: 0 25px calc(var(--dock-height) + 30px); }.song-stage { display: grid; grid-template-columns: 1fr 200px; gap: 12px 25px; padding: 25px 0 20px; }.stage-heading { grid-column: 1/-1; }.song-info { margin: 0; }.stage-visual { grid-column: 2; grid-row: 2; min-height: 190px; margin: 0; grid-template-rows: minmax(0,1fr); gap: 0; }.stage-disc { width: 140px; }.orbit-inner { width: 157px; }.orbit-outer { width: 187px; }.mania-lanes { height: 34px; margin-bottom: 6px; }.mania-lanes i { height: 36px; width: 7px; }.disc-word { font-size: 31px; }.disc-word>span { font-size: 8px; margin-top: 7px; letter-spacing: 3px; }.chart-ticket { grid-column: 1; grid-row: 3; margin: 0; padding: 9px 15px; }.ticket-main strong { font-size: 23px; }.ticket-keys strong { font-size: 23px; }.stage-note { grid-column: 2; grid-row: 3; margin: 0; align-self: center; font-size: 9px; }#stage-title { font-size: 36px; margin-top: 10px; }#stage-artist { font-size: 13px; }.song-facts { font-size: 10px; }.workspace { padding-top: 15px; }.workspace::before { inset: 0 -25px; transform: none; }.workspace-scroll { overflow: visible; padding-right: 5px; padding-bottom: 15px; }.workspace-heading { padding-bottom: 14px; }.workspace-heading h2 { font-size: 27px; }.studio-tabs { position: sticky; top: 0; z-index: 4; background: #251e2ded; backdrop-filter: blur(14px); }.studio-tab { flex: 1; }.studio-dock { padding: 10px 22px 10px 17px; gap: 13px; }.dock-tool { padding: 8px 15px; }.dock-back { min-width: 140px; font-size: 13px; }.lazer-ui .go-hint { display: none; }.lazer-ui .btn-go { width: 101px; height: 101px; font-size: 40px; margin-top: -29px; border-width: 4px; }.lazer-ui .btn-go>span { font-size: 38px; }.lazer-ui .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1100px) and (min-width: 761px) { .studio-topbar { gap: 14px; }.topbar-links { gap: 14px; }.motion-toggle { padding-left: 14px; }.mode-label { font-size: 11px; gap: 6px; }.studio-brand { font-size: 20px; gap: 9px; } }
@media (max-width: 760px) { .lazer-ui { --topbar-height: 85px; }.studio-topbar { align-items: flex-start; padding-top: 14px; }.release-status { position: absolute; left: 24px; bottom: 9px; flex-direction: row; align-items: center; gap: 9px; }.release-version { padding: 2px 7px; font-size: 10px; }.topbar-divider,.mode-label { display: none; }.topbar-links { padding-top: 1px; } }
@media (max-width: 620px) { .studio-topbar { padding: 0 16px; gap: 12px; }.studio-brand { font-size: 19px; gap: 8px; }.studio-brand small { display: none; }.mini-mania { width: 29px; height: 29px; }.topbar-divider,.mode-label { display: none; }.topbar-links { gap: 15px; }.topbar-link { font-size: 11px; }.motion-toggle { padding-left: 0; border: 0; }.motion-toggle #motion-label { display: none; }.studio { padding-left: 18px; padding-right: 18px; }.song-stage { grid-template-columns: 1fr; gap: 14px; padding-top: 23px; }.stage-number { font-size: 8px; }.stage-visual { display: none; }.song-info { padding: 4px 0 7px; }#stage-title { font-size: 38px; line-height: 1.1; }#stage-title br { display: none; }#stage-title span::before { content: " "; }.has-source #stage-title { font-size: 31px; }.song-facts { margin-top: 11px; }.chart-ticket { grid-column: 1; grid-row: auto; margin-right: 5px; }.stage-note { display: none; }.workspace-heading h2 { font-size: 25px; }.workspace-step { font-size: 38px; }.workspace-heading { padding-bottom: 10px; }.studio-tab { padding: 13px 9px; font-size: 11px; }.studio-tab>span { display: none; }.workspace-scroll { padding-top: 19px; }.lazer-ui .card { padding: 17px; }.lazer-ui .card-head .link-btn { margin-left: 0; }.lazer-ui .dropzone { min-height: 180px; }.lazer-ui .dz-title { font-size: 14px; }.lazer-ui .dz-hint { font-size: 10px; }.studio-dock { height: 75px; padding: 9px 13px; gap: 9px; }.lazer-ui { --dock-height: 75px; }.dock-back { min-width: 0; padding: 5px 12px; gap: 8px; font-size: 11px; }.dock-back>span:first-child { font-size: 29px; }.dock-back small { display: none; }.dock-tools { gap: 7px; margin-left: 0; }.dock-tool { padding: 7px 11px; }.dock-tool>.dock-icon { font-size: 20px; }.dock-tool>span:last-child { display: none; }.dock-tool[data-open-view="details"] { display: none; }.lazer-ui .btn-go { width: 86px; height: 86px; margin-top: -25px; font-size: 34px; }.lazer-ui .btn-go>span { font-size: 33px; }.lazer-ui .go-bar { flex: 1; }.lazer-ui .preview-toolbar { gap: 5px; }.lazer-ui .grid-2 { grid-template-columns: 1fr; }.lazer-ui .bg-row { flex-wrap: wrap; }.lazer-ui .key-count-row { flex-wrap: wrap; }.lazer-ui .result-actions { align-items: stretch; }.lazer-ui .result-actions .btn { flex: 1; }.lazer-ui .q-grid { grid-template-columns: repeat(auto-fit,minmax(75px,1fr)); } }
@media (max-width: 360px) { .topbar-link span:last-child { display: none; }.dock-tool { padding: 7px 9px; }.dock-back { padding: 5px 9px; }.studio { padding-left: 12px; padding-right: 12px; }.lazer-ui .grid-4 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .lazer-ui *, .lazer-ui *::before, .lazer-ui *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.lazer-ui.motion-paused *, .lazer-ui.motion-paused *::before, .lazer-ui.motion-paused *::after { animation: none !important; }
.lazer-ui.motion-paused .studio-view.is-entering { animation: none; }
.lazer-ui.page-backgrounded *, .lazer-ui.page-backgrounded *::before, .lazer-ui.page-backgrounded *::after { animation-play-state: paused !important; }
.lazer-ui .status-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lazer-ui .stat { margin: 0; }
.lazer-ui .result-actions { margin-bottom: 20px; }
@media (min-width: 981px) and (min-height: 641px) { .lazer-ui .btn-go { margin-top: -62px; } }
@media (max-width: 620px) { .workspace::before { inset: 0 -18px; } }
@media (max-width: 360px) { .workspace::before { inset: 0 -12px; } }
@media (max-width: 620px) { .song-stage { grid-template-columns: minmax(0,1fr); }.song-stage>* { min-width: 0; } }

@media (max-width: 620px) { .studio-topbar { padding-top: 12px; }.release-status { left: 16px; }.release-dialog { padding: 22px 18px; max-height: calc(100dvh - 24px); }.release-dialog h2 { font-size: 28px; } }

@media (max-width: 1150px) { .lazer-ui .go-hint { display: none; }.dock-next { min-width: 94px; padding: 8px 13px; } }
@media (max-width: 760px) { .dock-tools { display: none; } }
@media (max-width: 620px) { .dock-next { min-width: 78px; padding: 6px 10px; font-size: 12px; height: 55px; gap: 9px; }.dock-next small { font-size: 7px; }.dock-next .next-arrow { font-size: 22px; }.lazer-ui .go-bar { gap: 16px; } }

@media (max-width: 980px) { .lazer-ui .go-bar { align-self: stretch; }.lazer-ui .btn-go { margin-top: -43px; } }
@media (max-width: 620px) { .lazer-ui .btn-go { margin-top: -30px; }.dock-back { flex: none; } }
