/* ============ 15123搜索 后台样式 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #f4f6fb;
  color: #1f2329;
  font-size: 14px;
}

.admin-layout { display: flex; min-height: 100vh; }

/* 侧边栏 */
.sidebar {
  width: 214px;
  background: linear-gradient(180deg, #1b1f3b 0%, #2a2f55 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 22px 14px;
  flex-shrink: 0;
}
.sidebar .brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0 10px 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 16px;
  line-height: 1.5;
}
.sidebar .brand span { font-size: 12px; font-weight: 400; color: #aab; letter-spacing: 2px; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sidebar nav a {
  color: #c6c9de;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14px;
  transition: all .15s;
}
.sidebar nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar nav a.active {
  background: linear-gradient(90deg, #4E6EF2, #7B4EF2);
  color: #fff;
  font-weight: 600;
}
.sidebar-foot { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.sidebar-foot a {
  color: #8e93b0;
  text-decoration: none;
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 8px;
}
.sidebar-foot a:hover { background: rgba(255,255,255,.07); color: #fff; }

/* 主内容 */
.content { flex: 1; min-width: 0; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  background: #fff;
  border-bottom: 1px solid #eaedf3;
}
.topbar h1 { font-size: 19px; font-weight: 700; }
.admin-name { font-size: 13px; color: #8a93a6; }

.content > .panel,
.content > .stat-grid,
.content > .filter-bar,
.content > .toast,
.content > .distro-hero,
.content > .distro-actions,
.content > form > .panel { margin: 20px 30px; }

/* 卡片 */
.panel {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eaedf3;
  box-shadow: 0 4px 18px rgba(30, 40, 80, .05);
  padding: 20px 22px;
  overflow-x: auto;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.panel-head h2 { font-size: 16px; font-weight: 700; }
.panel-head .more {
  font-size: 13px; color: #4E6EF2; text-decoration: none; font-weight: 600;
}
.panel-head .hint { font-size: 12px; color: #8a93a6; font-weight: 400; }

/* 统计卡片 */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.stat-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eaedf3;
  padding: 20px 22px;
  box-shadow: 0 4px 18px rgba(30, 40, 80, .05);
}
.stat-num {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #4E6EF2, #7B4EF2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: #8a93a6; font-size: 13px; margin-top: 6px; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left;
  padding: 10px 10px;
  color: #8a93a6;
  font-weight: 600;
  font-size: 12.5px;
  border-bottom: 2px solid #f0f2f8;
  white-space: nowrap;
}
.table td { padding: 11px 10px; border-bottom: 1px solid #f4f6fa; vertical-align: middle; }
.table tr:hover td { background: #fafbff; }
.mono { font-family: Consolas, Menlo, monospace; font-size: 12.5px; }
.small { font-size: 12px; color: #6a7284; }
.empty { text-align: center; color: #aab; padding: 30px 0 !important; }
/* 激活码列表：机器码默认截断，点击查看完整内容 */
.mc-toggle { cursor: pointer; color: #4E6EF2; }
.mc-toggle:hover { text-decoration: underline; }

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge.ok { background: #e6f7ee; color: #1fa35a; }
.badge.wait { background: #fff7e6; color: #d9820b; }
.badge.off { background: #fff0f0; color: #d4380d; }

/* 按钮 */
.btn {
  border: none;
  background: linear-gradient(135deg, #4E6EF2, #7B4EF2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 10px;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn-sm { padding: 4px 12px; font-size: 12.5px; border-radius: 8px; font-weight: 600; }
.btn-danger { background: linear-gradient(135deg, #ff7875, #d4380d); }
.btn-plain {
  display: inline-block;
  background: none;
  color: #4E6EF2;
  border: 1px solid #4E6EF2;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 10px;
  margin-left: 10px;
}

/* 表单 */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.plan-form label,
.filter-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a5263;
  margin-bottom: 12px;
}
.plan-form input,
.plan-form select,
.plan-form textarea,
.filter-form input,
.filter-form select,
.login-card input {
  display: block;
  width: 100%;
  height: 40px;
  border: 1px solid #dfe4ee;
  border-radius: 9px;
  padding: 0 12px;
  font-size: 14px;
  margin-top: 6px;
  outline: none;
  font-family: inherit;
  background: #fff;
}
.plan-form textarea { height: auto; padding: 10px 12px; resize: vertical; }
.plan-form input:focus,
.filter-form input:focus,
.login-card input:focus { border-color: #4E6EF2; box-shadow: 0 0 0 3px rgba(78,110,242,.12); }
label.ck { font-weight: 400 !important; display: flex; align-items: center; gap: 8px; }
label.ck input { width: 16px; height: 16px; margin: 0; }
.ck-row { display: flex; gap: 28px; margin: 10px 0 12px; flex-wrap: wrap; }
label.ck-row { display: flex; align-items: center; gap: 8px; font-weight: 400; }
label.ck-row input { width: 16px; height: 16px; margin: 0; }
label.radio-row {
  display: flex; align-items: center; gap: 10px;
  font-weight: 400 !important; padding: 9px 12px;
  border: 1px solid #e6eaf2; border-radius: 10px; margin-bottom: 10px; cursor: pointer;
}
label.radio-row input { width: 16px; height: 16px; margin: 0; }
.sub-title { font-size: 13.5px; font-weight: 700; margin: 18px 0 4px; color: #4E6EF2; }
.warn-box {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12.5px;
  color: #8c6d1f;
  line-height: 1.9;
  margin: 6px 0 14px;
}

/* 筛选条 */
.filter-bar { margin: 18px 30px; }
.filter-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  background: #fff;
  border: 1px solid #eaedf3;
  border-radius: 12px;
  padding: 12px 16px;
}
.filter-form label { margin: 0; }
.filter-form input,
.filter-form select { margin-top: 0; height: 38px; }

/* 分页 */
.pager { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pager a {
  min-width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #dfe4ee; border-radius: 8px;
  text-decoration: none; color: #4a5263; font-size: 13px;
}
.pager a:hover { border-color: #4E6EF2; color: #4E6EF2; }
.pager a.cur { background: #4E6EF2; color: #fff; border-color: #4E6EF2; }

/* 提示条 */
.toast {
  margin: 18px 30px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  background: #e6f7ee;
  border: 1px solid #b7eb8f;
  color: #1fa35a;
  word-break: break-all;
}
.toast.err { background: #fff0f0; border-color: #ffccc7; color: #cf1322; }

/* 图表 */
.chart {
  display: flex; align-items: flex-end; gap: 8px; height: 180px;
  padding: 0 4px; border-bottom: 2px solid #f0f2f8;
}
.chart .bar {
  flex: 1;
  background: linear-gradient(180deg, #7B4EF2, #4E6EF2);
  border-radius: 5px 5px 0 0;
  min-height: 4px;
  cursor: pointer;
}
.chart-labels { display: flex; gap: 8px; padding: 8px 4px 0; }
.chart-labels span { flex: 1; text-align: center; font-size: 11px; color: #aab; }

/* 批量生成激活码 */
.gen-form { margin-top: 4px; }
.gen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.gen-grid label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a5263;
}
.gen-grid label > select,
.gen-grid label > input {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 6px;
  border: 1px solid #dfe4ee;
  border-radius: 9px;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  background: #fff;
}
.gen-grid label > select:focus,
.gen-grid label > input:focus { border-color: #4E6EF2; box-shadow: 0 0 0 3px rgba(78,110,242,.12); }
.gen-actions { display: flex; gap: 10px; align-items: center; }

/* 生成结果框 */
.gen-result {
  margin-top: 18px;
  background: #f5f7ff;
  border: 1px dashed #b9c6f5;
  border-radius: 12px;
  padding: 14px 16px;
}
.gen-result-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 10px;
  color: #3d4766;
}
.gen-result textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: 1px solid #dfe4ee;
  border-radius: 9px;
  padding: 10px 12px;
  font-family: Consolas, Menlo, monospace;
  font-size: 13px;
  line-height: 1.9;
  color: #2f3a55;
  background: #fff;
  outline: none;
}

/* 操作列 */
.ops { white-space: nowrap; }
.ops form { vertical-align: middle; }

/* 广告预览 */
.ad-preview { margin: 8px 0 16px; }
.ad-preview-label { font-size: 12.5px; color: #8a93a6; margin-bottom: 8px; }

/* 登录页 */
.login-body {
  display: flex; align-items: center; justify-content: center; min-height: 100vh;
  background: linear-gradient(135deg, #4E6EF2 0%, #7B4EF2 100%);
}
.login-card {
  width: 380px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: 18px; padding: 40px 34px;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
}
.login-card .brand {
  font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 24px;
  line-height: 1.5;
}
.login-card .brand span { display: block; font-size: 12px; font-weight: 400; color: #8a93a6; letter-spacing: 3px; }
.login-card h2.login-title { text-align: center; margin-bottom: 24px; }
.login-card .field { margin-bottom: 16px; }
.login-card .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.login-card .btn { width: 100%; height: 46px; font-size: 15px; }
.login-card .toast { margin: 0 0 16px; }
.login-body-top { align-items: flex-start; padding-top: 72px; padding-bottom: 48px; }

/* 购买/找回页 */
.buy-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef1fc 0%, #f7f2fd 100%); padding: 30px 16px;
}
.buy-card {
  width: 460px; max-width: 100%;
  background: #fff; border-radius: 18px; padding: 36px 32px;
  box-shadow: 0 16px 48px rgba(40, 50, 110, .12);
}
.buy-card h2 { font-size: 20px; margin-bottom: 18px; }
.buy-card .field { margin-bottom: 16px; }
.buy-card .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.buy-card .field input {
  width: 100%; height: 44px; border: 1px solid #dfe4ee; border-radius: 10px;
  padding: 0 14px; font-size: 14px; outline: none;
}
.buy-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px dashed #eef0f5; font-size: 14px;
}
.buy-row span { color: #8a93a6; }
.buy-row.big { border-bottom: none; padding: 14px 0 4px; }
.buy-row .price { font-size: 26px; color: #fa541c; }
.buy-pay { font-size: 12.5px; color: #8a93a6; margin: 12px 0 18px; }
.btn-pay {
  width: 100%; height: 48px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #4E6EF2, #7B4EF2);
  color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
}
.btn-pay:hover { filter: brightness(1.06); }
.btn-pay:disabled { background: #c9cedb; cursor: not-allowed; }
.buy-tip { font-size: 12.5px; color: #8a93a6; line-height: 1.9; margin-top: 14px; }
.buy-tip a { color: #4E6EF2; }
.pay-ok { text-align: center; }
.pay-ico {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: #52c41a; color: #fff; font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pay-ico.spin { background: #4E6EF2; animation: pulse 1s infinite; }
@keyframes pulse { 50% { transform: scale(1.08); } }
.pay-sub { color: #8a93a6; font-size: 13.5px; }
.code-box {
  margin: 22px 0 12px; padding: 18px; border-radius: 12px;
  background: #f5f7ff; border: 1px dashed #b9c6f5;
}
.code-label { font-size: 12px; color: #8a93a6; margin-bottom: 8px; }
.code-value {
  font-family: Consolas, Menlo, monospace; font-size: 20px; font-weight: 700;
  color: #4E6EF2; letter-spacing: 1px; word-break: break-all;
}
.code-meta { font-size: 12px; color: #8a93a6; line-height: 2; }
.qr-box { display: inline-block; padding: 14px; border: 1px solid #eef0f5; border-radius: 14px; }
.recover-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.recover-item {
  border: 1px solid #e6eaf2; border-radius: 12px; padding: 14px 16px;
  background: #fafbff;
}
.r-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.r-plan { font-weight: 700; }
.r-status.ok { color: #1fa35a; font-size: 12.5px; font-weight: 600; }
.r-status.wait { color: #d9820b; font-size: 12.5px; font-weight: 600; }
.r-code { font-size: 13.5px; }
.r-code b { font-family: Consolas, Menlo, monospace; color: #4E6EF2; }
.r-note { color: #8a93a6; font-size: 12px; margin-left: 8px; }
.r-meta { font-size: 11.5px; color: #aab; margin-top: 6px; }

/* 顶栏汉堡按钮（仅移动端显示，控制侧边栏抽屉） */
.menu-toggle {
  display: none;
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid #dfe4ee; background: #fff; border-radius: 10px;
  cursor: pointer; align-items: center; justify-content: center;
  margin-right: 12px;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; background: #4a5263; position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: #4a5263;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }

/* 移动端：侧边栏改为抽屉式，可开合，内容区自适应 */
@media (max-width: 860px) {
  .admin-layout { display: block; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 1200;
    width: 230px;
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: 0 0 44px rgba(0, 0, 0, .28);
  }
  .sidebar.open { transform: none; }
  .sidebar-mask {
    position: fixed; inset: 0; z-index: 1150;
    background: rgba(10, 14, 30, .42);
    animation: fadein .2s ease;
  }
  @keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
  .menu-toggle { display: inline-flex; }
  .topbar { padding: 12px 14px; }
  .topbar h1 { min-width: 0; }
  .content > .panel, .content > .stat-grid, .content > .filter-bar, .content > .toast,
  .content > .distro-hero, .content > .distro-actions,
  .content > form > .panel { margin: 14px 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .filter-form { flex-wrap: wrap; }
  .filter-form input, .filter-form select { flex: 1 1 150px; }
  .gen-form { grid-template-columns: 1fr !important; }
  .table { font-size: 12.5px; }
  .ops { white-space: normal; }
  .panel { padding: 16px 14px; }
}

/* 支付方式选择块（代理中心购买级别页与 style.css 中保持一致） */
.pay-select { margin: 2px 0 16px; }
.pay-select-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.pay-select-title { font-size: 14px; font-weight: 700; color: #222226; }
.pay-select-head .pay-hint { font-size: 12px; color: #9195A3; }
.pay-methods { display: flex; gap: 12px; }
.pay-method {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 12px 38px 12px 14px; border: 1.5px solid #dfe4ee; border-radius: 12px;
  cursor: pointer; margin: 0; position: relative; background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.pay-method:hover { border-color: #C9D4F7; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method::after {
  content: ""; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #d3d8e3; background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.pay-method:has(input:checked) {
  border-color: #4E6EF2; background: #F5F8FF;
  box-shadow: 0 2px 10px rgba(78, 110, 242, 0.10);
}
.pay-method:has(input:checked)::after {
  border-color: #4E6EF2; background: #4E6EF2;
  box-shadow: inset 0 0 0 3px #fff;
}
.pay-icon { width: 22px; height: 22px; flex: none; display: flex; align-items: center; justify-content: center; }
.pay-icon svg { width: 20px; height: 20px; display: block; }
.pay-text { display: flex; flex-direction: column; line-height: 1.3; }
.pay-text b { font-size: 14.5px; font-weight: 700; color: #222226; font-style: normal; }
.pay-text i { font-style: normal; font-size: 11.5px; color: #9195A3; }

/* ============ 会员账号设置：信息卡片 + 表单美化 ============ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.info-item {
  background: #f7f9fd;
  border: 1px solid #eef1f8;
  border-radius: 12px;
  padding: 14px 16px;
}
.info-item .info-label { font-size: 12px; color: #8a93a6; margin-bottom: 6px; }
.info-item .info-value {
  font-size: 15px; font-weight: 600; color: #222226;
  word-break: break-all; line-height: 1.5;
}
.profile-form { max-width: 460px; }
.profile-form .field { margin-bottom: 16px; }
.profile-form .field label {
  display: block; font-size: 13px; font-weight: 600;
  color: #4a5263; margin-bottom: 6px;
}
.profile-form .field input {
  display: block; width: 100%; height: 42px;
  border: 1px solid #dfe4ee; border-radius: 10px;
  padding: 0 14px; font-size: 14px; outline: none;
  font-family: inherit; background: #fff; color: #222226;
  box-sizing: border-box;
}
.profile-form .field input::placeholder { color: #b6bdcc; }
.profile-form .field input:focus {
  border-color: #4E6EF2; box-shadow: 0 0 0 3px rgba(78,110,242,.12);
}

/* ============ 侧栏底部：联系客服 ============ */
.sidebar-kefu {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  font-size: 12px;
  color: #cdd3e0;
  line-height: 1.9;
  word-break: break-all;
}
.sidebar-kefu-title {
  font-size: 12px; font-weight: 600; color: #fff;
  margin-bottom: 2px; letter-spacing: 1px;
}
.sidebar-kefu-wechat {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #07C160;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.sidebar-kefu-wechat:hover { background: #06AD56; }
.sidebar-kefu-wechat svg {
  width: 14px; height: 14px;
  vertical-align: -2px;
  margin-right: 4px;
  fill: currentColor;
}

/* ============ 微信客服二维码弹窗 ============ */
.kefu-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.kefu-mask.show { display: flex; }
.kefu-mask-card {
  width: 300px;
  max-width: 88vw;
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px 20px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.kefu-mask-title {
  font-size: 16px;
  font-weight: 700;
  color: #222226;
  margin-bottom: 14px;
}
.kefu-mask-card .kefu-qr {
  width: 220px;
  height: 220px;
  max-width: 100%;
  border: 1px solid #eef0f5;
  border-radius: 10px;
  object-fit: contain;
}
.kefu-mask-tip {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #9195A3;
  line-height: 1.7;
}

/* ============ 会员中心 · 代理分销主页（区别于代理仪表盘） ============ */
.distro-hero {
  display: flex;
  gap: 24px;
  align-items: stretch;
  background: linear-gradient(135deg, #4E6EF2 0%, #7B4EF2 100%);
  border-radius: 16px;
  padding: 28px 30px;
  margin-bottom: 22px;
  color: #fff;
}
.distro-hero h2 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.distro-hero p { color: rgba(255,255,255,.88); font-size: 13.5px; line-height: 1.9; margin: 0 0 16px; }
.distro-hero-main { flex: 1; min-width: 0; }
.distro-off { color: #FFE08A !important; }
.distro-link {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
}
.distro-link .mono { color: #fff; font-size: 13px; word-break: break-all; flex: 1; }
.distro-copy {
  background: #fff;
  color: #4E6EF2;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.distro-copy:hover { background: #F0F4FF; }
.distro-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.distro-chip {
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.9);
}
.distro-chip b { font-weight: 600; margin-right: 4px; opacity: .85; }
.distro-chip .d-green { color: #B7F0CB; font-style: normal; font-weight: 700; }
.distro-level {
  width: 230px;
  flex-shrink: 0;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.distro-level-name { font-size: 22px; font-weight: 800; }
.distro-level-rate { font-size: 16px; font-weight: 700; color: #FFE08A; margin: 6px 0 2px; }
.distro-level-sub { font-size: 12.5px; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.distro-level-btn {
  background: #fff;
  color: #4E6EF2;
  border-radius: 10px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.distro-level-btn:hover { background: #F0F4FF; }
.distro-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.distro-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #E8ECF3;
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.distro-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(78,110,242,.14); }
.distro-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #F0F4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.distro-card-body h3 { margin: 2px 0 6px; font-size: 15px; color: #222226; }
.distro-card-body p { margin: 0; font-size: 12.5px; color: #9195A3; line-height: 1.7; }
.distro-list { list-style: none; margin: 0; padding: 0; }
.distro-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid #F0F2F7;
  font-size: 13px;
}
.distro-list li:last-child { border-bottom: none; }
.distro-no { color: #9195A3; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.distro-amt { color: #222226; }
.distro-cm { color: #1fa35a; font-weight: 700; font-size: 14px; }
.distro-dt { color: #B5BAC6; font-size: 12.5px; white-space: nowrap; }
.distro-empty { text-align: center; color: #B5BAC6; font-size: 13.5px; padding: 34px 0; margin: 0; }
@media (max-width: 760px) {
  .distro-hero { flex-direction: column; }
  .distro-level { width: 100%; }
  .distro-list li { flex-wrap: wrap; gap: 8px; }
}
