/* ============================================================
   UI 精修层：整站视觉统一（大厂游戏门户的克制与层次）
   最后加载，覆盖前面各页面的基础样式
   ============================================================ */

:root {
  --bg: #EAF1FB;
  --surface: #FFFFFF;
  --primary: #2E63E8;
  --primary-deep: #0F2A4C;
  --primary-soft: #E3EDFF;
  --accent: #FF7A1A;
  --accent-deep: #C4560C;
  --text: #172740;
  --muted: #6C7E96;
  --line: #DCE7F7;
  --line-strong: #C2D6F2;

  --r-card: 14px;
  --r-btn: 10px;

  --shadow-1: 0 1px 2px rgba(15, 42, 76, .05), 0 6px 18px -10px rgba(15, 42, 76, .18);
  --shadow-2: 0 2px 4px rgba(15, 42, 76, .06), 0 18px 40px -22px rgba(15, 42, 76, .35);
  --shadow-3: 0 30px 70px -36px rgba(15, 42, 76, .45);

  --font-display: "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
  --gutter: clamp(20px, 4vw, 56px);
}

body {
  background:
    radial-gradient(900px 420px at 12% -6%, rgba(80, 140, 255, .16), transparent 70%),
    radial-gradient(700px 380px at 92% 4%, rgba(255, 160, 90, .10), transparent 72%),
    linear-gradient(180deg, #EEF4FE 0%, #E8F0FB 46%, #E5EEFA 100%);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(46, 99, 232, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 99, 232, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(190, 212, 242, .7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
}
.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 66px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
  border-right: 1px solid rgba(190, 212, 242, .7);
  height: 32px;
}
.brand .ic { width: 26px; height: 26px; color: var(--primary); }
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .06em;
  color: var(--primary-deep);
  font-weight: 600;
}
.tabs { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: #4A5C74;
  transition: background var(--t-mid), color var(--t-mid);
}
.tab .ic { width: 17px; height: 17px; opacity: .78; }
.tab:hover { background: rgba(46, 99, 232, .07); color: var(--primary-deep); }
.tab.is-active { background: var(--primary-deep); color: #fff; }
.tab.is-active .ic { opacity: 1; }
.tab.is-active:hover { background: var(--primary-deep); color: #fff; }

.topbar-user .user-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--primary-deep); }
.topbar-user .avatar-sm { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); }

/* ---------- 页面骨架与标题 ---------- */
.app { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.home, .events { padding-top: 26px; }
.block { margin-top: 44px; }

.page-head { margin: 26px 0 4px; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .03em;
  color: var(--primary-deep);
  line-height: 1.25;
}
.page-head p { margin-top: 8px; font-size: 13px; color: var(--muted); }

.sec-head { margin-bottom: 18px; align-items: flex-end; }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--primary-deep);
  position: relative;
  padding-left: 14px;
}
.sec-head h2::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), #6FA0FF);
}
.sec-note { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.sec-note:hover { color: var(--primary); }

/* ---------- 按钮 ---------- */
.btn { min-height: 42px; padding: 0 18px; font-weight: 600; letter-spacing: .02em; }
.btn-primary {
  background: linear-gradient(180deg, #FF8B33, #F2720F);
  box-shadow: 0 10px 24px -10px rgba(242, 114, 15, .75), 0 1px 0 rgba(255,255,255,.4) inset;
}
.btn-primary:hover { background: linear-gradient(180deg, #FF9A4D, #FF7F1A); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--primary-deep); box-shadow: var(--shadow-1); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 8px 20px -12px rgba(46,99,232,.6); }
.btn-quiet { background: #EAF1FF; color: var(--primary-deep); }
.btn-quiet:hover { background: #DCE8FF; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 32px;
  align-items: center;
  padding: 46px 52px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 88% -10%, rgba(90, 152, 255, .38), transparent 62%),
    radial-gradient(90% 120% at 6% 110%, rgba(255, 138, 60, .16), transparent 60%),
    linear-gradient(118deg, #0B1F3A 0%, #10304F 48%, #17427B 100%);
  color: #EAF2FF;
  box-shadow: var(--shadow-3);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .28;
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 3; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; letter-spacing: .22em; color: #A9C7F0;
}
.hero-eyebrow::before { content: ''; width: 22px; height: 1px; background: #FF9A4D; }
.hero h1 {
  margin: 16px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 600;
  letter-spacing: .08em;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 12px 30px rgba(0, 20, 50, .45);
}
.hero-sub { max-width: 560px; font-size: 13.5px; line-height: 1.95; color: rgba(220, 234, 255, .8); }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-actions .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #EAF2FF; box-shadow: none; }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); color: #fff; }
.hero-meta {
  display: flex; gap: 22px; margin-top: 28px;
  font-size: 11.5px; letter-spacing: .06em; color: #93B3DB;
}
.hero-meta span { position: relative; padding-left: 12px; }
.hero-meta span::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: 4px;
  margin-top: -2px; border-radius: 50%; background: #FFA65C;
}
.hero-art { position: relative; z-index: 2; }
.hero-svg { width: 100%; height: auto; color: rgba(160, 200, 255, .55); }

/* ---------- 今日推荐 ---------- */
.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 24px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: #BFD4F5; }
.feature-visual {
  height: 116px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #F1F6FF, #DDEAFE);
  border: 1px solid #D6E4F8;
  color: var(--primary);
}
.feature-visual .ic { width: 56px; height: 56px; opacity: .85; }
.feature-body { min-width: 0; }
.feature-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: .14em; color: #B45A12;
  background: #FFF2E4; border: 1px solid #FFD9B8; border-radius: 999px;
  padding: 3px 10px;
}
.feature-title {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: .04em; color: var(--primary-deep);
}
.feature-desc { font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 600px; }
.feature-meta { display: flex; gap: 18px; margin-top: 14px; font-size: 11.5px; color: #94A6BD; }
.feature-meta .best { color: var(--accent); font-weight: 700; }
.feature-go {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--primary-deep); white-space: nowrap;
  padding: 10px 16px; border-radius: 10px;
  background: var(--primary-soft);
  transition: background var(--t-mid), color var(--t-mid);
}
.feature-card:hover .feature-go { background: var(--primary); color: #fff; }

/* ---------- 分类瓷砖 ---------- */
.type-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.type-tile {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid);
}
.type-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #BFD4F5; }
.type-tile::after {
  content: '';
  position: absolute; right: -18px; top: -18px;
  width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,99,232,.10), transparent 70%);
}
.type-icon {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #EEF4FF, #DCE9FF);
  color: var(--primary);
  border: 1px solid #D8E6FB;
}
.type-tile:nth-child(2) .type-icon,
.type-tile:nth-child(3) .type-icon,
.type-tile:nth-child(4) .type-icon,
.type-tile:nth-child(5) .type-icon {
  background: linear-gradient(140deg, #EEF4FF, #DCE9FF);
  color: var(--primary);
  border: 1px solid #D8E6FB;
}
.type-tile:nth-child(5) .type-icon { color: #B45A12; background: linear-gradient(140deg,#FFF3E6,#FFE4CC); border-color: #FFD9B8; }
.type-name { display: block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--primary-deep); letter-spacing: .04em; }
.type-count { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }

/* ---------- 最近在玩 ---------- */
.recent-card {
  display: block;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color var(--t-mid), transform var(--t-mid) var(--ease);
}
.recent-card:hover { border-color: #BFD4F5; transform: translateY(-2px); }
.recent-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #EFF5FF; color: var(--primary); }
.recent-name { font-size: 13.5px; font-weight: 600; color: var(--primary-deep); }
.recent-time { font-size: 11px; color: var(--muted); }
.recent-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 11.5px; color: var(--muted); }
.recent-score { font-family: var(--font-num); font-size: 15px; color: var(--accent-deep); }

/* ---------- 统计条 ---------- */
.stat-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.stat-item { padding: 22px 26px; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-num { font-family: var(--font-num); font-size: 30px; color: var(--primary-deep); line-height: 1; }
.stat-unit { font-size: 11px; color: var(--muted); margin-left: 5px; }
.stat-label { margin-top: 9px; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }

/* ---------- 分类页 ---------- */
.cat-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 26px 0 30px; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px; height: 42px; width: min(320px, 100%);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-1);
}
.search-box .ic { color: #8BA0BA; }
.search-box input { border: 0; outline: 0; background: transparent; font-size: 13px; width: 100%; color: var(--text); }

.cat-section {
  padding: 26px 26px 28px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-1);
}
.cat-section.is-target { border-color: #FFC089; box-shadow: 0 24px 50px -30px rgba(255,122,26,.6); }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cat-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg,#EDF3FF,#DCE8FE); color: var(--primary); border: 1px solid #D7E3F8;
}
.cat-title { font-family: var(--font-display); font-size: 22px; letter-spacing: .06em; color: var(--primary-deep); }
.cat-note { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cat-count { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.cat-count strong { font-family: var(--font-num); font-size: 17px; color: var(--primary-deep); margin-right: 3px; }

.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.game-card {
  position: relative;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15,42,76,.04);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid);
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #C4D8F7; }
.gc-top { display: flex; align-items: center; justify-content: space-between; }
.gc-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(150deg,#F1F6FF,#DEEAFD); color: var(--primary); border: 1px solid #D9E6F9;
}
.gc-name { margin: 14px 0 6px; font-size: 16px; color: var(--primary-deep); letter-spacing: .02em; }
.gc-desc { font-size: 12px; line-height: 1.75; color: var(--muted); min-height: 42px; }
.gc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid #EDF3FC; }
.gc-go { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; color: var(--primary); }
.gc-go .ic { width: 14px; height: 14px; transform: rotate(-90deg); }
.fav-btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #C3D2E8; transition: color var(--t-mid), background var(--t-mid); }
.fav-btn:hover { background: #F2F7FF; color: var(--primary); }
.fav-btn.is-on { color: var(--accent); }
.gc-hit { position: absolute; inset: 0; border-radius: 14px; }

/* ---------- 我的 ---------- */
.p-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-1); overflow: hidden;
}
.p-stat { padding: 20px 22px; border-right: 1px solid var(--line); }
.p-stat:last-child { border-right: 0; }
.p-stat-num { font-family: var(--font-num); font-size: 26px; color: var(--primary-deep); line-height: 1; }
.p-stat-label { margin-top: 8px; font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.p-stat-link { display: block; transition: background var(--t-mid); }
.p-stat-link:hover { background: #F3F8FF; }
.p-stat-link .p-stat-num { color: var(--accent-deep); }

.profile-head {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 26px;
  background: linear-gradient(120deg, #0F2A4C, #1E4F8C 70%, #2E63E8);
  border-radius: 18px; color: #EAF2FF; box-shadow: var(--shadow-2);
}
.avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.p-name { font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; }
.p-badge { margin-left: 10px; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.34); color: #CFE2FF; letter-spacing: .08em; }
.p-meta { margin-top: 6px; font-size: 11.5px; color: #A8C6EE; }
.p-actions { margin-left: auto; }
.p-actions .btn-quiet { background: rgba(255,255,255,.12); color: #EAF2FF; }
.p-actions .btn-quiet:hover { background: rgba(255,255,255,.2); }

.setting-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); overflow: hidden; }
.setting-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #EFF4FC; }
.setting-item:last-child { border-bottom: 0; }
.setting-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #F0F5FF; color: var(--primary); }
.setting-name { font-size: 13.5px; font-weight: 600; color: var(--primary-deep); }
.setting-desc { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.setting-main { flex: 1; }

/* ---------- 游戏外壳 ---------- */
.gshell { padding-top: 22px; }
.gshell-top { margin-bottom: 16px; }
.gshell-title { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; }
.gshell-back { width: 38px; height: 38px; border-radius: 10px; box-shadow: var(--shadow-1); }
.gshell-rule { border-radius: 12px; box-shadow: var(--shadow-1); }
.gshell-stagewrap { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-2); }
.gshell-controls { margin-top: 14px; }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 52px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11.5px; color: #93A6BE;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; padding: 36px 30px; }
  .hero-art { display: none; }
  .type-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .p-stats { grid-template-columns: repeat(2, 1fr); }
  .p-stat { border-bottom: 1px solid var(--line); }
  .p-stat:nth-child(even) { border-right: 0; }
  .feature-card { grid-template-columns: 140px minmax(0,1fr); }
  .feature-go { display: none; }
}
@media (max-width: 767px) {
  .topbar-inner { height: 58px; gap: 12px; }
  .brand-name { display: none; }
  .tabs { display: none; }
  .hero { padding: 28px 20px; border-radius: 16px; }
  .hero h1 { font-size: 32px; letter-spacing: .1em; }
  .block { margin-top: 32px; }
  .type-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .game-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; padding: 18px; }
  .feature-visual { height: 92px; }
  .stat-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: 0; }
  .cat-section { padding: 18px; }
  .p-stats { grid-template-columns: 1fr 1fr; }
  .recent-row { grid-template-columns: 1fr; }
}

/* ---------- 顶栏激活态收口（去掉旧版橙色下划线） ---------- */
.tab.is-active::after { display: none !important; }
.tab.is-active { background: var(--primary-deep) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(15, 42, 76, .22) !important; }
.tab.is-active .ic { color: #fff; }
.tab { transition: color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease); }

/* ---------- 板块图标统一为蓝 / 第五类橙 ---------- */
.cat-section[data-type] .cat-icon {
  background: linear-gradient(140deg, #EDF4FF, #D8E7FF);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px #D6E5FA;
}
.cat-section[data-type="level"] .cat-icon {
  background: linear-gradient(140deg, #FFF2E4, #FFE0C7);
  color: #D2660F;
  box-shadow: inset 0 0 0 1px #F7D6B6;
}
.gc-icon {
  background: linear-gradient(140deg, #E9F1FF, #C9DDFF);
  color: #1D4FD7;
  box-shadow: inset 0 0 0 1px #CFE0F8;
}
.gc-icon .ic { color: #1D4FD7; }
.hero-svg { color: rgba(150, 195, 255, .8); }
.feature-visual .ic { color: var(--primary); opacity: 1; }

/* ---- 我的 · 云端存档卡片 ---- */
.cloud-card {
  padding: 22px 24px;
}

.cloud-main {
  margin-bottom: 16px;
}

.cloud-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink, #1b2233);
}

.cloud-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2, #6b7386);
  max-width: 62ch;
}

.cloud-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cloud-card .login-form {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.cloud-card .login-form input {
  flex: 1 1 220px;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line, #dfe3ec);
  background: var(--surface, #fff);
  color: var(--ink, #1b2233);
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.cloud-card .login-form input:focus {
  border-color: var(--brand, #2f6bff);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .12);
}

.cloud-card .login-form .btn {
  flex: 0 0 auto;
  height: 42px;
}

.p-badge.is-ok {
  color: #1c7c54;
  background: rgba(28, 124, 84, .1);
  border-color: rgba(28, 124, 84, .25);
}

@media (max-width: 640px) {
  .cloud-card .login-form {
    flex-direction: column;
  }
  .cloud-card .login-form .btn {
    width: 100%;
  }
}


/* 云端存档卡片里的徽标，加深一档避免发灰 */
.cloud-title .p-badge {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 999px;
  color: #2f6bff;
  background: rgba(47, 107, 255, .08);
  border: 1px solid rgba(47, 107, 255, .18);
}
