:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --panel-2: #fafafc;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --text: #1c1c1e;
  --text-2: #6e6e73;
  --text-3: #a1a1a6;
  --blue: #007aff;
  --blue-soft: #e8f2ff;
  --green: #34c759;
  --green-soft: #e8f9ed;
  --amber: #ff9500;
  --amber-soft: #fff4e5;
  --red: #ff3b30;
  --red-soft: #ffeeed;
  --purple: #7d5fff;
  --purple-soft: #f0ecff;
  --teal: #00b8a9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.05);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

/* 兜底：.empty / .progress 这类类里写了 display，会把浏览器默认的
   [hidden] { display: none } 盖掉，导致 JS 里 el.hidden = true 之后
   元素照样占位置（曾经导致空状态一直顶在上面的问题）。这里统一压住。 */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "Segoe UI", "Microsoft YaHei", Roboto, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
code, pre, .mono { font-family: var(--mono); }

/* ---------- 顶栏 ---------- */
.topbar {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.brand .logo {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #007aff, #7d5fff);
  display: grid; place-items: center; color: #fff; font-size: 14px;
}
.brand small { color: var(--text-3); font-weight: 400; margin-left: 6px; font-size: 12px; }
.topbar .spacer { flex: 1; }
.stat-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 12px; font-size: 12px; color: var(--text-2);
  display: flex; align-items: center; gap: 6px;
}
.chip b { color: var(--text); font-weight: 600; }

/* 仓库占用芯片：可点击，超阈值变色 */
.chip-repo { cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.chip-repo:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.chip-repo.warn { border-color: rgba(255, 149, 0, 0.5); background: var(--amber-soft); }
.chip-repo.lv-critical, .chip-repo.lv-full { border-color: rgba(255, 59, 48, 0.5); background: var(--red-soft); }
.chip-repo.lv-off { color: var(--text-3); }

/* 进度条 */
.bar { height: 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--green); transition: width 0.3s ease; }
.bar.lv-ok > i { background: linear-gradient(90deg, #34c759, #00b8a9); }
.bar.lv-warn > i { background: linear-gradient(90deg, #ffb340, #ff9500); }
.bar.lv-critical > i, .bar.lv-full > i { background: linear-gradient(90deg, #ff6b60, #ff3b30); }
.bar.lv-off > i { background: var(--text-3); }

.repo-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 12.5px; }
.repo-table td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.repo-table td:last-child { text-align: right; font-family: var(--mono); color: var(--text); }
.repo-table tr:last-child td { border-bottom: none; }

/* 支持格式清单 */
.dz-formats { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.fmt-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; }
.fmt-key { font-size: 11px; color: var(--text-3); margin-right: 2px; }
.fmt-key.bad { color: var(--red); }
.fmt-pill {
  font-size: 11px; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text-2);
  white-space: nowrap;
}
.fmt-pill.ok { background: var(--green-soft); border-color: rgba(52, 199, 89, 0.35); color: #1d8a3e; }
.fmt-pill.ok.try { background: var(--blue-soft); border-color: rgba(0, 122, 255, 0.3); color: #0a5cc4; }
.fmt-pill.bad { background: var(--red-soft); border-color: rgba(255, 59, 48, 0.3); color: #c62a20; }

/* ---------- 布局 ---------- */
.layout { display: flex; height: calc(100vh - 60px); overflow: hidden; }
.sidebar {
  width: 250px; flex: none; background: var(--panel-2);
  border-right: 1px solid var(--line); display: flex; flex-direction: column;
}
.side-head {
  padding: 14px 16px 8px; display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-3); font-weight: 600; letter-spacing: .04em;
}
.app-list { list-style: none; margin: 0; padding: 6px 10px; overflow: auto; flex: 1; }
.app-item {
  padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer;
  display: flex; flex-direction: column; gap: 3px; margin-bottom: 2px;
  transition: background .15s;
}
.app-item:hover { background: rgba(0, 0, 0, 0.04); }
.app-item.active { background: var(--blue); color: #fff; }
.app-item.active .app-meta { color: rgba(255, 255, 255, 0.8); }
.app-item .app-name { font-weight: 500; display: flex; align-items: center; gap: 6px; }
.app-item .app-meta { font-size: 11.5px; color: var(--text-3); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }

.content { flex: 1; overflow: auto; padding: 20px 24px 60px; }
.content-inner { max-width: 980px; margin: 0 auto; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--panel); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 16px;
}
.card > h2 {
  margin: 0 0 4px; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.card > .sub { color: var(--text-3); font-size: 12.5px; margin-bottom: 14px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  border: none; border-radius: 10px; padding: 8px 14px; cursor: pointer;
  background: var(--blue); color: #fff; font-weight: 500; font-size: 13px;
  transition: transform .1s, opacity .15s; white-space: nowrap;
}
.btn:hover { opacity: .9; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.ghost { background: rgba(0, 0, 0, 0.05); color: var(--text); }
.btn.ghost:hover { background: rgba(0, 0, 0, 0.09); }
.btn.danger { background: var(--red-soft); color: var(--red); }
.btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
.btn.purple { background: var(--purple); }
.btn.teal { background: var(--teal); }

/* ---------- 拖拽区 ---------- */
.dropzone {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  padding: 30px 20px; text-align: center; cursor: pointer;
  background: var(--panel-2); transition: all .18s;
}
.dropzone:hover, .dropzone.over {
  border-color: var(--blue); background: var(--blue-soft);
}
.dropzone .dz-icon { font-size: 30px; line-height: 1; margin-bottom: 10px; }
.dropzone .dz-title { font-weight: 500; margin-bottom: 4px; }
.dropzone .dz-hint { color: var(--text-3); font-size: 12.5px; }
.dropzone .dz-hint b { color: var(--text-2); }

.dropzone-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- 版本时间线 ---------- */
.timeline { display: flex; flex-direction: column; gap: 2px; }
.rel {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px;
  border-radius: var(--radius-sm); position: relative;
}
.rel:hover { background: var(--panel-2); }
.rel .ver {
  font-family: var(--mono); font-weight: 600; font-size: 13.5px;
  background: var(--blue-soft); color: var(--blue);
  padding: 3px 9px; border-radius: 7px; flex: none;
}
.rel.latest .ver { background: var(--green-soft); color: #1e8e3e; }
.rel .rel-info { flex: 1; min-width: 0; }
.rel .rel-sub { color: var(--text-3); font-size: 12px; }
.badge {
  font-size: 11px; padding: 2px 7px; border-radius: 6px;
  background: var(--green-soft); color: #1e8e3e; font-weight: 500;
}
.badge.gray { background: rgba(0, 0, 0, 0.05); color: var(--text-2); }

/* ---------- 表格 ---------- */
table.pkg { width: 100%; border-collapse: collapse; font-size: 13px; }
table.pkg th {
  text-align: left; font-weight: 500; color: var(--text-3); font-size: 11.5px;
  padding: 6px 8px; border-bottom: 1px solid var(--line);
  text-transform: uppercase; letter-spacing: .03em;
}
table.pkg td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.pkg tr:last-child td { border-bottom: none; }
.tpath {
  font-family: var(--mono); font-size: 11.5px; color: var(--text-2);
  max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  display: inline-block; vertical-align: middle;
}
.tag {
  font-size: 11px; padding: 2px 7px; border-radius: 6px; font-weight: 500; white-space: nowrap;
}
.tag.patch { background: var(--purple-soft); color: #5b3fd6; }
.tag.full { background: var(--amber-soft); color: #b26a00; }
.size { color: var(--text-2); font-family: var(--mono); font-size: 12px; white-space: nowrap; }

/* ---------- 差异统计 ---------- */
.diff-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.diff-cell {
  flex: 1 1 96px; border-radius: var(--radius-sm); padding: 10px 12px;
  background: var(--panel-2); border: 1px solid var(--line);
}
.diff-cell .n { font-size: 19px; font-weight: 600; font-family: var(--mono); }
.diff-cell .l { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.diff-cell.add .n { color: var(--green); }
.diff-cell.chg .n { color: var(--amber); }
.diff-cell.del .n { color: var(--red); }
.diff-cell.same .n { color: var(--text-3); }
.diff-cell.pay .n { color: var(--blue); }

/* ---------- 表单 ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 6px; }
.field input[type="text"], .field input[type="password"], .field select {
  width: 100%; padding: 9px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--panel); outline: none;
}
.field input[type="text"]:focus, .field input[type="password"]:focus, .field select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12);
}
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > .field { flex: 1 1 180px; margin-bottom: 0; }

.hint { font-size: 12px; color: var(--text-3); margin-top: 6px; line-height: 1.6; }
.hint code { background: rgba(0, 0, 0, 0.05); padding: 1px 5px; border-radius: 5px; }

/* ---------- 进度 ---------- */
.progress { height: 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.07); overflow: hidden; margin-top: 10px; }
.progress > i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width .2s; }

/* ---------- 发布任务进度面板 ---------- */
.job-panel {
  margin-top: 14px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel-2);
}
.job-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.job-title { font-size: 13px; font-weight: 600; color: var(--text); }
.job-pct {
  font-size: 13px; font-weight: 600; color: var(--blue);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.job-panel .progress { height: 8px; margin-top: 10px; }
.job-panel .progress > i { transition: width .3s ease; }

/* 解包这类报不出进度的阶段：条上跑条纹，配合 JS 端的缓慢爬行，
   至少让人看出「在动」，而不是停在那儿像卡死 */
.progress > i.indet {
  background-image: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.42) 25%, transparent 25%,
    transparent 50%, rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.42) 75%, transparent 75%
  );
  background-size: 20px 20px;
  animation: job-stripes .7s linear infinite;
}
@keyframes job-stripes { to { background-position: 20px 0; } }

/* 收尾态：成功变绿、失败变红（并停在卡住的位置，方便判断断在哪一步） */
.job-panel.done .job-pct { color: var(--green); }
.job-panel.done .progress > i { background: var(--green); }
.job-panel.failed .job-pct { color: var(--red); }
.job-panel.failed .progress > i { background: var(--red); }
.job-panel.done .progress > i.indet,
.job-panel.failed .progress > i.indet { animation: none; background-image: none; }

/* 阶段点：走完的绿、正在跑的蓝、还没到的灰 */
.job-steps { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 11px; }
.job-step { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-3); }
.job-step::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(120, 120, 128, 0.3); transition: background .2s, box-shadow .2s;
}
.job-step.running { color: var(--blue); font-weight: 600; }
.job-step.running::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.16); }
.job-step.done { color: var(--text-2); }
.job-step.done::before { background: var(--green); }
/* 明细文字这一行会频繁变化，给个最小高度免得面板整体跳动 */
.job-detail { min-height: 18px; }

/* ---------- 代码块 ---------- */
pre.code {
  background: #1c1c1e; color: #f2f2f7; padding: 14px 16px; border-radius: var(--radius-sm);
  overflow: auto; font-size: 12px; line-height: 1.65; margin: 0;
}
pre.code .k { color: #ff9f0a; }
pre.code .s { color: #6ee7a8; }
pre.code .c { color: #8e8e93; }

/* ---------- 弹窗 ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.32);
  display: grid; place-items: center; z-index: 100; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--panel); border-radius: 20px; width: min(620px, 100%);
  max-height: 86vh; overflow: auto; padding: 22px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.modal h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.modal .modal-sub { color: var(--text-3); font-size: 12.5px; margin-bottom: 16px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px);
  background: rgba(28, 28, 30, 0.94); color: #fff; padding: 10px 18px;
  border-radius: 12px; font-size: 13px; opacity: 0; pointer-events: none;
  transition: all .24s; z-index: 200; max-width: 80vw;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: rgba(255, 59, 48, 0.96); }

/* ---------- 空状态 ---------- */
.empty {
  display: grid; place-items: center;
  /* align-content 默认是 stretch，会把每一行拉开撑满 min-height，
     导致图标/标题/按钮之间出现大片空隙，这里改成居中收拢 */
  align-content: center;
  min-height: 54vh; padding: 28px;
  text-align: center; color: var(--text-3);
}
.empty .empty-icon {
  width: 66px; height: 66px; border-radius: 20px; margin-bottom: 10px;
  display: grid; place-items: center; font-size: 30px;
  background: linear-gradient(150deg, #eaf3ff, #f3edff);
  box-shadow: inset 0 0 0 1px rgba(0, 122, 255, 0.12);
}
.empty h2 { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); }
.empty p {
  margin: 8px 0 0; max-width: 440px;
  font-size: 12.5px; color: var(--text-3); line-height: 1.75;
}
.empty .btn { margin-top: 16px; }
.empty .big { font-size: 40px; }

.list-plain { list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--text-2); }
.list-plain li { padding: 4px 0; font-family: var(--mono); }

/* ---------- 上传前过滤规则 ---------- */
.ignore-box {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  padding: 0 14px;
}
.ignore-box > summary {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 0; cursor: pointer; font-size: 13px;
  font-weight: 500; list-style: none;
}
.ignore-box > summary::-webkit-details-marker { display: none; }
.ignore-box > summary::after {
  content: ''; width: 6px; height: 6px; margin-left: auto; flex: none;
  border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s;
}
.ignore-box[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.ignore-badge {
  padding: 2px 9px; border-radius: 20px; font-size: 11px; font-weight: 500;
  background: var(--blue-soft); color: var(--blue);
}
.ignore-presets { display: grid; gap: 8px; padding-bottom: 10px; }
.ignore-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer;
}
.ignore-item input { margin: 2px 0 0; accent-color: var(--blue); flex: none; cursor: pointer; }
.ignore-item span { display: grid; gap: 3px; }
.ignore-item b { font-size: 13px; font-weight: 500; }
.ignore-item em { font-style: normal; font-size: 11.5px; color: var(--text-3); line-height: 1.5; }
.ignore-custom {
  width: 100%; padding: 9px 12px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel); outline: none; font-size: 13px;
}
.ignore-custom:focus { border-color: var(--blue); }
.ignore-box .hint { padding-bottom: 12px; }
.ignore-box .hint b { color: var(--text-2); font-weight: 600; }
.ignore-saved { font-size: 11.5px; color: var(--green); min-height: 15px; padding-bottom: 10px; }

/* ---------- 应用短码 / 短地址 ---------- */
.code-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 10px;
}
.code-row .code-label { font-size: 12px; color: var(--text-3); }
.code-pill {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  background: var(--purple-soft); color: #5b3fd6;
  cursor: pointer; border: 1px solid transparent; transition: border-color .15s;
}
.code-pill:hover { border-color: rgba(91, 63, 214, 0.35); }
.code-row .btn { flex: none; }
.legacy-box {
  margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel-2); padding: 0 12px;
}
.legacy-box > summary {
  padding: 10px 0; cursor: pointer; font-size: 12.5px; color: var(--text-3);
  list-style: none;
}
.legacy-box > summary::-webkit-details-marker { display: none; }
.legacy-box > summary::after {
  content: ''; float: right; width: 6px; height: 6px; margin-top: 5px;
  border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg); transition: transform .2s;
}
.legacy-box[open] > summary::after { transform: rotate(-135deg); }
.legacy-box input { margin-bottom: 10px; }

/* 版本行上的操作按钮（改版本号 / 删除） */
.rel .rel-acts { display: flex; gap: 6px; flex: none; }

/* ---------- 登录页 ---------- */
body.gated .topbar,
body.gated .layout { display: none !important; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(1100px 560px at 12% -12%, #dbeafe 0%, rgba(219, 234, 254, 0) 62%),
    radial-gradient(880px 480px at 92% 112%, #ede9fe 0%, rgba(237, 233, 254, 0) 64%),
    var(--bg);
}
body.gated .gate { display: flex; }

.gate-card {
  width: 100%;
  max-width: 356px;
  margin: 0;
  padding: 34px 28px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 24px 60px rgba(0, 0, 0, 0.1);
  animation: gateIn 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}
@keyframes gateIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.gate-logo {
  width: 62px; height: 62px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 600; color: #fff;
  border-radius: 18px;
  background: linear-gradient(150deg, #4da3ff, var(--blue) 55%, #0060df);
  box-shadow: 0 10px 24px rgba(0, 122, 255, 0.3);
}
.gate-card h1 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: 0.2px; }
.gate-sub { margin: 0 0 20px; font-size: 13px; color: var(--text-2); }

.gate-input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--panel-2); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.gate-input::placeholder { color: var(--text-3); }
.gate-input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(0, 122, 255, 0.14);
}
.gate-btn { width: 100%; height: 44px; margin-top: 12px; border-radius: 12px; font-size: 14px; }
.gate-err { min-height: 18px; margin-top: 12px; font-size: 12.5px; color: var(--red); }
.gate-tip { margin-top: 14px; font-size: 11.5px; color: var(--text-3); line-height: 1.6; }

@media (max-width: 480px) {
  .gate-card { padding: 28px 22px 20px; border-radius: 20px; }
  .gate-logo { width: 56px; height: 56px; font-size: 27px; }
}
