/* 由 build_css.py 自动生成，请勿手改 */


/* ============ 全局（app.wxss） ============ */


body {
  
  --brand: #2f6fed;
  --brand-d: #1b56cc;
  --brand-l: #eaf1ff;
  --brand-l2: #f5f9ff;

  
  --ink: #161c28;
  --ink2: #5a6577;
  --ink3: #98a2b3;
  --ink4: #c3cad6;
  --line: #eef1f6;
  --bg: #f4f6fa;
  --card: #ffffff;

  
  --ok: #16a34a;
  --ok-bg: #e8f8ef;
  --bad: #e5484d;
  --bad-bg: #fdeded;
  --warn: #f59e0b;
  --warn-bg: #fff5e6;
  --violet: #7c5cff;
  --violet-bg: #f0ecff;

  
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 14px;
  --sd-1: 0 1px 5px rgba(24, 39, 75, 0.04);
  --sd-2: 0 3px 12px rgba(24, 39, 75, 0.07);

  background: var(--bg);
  font-size: 14px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

view, text, input, scroll-view {
  box-sizing: border-box;
}


.container {
  padding: 0 14px 24px;
}

.card {
  background: var(--card);
  border-radius: var(--r-m);
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: var(--sd-1);
}


.muted {
  color: var(--ink3);
  font-size: 12px;
}

.sec-title {
  padding: 14px 4px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sec-title::before {
  content: "";
  display: none;
}

.sec-bar {
  display: inline-block;
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: var(--brand);
  margin-right: 7px;
  vertical-align: -2px;
}


.pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 499.5px;
  font-size: 11px;
  line-height: 1.55;
}

.pill-blue   { background: var(--brand-l);  color: var(--brand); }
.pill-green  { background: var(--ok-bg);    color: var(--ok); }
.pill-orange { background: var(--warn-bg);  color: var(--warn); }
.pill-red    { background: var(--bad-bg);   color: var(--bad); }
.pill-violet { background: var(--violet-bg);color: var(--violet); }
.pill-gray   { background: #f1f4f9;         color: var(--ink2); }


.code-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--brand);
  background: var(--brand-l);
  padding: 1.5px 6px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.25px;
}


.btn {
  display: block;
  width: 100%;
  padding: 13px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, #3d7bf5 0%, #2f6fed 100%);
  color: #ffffff;
  box-shadow: 0 3px 9px rgba(47, 111, 237, 0.28);
}

.btn-ghost {
  background: var(--card);
  color: var(--brand);
  border: 1px solid #d6e3ff;
}

.btn-plain {
  background: #f2f5fa;
  color: var(--ink2);
}

.btn-ok {
  background: var(--ok-bg);
  color: var(--ok);
  border: 1px solid #bfe8d0;
}

.btn-no {
  background: var(--bad-bg);
  color: var(--bad);
  border: 1px solid #f6cfd0;
}


.stat-row {
  display: flex;
  align-items: center;
}

.stat {
  flex: 1;
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(22, 28, 40, 0.07);
}

.stat-num {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink3);
}


.bar {
  height: 5px;
  border-radius: 499.5px;
  background: #eaeef5;
  overflow: hidden;
}

.bar-in {
  height: 100%;
  border-radius: 499.5px;
  background: linear-gradient(90deg, #5b93f8 0%, #2f6fed 100%);
  transition: width 0.25s ease;
}

.bar-in.is-ok {
  background: linear-gradient(90deg, #34c77b 0%, #16a34a 100%);
}


.list {
  background: var(--card);
  border-radius: var(--r-m);
  overflow: hidden;
  box-shadow: var(--sd-1);
}

.list-row {
  display: flex;
  align-items: center;
  padding: 13px 12px;
  position: relative;
}

.list-row::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  transform: scaleY(0.5);
}

.list-row:last-child::after {
  display: none;
}

.arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink4);
  border-top: 1.5px solid var(--ink4);
  transform: rotate(45deg);
  flex-shrink: 0;
}


.empty {
  padding: 70px 30px;
  text-align: center;
  color: var(--ink3);
  font-size: 13px;
  line-height: 1.8;
}

.empty-emoji {
  display: block;
  font-size: 42px;
  margin-bottom: 10px;
  opacity: 0.75;
}


.safe-bottom {
  height: calc(12px + env(safe-area-inset-bottom));
}



/* ============ 网页壳补充 ============ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { -webkit-text-size-adjust: 100%; }
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative;
       background: var(--bg); overflow-x: hidden; }
@media (min-width: 481px) {
  body { background: #e9edf4; }
  #app { box-shadow: 0 0 0 1px rgba(24,39,75,.06), 0 6px 40px rgba(24,39,75,.10); }
}
.pg { display: none; }
.pg.on { display: block; }
img { max-width: 100%; }
button { font-family: inherit; }


/* ============ index -> .pg-home ============ */

.pg-home .page {
  padding-bottom: 10px;
}
.pg-home .hero {
  padding: 12px 16px 46px;
  background: linear-gradient(180deg, #e6efff 0%, #dde9ff 22%, #ecf3ff 58%, #f4f6fa 100%);
}
.pg-home .hero-head {
  display: flex;
  align-items: center;
}
.pg-home .logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, #4a86f7 0%, #2f6fed 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 42px;
  text-align: center;
  margin-right: 10px;
  box-shadow: 0 4px 10px rgba(47, 111, 237, 0.3);
  flex-shrink: 0;
}
.pg-home .hero-txt {
  flex: 1;
  min-width: 0;
}
.pg-home .hero-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.5px;
  color: #161c28;
}
.pg-home .hero-sub {
  margin-top: 2px;
  font-size: 11.5px;
  color: #7b8aa3;
}
.pg-home .hero-add {
  flex-shrink: 0;
  margin-left: 8px;
  padding: 6px 13px;
  border-radius: 499.5px;
  background: rgba(255, 255, 255, 0.88);
  color: #2f6fed;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: 0 1px 5px rgba(47, 111, 237, 0.14);
}
.pg-home .hero-stats {
  margin-top: 18px;
}
.pg-home .hero-stats .stat-num {
  font-size: 22px;
  color: #101725;
}
.pg-home .hero-stats .stat-label {
  color: #8794ab;
}
.pg-home .hero-mine {
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: 499.5px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 11.5px;
  color: #6b7a93;
  display: inline-block;
}
.pg-home .hero-mine .n {
  color: #2f6fed;
  font-weight: 600;
}
.pg-home .hero-off {
  margin-top: 11px;
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  color: #7d8ba3;
}
.pg-home .blank {
  margin: 20px 14px 0;
  padding: 38px 22px 34px;
  background: #ffffff;
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--sd-1);
}
.pg-home .blank-emoji {
  font-size: 40px;
  line-height: 1;
}
.pg-home .blank-t {
  margin-top: 13px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}
.pg-home .blank-s {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink3);
}
.pg-home .blank-btn {
  margin-top: 22px;
  height: 47px;
  line-height: 47px;
  border-radius: 499.5px;
  background: linear-gradient(135deg, #4a86f7 0%, #2f6fed 100%);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 500;
  box-shadow: 0 4px 11px rgba(47, 111, 237, 0.3);
}
.pg-home .search-wrap {
  margin: -30px 14px 0;
}
.pg-home .search {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 11px;
  padding: 0 12px;
  height: 44px;
  box-shadow: 0 4px 12px rgba(24, 39, 75, 0.09);
}
.pg-home .search-icon {
  font-size: 13px;
  margin-right: 7px;
  opacity: 0.5;
}
.pg-home .search-input {
  flex: 1;
  font-size: 14px;
  color: #161c28;
}
.pg-home .ph {
  color: #a8b2c2;
}
.pg-home .search-clear {
  color: #b3bac7;
  padding: 5px 2px 5px 8px;
  font-size: 13px;
}
.pg-home .sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 16px 8px;
}
.pg-home .sec-t {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.pg-home .sec-n {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink3);
}
.pg-home .sec-add {
  font-size: 13px;
  color: var(--brand);
}
.pg-home .subj {
  display: flex;
  margin: 0 14px 8px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(24, 39, 75, 0.045);
}
.pg-home .subj-side {
  width: 4px;
  flex-shrink: 0;
}
.pg-home .subj-body {
  flex: 1;
  min-width: 0;
  padding: 12px 12px 12px 11px;
}
.pg-home .subj-top {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}
.pg-home .code-tag {
  flex-shrink: 0;
  margin-right: 7px;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.pg-home .subj-name {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #161c28;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}
.pg-home .mini-btn {
  flex-shrink: 0;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 499.5px;
  background: #eaf1ff;
  color: #2f6fed;
  font-size: 11.5px;
  line-height: 1.5;
}
.pg-home .subj-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  min-width: 0;
}
.pg-home .subj-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.pg-home .subj-meta .pill {
  margin-right: 6px;
  flex-shrink: 0;
}
.pg-home .subj-cnt {
  font-size: 11.5px;
  color: #8794ab;
  margin-right: 6px;
  flex-shrink: 0;
}
.pg-home .subj-prog {
  font-size: 11.5px;
  color: #2f6fed;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg-home .subj-bar {
  margin-top: 9px;
  height: 4px;
}
.pg-home .src-row {
  display: flex;
  margin-top: 8px;
}
.pg-home .src-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 2px;
  border-radius: 7px;
  margin-right: 6px;
}
.pg-home .src-btn:last-child {
  margin-right: 0;
}
.pg-home .src-real {
  background: #fff2e8;
}
.pg-home .src-real .src-n {
  color: #d97706;
}
.pg-home .src-real .src-c {
  color: #b98150;
}
.pg-home .src-bank {
  background: #eaf1ff;
}
.pg-home .src-bank .src-n {
  color: #2f6fed;
}
.pg-home .src-bank .src-c {
  color: #6b8fd6;
}
.pg-home .src-n {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}
.pg-home .src-c {
  font-size: 10.5px;
  margin-top: 1.5px;
}
.pg-home .more {
  margin: 15px 14px 0;
  padding: 13px 0;
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
  color: var(--brand);
  font-size: 13px;
  box-shadow: var(--sd-1);
}
.pg-home .hint {
  margin-top: 9px;
  text-align: center;
  font-size: 11px;
  color: var(--ink4);
}
.pg-home .src-miya {
  background: linear-gradient(135deg, #fffaf0 0%, #ffeec9 100%);
  border: 1px solid #f3d79b;
}
.pg-home .src-miya .src-n {
  color: #a86a00;
  font-weight: 700;
}
.pg-home .src-miya .src-c {
  color: #b98a3c;
}
.pg-home .miya-card {
  margin: 4px 12px 3px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff4d9 100%);
  border: 1px solid #f2d9a0;
  border-radius: 12px;
  padding: 14px 14px 12px;
  box-shadow: 0 5px 13px rgba(198, 148, 40, .12);
}
.pg-home .miya-top {
  display: flex;
  align-items: center;
}
.pg-home .miya-tag {
  background: #b7791f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.pg-home .miya-hot {
  margin-left: 7px;
  font-size: 11px;
  color: #b7791f;
  background: rgba(183, 121, 31, .12);
  padding: 3px 7px;
  border-radius: 499.5px;
}
.pg-home .miya-t {
  font-size: 17px;
  font-weight: 700;
  color: #6b4a10;
  margin-top: 9px;
}
.pg-home .miya-s {
  font-size: 12px;
  color: #9a7a3c;
  margin-top: 4px;
  line-height: 1.6;
}
.pg-home .miya-stats {
  display: flex;
  margin-top: 11px;
}
.pg-home .miya-stat {
  flex: 1;
  text-align: center;
}
.pg-home .miya-n {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #b7791f;
}
.pg-home .miya-l {
  display: block;
  font-size: 10.5px;
  color: #a98f5f;
  margin-top: 2px;
}
.pg-home .miya-points {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed rgba(183, 121, 31, .25);
}
.pg-home .miya-p {
  display: block;
  font-size: 11.5px;
  color: #8a6f3c;
  line-height: 1.85;
}
.pg-home .miya-btn {
  margin-top: 10px;
  text-align: center;
  background: linear-gradient(135deg, #f0a93a, #e08c14);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 0;
  border-radius: 8px;
  box-shadow: 0 4px 9px rgba(224, 140, 20, .26);
}

/* ============ picks -> .pg-picks ============ */

.pg-picks .page {
  padding-bottom: 10px;
}
.pg-picks .tip {
  margin: 12px 14px 0;
  padding: 13px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eaf1ff 0%, #f3f8ff 100%);
  border: 1px solid #dbe7ff;
}
.pg-picks .tip-t {
  font-size: 14px;
  font-weight: 600;
  color: #1b56cc;
}
.pg-picks .tip-s {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #6b7a93;
}
.pg-picks .head {
  padding: 15px 16px 0;
}
.pg-picks .hd-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.pg-picks .hd-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink3);
}
.pg-picks .search-wrap {
  margin: 12px 14px 0;
}
.pg-picks .search {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 11px;
  padding: 0 12px;
  height: 44px;
  box-shadow: var(--sd-1);
}
.pg-picks .search-icon {
  font-size: 13px;
  margin-right: 7px;
  opacity: 0.5;
}
.pg-picks .search-input {
  flex: 1;
  font-size: 14px;
  color: var(--ink);
}
.pg-picks .ph {
  color: #a8b2c2;
}
.pg-picks .search-clear {
  color: #b3bac7;
  padding: 5px 2px 5px 8px;
  font-size: 13px;
}
.pg-picks .tabs {
  white-space: nowrap;
  padding: 13px 14px 3px;
}
.pg-picks .tab {
  display: inline-block;
  padding: 6px 14px;
  margin-right: 7px;
  border-radius: 499.5px;
  background: #ffffff;
  color: #5a6577;
  font-size: 13px;
  box-shadow: 0 1px 4px rgba(24, 39, 75, 0.04);
  transition: all 0.16s;
}
.pg-picks .tab-on {
  background: linear-gradient(135deg, #4a86f7 0%, #2f6fed 100%);
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(47, 111, 237, 0.3);
}
.pg-picks .count-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px 7px;
  font-size: 12px;
  color: #8794ab;
}
.pg-picks .allbtn {
  color: #2f6fed;
}
.pg-picks .opt {
  display: flex;
  align-items: center;
  margin: 0 14px 8px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(24, 39, 75, 0.045);
  border: 1px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}
.pg-picks .opt-on {
  border-color: #bcd4ff;
  background: #f7faff;
}
.pg-picks .opt-side {
  width: 4px;
  align-self: stretch;
  flex-shrink: 0;
}
.pg-picks .opt-body {
  flex: 1;
  min-width: 0;
  padding: 12px 6px 12px 11px;
}
.pg-picks .opt-top {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}
.pg-picks .code-tag {
  flex-shrink: 0;
  margin-right: 7px;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.pg-picks .opt-name {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  word-break: break-all;
}
.pg-picks .opt-bot {
  display: flex;
  align-items: center;
  margin-top: 6px;
}
.pg-picks .opt-bot .pill {
  margin-right: 6px;
}
.pg-picks .opt-cnt {
  font-size: 11.5px;
  color: #8794ab;
}
.pg-picks .opt-tick {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  margin: 0 13px 0 4px;
  border-radius: 50%;
  border: 1px solid var(--ink4);
  color: transparent;
  font-size: 13px;
  line-height: 21px;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.15s;
}
.pg-picks .opt-on .opt-tick {
  background: linear-gradient(135deg, #4a86f7 0%, #2f6fed 100%);
  border-color: #2f6fed;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(47, 111, 237, 0.32);
}
.pg-picks .foot-space {
  height: 90px;
}
.pg-picks .foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  padding-bottom: calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -3px 12px rgba(24, 39, 75, 0.08);
}
.pg-picks .foot-txt {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--ink2);
}
.pg-picks .foot-txt .n {
  color: var(--brand);
  font-size: 16px;
  font-weight: 600;
}
.pg-picks .foot-skip {
  margin-left: 11px;
  font-size: 12px;
  color: var(--ink3);
  text-decoration: underline;
}
.pg-picks .foot-btn {
  flex-shrink: 0;
  margin-left: 10px;
  padding: 0 20px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 499.5px;
  background: linear-gradient(135deg, #4a86f7 0%, #2f6fed 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 11px rgba(47, 111, 237, 0.32);
}
.pg-picks .foot-btn.off {
  background: #d6dde8;
  box-shadow: none;
}

/* ============ practice -> .pg-practice ============ */

.pg-practice .page {
  padding: 8px 14px 100px;
}
.pg-practice .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 2px 10px;
}
.pg-practice .topbar-l {
  display: flex;
  align-items: center;
}
.pg-practice .mode-pill {
  font-size: 11.5px;
  color: #2f6fed;
  background: #eaf1ff;
  padding: 3px 9px;
  border-radius: 499.5px;
  margin-right: 9px;
}
.pg-practice .pos {
  display: flex;
  align-items: baseline;
}
.pg-practice .pos-n {
  font-size: 17px;
  font-weight: 600;
  color: #161c28;
  font-variant-numeric: tabular-nums;
}
.pg-practice .pos-t {
  font-size: 12px;
  color: #98a2b3;
  margin-left: 3px;
}
.pg-practice .star {
  display: flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 499.5px;
  background: #ffffff;
  color: #8794ab;
  font-size: 12px;
  box-shadow: 0 1px 4px rgba(24, 39, 75, 0.05);
}
.pg-practice .star-ico {
  font-size: 14px;
  margin-right: 4px;
}
.pg-practice .star-on {
  color: #f59e0b;
  background: #fff8ec;
}
.pg-practice .progress {
  height: 5px;
  margin-bottom: 13px;
}
.pg-practice .q-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 15px;
  box-shadow: 0 3px 12px rgba(24, 39, 75, 0.06);
}
.pg-practice .q-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.pg-practice .q-type {
  font-size: 11px;
  color: #2f6fed;
  background: #eaf1ff;
  padding: 3px 9px;
  border-radius: 499.5px;
}
.pg-practice .q-no {
  font-size: 11.5px;
  color: #a8b2c2;
}
.pg-practice .q-stem {
  font-size: 17px;
  line-height: 1.75;
  color: #161c28;
  white-space: pre-wrap;
  word-break: break-word;
}
.pg-practice .opts {
  margin-top: 16px;
}
.pg-practice .opt {
  display: flex;
  align-items: flex-start;
  padding: 13px 12px;
  border: 1px solid #e8ecf3;
  border-radius: 9px;
  margin-bottom: 9px;
  background: #fbfcfe;
  transition: all 0.15s;
}
.pg-practice .opt:last-child {
  margin-bottom: 0;
}
.pg-practice .opt-k {
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: #eef1f6;
  color: #5a6577;
  font-size: 14px;
  font-weight: 500;
  margin-right: 10px;
  flex-shrink: 0;
}
.pg-practice .opt-v {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #2b3444;
  white-space: pre-wrap;
  word-break: break-word;
  padding-top: 3px;
}
.pg-practice .opt-sel {
  border-color: #2f6fed;
  background: #f2f7ff;
}
.pg-practice .opt-sel .opt-k {
  background: #2f6fed;
  color: #ffffff;
}
.pg-practice .opt-right {
  border-color: #3ec07c;
  background: #f2fbf6;
}
.pg-practice .opt-right .opt-k {
  background: #16a34a;
  color: #ffffff;
}
.pg-practice .opt-wrong {
  border-color: #f09295;
  background: #fdf4f4;
}
.pg-practice .opt-wrong .opt-k {
  background: #e5484d;
  color: #ffffff;
}
.pg-practice .noopt {
  margin-top: 14px;
}
.pg-practice .multi-box {
  margin-top: 12px;
}
.pg-practice .multi-tip {
  margin-top: 8px;
  text-align: center;
  font-size: 11.5px;
  color: #98a2b3;
}
.pg-practice .manual-box {
  margin-top: 12px;
}
.pg-practice .manual-tip {
  text-align: center;
  font-size: 12px;
  color: #98a2b3;
  margin-bottom: 9px;
}
.pg-practice .manual-btns {
  display: flex;
}
.pg-practice .manual-btns .btn {
  margin-right: 10px;
}
.pg-practice .manual-btns .btn:last-child {
  margin-right: 0;
}
.pg-practice .result {
  margin-top: 12px;
  border-radius: 12px;
  padding: 14px 14px 12px;
  border: 1px solid transparent;
}
.pg-practice .result-hd {
  display: flex;
  align-items: center;
}
.pg-practice .result-ok { background: #f2fbf6; border-color: #cdeedb; }
.pg-practice .result-no { background: #fdf4f4; border-color: #f7d4d4; }
.pg-practice .result-ref { background: #f4f8ff; border-color: #d9e6ff; }
.pg-practice .result-head {
  display: flex;
  align-items: center;
}
.pg-practice .result-ico {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-right: 10px;
  flex-shrink: 0;
}
.pg-practice .result-ok .result-ico { background: #16a34a; }
.pg-practice .result-no .result-ico { background: #e5484d; }
.pg-practice .result-ref .result-ico { background: #2f6fed; }
.pg-practice .result-txt {
  flex: 1;
  min-width: 0;
}
.pg-practice .result-title {
  font-size: 16px;
  font-weight: 600;
}
.pg-practice .result-ok .result-title { color: #12813c; }
.pg-practice .result-no .result-title { color: #c93a3e; }
.pg-practice .result-ref .result-title { color: #1b56cc; }
.pg-practice .result-ans {
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.72;
  color: #5a6577;
  word-break: break-word;
}
.pg-practice .ans-p {
  white-space: pre-wrap;
}
.pg-practice .ans-img {
  display: block;
  margin: 9px 0;
  max-width: 100%;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid #eef1f6;
}
.pg-practice .ans-img-ph {
  margin: 6px 0;
  padding: 11px;
  text-align: center;
  font-size: 12px;
  color: #9aa4b2;
  background: #f4f6fa;
  border-radius: 6px;
}
.pg-practice .exp {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #dfe6ef;
}
.pg-practice .exp-title {
  display: inline-block;
  font-size: 11.5px;
  color: #5a6577;
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 7px;
}
.pg-practice .exp-body {
  font-size: 14px;
  line-height: 1.75;
  color: #445063;
  white-space: pre-wrap;
  word-break: break-word;
}
.pg-practice .bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -2px 10px rgba(24, 39, 75, 0.07);
}
.pg-practice .nav-btn {
  flex: 1;
  text-align: center;
  padding: 13px 0;
  font-size: 14.5px;
  color: #445063;
  background: #f2f5fa;
  border-radius: 8px;
  margin: 0 4px;
}
.pg-practice .nav-mid {
  flex: 0.62;
  color: #5a6577;
}
.pg-practice .nav-primary {
  background: linear-gradient(135deg, #4a86f7 0%, #2f6fed 100%);
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 3px 9px rgba(47, 111, 237, 0.28);
}
.pg-practice .blank-box {
  margin-top: 14px;
}
.pg-practice .blank-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 13px;
  font-size: 15px;
  color: #1f2733;
  background: #f4f7fc;
  border: 1px solid #dde5f2;
  border-radius: 8px;
}
.pg-practice .blank-input[disabled] {
  color: #6b7688;
  background: #eef1f6;
}
.pg-practice .blank-ph {
  color: #a8b2c2;
}
.pg-practice .blank-btn {
  margin-top: 11px;
}
.pg-practice .blank-mine {
  margin-top: 9px;
  font-size: 13.5px;
  color: #5a6577;
}
.pg-practice .blank-skip {
  margin-top: 11px;
  text-align: center;
  font-size: 13px;
  color: #8b96a8;
  text-decoration: underline;
}
.pg-practice .manual-box {
  margin: 13px 0 0;
  padding: 13px;
  background: #f7f9fd;
  border: 1px solid #e3eaf6;
  border-radius: 9px;
}
.pg-practice .manual-tip {
  font-size: 13px;
  color: #7a8598;
  text-align: center;
  margin-bottom: 11px;
}
.pg-practice .manual-btns {
  display: flex;
}
.pg-practice .manual-btns .btn {
  flex: 1;
  margin: 0 5px;
}
.pg-practice .btn-ok {
  background: #e8f7ee;
  color: #1f9d55;
  border: 1px solid #bfe6cf;
}
.pg-practice .btn-no {
  background: #fdeded;
  color: #d64545;
  border: 1px solid #f5c6c6;
}

/* ============ papers -> .pg-papers ============ */

.pg-papers .page {
  min-height: 100vh;
  background: var(--bg, #f4f6fa);
  padding-bottom: 20px;
}
.pg-papers .hero {
  background: linear-gradient(180deg, #e6efff 0%, rgba(230, 239, 255, 0) 100%);
  padding: 16px 16px 12px;
  position: relative;
}
.pg-papers .hero-t {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink, #1c2434);
  line-height: 1.3;
}
.pg-papers .hero-s {
  font-size: 13px;
  color: var(--ink2, #5b6676);
  margin-top: 4px;
}
.pg-papers .hero-btn {
  position: absolute;
  right: 16px;
  top: 20px;
  background: var(--brand, #2f6fed);
  color: #fff;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 499.5px;
  box-shadow: 0 3px 8px rgba(47, 111, 237, .22);
}
.pg-papers .load {
  text-align: center;
  color: var(--ink3, #8d97a6);
  font-size: 14px;
  padding: 40px 0;
}
.pg-papers .year {
  margin: 0 12px 14px;
}
.pg-papers .year-head {
  display: flex;
  align-items: baseline;
  padding: 12px 4px 8px;
}
.pg-papers .year-y {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #1c2434);
  letter-spacing: 0.5px;
}
.pg-papers .year-y.mock {
  color: var(--warn, #f59e0b);
}
.pg-papers .year-n {
  font-size: 12px;
  color: var(--ink3, #8d97a6);
  margin-left: 8px;
}
.pg-papers .set {
  position: relative;
  background: #fff;
  border-radius: var(--r-m, 8px);
  box-shadow: var(--sd-1, 0 1px 6px rgba(28, 36, 52, .05));
  padding: 12px 12px 11px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.pg-papers .set-l {
  flex: 1;
  min-width: 0;
}
.pg-papers .set-label {
  display: flex;
  align-items: baseline;
}
.pg-papers .set-m {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #1c2434);
}
.pg-papers .set-m.mock {
  color: var(--warn, #f59e0b);
  font-weight: 500;
}
.pg-papers .set-r {
  font-size: 11px;
  color: var(--ink3, #8d97a6);
  margin-left: 6px;
  background: #f2f5fa;
  border-radius: 3px;
  padding: 1px 5px;
}
.pg-papers .set-n {
  font-size: 12px;
  color: var(--ink2, #5b6676);
  margin-top: 4px;
}
.pg-papers .set-done {
  color: var(--ok, #12a05c);
  margin-left: 6px;
}
.pg-papers .set-r-side {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.pg-papers .set-p {
  font-size: 11px;
  color: var(--ink3, #8d97a6);
  margin-right: 8px;
}
.pg-papers .set-go {
  background: #eef4ff;
  color: var(--brand, #2f6fed);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 499.5px;
}
.pg-papers .set-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
}
.pg-papers .bar {
  height: 3px;
  background: #eef1f6;
  border-radius: 499.5px;
  overflow: hidden;
}
.pg-papers .bar-in {
  height: 100%;
  background: var(--brand, #2f6fed);
  border-radius: 499.5px;
}
.pg-papers .hint {
  text-align: center;
  font-size: 12px;
  color: var(--ink3, #8d97a6);
  padding: 10px 20px 0;
  line-height: 1.6;
}
.pg-papers .safe-bottom {
  height: 30px;
}

/* ============ miya -> .pg-miya ============ */

.pg-miya .page {
  min-height: 100vh;
  background: var(--bg, #f4f6fa);
  padding-bottom: 20px;
}
.pg-miya .hero {
  background: linear-gradient(180deg, #e6efff 0%, rgba(230, 239, 255, 0) 100%);
  padding: 16px 16px 12px;
  position: relative;
}
.pg-miya .hero-t {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink, #1c2434);
  line-height: 1.3;
}
.pg-miya .hero-s {
  font-size: 13px;
  color: var(--ink2, #5b6676);
  margin-top: 4px;
}
.pg-miya .hero-badge {
  position: absolute;
  right: 16px;
  top: 22px;
  background: #e8f6ee;
  color: #1c9b5b;
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 499.5px;
  font-weight: 600;
}
.pg-miya .load {
  text-align: center;
  color: var(--ink3, #8d97a6);
  font-size: 14px;
  padding: 40px 0;
}
.pg-miya .lock {
  margin: 4px 12px 0;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 70%);
  border: 1px solid #ffe2bd;
  border-radius: 12px;
  padding: 20px 16px 18px;
  text-align: center;
}
.pg-miya .lock-ico {
  font-size: 30px;
  line-height: 1;
}
.pg-miya .lock-t {
  font-size: 17px;
  font-weight: 700;
  color: #8a4b00;
  margin-top: 10px;
}
.pg-miya .lock-s {
  font-size: 12.5px;
  color: #a8763a;
  line-height: 1.7;
  margin-top: 7px;
}
.pg-miya .act {
  margin: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(28, 36, 52, .06);
}
.pg-miya .act-h {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink, #1c2434);
}
.pg-miya .act-row {
  display: flex;
  align-items: center;
  margin-top: 11px;
}
.pg-miya .act-input {
  flex: 1;
  height: 42px;
  background: #f4f6fa;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--ink, #1c2434);
}
.pg-miya .act-ph {
  color: #a9b2c0;
  letter-spacing: 0;
}
.pg-miya .act-btn {
  margin-left: 9px;
  background: var(--brand, #2f6fed);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 0 22px;
  height: 42px;
  line-height: 42px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(47, 111, 237, .22);
}
.pg-miya .act-btn.off {
  opacity: .55;
}
.pg-miya .act-err {
  margin-top: 8px;
  font-size: 12.5px;
  color: #e5484d;
}
.pg-miya .act-kefu {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #eef1f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pg-miya .act-kefu-t {
  font-size: 13.5px;
  color: var(--brand, #2f6fed);
  font-weight: 600;
}
.pg-miya .act-kefu-a {
  font-size: 12px;
  color: var(--ink3, #8d97a6);
}
.pg-miya .qr {
  margin-top: 12px;
  text-align: center;
  background: #f8fafd;
  border-radius: 10px;
  padding: 14px 12px 12px;
}
.pg-miya .qr-img {
  width: 190px;
  height: 190px;
  border-radius: 8px;
  background: #fff;
}
.pg-miya .qr-tip {
  font-size: 12.5px;
  color: var(--ink2, #5b6676);
  margin-top: 9px;
}
.pg-miya .qr-tip2 {
  font-size: 11.5px;
  color: var(--ink3, #8d97a6);
  margin-top: 4px;
  line-height: 1.6;
}
.pg-miya .sec {
  font-size: 13.5px;
  color: var(--ink2, #5b6676);
  font-weight: 600;
  margin: 16px 16px 2px;
}
.pg-miya .set {
  position: relative;
  margin: 8px 12px 0;
  background: #fff;
  border-radius: 10px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 9px rgba(28, 36, 52, .05);
  overflow: hidden;
}
.pg-miya .set.locked {
  opacity: .62;
}
.pg-miya .set-l {
  flex: 1;
  min-width: 0;
}
.pg-miya .set-label {
  display: flex;
  align-items: center;
}
.pg-miya .set-no {
  min-width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  background: #eaf1ff;
  color: var(--brand, #2f6fed);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 7px;
}
.pg-miya .set-m {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #1c2434);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pg-miya .set-n {
  font-size: 12px;
  color: var(--ink3, #8d97a6);
  margin-top: 5px;
  padding-left: 29px;
}
.pg-miya .set.locked .set-n {
  padding-left: 0;
}
.pg-miya .set-done {
  margin-left: 7px;
  color: #1c9b5b;
  font-weight: 600;
}
.pg-miya .set-r-side {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.pg-miya .set-p {
  font-size: 12px;
  color: var(--ink2, #5b6676);
  margin-right: 8px;
}
.pg-miya .set-go {
  background: var(--brand, #2f6fed);
  color: #fff;
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: 499.5px;
}
.pg-miya .lock-go {
  background: #eef1f6;
  color: #a9b2c0;
  font-size: 13px;
  padding: 5px 11px;
}
.pg-miya .set-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #eef1f6;
}
.pg-miya .bar-in {
  height: 100%;
  background: var(--brand, #2f6fed);
  border-radius: 0 3px 3px 0;
}
.pg-miya .hint {
  font-size: 11.5px;
  color: var(--ink3, #8d97a6);
  text-align: center;
  margin: 16px 20px 0;
  line-height: 1.7;
}
.pg-miya .blank {
  text-align: center;
  padding: 55px 30px 0;
}
.pg-miya .blank-emoji {
  font-size: 44px;
}
.pg-miya .blank-t {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink, #1c2434);
  margin-top: 12px;
}
.pg-miya .blank-s {
  font-size: 13px;
  color: var(--ink3, #8d97a6);
  line-height: 1.7;
  margin-top: 7px;
}
.pg-miya .blank-btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--brand, #2f6fed);
  color: #fff;
  font-size: 14.5px;
  padding: 9px 28px;
  border-radius: 499.5px;
}
.pg-miya .safe-bottom {
  height: 20px;
}

/* ============ wrong -> .pg-wrong ============ */

.pg-wrong .page {
  padding: 12px 14px 20px;
}
.pg-wrong .seg {
  display: flex;
  padding: 3px;
  background: #e9edf4;
  border-radius: 9px;
  margin-bottom: 13px;
}
.pg-wrong .seg-item {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  font-size: 13.5px;
  color: #5a6577;
  border-radius: 7px;
  transition: all 0.16s;
}
.pg-wrong .seg-on {
  background: #ffffff;
  color: #161c28;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(24, 39, 75, 0.08);
}
.pg-wrong .seg-n {
  margin-left: 5px;
  font-size: 11.5px;
  color: #98a2b3;
}
.pg-wrong .seg-on .seg-n {
  color: #2f6fed;
}
.pg-wrong .grp {
  background: #ffffff;
  border-radius: 11px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(24, 39, 75, 0.045);
}
.pg-wrong .grp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 13px 12px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}
.pg-wrong .grp-l {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}
.pg-wrong .grp-l .code-tag {
  flex-shrink: 0;
  margin-top: 2.5px;
}
.pg-wrong .grp-name {
  margin-left: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: #161c28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  word-break: break-all;
}
.pg-wrong .grp-r {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  margin-left: 10px;
}
.pg-wrong .grp-cnt {
  font-size: 11px;
  color: #8794ab;
  margin-bottom: 5px;
}
.pg-wrong .grp-go {
  padding: 4px 11px;
  border-radius: 499.5px;
  background: #eaf1ff;
  color: #2f6fed;
  font-size: 12px;
  line-height: 1.5;
}
.pg-wrong .grp-body {
  padding: 3px 0 6px;
}
.pg-wrong .qrow {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  position: relative;
}
.pg-wrong .qrow::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  background: #eef1f6;
  transform: scaleY(0.5);
}
.pg-wrong .qrow-idx {
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 7px;
  background: #f2f5fa;
  color: #7b8494;
  font-size: 11.5px;
  margin-right: 9px;
  flex-shrink: 0;
}
.pg-wrong .qrow-main {
  flex: 1;
  min-width: 0;
}
.pg-wrong .qrow-stem {
  font-size: 13.5px;
  color: #2b3444;
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pg-wrong .qrow-ans {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #12813c;
  
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pg-wrong .qrow .arrow {
  margin-left: 8px;
}
.pg-wrong .tip {
  text-align: center;
  font-size: 11.5px;
  color: #a8b2c2;
  padding: 10px 0;
}
.pg-wrong .empty-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 23px;
  border-radius: 499.5px;
  background: linear-gradient(135deg, #4a86f7 0%, #2f6fed 100%);
  color: #ffffff;
  font-size: 13.5px;
  box-shadow: 0 3px 9px rgba(47, 111, 237, 0.28);
}

/* ============ me -> .pg-me ============ */

.pg-me .page {
  padding-bottom: 20px;
}
.pg-me .profile {
  display: flex;
  align-items: center;
  padding: 20px 20px 48px;
  background: linear-gradient(180deg, #e6efff 0%, #eff5ff 52%, #f4f6fa 100%);
}
.pg-me .pf-avatar {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, #4a86f7 0%, #2f6fed 100%);
  color: #ffffff;
  font-size: 23px;
  font-weight: 600;
  line-height: 54px;
  text-align: center;
  margin-right: 13px;
  box-shadow: 0 4px 11px rgba(47, 111, 237, 0.3);
  flex-shrink: 0;
}
.pg-me .pf-avatar-img {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  margin-right: 13px;
  flex-shrink: 0;
  box-shadow: 0 4px 11px rgba(47, 111, 237, 0.22);
}
.pg-me .pf-switch {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 499.5px;
  background: rgba(255, 255, 255, 0.85);
  color: #2f6fed;
  font-size: 12px;
  flex-shrink: 0;
}
.pg-me .pf-txt {
  flex: 1;
  min-width: 0;
}
.pg-me .pf-name {
  font-size: 18px;
  font-weight: 600;
  color: #161c28;
}
.pg-me .pf-wx {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 499.5px;
  background: rgba(7, 193, 96, 0.12);
  color: #07c160;
  font-size: 10px;
  font-weight: 400;
  vertical-align: middle;
}
.pg-me .pf-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #7b8aa3;
}
.pg-me .stats-card {
  margin: -34px 14px 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 17px 6px;
  box-shadow: 0 4px 13px rgba(24, 39, 75, 0.09);
}
.pg-me .lib-card {
  display: flex;
  align-items: center;
  margin: 11px 14px 0;
  padding: 14px 13px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(24, 39, 75, 0.045);
}
.pg-me .lib-ico {
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 11px;
  background: #eaf1ff;
  font-size: 20px;
  margin-right: 11px;
  flex-shrink: 0;
}
.pg-me .pack-row {
  display: flex;
  align-items: center;
  margin: 9px 14px 0;
  padding: 12px 13px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(24, 39, 75, 0.045);
}
.pg-me .pack-ico {
  font-size: 17px;
  margin-right: 10px;
  flex-shrink: 0;
}
.pg-me .pack-txt {
  flex: 1;
  min-width: 0;
}
.pg-me .pack-title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.pg-me .pack-sub {
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--ink3);
}
.pg-me .pack-go {
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: 499.5px;
  background: #f4f6fa;
  color: var(--ink2);
  font-size: 12px;
  line-height: 1.5;
}
.pg-me .lib-txt {
  flex: 1;
  min-width: 0;
}
.pg-me .lib-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #161c28;
}
.pg-me .lib-sub {
  margin-top: 3px;
  font-size: 11.5px;
  color: #8794ab;
  line-height: 1.5;
}
.pg-me .lib-go {
  flex-shrink: 0;
  padding: 6px 13px;
  border-radius: 499.5px;
  background: #eaf1ff;
  color: #2f6fed;
  font-size: 12.5px;
}
.pg-me .sec-title {
  padding: 18px 20px 8px;
}
.pg-me .prog {
  margin: 0 14px 9px;
  padding: 13px 13px 12px;
  background: #ffffff;
  border-radius: 11px;
  box-shadow: 0 1px 5px rgba(24, 39, 75, 0.045);
}
.pg-me .prog-head {
  display: flex;
  align-items: center;
  min-width: 0;
}
.pg-me .prog-name {
  flex: 1;
  min-width: 0;
  margin-left: 7px;
  font-size: 14.5px;
  font-weight: 500;
  color: #161c28;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pg-me .prog-rate {
  flex-shrink: 0;
  margin-left: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #2f6fed;
  font-variant-numeric: tabular-nums;
}
.pg-me .prog-bar {
  margin-top: 10px;
}
.pg-me .prog-meta {
  margin-top: 8px;
  font-size: 11.5px;
  color: #8794ab;
  line-height: 1.5;
}
.pg-me .prog-meta .dot {
  margin: 0 4px;
  color: #c3cad6;
}
.pg-me .prog-meta .ok {
  color: #12813c;
}
.pg-me .prog-meta .bad {
  color: #c93a3e;
}
.pg-me .mine-card {
  background: linear-gradient(135deg, #eef4ff 0%, #f7fbff 100%);
  border: 1px solid #dbe7ff;
}
.pg-me .mine-card .lib-ico {
  background: #ffffff;
  box-shadow: 0 1px 5px rgba(47, 111, 237, 0.12);
}
.pg-me .danger-btn {
  margin: 20px 14px 0;
  padding: 13px 0;
  text-align: center;
  border-radius: 9px;
  background: #ffffff;
  color: #e5484d;
  font-size: 13.5px;
  border: 1px solid #f7d4d4;
}
.pg-me .logout-btn {
  margin: 10px 14px 0;
  padding: 13px 0;
  text-align: center;
  border-radius: 9px;
  background: #ffffff;
  color: #5a6577;
  font-size: 13.5px;
  border: 1px solid #eef1f6;
}

/* ============ login -> .pg-login ============ */

.pg-login .page {
  min-height: 100vh;
  padding: 0 24px 30px;
  background: var(--bg);
}
.pg-login .brand {
  padding: 65px 0 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pg-login .brand-logo {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: linear-gradient(135deg, #4c86f5, var(--brand));
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(47, 111, 237, 0.28);
}
.pg-login .brand-min {
  padding: 13px 0 10px;
}
.pg-login .brand-min .brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 19px;
  box-shadow: 0 3px 9px rgba(47, 111, 237, 0.22);
}
.pg-login .brand-min .brand-name {
  margin-top: 8px;
  font-size: 16px;
}
.pg-login .brand-min .brand-sub {
  display: none;
}
.pg-login .brand-name {
  margin-top: 15px;
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 1px;
}
.pg-login .brand-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink3);
}
.pg-login .card {
  background: var(--card);
  border-radius: var(--r-l);
  padding: 16px;
  box-shadow: var(--sd-1);
}
.pg-login .card-cap {
  font-size: 12px;
  color: var(--ink3);
  margin-bottom: 11px;
}
.pg-login .id-row {
  display: flex;
  align-items: center;
}
.pg-login .avatar-btn {
  width: 58px;
  height: 58px;
  min-width: 58px;
  max-width: 58px;
  min-height: 58px;
  max-height: 58px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 1;
  border-radius: 50%;
  background: var(--brand-l2);
  border: 1px dashed var(--ink4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pg-login .avatar-btn::after {
  border: none;
}
.pg-login .avatar-img {
  width: 58px;
  height: 58px;
}
.pg-login .avatar-ph {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-login .avatar-plus {
  font-size: 22px;
  color: var(--ink4);
  line-height: 1;
}
.pg-login .id-txt {
  flex: 1;
  min-width: 0;
  margin-left: 12px;
}
.pg-login .nick-input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  background: var(--bg);
  border-radius: var(--r-m);
  font-size: 15px;
  color: var(--ink);
  box-sizing: border-box;
}
.pg-login .card-tip {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink3);
}
.pg-login .ph {
  color: var(--ink3);
}
.pg-login .btn-primary {
  margin-top: 24px;
  height: 48px;
  line-height: 48px;
  border-radius: 24px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 11px rgba(47, 111, 237, 0.25);
}
.pg-login .btn-primary::after {
  border: none;
}
.pg-login .btn-dis {
  background: var(--ink4);
  box-shadow: none;
}
.pg-login .agree {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: var(--ink3);
  line-height: 1.6;
}
.pg-login .step-title {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.pg-login .step-sub {
  margin-top: 6px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink3);
  text-align: center;
}
.pg-login .exam-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 16px;
  margin-bottom: 12px;
  background: var(--card);
  border-radius: var(--r-l);
  border: 1px solid transparent;
  box-shadow: var(--sd-1);
}
.pg-login .exam-on {
  border-color: var(--brand);
  background: var(--brand-l2);
}
.pg-login .exam-off {
  opacity: 0.55;
}
.pg-login .exam-body {
  flex: 1;
}
.pg-login .exam-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.pg-login .exam-desc {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink3);
}
.pg-login .exam-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--ink4);
  box-sizing: border-box;
}
.pg-login .radio-on {
  border-color: var(--brand);
  background:
    radial-gradient(circle, var(--brand) 0 40%, transparent 42%);
}
.pg-login .exam-badge {
  padding: 4px 9px;
  border-radius: 499.5px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 11px;
}
.pg-login .btn-primary {
  display: block;
  width: 100%;
}
.pg-login .btn-wx {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pg-login .wx-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #07c160;
  color: #ffffff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
  flex-shrink: 0;
}
/* ------------------------------------------------------------------
   备考类型切换（自考 ⇄ 考研）
   2026-10-13：入口放在首页 hero、选科页标题、「我的」头像卡右上角。
   以前「我的」里的「切换」跳 #/login，但 login 页对已选过类型的用户会
   立刻弹回首页，等于点了没反应 —— 改成就地弹层。
   ------------------------------------------------------------------ */
.picker-dlg { max-width: 320px; }
.picker-dlg .dlg-c { padding-bottom: 12px; }
.picker-list { padding: 0 14px 6px; }
.picker-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px; margin-bottom: 8px;
  border: 1.5px solid #e6eaf2; border-radius: 11px;
  background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.picker-item:active { background: #f5f8ff; }
.picker-on { border-color: #2f6fed; background: #f3f7ff; }
.picker-body { flex: 1; min-width: 0; }
.picker-n { font-size: 15.5px; font-weight: 600; color: #161c28; }
.picker-tag {
  display: inline-block; margin-left: 7px; padding: 1px 7px;
  font-size: 11px; font-weight: 500; color: #2f6fed;
  background: #e8f0ff; border-radius: 20px; vertical-align: 1px;
}
.picker-d { margin-top: 3px; font-size: 12.5px; color: #8b95a7; line-height: 1.5; }
.picker-radio {
  width: 19px; height: 19px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid #cfd6e4; background: #fff;
  position: relative; transition: border-color .15s;
}
.picker-radio.radio-on { border-color: #2f6fed; border-width: 6px; }

/* 首页 / 选科页：类型名本身可点 */
.hero-exam { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.hero-exam:active { opacity: .6; }
.hero-sw { font-style: normal; font-size: 12px; opacity: .75; }
.hd-sub .hero-exam { color: inherit; font-weight: 600; }

/* 选科页的提示条（考研场景） */
.tip-warn { border-left: 3px solid #f59e0b; background: #fffaf0; }
.tip-warn .blank-btn { margin-top: 10px; }
