/* Glint Research's Legally Distinct Clone — obsidian theme */ * { box-sizing: border-box; margin: 0; padding: 0; } :root { --bg: #050507; --bg2: #0a0a0e; --panel: #0e0e13; --panel2: #15151c; --line: #222230; --line2: #2e2e40; --text: #ffffff; --dim: #9b9bb0; --accent: #19c2ff; --accent2: #19ff8c; --gold: #ffd23f; --red: #ff4d5e; --radius: 14px; --font-display: 'Fredoka', 'Segoe UI', system-ui, sans-serif; --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif; --shadow-pop: 0 14px 40px rgba(0,0,0,.55); --ease-pop: cubic-bezier(.2,.9,.3,1.2); } html, body { height: 100%; } body { background: radial-gradient(900px 420px at 50% -120px, rgba(25,194,255,.10), transparent 65%), radial-gradient(700px 380px at 90% 10%, rgba(25,255,140,.05), transparent 60%), var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: hidden; } a { color: var(--accent); text-decoration: none; transition: color .15s; } button { font-family: inherit; } .hidden { display: none !important; } ::selection { background: rgba(25,194,255,.35); } /* scrollbars */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #26263a; border-radius: 8px; border: 2px solid var(--bg); } ::-webkit-scrollbar-thumb:hover { background: #34344c; } /* ---------- keyframes ---------- */ @keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } } @keyframes popIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } } @keyframes shimmer { 0% { background-position: 200% center; } 100% { background-position: -200% center; } } @keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--rot,8deg)); } 50% { transform: translateY(-18px) rotate(calc(var(--rot,8deg) + 6deg)); } } @keyframes pulseGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(25,255,140,.45), 0 8px 30px rgba(25,255,140,.18); } 50% { box-shadow: 0 0 0 9px rgba(25,255,140,0), 0 8px 30px rgba(25,255,140,.3); } } @keyframes toastLife { 0% { opacity: 0; transform: translateX(28px) scale(.96); } 7% { opacity: 1; transform: none; } 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } } @keyframes blobDrift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.12); } 66% { transform: translate(-30px,24px) scale(.94); } } @keyframes spinSlow { to { transform: rotate(360deg); } } @keyframes chatPop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } } @keyframes centerPop { 0% { opacity: 0; transform: scale(.6); } 60% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } } @keyframes deathFlash { 0% { opacity: .55; } 100% { opacity: 0; } } @keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* route transition */ .route-anim > * { animation: fadeUp .5s cubic-bezier(.2,.7,.25,1) both; } .route-anim > *:nth-child(2) { animation-delay: .06s; } .route-anim > *:nth-child(3) { animation-delay: .12s; } .route-anim > *:nth-child(4) { animation-delay: .18s; } .route-anim > *:nth-child(n+5) { animation-delay: .24s; } /* ---------- nav ---------- */ #topnav { display: flex; align-items: center; gap: 2px; background: rgba(7,7,10,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 0 18px; height: 58px; position: sticky; top: 0; z-index: 100; } #topnav > a { color: var(--dim); font-weight: 600; padding: 7px 14px; border-radius: 10px; font-family: var(--font-display); letter-spacing: .3px; position: relative; transition: color .18s, background .18s; } #topnav > a:hover { color: #fff; background: rgba(255,255,255,.06); } #topnav > a[data-nav]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-pop); } #topnav > a.active { color: #fff; } #topnav > a.active::after { transform: scaleX(1); } .logo { display: flex; align-items: center; gap: 10px; margin-right: 16px; } .logo-block { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #1976d2); box-shadow: inset 0 0 0 5px rgba(5,5,7,.6), 0 0 18px rgba(25,194,255,.45); transition: transform .3s var(--ease-pop); } .logo:hover .logo-block { transform: rotate(12deg) scale(1.08); } .logo-text { font-family: var(--font-display); font-weight: 700; letter-spacing: 2.5px; line-height: 1; font-size: 19px; background: linear-gradient(90deg, #fff 20%, var(--accent) 40%, #fff 60%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; } .logo-text small { display: block; font-size: 7.5px; letter-spacing: .5px; color: var(--dim); font-weight: 600; -webkit-text-fill-color: var(--dim); } .create-btn { background: linear-gradient(135deg, var(--accent2), #0fd470) !important; color: #032215 !important; margin-left: 8px; font-weight: 700 !important; box-shadow: 0 4px 18px rgba(25,255,140,.25); } .create-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(25,255,140,.4); } .create-btn::after { display: none; } .nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; } .glimmers { color: var(--gold); font-weight: 800; font-family: var(--font-display); letter-spacing: .5px; text-shadow: 0 0 14px rgba(255,210,63,.4); } #nav-profile { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; padding: 4px 8px; border-radius: 10px; transition: background .18s; } #nav-profile:hover { background: rgba(255,255,255,.07); } .mini-avatar { width: 32px; height: 32px; border-radius: 9px; background: var(--panel2); display: inline-block; overflow: hidden; border: 1px solid var(--line2); } .mini-avatar svg { width: 100%; height: auto; } .ghost-btn { background: none; border: 1px solid var(--line); color: var(--dim); border-radius: 9px; padding: 5px 10px; cursor: pointer; transition: all .18s; } .ghost-btn:hover { color: #fff; border-color: var(--line2); background: rgba(255,255,255,.05); } /* ---------- layout ---------- */ #page { max-width: 1200px; margin: 0 auto; padding: 28px 20px 90px; } #page.full { max-width: none; padding: 0; } h1 { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: .4px; margin-bottom: 4px; } h2 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: .3px; margin: 30px 0 14px; display: flex; align-items: center; gap: 8px; } .sub { color: var(--dim); margin-bottom: 20px; font-size: 14.5px; } .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .spacer { flex: 1; } /* ---------- buttons / inputs ---------- */ .btn { display: inline-block; border: none; cursor: pointer; background: linear-gradient(135deg, var(--accent), #0e8fd6); color: #02141f; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: .4px; padding: 10px 20px; border-radius: 11px; transition: transform .16s var(--ease-pop), box-shadow .2s, filter .15s; box-shadow: 0 4px 16px rgba(25,194,255,.22); } .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(25,194,255,.38); } .btn:active { transform: translateY(0) scale(.96); } .btn.green { background: linear-gradient(135deg, var(--accent2), #0fd470); color: #032215; box-shadow: 0 4px 16px rgba(25,255,140,.22); } .btn.green:hover { box-shadow: 0 8px 26px rgba(25,255,140,.4); } .btn.red { background: linear-gradient(135deg, var(--red), #d12a48); color: #fff; box-shadow: 0 4px 16px rgba(255,77,94,.22); } .btn.red:hover { box-shadow: 0 8px 26px rgba(255,77,94,.4); } .btn.gold { background: linear-gradient(135deg, var(--gold), #f0a020); color: #2d1f00; box-shadow: 0 4px 16px rgba(255,210,63,.22); } .btn.gold:hover { box-shadow: 0 8px 26px rgba(255,210,63,.4); } .btn.dark { background: var(--panel2); color: #fff; border: 1px solid var(--line2); box-shadow: none; } .btn.dark:hover { background: #1c1c26; box-shadow: 0 6px 18px rgba(0,0,0,.4); } .btn.big { font-size: 17px; padding: 14px 34px; border-radius: 14px; } .btn:disabled { opacity: .4; cursor: default; transform: none !important; box-shadow: none !important; } input[type=text], input[type=password], input[type=number], textarea, select { background: #07070a; border: 1.5px solid var(--line); color: #fff; border-radius: 11px; padding: 10px 14px; font-size: 14px; font-family: var(--font-body); outline: none; width: 100%; transition: border-color .18s, box-shadow .18s; } input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3.5px rgba(25,194,255,.15); } input::placeholder, textarea::placeholder { color: #5b5b70; } label.fld { display: block; margin-bottom: 13px; font-size: 12.5px; color: var(--dim); font-weight: 600; letter-spacing: .3px; } label.fld > * { margin-top: 5px; } /* ---------- cards / panels ---------- */ .panel { background: linear-gradient(180deg, var(--panel) 0%, #0b0b10 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; } .game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; } .game-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; display: block; color: #fff; transition: transform .22s var(--ease-pop), border-color .2s, box-shadow .25s; } .game-card:hover { transform: translateY(-5px) scale(1.015); border-color: rgba(25,194,255,.6); box-shadow: 0 16px 38px rgba(0,0,0,.55), 0 0 24px rgba(25,194,255,.12); } .game-card img { width: 100%; aspect-ratio: 16/9; display: block; background: #0a0a12; transition: transform .35s var(--ease-pop); } .game-card:hover img { transform: scale(1.07); } .game-card .gc-body { padding: 12px 14px; position: relative; background: var(--panel); } .game-card .gc-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .game-card .gc-meta { color: var(--dim); font-size: 12px; margin-top: 4px; display: flex; gap: 12px; } .badge { font-size: 9.5px; font-weight: 800; letter-spacing: .8px; padding: 2.5px 8px; border-radius: 20px; background: linear-gradient(135deg, var(--accent), #0e8fd6); color: #02141f; vertical-align: 2px; font-family: var(--font-body); } .badge.gray { background: var(--panel2); color: var(--dim); border: 1px solid var(--line2); } /* ---------- auth screen ---------- */ .auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 30px; position: relative; overflow: hidden; background: var(--bg); } .auth-bg { position: absolute; inset: 0; pointer-events: none; } .auth-bg span { position: absolute; border-radius: 26%; filter: blur(70px); opacity: .16; animation: blobDrift 14s ease-in-out infinite; } .auth-bg .b1 { width: 420px; height: 420px; background: var(--accent); top: -120px; left: -80px; } .auth-bg .b2 { width: 360px; height: 360px; background: var(--accent2); bottom: -100px; right: -60px; animation-delay: -5s; } .auth-bg .b3 { width: 260px; height: 260px; background: #8a4fff; top: 40%; left: 60%; animation-delay: -9s; } .auth-logo { text-align: center; position: relative; animation: popIn .6s var(--ease-pop) both; } .auth-logo .big-block { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 16px; background: linear-gradient(135deg, var(--accent), #1976d2); box-shadow: inset 0 0 0 14px rgba(5,5,7,.6), 0 16px 50px rgba(25,194,255,.35); animation: floaty 5s ease-in-out infinite; --rot: 0deg; } .auth-logo h1 { font-size: 44px; letter-spacing: 8px; margin-bottom: 2px; background: linear-gradient(90deg, #fff 20%, var(--accent) 40%, #fff 60%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; } .auth-logo p { color: var(--dim); } .auth-card { width: 360px; position: relative; animation: fadeUp .55s .15s var(--ease-pop) both; background: rgba(14,14,19,.85); backdrop-filter: blur(12px); box-shadow: var(--shadow-pop); } .auth-card .tabs { display: flex; margin-bottom: 18px; border-bottom: 1px solid var(--line); } .auth-card .tabs button { flex: 1; background: none; border: none; color: var(--dim); font-family: var(--font-display); font-weight: 600; font-size: 15.5px; padding: 11px; cursor: pointer; border-bottom: 2.5px solid transparent; transition: color .2s, border-color .2s; } .auth-card .tabs button.active { color: var(--accent); border-bottom-color: var(--accent); } .err { color: var(--red); font-size: 13px; min-height: 18px; margin-bottom: 8px; font-weight: 600; } /* ---------- hero ---------- */ .hero { border-radius: 20px; padding: 44px 40px; margin-bottom: 32px; background: linear-gradient(120deg, #0a1622, #0b2233, #0a2a26, #0b1d31); background-size: 300% 300%; animation: gradientShift 14s ease infinite; border: 1px solid var(--line2); position: relative; overflow: hidden; } .hero h1 { font-size: 38px; position: relative; z-index: 1; } .hero p { color: #b9d8e8; margin: 10px 0 22px; max-width: 540px; position: relative; z-index: 1; line-height: 1.55; } .hero .btn { position: relative; z-index: 1; } .hero .btn.green { animation: pulseGlow 3s ease-in-out infinite; } .hero-blocks { position: absolute; inset: 0; pointer-events: none; } .hero-blocks span { position: absolute; border-radius: 18%; animation: floaty 7s ease-in-out infinite; box-shadow: 0 12px 30px rgba(0,0,0,.35); } .hero-blocks .fb1 { width: 74px; height: 74px; right: 9%; top: 18%; background: linear-gradient(135deg, var(--accent), #0e6fa6); --rot: 14deg; } .hero-blocks .fb2 { width: 46px; height: 46px; right: 21%; top: 56%; background: linear-gradient(135deg, var(--accent2), #0a9b56); --rot: -10deg; animation-delay: -2.4s; } .hero-blocks .fb3 { width: 30px; height: 30px; right: 5%; top: 64%; background: linear-gradient(135deg, var(--gold), #d98f1d); --rot: 24deg; animation-delay: -4.8s; } /* ---------- game detail ---------- */ .game-head { display: flex; gap: 26px; flex-wrap: wrap; } .game-head img.thumb { width: 440px; max-width: 100%; border-radius: var(--radius); border: 1px solid var(--line2); box-shadow: var(--shadow-pop); } .stat-row { display: flex; gap: 26px; margin: 16px 0; color: var(--dim); font-size: 13px; } .stat-row b { color: #fff; display: block; font-size: 19px; font-family: var(--font-display); letter-spacing: .4px; } .desc { white-space: pre-wrap; color: var(--dim); line-height: 1.6; margin-top: 14px; } /* ---------- catalog/avatar ---------- */ .item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 15px; } .item-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px; text-align: center; cursor: pointer; transition: transform .2s var(--ease-pop), border-color .2s, box-shadow .25s; } .item-card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 12px 30px rgba(0,0,0,.5); } .item-card.owned { border-color: rgba(25,255,140,.45); } .item-card.equipped { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 22px rgba(255,210,63,.18); } .item-thumb { width: 100%; aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle at 50% 35%, #1a1a26, #0a0a10); margin-bottom: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; } .item-thumb img, .item-thumb svg, .item-thumb canvas { max-width: 86%; max-height: 86%; transition: transform .25s var(--ease-pop); } .item-card:hover .item-thumb img { transform: scale(1.12) rotate(-3deg); } .item-name { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; } .item-price { color: var(--gold); font-size: 13px; font-weight: 700; margin: 5px 0 9px; } .avatar-layout { display: flex; gap: 26px; flex-wrap: wrap; } .avatar-preview { width: 350px; height: 430px; background: radial-gradient(circle at 50% 30%, #14141d, #07070b); border: 1px solid var(--line2); border-radius: var(--radius); box-shadow: var(--shadow-pop); } .avatar-preview canvas { width: 100%; height: 100%; border-radius: var(--radius); } .color-swatches { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 6px; } .swatch { width: 28px; height: 28px; border-radius: 8px; cursor: pointer; border: 2px solid rgba(255,255,255,.08); transition: transform .15s var(--ease-pop), border-color .15s, box-shadow .15s; } .swatch:hover { transform: scale(1.18); } .swatch.sel { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); } /* ---------- friends ---------- */ .friend-row { display: flex; align-items: center; gap: 13px; padding: 11px 4px; border-bottom: 1px solid var(--line); transition: background .15s; border-radius: 8px; } .friend-row:hover { background: rgba(255,255,255,.025); } .friend-row:last-child { border-bottom: none; } .friend-row > a { font-weight: 600; color: #fff; } .friend-row > a:hover { color: var(--accent); } .presence-dot { width: 9px; height: 9px; border-radius: 50%; background: #3c3c50; display: inline-block; margin-right: 6px; } .presence-dot.on { background: var(--accent2); box-shadow: 0 0 8px rgba(25,255,140,.8); } /* ---------- toasts ---------- */ #toasts { position: fixed; bottom: 20px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 9px; } .toast { background: rgba(10,10,15,.92); backdrop-filter: blur(10px); border: 1px solid rgba(25,194,255,.55); color: #fff; border-radius: 13px; padding: 12px 20px; font-size: 14px; font-weight: 600; font-family: var(--font-display); letter-spacing: .3px; box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 18px rgba(25,194,255,.1); animation: toastLife 3.5s var(--ease-pop) both; } .toast.gold { border-color: rgba(255,210,63,.65); color: var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 18px rgba(255,210,63,.12); } .toast.red { border-color: rgba(255,77,94,.65); } /* ---------- play page (game client) ---------- */ #game-root { position: fixed; inset: 0; background: #000; z-index: 200; } #game-root canvas.game-canvas { width: 100%; height: 100%; display: block; } .hud { position: absolute; pointer-events: none; } .hud * { pointer-events: auto; } #hud-top { top: 12px; left: 14px; right: 14px; display: flex; align-items: flex-start; pointer-events: none; } #hud-gamename { background: rgba(5,5,9,.78); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 12px; padding: 9px 16px; font-family: var(--font-display); font-weight: 600; letter-spacing: .4px; animation: fadeUp .4s var(--ease-pop) both; } #hud-leave { margin-left: 10px; animation: fadeUp .4s .08s var(--ease-pop) both; } #hud-lb { margin-left: auto; background: rgba(5,5,9,.78); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 12px; min-width: 200px; padding: 9px 0; font-size: 13px; animation: fadeUp .4s .12s var(--ease-pop) both; } #hud-lb .lb-title { padding: 0 14px 7px; color: var(--dim); font-weight: 700; border-bottom: 1px solid var(--line); display: flex; font-family: var(--font-display); letter-spacing: .6px; font-size: 12px; text-transform: uppercase; } #hud-lb .lb-row { padding: 5px 14px; display: flex; transition: background .15s; } #hud-lb .lb-row:hover { background: rgba(255,255,255,.05); } #hud-lb .lb-row.it { color: #ff6b6b; font-weight: 700; } #hud-lb .lb-row .v { margin-left: auto; font-weight: 700; font-family: var(--font-display); } #hud-chat { left: 14px; bottom: 14px; width: 340px; } #chat-log { max-height: 190px; overflow-y: auto; font-size: 13px; margin-bottom: 7px; display: flex; flex-direction: column; gap: 3px; } #chat-log div { background: rgba(5,5,9,.75); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.06); border-radius: 9px; padding: 5px 11px; width: fit-content; max-width: 100%; word-wrap: break-word; animation: chatPop .22s var(--ease-pop) both; } #chat-log .sys { color: var(--dim); font-style: italic; } #chat-log b { color: var(--accent); } #chat-input { background: rgba(5,5,9,.85); backdrop-filter: blur(8px); border: 1.5px solid var(--line); } #hud-center { top: 36%; left: 0; right: 0; text-align: center; font-size: 32px; font-weight: 700; font-family: var(--font-display); letter-spacing: .6px; text-shadow: 0 2px 18px rgba(0,0,0,.9), 0 0 30px rgba(25,194,255,.3); } #hud-center:not(:empty) { animation: centerPop .4s var(--ease-pop) both; } #hud-controls-hint { right: 14px; bottom: 14px; color: #8d8da4; font-size: 12px; background: rgba(5,5,9,.7); backdrop-filter: blur(8px); border: 1px solid var(--line); padding: 7px 12px; border-radius: 10px; } #death-flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle, transparent 35%, rgba(255,30,50,.55) 100%); } #death-flash.on { animation: deathFlash 1s ease-out both; } /* ---------- studio ---------- */ #studio-root { position: fixed; inset: 0; background: #000; z-index: 200; display: flex; flex-direction: column; } #studio-topbar { height: 44px; background: rgba(7,7,10,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 12px; z-index: 6; } #studio-topbar .title { font-family: var(--font-display); font-weight: 700; letter-spacing: .6px; margin-right: 8px; } /* ribbon toolbar */ #studio-ribbon { display: flex; align-items: stretch; gap: 4px; background: rgba(10,10,15,.98); border-bottom: 1px solid var(--line); padding: 6px 10px 4px; z-index: 5; } .rb-group { display: flex; align-items: flex-start; gap: 3px; position: relative; padding: 0 12px 15px 0; margin-right: 8px; border-right: 1px solid var(--line); } .rb-group:last-child { border-right: none; } .rb-caption { position: absolute; bottom: 0; left: 0; right: 12px; text-align: center; font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; color: #5f5f78; font-family: var(--font-display); } .rb-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 1px solid transparent; border-radius: 9px; color: var(--dim); padding: 6px 10px; cursor: pointer; min-width: 58px; font-family: var(--font-display); transition: all .15s var(--ease-pop); } .rb-btn:hover { background: var(--panel2); color: #fff; border-color: var(--line); } .rb-btn.active { background: linear-gradient(135deg, rgba(25,194,255,.18), rgba(25,194,255,.06)); border-color: rgba(25,194,255,.6); color: var(--accent); box-shadow: 0 0 14px rgba(25,194,255,.12); } .rb-label { font-size: 10.5px; font-weight: 600; letter-spacing: .4px; } .rb-snap { display: flex; flex-direction: column; gap: 5px; padding: 5px 4px; font-size: 12px; color: var(--dim); } .rb-snap label { display: flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; } .rb-snap input[type=checkbox] { width: auto; accent-color: var(--accent); } .rb-snap select { padding: 3px 8px; font-size: 12px; border-radius: 7px; } .rb-sel-name { display: flex; align-items: center; gap: 7px; padding: 10px 8px; font-size: 12.5px; font-weight: 600; color: #fff; font-family: var(--font-display); } #studio-main { flex: 1; position: relative; display: flex; min-height: 0; } #studio-left { width: 234px; background: rgba(8,8,12,.97); border-right: 1px solid var(--line); overflow-y: auto; padding: 12px; font-size: 13px; display: flex; flex-direction: column; gap: 0; } #studio-left h3, #studio-side h3 { font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--dim); margin: 16px 0 9px; font-weight: 600; display: flex; align-items: center; gap: 6px; } #studio-left h3:first-child, #studio-side h3:first-child { margin-top: 0; } #st-explorer-q { padding: 6px 10px; font-size: 12px; margin-bottom: 6px; } #st-explorer { flex: 1; min-height: 120px; overflow-y: auto; } .exp-row { display: flex; align-items: center; gap: 7px; padding: 4.5px 7px; border-radius: 7px; cursor: pointer; font-size: 12px; color: var(--dim); transition: background .12s; } .exp-row:hover { background: var(--panel2); color: #fff; } .exp-row.sel { background: rgba(25,194,255,.14); color: var(--accent); } .exp-chip { width: 10px; height: 10px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); } .exp-name { font-weight: 600; white-space: nowrap; } .exp-id { margin-left: auto; font-size: 10px; opacity: .55; overflow: hidden; text-overflow: ellipsis; } #studio-canvas-wrap { flex: 1; position: relative; min-width: 0; } #studio-canvas-wrap canvas { width: 100%; height: 100%; display: block; } #studio-side { width: 280px; background: rgba(8,8,12,.97); border-left: 1px solid var(--line); overflow-y: auto; padding: 12px; font-size: 13px; } .prop-sec { color: var(--dim); margin: 9px 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; } /* status bar */ #studio-status { height: 26px; background: rgba(7,7,10,.97); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 11.5px; color: var(--dim); font-family: var(--font-body); } #studio-status .sts-sep { opacity: .4; } #studio-status .sts-hint { color: #55556e; } .tool-btn { background: var(--panel2); color: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 7px 13px; cursor: pointer; font-weight: 600; font-size: 13px; font-family: var(--font-display); letter-spacing: .3px; transition: all .16s var(--ease-pop); } .tool-btn:hover { border-color: var(--line2); background: #1d1d28; transform: translateY(-1px); } .tool-btn.active { background: linear-gradient(135deg, var(--accent), #0e8fd6); color: #02141f; border-color: transparent; box-shadow: 0 4px 14px rgba(25,194,255,.35); } .part-palette { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; } .part-palette .tool-btn { padding: 9px 6px; text-align: center; font-size: 12.5px; } .editor-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--panel2); border: 1px solid var(--line); padding: 4px 11px 4px 7px; border-radius: 20px; font-size: 12px; font-weight: 600; animation: popIn .3s var(--ease-pop) both; } .editor-chip .dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 8px currentColor; } .prop-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .prop-grid input { padding: 7px 9px; font-size: 13px; } #studio-chat-log { max-height: 130px; overflow-y: auto; font-size: 12px; display: flex; flex-direction: column; gap: 3px; margin-bottom: 7px; } #studio-chat-log div { animation: chatPop .2s var(--ease-pop) both; } #studio-chat-log b { color: var(--accent); } .empty-note { color: var(--dim); text-align: center; padding: 48px 0; font-size: 15px; } /* inline svg icons */ .icn { vertical-align: -2.5px; } .btn .icn, .tool-btn .icn { vertical-align: -2px; margin-right: 2px; } h2 .icn { color: var(--accent); } #hud-center .icn { vertical-align: -4px; } .gc-meta .icn { vertical-align: -1.5px; opacity: .8; } .empty-note .icn { color: var(--accent); margin-bottom: 8px; } table.cfg { width: 100%; border-collapse: collapse; font-size: 14px; } table.cfg td { padding: 8px 10px; border-bottom: 1px solid var(--line); } table.cfg tr:last-child td { border-bottom: none; } table.cfg td:first-child { color: var(--dim); } table.cfg td:last-child { font-weight: 600; font-family: var(--font-display); letter-spacing: .3px; } /* loading spinner */ .spinner { width: 34px; height: 34px; margin: 60px auto; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spinSlow .8s linear infinite; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }