:root { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color-scheme: light; color: #30303d; background: #f6f5fa; --accent: #7c3aed; --muted: #888495; --line: #28213913; --mono: ui-monospace, SFMono-Regular, Consolas, monospace; } * { box-sizing: border-box; } body { margin: 0; overflow: hidden; -webkit-font-smoothing: antialiased; } button, input, select { font: inherit; } button { cursor: pointer; color: inherit; border: 1px solid var(--line); transition: background .18s, border-color .18s, transform .18s; } button:hover { background: #f3effc; border-color: #7c3aed44; } button:active { transform: translateY(1px); } button:disabled { cursor: default; opacity: .45; } svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; } .session-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; background: var(--accent); box-shadow: 0 0 0 4px #7c3aed0c; } main { height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; padding: 12px 20px 20px; } #viewport { position: relative; isolation: isolate; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid #28213916; border-radius: 16px; background: radial-gradient(ellipse at 40% 45%, #fff 15%, #f7f6fb 80%); box-shadow: 0 16px 50px #2a19460a; } #viewport > canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; } .scene-heading { position: absolute; top: 27px; left: 27px; pointer-events: none; } .eyebrow { font: 8px var(--mono); letter-spacing: 1.5px; color: #91869e; } h1 { font-size: clamp(17px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.8px; margin: 8px 0 0; } #source-name { margin: 9px 0 0; color: #948a9f; font: 10px var(--mono); max-width: 240px; overflow: hidden; text-overflow: ellipsis; } .scene-actions { position: absolute; top: 23px; right: 22px; display: flex; align-items: center; gap: 15px; } .camera-mode { display: flex; gap: 7px; align-items: center; color: #88818f; font: 9px var(--mono); } .mode-dot { width: 5px; height: 5px; border-radius: 50%; background: #a7a0b0; } .mode-follow { display: none; } body:has(#follow-camera:checked) .mode-follow { display: inline; } body:has(#follow-camera:checked) .mode-free { display: none; } body:has(#follow-camera:checked) .mode-dot { background: var(--accent); box-shadow: 0 0 0 3px #7c3aed12; } .view-toolbar { display: flex; gap: 4px; } .view-toolbar button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; line-height: 1; border-radius: 7px; background: #ffffffd9; color: #696171; } .view-toolbar svg { display: block; flex: none; pointer-events: none; } .preview-wrap { position: absolute; top: 81px; right: 22px; width: 190px; padding: 0; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 8px 26px #2716380e; text-align: left; } .preview-wrap:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 28px #2716381a; } .preview-heading { display: flex; gap: 7px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); font: 7px var(--mono); letter-spacing: .6px; color: #71677e; } .preview-heading > span:last-child { margin-left: auto; font-size: 6px; color: var(--accent); } .preview-heading .session-dot { width: 4px; height: 4px; box-shadow: none; } #preview { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #f1eef6; } .preview-time { position: absolute; right: 7px; bottom: 7px; padding: 3px 5px; background: #19101f99; color: #fff; border-radius: 3px; font: 8px var(--mono); } .loading-badge { position: absolute; top: 115px; left: 27px; display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid #7c3aed20; border-radius: 7px; background: #fffffff0; color: #8e65b6; font: 9px var(--mono); } .loading-badge::before { content: ''; width: 10px; height: 10px; border: 1px solid #7c3aed25; border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .scene-readouts { position: absolute; left: 28px; bottom: 149px; display: flex; gap: 28px; pointer-events: none; } .scene-readouts > div { min-width: 90px; } .readout-label { display: block; color: #93899f; font: 7px var(--mono); letter-spacing: 1px; margin-bottom: 6px; } .scene-readouts strong { font-size: 18px; letter-spacing: -.5px; font-weight: 450; font-variant-numeric: tabular-nums; } .load-meter { display: block; height: 2px; width: 80px; margin-top: 8px; background: #7c3aed12; } .load-meter span { display: block; width: 0; height: 100%; background: #ac85e2; transition: width .25s; } .playback-dock { position: absolute; left: 20px; right: 20px; bottom: 48px; display: flex; align-items: center; gap: 15px; padding: 14px 16px; background: #ffffffdc; border: 1px solid #28213916; border-radius: 12px; box-shadow: 0 8px 30px #28143f08; backdrop-filter: blur(18px); } .primary { width: 38px; height: 38px; min-width: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; background: #7c3aed; color: #fff; border: 0; border-radius: 50%; } .primary:hover { background: #6b2cda; } .primary svg { display: block; flex: none; width: 18px; height: 18px; pointer-events: none; } .primary .play-icon { fill: currentColor; stroke: none; } .primary .pause-icon { display: none; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: butt; } .primary[aria-pressed=true] .play-icon { display: none; } .primary[aria-pressed=true] .pause-icon { display: block; } .timeline { flex: 1; min-width: 0; } .timeline-heading { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: #83758f; font: 7px var(--mono); letter-spacing: .6px; } #time-value { white-space: nowrap; letter-spacing: 0; } .filmstrip-track { position: relative; height: 30px; background: #ede8f3; border-radius: 4px; } #filmstrip { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: .65; border-radius: 4px; } .filmstrip-track input[type=range] { position: absolute; inset: 0; height: 30px; width: 100%; margin: 0; z-index: 1; background: transparent; } .filmstrip-track input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(90deg, #7c3aed40 var(--range-fill, 0%), transparent var(--range-fill, 0%)); height: 30px; border-radius: 4px; } .filmstrip-track input[type=range]::-webkit-slider-thumb { width: 5px; height: 36px; margin-top: -3px; border: 1px solid #fff; border-radius: 2px; box-shadow: 0 0 0 1px #7c3aed80; } .filmstrip-track input[type=range]::-moz-range-track { background: #7c3aed16; height: 30px; } .filmstrip-track input[type=range]::-moz-range-thumb { width: 4px; height: 36px; border: 1px solid white; border-radius: 2px; } #speed { width: 53px; padding: 7px 3px; border: 0; background: transparent; font: 10px var(--mono); } #frame-value { min-width: 61px; text-align: right; padding-left: 10px; border-left: 1px solid var(--line); font: 9px var(--mono); color: #8c8198; } .viewport-footer { position: absolute; bottom: 20px; left: 27px; right: 27px; display: flex; gap: 15px; justify-content: space-between; color: #9d94a6; font: 8px var(--mono); pointer-events: none; } .viewport-footer i { font-style: normal; padding: 0 3px; } #render-stats { white-space: nowrap; } aside { min-height: 0; overflow: auto; background: #fff; border: 1px solid #28213912; border-radius: 16px; scrollbar-width: thin; scrollbar-color: #ded4eb transparent; } .inspector-heading { padding: 25px 22px 20px; } .inspector-heading .eyebrow { font-size: 7px; letter-spacing: 1.1px; } h2 { font-size: 23px; letter-spacing: -.7px; font-weight: 450; display: flex; justify-content: space-between; margin: 8px 0 0; } h2 span { color: var(--accent); font-size: 21px; } .inspector-heading p { color: #a093ac; font-size: 10px; margin: 8px 0 0; } .panel-section { padding: 20px 22px; border-top: 1px solid var(--line); } .section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; } h3 { margin: 0; font-size: 12px; font-weight: 550; letter-spacing: -.1px; } .section-tag { padding: 4px 5px; border-radius: 3px; background: #7c3aed08; color: #a27ac9; font: 7px var(--mono); letter-spacing: .6px; } .budget-readout { display: flex; align-items: baseline; gap: 8px; margin: -1px 0 8px; } .budget-readout strong { color: #7836ce; font-size: 33px; font-weight: 450; letter-spacing: -1.7px; font-variant-numeric: tabular-nums; } .budget-readout > span { color: #a090af; font-size: 10px; } .range-endpoints { display: flex; justify-content: space-between; color: #a092ae; font: 8px var(--mono); margin-top: 3px; } .hint { color: #9a8da6; font-size: 10px; line-height: 1.8; margin: 11px 0 0; } .range-field { margin-top: 17px; } .field-title { display: flex; gap: 8px; justify-content: space-between; color: #81748d; font-size: 10px; margin: 0 0 8px; } output { font-variant-numeric: tabular-nums; } .field-title output { color: #a187b8; font: 9px var(--mono); } input[type=range] { display: block; width: 100%; appearance: none; -webkit-appearance: none; height: 21px; margin: 0; background: transparent; cursor: pointer; } input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #a27bd6 var(--range-fill, 0%), #eee8f4 var(--range-fill, 0%)); } input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: #eae3f2; } input[type=range]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border: 2px solid white; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px #7c3aed22; } input[type=range]::-moz-range-thumb { width: 9px; height: 9px; border: 2px solid white; border-radius: 50%; background: var(--accent); } .check { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; color: #786c85; font-size: 11px; cursor: pointer; } input[type=checkbox] { appearance: none; -webkit-appearance: none; position: relative; width: 28px; height: 16px; min-width: 28px; border: 0; border-radius: 10px; background: #eae3f1; margin: 0; cursor: pointer; } input[type=checkbox]::after { content: ''; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #34204415; transition: transform .18s; } input[type=checkbox]:checked { background: #9160d4; } input[type=checkbox]:checked::after { transform: translateX(12px); } input:disabled, select:disabled { opacity: .35; cursor: default; } select { display: block; width: 100%; padding: 10px; border: 1px solid #28213916; border-radius: 6px; color: #7c6a8a; background: #faf8fc; font-size: 10px; } .advanced-panel { padding-top: 16px; padding-bottom: 16px; } .advanced-panel summary { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #8c7c99; cursor: pointer; list-style: none; } .advanced-panel summary::-webkit-details-marker { display: none; } .advanced-panel summary span { color: #a58bbd; font-size: 16px; transition: transform .18s; } .advanced-panel[open] summary span { transform: rotate(45deg); } .advanced-content { margin-top: 17px; } .track-status { font: 9px / 1.7 var(--mono); color: #9c74bd; } .track-load { overflow-wrap: anywhere; } .track-load button { display: block; margin-top: 8px; padding: 6px 10px; border-radius: 6px; background: #f7f2ff; color: var(--accent); font-size: 10px; } .track-load button[hidden] { display: none; } .inspector-footer { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 21px 12px; color: #ad9fb9; font: 7px var(--mono); letter-spacing: .25px; } .inspector-footer .session-dot { width: 4px; height: 4px; box-shadow: none; } #toast { position: absolute; z-index: 9; bottom: 205px; left: 50%; transform: translateX(-50%); max-width: 85%; border: 1px solid #7c3aed2a; background: #fffffff5; color: #805a9e; border-radius: 9px; padding: 12px 18px; font: 10px / 1.8 var(--mono); pointer-events: none; backdrop-filter: blur(18px); box-shadow: 0 10px 30px #27163812; } #toast.error { border-color: #bf668d44; color: #a73d68; } .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } [hidden] { display: none !important; } :focus-visible { outline: 2px solid #a278db; outline-offset: 4px; } #viewer-shell:fullscreen { height: 100dvh; padding: 16px; background: #f6f5fa; } @media (max-width: 1100px) { main { grid-template-columns: minmax(0, 1fr) 260px; gap: 12px; padding: 12px; } .camera-mode { display: none; } .scene-heading { top: 23px; left: 21px; } h1 { max-width: 230px; font-size: 18px; } .preview-wrap { width: 150px; top: 85px; right: 17px; } .preview-heading { font-size: 6px; padding: 8px; } .preview-heading > span:last-child { display: none; } .viewport-footer > span:first-child { max-width: 70%; line-height: 1.8; } .inspector-heading, .panel-section { padding-left: 19px; padding-right: 19px; } } @media (max-width: 720px) { body { overflow: auto; } main { height: auto; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px; } #viewport { height: 76dvh; min-height: 470px; } .scene-heading { top: 20px; left: 18px; } .scene-heading .eyebrow { font-size: 6px; letter-spacing: 1px; } h1 { font-size: 16px; max-width: 205px; } #source-name { font-size: 8px; } .scene-actions { top: 17px; right: 12px; } .view-toolbar { gap: 3px; } .view-toolbar button { width: 26px; height: 28px; } .view-toolbar svg { width: 13px; height: 13px; } .preview-wrap { top: 95px; width: 130px; right: 13px; } .loading-badge { top: 110px; left: 15px; font-size: 7px; padding: 7px; } .scene-readouts { left: 19px; bottom: 141px; gap: 20px; } .scene-readouts strong { font-size: 16px; } .playback-dock { left: 10px; right: 10px; bottom: 48px; gap: 10px; padding: 12px 10px; } .primary { width: 32px; height: 32px; min-width: 32px; } #frame-value { display: none; } #speed { width: 41px; font-size: 9px; } .timeline-heading { font-size: 6px; letter-spacing: .3px; } .viewport-footer { left: 19px; right: 19px; bottom: 18px; font-size: 7px; } .viewport-footer > span:first-child { font-size: 0; } .viewport-footer > span:first-child::after { content: 'Drag to orbit ยท Pinch to zoom'; font-size: 7px; } aside { overflow: visible; } #viewer-shell:fullscreen { overflow: auto; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }