/* 雷驰VPN 客户网站自己的样式（放在 sb-admin-2 之后加载）。
   风格回到旧版（站长 2026-09-30）：长城照片原本的亮度当背景，上面是半透明白色的“窗格”，
   小圆角（0.35rem，与 sb-admin 一致）、淡阴影、卡片标题列；按钮用 Bootstrap 一般的样子。
   手机（360～414px）一栏；电脑（≥992px）内容宽 1140px，首页 3 栏、子页置中。
   注意：不用 flex 的 gap（微信较旧的内核不支持），间距一律用 margin（首页格状用 grid，只在 ≥768px）。 */

:root {
  --lc-green: #0a8a4b;
  --lc-green-dark: #077039;
  --lc-green-soft: #e9f7ef;
  --lc-text: #1f2933;
  --lc-muted: #4e5866;
  --lc-line: #d1d3e2;
  --lc-title: #2e59d9; /* 卡片标题（旧版的 text-primary 蓝，加深一点对比才够） */
  /* 窗格：半透明白。手机上不模糊（省电、不卡），0.9；电脑上加模糊，0.85。 */
  --lc-panel: rgba(255, 255, 255, 0.9);
  --lc-panel-head: rgba(0, 0, 0, 0.035);
  --lc-red: #d0312d;
  --lc-red-soft: #fdecea;
  --lc-red-text: #7f1d1a;
  --lc-warn: #e0a100;
  --lc-warn-soft: #fff5d6;
  --lc-warn-text: #5e4300;
  --lc-info: #2f6fd6;
  --lc-info-soft: #eaf2fe;
  --lc-info-text: #123d73;
  --lc-radius: 0.35rem;
  --lc-shadow: 0 0.15rem 1rem rgba(0, 0, 0, 0.18);
}

/* hidden 属性一律隐藏（Bootstrap 的 d-flex 等 !important 会盖过它）。 */
[hidden] {
  display: none !important;
}

/* ------------------------------------------------ 字型（A1）
   只用系统字型，不从 Google 等国外网站加载；中文依次用苹方、冬青黑体、微软雅黑、思源黑体，
   避免“览”“账号管理”这类字突然变成宋体。 */
body,
button,
input,
select,
textarea,
.tooltip {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* 输入框字小于 16px 时 iOS 会自动放大画面，一律 16px。 */
input,
select,
textarea,
.form-control {
  font-size: 16px;
}

/* ------------------------------------------------ 背景（A5、A6）
   长城照片直接铺满、不加暗色遮罩（站长 2026-09-30：原始的比较好看）；字写在半透明白色窗格里。
   iOS 不支持 background-attachment: fixed（长页面会把图放大到糊掉），
   所以改用固定在画面上的伪元素当背景。 */
html {
  background-color: #8c9383; /* 照片还没载入时的底色（接近照片的平均色） */
}

body.lc-bg {
  background: transparent;
  color: var(--lc-text);
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  /* 页脚贴在画面底部：内容撑满剩下的高度，页脚永远在最下面（站长 2026-09-30） */
  display: flex;
  flex-direction: column;
}

@supports (min-height: 100dvh) {
  body.lc-bg {
    min-height: 100dvh; /* 手机浏览器的网址列收起前后都算对 */
  }
}

body.lc-bg > main {
  flex: 1 0 auto;
  width: 100%;
}

body.lc-bg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: -1;
  background-color: #8c9383;
  background-image: url("../img/background.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

@supports (height: 100lvh) {
  body.lc-bg::before {
    height: 100lvh;
  }
}

/* 电脑上窗格加一点模糊，背后的照片不会干扰字；不支持的浏览器照样是 0.9 的白底。 */
@media (min-width: 768px) {
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    :root {
      --lc-panel: rgba(255, 255, 255, 0.85);
    }
    .lc-card,
    .lc-strip,
    .lc-page-head,
    .lc-topbar,
    .lc-loading,
    .lc-view .lc-tech .card {
      -webkit-backdrop-filter: blur(6px);
      backdrop-filter: blur(6px);
    }
  }
}

/* 旧教程页页首的字（载入后会被新的页首换掉） */
.lc-on-bg {
  color: var(--lc-text) !important;
}

/* ------------------------------------------------ 品牌（Logo 图形＋文字“雷驰VPN”） */
.lc-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--lc-text);
  text-decoration: none !important;
}

.lc-brand-mark {
  height: 30px;
  width: auto;
  margin-right: 6px;
  flex: 0 0 auto;
}

.lc-brand-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1f2d3d;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ------------------------------------------------ 顶栏与菜单 */
.lc-topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--lc-panel);
  box-shadow: 0 0.15rem 0.75rem rgba(0, 0, 0, 0.2);
}

.lc-topbar-inner {
  display: flex;
  align-items: center;
  max-width: 1140px;
  height: 56px;
  margin: 0 auto;
  padding: 0 8px 0 12px;
}

@media (min-width: 768px) {
  .lc-topbar-inner {
    padding: 0 16px;
  }
}

/* 昵称太长时截断（A7） */
.lc-user {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  font-size: 0.9rem;
  color: var(--lc-muted);
}

.lc-menu-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  background: #fff;
  color: var(--lc-text);
  font-size: 0.95rem;
}

.lc-menu-btn:hover {
  background: #f1f3f6;
}

.lc-menu-btn i {
  margin-right: 6px;
  font-size: 1rem;
  color: var(--lc-muted);
}

.lc-menu-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1020;
  background: rgba(0, 0, 0, 0.35);
}

.lc-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  max-height: calc(100vh - 56px);
  /* 苹果手机的 100vh 不扣掉 Safari 底部工具栏，小屏幕上“退出登录”会被盖住；支持 dvh 的用实际高度 */
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  padding: 6px 0;
}

@media (min-width: 576px) {
  .lc-menu {
    width: 280px;
    right: max(8px, calc((100% - 1140px) / 2 + 16px));
    border-radius: 0 0 var(--lc-radius) var(--lc-radius);
  }
}

.lc-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  background: none;
  color: var(--lc-text);
  font-size: 1rem;
  text-align: left;
}

.lc-menu button:active,
.lc-menu button:hover {
  background: #f2f4f7;
}

/* 菜单的小图示：灰色、小一点（像旧版的下拉菜单），不抢字的注意力 */
.lc-menu button i {
  width: 24px;
  color: #b7b9cc;
  font-size: 0.9rem;
  text-align: center;
  margin-right: 10px;
}

.lc-menu hr {
  margin: 6px 0;
}

.lc-menu .lc-menu-logout {
  color: var(--lc-red);
}

.lc-menu .lc-menu-logout i {
  color: var(--lc-red);
}

/* ------------------------------------------------ 主要版面 */
.lc-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 12px 24px;
}

@media (min-width: 768px) {
  .lc-main {
    padding: 20px 16px 32px;
  }
}

/* 子页在电脑上置中，宽度适合阅读与填表（不撑满 1140px）；教程要看截图，宽一点。 */
.lc-view > .lc-page {
  max-width: 760px;
  margin: 0 auto;
}

.lc-view > #page_password {
  max-width: 520px;
}

.lc-view > .lc-tech {
  max-width: 1000px;
  margin: 0 auto;
}

/* 页首：放在窗格里（照片明暗不一，字直接写在照片上看不清） */
.lc-page-head {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px;
  background: var(--lc-panel);
  border-radius: var(--lc-radius);
  box-shadow: var(--lc-shadow);
}

.lc-page-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 6px 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lc-text);
}

.lc-back {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  background: #fff;
  color: var(--lc-text);
  font-size: 0.95rem;
  white-space: nowrap;
}

.lc-back:hover {
  background: #f1f3f6;
}

.lc-back i {
  margin-right: 6px;
  font-size: 0.85rem;
  color: var(--lc-muted);
}

/* 教程页首：“‹ 使用教程”、标题、“返回首页”一行，标题在两个按钮中间（站长 2026-09-30）。
   手机上按钮变小巧（短字“‹ 教程”“首页”、内距与高度缩小），把位置让给标题，标题保持看得清楚；
   真的放不下，标题最多缩到 1rem（LC.tutorial 加 is-s），不再更小，最后才用省略号。 */
.lc-page-head-tut .lc-l-short {
  display: none;
}

.lc-page-head-tut .lc-page-title {
  margin: 0 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lc-page-head-tut .lc-page-title.is-s {
  font-size: 1rem;
}

@media (max-width: 575.98px) {
  .lc-page-head-tut .lc-l-long {
    display: none;
  }
  .lc-page-head-tut .lc-l-short {
    display: inline;
  }
  .lc-page-head-tut .lc-back {
    min-height: 40px;
    padding: 0 9px;
  }
  .lc-page-head-tut .lc-back i {
    margin-right: 4px;
  }
  .lc-page-head-tut .lc-page-title {
    margin: 0 6px;
  }
}

/* 教程页首右边：“说明”＋“返回首页”。“说明”只在电脑上放这里（手机上页首放不下，留在卡片上方）。
   电脑上卡片上方那一条收掉（一整条只放一颗按钮太空，站长 2026-10-02：电脑版教程排版丑）；
   左右两边宽度不同，改用三栏让标题保持在正中间。 */
.lc-head-end {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.lc-head-tips {
  display: none;
  margin-right: 8px;
  color: var(--lc-info);
}

.lc-page-head .lc-head-tips i {
  color: var(--lc-info);
}

@media (min-width: 992px) {
  .lc-page-head-tut {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .lc-page-head-tut > .lc-back {
    justify-self: start;
  }
  .lc-page-head-tut > .lc-head-end {
    justify-self: end;
  }
  .lc-head-tips {
    display: inline-flex;
  }
  .lc-view .lc-tech-head {
    display: none !important;
  }
}

/* 页脚（站长 2026-09-30：保持旧版的格式——灰色半透明底、白字、直角；
   不接在内容后面，而是离画面底部固定 16px；内容比画面长时就在最后面，一样离底部 16px） */
.lc-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 16px 12px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
}

.lc-footer > span {
  display: inline-block;
  padding: 4px 24px;
  background-color: rgba(140, 140, 140, 0.8);
  color: #f8f9fa;
}

/* ------------------------------------------------ 卡片 */
.lc-card {
  position: relative;
  background: var(--lc-panel);
  color: var(--lc-text);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--lc-radius);
  box-shadow: var(--lc-shadow);
  padding: 14px 16px;
  margin-bottom: 12px;
  line-height: 1.7;
  word-break: break-word;
}

.lc-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--lc-title);
}

/* 卡片第一行的标题做成标题列（像旧版 sb-admin 的 card-header）。 */
.lc-card > .lc-card-title:first-child {
  margin: -14px -16px 12px;
  padding: 10px 16px;
  background: var(--lc-panel-head);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--lc-radius) var(--lc-radius) 0 0;
  text-align: left;
  line-height: 1.5;
}

.lc-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 彩色左边框（旧版首页的 border-left-primary／border-left-info） */
.lc-card-accent-primary {
  border-left: 0.25rem solid #4e73df;
}

.lc-card-accent-info {
  border-left: 0.25rem solid #36b9cc;
}

.lc-card-accent-primary > .lc-card-title:first-child,
.lc-card-accent-info > .lc-card-title:first-child {
  border-top-left-radius: 0;
}

.lc-muted {
  color: var(--lc-muted);
}

.lc-small {
  font-size: 0.875rem;
}

.lc-mt {
  margin-top: 12px;
}

.lc-mt-s {
  margin-top: 6px;
}

/* ------------------------------------------------ 按钮
   手机点击区至少 44px。 */
.lc-main .btn,
.lc-dialog .btn,
.lc-login .btn,
.tos_page .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lc-main .btn i,
.lc-dialog .btn i {
  margin-right: 4px;
}

/* 表单的主要按钮（登录、下一步、确认修改…）：和 Bootstrap 的绿色按钮一样，只是占满一行、高 44px；
   不做成大胶囊、不加粗阴影（站长 2026-09-30：AI 感太重）。电脑上不撑满，置中。 */
.lc-btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 4px 0 12px;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--lc-green);
  border-radius: var(--lc-radius);
  background: var(--lc-green);
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.lc-btn-main:active,
.lc-btn-main:hover {
  background: var(--lc-green-dark);
  border-color: var(--lc-green-dark);
  color: #fff;
}

.lc-btn-main i {
  margin-right: 6px;
}

.lc-btn-main[disabled] {
  opacity: 0.65;
}

@media (min-width: 768px) {
  .lc-view .lc-btn-main,
  .lc-view .btn.lc-btn-block {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

.lc-btn-block,
.lc-main .btn.lc-btn-block {
  display: flex;
  width: 100%;
}

/* 首页“常用操作”：复制订阅链接（一整行）下面一排三个一般按钮 */
.lc-home-btns {
  display: flex;
  margin: 8px -4px 0;
}

.lc-home-btns .btn {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 4px;
  padding-left: 4px;
  padding-right: 4px;
  white-space: nowrap;
}

/* 常用操作的三个按钮各自一个颜色（站长 2026-09-30）：续费橙、使用教程蓝、联系客服青；
   和上面绿色的“复制订阅链接”分得开，白底上的字够深、看得清楚。 */
.lc-home-btns .btn.lc-c-renew {
  color: #c2410c;
  border-color: #ea8a4f;
}

.lc-home-btns .btn.lc-c-guide {
  color: #2f5bd0;
  border-color: #7d9be6;
}

.lc-home-btns .btn.lc-c-support {
  color: #0e7490;
  border-color: #5fb3c9;
}

.lc-home-btns .btn.lc-c-renew:hover,
.lc-home-btns .btn.lc-c-renew:active {
  color: #fff;
  background: #c2410c;
  border-color: #c2410c;
}

.lc-home-btns .btn.lc-c-guide:hover,
.lc-home-btns .btn.lc-c-guide:active {
  color: #fff;
  background: #2f5bd0;
  border-color: #2f5bd0;
}

.lc-home-btns .btn.lc-c-support:hover,
.lc-home-btns .btn.lc-c-support:active {
  color: #fff;
  background: #0e7490;
  border-color: #0e7490;
}

.lc-home-btns .btn.lc-c-renew:focus,
.lc-home-btns .btn.lc-c-guide:focus,
.lc-home-btns .btn.lc-c-support:focus {
  box-shadow: 0 0 0 0.2rem rgba(47, 91, 208, 0.25);
}

/* 按钮列：左右排开，窄的时候自动换行 */
.lc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 12px -4px 0;
}

.lc-actions > .btn,
.lc-actions > button {
  flex: 1 1 auto;
  margin: 4px;
}

.lc-actions-split > :first-child {
  flex: 1 1 30%;
}

.lc-actions-split > :last-child {
  flex: 2 1 60%;
}

.lc-link-btn {
  display: inline;
  min-height: 0 !important;
  padding: 0;
  border: 0;
  background: none;
  color: var(--lc-info);
  text-decoration: underline;
  font-size: inherit;
}

/* ------------------------------------------------ Bootstrap 主题色覆盖
   sb-admin 的主题色太浅：黄底白字约 1.65:1、绿与青的白字约 2.2:1，户外几乎看不清，
   绿色也和品牌绿 #0a8a4b 是两种。全部换成对比够的颜色；绿色一律用品牌绿。 */
.text-muted {
  color: var(--lc-muted) !important;
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: var(--lc-info);
  border-color: var(--lc-info);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
  color: #fff;
  background-color: #245bb8;
  border-color: #245bb8;
}

.btn-outline-primary {
  color: #245bb8;
  border-color: var(--lc-info);
}
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active {
  color: #fff;
  background-color: var(--lc-info);
  border-color: var(--lc-info);
}

.btn-success,
.btn-success.disabled,
.btn-success:disabled {
  color: #fff;
  background-color: var(--lc-green);
  border-color: var(--lc-green);
}
.btn-success:hover,
.btn-success:focus,
.btn-success.focus,
.btn-success:not(:disabled):not(.disabled):active,
.btn-success:not(:disabled):not(.disabled).active {
  color: #fff;
  background-color: var(--lc-green-dark);
  border-color: var(--lc-green-dark);
}

.btn-outline-success {
  color: var(--lc-green-dark);
  border-color: var(--lc-green);
}
.btn-outline-success:hover,
.btn-outline-success:not(:disabled):not(.disabled):active,
.btn-outline-success:not(:disabled):not(.disabled).active {
  color: #fff;
  background-color: var(--lc-green);
  border-color: var(--lc-green);
}

.btn-info,
.btn-info.disabled,
.btn-info:disabled {
  color: #fff;
  background-color: #0e6f82;
  border-color: #0e6f82;
}
.btn-info:hover,
.btn-info:focus,
.btn-info.focus,
.btn-info:not(:disabled):not(.disabled):active,
.btn-info:not(:disabled):not(.disabled).active {
  color: #fff;
  background-color: #0a5868;
  border-color: #0a5868;
}

/* 黄色按钮：深色字（白字在黄底上看不清） */
.btn-warning,
.btn-warning.disabled,
.btn-warning:disabled {
  color: #3d2b00;
  background-color: #f6c23e;
  border-color: #e0a100;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning.focus,
.btn-warning:not(:disabled):not(.disabled):active,
.btn-warning:not(:disabled):not(.disabled).active {
  color: #3d2b00;
  background-color: #e0a100;
  border-color: #c98f00;
}

.btn-danger,
.btn-danger.disabled,
.btn-danger:disabled {
  color: #fff;
  background-color: var(--lc-red);
  border-color: var(--lc-red);
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger.focus,
.btn-danger:not(:disabled):not(.disabled):active,
.btn-danger:not(:disabled):not(.disabled).active {
  color: #fff;
  background-color: #a8231f;
  border-color: #a8231f;
}

.btn-secondary,
.btn-secondary.disabled,
.btn-secondary:disabled {
  color: #fff;
  background-color: var(--lc-muted);
  border-color: var(--lc-muted);
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active {
  color: #fff;
  background-color: #454e59;
  border-color: #454e59;
}

.btn-outline-secondary {
  color: #454e59;
  border-color: #9aa3ad;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:not(:disabled):not(.disabled):active,
.btn-outline-secondary:not(:disabled):not(.disabled).active {
  color: #fff;
  background-color: var(--lc-muted);
  border-color: var(--lc-muted);
}

/* 浅色按钮（忘记密码、上一步、不同意…）：原本和白卡片同色，看不出是按钮 */
.btn-light,
.btn-light.disabled,
.btn-light:disabled {
  color: var(--lc-text);
  background-color: #f1f3f6;
  border-color: #c9d0da;
}
.btn-light:hover,
.btn-light:focus,
.btn-light.focus,
.btn-light:not(:disabled):not(.disabled):active,
.btn-light:not(:disabled):not(.disabled).active {
  color: var(--lc-text);
  background-color: #e6e9ee;
  border-color: #b9c1cc;
}

/* 用程序设定的焦点（例如关掉提示框后）不显示光晕，免得看起来像已经选好了；键盘操作照样显示 */
.btn:focus:not(:focus-visible) {
  box-shadow: none !important;
}

/* ------------------------------------------------ 提示框（整块） */
.lc-alert {
  border-radius: var(--lc-radius);
  border-left: 0.25rem solid;
  padding: 10px 12px;
  margin-bottom: 12px;
  line-height: 1.7;
  word-break: break-word;
}

.lc-alert-info {
  background: var(--lc-info-soft);
  border-color: var(--lc-info);
  color: var(--lc-info-text);
}

.lc-alert-warn {
  background: var(--lc-warn-soft);
  border-color: var(--lc-warn);
  color: var(--lc-warn-text);
}

.lc-alert-danger {
  background: var(--lc-red-soft);
  border-color: var(--lc-red);
  color: var(--lc-red-text);
}

.lc-alert-success {
  background: var(--lc-green-soft);
  border-color: var(--lc-green);
  color: #0d4a2b;
}

.lc-alert ul {
  margin: 4px 0 0;
  padding-left: 1.3em;
  white-space: normal;
}

/* 首页醒目提醒条（有状况才出现） */
.lc-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-radius: var(--lc-radius);
  padding: 10px 14px;
  margin-bottom: 12px;
  background: var(--lc-panel);
  box-shadow: var(--lc-shadow);
  line-height: 1.6;
}

.lc-strip-danger {
  border-left: 0.25rem solid var(--lc-red);
}

.lc-strip-warn {
  border-left: 0.25rem solid var(--lc-warn);
}

.lc-strip > i {
  font-size: 1.15rem;
  margin-right: 10px;
}

.lc-strip-danger > i {
  color: var(--lc-red);
}

.lc-strip-warn > i {
  color: var(--lc-warn);
}

.lc-strip-body {
  flex: 1 1 200px;
  min-width: 0;
}

.lc-strip-body b {
  display: block;
  font-size: 1rem;
}

.lc-strip-danger .lc-strip-body b {
  color: var(--lc-red);
}

.lc-strip-warn .lc-strip-body b {
  color: #8a5a00;
}

.lc-strip-info {
  border-left: 0.25rem solid var(--lc-info);
}

.lc-strip-info > i {
  color: var(--lc-info);
}

.lc-strip-info .lc-strip-body b {
  color: var(--lc-info-text);
}

.lc-strip-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 8px 0 0 auto;
}

.lc-strip-actions .btn {
  flex: 0 0 auto;
  margin-left: 8px;
}

/* ------------------------------------------------ 首页的格状版面
   手机：一栏（一般的区块排列）。≥768px：两栏；≥992px：三栏（像旧版 index 的 col-md-6／col-xl-4）。 */
@media (min-width: 768px) {
  .lc-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 16px;
    column-gap: 16px;
    grid-row-gap: 16px;
    row-gap: 16px;
    align-items: stretch;
  }
  .lc-home > * {
    margin-bottom: 0;
    min-width: 0;
  }
  .lc-home > .lc-home-wide,
  .lc-home > .lc-home-span2 {
    grid-column: 1 / -1;
  }
  .lc-home > #home_alerts:empty {
    display: none;
  }
  .lc-home > #home_alerts > .lc-strip:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .lc-home {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .lc-home > .lc-home-span2 {
    grid-column: span 2;
  }
}

/* ------------------------------------------------ 首页：有效期、本月流量 */
.lc-plan-badge {
  display: inline-block;
  padding: 0 8px;
  border-radius: var(--lc-radius);
  background: var(--lc-green-soft);
  color: var(--lc-green-dark);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.6;
}

.lc-status-label {
  color: var(--lc-muted);
  font-size: 0.9rem;
}

.lc-status-value {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.lc-status-sub {
  font-size: 0.95rem;
}

.lc-status-note {
  font-size: 0.85rem;
  color: var(--lc-muted);
}

.lc-text-danger {
  color: var(--lc-red) !important;
}

.lc-text-warn {
  color: #a86a00 !important;
}

.lc-text-ok {
  color: var(--lc-green-dark) !important;
}

.lc-progress {
  height: 10px;
  margin: 8px 0 6px;
  border-radius: var(--lc-radius);
  background: #e3e6f0;
  overflow: hidden;
}

.lc-progress-bar {
  height: 100%;
  width: 0;
  border-radius: var(--lc-radius);
  background: var(--lc-green);
  transition: width 0.4s;
}

.lc-progress-bar.is-warn {
  background: var(--lc-warn);
}

.lc-progress-bar.is-danger {
  background: var(--lc-red);
}

/* 新手三步 */
.lc-steps {
  list-style: none;
  counter-reset: lcstep;
  margin: 0;
  padding: 0;
}

.lc-steps > li {
  counter-increment: lcstep;
  position: relative;
  padding: 0 0 14px 42px;
}

.lc-steps > li::before {
  content: counter(lcstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lc-green);
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 30px;
}

.lc-steps > li > b {
  display: block;
  font-size: 1rem;
}

.lc-steps .btn {
  margin-top: 6px;
}

/* 公告保留换行（D10） */
.message-board {
  white-space: pre-line;
  word-break: break-word;
  line-height: 1.7;
}

/* 首页“更多功能”（收合） */
.lc-more {
  padding: 0;
}

/* 标题列的样子（和其他卡片的 .lc-card-title 一样），整条可以点 */
.lc-more > summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--lc-title);
  background: var(--lc-panel-head);
  border-radius: var(--lc-radius);
}

.lc-more[open] > summary {
  border-radius: var(--lc-radius) var(--lc-radius) 0 0;
}

.lc-more > summary::-webkit-details-marker {
  display: none;
}

.lc-more > summary::after {
  content: "\f078"; /* chevron-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: auto;
  color: var(--lc-muted);
  transition: transform 0.2s;
}

.lc-more[open] > summary::after {
  transform: rotate(180deg);
}

.lc-more-hint {
  margin-left: 8px;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--lc-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* 一行一个的清单（像 Bootstrap 的 list-group），右边一个小箭头 */
.lc-more-list {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
}

.lc-more-list button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 6px 16px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: none;
  color: var(--lc-text);
  text-align: left;
  line-height: 1.4;
}

.lc-more-list button:last-child {
  border-bottom: 0;
  border-radius: 0 0 var(--lc-radius) var(--lc-radius);
}

.lc-more-list button::after {
  content: "\f054"; /* chevron-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  margin-left: auto;
  padding-left: 10px;
  color: #b7b9cc;
}

.lc-more-list button:active,
.lc-more-list button:hover {
  background: rgba(0, 0, 0, 0.04);
}

.lc-more-list button small {
  display: block;
  color: var(--lc-muted);
}

.lc-more-list .lc-danger-item {
  color: var(--lc-red);
}

/* ------------------------------------------------ 选项（续费页的套餐、时长） */
.lc-step-title {
  display: flex;
  align-items: center;
  margin: 16px 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.lc-step-title:first-child {
  margin-top: 0;
}

.lc-step-no {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lc-green);
  color: #fff;
  font-size: 0.95rem;
  line-height: 26px;
  text-align: center;
}

.lc-options {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.lc-options-2 {
  grid-template-columns: 1fr 1fr;
}

.lc-options-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.lc-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 64px;
  padding: 10px 10px 8px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  background: #fff;
  color: var(--lc-text);
  text-align: left;
  line-height: 1.35;
}

.lc-option.is-on {
  border-color: var(--lc-green);
  background: var(--lc-green-soft);
  box-shadow: 0 0 0 1px var(--lc-green) inset;
}

.lc-option.is-on::after {
  content: "\f058"; /* circle-check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 8px;
  top: 10px; /* top right is empty; bottom right covered the note text (2026-09-30 check) */
  color: var(--lc-green);
  font-size: 1.1rem;
}

.lc-option[disabled] {
  opacity: 0.45;
  background: #f3f4f6;
}

.lc-option-main {
  font-size: 1.15rem;
  font-weight: 600;
}

.lc-option-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lc-red);
}

.lc-option-sub,
.lc-option-note {
  font-size: 0.8rem;
  color: var(--lc-muted);
}

.lc-option-tag {
  position: absolute;
  top: -9px;
  right: 6px;
  padding: 0 6px;
  border-radius: var(--lc-radius);
  background: var(--lc-red);
  color: #fff;
  font-size: 0.75rem;
  line-height: 18px;
}

.lc-hint {
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--lc-muted);
}

.lc-field-error {
  margin: 8px 0 0;
  color: var(--lc-red);
  font-weight: 400;
}

.lc-current {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: var(--lc-radius);
  background: #f4f6f9;
  font-size: 0.95rem;
}

.lc-total {
  margin: 16px 0 4px;
  padding: 12px;
  border-radius: var(--lc-radius);
  background: #f4f6f9;
}

.lc-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.lc-total-row b {
  font-size: 1.5rem;
  color: var(--lc-red);
}

.lc-total-row b.is-empty {
  font-size: 1rem;
  color: var(--lc-muted);
}

.lc-total-sub {
  font-size: 0.9rem;
  color: var(--lc-muted);
}

/* 分段按钮（付款方式） */
.lc-seg {
  display: flex;
  margin: 12px 0;
  padding: 3px;
  border-radius: var(--lc-radius);
  background: #eef1f4;
}

.lc-seg-btn {
  flex: 1 1 0;
  min-height: 44px;
  border: 0;
  border-radius: var(--lc-radius);
  background: none;
  color: var(--lc-muted);
  font-size: 1rem;
  font-weight: 400;
}

.lc-seg-btn.is-on {
  background: #fff;
  color: var(--lc-green-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

/* ------------------------------------------------ 付款 */
.lc-pay-head {
  text-align: center;
}

.lc-pay-what {
  font-weight: 700;
}

.lc-pay-amount {
  font-size: 1.1rem;
}

.lc-pay-amount b {
  font-size: 2.2rem;
  color: var(--lc-red);
  margin: 0 2px;
}

.lc-pay-sub {
  font-size: 0.9rem;
  color: var(--lc-muted);
}

.lc-pay-qr-box {
  text-align: center;
  margin-bottom: 8px;
}

.lc-pay-qr {
  display: inline-block;
  width: 240px;
  max-width: 80%;
  height: auto;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  -webkit-touch-callout: default;
}

.lc-pay-howto {
  margin: 14px 0 10px;
  padding: 10px 12px;
  border-radius: var(--lc-radius);
  background: #f4f6f9;
}

.lc-pay-howto-title {
  font-weight: 700;
}

.lc-pay-steps {
  margin: 4px 0 0;
  padding-left: 1.4em;
}

.lc-pay-steps li {
  margin-bottom: 4px;
}

.lc-pay-remark {
  margin-bottom: 10px;
}

.lc-pay-remark b {
  color: var(--lc-red);
  word-break: break-all;
}

.lc-pay-remark .btn {
  margin-left: 6px;
  padding: 4px 12px;
  vertical-align: middle;
}

.lc-save-qr {
  text-align: center;
}

.lc-save-qr-img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 10px;
  -webkit-touch-callout: default;
  -webkit-user-select: auto;
  user-select: auto;
}

/* ------------------------------------------------ 结果画面 */
.lc-result-card {
  text-align: center;
  padding: 24px 16px 16px;
}

.lc-result-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}

.lc-result-card.is-ok .lc-result-icon {
  color: var(--lc-green);
}

.lc-result-card.is-fail .lc-result-icon {
  color: var(--lc-red);
}

.lc-result-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lc-result-line {
  white-space: pre-line;
  margin-bottom: 4px;
}

.lc-result-card .lc-support {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #eef0f3;
}

.lc-result-card .lc-sublinks {
  margin-top: 12px;
  text-align: left;
}

/* ------------------------------------------------ “重置流量”与“更换订阅链接”对照 */
.lc-compare {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

.lc-compare th,
.lc-compare td {
  padding: 8px 6px;
  border-bottom: 1px solid #eef0f3;
  vertical-align: top;
  word-break: break-word;
}

.lc-compare thead th {
  font-size: 0.95rem;
  text-align: left;
  border-bottom: 2px solid var(--lc-line);
}

/* 第一栏的宽度要写在表头（table-layout: fixed 以第一列决定栏宽）；灰色细字只给列标题，
   表头的“套餐”“朋友买”这类维持粗体。 */
.lc-compare th:first-child {
  width: 26%;
}

.lc-compare tbody th:first-child {
  color: var(--lc-muted);
  font-weight: 400;
}

.lc-compare .is-hl {
  background: #f3faf6;
}

.lc-compare thead .is-danger {
  color: var(--lc-red);
}

/* ------------------------------------------------ 订阅链接 */
.lc-sub-intro {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.lc-sublink {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
}

/* 绿框跟着客户按了“复制”（或点了链接）的那一个；一开始三个都没有 */
.lc-sublink.is-on {
  border-color: var(--lc-green);
  box-shadow: 0 0 0 1px var(--lc-green) inset;
  background: #f3faf6;
}

.lc-sublink-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.lc-sublink-label {
  font-weight: 600;
  font-size: 1.05rem;
  margin-right: 8px;
}

.lc-sublink-desc {
  font-size: 0.85rem;
  color: var(--lc-muted);
}

.lc-sublink-url {
  display: block;
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  background: #fff;
  color: var(--lc-text);
  line-height: 1.45;
  resize: none;
  word-break: break-all;
  font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.lc-sublink-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.lc-sublink-actions .btn {
  min-width: 120px;
}

.lc-sublink-msg {
  margin-top: 6px;
  font-size: 0.9rem;
}

.lc-sublink-msg:empty {
  display: none;
}

.lc-sublink-msg.is-ok {
  color: var(--lc-green-dark);
}

.lc-sublink-msg.is-fail {
  color: var(--lc-red);
  font-weight: 400;
}

/* ------------------------------------------------ 使用教程：选设备 */
.lc-device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
  margin: 12px 0 4px;
}

.lc-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 10px 6px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  background: #fff;
  color: var(--lc-text);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
}

.lc-device i {
  font-size: 1.8rem;
  margin-bottom: 6px;
  color: var(--lc-green);
}

.lc-device small {
  font-weight: 400;
  color: var(--lc-muted);
}

.lc-device:hover {
  border-color: var(--lc-green);
}

.lc-device.is-mine {
  border-color: var(--lc-green);
  box-shadow: 0 0 0 1px var(--lc-green) inset;
  background: var(--lc-green-soft);
}

/* 电脑上四种设备排成一排 */
@media (min-width: 768px) {
  .lc-device-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.lc-device-tag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 8px;
  border-radius: var(--lc-radius);
  background: var(--lc-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 18px;
  white-space: nowrap;
}

/* 教程页（tech/*.html，内容沿用，只调整在新版面里的样子） */
.lc-view .lc-tech {
  padding: 0;
}

.lc-view .lc-tech > .row > [class*="col"] {
  width: 100%;
  max-width: 100%;
  flex: 1 1 100%;
}

/* 不用 overflow: hidden 裁圆角（会让下面固定在底部的“下一步”失效），圆角改由头尾各自设定。 */
.lc-view .lc-tech .card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--lc-radius);
  background: var(--lc-panel);
  box-shadow: var(--lc-shadow) !important;
  color: var(--lc-text);
}

.lc-view .lc-tech .card-header {
  background: var(--lc-panel-head);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--lc-radius) var(--lc-radius) 0 0;
}

.lc-view .lc-tech-head {
  padding-top: 8px;
  padding-bottom: 8px;
}

.lc-view .lc-tech img.img-fluid {
  max-height: 70vh;
}

/* 每一步的标题、文字、图片都置中（站长 2026-09-30：原本没有置中）。
   原本有些区块只设了 max-width 没有置中、文字写 text-left，统一改掉；说明弹窗（.modal）不动。 */
.lc-view .lc-tech .card-body {
  text-align: center;
}

.lc-view .lc-tech .card-body > div,
.lc-view .lc-tech .card-body .row > [class*="col"] {
  margin-left: auto;
  margin-right: auto;
}

.lc-view .lc-tech .card-body .row {
  justify-content: center;
}

.lc-view .lc-tech .card-body .text-left {
  text-align: center !important;
}

/* 标题字用 em：跟着下面电脑版放大的字一起变大（Bootstrap 原本用 rem，不会跟着变） */
.lc-view .lc-tech .card-body h4,
.lc-view .lc-tech .card-body .h4 {
  font-size: 1.5em;
}

.lc-view .lc-tech .card-body h5,
.lc-view .lc-tech .card-body .h5 {
  font-size: 1.25em;
}

.lc-view .lc-tech .card-body h6,
.lc-view .lc-tech .card-body .h6 {
  font-size: 1em;
}

/* 电脑上教程的截图可以更宽（原本限 400～450px），但不放大超过原图（放大会糊）。
   字不再放大（站长 2026-09-30：原本放大到 125%，改回一般大小）。 */
@media (min-width: 992px) {
  .lc-view .lc-tech .card-body {
    padding: 1.5rem 2rem;
  }
  .lc-view .lc-tech .card-body [style*="max-width"] {
    max-width: 100% !important;
  }
  .lc-view .lc-tech img.img-fluid {
    max-height: 80vh;
  }
}

/* 教程每一步都是一张长截图：“上一步／下一步”固定在画面底部，不用每一步都卷到最下面。 */
.lc-view .lc-step-nav {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 5;
  /* 左中右三栏、左右一样宽：第一步没有“上一步”、最后一步没有“下一步”时，步数照样在正中间（站长 2026-09-30） */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 8px;
  background: #fff;
  border-radius: 0 0 var(--lc-radius) var(--lc-radius);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
  padding-bottom: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

/* 教程内文：沿用原本的排版，只把 Bootstrap 的浅色字换成看得清楚的深色，粗体减少（A12）。 */
/* （说明弹窗 .modal 在 .lc-tech 外面，一起算） */
.lc-view .lc-tech .text-warning,
.lc-view .modal .text-warning {
  color: #8a5a00 !important;
}

.lc-view .lc-tech .text-info,
.lc-view .modal .text-info {
  color: #0e6f82 !important;
}

.lc-view .lc-tech .text-success,
.lc-view .modal .text-success {
  color: var(--lc-green-dark) !important;
}

.lc-view .lc-tech .text-primary,
.lc-view .modal .text-primary {
  color: #2f5bd0 !important;
}

.lc-view .lc-tech .card-body p.font-weight-bold,
.lc-view .lc-tech .card-body p.font-weight-bolder,
.lc-view .lc-tech .card-body .h6.font-weight-bolder,
.lc-view .lc-tech .card-body .h6.font-weight-bold,
.lc-view .modal-body p.font-weight-bold {
  font-weight: 500 !important;
}

/* 苹果手机教程的外区 Apple ID：账号密码可以整段选取，也有“复制”按钮 */
.lc-ac-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.lc-ac-value {
  word-break: break-all;
}

.lc-step-nav > .btn {
  float: none !important;
  flex: 0 0 auto;
}

.lc-step-nav > .page_prev {
  grid-column: 1;
  justify-self: start;
}

.lc-step-nav > .page_next {
  grid-column: 3;
  justify-self: end;
}

.lc-step-count {
  grid-column: 2;
  text-align: center;
  white-space: nowrap;
  color: var(--lc-muted);
  font-size: 0.9rem;
}

/* 步数：电脑写“第 7 步／共 14 步”，手机写“7/14”（站长 2026-09-30：手机上长的会折成两行） */
.lc-step-count .lc-step-short {
  display: none;
}

@media (max-width: 575.98px) {
  .lc-step-count .lc-step-long {
    display: none;
  }
  .lc-step-count .lc-step-short {
    display: inline;
    font-size: 1rem;
  }
}

/* 微信内置浏览器的提示 */
.lc-wechat-tip {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 12px 40px 12px 14px;
  border-radius: var(--lc-radius);
  background: #fff8db;
  color: var(--lc-warn-text);
  border: 1px solid var(--lc-warn);
  line-height: 1.6;
}

.lc-wechat-tip b {
  display: block;
  color: #8a5a00;
}

.lc-wechat-arrow {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.5rem;
  color: var(--lc-warn);
  transform: rotate(35deg);
}

/* ------------------------------------------------ 可以选中、长按复制的文字（A15） */
input,
textarea,
.lc-selectable,
.lc-dialog-text,
.lc-result,
.lc-card,
.lc-alert {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* 按钮不要被长按选中文字（长按才不会误选，点击照常） */
.lc-card button,
.lc-card .btn,
.lc-alert button,
.lc-more summary,
.lc-faq-item summary {
  -webkit-user-select: none;
  user-select: none;
}

/* ------------------------------------------------ 提示框（LC.dialog） */
/* 只锁 html：连 body 一起锁时 body 会变成卷动容器，页面卷下去后打开提示框，顶栏会跳出画面。 */
html.lc-dialog-open,
html.lc-tos-open {
  overflow: hidden;
}

.lc-dialog-mask,
.lc-dialog,
.tos_page.lc-tos-overlay {
  overscroll-behavior: contain;
}

.lc-dialog:focus {
  outline: none;
}

.lc-dialog-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lc-dialog {
  width: 100%;
  max-width: 420px;
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  color: #333;
  border-radius: var(--lc-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 20px 16px 14px;
}

.lc-dialog-wide {
  max-width: 540px;
}

.lc-dialog-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.lc-dialog-text {
  white-space: pre-line;
  line-height: 1.7;
  word-break: break-word;
}

.lc-dialog-body .lc-support {
  margin-top: 16px;
}

.lc-dialog-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 14px -4px 0;
}

.lc-dialog-actions .btn {
  min-width: 96px;
  margin: 4px;
}

@media (max-width: 420px) {
  .lc-dialog-actions .btn {
    flex: 1 1 0;
  }
}

/* ------------------------------------------------ 短提示（LC.toast） */
.lc-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 2100;
  max-width: calc(100% - 32px);
  transform: translate(-50%, 20px);
  padding: 10px 18px;
  border-radius: var(--lc-radius);
  background: rgba(33, 37, 41, 0.92);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.lc-toast-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lc-toast-success {
  background: rgba(19, 132, 90, 0.95);
}

.lc-toast-error {
  background: rgba(200, 35, 51, 0.95);
}

/* ------------------------------------------------ 客服卡（LC.supportNode） */
.lc-support {
  text-align: center;
  line-height: 1.8;
}

.lc-support-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.lc-support-id {
  font-weight: 600;
  font-size: 1.1rem;
}

.lc-support-row .btn {
  min-height: 44px;
}

.lc-support-how {
  margin-top: 4px;
  color: var(--lc-muted);
}

.lc-support-qr img {
  display: block;
  width: 160px;
  max-width: 60%;
  height: auto;
  margin: 8px auto 2px;
  /* 让长按识别二维码可以用 */
  -webkit-touch-callout: default;
  -webkit-user-select: auto;
  user-select: auto;
}

/* ------------------------------------------------ 加载中与加载失败 */
.lc-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 320px;
  min-height: 96px;
  margin: 24px auto;
  padding: 16px;
  border-radius: var(--lc-radius);
  background: var(--lc-panel);
  box-shadow: var(--lc-shadow);
  color: var(--lc-text);
  font-size: 1rem;
}

.lc-spinner {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: var(--lc-green);
  border-radius: 50%;
  animation: lc-spin 0.8s linear infinite;
}

.lc-card .lc-spinner,
.btn .lc-spinner {
  width: 18px;
  height: 18px;
  border-color: rgba(0, 0, 0, 0.15);
  border-top-color: currentColor;
}

@keyframes lc-spin {
  to {
    transform: rotate(360deg);
  }
}

.lc-load-error {
  max-width: 440px;
  margin: 24px auto;
  text-align: center;
}

.lc-load-error-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lc-load-error .lc-support {
  margin-top: 16px;
}

/* ------------------------------------------------ 送出结果、说明文字 */
.lc-result {
  white-space: pre-line;
  line-height: 1.7;
}

/* ------------------------------------------------ 服务条款 */
.lc-tos h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 18px 0 6px;
}

.lc-tos p,
.lc-tos li {
  margin-bottom: 6px;
}

.lc-tos ul,
.lc-tos ol {
  padding-left: 1.4em;
}

/* 第一次登录：服务条款盖满整个画面，同意后才能用 */
.tos_page.lc-tos-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1900;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(40, 44, 52, 0.88);
  padding: 12px 12px 0;
}

.lc-tos-overlay .lc-page {
  max-width: 720px;
  margin: 0 auto;
}

.lc-tos-bar {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  display: flex;
  margin: 0 -12px;
  padding: 10px 8px;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.lc-tos-bar .btn {
  flex: 1 1 0;
  margin: 0 4px;
}

.lc-tos-bar .btn:last-child {
  flex: 2 1 0;
}

/* ------------------------------------------------ 登录与注册 */
.lc-login {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 12px 12px;
}

@media (min-width: 768px) {
  .lc-login {
    max-width: 440px;
    padding-top: 7vh;
  }
  #login_page,
  #reg_page,
  #reg_success_page {
    padding: 20px 28px;
  }
}

.lc-login-mark {
  display: block;
  height: 56px;
  width: auto;
  margin: 0 auto 8px;
}

.lc-login h1 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--lc-text);
  letter-spacing: 1px;
}

/* “记住登录7天”勾选框：整行都可以点，高 44px */
.lc-check {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: -4px 0 4px;
  cursor: pointer;
  font-weight: 400;
  -webkit-user-select: none;
  user-select: none;
}

.lc-check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  accent-color: var(--lc-green);
}

.lc-field {
  margin-bottom: 14px;
}

.lc-field label {
  display: block;
  margin-bottom: 4px;
  font-weight: 400;
  font-size: 0.95rem;
}

.lc-field .form-control {
  height: 46px;
  border-radius: var(--lc-radius);
  color: var(--lc-text);
}

.lc-field-tip {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--lc-muted);
}

.lc-pwd {
  position: relative;
}

.lc-pwd .form-control {
  padding-right: 52px;
}

.lc-pwd-eye {
  position: absolute;
  top: 1px;
  right: 2px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--lc-muted);
  font-size: 1.1rem;
}

.lc-login-msg {
  margin: 4px 0 8px;
  white-space: pre-line;
  font-weight: 400;
}

.lc-login-links {
  display: flex;
  flex-wrap: wrap;
  margin: 8px -4px 0;
}

.lc-login-links .btn {
  flex: 1 1 40%;
  margin: 4px;
}

/* ------------------------------------------------ 我的购买记录 */
.lc-his {
  padding: 8px 16px;
}

.lc-his-summary {
  padding: 6px 0;
}

.lc-his-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lc-his-item {
  padding: 10px 0;
  border-top: 1px solid #eef0f3;
}

.lc-his-top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.lc-his-action {
  font-weight: 500;
  margin-right: 8px;
}

.lc-his-money {
  margin-left: auto;
  font-weight: 500;
  color: var(--lc-red);
  white-space: nowrap;
}

.lc-his-badge {
  display: inline-block;
  padding: 0 8px;
  border-radius: var(--lc-radius);
  background: #6b7280;
  color: #fff;
  font-size: 0.8rem;
  line-height: 20px;
}

.lc-his-time,
.lc-his-dates,
.lc-his-revoked {
  font-size: 0.875rem;
  color: var(--lc-muted);
}

/* 被撤销的：只把金额划掉；时间与日期要看得清楚（客户要拿来问客服是哪一笔） */
.lc-his-item.is-revoked .lc-his-money {
  opacity: 0.55;
  text-decoration: line-through;
}

.his-note > div {
  margin-bottom: 4px;
}

/* ------------------------------------------------ 邀请好友 */
.lc-inv-code {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--lc-radius);
  background: #f4f6f9;
}

.lc-inv-code b {
  margin: 0 12px 0 8px;
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.lc-inv-code .btn {
  margin-left: auto;
}

.lc-inv-qr {
  margin: 4px 0 8px;
}

.lc-inv-qr img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  -webkit-touch-callout: default;
  -webkit-user-select: auto;
  user-select: auto;
}

/* ------------------------------------------------ 常见问题 */
.lc-faq-item {
  padding: 0;
  scroll-margin-top: 68px;
}

.lc-faq-item > summary {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 8px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  line-height: 1.5;
}

.lc-faq-item > summary::-webkit-details-marker {
  display: none;
}

.lc-faq-item > summary::after {
  content: "\f078"; /* chevron-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: auto;
  padding-left: 10px;
  color: var(--lc-muted);
  transition: transform 0.2s;
}

.lc-faq-item[open] > summary::after {
  transform: rotate(180deg);
}

.lc-faq-body {
  padding: 0 16px 14px;
  border-top: 1px solid #eef0f3;
}

.lc-faq-answer {
  margin: 10px 0 8px;
  font-weight: 500;
  color: var(--lc-green-dark);
}

.lc-faq-sub {
  margin: 12px 0 4px;
  font-weight: 700;
}

.lc-faq-body ol,
.lc-faq-body ul {
  padding-left: 1.4em;
  margin-bottom: 8px;
}

.lc-faq-body li {
  margin-bottom: 4px;
}

.lc-faq-body p {
  margin-bottom: 8px;
}

/* ------------------------------------------------ 教程（雷驰VPN）
   Windows、安卓教程（站长 2026-10-01）、苹果电脑教程（2026-10-02）换成自家客户端雷驰VPN。沿用 .lc-tech 的卡片与分步，
   每一步：标题 → 一两句说明 → 主要按钮、示意图或截图 → 小提示清单。字不缩小（手机也是 1rem）。
   提示清单与编号步骤的字靠左比较好读：整块置中、块里面靠左。 */
.lc-view .lc-tech .lc-tut {
  width: 100%;
  max-width: 640px;
  line-height: 1.7;
}

.lc-tut p {
  margin: 0 0 8px;
}

.lc-tut-title {
  margin: 2px 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lc-text);
}

/* 安卓教程：每一步上面一个大图标（电脑上缩小、和标题排一行，见下面“教程在电脑上”） */
.lc-tut-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--lc-green-soft);
  color: var(--lc-green);
  font-size: 1.5rem;
  line-height: 56px;
  text-align: center;
}

/* 下载：一个大按钮＋下面一行小字连结（旧电脑、旧手机） */
.lc-tut-dl {
  margin: 14px 0 4px;
}

.lc-main .lc-tut-dl-btn {
  min-width: 260px;
  min-height: 52px;
  padding: 0.5rem 1.75rem;
  font-size: 1.125rem;
}

.lc-main .lc-tut-dl-btn i {
  margin-right: 8px;
}

.lc-tut-alt {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 6px; /* 点击区够大 */
  color: var(--lc-info);
  text-decoration: underline;
}

.lc-tut-sub {
  margin: 14px 0 6px;
  font-weight: 600;
}

/* 编号步骤（1 先点… 2 再点…）：整块置中，字靠左 */
.lc-view .lc-tech .lc-tut-steps {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  counter-reset: lctut;
  text-align: left;
  vertical-align: top;
}

.lc-tut-steps > li {
  counter-increment: lctut;
  position: relative;
  min-height: 34px;
  padding: 4px 0 4px 36px;
}

.lc-tut-steps > li::before {
  content: counter(lctut);
  position: absolute;
  left: 0;
  top: 5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lc-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 26px;
  text-align: center;
}

/* 小提示清单：每条前面一个图标 */
.lc-view .lc-tech .lc-tut-tips {
  max-width: 34em;
  margin: 16px auto 4px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.lc-tut-tips > li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.lc-tut-tips > li > i:first-child {
  position: absolute;
  left: 2px;
  top: 15px;
  width: 20px;
  text-align: center;
  color: var(--lc-info);
}

.lc-tut-tips > li.is-warn > i:first-child {
  color: #b26a00;
}

.lc-tut-tips b {
  font-weight: 600;
}

.lc-tut-try {
  margin-top: 12px;
}

.lc-tut-done {
  margin: 16px 0 4px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lc-green-dark);
}

/* Windows 第 2 步“Windows 已保护你的电脑”的示意框：蓝底白字，只标出“更多信息”“仍要运行”两个要点，
   字以外的内容用灰条代替（不是系统窗口的完整复制，站长 2026-10-01）。窄屏幕上下排、箭头朝下。 */
/* 两个框一样高、下面的按钮对齐（站长 2026-10-02：电脑上两个框高低不齐）：框里由上往下排，按钮列推到最下面。 */
.lc-ss {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 14px 0 6px;
}

.lc-ss-box {
  display: flex;
  flex-direction: column;
  flex: 0 1 250px;
  max-width: 100%;
  padding: 14px 14px 12px;
  background: #1f62ad;
  color: #fff;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.lc-ss-title {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

.lc-ss-line {
  height: 7px;
  margin-bottom: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.lc-ss-line.is-short {
  width: 60%;
}

.lc-ss-link {
  display: inline-block;
  align-self: flex-start;
  margin: 6px 0 12px 4px;
  padding: 0 4px;
  text-decoration: underline;
}

.lc-ss-btns {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 10px;
}

.lc-ss-btn {
  display: inline-block;
  min-width: 76px;
  margin-left: 10px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 1rem;
}

/* 要点：黄框＋橘色编号 */
.lc-ss-hit {
  position: relative;
  box-shadow: 0 0 0 3px #ffc107;
  border-radius: 2px;
}

.lc-ss-badge {
  position: absolute;
  top: -13px;
  left: -13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8590c;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  text-decoration: none;
}

.lc-ss-arrow {
  flex: 0 0 auto;
  align-self: center;
  margin: 0 12px;
  font-size: 1.3rem;
  color: var(--lc-muted);
}

@media (max-width: 619.98px) {
  .lc-ss {
    flex-direction: column;
    align-items: center;
  }
  .lc-ss-box {
    flex: 0 0 auto;
    width: 250px;
  }
  .lc-ss-arrow {
    margin: 8px 0;
    transform: rotate(90deg);
  }
}

/* 苹果电脑第 3 步“第一次打开被拦住”的示意框（.lc-ss.is-mac，站长 2026-10-02）：macOS 的浅色圆角窗口、系统字体。
   沿用上面 .lc-ss 的排法（两个框一样高、并排，窄屏上下排）和黄框编号。左边是被拦住的提示（App 图标、标题、内文，
   “完成”“移到废纸篓”上下排），右边是“系统设置”的“隐私与安全性”，“安全性”那一块推到最下面，和左边的按钮对齐。
   红叉（.lc-ss-badge.is-no，通用，别的示意框也能用）＝不要点。内文 .lc-ss-text 也是 1rem（字不缩小）。 */
.lc-ss.is-mac .lc-ss-box {
  padding: 16px 14px 14px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  background: #f2f2f2;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", sans-serif;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.lc-ss.is-mac .lc-ss-box.is-dialog {
  text-align: center;
}

.lc-ss.is-mac .lc-ss-icon {
  display: block;
  width: 44px;
  height: 48px;
  margin: 0 auto 8px;
}

.lc-ss.is-mac .lc-ss-title {
  margin-bottom: 8px;
  font-weight: 700;
}

.lc-ss.is-mac .lc-ss-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #3a3a3c;
}

.lc-ss.is-mac .lc-ss-line {
  background: rgba(0, 0, 0, 0.12);
}

.lc-ss.is-mac .is-dialog .lc-ss-btns {
  flex-direction: column;
  align-items: stretch;
  padding-top: 14px;
}

.lc-ss.is-mac .lc-ss-btn {
  position: relative; /* 红叉（不在黄框里）也要贴着按钮的左上角 */
  margin: 0;
  padding: 4px 12px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* 18px：红叉往上凸 13px，再加“完成”的 3px 黄框，间距要大过这些，红叉才不会压到“完成” */
.lc-ss.is-mac .lc-ss-btn + .lc-ss-btn {
  margin-top: 18px;
}

.lc-ss.is-mac .lc-ss-btn.is-default {
  background: #0064e0; /* 比 macOS 的蓝深一点：白字对比够 4.5:1 */
  color: #fff;
}

.lc-ss.is-mac .lc-ss-hit {
  box-shadow: 0 0 0 3px #ffc107;
}

.lc-ss-badge.is-no {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c62828;
}

.lc-ss.is-mac .lc-ss-sec {
  margin-top: auto;
  padding: 8px 0 6px;
  font-weight: 700;
}

.lc-ss.is-mac .lc-ss-row {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lc-ss.is-mac .lc-ss-row .lc-ss-btns {
  padding-top: 10px;
}

@media (max-width: 575.98px) {
  .lc-main .lc-tut-dl-btn {
    width: 100%;
    min-width: 0;
  }
}

/* “说明”弹窗：雷驰VPN 的常见问题，一题一段 */
.lc-tut-faq {
  line-height: 1.7;
}

.lc-tut-q {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.lc-tut-q:first-child {
  padding-top: 0;
}

.lc-tut-q:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.lc-tut-q-title {
  margin-bottom: 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lc-title);
}

.lc-tut-q p {
  margin: 0 0 4px;
}

.lc-tut-q a {
  color: var(--lc-info);
  text-decoration: underline;
}

/* 教程（雷驰VPN）的截图：一步有好几张时一张接一张往下排（电脑宽度够时并排），每张下面一行说明。
   整张手机截图最宽 260px，只裁出弹窗或局部的图（.is-crop）最宽 340px，字（说明）不缩小。 */
.lc-tut-shots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 1rem 0;
}
.lc-tut-shots figure {
  margin: 0;
  max-width: 260px;
  text-align: center;
}
.lc-tut-shots img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.12);
}
.lc-tut-shots figcaption {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #343a40;
}
/* 只裁出系统弹窗或局部画面的图：手机上可以宽到 340px，字比整张截图大 */
.lc-tut-shots figure.is-crop {
  max-width: 340px;
}
@media (min-width: 768px) {
  .lc-tut-shots {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }
  .lc-tut-shots figure {
    width: 220px;
  }
  .lc-tut-shots figure.is-crop {
    width: 300px;
  }
}

/* ------------------------------------------------ 教程在电脑上（992px 以上，站长 2026-10-02：电脑版教程排版丑）
   原本每一步挤在中间 640px、两旁空着，截图又高，被下面固定的“上一步／下一步”挡掉一截。电脑上改成：
   1. 只有一张截图的步骤（.lc-tut.is-split，里面分 .lc-tut-head／.lc-tut-media／.lc-tut-more）：左边文字、右边截图。
   2. 好几张截图的步骤：内容区放宽到整张卡片，截图排成一行；文字段落仍限 40 个字宽，好读。
   3. 步骤图标缩小、和标题排成一行，把高度留给截图。
   截图最高＝画面高度减掉上面的导航列、页首、卡片内距（约 170px）与下面的按钮列（约 70px），
   安卓教程在电脑上还会多一条“请用安卓手机打开”的提示（约 60px）、图下一行说明。手机与平板照旧一栏。 */
@media (min-width: 992px) {
  .lc-view .lc-tech .lc-tut {
    max-width: none;
  }
  .lc-view .lc-tech .lc-tut p {
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
  }
  /* 图标和标题一行：两个的上下外距一样，置中才对得齐 */
  .lc-tut-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 10px 12px 0;
    font-size: 1.1rem;
    line-height: 40px;
    vertical-align: middle;
  }
  .lc-tut-icon + .lc-tut-title {
    display: inline-block;
    margin: 0 0 12px;
    vertical-align: middle;
  }

  .lc-view .lc-tech .lc-tut.is-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "head media"
      "more media";
    column-gap: 32px;
    align-items: start;
    max-width: 920px;
    text-align: left;
  }
  .lc-tut.is-split > .lc-tut-head {
    grid-area: head;
  }
  .lc-tut.is-split > .lc-tut-media {
    grid-area: media;
    margin: 0;
  }
  .lc-tut.is-split > .lc-tut-more {
    grid-area: more;
  }
  .lc-view .lc-tech .lc-tut.is-split p,
  .lc-view .lc-tech .lc-tut.is-split .lc-tut-tips {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  /* Windows 的 App 截图原图 720 高：大屏幕上最多 640，左边的字才不会被挤到一句断两行 */
  .lc-view .lc-tech .lc-tut.is-split .lc-tut-media img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 260px);
    max-height: max(320px, min(640px, calc(100vh - 260px)));
  }
  .lc-tut.is-split .lc-tut-shots figure,
  .lc-tut.is-split .lc-tut-shots figure.is-crop {
    width: auto;
    max-width: none;
  }
  .lc-view .lc-tech .lc-tut.is-split .lc-tut-shots img {
    max-height: calc(100vh - 360px);
    max-height: max(300px, calc(100vh - 360px));
  }

  /* 好几张截图：三张排一行（3×280＋2×20 放得进卡片的 934px） */
  .lc-tut-shots figure.is-crop {
    width: 280px;
  }
  .lc-view .lc-tech .lc-tut-shots img {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    max-height: calc(100vh - 500px);
    max-height: max(250px, calc(100vh - 500px));
  }

  /* 旧教程（苹果手机）的大截图也不超过一个画面 */
  .lc-view .lc-tech img.img-fluid {
    max-height: calc(100vh - 380px);
    max-height: max(320px, calc(100vh - 380px));
  }
}
