:root {
  color-scheme: dark;
  --bg: #080d18;
  --surface: rgba(16, 24, 39, .9);
  --line: rgba(178, 198, 224, .13);
  --line-strong: rgba(178, 198, 224, .22);
  --text: #eef3fa;
  --muted: #93a0b3;
  --dim: #69778d;
  --blue: #9edbff;
  --mint: #9be9d1;
  --warning: #f0ce91;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  min-width: 320px; margin: 0; color: var(--text);
  background: linear-gradient(rgba(171,195,220,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(171,195,220,.018) 1px,transparent 1px),var(--bg);
  background-size: 64px 64px;
  font: 14px/1.55 "Avenir Next","Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.file-drop:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.ambient { position: fixed; z-index: -1; width: 540px; height: 540px; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.ambient-one { top: -350px; right: -110px; background: rgba(42,106,176,.2); }
.ambient-two { top: 480px; left: -440px; background: rgba(32,119,130,.12); }
.app-shell { width: min(100% - 64px,1160px); margin: 0 auto; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-decoration: none; }
.brand-symbol { display: flex; align-items: end; gap: 3px; width: 21px; height: 20px; }
.brand-symbol i { width: 5px; border-radius: 5px 5px 1px 1px; background: var(--blue); transform: skew(-20deg); }
.brand-symbol i:nth-child(1) { height: 11px; opacity: .62; }
.brand-symbol i:nth-child(2) { height: 18px; }
.brand-symbol i:nth-child(3) { height: 14px; opacity: .78; }
.brand-divider { margin: 0 10px; color: #405069; }
.brand-section { color: var(--muted); font-size: 10px; letter-spacing: .18em; }
.topbar-right { display: flex; align-items: center; gap: 19px; }
.access-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.access-dot,.live-indicator i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px rgba(155,233,209,.62); }
.mode-badge { padding: 5px 9px; color: var(--warning); border: 1px solid rgba(240,206,145,.25); border-radius: 99px; background: rgba(240,206,145,.07); font: 10px "Consolas",monospace; letter-spacing: .08em; }
.mode-badge.is-live { color: var(--mint); border-color: rgba(155,233,209,.25); background: rgba(155,233,209,.07); }
.intro { display: flex; align-items: end; justify-content: space-between; padding: 62px 0 31px; }
.eyebrow { margin: 0 0 11px; color: #76879e; font: 10px/1.3 "Consolas","SFMono-Regular",monospace; letter-spacing: .16em; }
h1,h2,p { margin-top: 0; }
h1 { margin-bottom: 13px; font-size: clamp(32px,4.7vw,47px); font-weight: 650; letter-spacing: -.055em; line-height: 1.15; }
h1 em { color: var(--blue); font-style: normal; }
.intro-copy { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 13px; }
.intro-index { min-width: 110px; padding: 0 0 3px 20px; border-left: 1px solid var(--line-strong); }
.intro-index span { display: block; color: var(--dim); font: 9px "Consolas",monospace; letter-spacing: .14em; }
.intro-index strong { display: block; margin-top: 4px; color: #dce7f6; font: 19px "Consolas",monospace; }
.intro-index strong span { display: inline; color: var(--dim); font: inherit; }
.summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 17px; }
.summary-card { position: relative; display: flex; min-height: 93px; align-items: center; gap: 14px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 13px; background: rgba(14,22,36,.62); }
.summary-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 10px; font: 10px "Consolas",monospace; }
.icon-box { color: #a7d9ff; background: rgba(93,174,255,.1); }
.icon-channel { color: var(--mint); background: rgba(155,233,209,.09); }
.icon-limit { color: #d0c0ff; background: rgba(167,144,255,.1); }
.summary-card>div { display: grid; gap: 1px; }
.summary-label { color: var(--muted); font-size: 10px; }
.summary-card strong { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.summary-card strong small { color: var(--muted); font-size: 11px; font-weight: 400; }
.summary-meta { position: absolute; right: 15px; bottom: 12px; color: #718098; font-size: 9px; }
.preview-banner { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; padding: 13px 16px; border: 1px solid rgba(240,206,145,.17); border-radius: 12px; background: rgba(240,206,145,.055); }
.preview-banner[hidden] { display: none; }
.preview-mark { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(240,206,145,.55); border-radius: 50%; color: var(--warning); font: 11px Georgia,serif; }
.preview-banner strong { display: block; margin-bottom: 2px; color: #efdaae; font-size: 11px; }
.preview-banner p { margin-bottom: 0; color: #b4a787; font-size: 11px; }
.workspace { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(285px,.85fr); gap: 17px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 20px 60px rgba(0,0,0,.13); }
.release-panel { padding: 25px 27px 26px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-heading .eyebrow { margin-bottom: 6px; }
.panel-heading h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.step-counter { color: var(--dim); font: 10px "Consolas",monospace; }
.step-counter b { color: var(--blue); font-weight: 500; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin: 23px 0 24px; padding: 0 0 21px; border-bottom: 1px solid var(--line); list-style: none; }
.steps li { display: flex; min-width: 0; align-items: center; gap: 9px; color: var(--dim); }
.steps li>span { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font: 10px "Consolas",monospace; }
.steps li strong,.steps li small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.steps li strong { color: #aebbd0; font-size: 10px; font-weight: 500; }
.steps li small { margin-top: 1px; color: var(--dim); font-size: 9px; }
.steps .step-current>span { color: #08111c; border-color: var(--blue); background: var(--blue); }
.steps .step-current strong { color: var(--text); }
.field { min-width: 0; margin-bottom: 18px; }
.field>label { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; color: #dbe3ef; font-size: 11px; font-weight: 600; }
.label-tag,.optional-label { padding: 2px 6px; border-radius: 99px; color: #96b8d2; background: rgba(158,219,255,.08); font: 9px "Consolas",monospace; }
.optional-label { color: var(--dim); background: rgba(147,160,179,.08); }
input[type="text"],input[type="password"],select,textarea { width: 100%; min-height: 42px; padding: 10px 12px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 9px; outline: none; background: #0b1320; transition: border-color 160ms ease,box-shadow 160ms ease; }
input::placeholder,textarea::placeholder { color: #5e6c80; }
input[type="text"]:focus,input[type="password"]:focus,select:focus,textarea:focus { border-color: rgba(158,219,255,.6); box-shadow: 0 0 0 3px rgba(93,174,255,.08); }
input:disabled,select:disabled,textarea:disabled { opacity: .56; cursor: not-allowed; }
select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg,transparent 50%,#8190a4 50%),linear-gradient(135deg,#8190a4 50%,transparent 50%); background-position: calc(100% - 17px) 18px,calc(100% - 12px) 18px; background-repeat: no-repeat; background-size: 5px 5px; }
textarea { min-height: 74px; resize: vertical; }
.field-hint { margin: 6px 0 0; color: var(--dim); font-size: 10px; line-height: 1.5; }
.field-hint.is-error { color: #ffaaa4; }
.key-control { display: flex; gap: 8px; }
.key-control input { min-width: 0; }
.quiet-button { padding: 0 10px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; cursor: pointer; font-size: 10px; }
.quiet-button:hover { color: var(--text); border-color: rgba(158,219,255,.42); }
.field-row { display: grid; grid-template-columns: minmax(140px,.72fr) minmax(190px,1.28fr); gap: 14px; }
.field-row .field { margin-bottom: 17px; }
.file-drop { display: flex; min-height: 72px; align-items: center; gap: 12px; padding: 12px 13px; border: 1px dashed rgba(158,181,210,.28); border-radius: 11px; background: rgba(11,19,32,.62); cursor: pointer; transition: background 160ms ease,border-color 160ms ease; }
.file-drop:hover,.file-drop.has-file,.file-drop.is-dragging { border-color: rgba(158,219,255,.53); background: rgba(25,44,64,.35); }
.file-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
.upload-glyph { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(158,219,255,.18); border-radius: 9px; color: var(--blue); background: rgba(158,219,255,.07); font: 20px/1 "Segoe UI",sans-serif; }
.file-copy { display: grid; min-width: 0; flex: 1; gap: 2px; }
.file-copy strong { overflow: hidden; color: #dce7f5; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.file-copy small { color: var(--dim); font-size: 9px; }
.file-action { flex: 0 0 auto; padding: 6px 9px; color: #b8dfff; border: 1px solid rgba(158,219,255,.17); border-radius: 7px; font-size: 9px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); cursor: pointer; font-size: 10px; line-height: 1.55; }
.consent-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.custom-check { display: grid; width: 16px; height: 16px; flex: 0 0 auto; place-items: center; margin-top: 1px; border: 1px solid var(--line-strong); border-radius: 4px; background: #0b1320; }
.consent-row input:checked+.custom-check { border-color: var(--blue); background: var(--blue); }
.consent-row input:checked+.custom-check::after { width: 7px; height: 4px; border-bottom: 1.5px solid #08111c; border-left: 1.5px solid #08111c; content: ""; transform: rotate(-45deg) translate(1px,-1px); }
.consent-row input:focus-visible+.custom-check { outline: 2px solid var(--blue); outline-offset: 3px; }
.form-actions { display: flex; align-items: center; gap: 13px; margin-top: 19px; }
.primary-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 26px; padding: 0 15px; color: #07121f; border: 0; border-radius: 9px; background: linear-gradient(110deg,#c1eaff,#91d6ff); cursor: pointer; font-size: 11px; font-weight: 700; transition: filter 150ms ease,transform 150ms ease; }
.primary-button:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.primary-button:disabled { color: #66768b; background: #202c3d; cursor: not-allowed; }
.primary-button>span:last-child { font-size: 15px; }
.action-note { color: var(--dim); font-size: 9px; }
.side-column { display: grid; gap: 13px; }
.app-panel { padding: 21px; }
.compact-heading h2 { font-size: 17px; }
.live-indicator { display: inline-flex; align-items: center; gap: 6px; color: #9de1cb; font-size: 9px; }
.live-indicator i { width: 6px; height: 6px; }
.app-identity { display: flex; align-items: center; gap: 11px; margin: 20px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.app-avatar { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(158,219,255,.19); border-radius: 12px; color: var(--blue); background: linear-gradient(145deg,rgba(93,174,255,.16),rgba(155,233,209,.07)); font: 12px "Consolas",monospace; }
.app-identity strong,.app-identity span { display: block; }
.app-identity strong { margin-bottom: 2px; font-size: 11px; font-weight: 600; }
.app-identity span { color: var(--muted); font: 9px "Consolas",monospace; }
.app-facts { display: grid; gap: 10px; margin: 0 0 18px; }
.app-facts div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-facts dt { color: var(--dim); font-size: 9px; }
.app-facts dd { margin: 0; color: #c4cfde; font-size: 9px; text-align: right; }
.manifest-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(9,15,25,.62); color: inherit; text-decoration: none; }
.manifest-link:hover { border-color: rgba(158,219,255,.4); }
.manifest-link small,.manifest-link strong { display: block; }
.manifest-link small { margin-bottom: 3px; color: var(--dim); font: 8px "Consolas",monospace; letter-spacing: .1em; }
.manifest-link strong { color: #cceaff; font-size: 10px; font-weight: 500; }
.external-arrow { color: var(--blue); font-size: 15px; }
.security-panel { position: relative; overflow: hidden; padding: 20px 21px 18px; }
.security-panel::after { position: absolute; right: -32px; bottom: -68px; width: 160px; height: 160px; border: 1px solid rgba(155,233,209,.13); border-radius: 50%; content: ""; box-shadow: 0 0 0 15px rgba(155,233,209,.018),0 0 0 31px rgba(155,233,209,.016); }
.security-mark { display: grid; width: 30px; height: 30px; margin-bottom: 14px; place-items: center; border: 1px solid rgba(155,233,209,.18); border-radius: 9px; color: var(--mint); background: rgba(155,233,209,.07); font-size: 17px; }
.security-panel h2 { margin: 0 0 7px; font-size: 15px; font-weight: 600; }
.security-panel>p:not(.eyebrow) { max-width: 310px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.security-rule { display: flex; align-items: center; gap: 7px; margin-top: 17px; color: #a2c7bb; font: 9px "Consolas",monospace; }
.security-rule span { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.compat-note { display: flex; gap: 10px; padding: 2px 4px; color: var(--dim); }
.compat-note>span { flex: 0 0 auto; color: #88b7d6; font-size: 14px; }
.compat-note p { margin: 0; font-size: 9px; line-height: 1.65; }
.compat-note strong { display: block; margin-bottom: 3px; color: #b5c7d8; font-size: 10px; font-weight: 600; }
.result-panel { margin-top: 18px; padding: 21px 24px; }
.result-panel[hidden],.result-panel [hidden] { display: none; }
.result-heading { display: flex; align-items: center; gap: 11px; }
.result-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #08131d; background: var(--mint); font-size: 15px; }
.result-icon.is-error { color: white; background: #b85656; }
.result-heading .eyebrow { margin-bottom: 4px; }
.result-heading h2 { margin: 0; font-size: 15px; font-weight: 600; }
.result-description { margin: 14px 0 0 41px; color: var(--muted); font-size: 10px; }
.progress-wrap { margin: 17px 0 0 41px; }
.progress-caption { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); font-size: 9px; }
.progress-track { overflow: hidden; height: 5px; border-radius: 9px; background: #222e40; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#7bc8fa,#a4efd6); transition: width 120ms ease; }
.checksum-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 13px 0 0 41px; color: var(--dim); font-size: 9px; }
.checksum-row code { overflow-wrap: anywhere; color: #b2d9ca; font: 9px "Consolas",monospace; }
.publish-confirm { margin: 18px 0 0 41px; padding-top: 15px; border-top: 1px solid var(--line); }
.publish-button { background: linear-gradient(110deg,#a8edd4,#7fdcba); }
.published-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin: 17px 0 0 41px; }
.published-links a { color: #b9e4ff; font-size: 10px; text-decoration: none; }
.published-links a:hover { text-decoration: underline; }
.status-message { min-height: 18px; margin-top: 10px; color: var(--warning); font-size: 10px; }
.status-message:empty { display: none; }
.status-message.is-error { color: #ffaaa4; }
.footer { display: flex; justify-content: space-between; padding: 27px 0 35px; color: #59677b; font: 9px "Consolas",monospace; letter-spacing: .07em; }
.footer i { padding: 0 4px; color: #41536b; font-style: normal; }
.footer b { padding-left: 4px; color: #68bfa5; font-size: 7px; }
@media (max-width: 900px) {
  .app-shell { width: min(100% - 40px,720px); }
  .workspace { grid-template-columns: minmax(0,1.35fr) minmax(250px,.9fr); gap: 12px; }
  .release-panel { padding: 22px 20px; }
  .summary-card { padding: 14px 12px; gap: 9px; }
  .summary-meta { right: 11px; font-size: 8px; }
}
@media (max-width: 680px) {
  .app-shell { width: min(100% - 32px,520px); }
  .topbar { height: 65px; }
  .topbar-right { gap: 8px; }
  .access-label { font-size: 10px; }
  .mode-badge { font-size: 9px; }
  .intro { padding: 42px 0 22px; }
  .intro-index { display: none; }
  .intro-copy { max-width: 440px; line-height: 1.7; }
  .summary-grid { gap: 7px; }
  .summary-card { min-height: 81px; display: block; padding: 11px 10px 18px; }
  .summary-icon { width: 25px; height: 25px; margin-bottom: 7px; border-radius: 7px; font-size: 8px; }
  .summary-label { font-size: 9px; }
  .summary-card strong { font-size: 14px; }
  .summary-card strong small { font-size: 9px; }
  .summary-meta { bottom: 5px; left: 10px; right: auto; font-size: 7px; }
  .workspace { grid-template-columns: 1fr; }
  .side-column { grid-template-columns: 1fr 1fr; align-items: start; }
  .app-panel,.compat-note { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .brand { font-size: 10px; }
  .brand-divider { margin: 0 6px; }
  .brand-section { font-size: 8px; }
  .access-label { font-size: 0; gap: 0; }
  .access-dot { width: 7px; height: 7px; }
  .intro { padding-top: 34px; }
  h1 { font-size: 33px; }
  .intro-copy { font-size: 11px; }
  .release-panel { padding: 19px 15px; }
  .steps { gap: 4px; }
  .steps li { gap: 6px; }
  .steps li strong { font-size: 9px; }
  .steps li small { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-bottom: 17px; }
  .file-action { padding: 6px; font-size: 8px; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .primary-button { width: 100%; justify-content: space-between; }
  .side-column { grid-template-columns: 1fr; }
  .app-panel,.compat-note { grid-column: auto; }
  .result-panel { padding: 17px 14px; }
  .result-description,.progress-wrap,.checksum-row,.publish-confirm,.published-links { margin-left: 0; }
  .footer { gap: 10px; font-size: 8px; }
}
