:root {
  color-scheme: dark;
  --bg: #060609;
  --panel: rgba(17, 17, 25, 0.72);
  --panel-strong: rgba(20, 20, 30, 0.9);
  --line: rgba(255, 255, 255, 0.09);
  --line-active: rgba(117, 122, 255, 0.55);
  --text: #f5f5f8;
  --muted: #9797a8;
  --faint: #656577;
  --primary: #7c72ff;
  --cyan: #55d7ff;
  --green: #55e6a5;
  --danger: #ff6f86;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scrollbar-width: none; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% -20%, #17152f 0, var(--bg) 42%); color: var(--text); overflow-x: hidden; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, .project-list::-webkit-scrollbar { display: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.ambient { position: fixed; border-radius: 999px; filter: blur(110px); opacity: .18; pointer-events: none; }
.ambient-one { width: 460px; height: 460px; background: #4734ff; top: 12%; left: -250px; }
.ambient-two { width: 400px; height: 400px; background: #00c8ff; right: -260px; top: 52%; opacity: .1; }
.grid-overlay { position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, black, transparent 88%); }

.site-header { width: min(1180px, calc(100% - 40px)); height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; }
.brand-static { cursor: default; user-select: none; }
.brand b { color: #a7a1ff; font-weight: 700; }
.brand-mark { width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(124,114,255,.3), rgba(85,215,255,.06)); box-shadow: inset 0 1px rgba(255,255,255,.1), 0 8px 30px rgba(69,55,255,.16); }
.brand-mark svg { width: 20px; fill: none; stroke: #d8d6ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-link { min-height: 34px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12,12,18,.55); color: #b8b8c5; font-size: .82rem; transition: .2s ease; }
.header-link:hover { color: #fff; border-color: rgba(124,114,255,.3); background: rgba(124,114,255,.08); }
.header-link svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-trigger { cursor: pointer; }
.secure-pill, .verified-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 13px; border: 1px solid var(--line); background: rgba(12,12,18,.55); backdrop-filter: blur(14px); border-radius: 999px; color: #b7b7c4; font-size: .82rem; }
.secure-pill i { width: 6px; height: 6px; background: var(--green); box-shadow: 0 0 10px var(--green); border-radius: 99px; }
.verified-pill svg { width: 17px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.admin-shell { width: min(1180px, calc(100% - 40px)); margin: 42px auto 80px; position: relative; z-index: 1; }
.intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.eyebrow { margin: 0 0 12px; color: #8e86ff; font-size: .72rem; line-height: 1; letter-spacing: .2em; font-weight: 750; }
.intro-row h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 680; }
.intro-copy { margin: 17px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.status-chip { display: flex; align-items: center; gap: 10px; color: #ababba; font-size: .84rem; white-space: nowrap; padding-bottom: 8px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(85,230,165,.8); }

.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .85fr); gap: 20px; align-items: start; }
.glass-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(24,24,35,.8), rgba(11,11,17,.68)); backdrop-filter: blur(24px) saturate(125%); -webkit-backdrop-filter: blur(24px) saturate(125%); box-shadow: inset 0 1px rgba(255,255,255,.055), 0 24px 80px rgba(0,0,0,.34); }
.release-panel { padding: 8px 32px 32px; overflow: hidden; }
.release-panel::before { content: ""; position: absolute; width: 280px; height: 180px; top: -145px; left: 14%; border-radius: 50%; background: rgba(124,114,255,.25); filter: blur(60px); pointer-events: none; }
.step-block { padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.step-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.step-number { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 auto; border-radius: 10px; border: 1px solid rgba(124,114,255,.28); background: rgba(124,114,255,.09); color: #a59fff; font: 700 .7rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.step-heading h2, .panel-heading h2 { margin: 0; font-size: 1rem; line-height: 1.4; letter-spacing: -.015em; }
.step-heading p { margin: 3px 0 0; font-size: .79rem; color: var(--faint); }

.mode-switch { width: fit-content; display: flex; gap: 4px; padding: 4px; margin-bottom: 18px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; }
.mode-switch label { cursor: pointer; }
.mode-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mode-switch span { min-width: 96px; min-height: 35px; padding: 0 15px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); font-size: .82rem; transition: .2s ease; }
.mode-switch input:checked + span { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 0 1px rgba(255,255,255,.06), 0 4px 14px rgba(0,0,0,.22); }
.mode-switch input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.field-group label { display: block; margin: 0 0 9px; font-size: .8rem; color: #b4b4c1; }
.field-group input { width: 100%; height: 49px; padding: 0 15px; border: 1px solid rgba(255,255,255,.1); background: rgba(5,5,9,.47); color: var(--text); border-radius: 12px; outline: none; transition: border .2s, box-shadow .2s; }
.field-group input::placeholder { color: #555565; }
.field-group input:focus { border-color: var(--line-active); box-shadow: 0 0 0 3px rgba(124,114,255,.1); }

.custom-select { --custom-select-height: 49px; position: relative; width: 100%; }
.custom-select.is-open { z-index: 40; }
.custom-select > select { width: 100%; height: var(--custom-select-height); padding: 0 42px 0 15px; appearance: none; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; outline: none; background: rgba(5,5,9,.47); color: var(--text); }
.custom-select.is-ready > select { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
.custom-select-trigger { display: none; width: 100%; height: var(--custom-select-height); padding: 0 10px 0 15px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; outline: none; color: var(--text); background: linear-gradient(135deg, rgba(18,18,29,.88), rgba(7,8,14,.78)); box-shadow: inset 0 1px rgba(255,255,255,.055), 0 8px 22px rgba(0,0,0,.15); cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s, background .2s, transform .2s; }
.custom-select.is-ready .custom-select-trigger { display: flex; }
.custom-select-trigger:hover { border-color: rgba(124,114,255,.32); background: linear-gradient(135deg, rgba(25,23,44,.9), rgba(8,10,18,.82)); }
.custom-select-trigger:focus-visible, .custom-select.is-open .custom-select-trigger { border-color: rgba(124,114,255,.58); box-shadow: 0 0 0 3px rgba(124,114,255,.1), inset 0 1px rgba(255,255,255,.075), 0 12px 30px rgba(0,0,0,.25); }
.custom-select-trigger:disabled { opacity: .55; cursor: not-allowed; }
.custom-select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .83rem; }
.custom-select-value.is-placeholder { color: #747486; }
.custom-select-chevron { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.065); border-radius: 8px; color: #85859a; background: rgba(255,255,255,.035); transition: color .2s, background .2s, transform .25s ease; }
.custom-select-chevron svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.custom-select.is-open .custom-select-chevron { color: #c3bfff; background: rgba(124,114,255,.12); transform: rotate(180deg); }
.custom-select-menu { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; right: 0; max-height: 238px; padding: 6px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid transparent; border-radius: 14px; background: linear-gradient(145deg, rgba(18,18,29,.97), rgba(8,9,16,.96)) padding-box, linear-gradient(135deg, rgba(124,114,255,.52), rgba(85,215,255,.18), rgba(255,255,255,.08)) border-box; backdrop-filter: blur(28px) saturate(135%); -webkit-backdrop-filter: blur(28px) saturate(135%); box-shadow: inset 0 1px rgba(255,255,255,.075), 0 22px 55px rgba(0,0,0,.58), 0 0 28px rgba(91,78,255,.08); scrollbar-width: thin; scrollbar-color: rgba(124,114,255,.36) transparent; transform-origin: top center; animation: selectReveal .16s ease-out; }
.custom-select.opens-up .custom-select-menu { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; }
.custom-select-menu::-webkit-scrollbar { width: 5px; }
.custom-select-menu::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(124,114,255,.34); }
.custom-select-option { position: relative; width: 100%; min-height: 39px; padding: 0 38px 0 12px; display: flex; align-items: center; border: 0; border-radius: 9px; outline: none; color: #9b9bad; background: transparent; cursor: pointer; text-align: left; transition: color .16s, background .16s; }
.custom-select-option span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.custom-select-option:hover, .custom-select-option:focus-visible { color: #f6f6fb; background: linear-gradient(90deg, rgba(124,114,255,.16), rgba(85,215,255,.055)); }
.custom-select-option[aria-selected="true"] { color: #fff; background: linear-gradient(90deg, rgba(124,114,255,.22), rgba(84,113,224,.07)); }
.custom-select-option[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 99px; background: linear-gradient(#a69fff, #55d7ff); box-shadow: 0 0 10px rgba(124,114,255,.7); }
.custom-select-option[aria-selected="true"]::after { content: "✓"; position: absolute; right: 13px; color: #aaa4ff; font-size: .8rem; font-weight: 750; }
.custom-select-option:disabled { opacity: .42; cursor: not-allowed; }
@keyframes selectReveal { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.field-hint { margin: 8px 2px 0; color: var(--faint); font-size: .75rem; }
.text-button { border: 0; background: none; color: #9993ff; font-size: .78rem; padding: 10px 0 0; cursor: pointer; }

.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.platform-option { cursor: pointer; }
.platform-option input { position: absolute; opacity: 0; pointer-events: none; }
.platform-card { min-height: 82px; display: flex; align-items: center; gap: 14px; padding: 0 17px; border: 1px solid rgba(255,255,255,.085); background: rgba(5,5,10,.32); border-radius: 15px; transition: .2s ease; }
.platform-card > svg { width: 27px; height: 27px; fill: #a1a1b0; }
.platform-card > span { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.platform-card strong { font-size: .9rem; }
.platform-card small { color: var(--faint); font-size: .7rem; white-space: nowrap; }
.checkmark { width: 17px; height: 17px; margin-left: auto; border: 1px solid #454554; border-radius: 50%; position: relative; }
.platform-option input:checked + .platform-card { border-color: rgba(124,114,255,.58); background: linear-gradient(115deg, rgba(124,114,255,.13), rgba(85,215,255,.045)); box-shadow: inset 0 0 24px rgba(124,114,255,.055), 0 0 0 1px rgba(124,114,255,.06); }
.platform-option input:checked + .platform-card > svg { fill: #aaa4ff; }
.platform-option input:checked + .platform-card .checkmark { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 14px rgba(124,114,255,.5); }
.platform-option input:checked + .platform-card .checkmark::after { content: ""; position: absolute; width: 5px; height: 3px; border-left: 1.5px solid white; border-bottom: 1.5px solid white; transform: rotate(-45deg); left: 5px; top: 5px; }
.platform-option input:focus-visible + .platform-card { outline: 2px solid var(--primary); outline-offset: 2px; }

.file-step { border-bottom: 0; padding-bottom: 22px; }
.drop-zone { min-height: 132px; padding: 22px; border: 1px dashed rgba(255,255,255,.16); border-radius: 16px; background: rgba(0,0,0,.18); display: flex; align-items: center; gap: 17px; cursor: pointer; transition: .2s ease; position: relative; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: rgba(124,114,255,.65); background: rgba(124,114,255,.06); }
.drop-zone.has-file { border-style: solid; border-color: rgba(85,230,165,.34); background: rgba(85,230,165,.035); }
.drop-zone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop-zone:focus-within { outline: 2px solid var(--primary); outline-offset: 3px; }
.upload-icon { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, rgba(124,114,255,.2), rgba(85,215,255,.08)); border: 1px solid rgba(124,114,255,.22); }
.upload-icon svg { width: 23px; fill: none; stroke: #bdb9ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.drop-copy { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.drop-copy strong { font-size: .87rem; font-weight: 580; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-copy small { color: var(--faint); font-size: .74rem; line-height: 1.45; }
.file-remove { margin-left: auto; width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: #8b8b9c; background: rgba(255,255,255,.055); font-size: 1.15rem; }
.file-remove:hover { color: #fff; background: rgba(255,255,255,.1); }

.form-message { padding: 12px 14px; margin-bottom: 15px; border-radius: 11px; font-size: .8rem; line-height: 1.5; }
.form-message.error { color: #ffb7c3; border: 1px solid rgba(255,111,134,.2); background: rgba(255,111,134,.08); }
.form-message.success { color: #a5f3cf; border: 1px solid rgba(85,230,165,.2); background: rgba(85,230,165,.07); }
.progress-area { margin: 2px 0 17px; }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .77rem; margin-bottom: 8px; }
.progress-meta strong { color: #bbb7ff; font-variant-numeric: tabular-nums; }
.progress-track { height: 6px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.07); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #665cff, #53d8ff); box-shadow: 0 0 16px rgba(83,216,255,.35); transition: width .15s linear; }
.primary-button { width: 100%; height: 54px; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 11px; color: white; background: linear-gradient(110deg, #655bfa, #7f72ff 48%, #4abfe9); box-shadow: 0 13px 30px rgba(92,76,255,.22), inset 0 1px rgba(255,255,255,.2); cursor: pointer; font-weight: 650; font-size: .9rem; transition: transform .2s, filter .2s; }
.primary-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.primary-button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.primary-button:hover svg { transform: translateX(3px); }
.primary-button:disabled { opacity: .55; cursor: wait; transform: none; }

.project-panel { padding: 26px; position: sticky; top: 20px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel-heading .eyebrow { margin-bottom: 8px; }
.count-badge { min-width: 30px; height: 30px; padding: 0 8px; display: grid; place-items: center; border-radius: 9px; background: rgba(124,114,255,.1); border: 1px solid rgba(124,114,255,.17); color: #aaa4ff; font-size: .76rem; font-weight: 700; }
.project-list { display: flex; flex-direction: column; gap: 10px; max-height: 675px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #30303e transparent; }
.project-item { padding: 15px; border: 1px solid rgba(255,255,255,.07); background: rgba(4,4,8,.24); border-radius: 14px; }
.project-item.is-disabled { opacity: .62; }
.project-item-head { display: flex; align-items: center; gap: 11px; }
.mini-icon { width: 35px; height: 35px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(124,114,255,.17), rgba(85,215,255,.05)); border: 1px solid rgba(124,114,255,.16); color: #b7b2ff; font-weight: 700; font-size: .84rem; }
.project-title { min-width: 0; }
.project-title strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .84rem; }
.project-title small { display: block; margin-top: 3px; color: var(--faint); font-size: .68rem; }
.project-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.link-field { min-width: 0; height: 34px; padding: 0 10px; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.06); background: rgba(0,0,0,.22); border-radius: 9px; color: #767687; font: .67rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.copy-button, .open-button { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.045); color: #9b9baa; border-radius: 9px; cursor: pointer; }
.copy-button:hover, .open-button:hover { color: white; border-color: rgba(124,114,255,.35); }
.copy-button svg, .open-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.platform-tags { display: flex; gap: 6px; margin-top: 10px; }
.platform-tags span { padding: 4px 7px; border: 1px solid rgba(255,255,255,.06); border-radius: 7px; color: #818192; font-size: .63rem; }
.platform-tags span.active { color: #a9a5dd; border-color: rgba(124,114,255,.16); background: rgba(124,114,255,.06); }
.platform-tags span.disabled-tag { margin-left: auto; color: #d28c99; border-color: rgba(255,111,134,.14); background: rgba(255,111,134,.05); }
.empty-state { padding: 48px 18px; text-align: center; border: 1px dashed rgba(255,255,255,.09); border-radius: 14px; }
.empty-state svg { width: 30px; fill: none; stroke: #555568; stroke-width: 1.4; }
.empty-state strong { display: block; margin: 13px 0 6px; font-size: .84rem; }
.empty-state p { margin: 0; color: var(--faint); font-size: .73rem; line-height: 1.6; }
.loading-card { padding: 8px 0; display: grid; gap: 10px; }
.loading-card span { height: 66px; border-radius: 13px; background: linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,.07), rgba(255,255,255,.035)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.download-shell { width: min(980px, calc(100% - 40px)); margin: 70px auto 80px; position: relative; z-index: 1; }
.product-hero { text-align: center; margin-bottom: 45px; }
.app-icon { width: 76px; height: 76px; margin: 0 auto 25px; border-radius: 22px; display: grid; place-items: center; color: white; font-size: 1.75rem; font-weight: 720; background: linear-gradient(145deg, #756aff, #302879); border: 1px solid rgba(255,255,255,.19); box-shadow: inset 0 1px rgba(255,255,255,.25), 0 20px 60px rgba(84,66,255,.27); }
.product-hero .eyebrow { margin-bottom: 13px; }
.product-hero h1 { max-width: 760px; margin: 0 auto; font-size: clamp(2.35rem, 6vw, 4.5rem); line-height: 1.08; letter-spacing: -.058em; overflow-wrap: anywhere; }
.product-hero > p { margin: 17px 0 0; color: var(--muted); font-size: .95rem; }
.hero-mobile { display: none; }
.mobile-download-tip { display: none; }
html.is-mobile-client .hero-desktop { display: none; }
html.is-mobile-client .hero-mobile { display: block; padding: 0 12px; line-height: 1.65; }
html.is-mobile-client .mobile-download-tip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 22px 20px 20px;
  text-align: center;
}
html.is-mobile-client .mobile-tip-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124,114,255,.28);
  background: rgba(124,114,255,.12);
}
html.is-mobile-client .mobile-tip-icon svg {
  width: 24px;
  fill: none;
  stroke: #c5c0ff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html.is-mobile-client .mobile-download-tip strong {
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
html.is-mobile-client .mobile-download-tip > p {
  margin: 0;
  max-width: 28em;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
}
html.is-mobile-client .copy-link-button {
  margin-top: 6px;
  width: 100%;
  max-width: 280px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(124,114,255,.28);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(101,91,250,.88), rgba(93,168,231,.75));
  color: white;
  font-size: .84rem;
  font-weight: 620;
  box-shadow: inset 0 1px rgba(255,255,255,.15);
  cursor: pointer;
}
html.is-mobile-client .copy-link-button:active { filter: brightness(1.08); }
html.is-mobile-client .copy-link-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html.is-mobile-client .copy-feedback {
  margin: 0;
  min-height: 1.2em;
  color: #8be9ba;
  font-size: .78rem;
}
html.is-mobile-client .copy-feedback.is-error { color: #ffb7c3; }
html.is-mobile-client .download-grid,
html.is-mobile-client .trust-note { display: none; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.download-card { padding: 26px; overflow: hidden; transition: transform .25s, border-color .25s; }
.download-card:not(.is-unavailable):hover { transform: translateY(-3px); border-color: rgba(124,114,255,.28); }
.download-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -65px; top: -75px; border-radius: 50%; background: rgba(124,114,255,.14); filter: blur(35px); }
.download-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.os-icon { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.04); }
.os-icon svg { width: 25px; fill: #d6d6df; }
.ready-badge, .waiting-badge { padding: 6px 9px; border-radius: 8px; font-size: .65rem; }
.ready-badge { color: #8be9ba; background: rgba(85,230,165,.07); border: 1px solid rgba(85,230,165,.15); }
.waiting-badge { color: #8d8d9b; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.download-card h2 { margin: 23px 0 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.package-name { height: 22px; margin: 0; color: #adadbb; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.package-meta { height: 20px; margin: 7px 0 23px; display: flex; align-items: center; gap: 7px; color: var(--faint); font-size: .69rem; }
.package-meta i { width: 3px; height: 3px; background: #4d4d5d; border-radius: 50%; }
.download-button { height: 47px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(124,114,255,.25); border-radius: 12px; background: linear-gradient(110deg, rgba(101,91,250,.88), rgba(93,168,231,.75)); color: white; font-size: .83rem; font-weight: 620; box-shadow: inset 0 1px rgba(255,255,255,.15); transition: filter .2s; }
.download-button:hover { filter: brightness(1.14); }
.download-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.download-button.disabled { border-color: rgba(255,255,255,.07); background: rgba(255,255,255,.035); color: #555564; box-shadow: none; }
.is-unavailable { opacity: .72; }
.trust-note { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 26px; color: #6d6d7d; font-size: .72rem; }
.trust-note svg { width: 17px; fill: none; stroke: #777789; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-note strong { color: #8f8f9e; font-weight: 600; }

.management-shell { width: min(1180px, calc(100% - 40px)); margin: 42px auto 80px; position: relative; z-index: 1; }
.management-intro .primary-link { align-self: center; }
.primary-link { height: 43px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; color: white; background: linear-gradient(110deg, #655bfa, #56b7e6); box-shadow: 0 10px 25px rgba(92,76,255,.2), inset 0 1px rgba(255,255,255,.16); font-size: .82rem; font-weight: 650; transition: transform .2s, filter .2s; }
.primary-link:hover { transform: translateY(-1px); filter: brightness(1.1); }
.primary-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.management-panel { padding: 20px; }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.summary-item { min-height: 72px; padding: 13px 15px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: rgba(0,0,0,.17); }
.summary-item span { color: var(--faint); font-size: .72rem; }
.summary-item strong { font-size: 1.25rem; line-height: 1; font-variant-numeric: tabular-nums; }
.active-summary strong { color: var(--green); }
.disabled-summary strong { color: #ff9cac; }
.management-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 2px 13px; border-bottom: 1px solid var(--line); }
.management-toolbar h2 { margin: 0; font-size: 1rem; }
.management-toolbar p { margin: 4px 0 0; color: var(--faint); font-size: .72rem; }
.filter-switch { display: flex; gap: 3px; padding: 3px; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; background: rgba(0,0,0,.2); }
.filter-switch button { min-width: 55px; height: 30px; padding: 0 10px; border: 0; border-radius: 7px; color: #777789; background: transparent; cursor: pointer; font-size: .72rem; }
.filter-switch button.active { color: #fff; background: rgba(255,255,255,.09); }
.product-table { min-height: 0; }
.product-table-head, .product-row { display: grid; grid-template-columns: minmax(185px, 1.05fr) minmax(230px, 1.35fr) minmax(108px, .62fr) minmax(78px, .45fr) 82px; gap: 14px; align-items: center; }
.product-table-head { min-height: 42px; padding: 0 16px; color: #5f5f70; font-size: .68rem; letter-spacing: .04em; }
.product-table-body { display: flex; flex-direction: column; gap: 7px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.product-table-body::-webkit-scrollbar { display: none; }
.product-row { min-height: 67px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.065); border-radius: 13px; background: rgba(4,4,8,.22); transition: border-color .2s, opacity .2s; }
.product-row:hover { border-color: rgba(124,114,255,.2); }
.product-row.is-disabled { opacity: .65; }
.product-main { min-width: 0; display: flex; align-items: center; gap: 11px; }
.product-avatar { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(124,114,255,.18); border-radius: 11px; background: linear-gradient(145deg, rgba(124,114,255,.19), rgba(85,215,255,.05)); color: #b8b3ff; font-size: .88rem; font-weight: 700; }
.product-main > div { min-width: 0; }
.product-main strong, .file-stats strong { display: block; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-main small, .file-stats small { display: block; margin-top: 4px; color: var(--faint); font-size: .67rem; }
.product-url { min-width: 0; }
.product-url-box { min-width: 0; height: 37px; padding-left: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; border: 1px solid rgba(255,255,255,.065); border-radius: 10px; background: rgba(0,0,0,.2); transition: border-color .2s, background .2s; }
.product-url-box:focus-within, .product-url-box:hover { border-color: rgba(124,114,255,.24); background: rgba(124,114,255,.045); }
.product-url-box a { min-width: 0; height: 100%; display: flex; align-items: center; gap: 7px; color: #777789; }
.product-url-box a:hover { color: #aaa6e9; }
.product-url-box a > svg { width: 14px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.product-url-box a > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: .64rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.product-url-box button { width: 34px; height: 35px; padding: 0; display: grid; place-items: center; border: 0; border-left: 1px solid rgba(255,255,255,.06); border-radius: 0 9px 9px 0; color: #858596; background: transparent; cursor: pointer; transition: color .2s, background .2s; }
.product-url-box button:hover, .product-url-box button.is-copied { color: #c4c0ff; background: rgba(124,114,255,.11); }
.product-url-box button svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.status-label { width: fit-content; min-height: 27px; padding: 0 9px; display: inline-flex; align-items: center; gap: 7px; border-radius: 8px; font-size: .68rem; }
.status-label i { width: 5px; height: 5px; border-radius: 50%; }
.status-label.active { color: #8fe7bd; background: rgba(85,230,165,.07); border: 1px solid rgba(85,230,165,.14); }
.status-label.active i { background: var(--green); box-shadow: 0 0 8px rgba(85,230,165,.6); }
.status-label.disabled { color: #d28c99; background: rgba(255,111,134,.06); border: 1px solid rgba(255,111,134,.12); }
.status-label.disabled i { background: #ff728a; }
.file-stats strong { font-variant-numeric: tabular-nums; }
.row-actions { display: flex; justify-content: flex-end; gap: 6px; }
.row-actions a, .row-actions button { width: 35px; height: 35px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.075); border-radius: 9px; background: rgba(255,255,255,.035); color: #8d8d9c; cursor: pointer; transition: .2s ease; }
.row-actions a:hover, .row-actions button:hover { color: white; border-color: rgba(124,114,255,.3); background: rgba(124,114,255,.08); }
.row-actions .version-delete-action:hover { color: #c5bfff; border-color: rgba(124,114,255,.34); background: rgba(124,114,255,.1); }
.row-actions .danger-action:hover { color: #ff8ca0; border-color: rgba(255,111,134,.28); background: rgba(255,111,134,.07); }
.row-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.management-empty { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px dashed rgba(255,255,255,.075); border-radius: 13px; }
.management-empty svg { width: 30px; margin-bottom: 12px; fill: none; stroke: #555568; stroke-width: 1.4; }
.management-empty strong { font-size: .83rem; }
.management-empty p { margin: 6px 0 0; color: var(--faint); font-size: .71rem; }
.management-loading { display: grid; gap: 7px; }
.management-loading span { height: 67px; border-radius: 13px; background: linear-gradient(90deg, rgba(255,255,255,.025), rgba(255,255,255,.065), rgba(255,255,255,.025)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.management-message { position: fixed; left: 50%; bottom: 25px; z-index: 15; transform: translateX(-50%); min-width: 260px; padding: 11px 15px; border: 1px solid rgba(85,230,165,.2); border-radius: 11px; background: rgba(12,26,22,.92); backdrop-filter: blur(18px); color: #a5f3cf; text-align: center; font-size: .76rem; box-shadow: 0 15px 45px rgba(0,0,0,.4); }
.management-message.error { border-color: rgba(255,111,134,.22); background: rgba(35,13,19,.94); color: #ffb7c3; }

.release-delete-dialog, .account-dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px; color: var(--text); background: transparent; overflow: visible; }
.release-delete-dialog::backdrop, .account-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(10px); }
.dialog-card { padding: 27px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: linear-gradient(145deg, rgba(28,24,32,.97), rgba(10,10,16,.98)); box-shadow: inset 0 1px rgba(255,255,255,.06), 0 30px 100px rgba(0,0,0,.65); }
.danger-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,111,134,.2); border-radius: 13px; background: rgba(255,111,134,.08); color: #ff8297; }
.danger-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dialog-card h2 { margin: 19px 0 9px; font-size: 1.2rem; }
.dialog-card > p { margin: 0 0 20px; color: var(--muted); font-size: .8rem; line-height: 1.65; }
.dialog-card > p strong { color: #fff; }
.dialog-card label { display: block; margin-bottom: 8px; color: #b4b4c1; font-size: .75rem; }
.dialog-card input { width: 100%; height: 43px; padding: 0 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; outline: 0; background: rgba(0,0,0,.3); color: #fff; }
.dialog-card input:focus { border-color: rgba(255,111,134,.48); box-shadow: 0 0 0 3px rgba(255,111,134,.08); }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 20px; }
.dialog-actions button { height: 42px; border-radius: 11px; cursor: pointer; }
.dialog-cancel { border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.045); color: #aaaab8; }
.dialog-delete { border: 1px solid rgba(255,111,134,.2); background: linear-gradient(110deg, #c9405a, #ef657d); color: white; font-weight: 650; }
.dialog-delete:disabled { opacity: .35; cursor: not-allowed; }

.release-delete-dialog { width: min(520px, calc(100% - 32px)); }
.release-delete-card { padding: 24px; }
.release-delete-card > p { margin-bottom: 16px; }
.release-delete-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; padding: 0; border: 0; }
.release-delete-options label { position: relative; min-width: 0; margin: 0; cursor: pointer; }
.release-delete-options input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.release-delete-options label > span { position: relative; min-height: 84px; padding: 13px 11px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(255,255,255,.085); border-radius: 12px; background: rgba(0,0,0,.24); transition: border-color .2s, background .2s, transform .2s; }
.release-delete-options label:hover > span { border-color: rgba(124,114,255,.3); background: rgba(124,114,255,.065); transform: translateY(-1px); }
.release-delete-options strong { color: #deddec; font-size: .78rem; }
.release-delete-options small { margin-top: 5px; color: #696979; font-size: .62rem; line-height: 1.45; }
.release-delete-options i { position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.release-delete-options i::after { content: ""; position: absolute; inset: 3px; border-radius: inherit; background: transparent; }
.release-delete-options input:focus-visible + span { outline: 2px solid rgba(124,114,255,.7); outline-offset: 2px; }
.release-delete-options input:checked + span { border-color: rgba(255,111,134,.4); background: linear-gradient(145deg, rgba(111,45,69,.34), rgba(26,18,30,.72)); box-shadow: inset 0 1px rgba(255,255,255,.045), 0 8px 28px rgba(0,0,0,.18); }
.release-delete-options input:checked + span i { border-color: #ff758d; }
.release-delete-options input:checked + span i::after { background: #ff758d; box-shadow: 0 0 8px rgba(255,117,141,.6); }
.release-delete-options label.is-unavailable { cursor: not-allowed; }
.release-delete-options label.is-unavailable > span { opacity: .32; filter: saturate(.35); transform: none; }
.release-delete-options label.is-unavailable:hover > span { border-color: rgba(255,255,255,.085); background: rgba(0,0,0,.24); }
.release-delete-options .project-delete-option > span { border-color: rgba(255,111,134,.15); }
.release-delete-options .project-delete-option strong { color: #ff9cac; }
.project-delete-confirm { margin-top: 14px; padding: 13px; border: 1px solid rgba(255,111,134,.14); border-radius: 12px; background: rgba(255,111,134,.045); }
.project-delete-confirm label { margin-bottom: 7px; color: #d59ba5; font-size: .69rem; }
.project-delete-confirm input { height: 39px; }

.account-dialog { width: min(470px, calc(100% - 32px)); }
.account-card { position: relative; }
.dialog-close { position: absolute; top: 17px; right: 17px; width: 31px; height: 31px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; color: #858596; background: rgba(255,255,255,.035); cursor: pointer; font-size: 1.1rem; }
.dialog-close:hover { color: white; background: rgba(255,255,255,.08); }
.account-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(124,114,255,.22); border-radius: 13px; color: #aaa4ff; background: rgba(124,114,255,.09); }
.account-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-card label:not(:first-of-type) { margin-top: 13px; }
.account-card input:focus { border-color: rgba(124,114,255,.5); box-shadow: 0 0 0 3px rgba(124,114,255,.09); }
.account-message, .login-message { padding: 10px 12px; margin-top: 14px; border: 1px solid rgba(255,111,134,.2); border-radius: 10px; color: #ffb7c3; background: rgba(255,111,134,.07); font-size: .75rem; line-height: 1.45; }
.account-message.success { border-color: rgba(85,230,165,.2); color: #a5f3cf; background: rgba(85,230,165,.07); }
.account-actions { margin-top: 17px; }
.account-save { border: 1px solid rgba(124,114,255,.22); color: white; background: linear-gradient(110deg, #655bfa, #55aee1); font-weight: 650; }
.account-save:disabled { opacity: .5; cursor: wait; }
.account-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0 13px; color: #555566; font-size: .66rem; }
.account-divider::before, .account-divider::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.07); }
.logout-button { width: 100%; height: 41px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255,111,134,.15); border-radius: 11px; color: #d88c9a; background: rgba(255,111,134,.055); cursor: pointer; }
.logout-button:hover { color: #ffadba; border-color: rgba(255,111,134,.25); background: rgba(255,111,134,.09); }
.logout-button:disabled { opacity: .5; cursor: wait; }
.logout-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.statistics-shell { width: min(1180px, calc(100% - 40px)); margin: 42px auto 80px; position: relative; z-index: 1; }
.statistics-filter { width: 220px; }
.statistics-filter > label { display: block; margin: 0 0 7px; color: var(--faint); font-size: .7rem; }
.statistics-filter .compact-select { --custom-select-height: 40px; }
.statistics-filter .custom-select-trigger { padding-left: 13px; border-radius: 11px; }
.statistics-filter .custom-select-chevron { width: 25px; height: 25px; border-radius: 7px; }
.statistics-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.metric-card { min-height: 88px; padding: 15px; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: 1fr auto; column-gap: 12px; align-items: center; overflow: hidden; }
.metric-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -55px; top: -55px; border-radius: 50%; background: rgba(124,114,255,.12); filter: blur(24px); }
.metric-primary { border-color: rgba(124,114,255,.23); background: linear-gradient(135deg, rgba(45,38,96,.7), rgba(13,15,25,.76)); }
.metric-icon { grid-row: 1 / -1; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(124,114,255,.18); border-radius: 11px; background: rgba(124,114,255,.09); color: #aaa4ff; }
.metric-icon svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.metric-card > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.metric-card > div span { color: #8c8c9b; font-size: .7rem; }
.metric-card > div strong { font-size: 1.45rem; line-height: 1; font-variant-numeric: tabular-nums; }
.metric-card > small { color: #59596a; font-size: .63rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.statistics-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr); gap: 12px; min-height: 0; }
.statistics-left { min-height: 0; display: grid; grid-template-rows: 164px minmax(0, 1fr); gap: 12px; }
.trend-panel, .ranking-panel, .records-panel { min-height: 0; padding: 17px; overflow: hidden; }
.stats-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; flex: 0 0 auto; }
.stats-panel-heading h2 { margin: 0; font-size: .86rem; }
.stats-panel-heading p { margin: 4px 0 0; color: var(--faint); font-size: .65rem; }
.chart-total { color: #a7a1ff; font-size: .73rem; font-weight: 650; }
.trend-chart { height: 102px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 12px; padding-top: 9px; }
.trend-column { height: 100%; min-width: 0; display: grid; grid-template-rows: 15px 1fr 15px; gap: 3px; text-align: center; }
.trend-value { color: #6d6d7e; font-size: .58rem; font-variant-numeric: tabular-nums; }
.trend-track { height: 100%; width: min(21px, 62%); margin: 0 auto; display: flex; align-items: flex-end; border-radius: 6px 6px 3px 3px; background: rgba(255,255,255,.025); overflow: hidden; }
.trend-track i { width: 100%; min-height: 2px; display: block; border-radius: 5px 5px 2px 2px; background: linear-gradient(to top, #6258ed, #54c9ee); box-shadow: 0 0 12px rgba(92,91,255,.2); transition: height .35s ease; }
.trend-column small { color: #656576; font-size: .58rem; }
.ranking-panel, .records-panel { display: flex; flex-direction: column; }
.ranking-head, .ranking-row { display: grid; grid-template-columns: minmax(130px, 1.5fr) repeat(4, minmax(55px, .55fr)); gap: 10px; align-items: center; }
.ranking-head { min-height: 31px; padding: 0 9px; margin-top: 8px; color: #535364; font-size: .59rem; }
.ranking-list { min-height: 0; flex: 1 1 auto; overflow-y: auto; scrollbar-width: none; }
.ranking-list::-webkit-scrollbar, .records-list::-webkit-scrollbar { display: none; }
.ranking-row { min-height: 39px; padding: 5px 9px; border-top: 1px solid rgba(255,255,255,.05); color: #8e8e9d; font-size: .67rem; font-variant-numeric: tabular-nums; }
.ranking-row > span, .ranking-row > strong { text-align: center; }
.ranking-row > strong { color: #cfccd7; }
.ranking-project { min-width: 0; display: flex; align-items: center; gap: 8px; }
.ranking-project i { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 6px; background: rgba(124,114,255,.08); color: #8882dc; font-size: .58rem; font-style: normal; }
.ranking-project strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c4c4cf; font-size: .68rem; }
.live-badge { min-height: 24px; padding: 0 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(85,230,165,.13); border-radius: 7px; color: #7aca9f; background: rgba(85,230,165,.055); font-size: .6rem; }
.live-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(85,230,165,.6); }
.records-list { min-height: 0; flex: 1 1 auto; margin-top: 9px; overflow-y: auto; scrollbar-width: none; }
.record-row { padding: 10px 1px; border-top: 1px solid rgba(255,255,255,.055); }
.record-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.record-top > strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 650 .71rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: #d1d1dc; }
.record-platform { min-height: 22px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 6px; border: 1px solid rgba(84,200,238,.13); background: rgba(84,200,238,.055); color: #75cde9; font-size: .57rem; }
.record-platform.mac { border-color: rgba(167,161,255,.15); background: rgba(124,114,255,.06); color: #aaa5eb; }
.record-project { margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #777788; font-size: .64rem; }
.record-project span { color: #444453; }
.record-row time { display: block; margin-top: 5px; color: #555566; font-size: .59rem; font-variant-numeric: tabular-nums; }
.stats-empty { height: 100%; min-height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #8a8a99; }
.stats-empty strong { font-size: .72rem; }
.stats-empty span { margin-top: 5px; color: #555566; font-size: .62rem; }
.records-empty { min-height: 180px; }
.stats-loading { height: 80px; margin-top: 8px; border-radius: 10px; background: linear-gradient(90deg, rgba(255,255,255,.025), rgba(255,255,255,.06), rgba(255,255,255,.025)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }

.state-shell { min-height: calc(100vh - 84px); display: grid; place-items: center; padding: 40px 20px 120px; position: relative; z-index: 1; }
.state-card { width: min(500px, 100%); padding: 52px 30px; text-align: center; }
.state-code { width: 55px; height: 55px; margin: 0 auto 21px; display: grid; place-items: center; border-radius: 16px; background: rgba(124,114,255,.11); border: 1px solid rgba(124,114,255,.2); color: #aaa4ff; font-weight: 750; }
.state-card h1 { margin: 0; font-size: 1.7rem; }
.state-card p { margin: 14px auto 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }

.login-shell { min-height: calc(100vh - 84px); min-height: calc(100dvh - 84px); padding: 20px; display: grid; place-items: center; position: relative; z-index: 1; overflow: hidden; }
.login-orbit { position: absolute; width: 520px; height: 520px; border: 1px solid rgba(124,114,255,.08); border-radius: 50%; box-shadow: 0 0 90px rgba(90,68,255,.1), inset 0 0 90px rgba(85,215,255,.025); }
.login-orbit::before, .login-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.login-orbit::before { inset: 66px; border: 1px solid rgba(85,215,255,.06); }
.login-orbit::after { width: 8px; height: 8px; top: 74px; right: 76px; background: #8d86ff; box-shadow: 0 0 18px rgba(124,114,255,.85); }
.login-card { width: min(430px, 100%); padding: 32px; overflow: hidden; }
.login-card::before { content: ""; position: absolute; width: 210px; height: 120px; top: -95px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: rgba(124,114,255,.3); filter: blur(45px); }
.login-lock { width: 48px; height: 48px; margin-bottom: 22px; display: grid; place-items: center; border: 1px solid rgba(124,114,255,.25); border-radius: 14px; color: #b1acff; background: linear-gradient(145deg, rgba(124,114,255,.19), rgba(85,215,255,.055)); box-shadow: 0 12px 32px rgba(76,59,222,.16); }
.login-lock svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-card .eyebrow { margin-bottom: 9px; }
.login-card h1 { margin: 0; font-size: 1.9rem; letter-spacing: -.045em; }
.login-copy { margin: 10px 0 23px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.login-card > label { display: block; margin-bottom: 8px; color: #b4b4c1; font-size: .76rem; }
.password-field { position: relative; }
.password-field input { width: 100%; height: 48px; padding: 0 48px 0 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; outline: 0; color: #fff; background: rgba(0,0,0,.28); transition: border-color .2s, box-shadow .2s; }
.password-field input::placeholder { color: #545464; }
.password-field input:focus { border-color: rgba(124,114,255,.54); box-shadow: 0 0 0 3px rgba(124,114,255,.1); }
.password-field button { position: absolute; top: 7px; right: 7px; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 9px; color: #777788; background: transparent; cursor: pointer; }
.password-field button:hover { color: #c3bfff; background: rgba(124,114,255,.08); }
.password-field svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.password-field .eye-closed, .password-field button.is-showing .eye-open { display: none; }
.password-field button.is-showing .eye-closed { display: block; }
.login-submit { height: 48px; margin-top: 17px; }
.login-note { margin: 14px 0 0; display: flex; align-items: center; justify-content: center; gap: 7px; color: #5f5f70; font-size: .67rem; }
.login-note i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(85,230,165,.55); }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
[hidden] { display: none !important; }
@media (min-width: 841px) {
  body { height: 100vh; height: 100dvh; overflow: hidden; }
  .site-header { height: 64px; }

  .admin-shell {
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    margin: 0 auto;
    padding: 14px 0 20px;
    display: flex;
    flex-direction: column;
  }
  .intro-row { flex: 0 0 auto; align-items: center; margin-bottom: 14px; }
  .intro-row .eyebrow { margin-bottom: 7px; }
  .intro-row h1 { font-size: clamp(1.8rem, 2.7vw, 2.55rem); }
  .intro-copy { margin-top: 7px; font-size: .84rem; line-height: 1.45; }
  .status-chip { padding-bottom: 0; }
  .workspace-grid { flex: 1 1 auto; min-height: 0; }
  .release-panel, .project-panel { height: 100%; min-height: 0; }

  .release-panel { padding: 0 24px 18px; }
  .release-panel form {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    column-gap: 22px;
    align-content: stretch;
  }
  .step-block { min-width: 0; padding: 17px 0 13px; }
  .step-block:nth-of-type(1) { grid-column: 1; padding-right: 2px; }
  .step-block:nth-of-type(2) { grid-column: 2; }
  .step-heading { gap: 11px; margin-bottom: 12px; }
  .step-number { width: 31px; height: 31px; border-radius: 9px; }
  .step-heading p { display: none; }
  .mode-switch { margin-bottom: 10px; }
  .mode-switch span { min-width: 88px; min-height: 32px; }
  .field-group input { height: 42px; }
  .field-group .custom-select { --custom-select-height: 42px; }
  .platform-grid { gap: 9px; }
  .platform-card { min-height: 67px; padding: 0 13px; gap: 10px; }
  .platform-card > svg { width: 23px; height: 23px; }
  .platform-card small { font-size: .66rem; }

  .file-step {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 13px 0;
  }
  .file-step .step-heading { margin: 0; }
  .drop-zone { min-height: 76px; padding: 12px 16px; }
  .upload-icon { width: 41px; height: 41px; }
  .form-message, .progress-area, .primary-button { grid-column: 1 / -1; }
  .form-message { margin: 0 0 8px; padding: 9px 12px; }
  .progress-area { margin: 0 0 8px; }
  .primary-button { height: 46px; border-radius: 12px; }

  .project-panel { padding: 20px; display: flex; flex-direction: column; }
  .panel-heading { flex: 0 0 auto; margin-bottom: 13px; }
  .project-list { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; scrollbar-width: none; }
  .project-item { padding: 12px; }
  .project-actions { margin-top: 9px; }
  .platform-tags { margin-top: 8px; }
  .empty-state { height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 18px; }
  .loading-card { height: 100%; overflow: hidden; }

  .download-shell {
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    margin: 0 auto;
    padding: 20px 0 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .product-hero { flex: 0 0 auto; margin-bottom: 21px; }
  .app-icon { width: 58px; height: 58px; margin-bottom: 16px; border-radius: 17px; font-size: 1.35rem; }
  .product-hero .eyebrow { margin-bottom: 9px; }
  .product-hero h1 { font-size: clamp(2.15rem, 4.2vw, 3.35rem); }
  .product-hero > p { margin-top: 10px; }
  .download-card { padding: 21px; }
  .os-icon { width: 41px; height: 41px; }
  .download-card h2 { margin: 17px 0 8px; font-size: 1.2rem; }
  .package-meta { margin: 5px 0 16px; }
  .download-button { height: 43px; }
  .trust-note { flex: 0 0 auto; margin-top: 14px; }
  html.is-mobile-client .download-shell { height: auto; min-height: calc(100dvh - 64px); }

  .management-shell {
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    margin: 0 auto;
    padding: 14px 0 20px;
    display: flex;
    flex-direction: column;
  }
  .management-intro { flex: 0 0 auto; margin-bottom: 14px; }
  .management-intro .eyebrow { margin-bottom: 7px; }
  .management-intro h1 { font-size: clamp(1.8rem, 2.7vw, 2.55rem); }
  .management-panel { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .summary-grid, .management-toolbar, .product-table-head { flex: 0 0 auto; }
  .product-table { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .product-table-body { flex: 1 1 auto; }

  .statistics-shell {
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    margin: 0 auto;
    padding: 14px 0 20px;
    display: flex;
    flex-direction: column;
  }
  .statistics-intro { flex: 0 0 auto; margin-bottom: 12px; }
  .statistics-intro .eyebrow { margin-bottom: 7px; }
  .statistics-intro h1 { font-size: clamp(1.8rem, 2.7vw, 2.55rem); }
  .statistics-summary { flex: 0 0 auto; }
  .statistics-grid { flex: 1 1 auto; }
}
@media (min-width: 841px) and (max-width: 1100px) {
  .workspace-grid { grid-template-columns: minmax(0, 1.45fr) minmax(330px, .85fr); }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 52px; }
  .platform-card small { display: none; }
}
@media (max-width: 840px) {
  .workspace-grid { grid-template-columns: 1fr; }
  .project-panel { position: static; }
  .project-list { max-height: none; }
  .management-shell { width: min(100% - 24px, 1180px); margin: 28px auto 60px; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .product-table-head { display: none; }
  .product-table-body { margin-top: 13px; }
  .product-row { grid-template-columns: 1fr auto; gap: 12px; padding: 14px; }
  .product-main { grid-column: 1; }
  .product-status-cell { grid-column: 2; grid-row: 1; }
  .product-url { grid-column: 1 / -1; grid-row: 2; }
  .file-stats { grid-column: 1; grid-row: 3; }
  .row-actions { grid-column: 2; grid-row: 3; }
  .statistics-shell { width: min(100% - 24px, 1180px); margin: 28px auto 60px; }
  .statistics-summary { grid-template-columns: repeat(2, 1fr); }
  .statistics-grid { grid-template-columns: 1fr; }
  .statistics-left { grid-template-rows: 190px minmax(240px, auto); }
  .records-panel { min-height: 380px; }
}
@media (max-width: 600px) {
  .site-header, .admin-shell, .download-shell { width: min(100% - 24px, 1180px); }
  .site-header { height: 70px; }
  .secure-pill { display: none; }
  .header-link { padding: 0 11px; }
  .header-actions { gap: 6px; }
  .account-trigger { width: 34px; padding: 0; justify-content: center; }
  .account-trigger > span { display: none; }
  .admin-shell { margin-top: 28px; }
  .intro-row { display: block; margin-bottom: 24px; }
  .status-chip { margin-top: 16px; padding: 0; }
  .intro-copy { font-size: .9rem; }
  .release-panel { padding: 5px 18px 22px; }
  .platform-grid { grid-template-columns: 1fr; }
  .project-panel { padding: 20px; }
  .drop-zone { min-height: 148px; align-items: flex-start; }
  .drop-copy strong { white-space: normal; }
  .download-shell { margin-top: 45px; }
  .product-hero { margin-bottom: 24px; }
  .product-hero > p { padding: 0 15px; line-height: 1.65; }
  html.is-mobile-client .mobile-download-tip { padding: 20px 16px 18px; }
  .management-intro { display: block; }
  .management-intro .primary-link { margin-top: 16px; }
  .management-panel { padding: 15px; }
  .management-toolbar { align-items: flex-start; flex-direction: column; }
  .filter-switch { width: 100%; }
  .filter-switch button { flex: 1; }
  .summary-item { min-height: 65px; }
  .product-row { grid-template-columns: 1fr; }
  .product-status-cell, .product-url, .file-stats, .row-actions { grid-column: 1; grid-row: auto; }
  .row-actions { justify-content: flex-start; }
  .release-delete-options { grid-template-columns: 1fr; }
  .release-delete-options label > span { min-height: 60px; }
  .statistics-intro { display: block; }
  .statistics-filter { width: 100%; margin-top: 16px; }
  .statistics-summary { grid-template-columns: 1fr; }
  .metric-card { min-height: 82px; }
  .ranking-head { display: none; }
  .ranking-row { grid-template-columns: 1fr repeat(2, 42px); }
  .ranking-row > span:nth-of-type(1), .ranking-row > span:nth-of-type(2) { display: none; }
  .ranking-project { grid-column: 1; }
  .login-shell { min-height: calc(100vh - 70px); min-height: calc(100dvh - 70px); padding: 12px; }
  .login-card { padding: 26px 20px; }
  .login-orbit { width: 390px; height: 390px; }
}
@media (max-width: 430px) {
  .header-actions .header-link { width: 34px; padding: 0; justify-content: center; }
  .header-actions .header-link > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
