/* 灵岸站点微调：在 super-i 样式之上做路径与品牌适配 */
html, body.home {
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  html, body.home { overflow-x: hidden; }
}

.linkon-modal[hidden] { display: none !important; }

/* 会员弹窗需高于遮罩层，避免「点了没反应」的错觉 */
#linkonMask.mask1.on,
.mask1.on {
  z-index: 61;
}

#tc-pro.tc-layout.on,
#tc-login.tc-layout.on,
#tc-pro-zhibo.tc-layout.on {
  z-index: 62;
}

/* 统一 tc 弹窗：支付确认 / 支付二维码 */
#linkonPayConfirm.tc-layout,
#linkonPayQrModal.tc-layout {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 62;
  display: none;
  width: min(92vw, 420px);
  border-radius: 20px;
  border: 2px solid #fff;
  background: rgba(254, 254, 254, 0.96);
  box-shadow: 0 0.104vw 0.625vw 0 rgba(116, 116, 116, 0.15);
  overflow: hidden;
}

#linkonPayConfirm.tc-layout.on,
#linkonPayQrModal.tc-layout.on {
  display: block;
  animation: fadeIn 0.35s forwards;
}

.linkon-pay-confirm-body,
.linkon-pay-qr-body {
  padding: 20px 24px 28px;
}

.linkon-pay-amount {
  margin: 8px 0 16px;
}

.linkon-pay-type-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.linkon-pay-type-btns .C-btn3 {
  width: 100%;
  border: none;
  cursor: pointer;
}

.linkon-pay-type-btns .C-btn3.is-disabled,
.linkon-pay-type-btns .C-btn3:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.linkon-pay-btn-outline {
  background: #fff !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
}

.linkon-pay-qr-img {
  display: block;
  width: 220px;
  height: 220px;
  margin: 12px auto;
  object-fit: contain;
}

.linkon-pay-simulate {
  width: 100%;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

/* Cookie 条 */
.linkon-cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid #eee;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

.linkon-cookie-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.linkon-cookie-bar-title {
  margin-bottom: 4px;
}

.linkon-cookie-bar-text p {
  margin: 0;
  color: #666;
  line-height: 1.5;
  max-width: 640px;
}

.linkon-cookie-bar-text a {
  color: #666;
  text-decoration: underline;
}

.linkon-cookie-bar-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.linkon-cookie-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #C9FF85;
  color: #111;
}

.linkon-cookie-btn-outline {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
}

/* ── 客服：右侧滑出抽屉 ── */
.linkon-service-root {
  --linkon-service-accent: #c9ff85;
  --linkon-service-dark: #111;
}

.linkon-service-fab {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 48;
}

.linkon-service-fab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: var(--linkon-service-dark);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.linkon-service-fab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.linkon-service-fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.linkon-service-fab-icon--close {
  display: none;
}

.linkon-service-root.is-open .linkon-service-fab-btn {
  background: #fff;
  color: var(--linkon-service-dark);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.linkon-service-root.is-open .linkon-service-fab-icon--chat {
  display: none;
}

.linkon-service-root.is-open .linkon-service-fab-icon--close {
  display: flex;
}

.linkon-service-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
}

.linkon-service-drawer.is-open {
  pointer-events: auto;
}

.linkon-service-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.linkon-service-drawer.is-open .linkon-service-drawer-backdrop {
  opacity: 1;
}

.linkon-service-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 400px);
  display: flex;
  flex-direction: column;
  background: #faf9fb;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.linkon-service-drawer.is-open .linkon-service-drawer-panel {
  transform: translateX(0);
}

.linkon-service-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 24px 24px;
  background: var(--linkon-service-dark);
  color: #fff;
}

.linkon-service-drawer-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--linkon-service-accent);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.linkon-service-drawer-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.linkon-service-drawer-desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.linkon-service-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.linkon-service-drawer-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.linkon-service-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
  -webkit-overflow-scrolling: touch;
}

.linkon-service-card {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.linkon-service-card-label {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.linkon-service-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 16px;
  border-radius: 12px;
  background: #fafafa;
  border: 1px dashed #e0e0e0;
}

.linkon-service-qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.linkon-service-qr-img.is-placeholder {
  width: 80px;
  height: 80px;
  opacity: 0.45;
}

.linkon-service-qr-placeholder {
  margin: 12px 0 0;
  font-size: 12px;
  color: #999;
}

.linkon-service-hint {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #888;
}

.linkon-service-topics {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.linkon-service-topics-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.linkon-service-topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.linkon-service-topic-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: #555;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.linkon-service-topic-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.linkon-service-topic-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--linkon-service-accent);
  flex-shrink: 0;
}

.linkon-service-drawer-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  font-size: 12px;
  color: #888;
}

.linkon-service-foot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5dde29;
  animation: linkonServicePulse 2s ease-in-out infinite;
}

@keyframes linkonServicePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

body.linkon-service-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .linkon-service-fab {
    right: 16px;
    bottom: 80px;
  }

  .linkon-service-fab-btn {
    padding: 11px 16px 11px 12px;
    font-size: 13px;
  }

  .linkon-service-drawer-panel {
    width: 100%;
    max-width: 100%;
  }

  .linkon-service-drawer-head {
    padding: 24px 20px 20px;
  }

  .linkon-service-drawer-body {
    padding: 20px 16px;
  }

  .linkon-cookie-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .linkon-cookie-bar-actions {
    justify-content: flex-end;
  }
}

#linkonPayQrModal:not([hidden]) {
  display: none;
}
#linkonPayQrModal.tc-layout.on {
  display: block;
  position: fixed;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 62;
  background: rgba(254, 254, 254, 0.96);
}

.linkon-header-logout {
  margin-left: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: transparent;
  color: #666;
  cursor: pointer;
  line-height: 1.2;
}

.linkon-header-logout:hover {
  color: #111;
  border-color: rgba(0, 0, 0, 0.25);
}

.linkon-user-center .logout,
.linkon-user-link-btn {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

.linkon-user-center .logout:hover,
.linkon-user-link-btn:hover {
  color: #7B5CFF;
}

.linkon-user-center .logout:focus-visible,
.linkon-user-link-btn:focus-visible {
  outline: 2px solid #7B5CFF;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .linkon-header-logout {
    display: none;
  }
}

.linkon-placeholder-cover { border-radius: 12px; }

.im4 .empty h1 { font-size: inherit; margin: 0 0 0.5em; }
.im4-title-hash-mulu.mob {
  display: none;
  width: calc(100% - 32px);
  margin: 12px 16px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
}
@media (max-width: 768px) {
  .im4-title-hash-mulu.mob { display: block; }
  .im4 .im4-slide-you-box.pc { display: none; }
}

.role-card .role-btn { pointer-events: none; }

.linkon-prompt-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 247, 247, 0.92);
  border-radius: 10px;
  z-index: 2;
}
.linkon-prompt-lock.is-masked,
.copy.is-masked {
  position: relative;
}
.linkon-prompt-mask-text {
  font-size: 14px;
  color: #666;
  padding: 8px 16px;
  background: #C9FF85;
  border-radius: 999px;
  cursor: pointer;
}
.tab-group a.tab {
  text-decoration: none;
  color: inherit;
}

@media (min-width: 769px) {
  .head1 { flex-wrap: nowrap !important; }
  .head1 > .logo {
    flex: 0 1 auto;
    min-width: 0;
  }
  .head1 > .nav {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    gap: clamp(8px, 0.8vw, 16px);
  }
  .head1 .nav .menu.pc {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap !important;
    margin-right: 0 !important;
    justify-content: flex-end;
  }
}

body.linkon-logged-in .logo-tagline {
  display: none;
}

body.linkon-logged-in .head1 > .logo {
  max-width: 28%;
}

body.linkon-logged-in .head1 .signup-btn.is-logged .arrow-icon {
  display: none;
}

@media (min-width: 769px) and (max-width: 1360px) {
  body.linkon-logged-in .linkon-header-logout {
    display: none;
  }
}

.aigc3-list .item {
  position: relative;
}

.linkon-card-head {
  gap: 8px;
  align-items: flex-start;
}

.linkon-card-head .t1 {
  flex: 1;
  min-width: 0;
}

.linkon-favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #888;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1.2;
}

.linkon-favorite-btn .linkon-favorite-icon {
  font-size: 14px;
  line-height: 1;
}

.linkon-favorite-btn.is-on,
.linkon-favorite-btn.is-on .linkon-favorite-icon {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.35);
}

.linkon-favorite-btn.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

.aigc3-list .item > .linkon-favorite-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.aigc3-list .item .intr .linkon-favorite-btn {
  position: static;
  box-shadow: none;
}
