* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #eaf2ff 0%, #f6f8fc 45%, #edf1f8 100%);
  background-attachment: fixed;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wrap { width: 100%; max-width: 460px; }
.card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(15,61,115,.06), 0 14px 48px rgba(15,61,115,.08);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(61,157,242,.1);
  transition: box-shadow .3s;
}
.card:hover { box-shadow: 0 6px 30px rgba(15,61,115,.08), 0 16px 52px rgba(15,61,115,.1); }
.card-header {
  padding: 30px 24px 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.card-header::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(61,157,242,.07) 0%, transparent 70%);
  border-radius: 50%;
}
.card-header::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(61,157,242,.05) 0%, transparent 70%);
  border-radius: 50%;
}
.card-header .brand {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1e56a0, #3d9df2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 32px rgba(30,86,160,.25);
  position: relative;
  z-index: 1;
}
.card-header .user-bar {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.user-row { display: flex; gap: 8px; align-items: center; }
.card-header .user-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(61,157,242,.2);
  color: #1e56a0;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15,61,115,.06);
  transition: all .3s cubic-bezier(.25,.8,.25,1);
}
.card-header .user-bar a svg { flex-shrink: 0; width: 12px; height: 12px; }
.card-header .user-bar a:hover {
  background: #e6f1ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30,86,160,.18);
  text-decoration: none;
}
.card-header .user-bar a.logout { color: #e11d48; border-color: rgba(225,29,72,.25); }
.card-header .user-bar a.logout:hover { background: #fff1f3; box-shadow: 0 6px 16px rgba(225,29,72,.18); }
.card-header .user-bar a.primary {
  background: linear-gradient(135deg, #1e56a0, #3d9df2);
  color: #fff; border-color: transparent;
}
.card-header .user-bar a.primary:hover { box-shadow: 0 6px 16px rgba(30,86,160,.35); }
.card-header .user-bar a.nav-icon {
  width: 34px; height: 34px; padding: 0;
  border-radius: 50%; font-size: 0; gap: 0;
}
.card-header .user-bar a.nav-icon svg { width: 16px; height: 16px; }
.card-header .user-bar a.cs-icon {
  color: #12b7f5;
  animation: csPulse 2.5s ease-in-out infinite;
}
.card-header .user-bar a.cs-icon:hover {
  color: #00a6ff;
  box-shadow: 0 6px 20px rgba(18,183,245,.25);
  animation: none;
}
@keyframes csPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(18,183,245,.12); }
  50% { box-shadow: 0 0 0 7px rgba(18,183,245,.04); }
}
.card-header h1 {
  font-size: 24px; font-weight: 700; color: #16233b; margin: 0 0 4px; letter-spacing: 3px;
  background: linear-gradient(135deg,#1e56a0,#3d9df2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative; z-index: 1;
}
.title-sup {
  font-size: 11px; font-weight: 600; letter-spacing: 0;
  vertical-align: super;
  -webkit-text-fill-color: #f59e0b;
  background: none;
  margin-left: 2px;
}
.card-header p { font-size: 12px; color: #8a97ad; margin: 0 0 8px; position: relative; z-index: 1; letter-spacing: 4px; }
.card-body { padding: 0 24px 24px; }

.ann-modal-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,35,60,.55);
  z-index: 9999;
  align-items: center; justify-content: center;
  animation: fadeIn .2s ease;
}
.ann-modal-overlay.show { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.ann-modal {
  background: #fff;
  border-radius: 20px;
  width: 90%; max-width: 360px;
  padding: 28px 24px 22px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(15,35,60,.25);
  animation: slideUp .3s ease;
  position: relative;
}
.ann-modal .ann-modal-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e56a0, #3d9df2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(30,86,160,.22);
}
.ann-modal h3 {
  margin: 0 0 10px; font-size: 17px; color: #16233b; font-weight: 700;
}
.ann-modal .ann-modal-body {
  font-size: 13px; color: #5a6b87; line-height: 1.7; margin-bottom: 20px;
}
.ann-modal .ann-modal-btn {
  display: inline-block;
  padding: 10px 36px;
  border-radius: 22px;
  font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, #1e56a0, #3d9df2);
  color: #fff; border: none; cursor: pointer;
  transition: all .25s;
}
.ann-modal .ann-modal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30,86,160,.3);
}
.ann-banner { max-width: 400px; padding: 30px 26px 24px; }
.ann-banner .ann-modal-icon {
  background: linear-gradient(135deg, #f59e0b, #e11d48);
  box-shadow: 0 8px 20px rgba(245,158,11,.25);
}
.ann-modal-actions { display: flex; gap: 10px; justify-content: center; }
.ann-modal-btn-link {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 22px;
  font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, #f59e0b, #e11d48);
  color: #fff; text-decoration: none;
  transition: all .25s;
}
.ann-modal-btn-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(225,29,72,.3);
}

/* Share Panel */
.share-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,35,60,.5);
  z-index: 9999;
  align-items: flex-end; justify-content: center;
}
.share-overlay.show { display: flex; }
.share-overlay.show .share-panel { animation: shareSlideUp .35s cubic-bezier(.16,1,.3,1); }
@keyframes shareSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.share-panel {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%; max-width: 420px;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -8px 40px rgba(15,35,60,.18);
}
.share-panel-title {
  font-size: 15px; font-weight: 700; color: #16233b;
  text-align: center; margin-bottom: 16px;
}
.share-card-preview {
  background: #f8fafd;
  border: 1px solid #ebeff5;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.share-card-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg,#1e56a0,#3d9df2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(30,86,160,.16);
}
.share-card-info { flex: 1; min-width: 0; }
.share-card-title {
  font-size: 13px; font-weight: 600; color: #16233b;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.share-card-url {
  font-size: 10px; color: #8a97ad; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.share-msg {
  margin-bottom: 18px;
}
.share-msg-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #e6ecf7; border-radius: 12px;
  font-size: 13px; color: #16233b; font-family: inherit;
  outline: none; transition: border-color .2s, background .2s;
  box-sizing: border-box; background: #f9fafc;
}
.share-msg-input:focus { border-color: #3d9df2; background: #fff; box-shadow: 0 0 0 3px rgba(61,157,242,.08); }
.share-msg-input::placeholder { color: #bcc5d4; }
.share-msg-hint {
  margin-top: 6px; font-size: 11px; color: #8a97ad; line-height: 1.5;
  display: flex; align-items: flex-start; gap: 4px;
}
.share-msg-hint svg { flex-shrink: 0; margin-top: 2px; }
.share-actions {
  display: flex; gap: 16px;
  justify-content: center;
}
.share-act {
  flex: 1; max-width: 140px;
  text-align: center; cursor: pointer;
  padding: 14px 0; border-radius: 14px;
  border: none; background: transparent;
  font-family: inherit; -webkit-tap-highlight-color: transparent;
  transition: transform .15s, background .2s;
}
.share-act:active { transform: scale(.95); }
.share-act.qq-act { background: #f0f9ff; }
.share-act.qq-act:active { background: #dff2fd; }
.share-act.wechat-act { background: #f0fdf5; }
.share-act.wechat-act:active { background: #dffaea; }
.share-act .act-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.share-act:active .act-icon { transform: scale(.9); }
.share-act .act-icon.qq { background: linear-gradient(135deg,#2db5f0,#12b7f5); box-shadow: 0 4px 14px rgba(18,183,245,.28); }
.share-act .act-icon.wechat { background: linear-gradient(135deg,#2fb963,#07c160); box-shadow: 0 4px 14px rgba(7,193,96,.28); }
.share-act .act-label { font-size: 12px; color: #5a6b87; font-weight: 600; }
.share-close {
  display: block; width: 100%; margin-top: 16px; padding: 8px 0;
  text-align: center;
  font-size: 13px; color: #8a97ad; cursor: pointer;
  background: transparent; border: none; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.share-close:active { color: #16233b; }
@media (min-width: 768px) {
  .share-overlay { align-items: center; }
  .share-panel { border-radius: 20px; width: 360px; margin: 0 20px; }
  @keyframes shareSlideUp { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
}

.login-prompt { text-align: center; padding: 16px 0 8px; }
.login-prompt h3 { font-size: 18px; color: #16233b; margin: 0 0 8px; }
.login-prompt p { font-size: 13px; color: #5a6b87; margin: 0 0 20px; line-height: 1.6; }
.login-btn-row { display: flex; gap: 10px; }
.btn {
  flex: 1;
  padding: 13px 0;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s cubic-bezier(.25,.8,.25,1);
  display: inline-block;
  text-decoration: none;
  text-align: center;
  letter-spacing: .3px;
}
.btn-primary { background: linear-gradient(135deg, #1e56a0, #3d9df2); color: #fff; box-shadow: 0 4px 14px rgba(30,86,160,.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,86,160,.35); }
.btn-outline { background: transparent; border: 2px solid #1e56a0; color: #1e56a0; }
.btn-outline:hover { background: #f3f8ff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(30,86,160,.1); }
.btn-secondary { background: #eef2f8; color: #5a6b87; }
.btn-secondary:hover { background: #e2e9f3; transform: translateY(-2px); }

.input-group { margin-bottom: 14px; text-align: center; }
.input-group label { display: block; font-size: 12px; font-weight: 600; color: #8a97ad; margin-bottom: 6px; letter-spacing: .5px; text-align: left; padding-left: 4px; }
.input-group input {
  width: 100%;
  max-width: 320px;
  padding: 13px 16px;
  border: 2px solid #e6ecf7;
  border-radius: 14px;
  font-size: 14px;
  background: #f7f9fd;
  transition: all .3s cubic-bezier(.25,.8,.25,1);
  text-align: center;
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
  color: #16233b;
}
.input-group input:focus { border-color: #3d9df2; background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(61,157,242,.1); }
.input-group input::placeholder { color: #b0bccf; }

.trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto 14px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #fff7ec, #fffaf3);
  border: 1px solid #fde8c8;
  border-radius: 12px;
}
.trial-left { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #8a6a3a; }
.trial-left strong { color: #e08a00; font-size: 15px; }
.trial-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.trial-link { font-size: 12px; font-weight: 700; color: #1e56a0; text-decoration: none; }
.trial-link:hover { text-decoration: underline; }
.trial-link.gold { color: #e08a00; }

.template-picker { margin-bottom: 14px; text-align: left; position: relative; }
.template-picker label { display: block; font-size: 12px; font-weight: 600; color: #5a6b87; margin-bottom: 6px; letter-spacing: .5px; text-align: left; padding-left: 4px; }
.template-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border: 2px solid #e6ecf7;
  border-radius: 14px;
  background: #f7f9fd;
  cursor: pointer;
  transition: all .3s cubic-bezier(.25,.8,.25,1);
  user-select: none;
  max-width: 320px;
  margin: 0 auto;
}
.template-current:hover { border-color: #3d9df2; background: #f3f8ff; box-shadow: 0 2px 10px rgba(61,157,242,.08); }
.template-current .left { display: flex; align-items: center; gap: 8px; }
.template-current .left .icon, .template-opt .icon { display: inline-flex; align-items: center; color: #3d9df2; flex-shrink: 0; }
.template-current .left .name { font-size: 14px; font-weight: 500; color: #16233b; }
.template-current .left .tag {
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
  background: linear-gradient(135deg,#f7b733,#f59e0b); color: #fff;
}
.template-current .arrow { font-size: 12px; color: #8a97ad; transition: transform .25s; }
.template-current.open .arrow { transform: rotate(180deg); }
.template-dropdown {
  display: none;
  position: fixed;
  margin-top: 4px;
  border: 2px solid #e6ecf7;
  border-radius: 12px;
  overflow-y: auto;
  max-height: 320px;
  background: #fff;
  width: 100%; max-width: 320px;
  box-shadow: 0 8px 24px rgba(15,61,115,.1);
  z-index: 100;
}
.template-dropdown.show { display: block; }
.template-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all .15s;
  border-bottom: 1px solid #f2f5fa;
}
.template-opt:last-child { border-bottom: none; }
.template-opt:hover { background: #f3f8ff; }
.template-opt .info { flex: 1; }
.template-opt .info .name { font-size: 14px; font-weight: 500; color: #16233b; }
.template-opt .info .desc { font-size: 11px; color: #8a97ad; margin-top: 2px; }
.template-opt .check { font-size: 14px; color: #1e56a0; opacity: 0; }
.template-opt.active .check { opacity: 1; }
.template-opt .vip-tag {
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
  background: linear-gradient(135deg,#f7b733,#f59e0b); color: #fff;
}
.template-opt.locked .vip-tag { opacity: 1; }
.template-opt.locked { opacity: .5; cursor: not-allowed; pointer-events: none; }
.template-opt.locked:hover { background: transparent; }
.btn-sm-copy { background: #e6f0ff; color: #1e56a0; border: none; border-radius: 10px; padding: 7px 14px; cursor: pointer; font-size: 12px; font-weight: 600; transition: all .25s; align-self: center; }
.btn-sm-copy:hover { background: #d2e4ff; transform: translateY(-1px); }
.btn-sm-share { background: #ecfaf3; color: #0f9d63; border: none; border-radius: 10px; padding: 7px 14px; cursor: pointer; font-size: 12px; font-weight: 600; transition: all .25s; align-self: center; }
.btn-sm-share:hover { background: #dbf5e7; transform: translateY(-1px); }
.btn-sm-del { background: #fff1f3; color: #e11d48; border: none; border-radius: 10px; padding: 7px 14px; cursor: pointer; font-size: 12px; font-weight: 600; transition: all .25s; align-self: center; }
.btn-sm-del:hover { background: #ffe4e8; transform: translateY(-1px); }
.copy-toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  background: #16233b; color: #fff; padding: 8px 20px; border-radius: 20px;
  font-size: 13px; z-index: 999; opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.copy-toast.show { opacity: 1; }
.copy-toast.error { background: #e11d48; }
.link-config {
  display: flex; gap: 8px; margin-bottom: 12px;
}
.link-config-row {
  flex: 1; display: flex; flex-direction: column; gap: 3px;
}
.link-config-row label {
  font-size: 10px; font-weight: 600; color: #8a97ad; text-transform: uppercase; letter-spacing: .5px;
  text-align: left; padding-left: 4px;
}
.link-config-row input {
  padding: 8px 10px; border: 1.5px solid #e6ecf7; border-radius: 10px;
  font-size: 12px; background: #f7f9fd; color: #16233b; text-align: center;
  transition: all .2s;
}
.link-config-row input:focus { border-color: #3d9df2; background: #fff; outline: none; }
.mode-selector {
  display: flex; gap: 8px;
}
.mode-opt {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 14px; border: 2px solid #e6ecf7; border-radius: 14px;
  background: #f7f9fd; cursor: pointer; font-size: 13px; font-weight: 600;
  color: #8a97ad; transition: all .3s cubic-bezier(.25,.8,.25,1); user-select: none;
}
.mode-opt svg { flex-shrink: 0; }
.mode-opt.active { border-color: #3d9df2; background: #e6f1ff; color: #1e56a0; box-shadow: 0 2px 8px rgba(61,157,242,.12); }
.mode-opt.locked { opacity: .5; cursor: not-allowed; pointer-events: none; }
.mode-opt.locked:hover { border-color: #e6ecf7; background: #f7f9fd; }
.mode-vip-tag {
  font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 4px;
  background: linear-gradient(135deg,#f7b733,#f59e0b); color: #fff;
}
.vip-expire-warn {
  margin: 0 0 12px; padding: 8px 12px;
  background: #fffcf5;
  border: 1px solid #ffe4b5;
  border-radius: 10px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #92400e;
}
.vip-expire-warn svg { flex-shrink: 0; color: #f59e0b; width: 14px; height: 14px; }
.vip-expire-warn .renew-link {
  margin-left: auto; font-weight: 600; font-size: 11px;
  color: #1e56a0; text-decoration: none;
  padding: 3px 10px; border-radius: 12px;
  border: 1px solid rgba(61,157,242,.25);
  transition: all .2s;
}
.vip-expire-warn .renew-link:hover { background: #eff6ff; text-decoration: none; }
.vip-cta {
  background: linear-gradient(135deg, #fff9f0, #fef3e1, #fffbf5);
  border: 1px solid rgba(247,183,51,.2);
  border-radius: 14px; padding: 14px 18px;
  color: #16233b; display: flex; align-items: center; gap: 12px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}
.vip-cta::before {
  content: '';
  position: absolute; top: -40px; right: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(247,183,51,.10) 0%, transparent 70%);
  border-radius: 50%;
}
.vip-cta-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, #f7b733, #f59e0b);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(247,183,51,.3);
}
.vip-cta-body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.vip-cta-body .title { font-size: 14px; font-weight: 700; margin-bottom: 2px; color: #92400e; }
.vip-cta-body .sub { font-size: 11px; color: #a07245; line-height: 1.4; }
.vip-cta-btn {
  display: inline-flex; align-items: center; gap: 5px;
  flex-shrink: 0; padding: 8px 16px; position: relative; z-index: 1;
  background: linear-gradient(135deg, #f7b733, #f59e0b); color: #fff;
  border: none; border-radius: 8px; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all .25s; text-decoration: none;
  box-shadow: 0 3px 10px rgba(247,183,51,.3);
}
.vip-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(247,183,51,.4); }
.btn-outline-blue {
  background: transparent; border: 2px solid #3d9df2; color: #1e56a0;
  border-radius: 14px; padding: 13px 0; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .3s cubic-bezier(.25,.8,.25,1);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; flex: 1; justify-content: center;
  letter-spacing: .3px;
}
.btn-outline-blue:hover { background: #e6f1ff; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(30,86,160,.12); }
.btn-primary-full {
  background: linear-gradient(135deg, #1e56a0, #3d9df2); color: #fff;
  border: none; border-radius: 14px; padding: 13px 0; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .3s cubic-bezier(.25,.8,.25,1);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; flex: 1; justify-content: center;
  box-shadow: 0 4px 14px rgba(30,86,160,.2);
  letter-spacing: .3px;
}
.btn-primary-full:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,86,160,.35); }
.btn-row { display: flex; gap: 14px; margin-top: 4px; }
.info-card {
  background: #ffffff; border-radius: 20px; padding: 20px 24px;
  box-shadow: 0 14px 48px rgba(15,61,115,.14);
  border: 1px solid rgba(61,157,242,.12);
}
.info-card h3 {
  font-size: 15px; font-weight: 700; color: #16233b; margin: 0 0 16px;
}
.info-card .steps { display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; align-items: center; gap: 14px; }
.step-num {
  width: 28px; height: 28px; background: linear-gradient(135deg, #1e56a0, #3d9df2); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.step-text { font-size: 13px; color: #5a6b87; line-height: 1.5; }
.step-text strong { color: #16233b; }
.footer { text-align: center; font-size: 12px; color: #98a4ba; margin-top: 20px; }
.footer a { color: #1e56a0; text-decoration: none; }
.link-empty { text-align: center; font-size: 12px; color: #8a97ad; padding: 16px 0; }
.link-list {
  margin-top: 4px;
}
.section-title {
  font-size: 12px; font-weight: 600; color: #5a6b87; letter-spacing: .5px;
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.limit-badge, .count-badge {
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 10px;
  background: #e6f0ff; color: #1e56a0;
}
.link-item {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 14px 16px;
  background: #f7f9fd;
  border: 1.5px solid #e6ecf7;
  border-radius: 14px;
  margin-bottom: 8px;
  transition: all .3s cubic-bezier(.25,.8,.25,1);
}
.link-item:hover { border-color: #d2dff7; box-shadow: 0 2px 10px rgba(61,157,242,.06); }
.link-tpl {
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 6px;
  background: #eef0f6; color: #5a6b87;
}
.link-tpl.beauty-badge { background: #fdf2f8; color: #be185d; }
.link-mode {
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 6px;
  background: #e6f0ff; color: #1e56a0;
}
.link-mode.mode-video { background: #f3e8ff; color: #7c3aed; }
.link-new-badge {
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px;
  background: #e11d48; color: #fff;
  flex-shrink: 0;
  animation: newPulse 2s ease infinite;
}
@keyframes newPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.link-url-text {
  flex: 1; min-width: 0;
  font-size: 11px; color: #8a97ad;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.link-stats {
  font-size: 10px; color: #8a97ad;
  display: flex; align-items: center; gap: 4px;
}
.link-acts {
  display: flex; gap: 14px; flex-shrink: 0;
  justify-content: center; width: 100%;
}
@media (max-width:480px) {
  .wrap { padding: 10px; }
  .card { border-radius: 16px; }
  .card-header { padding: 20px 16px 4px; }
  .card-header h1 { font-size: 20px; letter-spacing: 2px; }
  .card-header .brand { width: 52px; height: 52px; border-radius: 16px; }
  .card-body { padding: 0 16px 16px; }
  .btn-row { flex-direction: column; gap: 10px; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .link-config { flex-direction: column; }
  .link-item { flex-wrap: wrap; }
  .link-stats { margin-left: auto; }
  .template-opt { padding: 10px 12px; }
  .template-picker label { margin-bottom: 6px; }
  .user-bar { top: 8px; right: 10px; }
  .user-bar a { padding: 2px 8px; font-size: 10px; }
  .user-bar a.nav-icon { width: 28px; height: 28px; }
  .vip-cta { flex-direction: column; text-align: center; padding: 12px 14px; }
  .vip-cta-body { text-align: center; }
  .vip-cta-btn { width: 100%; justify-content: center; }
  .vip-expire-warn { flex-wrap: wrap; }
  .vip-expire-warn .renew-link { margin-left: auto; }
  .mode-opt { padding: 8px 10px; font-size: 12px; }
  .info-card { padding: 16px; }
  .steps { gap: 8px; }
  .step { gap: 8px; }
}
