
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }











@media (min-width: 769px) {
  html { scrollbar-gutter: stable; }
}
:root {
  






  --bg: #F4F6FA;
  --surface: #ffffff;

  




  --primary: #F04E28;        
  --primary-hover: #E8431F;  
  --primary-2: #FF7A50;      
  --primary-deep: #EF4A22;   
  --primary-ink: #C03A18;    
  --primary-darkest: #7C2D12;
  --primary-light: #FFF3EE;  
  --primary-tint: #FFE4DA;   
  --primary-line: #FFD9CB;   
  --primary-rgb: 240, 78, 40;

  



  --hero-grad: linear-gradient(130deg, var(--primary-darkest) 0%, var(--primary) 52%, var(--primary-2) 100%);

  --text: #1f2937;
  --text-2: #6b7280;
  --text-3: #9ca3af;
  


  --border: #E7EBF2;
  --border-2: #d1d5db;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  --max-w: 1200px;

  








  --cf-title: 15px;     

  --cf-tag:   11.5px;   
  --cf-meta:  12.5px;   
}



@media (max-width: 768px) {
  :root {
    --cf-title: 14px;
    --cf-tag:   11px;
    --cf-meta:  12px;
  }
}
html { font-size: 15px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }





img { max-width: 100%; height: auto; }


.container { max-width: var(--max-w); margin: 24px auto 0; padding: 0 20px; }












body {
  background-color: var(--bg);
  background-image: var(--hero-grad);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% var(--top-bg-h, 240px);
}





.site-header {
  




  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(5) blur(20px);
  backdrop-filter: saturate(5) blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: var(--surface); border-bottom-color: var(--border); box-shadow: var(--shadow); }
}


.nav-cats a .nav-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; margin-right: 5px; vertical-align: -3px;
}
.nav-cats a .nav-ico svg { width: 100%; height: 100%; display: block; }
.nav-cats a .nav-ico img { width: 100%; height: 100%; object-fit: contain; display: block; }

.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; height: 60px; gap: 24px;
}
.logo {
  font-size: 1.25rem; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nav-cats { display: flex; align-items: center; gap: 2px; flex: 1; overflow-x: auto; }
.nav-cats::-webkit-scrollbar { display: none; }
.nav-cats a {
  padding: 6px 14px; border-radius: 20px; font-size: .875rem; font-weight: 500;
  color: var(--text-2); white-space: nowrap; transition: all .15s;
}
.nav-cats a:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }
.nav-cats a.active { background: var(--primary); color: #fff; }
.header-right { display: flex; align-items: center; gap: 12px; }
.btn-sm {
  padding: 6px 16px; border-radius: 8px; font-size: .875rem; font-weight: 600;
  border: 1px solid var(--border-2); background: var(--surface); color: var(--text);
  cursor: pointer; transition: all .15s;
}
.btn-sm:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-sm.primary:hover { background: var(--primary-hover); }
.user-chip {
  display: flex; align-items: center; gap: 8px; font-size: .875rem;
  padding: 4px 12px; border-radius: 20px; background: var(--primary-light);
}
.user-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.user-chip.activated .dot { background: var(--success); }

.user-chip .uc-nm { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }



.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff; padding: 26px 0 30px; text-align: center;
}
.hero h1 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
.hero p { font-size: .86rem; color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0 auto; }


.hero-search {
  display: flex; align-items: center; margin: 14px auto 0; max-width: 440px;
  background: #fff; border: 1px solid transparent; border-radius: 8px;
  padding: 4px 4px 4px 11px; position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.hero-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .1); }
.hero-search-ico { font-size: .85rem; opacity: .45; flex-shrink: 0; }
.hero-search input {
  flex: 1; min-width: 0; border: none; outline: none; padding: 7px 8px;
  font-size: .88rem; font-family: inherit; background: transparent; color: #1f2937;
}
.hero-search input::placeholder { color: #9ca3af; }
.hero-search button {
  border: none; border-radius: 6px; padding: 7px 17px; cursor: pointer;
  background: var(--primary); color: #fff; font-size: .84rem; font-weight: 600;
  font-family: inherit; transition: background .15s; flex-shrink: 0;
}















.container.kk-wrap {
  margin-top: 0;          
  






  padding-top: 2px;
  position: relative;
}




.kk {
  


  position: relative; z-index: 2; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(5) blur(20px);
  backdrop-filter: saturate(5) blur(20px);
  border-radius: 16px; padding: 8px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, .10);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .kk { background: #fff; }
}
.kk-i {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 11px 10px; border-radius: 12px; text-decoration: none; color: inherit;
  transition: background .15s;
}
.kk-i:hover { background: rgba(255, 255, 255, .6); text-decoration: none; }
.kk-ic {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(136, 136, 136, .10);
  color: var(--brand);
}
.kk-ic svg { width: 24px; height: 24px; }

.kk-ic.is-img { background: none; }
.kk-ic.is-img .kk-img { width: 100%; height: 100%; }
.kk-img { width: 26px; height: 26px; object-fit: contain; }
.kk-tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kk-n {
  display: flex; align-items: center; gap: 5px; min-width: 0;
  font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--ink);
}
.kk-s {
  font-size: 12.5px; line-height: 1.3; font-style: normal; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.kk-bd {
  flex: 0 0 auto; font-style: normal; font-size: 10px; font-weight: 700;
  line-height: 1; padding: 3px 5px; border-radius: 5px; color: #fff;
  letter-spacing: .2px; white-space: nowrap;
}
.kk-bd.c-orange { background: linear-gradient(135deg, #fb923c, #f97316); }
.kk-bd.c-blue   { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.kk-bd.c-red    { background: linear-gradient(135deg, #f87171, #ef4444); }
.kk-bd.c-green  { background: linear-gradient(135deg, #4ade80, #22c55e); }
.kk-bd.c-gray   { background: linear-gradient(135deg, #9ca3af, #6b7280); }









@media (max-width: 720px) {
  .container.kk-wrap { padding-top: 3px; }   
  .kk {
    grid-template-columns: repeat(2, 1fr);
    padding: 6px; border-radius: 14px; gap: 2px;
  }
  .kk-i { padding: 9px 8px; gap: 8px; }
  .kk-ic { width: 38px; height: 38px; }
  .kk-ic svg { width: 21px; height: 21px; }
  .kk-n { font-size: 14px; }
  .kk-s { font-size: 12px; }
}







.slides {
  position: relative; margin: 16px 0 0; height: var(--sl-h, 320px);
  border-radius: 14px; overflow: hidden; background: var(--surface);
  box-shadow: 0 2px 12px rgba(15, 23, 42, .08);
}
.sl-track { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; }
.sl-track.anim { transition: transform .45s cubic-bezier(.4, 0, .2, 1); }
.sl {
  position: relative; flex: 0 0 100%; width: 100%; height: 100%;
  display: block; text-decoration: none; background: var(--bg);
}
.sl img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sl-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 26px 18px 14px; color: #fff; font-size: 14.5px; font-weight: 600;
  line-height: 1.5; text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}
.sl-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, .3); color: #fff; font-size: 20px; line-height: 1;
  font-family: inherit; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.sl-arrow:hover { background: rgba(0, 0, 0, .5); }
.sl-arrow.prev { left: 12px; }
.sl-arrow.next { right: 12px; }
.sl-dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3;
  display: flex; justify-content: center; gap: 6px;
}
.sl-dot {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 4px; cursor: pointer;
  background: rgba(255, 255, 255, .55); transition: width .2s, background .2s;
}
.sl-dot.on { width: 20px; background: #fff; }

@media (max-width: 768px) {
  .slides { height: var(--sl-h-m, 180px); margin-top: 12px; border-radius: 12px; }
  .sl-arrow { display: none; }
  .sl-cap { padding: 20px 14px 12px; font-size: 13.5px; }
}
.hero-search button:hover { background: var(--primary-hover); }
.hero-search-clear {
  position: absolute; right: 88px; color: #9ca3af; text-decoration: none;
  font-size: .8rem; padding: 4px 5px; line-height: 1;
}
.hero-search-clear:hover { color: #4b5563; text-decoration: none; }


.hero-stats { display: flex; gap: 8px; margin-top: 13px; flex-wrap: wrap; justify-content: center; }
.hero-stat {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 7px; padding: 5px 12px;
}
.hero-stat-ico { font-size: .95rem; }
.hero-stat-txt .num { font-size: 1.05rem; font-weight: 800; color: #fff; line-height: 1.25; }
.hero-stat-txt .label { font-size: .7rem; color: rgba(255, 255, 255, .85); }


.section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 32px 0 16px;
}
.section-title h2 { font-size: 1.15rem; font-weight: 700; }
.section-title a { font-size: .85rem; }

.cloud-badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600;
  padding: 3px 8px; border-radius: 6px;
}
.cloud-badge .badge-icon { width: 18px; height: 18px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .7rem; }
.url-text {
  flex: 1; font-size: .8rem; color: var(--text-3); font-family: monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.url-text.full { color: var(--success); }
.lock-icon { color: var(--warning); font-size: .85rem; }


.project-list { display: flex; flex-direction: column; gap: 8px; }
.project-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  transition: all .15s;
}
.project-row:hover { border-color: var(--border-2); background: #fafbfc; box-shadow: var(--shadow); }
.row-main { flex: 1; min-width: 0; }
.row-title {
  font-size: .95rem; font-weight: 600; color: var(--text); line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.row-meta { display: flex; align-items: center; gap: 10px; margin-top: 3px; }
.row-time { font-size: .75rem; color: var(--text-3); }
.row-cat { font-size: .72rem; color: var(--text-2); background: var(--bg);
  padding: 1px 8px; border-radius: 10px; }
.row-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.row-url { display: flex; align-items: center; gap: 8px; }
.row-url .url-text {
  max-width: 240px; font-size: .8rem; font-family: monospace;
  color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.row-url .url-text.full { color: var(--success); }
.row-actions { display: flex; gap: 6px; flex-shrink: 0; }
.btn-row {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 6px; font-size: .78rem; font-weight: 600;
  border: none; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.btn-row.open { background: var(--primary); color: #fff; }
.btn-row.open:hover { background: var(--primary-hover); text-decoration: none; }
.btn-row.copy { background: var(--surface); border: 1px solid var(--border-2); color: var(--text-2); }
.btn-row.copy:hover { border-color: var(--primary); color: var(--primary); }
.btn-row.copy.copied { background: var(--success); border-color: var(--success); color: #fff; }
.btn-row.lock { background: var(--warning); color: #fff; }
.btn-row.lock:hover { filter: brightness(.95); text-decoration: none; }



@media (min-width: 769px) {
  .project-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .project-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
  }
  
  .row-main { flex: 1 1 100%; }
  .row-title {
    white-space: normal;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  
  .row-right {
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
  }
  
  .row-url { flex: 1 1 0; min-width: 0; overflow: hidden; }
  .row-url .cloud-badge { flex-shrink: 0; }
  .row-url .url-text {
    flex: 1 1 0; min-width: 0; width: 0; max-width: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .row-actions { flex-shrink: 0; }
}


.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600;
  border: none; cursor: pointer; transition: all .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: var(--surface); color: var(--text); border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: .8rem; }





.auth-wrap {
  min-height: calc(100vh - 60px); display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 20px;
}

.auth-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 18px; color: var(--text);
}
.auth-brand:hover { text-decoration: none; }


.auth-brand-in { margin: 0 0 16px; }
.auth-brand-in + h2 { margin-top: 0; }




body.admin-login { background-image: none; background-size: auto; }
.auth-brand .logo-mark { width: 40px; height: 40px; font-size: 1.2rem; border-radius: 11px; }
.auth-brand-img { height: 40px; width: auto; border-radius: 11px; }
.auth-brand-name { font-size: 1.28rem; font-weight: 800; letter-spacing: .5px; }
.auth-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 8px; }


.auth-tabs {
  display: flex; gap: 4px; padding: 4px; margin-bottom: 24px;
  background: #f1f3f7; border-radius: 12px;
}
.auth-tab {
  flex: 1; padding: 11px 0;
  border: 0; border-radius: 9px; background: transparent;
  color: var(--text-2); font-family: inherit; font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: background .18s, color .18s, box-shadow .18s;
}
.auth-tab:hover { color: var(--text); }
.auth-tab.active {
  background: var(--surface); color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
}
.auth-pane[hidden] { display: none; }


.qr-box {
  position: relative; width: 200px; height: 200px; margin: 4px auto 14px;
  padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
}
.qr-img { width: 176px; height: 176px; margin: 0 auto; }
.qr-img img, .qr-img canvas { display: block; width: 176px; height: 176px; }
.qr-mask {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 14px;
  background: rgba(255,255,255,.94);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--text-2); font-size: .88rem;
}
.qr-mask[hidden] { display: none; }
.qr-mask a { color: var(--primary); font-weight: 600; }
.qr-tip   { text-align: center; font-size: .92rem; color: var(--text); margin-bottom: 4px; }
.qr-timer { text-align: center; font-size: .8rem;  color: var(--text-3); }
.qr-hint  { text-align: center; font-size: .78rem; color: var(--text-3); margin-top: 10px; }


.auth-wx { margin-top: 20px; }
.auth-divider { position: relative; text-align: center; margin-bottom: 16px; }
.auth-divider::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1px solid var(--border);
}
.auth-divider span {
  position: relative; padding: 0 12px;
  background: var(--surface);           
  font-size: .8rem; color: var(--text-3);
}



.btn-wx {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: #07c160; color: #fff; border: 1px solid #07c160;
}
.btn-wx:hover { background: #06ad56; border-color: #06ad56; color: #fff; }
.btn-wx svg { width: 19px; height: 19px; flex: none; }




.btn-wx-ico { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; }
.btn-wx-ico, .btn-wx-ico:hover { background: #07c160; border-color: #07c160; color: #fff; }
.btn-wx-ico:hover { background: #06ad56; border-color: #06ad56; }
.btn-wx-ico svg { width: 17px; height: 17px; flex: none; }
.auth-wx-tip {
  text-align: center; font-size: .78rem; color: var(--text-3);
  margin-top: 8px; margin-bottom: 0;
}
.auth-wx-qr { margin-top: 16px; }


.profile-pay-entry {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border);
  font-size: .85rem; color: var(--text-2);
}
@media (max-width: 768px) {
  




  .profile-pay-entry {
    flex-direction: column; align-items: center; gap: 10px; text-align: center;
  }
  .profile-pay-entry .btn {
    width: auto; min-width: 0;
    height: 40px; padding: 0 22px; font-size: 16px;
  }
}


.vipcmp { color:#1f2937; font-size:15px; line-height:1.7; }
.vipcmp * { box-sizing:border-box; }


.vipcmp-sec-title { font-size:1.1rem; font-weight:800; margin:0 0 14px; text-align:center; }

.vipcmp-hero{
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#fff; border-radius:14px; padding:26px 24px; margin-bottom:22px;
  text-align:center;
}
.vipcmp-hero h2{ color:#fff; font-size:1.3rem; font-weight:800; margin:0 0 8px; border:0; padding:0; }
.vipcmp-hero p{ margin:0; font-size:.9rem; color:rgba(255,255,255,.88); }
.vipcmp-hero .vipcmp-hero-tags{ margin-top:14px; display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.vipcmp-hero .vipcmp-hero-tags span{
  background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.28);
  border-radius:999px; padding:4px 12px; font-size:.78rem;
}

.vipcmp-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:26px; }
.vipcmp-card{
  position:relative; background:#fff; border:1px solid var(--line); border-radius:14px;
  padding:18px 14px 16px; text-align:center;
  box-shadow:0 1px 2px rgba(16,24,40,.04); transition:.18s;
}
.vipcmp-card:hover{ transform:translateY(-3px); box-shadow:0 8px 20px rgba(16,24,40,.10); }
.vipcmp-card.best{ border-color:var(--primary-2); box-shadow:0 0 0 3px rgba(var(--primary-rgb),.12); }
.vipcmp-card.agent{ border-color:#f59e0b; box-shadow:0 0 0 3px rgba(245,158,11,.14); }
.vipcmp-card.agent .vipcmp-badge{ background:#f59e0b; }
.vipcmp-badge{
  position:absolute; top:-10px; left:50%; transform:translateX(-50%);
  font-size:.7rem; font-weight:700; color:#fff; border-radius:999px;
  padding:3px 10px; white-space:nowrap;
}
.vipcmp-badge.blue{ background:#2b7cff; }
.vipcmp-card.best .vipcmp-badge{ background:var(--primary-2); }
.vipcmp-icon{
  width:44px; height:44px; margin:4px auto 10px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; font-size:1.35rem;
}
.vipcmp-name{ font-size:1rem; font-weight:800; margin-bottom:2px; }
.vipcmp-desc{ font-size:.75rem; color:#6b7280; margin-bottom:10px; }
.vipcmp-price{ font-size:1.15rem; font-weight:800; margin-bottom:2px; }
.vipcmp-price small{ display:block; font-size:.7rem; font-weight:500; color:#9ca3af; margin-top:2px; }
.vipcmp-list{ list-style:none; margin:12px 0 14px; padding:0; text-align:left; }
.vipcmp-list li{ font-size:.8rem; color:#374151; padding:5px 0 5px 20px; position:relative; line-height:1.5; }
.vipcmp-list li:before{ content:"✓"; position:absolute; left:0; top:5px; font-size:.75rem; font-weight:800; }
.vipcmp-list li.no{ color:#9ca3af; }
.vipcmp-list li.no:before{ content:"✕"; color:#d1d5db; }
.vipcmp-btn{
  display:block; width:100%; padding:9px 0; border-radius:10px; font-size:.82rem;
  font-weight:700; text-decoration:none !important; transition:.15s;
  border:0; cursor:pointer; font-family:inherit;
}
.vipcmp-btn:hover{ opacity:.88; text-decoration:none; }
.vipcmp-btn:disabled{ opacity:.5; cursor:not-allowed; }
.vipcmp-mine{ font-size:.75rem; color:#10b981; font-weight:600; margin-bottom:6px; }

  

  .vipcmp-contact-center{
    background:transparent; border:0; border-radius:0; box-shadow:none;
    padding:8px 0 4px; text-align:center;
    margin-bottom:14px;
  }
.vipcmp-qr-frame{
  width:200px; height:200px; margin:0 auto; padding:10px;
  border:1px solid var(--line); border-radius:12px; background:#fff;
  display:flex; align-items:center; justify-content:center;
}
.vipcmp-qr-frame img{ width:100%; height:100%; object-fit:contain; border-radius:6px; }
.vipcmp-qr-empty{ display:none; color:#9ca3af; font-size:.85rem; text-align:center; line-height:1.6; }
.vipcmp-qr-tip{ margin-top:10px; font-size:.82rem; color:#9ca3af; }
.vipcmp-divider{ height:1px; background:var(--line); margin:22px 0; position:relative; }
.vipcmp-divider span{
  display:inline-block; background:#fff; padding:0 12px; color:#9ca3af;
  font-size:.82rem; position:absolute; top:-.7em; left:50%; transform:translateX(-50%);
}
.vipcmp-wx-line{ display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; }
.vipcmp-wx-label{ font-size:.9rem; color:#6b7280; }
.vipcmp-wx-id{ font-size:1.05rem; font-weight:700; color:#1f2937; letter-spacing:.02em; }
.vipcmp-copy-btn{
  padding:6px 14px; border-radius:8px; border:1px solid var(--primary);
  background:var(--primary-light); color:var(--primary); font-size:.82rem; font-weight:600;
  cursor:pointer; transition:all .15s;
}
.vipcmp-copy-btn:hover{ background:var(--primary); color:#fff; }
.vipcmp-copy-btn.copied{ background:#ecfdf5; border-color:#10b981; color:#047857; }
.vipcmp-contact-tip{ font-size:.8rem; color:#9ca3af; margin-bottom:20px; text-align:center; }


.vipcmp-pay { text-align:center; padding:20px; background:#fff;
  border:1px solid var(--line); border-radius:14px; margin-bottom:20px; }
.vipcmp-pay .qr-box { margin-bottom:12px; }

@media (max-width:640px){
  .vipcmp{ font-size:14px; }
  .vipcmp-hero{ padding:20px 16px; border-radius:12px; }
  .vipcmp-hero h2{ font-size:1.15rem; }
  .vipcmp-cards{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .vipcmp-card{ padding:16px 10px 14px; }
  .vipcmp-icon{ width:38px; height:38px; font-size:1.15rem; }
  .vipcmp-list li{ font-size:.75rem; }
  .vipcmp-sec-title{ font-size:1rem; }
  .vipcmp-qr-frame{ width:170px; height:170px; }
}


.pay-wrap { max-width: 900px; margin: 32px auto; padding: 0 16px; }
.pay-title { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 6px; }
.pay-sub   { text-align: center; font-size: .9rem; color: var(--text-2); margin-bottom: 24px; }
.pay-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin-bottom: 24px;
}
.pay-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
}
.pay-card.current { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }
.pay-card-name  { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.pay-card-price { font-size: 1.9rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.pay-card-desc  { font-size: .82rem; color: var(--text-3); margin-bottom: 16px; }
.pay-qr { text-align: center; padding: 20px; background: var(--surface);
          border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; }
.pay-qr .qr-box { margin-bottom: 12px; }
.pay-foot { text-align: center; font-size: .8rem; color: var(--text-3); line-height: 1.8; }

@media (max-width: 640px) {
  .pay-grid { grid-template-columns: 1fr; }
  .pay-card-price { font-size: 1.6rem; }
}


.scan-wrap { max-width: 420px; margin: 32px auto; padding: 0 16px; }
.scan-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px; text-align: center;
}
.scan-icon { font-size: 2.4rem; line-height: 1; margin-bottom: 12px; }
.scan-icon-ok   { color: var(--success); }
.scan-icon-bad  { color: var(--danger); }
.scan-icon-wait { color: var(--primary); }
.scan-title { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.scan-desc  { font-size: .9rem; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.scan-dev {
  text-align: left; background: #f7f8fb; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 18px;
}
.scan-dev-row { display: flex; justify-content: space-between; font-size: .85rem; padding: 4px 0; }
.scan-dev-row span { color: var(--text-3); }
.scan-dev-row b { font-weight: 600; }
.scan-back { display: block; margin-top: 14px; font-size: .85rem; color: var(--text-2); }
.scan-tip  { font-size: .78rem; color: var(--text-3); margin-top: 12px; }


.field { position: relative; margin-bottom: 16px; }
.field > svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; color: var(--text-3); pointer-events: none;
}
.field input {
  width: 100%; height: 48px; padding: 0 44px 0 43px;
  border: 1px solid var(--border-2); border-radius: 10px;
  background: var(--surface); color: var(--text);
  font-size: .92rem; font-family: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--text-3); }
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.field-btn {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; background: transparent; color: var(--text-3);
  cursor: pointer; transition: background .15s, color .15s;
}
.field-btn:hover { background: #f3f4f6; color: var(--text); }
.field-btn svg { width: 19px; height: 19px; }
.field-btn .ico-eye-off { display: none; }
.field-btn.on .ico-eye { display: none; }
.field-btn.on .ico-eye-off { display: block; }



.btn-auth {
  display: flex;             
  width: 180px;              
  margin: 22px auto 0;       
  padding: 14px 20px;        
  justify-content: center;   
  align-items: center;
  font-size: .95rem;
  letter-spacing: 2px;
}

.btn-auth-block {
  display: flex;             
  width: 100%;
  margin: 22px 0 0;
  padding: 0;
  height: 48px;
  justify-content: center;
  align-items: center;
  font-size: .95rem;
  letter-spacing: 1px;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  font-size: .9rem; outline: none; transition: border-color .15s; font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-hint { font-size: .8rem; color: var(--text-3); margin-top: 4px; }
.auth-footer { text-align: center; margin-top: 16px; font-size: .85rem; color: var(--text-2); }
.alert { padding: 10px 14px; border-radius: var(--radius-sm); font-size: .85rem; margin-bottom: 16px; }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #fecaca; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #a7f3d0; }
.alert-warning { background: var(--warning-bg); color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary-tint); }


.cat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: all .15s;
}

.cat-card.on {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), .12);
}
.cat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cat-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  text-decoration: none; color: var(--text);
}
.cat-card-head:hover { text-decoration: none; }
.cat-card-name {
  font-weight: 700; font-size: .95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cat-card-count {
  flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 10px;
}
.cat-card-subs {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cat-card-subs a {
  font-size: .76rem; color: var(--text-2); background: var(--bg);
  padding: 3px 10px; border-radius: 12px; text-decoration: none;
  transition: all .15s;
}
.cat-card-subs a:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }
.cat-card-subs.empty { font-size: .74rem; color: var(--text-3); }

















@media (min-width: 769px) {
  #catBar { display: none; }
}













@media (min-width: 769px) {
  .cat-bar-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
  .cat-chip2 {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 15px; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text); text-decoration: none;
    font-size: .82rem; font-weight: 500; white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s;
  }
  .cat-chip2:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
  .cat-chip2.on { background: var(--brand); border-color: var(--brand); color: #fff; }
}



.cat-chip-scroll { display: none; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 15px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); text-decoration: none;
  font-size: .82rem; font-weight: 500; white-space: nowrap;
  transition: all .15s;
}
.cat-chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.cat-chip.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.cat-chip.active .chip-count { color: #fff; opacity: .9; }
.cat-chip .chip-count { font-size: .72rem; color: var(--text-3); font-weight: 400; }


.cat-drawer-btn { display: none; }
.cat-drawer-mask {
  display: none; position: fixed; inset: 0;
  background: rgba(0, 0, 0, .45); z-index: 200;
}
.cat-drawer-mask.show { display: block; }
.cat-drawer {
  display: none;
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 78%; max-width: 300px;
  background: var(--surface); z-index: 201;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .25s ease;
  box-shadow: var(--shadow-lg);
}
.cat-drawer.open { transform: translateX(0); }
.cat-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  font-weight: 700; font-size: .95rem;
}
.cat-drawer-head button {
  background: none; border: none; font-size: 1.15rem;
  cursor: pointer; color: var(--text-2); padding: 0 4px;
}

.cat-drawer-body {
  flex: 1; overflow-y: auto; padding: 14px;
}

.cat-card.active { border-color: var(--primary); background: var(--primary-light); }
.cat-card-subs a.active { background: var(--primary); color: #fff; }
#projectList { transition: opacity .15s; }


.profile-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.profile-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
}
.profile-info { flex: 1; min-width: 0; }
.profile-name {
  font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.profile-meta { font-size: .82rem; color: var(--text-2); margin-top: 3px; }


.level-badge {
  display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0;
  padding: 3px 11px; border-radius: 12px;
  font-size: .75rem; font-weight: 600; color: #fff;
}

.profile-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-top: 16px;
}
.profile-panel h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }



.profile-form-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
}
.profile-form-row .form-group { margin-bottom: 0; min-width: 130px; }
.profile-form-row .form-group > label {
  display: block; font-size: .8rem; font-weight: 600; margin-bottom: 6px; color: var(--text-2);
}
.profile-form-row .code-input { flex: 1; min-width: 240px; }
.profile-form-row .num-input  { width: 100px; min-width: 100px; }
.profile-form-row .type-input { width: 170px; min-width: 150px; }
.profile-form-row .btn { white-space: nowrap; }






@media (max-width: 768px) {
  .profile-form-row .form-group input { height: 40px; }
  .profile-form-row .btn { font-size: 16px; padding: 0 16px; height: 40px; }
  .profile-form-row .code-input { min-width: 0; }
  
  .profile-form-row .btn-full-sm { width: 100%; margin-top: 8px; }
  .profile-form-row .type-input,
  .profile-form-row .num-input { flex: 1; min-width: 0; }
}



.service-contact {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 20px 20px; text-align: center; margin-top: 14px;
}
.sc-qr-frame {
  width: 200px; height: 200px; margin: 0 auto; padding: 10px;
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.sc-qr-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.sc-qr-tip { margin-top: 10px; font-size: .82rem; color: var(--text-3); }
.sc-divider { height: 1px; background: var(--border); margin: 20px 0; position: relative; }
.sc-divider span {
  display: inline-block; background: var(--surface); padding: 0 12px; color: var(--text-3);
  font-size: .82rem; position: absolute; top: -.7em; left: 50%; transform: translateX(-50%);
}
.sc-wx-line { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.sc-wx-label { font-size: .9rem; color: var(--text-2); }
.sc-wx-id { font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: .02em; }
.sc-copy-btn {
  padding: 6px 14px; border-radius: 8px; border: 1px solid var(--primary);
  background: var(--primary-light); color: var(--primary);
  font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .15s;
}
.sc-copy-btn:hover { background: var(--primary); color: #fff; }
.sc-copy-btn.copied { background: #ecfdf5; border-color: #10b981; color: #047857; }
.sc-contact-tip { font-size: .8rem; color: var(--text-3); margin-top: 16px; }

@media (max-width: 640px) {
  .sc-qr-frame { width: 168px; height: 168px; }
}


.code-list { display: flex; flex-direction: column; gap: 8px; }
.code-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 11px 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.code-text {
  font-family: monospace; font-size: .85rem;
  font-weight: 600; letter-spacing: .5px;
}
.code-text.used { color: var(--text-3); text-decoration: line-through; }
.code-type-badge {
  font-size: .72rem; font-weight: 600;
  padding: 2px 9px; border-radius: 10px;
}
.type-year { background: var(--primary-light); color: #2b7cff; }
.type-permanent { background: #f3e8ff; color: var(--primary-2); }
.type-agent { background: #fff7ed; color: #f59e0b; }
.status-badge { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: .75rem; font-weight: 600; }
.status-used { background: #f3f4f6; color: #6b7280; }
.status-unused { background: #ecfdf5; color: #10b981; }
.btn-xs { padding: 4px 10px; font-size: .75rem; border-radius: 6px; border: none; cursor: pointer; font-weight: 600; }
.btn-edit { background: var(--primary-light); color: var(--primary); }
.btn-xs.copied { background: var(--success) !important; color: #fff !important; }








.content-page {
  max-width: 820px;
  margin-left: auto; margin-right: auto;
  padding: 28px 24px 40px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}







.article-list { display: flex; flex-direction: column; gap: 14px; }
.article-card {
  display: flex; align-items: stretch; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  transition: all .16s; color: inherit;
}
.article-card:hover {
  border-color: var(--border-2); box-shadow: var(--shadow-md);
  text-decoration: none; transform: translateY(-1px);
}

.ac-cover {
  width: 208px; height: 128px; flex: none;
  border-radius: 10px; overflow: hidden; background: var(--bg);
  position: relative;              
}






.ac-cover img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center center;
}
.ac-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ac-title {
  font-size: var(--cf-title); font-weight: 700; line-height: 1.45; margin: 0 0 7px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ac-sum {
  font-size: 13px; color: var(--text-2); line-height: 1.55; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.ac-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }

.ac-tags .tag-p { font-size: var(--cf-tag); }
.ac-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: var(--cf-meta); color: var(--text-3); margin-top: 10px;
}


.article-detail {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.article-detail h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; line-height: 1.4; }
.article-lead {
  background: var(--bg); border-left: 3px solid var(--primary);
  padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem; color: var(--text-2); margin-bottom: 24px;
}


.article-content { font-size: .95rem; line-height: 1.8; color: var(--text); }
.article-content h2 {
  font-size: 1.15rem; font-weight: 700; margin: 28px 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.article-content h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 10px; }
.article-content p { margin-bottom: 14px; }
.article-content ul, .article-content ol { margin: 0 0 14px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content strong { font-weight: 700; }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.article-content blockquote {
  border-left: 3px solid var(--border-2); padding-left: 16px;
  color: var(--text-2); margin: 0 0 14px;
}
.article-content .tip {
  background: var(--warning-bg); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: .85rem; color: #92400e;
}

.article-content h1 { font-size: 1.3rem; font-weight: 800; margin: 26px 0 12px; }
.article-content code {
  background: #f3f4f6; color: #be123c; padding: 2px 6px; border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em;
}
.article-content pre {
  background: #1f2937; color: #e5e7eb; padding: 14px 16px; border-radius: var(--radius-sm);
  overflow-x: auto; margin: 0 0 14px; line-height: 1.6;
}
.article-content pre code {
  background: transparent; color: inherit; padding: 0; border-radius: 0; font-size: .86rem;
}
.article-content img { border-radius: var(--radius-sm); margin: 8px 0; }


.site-footer {
  text-align: center; padding: 24px; color: var(--text-3); font-size: .8rem;
  border-top: 1px solid var(--border); margin-top: 40px;
}


.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-3);
  

  grid-column: 1 / -1;
  display: block;  
}
.empty-state .icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state .msg { font-size: .95rem; }





.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; margin-top: 32px; }
.pagination a, .pagination span {
  padding: 6px 12px; border-radius: 6px; font-size: .85rem;
  border: 1px solid var(--border); color: var(--text-2);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }







.pg-meta { text-align: center; font-size: .8rem; color: var(--text-3); margin-top: 10px; }
.pg-sizes { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-left: 8px; }
.pg-sizes a {
  display: inline-block; padding: 1px 8px; border-radius: 6px; line-height: 1.7;
  border: 1px solid var(--border); color: var(--text-2);
}
.pg-sizes a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.pg-sizes a.on { background: var(--primary); color: #fff; border-color: var(--primary); }









.m-tabbar { display: none; }




@media (max-width: 768px) {
  
  .header-inner { height: auto; flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  .logo { font-size: 1.05rem; gap: 6px; }
  .logo-mark { width: 28px; height: 28px; font-size: .9rem; }
  .header-right { order: 2; margin-left: auto; gap: 8px; }
  .header-right .btn-sm { padding: 5px 12px; font-size: .8rem; }
  



  .header-right .btn-logout { display: none; }
  .user-chip { padding: 3px 10px; font-size: .8rem; }
  


  .nav-cats { display: none; }
  .container { margin-top: 16px; padding: 0 12px; }

  
  .cat-cards { display: none; }
  






  .cat-bar {
    display: block; margin-bottom: 2px;
    position: sticky; top: var(--head-h, 56px); z-index: 90;
    background: var(--bg);
  }
  .cat-bar-row {
    display: flex; gap: 7px; align-items: center;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    



    padding: 6px 0;
  }
  .cat-bar-row::-webkit-scrollbar { height: 0; }
  .cat-bar-row[hidden] { display: none; }
  .cat-chip2 {
    flex: none; display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 13px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    

    font-size: 13px; color: var(--text); white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s;
  }
  .cat-chip2:hover { text-decoration: none; }
  .cat-chip2 .n { font-size: 11px; color: var(--text-2); }
  .cat-chip2.on { background: var(--brand); border-color: var(--brand); color: #fff; }
  .cat-chip2.on .n { color: rgba(255, 255, 255, .85); }

  
  










  body {
    padding-bottom: 76px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  .m-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--line);
    
    padding: 5px 4px;
    padding-bottom: calc(5px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 14px rgba(15, 23, 42, .06);
  }
  .m-tabbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 5px 0 3px; border-radius: 12px;
    font-size: 11px; line-height: 1; color: var(--ink-3);
    transition: color .15s;
  }
  .m-tabbar a:hover { text-decoration: none; }
  .m-tabbar svg { width: 23px; height: 23px; display: block; transition: color .15s; }
  





  .m-tabbar a.on { background: none; color: var(--ink-3); font-weight: 400; }
  .m-tabbar a.on svg { color: var(--brand); }

  
  .hero { padding: 16px 0 18px; }
  .hero h1 { font-size: 1.25rem; }
  .hero p { font-size: .8rem; }
  .hero-stats { gap: 7px; margin-top: 11px; }
  .hero-stat { padding: 4px 10px; gap: 6px; }
  .hero-stat-ico { font-size: .9rem; }
  .hero-stat-txt .num { font-size: 1rem; }
  .hero-stat-txt .label { font-size: .68rem; }
  .hero-search { margin-top: 11px; max-width: 100%; padding: 3px 3px 3px 9px; }
  .hero-search input { padding: 6px 7px; font-size: .85rem; }
  .hero-search button { padding: 6px 14px; font-size: .8rem; }
  .hero-search-clear { right: 76px; }

  .container { padding: 0 12px; }
  .section-title { margin: 20px 0 12px; }
  .section-title h2 { font-size: 1rem; }

  
  .project-row { flex-wrap: wrap; gap: 8px; padding: 12px; }
  .row-main { flex: 1 1 100%; }
  .row-title {
    font-size: .9rem; white-space: normal;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .row-meta { gap: 8px; }
  
  .row-right { flex: 1 1 100%; justify-content: space-between; gap: 8px; flex-wrap: nowrap; }
  
  .row-url { flex: 1 1 0; min-width: 0; overflow: hidden; }
  .row-url .cloud-badge { flex-shrink: 0; }
  .row-url .url-text {
    flex: 1 1 0; min-width: 0; width: 0; max-width: none;
    font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .row-actions { flex-shrink: 0; white-space: nowrap; }
  .cloud-badge { font-size: .7rem; padding: 2px 6px; }
  .cloud-badge .badge-icon { width: 16px; height: 16px; font-size: .65rem; }
  .btn-row { padding: 5px 11px; font-size: .75rem; }

  
  .auth-wrap { padding: 20px 12px; justify-content: flex-start; }
  .auth-brand { margin-bottom: 14px; gap: 8px; }
  .auth-brand .logo-mark { width: 34px; height: 34px; font-size: 1.05rem; border-radius: 9px; }
  .auth-brand-img { height: 34px; }
  .auth-brand-name { font-size: 1.15rem; }
  .auth-card { padding: 24px 18px; }
  .auth-card h1 { font-size: 1.3rem; }
  .btn-auth { width: 200px; padding: 15px 20px; }
  .btn-auth-block { height: 50px; }
  
  .form-group input, .form-group select, .form-group textarea,
  .field input { font-size: 16px; }

  
  .cat-grid-section { display: none; }

  
  .cat-chip-scroll {
    display: flex; gap: 8px; margin: 14px 0 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .cat-chip-scroll::-webkit-scrollbar { height: 0; }
  .cat-chip { flex-shrink: 0; }

  


  .cat-drawer-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    width: 100%; padding: 11px; margin: 10px 0 0;
    border: none; border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), .35);
    font-size: .92rem; font-weight: 700; color: #fff;
    cursor: pointer; font-family: inherit; transition: .18s;
  }
  .cat-drawer-btn .ico { font-size: 1rem; }
  .cat-drawer-btn:hover, .cat-drawer-btn:active {
    transform: translateY(-1px); box-shadow: 0 7px 18px rgba(var(--primary-rgb), .42);
  }
  .cat-drawer { display: flex; }
  
  .drawer-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .drawer-cards .cat-card { padding: 12px 14px; }
  .drawer-cards .cat-card-name { font-size: .9rem; }
  .drawer-cards .cat-card-subs { gap: 6px; }
  .drawer-cards .cat-card-subs a { font-size: .76rem; padding: 4px 10px; }

  
  .content-page { padding: 16px 12px 32px; }
  .article-detail { padding: 20px; }
  .article-detail h1 { font-size: 1.25rem; }
  





  .article-list { gap: 10px; }
  .article-card { padding: 0; gap: 0; overflow: hidden; }
  

  .ac-cover {
    width: 152px; height: auto; align-self: stretch;   
    border-radius: 0;                                  
  }
  .ac-cover img { border-radius: 0; object-position: center center; }
  



  .ac-body { padding: 12px 12px; }
  



  

  .ac-title {
    line-height: 1.35; margin-bottom: 7px;
    min-height: 2.6em;                                 
  }
  .ac-sum { display: none; }
  .ac-tags { margin-top: auto; }
  .ac-tags .tag-p { padding: 1px 8px; }
  .ac-meta { gap: 10px; margin-top: 6px; }
  .article-content h2 { font-size: 1.05rem; margin: 22px 0 10px; }

  
  .site-footer { padding: 18px 12px; margin-top: 28px; }
}


@media (max-width: 480px) {
  .hero h1 { font-size: 1.1rem; }
  .hero-stats { gap: 6px; }
  .hero-stat { padding: 4px 9px; }
  .hero-stat-txt .num { font-size: .95rem; }

  .project-row { padding: 10px; }
  
  .row-url .url-text { font-size: .72rem; }
  .btn-row { padding: 5px 9px; font-size: .72rem; }

  .logo span:last-child { font-size: 1rem; }
  .header-right .btn-sm { padding: 4px 10px; font-size: .75rem; }
}


.logo-img{height:28px;width:auto;border-radius:6px;}
.site-footer .footer-inner{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;padding:4px 0;}
.site-footer .footer-info p{margin:4px 0;}
.site-footer .footer-icp{font-size:.8rem;opacity:.85;}
.site-footer .footer-icp a{color:inherit;text-decoration:none;}
.site-footer .footer-icp a:hover{text-decoration:underline;}
.site-footer .footer-qr{text-align:center;flex-shrink:0;}
.site-footer .footer-qr img{width:88px;height:88px;object-fit:contain;border-radius:6px;background:#fff;padding:4px;}
.site-footer .footer-qr span{display:block;font-size:.72rem;opacity:.7;margin-top:6px;}








.admin-main{transition:opacity .18s ease;}
.admin-main.pjax-loading{opacity:.45;}









:root {
  --brand:      var(--primary);        
  --brand-2:    var(--primary-2);      
  --brand-dark: var(--primary-ink);    
  --brand-tint: var(--primary-light);  
  --brand-edge: var(--primary-line);   
  --acc:        var(--primary-2);
  --ink:        #0F172A;
  --ink-2:      #334155;
  --ink-3:      #94A3B8;
  


  --line:       #E7EBF2;
}


@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pop  { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.anim-fade { animation: fade .25s ease; }

.tag-p {
  display: inline-block; font-size: 11.5px; padding: 2px 9px;
  border-radius: 999px; font-weight: 600; white-space: nowrap;
}
.t-free { background: #ECFDF5; color: #059669; }
.t-pay  { background: #FFF7ED; color: #EA580C; }
.t-vip  { background: linear-gradient(135deg, var(--primary-light), var(--primary-tint)); color: var(--brand-dark); }

.sec-h { display: flex; align-items: baseline; justify-content: space-between; margin: 38px 0 18px; gap: 12px; }
.sec-h h2 { font-size: 21px; letter-spacing: .5px; }
.sec-h h2 i { font-style: normal; color: var(--acc); }
.sec-h .more { font-size: 13px; color: var(--ink-3); }
@media (max-width: 600px) { .sec-h { margin: 26px 0 14px; } .sec-h h2 { font-size: 18px; } }






.sec-more { display: flex; justify-content: center; margin: 24px 0 6px; }
.btn-all {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 42px; border-radius: 999px;
  font-size: 15.5px; font-weight: 700; letter-spacing: .5px;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), .26);
  transition: transform .18s, box-shadow .18s;
}
.btn-all i { font-style: normal; transition: transform .18s; }
.btn-all:hover {
  text-decoration: none; transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(var(--primary-rgb), .34);
}
.btn-all:hover i { transform: translateX(4px); }
@media (max-width: 600px) {
  .sec-more { margin: 18px 0 4px; }
  .btn-all { padding: 12px 32px; font-size: 14.5px; }
}
















.hero {
  

  



  background: transparent;
  color: #fff;
  padding: 16px 0 18px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08);
}
.hero::before {
  content: ""; position: absolute; right: 120px; bottom: -160px;
  width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.06);
}



.hero .container { position: relative; z-index: 1; margin-top: 0; }

.hero h1 { font-size: 30px; letter-spacing: 1px; line-height: 1.2; margin-bottom: 5px; }
.hero p { opacity: .9; font-size: 14.5px; line-height: 1.45; margin-bottom: 11px; }



.hero .hero-ph { visibility: hidden; }




















.hero .hp-search {
  position: relative;                                   
  display: flex; align-items: center;
  max-width: 620px; min-height: 48px;                   
  margin: 0 auto;                                       
  padding: 0 5px 0 20px;                                
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(5) blur(20px);
  backdrop-filter: saturate(5) blur(20px);
  border-radius: 100px;                                 
  box-shadow: 0 10px 30px rgba(15, 23, 42, .20);
}
.hero .hp-search input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  padding: 13px 0 5px;                                  
  font-size: 15px; line-height: 1.4;
  color: var(--ink); opacity: .85; transition: opacity .2s;
}
.hero .hp-search input:focus { opacity: 1; }

.hero .hp-search input::placeholder { color: transparent; }


.hero .hp-search .hp-ph {
  position: absolute; left: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px; color: #555; opacity: .55;
  pointer-events: none; cursor: text; white-space: nowrap;
  transform-origin: left center;
  transition: transform .2s, opacity .2s;
}

.hero .hp-search input:focus ~ .hp-ph,
.hero .hp-search.has-val .hp-ph {
  transform: translateY(-15px) scale(.72);
  opacity: .9;
}


.hero .hp-search button {
  flex: none; width: 40px; height: 40px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; cursor: pointer;
  background: transparent; color: #555;
  transition: background .15s, color .15s;
}
.hero .hp-search button:hover { background: rgba(var(--primary-rgb), .12); color: var(--brand); }


.hero .hp-search button svg { width: 18px; height: 18px; display: block; fill: currentColor; }




@media (max-width: 600px) {
  .hero .hp-search { min-height: 38px; max-width: 320px; margin-left: auto; margin-right: auto; padding: 0 3px 0 14px; }
  .hero .hp-search input { padding: 8px 0 4px; font-size: 14px; }
  .hero .hp-search .hp-ph { left: 14px; font-size: 14px; }
  
  .hero .hp-search input:focus ~ .hp-ph,
  .hero .hp-search.has-val .hp-ph { transform: translateY(-12px) scale(.7); }
  .hero .hp-search button { width: 32px; height: 32px; }
  .hero .hp-search button svg { width: 16px; height: 16px; }
}
.hero .hp-stats { display: flex; gap: 40px; margin-top: 36px; font-size: 13px; opacity: .92; flex-wrap: wrap; }
.hero .hp-stats b { display: block; font-size: 23px; font-weight: 800; }
@media (max-width: 600px) {
  

  .hero { padding: 17px 0 19px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 13px; margin-bottom: 10px; }
  






  .hero .hp-stats { gap: 22px; }
}













.grid-a { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card-a {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  


  padding: 11px 11px 9px;
  overflow: hidden; transition: .2s; color: inherit;
  display: flex; flex-direction: column;      
}
.card-a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.10); text-decoration: none; }
.card-a .ca-cover {
  

  height: auto; aspect-ratio: 13 / 8;
  border-radius: 10px; overflow: hidden;   
  background: var(--bg);
}
.card-a .ca-cover img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center center;   
}

.card-a .ca-body { padding: 8px 5px 0; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card-a h3 {
  font-size: var(--cf-title); font-weight: 700; line-height: 1.45; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  



  min-height: 2.9em;
}



.card-a .ca-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }


.card-a .ca-tags .tag-p { font-size: var(--cf-tag); }

.card-a .ca-cat {
  display: inline-block; font-size: var(--cf-tag); padding: 2px 9px; border-radius: 999px;
  background: #EEF4FF; color: #3B6FE0; font-weight: 600; white-space: nowrap;
}
.card-a .ca-meta {
  display: flex; align-items: center; gap: 10px; margin-top: 5px;
  font-size: var(--cf-meta); color: var(--ink-3);
  




  line-height: 1.2;
  



  padding-left: 9px;
}

@media (max-width: 1100px) { .grid-a { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-a { grid-template-columns: repeat(2, minmax(0, 1fr)); } }








@media (max-width: 600px) {
  .grid-a { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-a { border-radius: 12px; padding: 10px 10px 8px; }
  .card-a .ca-cover { height: auto; aspect-ratio: 7 / 5; border-radius: 8px; }
  .card-a .ca-body { padding: 9px 0 0; }
  

  .card-a h3 { line-height: 1.4; margin-bottom: 6px; min-height: 2.8em; }
  .card-a .ca-tags { gap: 5px; }
  .card-a .ca-tags .tag-p { padding: 2px 8px; }
  .card-a .ca-cat { padding: 2px 8px; }
  
  .card-a .ca-meta { gap: 8px; margin-top: 6px; padding-left: 8px; }
}









.grid-d { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card-d {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; display: flex; gap: 15px; transition: .2s;
  position: relative;          
}

.card-d > .tag-p { position: absolute; top: 12px; right: 14px; font-size: var(--cf-tag); }

.card-d .res-title { padding-right: 86px; }
.card-d:hover { box-shadow: 0 10px 24px rgba(15,23,42,.09); transform: translateY(-3px); }
.card-d .ficon {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px;
}



.card-d .ficon img { width: 100%; height: 100%; display: block; border-radius: 12px; }
.card-d .cd-body { flex: 1; min-width: 0; }
.card-d h3 { font-size: var(--cf-title); margin-bottom: 5px; line-height: 1.45; }
.card-d .res-title { cursor: pointer; transition: .15s; color: var(--text); }
.card-d .res-title:hover { color: var(--brand); }
.card-d .sub { font-size: var(--cf-meta); color: var(--ink-3); margin-bottom: 9px; }

.card-d .ft { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }



.card-d .link-line {
  

  flex: 1 1 0; min-width: 0;
  margin-right: auto;
  font-size: var(--cf-meta); color: var(--text-2);
  background: #F8FAFC; border-radius: 8px; padding: 5px 10px;
  font-family: ui-monospace, Consolas, monospace;
  white-space: nowrap; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 42px), transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 42px), transparent 100%);
}



.card-d .link-line.locked { color: var(--text-3); user-select: none; }

.card-d .btn-o, .card-d .btn-g { font-size: var(--cf-meta); }
@media (max-width: 900px) { .grid-d { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) { .grid-d { grid-template-columns: minmax(0, 1fr); } }





@media (max-width: 600px) {
  



  





  .card-d { padding: 14px; gap: 12px; border-radius: 12px; }
  

  
  .card-d > .tag-p { top: 9px; right: 11px; }
  .card-d .ficon { width: 46px; height: 46px; border-radius: 11px; }
  .card-d .ficon img { border-radius: 11px; }
  .card-d h3 { line-height: 1.35; margin-bottom: 6px; }
  .card-d .sub { margin-bottom: 9px; }
  .card-d .link-line { padding: 5px 10px; border-radius: 7px; }
  .card-d .ft { gap: 8px; }
  .card-d .btn-o, .card-d .btn-g { padding: 5px 12px; border-radius: 9px; }

  



  .card-d .res-title {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    padding-right: 56px;      
  }
}


.btn-o {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 13px; font-weight: 600; border-radius: 10px; padding: 7px 16px;
  background: #fff; color: var(--brand); border: 1.5px solid var(--brand-edge); transition: .16s;
}
.btn-o:hover { background: var(--brand-tint); text-decoration: none; }
.btn-g {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 13px; font-weight: 600; border-radius: 10px; padding: 7px 16px;
  background: #F1F5F9; color: var(--ink-2); border: none; transition: .16s;
}
.btn-g:hover { background: #E2E8F0; text-decoration: none; }
.btn-p {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 13px; font-weight: 600; border-radius: 10px; padding: 7px 16px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 4px 14px rgba(var(--primary-rgb),.35); border: none; transition: .18s;
}
.btn-p:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(var(--primary-rgb),.42); text-decoration: none; }




.vip-band {
  margin: 42px 0; background: linear-gradient(120deg, var(--primary-darkest), var(--primary));
  border-radius: 20px; color: #fff; padding: 30px 36px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; overflow: hidden; gap: 20px;
}
.vip-band::after {
  content: "VIP"; position: absolute; right: 24px; bottom: -26px;
  font-size: 110px; font-weight: 900; opacity: .07; letter-spacing: 6px;
}
.vip-band .vb-btn {
  position: relative; z-index: 1; background: #fff; color: var(--brand-dark);
  padding: 12px 30px; border-radius: 10px; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.vip-band .vb-btn:hover { text-decoration: none; opacity: .92; }
@media (max-width: 600px) {
  .vip-band { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
}







.art-layout { display: grid; grid-template-columns: 1fr 320px; gap: 26px; margin-top: 20px; }
.art {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 38px; min-width: 0;
}
.art .crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.art .crumb b { color: var(--brand); }
.art h1 { font-size: 24px; line-height: 1.45; margin-bottom: 12px; }
.art .am {
  display: flex; gap: 16px; font-size: 13px; color: var(--ink-3);
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px;
  align-items: center; flex-wrap: wrap;
}
.art .am .avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, #F59E0B, var(--brand));
}
.art .body p { margin-bottom: 15px; color: var(--ink-2); font-size: 15.2px; }
.art .body h4 { font-size: 17px; margin: 20px 0 10px; }


.art .body img { max-width: 100%; height: auto; border-radius: 10px; }
.art .body pre { background: #F8FAFC; padding: 14px 16px; border-radius: 10px; overflow-x: auto; margin-bottom: 15px; }
.art .body code { font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; }
.art .body ul, .art .body ol { margin: 0 0 15px 22px; color: var(--ink-2); }
.art .body li { margin-bottom: 6px; }
.art .body blockquote {
  border-left: 3px solid var(--brand-edge); padding: 6px 0 6px 14px;
  color: var(--ink-3); margin-bottom: 15px;
}

.side { display: flex; flex-direction: column; gap: 18px; }
.s-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.s-card h5 { font-size: 14px; margin-bottom: 12px; color: var(--ink-2); }
.s-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.4px; align-items: flex-start; }
.s-item:last-child { border: none; }
.s-item .n { flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-item em { font-style: normal; color: var(--acc); font-weight: 700; }
.s-card .s-item a { color: var(--text); }
.s-card .s-item a:hover { color: var(--brand); }
@media (max-width: 900px) { .art-layout { grid-template-columns: 1fr; } }

@media (max-width: 768px) { .art-layout { margin-top: 12px; } }
@media (max-width: 600px) { .art { padding: 22px 20px; } .art h1 { font-size: 20px; } }




.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0; }
.plan {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px;
  padding: 30px 26px; text-align: center; position: relative; transition: .2s;
}
.plan.best { border-color: var(--brand); box-shadow: 0 16px 40px rgba(var(--primary-rgb),.16); transform: scale(1.03); }
.plan .bflag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-size: 12px; padding: 4px 16px; border-radius: 999px; font-weight: 600; white-space: nowrap;
}
.plan .p-ico {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.plan h3 { font-size: 17px; margin-bottom: 6px; }
.plan .desc { font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; }
.plan .pr { font-size: 40px; font-weight: 900; color: var(--brand); line-height: 1.1; }
.plan .pr small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.plan .op { font-size: 12.5px; color: var(--ink-3); text-decoration: line-through; margin-bottom: 16px; }
.plan ul { list-style: none; text-align: left; font-size: 13.4px; color: var(--ink-2); margin: 0 6px 20px; }
.plan ul li { padding: 7px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 8px; }
.plan ul li::before { content: "✓"; color: #10B981; font-weight: 800; }
.plan ul li.no { color: var(--ink-3); }
.plan ul li.no::before { content: "✕"; color: #CBD5E1; }
.plan .plan-btn { width: 100%; justify-content: center; }



.plan .plan-mine { font-size: 12.5px; color: var(--ink-3); margin-top: 9px; text-align: center; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .plan.best { transform: none; }
}














.pcmp-wrap    { display: none; }
.plans-swipe-tip { display: none; }

@media (max-width: 860px) {
  











  .plans {
    display: block;                   
    gap: 0;
    padding: 0 16px;
    margin: 16px 0 2px;
    max-width: none;
    overflow: visible;                
    scroll-snap-type: none;
  }
  .plan {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 12px;
    width: auto;
    max-width: none;
    min-width: 0;                     
    padding: 12px 13px 11px;
    margin: 0 0 12px;
    


    text-align: center;
    border-radius: 16px;
  }
  .plan:last-child { margin-bottom: 0; }
  .plan.best { transform: none; }

  
  .plan .p-ico { grid-column: 1; grid-row: 1;
                 width: 36px; height: 36px; border-radius: 11px; margin: 0 auto 6px; font-size: 17px; }
  .plan h3     { grid-column: 1; grid-row: 2; font-size: 14.5px; margin: 0; }
  .plan .desc  { grid-column: 1; grid-row: 3; font-size: 11.5px; line-height: 1.4; margin: 1px 0 6px; }
  .plan .pr    { grid-column: 1; grid-row: 4; font-size: 21px; align-self: end; }
  .plan .pr small { font-size: 11.5px; }
  

  .plan .pr small:last-child { white-space: nowrap; }
  .plan .op    { grid-column: 1; grid-row: 5; font-size: 11px; margin: 1px 0 0; }

  

  .plan ul {
    display: block;                   
    grid-column: 2;
    grid-row: 1 / 6;
    align-self: start;
    margin: 0;
    padding: 0 0 0 12px;
    border-left: 1px dashed var(--line);
    font-size: 12.3px;
  }
  
  .plan ul li { padding: 3px 0; line-height: 1.45; border-bottom: 0; }
  .plan ul li + li { border-top: 1px dashed var(--line); }

  
  .plan .plan-btn  { grid-column: 1 / -1; grid-row: 6; width: 100%; margin-top: 11px;
                     font-size: 13.5px; padding-top: 9px; padding-bottom: 9px; }
  .plan .plan-mine { grid-column: 1 / -1; grid-row: 7; margin-top: 7px; font-size: 12px; }

  
  .plan .bflag { top: -9px; right: 12px; left: auto; transform: none;
                 font-size: 11px; padding: 3px 11px; }

  
  .plans-swipe-tip { display: none; }

  






  .pcmp-wrap { display: block; max-width: 1060px; margin: 16px auto 2px; padding: 0 16px; }
  .pcmp-title { font-size: 15px; text-align: center; margin: 2px 0 12px; }
  .pcmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
  .pcmp-scroll::-webkit-scrollbar { height: 4px; }
  .pcmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); font-size: 12.3px; }
  .pcmp th, .pcmp td { padding: 9px 7px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
  .pcmp thead th { background: var(--bg); font-size: 12px; line-height: 1.4; }
  .pcmp tbody tr:last-child th, .pcmp tbody tr:last-child td { border-bottom: 0; }
  

  .pcmp .pcmp-h {
    position: sticky; left: 0; z-index: 2; width: 1%; min-width: 76px;
    text-align: left; font-weight: 600; color: var(--ink-2); background: var(--surface);
  }
  .pcmp thead .pcmp-h { background: var(--bg); }
  .pcmp .pcmp-name  { display: block; font-weight: 700; color: var(--text); }
  .pcmp .pcmp-price { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 800; color: var(--brand); }
  .pcmp .pcmp-yes   { color: var(--success); font-weight: 900; font-size: 15px; }
  .pcmp .pcmp-no    { color: var(--border-2); font-weight: 700; }
  .pcmp .pcmp-txt   { color: var(--text); font-weight: 600; }
  
  .pcmp .is-best { background: var(--brand-tint); }
}




@media (max-width: 359px) {
  .plan { grid-template-columns: 84px minmax(0, 1fr); column-gap: 10px; padding: 11px 12px 10px; }
  .plan .pr { font-size: 19px; }
  .plan .pr small { font-size: 11px; }
  .plan ul { padding-left: 10px; font-size: 12px; }
  .pcmp { font-size: 11.6px; }
  .pcmp th, .pcmp td { padding: 8px 4px; }
  .pcmp .pcmp-h { min-width: 68px; }
}








.uc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; margin: 26px 0 60px; align-items: start; }
.uc-side {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 14px; position: sticky; top: 76px;
}
.uc-side .me { text-align: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.uc-side .me .avatar {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 8px; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--primary-2), var(--primary));
}
.uc-side .me .nm { font-size: 14.5px; font-weight: 700; }

.uc-side .me .un { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; word-break: break-all; }
.uc-side .me .lv { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

.uc-side .me img.avatar { display: block; margin: 0 auto 8px; }





.uc-side .grp {
  padding: 14px 16px 6px; font-size: 11.5px; color: var(--ink-3);
  letter-spacing: 1px; border-top: 1px solid var(--line); margin-top: 8px;
}
.uc-side .grp:first-of-type { border-top: none; margin-top: 0; }
.uc-side a {
  display: block; padding: 10px 16px; border-radius: 10px; font-size: 14px;
  color: var(--text-2); cursor: pointer; transition: background .15s ease, color .15s ease;
}
.uc-side a:hover, .uc-side a.on { background: var(--brand-tint); color: var(--brand); font-weight: 600; text-decoration: none; }
.uc-main {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px; min-width: 0;
}
.uc-main h3 { font-size: 17px; margin-bottom: 16px; }

.uc-main h3.uc-sec-h3 { margin: 30px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.uc-main .uc-pane { display: none; }
.uc-main .uc-pane.on { display: block; animation: fade .25s ease; }

.uc-main .profile-panel { border: none; background: transparent; padding: 0; margin: 0 0 26px; box-shadow: none; }
.uc-main .profile-panel:last-child { margin-bottom: 0; }




















.uc-mhead, .uc-back { display: none; }

.uc-side .ic { display: none; }
.uc-side .tx .em { font-style: normal; margin-right: 4px; }

.uc-side .tx .dot { font-style: normal; color: var(--danger); }














@media (min-width: 861px) {
  .uc-side a .tx .em { display: none; }
  .uc-side a[data-key="logout"] { display: none; }
}

@media (max-width: 860px) {
  

  .content-page:has(.uc) { margin-top: 0; padding-top: 0; border: 0; border-radius: 0; }
  




  .uc { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; }

  
  .uc-mhead { display: block; }
  




  .uc-hero {
    position: relative; overflow: hidden;
    padding: 18px 16px 46px;
    



    background: transparent;
  }
  .uc-hero::after {
    content: ""; position: absolute; right: -120px; top: -120px;
    width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .08);
  }
  .uc-hero::before {
    content: ""; position: absolute; right: 120px; bottom: -160px;
    width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .06);
  }
  .uc-hero > * { position: relative; z-index: 1; }
  .uc-hero-me { display: flex; align-items: center; gap: 12px; }
  .uc-hero-me .avatar {
    flex: none; width: 58px; height: 58px; border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 21px; font-weight: 700; color: #fff; object-fit: cover;
    background: rgba(255, 255, 255, .24);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
  }
  .uc-hero-meta { flex: 1; min-width: 0; }
  .uc-hero-meta .nm { display: flex; align-items: center; gap: 7px; min-width: 0; }
  

  .uc-hero-meta .nm-t {
    min-width: 0; font-size: 18px; font-weight: 800; color: #fff; line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .uc-hero-badge {
    flex: none; padding: 2px 8px; border-radius: 999px; white-space: nowrap;
    font-size: 11px; font-weight: 700; color: #7A3A0C;
    background: linear-gradient(135deg, #FFE39A, #FFC24D);
  }
  .uc-hero-badge.is-free { color: #fff; background: rgba(255, 255, 255, .26); }
  .uc-hero-meta .sub { margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .82); }
  .uc-hero-gear {
    flex: none; width: 32px; height: 32px; display: flex;
    align-items: center; justify-content: center; color: #fff; opacity: .92;
  }
  .uc-hero-gear:hover, .uc-hero-gear:active { text-decoration: none; opacity: 1; }
  .uc-hero-gear svg { width: 19px; height: 19px; }

  
  .uc-mstat {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: -34px 12px 0; padding: 13px 4px;
    


    background: rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: saturate(5) blur(20px);
    backdrop-filter: saturate(5) blur(20px);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
  }
  @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .uc-mstat { background: var(--surface); }
  }
  .uc-mstat a { min-width: 0; text-align: center; color: var(--ink-2); }
  .uc-mstat a:hover { text-decoration: none; }
  .uc-mstat a + a { border-left: 1px solid var(--line); }
  .uc-mstat b {
    display: block; padding: 0 4px; font-size: 16.5px; font-weight: 800; color: var(--ink);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .uc-mstat .is-money b { color: var(--brand); }
  .uc-mstat span { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }

  
  .uc-vipcard {
    margin: 12px 12px 0; padding: 13px 14px 14px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-tint));
    border: 1px solid var(--primary-line); border-radius: 14px;
  }
  .uc-vip-hd { display: flex; align-items: center; gap: 8px; }
  .uc-vip-hd b { flex: none; font-size: 15px; color: var(--ink); }
  



  .uc-vip-pill {
    flex: none; margin-left: auto; max-width: 64%; padding: 3px 10px;
    border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), .28);
  }
  .uc-vip-rows { margin: 9px 0 12px; }
  .uc-vip-row {
    display: flex; align-items: center; gap: 10px; padding: 9px 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), .1);
  }
  .uc-vip-row:last-child { border-bottom: none; }
  .uc-vip-row .k {
    flex: 1; min-width: 0; font-size: 13px; color: var(--ink-2);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .uc-vip-row .v { flex: none; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
  .uc-vip-row .v.on { color: var(--brand); }
  




  .uc-vip-btn {
    display: flex; align-items: center; justify-content: center; height: 42px;
    border-radius: 999px; font-size: 15px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), .35);
    transition: .18s;
  }
  .uc-vip-btn:hover, .uc-vip-btn:active {
    text-decoration: none; transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(var(--primary-rgb), .42);
  }

  
  

  .uc-side {
    position: static; display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px;
    margin: 0 12px; padding: 12px 4px;
    background: var(--surface); border-radius: 16px;
  }
  .uc-side .me, .uc-side .grp { display: none; }  
  .uc-side a {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    padding: 8px 2px; border-radius: 12px; font-size: 12px;
    color: var(--ink-2); text-align: center;
  }
  .uc-side a:hover, .uc-side a:active { background: var(--brand-tint); }
  .uc-side a::after { content: none; }             
  
  .uc:not(.uc-detail) .uc-side a.on { background: transparent; color: var(--ink-2); font-weight: 400; }
  .uc-side .ic {
    position: relative;                 
    flex: none; display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    


    border-radius: 50%;
    background: rgba(136, 136, 136, .10);
    color: var(--brand);
  }
  .uc-side .ic svg { width: 22px; height: 22px; }
  
  .uc-side .ic img { width: 22px; height: 22px; object-fit: contain; display: block; }
  
  .uc-side .uc-dot {
    position: absolute; top: 3px; right: 3px; width: 9px; height: 9px;
    border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 1.5px #fff;
  }
  .uc-side .tx {
    width: 100%; font-size: 12px; line-height: 1.2;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .uc-side .tx .em { display: none; }
  .uc-side .tx .dot { display: none; }   
  
  




  
  

  .uc-main { display: none; margin: 14px 12px 0; padding: 14px; }
  .uc.uc-detail .uc-mhead,
  .uc.uc-detail .uc-side { display: none; }
  .uc.uc-detail .uc-main  { display: block; }
  .uc-back {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
  }
  .uc-back-btn {
    flex: none; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); font-size: 19px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
  }
  .uc-back-title {
    flex: 1; min-width: 0; font-size: 16px; font-weight: 700; color: var(--ink);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  


}



@media (max-width: 359px) {
  .uc-side .tx { font-size: 11px; }
}








.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl-scroll > table { min-width: 100%; }


@media (max-width: 860px) {
  .tbl-scroll td { white-space: nowrap; }
}
.uc-main table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.uc-main th {
  background: #F8FAFC; color: var(--ink-3); font-weight: 600; text-align: left;
  padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.uc-main td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.st { font-size: 12px; padding: 2px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.st-ok  { background: #ECFDF5; color: #059669; }
.st-wt  { background: #FEF3C7; color: #B45309; }
.st-off { background: #F1F5F9; color: #64748B; }

.st-rf  { background: #FEF2F2; color: #DC2626; }















.note-tip {
  padding: 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.75; margin-top: 14px;
}
.note-tip.brand { background: var(--brand-tint); color: var(--brand-dark); }
.note-tip.warn  { background: #FFFBEB; color: #92400E; }
.note-tip.plain { background: #F8FAFC; color: var(--ink-2); }
.note-tip.plain b { color: var(--text); }


.link-card {
  display: flex; align-items: center; gap: 14px; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; background: var(--surface);
}
.link-card .nd {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 800;
}


.link-card .nd img { width: 100%; height: 100%; display: block; border-radius: 11px; }
.link-card .info { flex: 1; min-width: 0; }
.link-card .info b { font-size: 14.5px; }
.link-card .info .sub { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.pwd {
  display: inline-flex; align-items: center; gap: 6px; background: #F1F5F9;
  border-radius: 8px; padding: 3px 10px; font-size: 12.5px;
  font-family: ui-monospace, Consolas, monospace; color: var(--ink-2); cursor: pointer;
}
.pwd:hover { background: #E2E8F0; }




.project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-list > .empty-state { grid-column: 1 / -1; }

@media (max-width: 600px) { .project-list { grid-template-columns: minmax(0, 1fr); gap: 10px; } }



.content-page:has(.uc) {
  max-width: 1100px;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}






.content-page:has(.vipcmp) {
  max-width: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}
.content-page:has(.vipcmp) .plans {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}













@media (max-width: 860px) {
  .content-page:has(.vipcmp) {
    margin-left: 12px;
    margin-right: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
  }
  



  .content-page:has(.vipcmp) .plan:not(.best) {
    box-shadow: 0 2px 10px rgba(15, 23, 42, .07);
  }
}






@media (max-width: 359px) {
  .content-page:has(.vipcmp) h1 { font-size: 25px !important; }
}




.art-lead p { color: var(--ink-3); font-size: 14.5px; }
.art-sub { font-size: 16px; margin: 22px 0 12px; }



.paywall { position: relative; margin-top: 6px; }

.paywall .fade {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 78%);
  position: absolute; left: 0; right: 0; top: -40px; height: 120px; pointer-events: none;
}
.paywall .lock { position: relative; background: var(--surface); text-align: center; padding: 26px 20px 30px; }
.paywall .lock .big { font-size: 30px; line-height: 1; }
.paywall .lock .tip { font-size: 13.5px; color: var(--ink-3); margin: 8px 0 16px; }
.paywall .lock .tip b { color: var(--text); }
.paywall .lock .vip-tip { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.paywall .lock .vip-tip a { color: var(--brand); font-weight: 600; }
.paywall .lock-btn { font-size: 15px; padding: 12px 34px; }
.paywall .lock .btn-p.lock-btn { display: inline-flex; }
.paywall .lock .btn-o.lock-btn { display: inline-flex; margin-top: 6px; }


.pwd-cta { font-size: 11.5px; color: var(--ink-3); margin-left: 6px; cursor: pointer; }


#wbpay-box { text-align: center; border-top: 1px dashed var(--line); padding-top: 20px; }









.wd-box {
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  padding: 16px 16px 18px;
}

.wd-name { max-width: 420px; margin: 0 auto; }
.wd-name label { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 5px; }
.wd-name input {
  width: 100%; height: 40px; padding: 0 12px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--border-2); border-radius: 8px; background: #fff; color: var(--ink);
}
.wd-name input:focus { outline: none; border-color: var(--brand); }

.wd-apply { margin-top: 12px; }
.wd-apply-btn { display: block; width: 100%; max-width: 420px; margin: 0 auto; height: 42px; }


.wd-qr-row { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); text-align: center; }
.wd-qr {
  width: 200px; height: 200px; margin: 0 auto; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.wd-qr img { width: 100%; height: 100%; object-fit: contain; }
.wd-qr-empty {
  width: 200px; height: 200px; margin: 0 auto; border-radius: 14px; border: 1.5px dashed #D9D9D9;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--ink-3); font-size: 13px; background: #FAFAFA;
}
.wd-qr-empty .ico { font-size: 26px; }



.wd-qr-btn {
  display: block; width: 200px; margin: 10px auto 0;
  height: 38px; line-height: 36px; text-align: center; cursor: pointer;
  border: 1px solid var(--brand-edge); border-radius: 10px; background: #fff;
  color: var(--brand); font-size: 13.5px; font-weight: 600;
  transition: background .18s ease, border-color .18s ease;
}
.wd-qr-btn:hover, .wd-qr-btn:active {
  background: var(--brand-tint); border-color: var(--brand-2); text-decoration: none;
}


.wd-qr-file {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.wd-hint { font-size: 12px; color: var(--ink-3); line-height: 1.7; max-width: 420px; margin: 10px auto 0; }


.wd-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin-top: 12px; font-size: 12px; color: var(--ink-3);
}






.wd-rules {
  margin-top: 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); padding: 14px 16px 15px;
}
.wd-rules-t { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.wd-rules-body { margin-top: 7px; }
.wd-rules-li { font-size: 12.5px; line-height: 1.8; color: var(--ink-3); }



@media (max-width: 600px) {
  .wd-box { padding: 14px 12px 16px; }
  .wd-rules { padding: 12px 12px 13px; }
}


.wd-thumb {
  width: 56px; height: 56px; border-radius: 8px; border: 1px solid var(--line);
  object-fit: contain; background: #fff; cursor: zoom-in;
}















@media (min-width: 769px) {
  .cat-chip-scroll {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 0;
  }
}




.wbpay-mask {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px);
  align-items: center; justify-content: center;
}
.wbpay-mask.on { display: flex; }
.wbpay-modal-box {
  width: 360px; max-width: calc(100vw - 32px);
  

  max-height: calc(100vh - 36px); overflow-y: auto;
  background: var(--surface); border-radius: 18px; padding: 22px 24px 24px;
  text-align: center; animation: pop .22s ease;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
}
.wbpay-head { display: flex; align-items: center; margin-bottom: 14px; }
.wbpay-head h3 { font-size: 16.5px; margin: 0; }
.wbpay-head .x {
  margin-left: auto; font-size: 22px; line-height: 1; color: var(--ink-3);
  cursor: pointer; padding: 0 2px;
}
.wbpay-head .x:hover { color: var(--ink); }





.wbpay-tabs {
  display: flex; gap: 4px; padding: 4px;
  background: #F2F3F5; border-radius: 12px;
}
.wbpay-tabs[hidden] { display: none; }
.wbpay-tab {
  flex: 1; height: 38px; border: none; border-radius: 9px; background: none;
  font-family: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer;
  transition: color .15s, background .15s, box-shadow .15s;
}
.wbpay-tab:hover { color: var(--ink); }
.wbpay-tab.on {
  background: #fff; color: var(--brand); font-weight: 600;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
}
.wbpay-amt { margin: 16px 0 14px; }
.wbpay-amt[hidden] { display: none; }
.wbpay-amt .n {
  font-size: 30px; font-weight: 700; color: var(--brand);
  line-height: 1.1; letter-spacing: -.5px;
}
.wbpay-amt .n small { font-size: 14px; font-weight: 600; }
.wbpay-amt .s { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }





.wbpay-upsell {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; margin: 0 0 14px; padding: 10px 12px;
  border: 1px solid var(--brand-edge); border-radius: 11px;
  background: var(--brand-tint); color: var(--brand-dark);
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.wbpay-upsell[hidden] { display: none; }
.wbpay-upsell:hover { background: #FFE9E0; border-color: #FFC4B0; }
.wbpay-upsell i { font-style: normal; font-size: 15px; line-height: 1; }





.wbpay-plans {
  display: flex; flex-direction: column; gap: 7px;
  margin: 2px 0 14px; text-align: left;
  

}
.wbpay-plans[hidden] { display: none; }
.wbpay-plan {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px;
  background: #fff; font-family: inherit; text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.wbpay-plan:hover { border-color: #D9D9D9; }
.wbpay-plan b {
  flex: 1; min-width: 0; order: 2;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wbpay-plan span { order: 3; font-size: 11.5px; color: var(--ink-3); }
.wbpay-plan em   { order: 4; font-style: normal; font-size: 15px; font-weight: 700; color: var(--ink); }
.wbpay-plan i {
  order: 1; flex: none; font-style: normal;
  font-size: 10.5px; font-weight: 600; line-height: 1.55; color: #fff;
  background: var(--brand); padding: 0 6px; border-radius: 5px;
}
.wbpay-plan.on {
  border-color: var(--brand); background: #FFF8F5;
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), .1);
}
.wbpay-plan.on b, .wbpay-plan.on em { color: var(--brand); }

.wbpay-mask .qr-box { position: relative; }
.wbpay-mask .qr-cover {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  background: rgba(255, 255, 255, .92); font-size: 13px; color: var(--ink-2);
}
.wbpay-mask .qr-cover[hidden] { display: none; }
.wbpay-mask .qr-cover a { color: var(--brand); font-weight: 600; }
.wbpay-cancel {
  margin-top: 12px; display: inline-flex; align-items: center;
  border: none; cursor: pointer; font-family: inherit;
}







.wbpay-wx {
  margin: 8px 0 14px; padding: 2px 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.wbpay-wx[hidden] { display: none; }
.wbpay-wx b { font-size: 13px; font-weight: 500; color: var(--ink-3); line-height: 1.6; text-align: center; }
.wbpay-wxbtn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; height: 44px; border: none; cursor: pointer; font-family: inherit;
  font-size: 15.5px; font-weight: 600; letter-spacing: .3px; color: #fff;
  border-radius: 10px; background: #07C160; transition: .16s;   
}
.wbpay-wxbtn:hover { background: #06AD56; }
.wbpay-wxbtn .wx-i { width: 21px; height: 21px; flex: none; }
.wbpay-wxbtn:active { background: #059E4E; }
.wbpay-wxbtn .wx-i { width: 19px; height: 19px; flex: none; }

.wbpay-mask .qr-box[hidden], .wbpay-mask .qr-timer[hidden] { display: none; }










.wbsvc-mask {
  display: none; position: fixed; inset: 0; z-index: 210;
  background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 16px;
}
.wbsvc-mask.on { display: flex; }
.wbsvc-box {
  width: 330px; max-width: 100%;
  
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--surface); border-radius: 18px; padding: 20px 22px 22px;
  text-align: center; animation: pop .22s ease;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
}
.wbsvc-head { display: flex; align-items: center; margin-bottom: 6px; }
.wbsvc-head h3 { font-size: 16.5px; margin: 0; }
.wbsvc-head .x {
  margin-left: auto; font-size: 22px; line-height: 1; color: var(--ink-3);
  cursor: pointer; padding: 0 2px;
}
.wbsvc-head .x:hover { color: var(--ink); }
.wbsvc-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.65; margin: 0 0 14px; }
.wbsvc-qr img {
  width: 190px; height: 190px; object-fit: contain;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 6px;
}
.wbsvc-hint { font-size: 12px; color: var(--ink-3); line-height: 1.6; margin: 8px 0 0; }

.wbsvc-wx {
  margin-top: 16px; padding: 11px 13px; text-align: left;
  border: 1px solid var(--primary-line, var(--line)); border-radius: 12px;
  background: var(--primary-light);
}
.wbsvc-wx .k { font-size: 11.5px; color: var(--ink-3); }
.wbsvc-wx .row { display: flex; align-items: center; gap: 10px; margin-top: 3px; }
.wbsvc-wx .v {
  flex: 1; min-width: 0; font-size: 15.5px; font-weight: 700; color: var(--ink);
  letter-spacing: .02em; word-break: break-all;
}
.wbsvc-copy {
  flex: none; border: none; cursor: pointer; font-family: inherit;
  padding: 7px 13px; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  color: #fff; background: var(--primary); transition: .16s;
}
.wbsvc-copy:hover { opacity: .9; }
.wbsvc-copy.copied { background: #16A34A; }   
.wbsvc-none { font-size: 13px; color: var(--ink-3); line-height: 1.7; padding: 6px 0 2px; }








.ivp-mask {
  display: none; position: fixed; inset: 0; z-index: 220;
  background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 16px;
}
.ivp-mask.on { display: flex; }
.ivp-box {
  width: 340px; max-width: 100%;
  
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--surface); border-radius: 18px; padding: 20px 22px 22px;
  text-align: center; animation: fade .22s ease;
}
.ivp-head { display: flex; align-items: center; margin-bottom: 12px; }
.ivp-head h3 { font-size: 16.5px; margin: 0; }
.ivp-head .x {
  margin-left: auto; font-size: 22px; line-height: 1; color: var(--ink-3);
  cursor: pointer; padding: 0 2px;
}
.ivp-head .x:hover { color: var(--text); }
.ivp-img { width: 100%; display: block; border: 1px solid var(--border); border-radius: 12px; }
.ivp-tip { font-size: 12px; color: var(--ink-3); line-height: 1.7; margin: 10px 0 12px; }
.ivp-save {
  display: inline-block; text-decoration: none;
  padding: 9px 22px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.ivp-save:hover { opacity: .92; text-decoration: none; }








.inv-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px 16px; margin-bottom: 14px;
}
.ic-label { font-size: 11.5px; color: var(--ink-3); }
.ic-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.ic-code {
  flex: 1; min-width: 0; font-size: 20px; font-weight: 800; color: var(--brand);
  font-family: ui-monospace, Consolas, monospace; letter-spacing: 1px;
}
.ic-copy {
  flex: none; border: none; cursor: pointer; font-family: inherit;
  padding: 7px 15px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.ic-link {
  margin-top: 6px; padding: 9px 11px; border-radius: 9px;
  background: #F8FAFC; font-size: 12px; line-height: 1.5; color: var(--ink-2);
  word-break: break-all;
}
.ic-wide {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin-top: 10px; padding: 10px 0;
  border: none; border-radius: 9px; cursor: pointer; font-family: inherit;
  font-size: 13.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  transition: .16s;
}
.ic-wide:hover { opacity: .92; text-decoration: none; }

.ic-wide.ic-poster { margin-top: 12px; padding: 12px 0; font-size: 15px; border-radius: 10px; }
.ic-tip { margin-top: 10px; font-size: 11.5px; line-height: 1.7; color: var(--ink-3); }


.inv-stat {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px; padding: 13px 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.inv-stat .is-i { text-align: center; min-width: 0; }
.inv-stat .is-i + .is-i { border-left: 1px solid var(--line); }
.inv-stat .is-n { display: block; font-size: 17px; font-weight: 800; color: var(--text); }
.inv-stat .is-t { display: block; margin-top: 3px; font-size: 11px; color: var(--ink-3); }


.iv-row2 {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 13px; margin-bottom: 8px;
}
.iv-row2 .ir-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.iv-row2 .ir-name {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.iv-row2 .ir-at { font-size: 11.5px; color: var(--ink-3); }
.iv-row2 .ir-money { flex: none; font-size: 14px; font-weight: 800; color: var(--brand); }
.iv-empty {
  text-align: center; color: var(--ink-3); font-size: 13px; line-height: 1.8;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 14px;
}



.comm-hero {
  background: linear-gradient(120deg, var(--primary-darkest), var(--primary));
  border-radius: 16px; padding: 20px 22px 16px; color: #fff; margin-bottom: 14px;
}
.comm-hero .ch-k { font-size: 12px; color: rgba(255,255,255,.82); }
.comm-hero .ch-v {
  margin-top: 4px; font-size: 34px; font-weight: 800; letter-spacing: -.5px;
  font-family: ui-monospace, Consolas, monospace;
}
.comm-hero .ch-row {
  display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px;
  padding-top: 12px; border-top: 1px solid rgba(255,255,255,.22);
  font-size: 11.5px; color: rgba(255,255,255,.85);
}


.cm-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 13px; margin-bottom: 8px;
}
.cm-row .cr-l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cm-row .cr-amt { font-size: 15px; font-weight: 800; color: var(--brand); }
.cm-row .cr-sub {
  font-size: 11.5px; color: var(--ink-3); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cm-row .cr-r { flex: none; display: flex; align-items: center; gap: 8px; }
.cm-row .cr-at { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.cm-row .cr-qr { font-size: 12px; font-weight: 600; color: var(--brand); white-space: nowrap; }


@media (max-width: 600px) {
  .comm-hero { padding: 17px 18px 14px; }
  .comm-hero .ch-v { font-size: 30px; }
}


.site-footer .footer-qr {
  display: block; text-align: center; flex-shrink: 0;
  color: inherit; text-decoration: none; cursor: pointer;
}
.site-footer .footer-qr:hover { text-decoration: none; opacity: .92; }


.vip-perks { margin: 34px 0 6px; }
.perk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .perk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .perk-grid { grid-template-columns: 1fr; } }
.perk {
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px;
  background: var(--surface);
}
.perk .pi { font-size: 20px; }
.perk b { display: block; font-size: 14.5px; margin: 6px 0 4px; }
.perk p { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }


.art-catbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }












.auth-modal {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.auth-modal[hidden] { display: none; }

.auth-modal-mask {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, .46);
  -webkit-backdrop-filter: saturate(2) blur(4px);
  backdrop-filter: saturate(2) blur(4px);
}
.auth-modal-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 430px;
  





  margin: auto;
  max-height: calc(100vh - 40px); overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface); border-radius: 18px;
  padding: 26px 24px 20px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .34);
}

.auth-modal .auth-card {
  background: none; border: 0; box-shadow: none;
  padding: 0; max-width: none; width: auto;
}



.auth-modal-brand {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin: 0 0 18px; padding: 4px 44px 0;
  text-decoration: none; color: var(--ink);
  min-width: 0;
}
.auth-modal-brand:hover { text-decoration: none; }
.auth-modal-brand .logo-mark { width: 34px; height: 34px; font-size: 1.02rem; border-radius: 10px; flex: none; }
.auth-modal-brand-img { height: 34px; width: auto; max-width: 120px; border-radius: 10px; flex: none; object-fit: contain; }
.auth-modal-brand-name {
  font-size: 1.16rem; font-weight: 800; letter-spacing: .4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}



.auth-modal-x {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: #9AA3AF;
  transition: background .15s, color .15s;
}
.auth-modal-x:hover { background: #f1f3f7; color: var(--ink); }
.auth-modal-x svg { width: 16px; height: 16px; }
.auth-modal-foot {
  margin: 16px 0 0; text-align: center;
  font-size: 12px; color: var(--text-3); line-height: 1.6;
}
.auth-modal-foot a { color: var(--text-3); text-decoration: underline; }
.auth-modal-foot a:hover { color: var(--brand); }





@media (max-width: 480px) {
  .auth-modal { padding: 12px; }
  .auth-modal-box { max-height: calc(100vh - 24px); padding: 22px 18px 18px; border-radius: 16px; }
}














.auth-modal-m .auth-card { display: flex; flex-direction: column; }
.auth-modal-m .auth-wx { order: -1; margin: 0 0 18px; }
.auth-modal-m #wx-login-btn,
.auth-modal-m .auth-wx-tip,
.auth-modal-m .auth-divider { display: none; }







.auth-gate {
  max-width: 420px; margin: 56px auto; padding: 40px 24px; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow);
}
.auth-gate-ic {
  width: 52px; height: 52px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(var(--primary-rgb), .1); color: var(--primary);
}
.auth-gate-ic svg { width: 24px; height: 24px; }
.auth-gate-h { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.auth-gate-p { margin: 0 0 22px; font-size: 14px; color: var(--text-2); }



.auth-gate-btn { min-width: 0; padding-left: 20px; padding-right: 20px; }
@media (max-width: 600px) {
  .auth-gate { margin: 28px 12px; padding: 32px 18px; }
}
.auth-gate-ns { margin-top: 14px; font-size: 13px; color: var(--danger); }
