/* 联机岛 · 商城（Paymenter）样式补充
   颜色尽量使用 Paymenter 主题变量（--color-*，格式为 "H S% L%"），深色模式自动适配 */

body { font-family: var(--ljd-font); }

/* 1. 导航：统一顶栏的样式在 brand.css，这里只调整商城自带的购物车、通知按钮和手机菜单里的退出按钮 */
.ljd-hd-right .w-10.h-10 { border-radius: 8px; color: var(--ljd-hd-icon); }
.ljd-hd-right .w-10.h-10:hover { background: var(--ljd-hd-hover); }
.ljd-hd-right svg.size-4 { width: 20px; height: 20px; }
.ljd-hd-menu__logout button {
  width: 100%;
  height: 44px;
  justify-content: center;
  border: 1px solid var(--ljd-hd-line);
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 15px;
}

/* 2. 首页 */
.ljd-home { color: hsl(var(--color-base)); }
.ljd-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.ljd-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #F3FAF3 0%, #FFFFFF 100%);
  border-bottom: 1px solid hsl(var(--color-neutral));
}
/* 背景：两团柔和的品牌绿、橙色光晕 + 往下渐隐的点阵 */
.ljd-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 320px at 12% 8%, rgba(76, 175, 80, .20), transparent 70%),
    radial-gradient(460px 300px at 88% 18%, rgba(242, 163, 58, .18), transparent 70%),
    radial-gradient(420px 260px at 50% 110%, rgba(76, 175, 80, .12), transparent 70%);
}
.ljd-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(47, 125, 50, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
.dark .ljd-hero { background: linear-gradient(180deg, hsl(150 22% 11%) 0%, hsl(var(--color-background)) 100%); }
.ljd-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 56px;
}
/* 电脑上首屏（含底边的卖点条）占满一屏：内容在中间，卖点条贴底，下一节的标题不会只露出半截 */
@media (min-width: 901px) {
  .ljd-hero { min-height: calc(100svh - var(--ljd-hd-h, 64px)); }
  .ljd-hero__inner { flex: 1; justify-content: center; width: 100%; }
}
/* 矮屏幕（笔记本 768 高）：收紧上下间距，卖点条仍然在一屏以内 */
@media (min-width: 901px) and (max-height: 860px) {
  .ljd-hero__inner { padding-top: 36px; padding-bottom: 28px; }
  .ljd-hero h1 { margin: 14px 0 12px; }
  .ljd-hero__actions { margin-top: 22px; }
  .ljd-hero__games { margin-top: 26px; }
}
.ljd-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: hsl(var(--color-background));
  border: 1px solid hsl(var(--color-primary) / .25);
  color: hsl(var(--color-primary));
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px hsl(var(--color-primary) / .08);
}
.ljd-hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.18; font-weight: 800; margin: 20px 0 18px; letter-spacing: .5px; }
.ljd-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #2F7D32, #4CAF50 60%, #7CC242);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ljd-hero p { font-size: 17px; line-height: 1.8; color: hsl(var(--color-muted)); max-width: 36em; margin: 0 auto; }
.ljd-hero__actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* 首屏的热门游戏：点了直接去下单 */
.ljd-hero__games { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; max-width: 860px; }
.ljd-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px 0 6px;
  border-radius: 999px;
  background: hsl(var(--color-background));
  border: 1px solid hsl(var(--color-neutral));
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  color: hsl(var(--color-base));
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ljd-chip:hover { transform: translateY(-2px); border-color: hsl(var(--color-primary) / .5); box-shadow: 0 8px 18px rgba(0, 0, 0, .08); color: hsl(var(--color-base)); }
.ljd-chip i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .5px;
}
.ljd-chip__img { background-size: cover !important; background-position: center !important; }
.ljd-chip--more { padding: 0 18px; color: hsl(var(--color-primary)); }

/* 首屏底部的几条信息 */
.ljd-hero__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; margin: 16px 0 0; font-size: 14px; color: hsl(var(--color-muted)); }
.ljd-hero__meta span + span::before { content: "·"; margin: 0 10px; opacity: .6; }

.ljd-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s, color .15s;
}
.ljd-btn--primary { background: hsl(var(--color-primary)); color: #fff; box-shadow: 0 6px 16px hsl(var(--color-primary) / .28); }
.ljd-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px hsl(var(--color-primary) / .32); color: #fff; }
.ljd-btn--ghost { background: transparent; color: hsl(var(--color-base)); border: 1px solid hsl(var(--color-neutral)); }
.ljd-btn--ghost:hover { border-color: hsl(var(--color-primary)); color: hsl(var(--color-primary)); }
.ljd-btn--block { width: 100%; }
.ljd-btn--lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 12px; }

.ljd-section { padding: 64px 0; }
.ljd-section--alt { background: hsl(var(--color-background-secondary)); border-top: 1px solid hsl(var(--color-neutral)); border-bottom: 1px solid hsl(var(--color-neutral)); }
.ljd-section__head { margin-bottom: 28px; }
.ljd-section__head h2 { position: relative; font-size: 28px; font-weight: 800; margin: 0 0 10px; padding-left: 16px; }
.ljd-section__head h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 5px; background: linear-gradient(180deg, #4CAF50, #2F7D32); }
.ljd-section__head p { color: hsl(var(--color-muted)); margin: 0; line-height: 1.7; }
.ljd-note { color: hsl(var(--color-secondary)); }
.ljd-empty { color: hsl(var(--color-muted)); }

.ljd-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.ljd-game {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: hsl(var(--color-background));
  border: 1px solid hsl(var(--color-neutral));
  color: inherit;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ljd-game:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); border-color: hsl(var(--color-primary) / .5); }
.ljd-game__cover { position: relative; height: 108px; display: flex; align-items: flex-end; padding: 14px 16px; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.ljd-game__cover span { font-size: 30px; font-weight: 800; color: rgba(255, 255, 255, .93); letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.ljd-game__cover em { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 12px; font-weight: 700; color: #3B2A00; background: #F2A33A; padding: 3px 9px; border-radius: 999px; }
.ljd-game__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.ljd-game__body h3 { margin: 0; font-size: 17px; font-weight: 700; }
.ljd-game__body h3 small { margin-left: 4px; font-size: 12px; font-weight: 500; color: hsl(var(--color-muted)); }
.ljd-game__body p { flex: 1; margin: 0; font-size: 13.5px; line-height: 1.6; color: hsl(var(--color-muted)); }
.ljd-game__meta { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px dashed hsl(var(--color-neutral)); font-size: 12.5px; color: hsl(var(--color-muted)); }
.ljd-game__meta span:last-child { color: hsl(var(--color-primary)); font-weight: 600; }

.ljd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ljd-steps li { position: relative; padding: 22px 20px; border-radius: 14px; background: hsl(var(--color-background)); border: 1px solid hsl(var(--color-neutral)); transition: transform .15s, box-shadow .15s; }
.ljd-steps li:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .06); }
.ljd-steps b { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #4CAF50, #2F7D32); color: #fff; font-weight: 800; box-shadow: 0 6px 14px hsl(var(--color-primary) / .25); }
.ljd-steps h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 700; }
.ljd-steps p { margin: 0; font-size: 14px; line-height: 1.6; color: hsl(var(--color-muted)); }

.ljd-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ljd-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 18px; border-radius: 14px; background: hsl(var(--color-background)); border: 1px solid hsl(var(--color-neutral)); }
.ljd-plan--hot { border: 2px solid hsl(var(--color-primary)); box-shadow: 0 12px 28px hsl(var(--color-primary) / .14); }
.ljd-plan__badge { position: absolute; top: -12px; left: 18px; padding: 3px 10px; border-radius: 999px; background: hsl(var(--color-primary)); color: #fff; font-size: 12px; font-weight: 700; }
.ljd-plan h3 { margin: 0; font-size: 18px; font-weight: 700; }
.ljd-plan__price { font-size: 28px; font-weight: 800; color: hsl(var(--color-primary)); }
.ljd-plan__price small { margin-left: 4px; font-size: 13px; font-weight: 500; color: hsl(var(--color-muted)); }
.ljd-plan__desc { flex: 1; font-size: 13.5px; line-height: 1.7; color: hsl(var(--color-muted)); }
.ljd-plan__desc p { margin: 0; }
.ljd-plan__desc ul { margin: 0; padding-left: 18px; list-style: disc; }


/* 3. 页脚 */
.ljd-footer { width: 100%; margin-top: 64px; background: #13261A; color: rgba(255, 255, 255, .75); font-family: var(--ljd-font); }
.ljd-footer__inner { max-width: 1200px; margin: 0 auto; padding: 44px 20px 28px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ljd-footer__brand { display: flex; gap: 12px; align-items: center; }
.ljd-footer__brand img { border-radius: 10px; }
.ljd-footer__brand strong { color: #fff; font-size: 18px; }
.ljd-footer__brand p { margin: 2px 0 0; font-size: 13px; }
.ljd-footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.ljd-footer__cols h4 { margin: 0 0 12px; color: #fff; font-size: 14px; font-weight: 700; }
.ljd-footer__cols a { display: block; margin-bottom: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .7); text-decoration: none; }
.ljd-footer__cols a:hover { color: #fff; }
.ljd-footer__bottom { max-width: 1200px; margin: 0 auto; padding: 16px 20px 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.ljd-footer__bottom a { color: rgba(255, 255, 255, .5); text-decoration: none; }
.ljd-footer__bottom a:hover { color: rgba(255, 255, 255, .85); }

@media (max-width: 900px) {
  .ljd-hero__inner { padding-top: 48px; padding-bottom: 44px; }
  .ljd-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ljd-steps { grid-template-columns: 1fr; }
  .ljd-hero p { font-size: 15.5px; }
  .ljd-hero__actions .ljd-btn { flex: 1; }
  .ljd-hero__games { margin-top: 28px; }
  .ljd-hero__games .ljd-chip:nth-child(n+5):not(.ljd-chip--more) { display: none; }
  .ljd-section { padding: 44px 0; }
  .ljd-footer__cols { gap: 32px; }
}

/* 4. OAuth 授权确认页（用商城账号登录社区时出现一次） */
.ljd-consent { display: flex; justify-content: center; padding: 56px 16px 24px; }
.ljd-consent__card {
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 24px;
  border-radius: 16px;
  background: hsl(var(--color-background));
  border: 1px solid hsl(var(--color-neutral));
  box-shadow: 0 16px 40px rgba(31, 94, 34, .10);
  text-align: center;
}
.ljd-consent__logo { margin: 0 auto 14px; border-radius: 14px; display: block; }
.ljd-consent h1 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.ljd-consent__lead { margin: 0 0 18px; color: hsl(var(--color-muted)); font-size: 15px; }
.ljd-consent__lead strong { color: hsl(var(--color-base)); }
.ljd-consent__who { margin-bottom: 14px; padding: 10px 12px; border-radius: 10px; background: hsl(var(--color-background-secondary)); font-size: 13.5px; color: hsl(var(--color-muted)); }
.ljd-consent__who strong { color: hsl(var(--color-base)); }
.ljd-consent__scopes { margin: 0 0 20px; padding: 0; list-style: none; text-align: left; font-size: 14px; color: hsl(var(--color-muted)); }
.ljd-consent__scopes li::before { content: "✓"; color: hsl(var(--color-primary)); font-weight: 700; margin-right: 8px; }
.ljd-consent__cancel { margin-top: 10px; width: 100%; height: 40px; border: 0; background: none; color: hsl(var(--color-muted)); font-size: 14px; cursor: pointer; }
.ljd-consent__cancel:hover { color: hsl(var(--color-base)); }
.ljd-consent__note { margin: 6px 0 0; font-size: 12.5px; color: hsl(var(--color-muted)); }

/* 5. 我的服务器 · 概览（GameHub，体验方案 P05）。外层是服务详情页的标签容器（bg-primary-800），这里自带白底卡片 */
.gh {
  padding: 24px;
  border-radius: 12px;
  background: hsl(var(--color-background));
  border: 1px solid hsl(var(--color-neutral));
  color: hsl(var(--color-base));
  max-width: 720px;
}
.gh-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.gh-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gh-name { font-size: 20px; font-weight: 700; word-break: break-all; }
.gh-game { font-size: 14px; color: hsl(var(--color-muted)); }
.gh-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: hsl(var(--color-background-secondary)); color: hsl(var(--color-muted)); }
.gh-badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.gh-badge--running { background: hsl(var(--color-primary) / .12); color: hsl(var(--color-primary)); }
.gh-badge--starting, .gh-badge--stopping, .gh-badge--allocating, .gh-badge--installing { background: #FFF6E8; color: #B26A00; }
.gh-badge--starting i, .gh-badge--stopping i, .gh-badge--allocating i, .gh-badge--installing i { animation: gh-pulse 1.2s ease-in-out infinite; }
.gh-badge--provision_failed, .gh-badge--install_failed { background: #FDECEC; color: #B42318; }
.gh-badge--suspended { background: #FFF6E8; color: #B26A00; }
@keyframes gh-pulse { 50% { opacity: .3; } }

.gh-steps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; color: hsl(var(--color-muted)); }
.gh-steps li::before { content: "○"; margin-right: 6px; }
.gh-steps li.is-done { color: hsl(var(--color-base)); }
.gh-steps li.is-done::before { content: "✓"; color: hsl(var(--color-primary)); font-weight: 700; }
.gh-steps li.is-active { color: hsl(var(--color-base)); font-weight: 600; }
.gh-steps li.is-active::before { content: "◐"; color: #B26A00; display: inline-block; animation: gh-spin 1.6s linear infinite; }
.gh-steps small { margin-left: 4px; font-weight: 400; color: hsl(var(--color-muted)); }
@keyframes gh-spin { to { transform: rotate(360deg); } }

.gh-muted { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: hsl(var(--color-muted)); }
.gh-center { text-align: center; margin-top: 10px; }

.gh-conn { margin: 0 0 18px; padding: 4px 16px; border-radius: 10px; background: hsl(var(--color-background-secondary)); }
.gh-conn__row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid hsl(var(--color-neutral)); flex-wrap: wrap; }
.gh-conn__row:last-of-type { border-bottom: 0; }
.gh-conn dt { width: 6.5em; flex-shrink: 0; font-size: 14px; color: hsl(var(--color-muted)); }
.gh-conn dd { display: flex; align-items: center; gap: 12px; margin: 0; flex: 1; min-width: 0; flex-wrap: wrap; }
.gh-conn code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; font-weight: 600; word-break: break-all; }
.gh-conn__fallback { margin: 0; padding: 0 0 10px; font-size: 12.5px; color: hsl(var(--color-muted)); }
.gh-link { border: 0; background: none; padding: 0; color: hsl(var(--color-primary)); font-size: 14px; font-weight: 600; cursor: pointer; }
.gh-link:hover { text-decoration: underline; }

.gh-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.gh-btn:disabled { opacity: .45; cursor: not-allowed; }
.gh-btn--primary { background: hsl(var(--color-primary)); color: #fff; }
.gh-btn--primary:hover:not(:disabled) { background: var(--ljd-primary-hover); color: #fff; }
.gh-btn--ghost { background: hsl(var(--color-background)); color: hsl(var(--color-base)); border-color: hsl(var(--color-neutral)); }
.gh-btn--ghost:hover:not(:disabled) { border-color: hsl(var(--color-primary)); color: hsl(var(--color-primary)); }
.gh-btn--block { width: 100%; height: 48px; font-size: 16px; }
.gh-power { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.gh-btn--danger { background: #B42318; color: #fff; }
.gh-btn--danger:hover:not(:disabled) { background: #912018; color: #fff; }
/* 切换游戏（我的服务器 · 概览）：默认收起，展开后选游戏、看说明、勾选确认 */
.gh-switch { margin-top: 18px; padding: 12px 14px; border-radius: 10px; border: 1px solid hsl(var(--color-neutral)); font-size: 14px; }
.gh-switch summary { cursor: pointer; font-weight: 600; }
.gh-switch[open] summary { margin-bottom: 8px; }
.gh-switch select { display: block; width: 100%; max-width: 420px; margin: 8px 0; padding: 8px 10px; border-radius: 8px; border: 1px solid hsl(var(--color-neutral)); background: hsl(var(--color-background)); color: hsl(var(--color-base)); }
.gh-switch__notes { margin: 8px 0; padding-left: 1.2em; list-style: disc; line-height: 1.8; color: hsl(var(--color-base)); }
.gh-check { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; }
.gh-check input { margin-top: 4px; }
.gh-switch .gh-btn { margin-top: 6px; }

.gh-alert { margin-bottom: 16px; padding: 14px 16px; border-radius: 10px; font-size: 14px; line-height: 1.7; }
.gh-alert p { margin: 4px 0 0; }
.gh-alert--error { background: #FDECEC; color: #7A1A12; }
.gh-alert--warn { background: #FFF6E8; color: #7A4A00; }

.gh-setup { margin-bottom: 18px; padding: 16px; border-radius: 10px; border: 1px solid #F2A33A; background: #FFFBF3; font-size: 14px; line-height: 1.8; }
.gh-setup ol { margin: 6px 0 12px; padding-left: 1.4em; list-style: decimal; }
.gh-setup a { color: hsl(var(--color-primary)); text-decoration: underline; }
.gh-setup__form { display: flex; gap: 8px; flex-wrap: wrap; }
.gh-setup__form input { flex: 1; min-width: 200px; height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid hsl(var(--color-neutral)); background: #fff; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; }
.gh-setup__form input:focus { outline: 2px solid hsl(var(--color-primary) / .35); border-color: hsl(var(--color-primary)); }
.gh-error { margin: 6px 0 0; color: #B42318; font-size: 13px; }

.gh-console { margin: 20px 0 0; padding-top: 14px; border-top: 1px dashed hsl(var(--color-neutral)); font-size: 13px; color: hsl(var(--color-muted)); }
.gh-console a { color: hsl(var(--color-base)); font-weight: 600; margin-right: 8px; }
.gh-console a:hover { color: hsl(var(--color-primary)); }

@media (max-width: 560px) {
  .gh { padding: 16px; }
  .gh-conn dt { width: 100%; }
  .gh-power .gh-btn { flex: 1; }
}

/* 6. 易支付支付页（嵌在账单的付款弹窗里，paymenter/extensions/Epay） */
.ep { text-align: center; color: hsl(var(--color-base)); }
.ep-amount { margin: 0 0 16px; font-size: 32px; font-weight: 800; letter-spacing: .5px; }
/* 账单付款弹窗里的支付宝 / 微信 / QQ 钱包图标（themes/brand/views/invoices/partials/payment-options.blade.php） */
.ljd-pay-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; color: #fff; font-size: 17px; font-weight: 700; flex-shrink: 0; }
.ljd-pay-icon--alipay { background: #1677FF; }
.ljd-pay-icon--wxpay { background: #07C160; }
.ljd-pay-icon--qqpay { background: #12B7F5; }
.ep-channels { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.ep-channel { display: inline-flex; align-items: center; gap: 8px; min-width: 128px; height: 46px; padding: 0 18px; border-radius: 10px; border: 1px solid hsl(var(--color-neutral)); background: hsl(var(--color-background)); font-size: 15px; font-weight: 600; cursor: pointer; justify-content: center; }
.ep-channel i { width: 18px; height: 18px; border-radius: 5px; }
.ep-channel--alipay i { background: #1677FF; }
.ep-channel--wxpay i { background: #07C160; }
.ep-channel--qqpay i { background: #12B7F5; }
.ep-channel.is-active, .ep-channel:hover { border-color: hsl(var(--color-primary)); box-shadow: 0 0 0 2px hsl(var(--color-primary) / .18); }
.ep-body { min-height: 120px; }
.ep-qr { display: inline-block; padding: 12px; border-radius: 12px; border: 1px solid hsl(var(--color-neutral)); background: #fff; line-height: 0; }
.ep-qr svg { width: 232px; height: 232px; }
.ep-scan { margin: 14px 0 4px; font-size: 16px; font-weight: 700; }
.ep-muted { margin: 6px 0; font-size: 13px; color: hsl(var(--color-muted)); }
.ep-open, .ep-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; margin: 10px 0; padding: 0 22px; border-radius: 10px; border: 0; background: hsl(var(--color-primary)); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.ep-link { border: 0; background: none; padding: 0; color: hsl(var(--color-primary)); font-weight: 600; cursor: pointer; }
.ep-warn { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: #FFF6E8; color: #7A4A00; font-size: 13px; }
.ep-error { color: #B42318; font-size: 14px; }
.ep-paid { margin-top: 24px; font-size: 18px; font-weight: 700; color: hsl(var(--color-primary)); }

/* 7. 手机验证页（GameHub，体验方案 P03） */
.gh-page { padding: 32px 16px; display: flex; justify-content: center; }
.gh-phone { width: 100%; max-width: 480px; }
.gh-phone .gh-name { display: block; margin: 0 0 6px; }
.gh-phone__note { margin-top: 18px; font-size: 12.5px; }
.gh-form { margin-top: 14px; }
.gh-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.gh-form__row { display: flex; gap: 8px; align-items: stretch; }
.gh-form__row input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid hsl(var(--color-neutral)); background: #fff; font-size: 16px; letter-spacing: .5px; }
.gh-form__row input:focus { outline: 2px solid hsl(var(--color-primary) / .35); border-color: hsl(var(--color-primary)); }
.gh-form__prefix { display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; background: hsl(var(--color-background-secondary)); color: hsl(var(--color-muted)); font-size: 15px; }
.gh-form .gh-btn { height: 44px; white-space: nowrap; }
.gh-form__row input:disabled { background: hsl(var(--color-background-secondary)); color: hsl(var(--color-muted)); }
/* 邮箱与登录页（GameHub）：每项一行，说明在左、开关在右 */
.gh-settings { margin-top: 12px; border-top: 1px solid hsl(var(--color-neutral) / .6); }
.gh-setting { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid hsl(var(--color-neutral) / .6); }
.gh-setting .gh-muted { margin: 4px 0 0; font-size: 13px; line-height: 1.5; }
.gh-setting .gh-btn { flex-shrink: 0; }

/* 8. 结算页的购买须知（紧挨在付款按钮上方，体验方案 P02） */
.ljd-buy-notes { margin: 6px 0 4px; padding: 10px 12px; list-style: none; border-radius: 8px; background: hsl(var(--color-background)); border: 1px solid hsl(var(--color-neutral)); font-size: 12.5px; line-height: 1.7; color: hsl(var(--color-muted)); }
.ljd-buy-notes li::before { content: "·"; margin-right: 6px; font-weight: 700; color: hsl(var(--color-base)); }

/* 9. 服务详情页：到期暂停横幅（体验方案 P09） */
.ljd-suspend { margin-bottom: 16px; padding: 16px 18px; border-radius: 12px; background: #FFF6E8; border: 1px solid #F2A33A; color: #7A4A00; }
.ljd-suspend strong { font-size: 16px; }
.ljd-suspend p { margin: 4px 0 10px; font-size: 14px; }
.ljd-suspend a:not(.ljd-btn) { color: hsl(var(--color-primary)); text-decoration: underline; }
.ljd-suspend .ljd-btn { height: 40px; }
.ljd-suspend--hold { background: #FDECEC; border-color: #F04438; color: #7A1A12; }

/* 10. 首页游戏：封面图片、搜索 */
.ljd-game__cover--image { background-size: cover; background-position: center; }
.ljd-game__cover--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .25)); pointer-events: none; }
.ljd-game__cover--image em { z-index: 1; }
.ljd-search { margin: 0 0 18px; }
.ljd-search input {
  width: 100%; max-width: 420px; height: 44px; padding: 0 14px 0 40px; border-radius: 10px;
  border: 1px solid hsl(var(--color-neutral)); background: #fff no-repeat 13px center / 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2359636E'%3E%3Cpath d='M18.03 16.62l4.28 4.28-1.41 1.41-4.28-4.28A9 9 0 1 1 18.03 16.62zM11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14z'/%3E%3C/svg%3E");
  font-size: 15px;
}
.ljd-search input:focus { outline: 2px solid hsl(var(--color-primary) / .3); border-color: hsl(var(--color-primary)); }
.ljd-game[hidden] { display: none; }

/* 11. 下单页的地域卡片（带延迟） */
.ljd-regions { display: flex; flex-direction: column; gap: 8px; }
.ljd-regions__label { font-size: 14px; font-weight: 600; }
.ljd-regions__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.ljd-region { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; padding: 12px 14px; border-radius: 10px; border: 1px solid hsl(var(--color-neutral)); background: hsl(var(--color-background)); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ljd-region:hover:not(:disabled) { border-color: hsl(var(--color-primary) / .6); }
.ljd-region.is-active { border-color: hsl(var(--color-primary)); box-shadow: 0 0 0 2px hsl(var(--color-primary) / .2); }
.ljd-region:disabled { opacity: .5; cursor: not-allowed; }
.ljd-region__name { font-size: 15px; font-weight: 700; }
.ljd-region__ms { font-size: 12.5px; color: hsl(var(--color-muted)); font-variant-numeric: tabular-nums; }
.ljd-region__ms.is-fast { color: hsl(var(--color-primary)); font-weight: 700; }
.ljd-region small { width: 100%; font-size: 12.5px; color: hsl(var(--color-muted)); }
.ljd-regions__hint, .ljd-region-only { margin: 0; font-size: 12.5px; color: hsl(var(--color-muted)); }
.ljd-region-only { font-size: 14px; color: hsl(var(--color-base)); }
.ljd-regions-line { margin: 6px 0 0; font-size: 14px; color: hsl(var(--color-muted)); }

/* 头像菜单：和社区、控制台一样的白色卡片，顶部昵称和邮箱，"退出登录"前有分隔线、不用红字
   （Paymenter 的下拉菜单是浅灰底，退出是红字；导航栏模板里加了 .ljd-hd-user、.ljd-dd-head） */
.ljd-hd-user [x-ref="dropdown"] {
  width: 240px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid var(--ljd-hd-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(0 0 0 / .12);
}
.ljd-hd-user .ljd-dd-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--ljd-hd-line);
}
.ljd-hd-user .ljd-dd-head strong { color: var(--ljd-hd-text); font-size: 14px; }
.ljd-hd-user .ljd-dd-head span { color: var(--ljd-muted); font-size: 12px; word-break: break-all; }
.ljd-hd-user [x-ref="dropdown"] :is(a, button) {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  background: none;
  color: var(--ljd-hd-text);
  font: 500 14px/1.4 var(--ljd-font);
  text-align: left;
}
.ljd-hd-user [x-ref="dropdown"] :is(a, button):hover { background: var(--ljd-hd-hover); color: var(--ljd-hd-text); }
.ljd-hd-user [x-ref="dropdown"] > div:last-child {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--ljd-hd-line);
}


/* 12. 营销（Marketing 扩展）：顶部活动横幅、套餐活动价、结算页和购物车的活动提示、邀请有礼 */
.mk-bar { position: relative; background: linear-gradient(90deg, #FFF3DD, #FFE7C2); border-bottom: 1px solid #F5C77E; color: #5C3A00; }
.mk-bar__body { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; min-height: 42px; padding: 8px 44px; font-size: 14px; text-decoration: none; color: inherit; }
.mk-bar__body:hover .mk-bar__go { text-decoration: underline; }
.mk-bar__badge { padding: 2px 9px; border-radius: 999px; background: var(--ljd-accent, #F2A33A); color: #3B2A00; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mk-bar__sub { color: #7A4A00; }
.mk-bar__left { font-variant-numeric: tabular-nums; color: #7A4A00; }
.mk-bar__left b { color: #B42318; }
.mk-bar__go { font-weight: 700; white-space: nowrap; }
.mk-bar__close { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: #7A4A00; font-size: 20px; line-height: 1; cursor: pointer; }
.mk-bar__close:hover { background: rgba(0, 0, 0, .06); }
@media (max-width: 560px) { .mk-bar__sub { display: none; } .mk-bar__body { padding: 8px 40px 8px 16px; justify-content: flex-start; } }

.mk-plan-badge { position: absolute; top: -12px; left: 18px; padding: 3px 10px; border-radius: 999px; background: var(--ljd-accent, #F2A33A); color: #3B2A00; font-size: 12px; font-weight: 700; }
.mk-plan-was { margin-top: -6px; font-size: 13px; color: hsl(var(--color-muted)); }
.mk-plan-was s { margin-right: 2px; }

.mk-checkout { margin: 4px 0; padding: 10px 12px; border-radius: 8px; background: #FFF6E8; border: 1px solid #F5C77E; color: #5C3A00; font-size: 13px; line-height: 1.6; }
.mk-checkout__badge { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: var(--ljd-accent, #F2A33A); color: #3B2A00; font-size: 12px; font-weight: 700; }
.mk-checkout__price { color: #B42318; }

.mk-cart-was { margin-right: 6px; font-size: 14px; font-weight: 500; color: hsl(var(--color-muted)); }
.mk-cart-code { font-size: 12px; font-weight: 400; color: hsl(var(--color-muted)); }
.mk-cart-saving { color: #B42318; }
.mk-cart-notice { margin: 0; padding: 8px 10px; border-radius: 8px; background: #FFF6E8; color: #5C3A00; font-size: 13px; }

.mk-invite { width: 100%; max-width: 640px; }
.mk-invite .gh-name { display: block; margin: 0 0 6px; }
.mk-invite__lead { margin: 0 0 18px; font-size: 15px; line-height: 1.8; }
.mk-invite__link label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.mk-invite__link .gh-form__row input { font-size: 14px; letter-spacing: 0; }
.mk-invite__link .gh-btn { height: 44px; white-space: nowrap; }
.mk-invite__share { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: hsl(var(--color-background-secondary)); font-size: 14px; line-height: 1.7; }
.mk-invite__share p { margin: 0 0 6px; word-break: break-all; }
.mk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
.mk-stats div { padding: 12px; border-radius: 10px; border: 1px solid hsl(var(--color-neutral)); text-align: center; }
.mk-stats dt { font-size: 13px; color: hsl(var(--color-muted)); }
.mk-stats dd { margin: 4px 0 0; font-size: 22px; font-weight: 800; }
.mk-stats dd small { display: block; font-size: 12px; font-weight: 500; color: hsl(var(--color-muted)); }
.mk-invite__h2 { margin: 22px 0 8px; font-size: 16px; font-weight: 700; }
.mk-rules { margin: 0; padding-left: 1.4em; list-style: decimal; font-size: 14px; line-height: 1.9; color: hsl(var(--color-muted)); }
.mk-list { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.mk-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid hsl(var(--color-neutral)); }
.mk-list li:last-child { border-bottom: 0; }
.mk-list__date { color: hsl(var(--color-muted)); font-size: 13px; }
.mk-status { margin-left: auto; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; background: hsl(var(--color-background-secondary)); color: hsl(var(--color-muted)); white-space: nowrap; }
.mk-status--pending, .mk-status--review { background: #FFF6E8; color: #B26A00; }
.mk-status--rewarded { background: hsl(var(--color-primary) / .12); color: hsl(var(--color-primary)); }
@media (max-width: 560px) { .mk-stats { grid-template-columns: repeat(2, 1fr); } }

/* 13a. 下单页选了游戏时顶部的封面横幅：封面图 + 左侧压暗的渐变，上面写游戏名、介绍、几个卖点；没有封面用卡片颜色 */
.ljd-game-hero { position: relative; overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; border-radius: 16px;
  background: linear-gradient(135deg, var(--g1, #2E7D32), #1b1f24); color: #fff; }
.ljd-game-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ljd-game-hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 20, .88) 0%, rgba(10, 14, 20, .55) 55%, rgba(10, 14, 20, .15) 100%); }
.ljd-game-hero__body { position: relative; padding: 26px 28px; max-width: 640px; }
.ljd-game-hero h1 { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.25; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.ljd-game-hero p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.ljd-game-hero ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: rgba(255, 255, 255, .92); }
.ljd-game-hero li::before { content: "✓"; margin-right: 6px; color: #8BE28F; font-weight: 700; }
@media (max-width: 640px) {
  .ljd-game-hero { min-height: 180px; }
  .ljd-game-hero__body { padding: 18px; }
  .ljd-game-hero h1 { font-size: 23px; }
}

/* 13. 下单页的选档位：同一分类的其他套餐，选好的游戏跟着带过去；不够这个游戏的置灰 */
.ljd-tiers { display: flex; flex-direction: column; gap: 8px; }
.ljd-tiers__label { font-size: 14px; font-weight: 600; }
.ljd-tiers__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ljd-tier { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; border: 1px solid hsl(var(--color-neutral)); background: hsl(var(--color-background)); color: hsl(var(--color-base)); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.ljd-tier:hover { border-color: hsl(var(--color-primary) / .6); }
.ljd-tier.is-active { border-color: hsl(var(--color-primary)); box-shadow: 0 0 0 2px hsl(var(--color-primary) / .2); }
.ljd-tier.is-blocked { opacity: .5; cursor: not-allowed; }
.ljd-tier__name { font-size: 15px; font-weight: 700; }
.ljd-tier__spec { font-size: 12px; color: hsl(var(--color-muted)); }
.ljd-tier__price { font-size: 16px; font-weight: 800; color: hsl(var(--color-primary)); }
.ljd-tier__price small { font-size: 12px; font-weight: 500; color: hsl(var(--color-muted)); }
.ljd-tier__was { font-size: 12px; color: hsl(var(--color-muted)); }
.ljd-tier__tag { position: absolute; top: -9px; right: 10px; padding: 1px 8px; border-radius: 999px; background: hsl(var(--color-primary)); color: #fff; font-size: 11.5px; font-style: normal; font-weight: 700; }
.ljd-tier__tag--muted { position: static; align-self: flex-start; margin-top: 2px; background: hsl(var(--color-background-secondary)); color: hsl(var(--color-muted)); font-weight: 600; }
.ljd-tiers__hint { margin: 0; font-size: 12.5px; color: hsl(var(--color-muted)); }

/* 14. 机器满了的套餐：首页卡片、下单页的提示（GameHub 的 Regions::available） */
.ljd-plan--full { opacity: .72; }
.ljd-plan__badge--full { background: hsl(var(--color-muted)); }
.ljd-full { margin: 6px 0 4px; padding: 10px 12px; border-radius: 8px; background: #FFF6E8; border: 1px solid #F2A33A; color: #7A4A00; font-size: 13px; line-height: 1.6; }
.ljd-full strong { display: block; font-size: 14px; }
.ljd-full p { margin: 2px 0 0; }

/* 15. 下单页的配置（直接显示）：内存独享、CPU 上限、磁盘、备份四格；下面是硬件卖点（节点池里每台都满足才有） */
.ljd-specs { display: flex; flex-direction: column; gap: 8px; }
.ljd-specs__label { font-size: 14px; font-weight: 600; }
.ljd-specs__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-radius: 10px; border: 1px solid hsl(var(--color-neutral)); background: hsl(var(--color-background)); }
.ljd-specs__grid > div { padding: 10px 14px; }
.ljd-specs__grid > div + div { border-left: 1px solid hsl(var(--color-neutral)); }
.ljd-specs dt { font-size: 12.5px; color: hsl(var(--color-muted)); }
.ljd-specs dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
.ljd-specs dd small { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; color: hsl(var(--color-muted)); }
.ljd-specs__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ljd-specs__tags li { padding: 2px 10px; border-radius: 999px; background: hsl(var(--color-primary) / .12); color: hsl(var(--color-primary)); font-size: 12.5px; font-weight: 700; }
@media (max-width: 640px) {
  .ljd-specs__grid { grid-template-columns: repeat(2, 1fr); }
  .ljd-specs__grid > div:nth-child(3) { border-left: 0; }
  .ljd-specs__grid > div:nth-child(n+3) { border-top: 1px solid hsl(var(--color-neutral)); }
}
.ljd-region__hw { color: hsl(var(--color-primary)) !important; font-weight: 600; }

/* 16. 首页卖点条（首屏底边，半透明压在首屏背景上）：固定 4 条，图标方块 + 标题 + 一行说明；悬停时底边亮起（产品方案 1.6） */
.ljd-sells { position: relative; background: hsl(var(--color-background) / .72); border-top: 1px solid hsl(var(--color-neutral)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ljd-sells__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.ljd-sell { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 26px 18px; }
.ljd-sell::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 2px; border-radius: 2px; opacity: 0; transition: opacity .2s;
  background: linear-gradient(90deg, transparent, hsl(var(--color-primary)), transparent); box-shadow: 0 0 10px hsl(var(--color-primary) / .6); }
.ljd-sell:hover::after { opacity: 1; }
.ljd-sell__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid hsl(var(--color-primary) / .35);
  background: linear-gradient(145deg, hsl(var(--color-primary) / .16), hsl(var(--color-primary) / .04)); color: hsl(var(--color-primary)); }
.ljd-sell__icon svg { width: 24px; height: 24px; }
.ljd-sell h3 { margin: 2px 0 4px; font-size: 17px; font-weight: 700; }
.ljd-sell p { margin: 0; font-size: 13.5px; line-height: 1.6; color: hsl(var(--color-muted)); }
@media (max-width: 900px) { .ljd-sells__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .ljd-sells__list { grid-template-columns: 1fr; }
  .ljd-sell { padding: 16px 4px; }
  .ljd-sell + .ljd-sell { border-top: 1px solid hsl(var(--color-neutral)); }
}
