* {
  box-sizing: border-box;
}

:root {
  --bg: #eef3f8;
  --panel: #ffffff;
  --soft: #f8fbff;
  --text: #172033;
  --muted: #64748b;
  --line: #dbe5f0;
  --brand: #0ea5e9;
  --brand-dark: #0369a1;
  --green: #10b981;
  --amber: #f59e0b;
  --violet: #7c3aed;
  --danger: #dc2626;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.58;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  color: #075985;
}

img {
  max-width: 100%;
}

button,
.button,
.primary-action,
.secondary-action,
.btn {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 13px;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

button,
.primary-action,
.btn-primary,
.btn-success {
  background: var(--brand);
  color: #fff;
}

.secondary-action,
.button,
.btn-outline-secondary,
.btn-light {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--line);
}

button:disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

input,
select,
textarea,
.form-control,
.form-select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 9px 10px;
  font: inherit;
  background: #fff;
}

textarea,
textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.checkout-page {
  max-width: 1120px;
  margin: 32px auto 56px;
  padding: 0 20px;
}

.checkout-hero {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.checkout-eyebrow {
  width: max-content;
  padding: 4px 9px;
  border: 1px solid #b7e4d2;
  border-radius: 999px;
  color: #047857;
  background: #ecfdf5;
  font-size: 12px;
  font-weight: 700;
}

.checkout-hero h1,
.checkout-hero p,
.checkout-plan-head h2,
.checkout-plan-head span,
.checkout-note,
.checkout-state h2,
.checkout-state p,
.checkout-status-line h2,
.checkout-status-line p,
.checkout-success-card h2,
.checkout-success-card p {
  margin: 0;
}

.checkout-hero h1 {
  font-size: 30px;
  line-height: 1.2;
}

.checkout-hero p,
.checkout-note,
.checkout-state p,
.checkout-status-line p,
.checkout-success-card p {
  color: var(--muted);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.checkout-summary,
.checkout-result,
.checkout-empty-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.checkout-summary {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
}

.checkout-plan-head {
  display: grid;
  gap: 6px;
}

.checkout-plan-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-plan-head h2 {
  font-size: 22px;
  line-height: 1.25;
}

.checkout-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
}

.checkout-price span {
  font-weight: 700;
}

.checkout-price strong {
  font-size: 34px;
  line-height: 1;
}

.checkout-facts,
.checkout-order-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.checkout-facts div,
.checkout-order-meta div {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.checkout-facts dt,
.checkout-order-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.checkout-facts dd,
.checkout-order-meta dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  word-break: break-all;
}

.checkout-primary-button {
  width: 100%;
  min-height: 44px;
  font-weight: 700;
  background: #0f766e;
}

.checkout-primary-button:hover {
  background: #115e59;
}

.checkout-primary-button.is-loading {
  background: #64748b;
}

.checkout-result {
  min-height: 420px;
  padding: 26px;
}

.checkout-state,
.checkout-success-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.checkout-state-dot,
.checkout-pulse {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--brand);
}

.checkout-result-loading .checkout-state-dot,
.checkout-pulse {
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.34);
  animation: checkoutPulse 1.4s infinite;
}

.checkout-result-failed .checkout-state-dot,
.checkout-result-timeout .checkout-state-dot {
  background: var(--danger);
}

.checkout-status-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.checkout-status-line h2,
.checkout-state h2,
.checkout-success-card h2 {
  font-size: 22px;
  line-height: 1.25;
}

.checkout-pay-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding-top: 22px;
}

.checkout-qr-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.checkout-qr-image {
  width: 260px;
  height: 260px;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

.checkout-qr-link {
  font-size: 13px;
  font-weight: 700;
}

.checkout-success-mark {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #10b981;
}

.checkout-success-mark::after {
  position: absolute;
  left: 22px;
  top: 15px;
  width: 16px;
  height: 28px;
  border: solid #fff;
  border-width: 0 5px 5px 0;
  content: "";
  transform: rotate(45deg);
}

.checkout-order-meta-compact {
  width: min(100%, 420px);
}

.checkout-redirect-note strong {
  color: #047857;
  font-size: 20px;
}

.checkout-empty-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.checkout-tier-list {
  display: grid;
  gap: 10px;
}

.checkout-tier-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

@keyframes checkoutPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.34);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

@media (max-width: 820px) {
  .checkout-grid,
  .checkout-pay-layout {
    grid-template-columns: 1fr;
  }

  .checkout-result {
    min-height: 0;
  }

  .checkout-state,
  .checkout-success-card {
    min-height: 240px;
  }
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-weight: 700;
}

label,
.form-label {
  display: grid;
  gap: 6px;
  color: #334155;
}

table,
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td,
.table th,
.table td {
  text-align: left;
  padding: 10px 11px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.online-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 229, 240, 0.95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.online-topbar-inner {
  display: grid;
  grid-template-columns: 238px minmax(260px, 440px) minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  max-width: 1540px;
  margin: 0 auto;
  padding: 13px 18px;
}

.online-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  white-space: nowrap;
}

.online-brand img {
  border-radius: 10px;
  object-fit: cover;
  background: #e0f2fe;
}

.online-brand strong,
.online-brand small {
  display: block;
}

.online-brand strong {
  font-size: 18px;
}

.online-brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.online-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  justify-self: center;
}

.online-search input {
  min-height: 42px;
  padding-left: 44px;
  border-color: #bfdbfe;
  background: var(--soft);
}

.search-symbol {
  position: absolute;
  left: 11px;
  top: 50%;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  transform: translateY(-50%);
  color: #0369a1;
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.16);
}

.search-symbol svg {
  display: block;
}

.online-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.navbar-user-section {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.topic-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.topic-nav-button:hover {
  border-color: #93c5fd;
  background: #f0f9ff;
  color: #0369a1;
}

.auth-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.auth-btn.login-btn {
  border: 1px solid #dbe5f0;
  background: #fff;
  color: #334155;
}

.auth-btn.register-btn {
  border: 0;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
}

.user-dropdown {
  position: relative;
}

.user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.user-avatar {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #0369a1;
  font-size: 20px;
}

.dropdown-arrow {
  color: #94a3b8;
  font-size: 12px;
  transition: transform 0.18s ease;
}

.user-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown .modern-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: block;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  border: 1px solid #dbe5f0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.user-dropdown .modern-dropdown {
  border-top-right-radius: 12px;
}

.user-dropdown .modern-dropdown::before,
.language-menu::before {
  content: "";
  position: absolute;
  top: -9px;
  right: 0;
  width: var(--trigger-width, 100%);
  height: 9px;
}

.user-dropdown:hover .modern-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.modern-dropdown li {
  list-style: none;
}

.modern-dropdown .dropdown-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.modern-dropdown .dropdown-item:hover {
  background: #e0f2fe;
  color: #0369a1;
}

.modern-dropdown .dropdown-item.text-danger {
  color: #dc2626;
}

.modern-dropdown .dropdown-divider {
  margin: 6px 4px;
  border-color: #e2e8f0;
}

.language-switcher {
  position: relative;
  z-index: 60;
}

.language-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #dbe5f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher[open] summary {
  border-color: #93c5fd;
  color: #0369a1;
}

.language-switcher summary i {
  color: #94a3b8;
  font-size: 12px;
  transition: transform 0.18s ease;
}

.language-switcher[open] summary i {
  transform: rotate(180deg);
}

.language-flag {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 18px;
  min-width: 24px;
  border-radius: 3px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.language-switcher summary .language-flag {
  width: 20px;
  height: 15px;
  min-width: 20px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 230px;
  max-height: min(420px, calc(100vh - 100px));
  overflow: auto;
  padding: 8px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
  border-top-right-radius: 19px;
}

.language-menu a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.language-menu a:hover,
.language-menu a.active {
  background: #e0f2fe;
  color: #0369a1;
}

.language-menu small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.mobile-menu {
  display: none;
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--line);
}

.language-bar {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 18px 11px;
}

.language-bar a {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}

.language-bar a.active {
  color: #075985;
  background: #e0f2fe;
}

.online-frame {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 18px;
  max-width: 1540px;
  margin: 0 auto;
  padding: 18px;
}

.online-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  max-height: calc(100vh - 112px);
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.sidebar-title {
  padding: 8px 9px 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sidebar-title.secondary {
  margin-top: 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  margin: 3px 0;
  border-radius: 6px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.sidebar-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sidebar-link > span:not(.sidebar-icon) {
  min-width: 0;
  flex: 1;
}

.sidebar-link:hover {
  background: #f0f9ff;
  color: #075985;
  transform: translateX(3px);
  box-shadow: inset 3px 0 0 #7dd3fc;
}

.sidebar-link:hover .sidebar-icon {
  background: #e0f2fe;
  color: #0369a1;
  transform: scale(1.04);
}

.sidebar-link.active {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.sidebar-link.active .sidebar-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.online-content {
  min-width: 0;
}

.online-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1540px;
  margin: 0 auto;
  padding: 28px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.online-footer p {
  margin: 4px 0 0;
}

.online-hero,
.category-hero,
.tool-header-card,
.online-section,
.platform-tile,
.online-tool-card,
.tool-workbench,
.tool-side-panel .side-box,
.tool-actions,
.tool-shell,
.category-shortcuts,
.cookie-consent,
.cookie-consent-minimal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.online-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}

.hero-main {
  padding: 38px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-main h1,
.category-hero h1,
.tool-header-card h1 {
  margin: 0 0 14px;
  line-height: 1.18;
}

.hero-main h1 {
  max-width: 820px;
  font-size: 38px;
}

.hero-lead,
.category-hero p,
.tool-header-card p,
.section-head p,
.platform-tile p,
.online-tool-card p {
  color: var(--muted);
}

.hero-lead {
  max-width: 860px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-stats {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-left: 1px solid var(--line);
  background: #f8fbff;
}

.hero-stats div {
  display: grid;
  align-content: center;
  min-height: 96px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbeafe;
}

.hero-stats strong {
  color: var(--brand-dark);
  font-size: 36px;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.platform-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.platform-tile {
  padding: 18px;
}

.platform-tile h2 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.tile-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
}

.tile-icon.blue { background: var(--brand); }
.tile-icon.green { background: var(--green); }
.tile-icon.amber { background: var(--amber); }
.tile-icon.violet { background: var(--violet); }

.category-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px;
  margin-bottom: 16px;
}

.category-shortcuts a {
  padding: 7px 10px;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  background: #f8fbff;
  color: #334155;
  font-weight: 700;
  font-size: 14px;
}

.online-section,
.online-category-section {
  padding: 18px;
  margin-bottom: 16px;
}

.online-category-section {
  border-top: 1px solid var(--line);
}

.online-category-section:first-child {
  border-top: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-head p {
  margin: 4px 0 0;
}

.online-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 13px;
}

.online-tool-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  min-height: 148px;
  padding: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.online-tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.tool-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tool-icon-wrap {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 12px;
  background: #f1f5f9;
  overflow: hidden;
}

.tool-icon-wrap img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.tool-card-body {
  min-width: 0;
}

.tool-card-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}

.tool-card-meta span,
.tool-type,
.vip-pill {
  width: max-content;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
}

.tool-card-meta span,
.tool-type {
  color: #0369a1;
  background: #e0f2fe;
}

.vip-pill {
  color: #92400e;
  background: #fef3c7;
}

.online-tool-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.35;
}

.online-tool-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
}

.open-tool {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: end;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.category-hero,
.tool-header-card {
  margin-bottom: 16px;
  padding: 24px;
}

.category-hero h1 {
  font-size: 31px;
}

.collection-hero {
  margin-bottom: 18px;
  padding: 46px 24px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  color: #fff;
  text-align: center;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.collection-hero.latest {
  background: linear-gradient(135deg, #2563eb 0%, #0f766e 100%);
}

.collection-hero.hot {
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
}

.collection-hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.collection-hero h1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.18;
}

.collection-hero p {
  margin: 0 auto;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.collection-note,
.managed-page-note {
  margin-top: 10px !important;
  font-size: 13px !important;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 20px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.collection-tool-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.collection-tool-card {
  min-height: 166px;
}

.collection-empty {
  padding: 56px 12px;
  text-align: center;
}

.collection-empty i {
  display: block;
  margin-bottom: 12px;
  color: #cbd5e1;
  font-size: 42px;
}

.managed-page {
  max-width: 980px;
  margin: 0 auto;
}

.managed-page-hero {
  margin-bottom: 18px;
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--line);
}

.managed-page-hero h1 {
  margin: 12px 0 10px;
  font-size: 34px;
  line-height: 1.18;
}

.managed-page-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
}

.managed-page-content {
  color: #1f2937;
  font-size: 15px;
  line-height: 1.78;
}

.managed-page-content.collection-intro {
  max-width: 980px;
  margin: 0 auto 18px;
  padding: 0 4px;
}

.managed-page-content h1,
.managed-page-content h2,
.managed-page-content h3,
.managed-page-content h4 {
  margin: 24px 0 10px;
  color: #0f172a;
  line-height: 1.28;
}

.managed-page-content h1 { font-size: 30px; }
.managed-page-content h2 { font-size: 24px; }
.managed-page-content h3 { font-size: 20px; }
.managed-page-content h4 { font-size: 17px; }

.managed-page-content p,
.managed-page-content ul,
.managed-page-content ol {
  margin-top: 0;
}

.managed-page-content li {
  margin: 6px 0;
}

.managed-page-content code,
.managed-page-content kbd {
  border-radius: 4px;
  padding: 2px 5px;
  background: #f1f5f9;
  color: #0f172a;
}

.managed-page-content .alert {
  border: 1px solid #fde68a;
  border-radius: 8px;
  margin: 16px 0;
  padding: 12px 14px;
  background: #fffbeb;
  color: #78350f;
}

.managed-page-content .accordion-item {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.managed-page-content .accordion-header {
  margin: 0;
}

.managed-page-content .accordion-button {
  width: 100%;
  border: 0;
  padding: 13px 15px;
  background: #f8fafc;
  color: #0f172a;
  text-align: left;
  font-weight: 800;
}

.managed-page-content .accordion-body {
  padding: 14px 15px;
}

.tool-header-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.tool-header-card > img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #f1f5f9;
  object-fit: contain;
}

.breadcrumb,
.tool-title-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumb {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.tool-title-line h1 {
  margin: 0;
  font-size: 30px;
}

.tool-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.tool-workbench {
  padding: 16px;
}

.tool-shell {
  padding: 16px;
  overflow: auto;
}

.tool-description {
  margin-top: 16px;
  padding: 18px 2px 4px;
  border-top: 1px solid var(--line);
  color: var(--text);
  line-height: 1.78;
}

.tool-description h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.tool-description :where(p, ul, ol, blockquote, pre, table) {
  margin: 0 0 14px;
}

.tool-description ul,
.tool-description ol {
  padding-left: 22px;
}

.tool-description img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.tool-description table {
  width: 100%;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

.tool-description th,
.tool-description td {
  padding: 9px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.tool-description .alert {
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
}

.tool-description .accordion {
  display: grid;
  gap: 10px;
}

.tool-description .accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tool-description .accordion-header {
  margin: 0;
}

.tool-description .accordion-button {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: #f8fafc;
  color: var(--text);
  text-align: left;
  white-space: normal;
  cursor: pointer;
  transform: none;
  box-shadow: none;
}

.tool-description .accordion-body {
  padding: 13px 14px;
  border-top: 1px solid var(--line);
}

.tool-description kbd {
  display: inline-block;
  min-width: 22px;
  padding: 2px 6px;
  border: 1px solid #cbd5e1;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #f8fafc;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.local-notice {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 13px;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  background: #f0f9ff;
  color: #075985;
}

.local-notice.queue {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.local-notice.download {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.tool-side-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.side-box {
  padding: 16px;
}

.side-box h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.tool-action-box {
  position: relative;
  overflow: visible;
}

.side-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.secondary-action.full {
  width: 100%;
  margin-bottom: 10px;
}

.tool-action-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.tool-action-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.14);
}

.tool-action-button:active:not(:disabled) {
  transform: translateY(0);
}

.tool-action-button i {
  font-size: 16px;
}

.tool-action-button.is-loading {
  color: transparent;
  pointer-events: none;
}

.tool-action-button.is-loading i,
.tool-action-button.is-loading span {
  opacity: 0;
}

.tool-action-button.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-top-color: #fff;
  border-radius: 999px;
  animation: tool-action-spin 0.72s linear infinite;
}

.secondary-action.tool-action-button.is-loading::after {
  border-color: rgba(3, 105, 161, 0.18);
  border-top-color: #0369a1;
}

.favorite-button.is-favorited {
  border-color: #facc15;
  background: #fffbeb;
  color: #92400e;
}

.favorite-button.is-favorited i {
  color: #f59e0b;
}

.rating-submit {
  width: 100%;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.14);
}

.tool-action-button.is-success-pulse {
  animation: tool-action-pulse 0.65s ease;
}

.tool-action-toast {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 210px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: rgba(240, 253, 244, 0.98);
  color: #166534;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.tool-action-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tool-action-toast.is-error {
  border-color: #fecaca;
  background: rgba(254, 242, 242, 0.98);
  color: #b91c1c;
}

@keyframes tool-action-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tool-action-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.34);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.rating-form,
.api-task-panel,
.download-panel {
  display: grid;
  gap: 12px;
}

.task-status-panel,
.tool-unavailable,
.status-warning,
.empty-state {
  padding: 14px;
  border-radius: 8px;
}

.task-status-panel {
  margin-top: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.tool-unavailable,
.status-warning,
.empty-state {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.tool-unavailable strong {
  display: block;
  margin-bottom: 4px;
}

.legacy-tool-embed {
  min-height: 260px;
}

.legacy-tool-embed .container,
.container {
  width: 100%;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.legacy-tool-embed .container-fluid,
.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -8px;
  margin-left: -8px;
}

[class*="col-"] {
  min-width: 0;
  padding-right: 8px;
  padding-left: 8px;
}

.col,
.col-md-12,
.col-lg-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-6,
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-4,
.col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-3,
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-2,
.col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.card-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  font-weight: 800;
}

.card-body {
  padding: 14px;
}

.table-responsive {
  overflow-x: auto;
}

.form-check {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-right: 10px;
}

.form-check-input {
  width: auto;
}

.form-check-label {
  display: inline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
}

.btn-sm {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 13px;
}

.btn-warning { background: var(--amber); color: #fff; }
.btn-info { background: #38bdf8; color: #083344; }
.btn-danger,
.btn-outline-danger { background: var(--danger); color: #fff; }
.btn-outline-primary { background: #fff; color: var(--brand-dark); border-color: #93c5fd; }

.alert {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
}

.alert-info {
  color: #075985;
}

.progress {
  height: 18px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  color: #fff;
  text-align: center;
  background: var(--brand);
}

.collapse:not(.show) {
  display: none;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  text-align: left;
  background: #f8fafc;
  color: var(--text);
  border: 0;
  border-radius: 0;
}

.accordion-body {
  padding: 12px;
}

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.flex-grow-1 { flex-grow: 1; }
.text-center { text-align: center; }
.text-muted,
.muted { color: var(--muted); }
.fw-bold { font-weight: 800; }
.font-monospace { font-family: Consolas, "Courier New", monospace; }
.border { border: 1px solid var(--line); }
.rounded { border-radius: 8px; }
.shadow-sm { box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05); }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.top-0 { top: 0; }
.end-0 { right: 0; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.py-5 { padding-top: 40px; padding-bottom: 40px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 28px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.me-1 { margin-right: 4px; }
.me-2 { margin-right: 8px; }
.me-3 { margin-right: 12px; }
.ms-1 { margin-left: 4px; }
.w-auto { width: auto; }
.h-100 { height: 100%; }

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 0.25em solid #bfdbfe;
  border-right-color: var(--brand);
  border-radius: 50%;
  animation: spinner 0.75s linear infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

.cookie-consent,
.cookie-consent-minimal {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 22px;
  z-index: 80;
  width: min(920px, calc(100vw - 32px));
  max-width: none;
  margin: 0;
  padding: 18px;
  transform: translateX(-50%);
}

.cookie-consent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-color: #cfe0ef;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(16px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cookie-consent.is-saved {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

.cookie-consent-copy {
  display: grid;
  gap: 6px;
}

.cookie-consent-copy strong {
  color: #111827;
  font-size: 16px;
  line-height: 1.3;
}

.cookie-consent-copy p {
  max-width: 720px;
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent-copy a {
  width: max-content;
  color: #0369a1;
  font-size: 13px;
  font-weight: 700;
}

.cookie-consent button {
  min-width: 178px;
  min-height: 44px;
  border-radius: 7px;
  background: #0f766e;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-consent button:hover {
  background: #115e59;
}

@media (max-width: 1180px) {
  .online-topbar-inner {
    grid-template-columns: 238px minmax(220px, 380px) minmax(0, 1fr) auto auto;
  }

  .platform-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-page-layout,
  .online-hero {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .online-frame {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .online-sidebar {
    display: none;
    position: fixed;
    inset: 88px 14px auto 14px;
    z-index: 70;
    max-height: calc(100vh - 110px);
  }

  .online-sidebar.is-open {
    display: block;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .online-topbar-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .online-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .navbar-user-section .user-name,
  .navbar-user-section .auth-btn span,
  .topic-nav-button span {
    display: none;
  }

  .auth-btn,
  .topic-nav-button {
    width: 38px;
    justify-content: center;
    padding: 7px;
  }

  .language-name {
    display: none;
  }

  .language-switcher summary {
    width: 42px;
    justify-content: center;
    padding: 7px;
  }

  .language-switcher summary i {
    display: none;
  }

  .hero-main {
    padding: 26px;
  }

  .hero-main h1 {
    font-size: 30px;
  }

  .collection-hero {
    padding: 32px 16px;
    border-radius: 0 0 18px 18px;
  }

  .collection-hero h1,
  .managed-page-hero h1 {
    font-size: 28px;
  }

  .platform-row,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .online-footer {
    flex-direction: column;
  }

  .col-md-6,
  .col-lg-6,
  .col-md-4,
  .col-lg-4,
  .col-md-3,
  .col-lg-3,
  .col-md-2,
  .col-lg-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    align-items: stretch;
    bottom: 14px;
    padding: 16px;
  }

  .cookie-consent button {
    width: 100%;
  }
}

.yk-account-page {
  padding: 10px 0 32px;
}

.yk-auth-page {
  display: grid;
  min-height: calc(100vh - 190px);
  padding: 34px 0 48px;
  place-items: start center;
  background: #eef3f8;
}

.yk-auth-page .auth-shell {
  width: min(520px, calc(100vw - 32px));
  margin: 0 auto;
}

.yk-auth-page .auth-side,
.yk-auth-page .auth-panel {
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.yk-auth-page .auth-side {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2540 0%, #145a9f 56%, #0f766e 100%);
  color: #fff;
}

.yk-auth-page .auth-side-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: #fff;
}

.yk-auth-page .auth-side-brand img {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.yk-auth-page .auth-side-brand strong,
.yk-auth-page .auth-side-brand small {
  display: block;
}

.yk-auth-page .auth-side-brand strong {
  font-size: 18px;
}

.yk-auth-page .auth-side-brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.yk-auth-page .auth-side-copy {
  max-width: 620px;
}

.yk-auth-page .auth-side-copy .eyebrow {
  margin: 0 0 12px;
  color: #bae6fd;
  font-size: 13px;
  font-weight: 900;
}

.yk-auth-page .auth-side-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.18;
}

.yk-auth-page .auth-side-copy p {
  max-width: 580px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.yk-auth-page .auth-side-list {
  display: grid;
  gap: 10px;
}

.yk-auth-page .auth-side-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.yk-auth-page .auth-side-list i {
  color: #fde68a;
  font-size: 18px;
}

.yk-auth-page .auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 32px 28px;
  background: rgba(255, 255, 255, 0.97);
}

.yk-auth-page .auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.yk-auth-page .auth-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border-radius: 7px;
  color: #475569;
  font-weight: 900;
}

.yk-auth-page .auth-switch a.active {
  background: #fff;
  color: #0369a1;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.yk-auth-page .auth-form {
  display: grid;
  gap: 14px;
}

.yk-auth-page .auth-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 4px;
}

.yk-auth-page .auth-title-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  font-size: 22px;
}

.yk-auth-page .auth-title h2 {
  margin: 0;
  color: #172033;
  font-size: 22px;
  line-height: 1.22;
}

.yk-auth-page .auth-title p {
  margin: 4px 0 0;
  color: #64748b;
}

.yk-auth-page .auth-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-weight: 800;
}

.yk-auth-page .auth-form label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.yk-auth-page .captcha-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 82px;
  gap: 8px;
}

.yk-auth-page .captcha-row strong,
.yk-auth-page .captcha-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
}

.yk-auth-page .captcha-row strong {
  border: 1px solid #dbeafe;
  background: #f8fbff;
  color: #0369a1;
  font-size: 16px;
}

.yk-auth-page .captcha-row button {
  border: 1px solid #bfdbfe;
  background: #fff;
  color: #0369a1;
  font-weight: 900;
}

.yk-auth-page .invite-help {
  position: relative;
  border: 0;
  background: transparent;
  color: #0369a1;
  font-size: 13px;
  font-weight: 900;
}

.yk-auth-page .invite-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  display: block;
  width: 230px;
  padding: 8px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.yk-auth-page .invite-popover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.yk-auth-page .invite-help:hover .invite-popover,
.yk-auth-page .invite-help.is-open .invite-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.yk-auth-page .auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 2px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.yk-auth-page .auth-submit-gold {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #5a3d00;
}

.yk-auth-page .auth-submit:hover {
  transform: translateY(-1px);
}

.yk-auth-page .auth-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.yk-auth-page .auth-message {
  min-height: 22px;
  margin: 0;
  color: #0369a1;
  font-weight: 800;
}

.yk-auth-page .auth-message.is-success {
  color: #047857;
}

.yk-auth-page .auth-message.is-error {
  color: #dc2626;
}

.yk-auth-page.auth-success .auth-panel {
  border-color: rgba(16, 185, 129, 0.42);
  box-shadow: 0 18px 38px rgba(16, 185, 129, 0.13);
}

.yk-auth-page.auth-shake .auth-panel {
  animation: yk-auth-shake 0.34s ease;
}

@keyframes yk-auth-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@media (max-width: 980px) {
  .yk-auth-page .auth-shell {
    width: min(520px, calc(100vw - 28px));
  }
}

@media (max-width: 560px) {
  .yk-auth-page .auth-shell {
    width: min(100% - 24px, 520px);
  }

  .yk-auth-page .auth-panel {
    padding: 18px;
  }

  .yk-auth-page .auth-side-copy h1 {
    font-size: 26px;
  }

  .yk-auth-page .captcha-row {
    grid-template-columns: 1fr;
  }
}

.yk-account-page .container {
  max-width: 1180px;
}

.yk-account-page .modern-card {
  margin-bottom: 16px;
  border: 1px solid rgba(219, 229, 240, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.yk-account-page .profile-hero {
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.yk-account-page .hero-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px;
}

.yk-account-page .hero-avatar-box {
  position: relative;
  flex-shrink: 0;
}

.yk-account-page .hero-avatar {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.yk-account-page .hero-avatar-badge {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 20px;
  height: 20px;
  border: 3px solid #1e293b;
  border-radius: 50%;
  background: #22c55e;
}

.yk-account-page .hero-info {
  min-width: 0;
  flex: 1;
}

.yk-account-page .hero-username {
  margin: 0 0 10px;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
}

.yk-account-page .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.yk-account-page .hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.yk-account-page .hero-meta-item i {
  color: #bae6fd;
}

.yk-account-page .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.yk-account-page .vip-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 800;
}

.yk-account-page .vip-pill.is-vip {
  border-color: rgba(251, 191, 36, 0.42);
  background: rgba(251, 191, 36, 0.14);
  color: #fde68a;
}

.yk-account-page .logout-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.yk-account-page .logout-link:hover {
  color: #fff;
}

.yk-account-page .account-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.yk-account-page .metric-card {
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.yk-account-page .metric-card strong {
  display: block;
  color: #0369a1;
  font-size: 30px;
  line-height: 1;
}

.yk-account-page .metric-card span {
  display: block;
  margin-top: 7px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.yk-account-page .account-panel-card,
.yk-account-page .vip-section-card,
.yk-account-page .account-form-card {
  padding: 20px;
}

.yk-account-page .vip-section-card {
  color: #fff;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.yk-account-page .vip-section-card.is-normal {
  color: #172033;
  background: #fff;
  border-color: #dbe5f0;
}

.yk-account-page .account-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
}

.yk-account-page .vip-section-card:not(.is-normal) .account-section-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.yk-account-page .account-section-header h2 {
  margin: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1.25;
}

.yk-account-page .account-section-header p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.yk-account-page .vip-section-card:not(.is-normal) .account-section-header p {
  color: rgba(255, 255, 255, 0.62);
}

.yk-account-page .section-icon,
.yk-account-page .section-header-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  font-size: 22px;
}

.yk-account-page .icon-vip-active {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #5a3d00;
}

.yk-account-page .icon-vip-inactive {
  background: #f0f9ff;
  color: #0284c7;
}

.yk-account-page .vip-status-box,
.yk-account-page .benefit-item {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.yk-account-page .vip-section-card.is-normal .vip-status-box,
.yk-account-page .vip-section-card.is-normal .benefit-item {
  border-color: #e2e8f0;
  background: #f8fafc;
}

.yk-account-page .vip-status-box i {
  color: #facc15;
  font-size: 24px;
}

.yk-account-page .vip-status-box strong,
.yk-account-page .benefit-item strong {
  display: block;
  color: inherit;
}

.yk-account-page .vip-status-box span,
.yk-account-page .benefit-item span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.yk-account-page .vip-section-card.is-normal .vip-status-box span,
.yk-account-page .vip-section-card.is-normal .benefit-item span {
  color: #64748b;
}

.yk-account-page .benefit-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #5a3d00;
  font-size: 18px;
}

.yk-account-page .btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  border-radius: 8px;
  font-weight: 800;
}

.yk-account-page .btn-gradient {
  border: 0;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.yk-account-page .btn-gold {
  border: 0;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #5a3d00;
}

.yk-account-page .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.yk-account-page .btn-outline-primary {
  border-color: #93c5fd;
  background: #fff;
  color: #0369a1;
}

.yk-account-page .btn-outline-danger {
  border-color: #fecaca;
  background: #fff;
  color: #dc2626;
}

.yk-account-page .profile-dl {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.yk-account-page .profile-dl dt {
  color: #64748b;
  font-weight: 800;
}

.yk-account-page .profile-dl dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.yk-account-page .account-tool-list,
.yk-account-page .mini-list {
  display: grid;
  gap: 8px;
}

.yk-account-page .account-tool-item,
.yk-account-page .mini-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.yk-account-page .account-tool-item span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #172033;
  font-weight: 800;
}

.yk-account-page .open-tool-button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.yk-account-page .account-tool-item em,
.yk-account-page .mini-list em {
  flex-shrink: 0;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.yk-account-page .ticket-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.yk-account-page .ticket-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #fff;
}

.yk-account-page .ticket-card header,
.yk-account-page .ticket-card footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.yk-account-page .ticket-card strong {
  display: block;
  color: #172033;
  overflow-wrap: anywhere;
}

.yk-account-page .ticket-card header span,
.yk-account-page .ticket-card footer {
  color: #64748b;
  font-size: 12px;
}

.yk-account-page .ticket-card p {
  margin: 0;
  color: #334155;
  line-height: 1.65;
  white-space: pre-wrap;
}

.yk-account-page .ticket-card blockquote {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid #0ea5e9;
  border-radius: 6px;
  background: #f0f9ff;
  color: #334155;
}

.yk-account-page .ticket-card blockquote b {
  display: block;
  margin-bottom: 4px;
  color: #0369a1;
}

.yk-account-page .ticket-status {
  flex-shrink: 0;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.yk-account-page .ticket-status.status-processing { background: #fef3c7; color: #92400e; }
.yk-account-page .ticket-status.status-resolved { background: #dcfce7; color: #166534; }
.yk-account-page .ticket-status.status-closed { background: #f1f5f9; color: #475569; }

.yk-account-page .feedback-record-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #f8fbff;
}

.yk-account-page .feedback-record-entry strong {
  display: block;
  color: #0369a1;
  font-size: 26px;
  line-height: 1;
}

.yk-account-page .feedback-record-entry span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.yk-account-page .feedback-record-toolbar {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #f8fafc;
}

.yk-account-page .feedback-record-toolbar strong {
  color: #172033;
}

.yk-account-page .feedback-record-toolbar span {
  color: #64748b;
  font-size: 13px;
}

.yk-account-page .feedback-record-list {
  display: grid;
  gap: 9px;
}

.yk-account-page .feedback-record-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-align: left;
}

.yk-account-page .feedback-record-item:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}

.yk-account-page .feedback-record-main strong,
.yk-account-page .feedback-record-main em {
  display: block;
  overflow-wrap: anywhere;
}

.yk-account-page .feedback-record-main strong {
  color: #172033;
}

.yk-account-page .feedback-record-main em,
.yk-account-page .feedback-record-foot {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.yk-account-page .feedback-record-preview {
  grid-column: 1 / -1;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.yk-account-page .feedback-record-foot {
  grid-column: 1 / -1;
}

.yk-account-page .feedback-record-pager,
.yk-account-page .feedback-detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.yk-account-page .feedback-record-pager button,
.yk-account-page .feedback-detail-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.yk-account-page .feedback-thread-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 9px;
  margin: 12px 0;
}

.yk-account-page .feedback-thread-meta div {
  padding: 10px 11px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #172033;
  font-weight: 800;
}

.yk-account-page .feedback-thread-meta span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 12px;
}

.yk-account-page .feedback-thread-list {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.yk-account-page .feedback-thread-message {
  padding: 12px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #fff;
}

.yk-account-page .feedback-thread-message.is-admin {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.yk-account-page .feedback-thread-message header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 12px;
}

.yk-account-page .feedback-thread-message header strong {
  color: #172033;
  font-size: 13px;
}

.yk-account-page .feedback-thread-message p {
  margin: 0;
  color: #334155;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.yk-account-page .feedback-thread-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.yk-account-page .feedback-thread-attachments a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #0369a1;
  font-size: 12px;
  font-weight: 800;
}

.yk-account-page .feedback-thread-reply {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.yk-account-page .feedback-thread-reply textarea {
  min-height: 120px;
}

.yk-account-page .account-table-wrap {
  overflow-x: auto;
}

.yk-account-page .referral-balance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.yk-account-page .referral-intro {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 13px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.yk-account-page .referral-intro div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yk-account-page .referral-intro span,
.yk-account-page .invite-link-box span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.yk-account-page .referral-intro strong {
  color: #0369a1;
  font-size: 24px;
  line-height: 1;
}

.yk-account-page .referral-intro p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.7;
}

.yk-account-page .invite-link-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.yk-account-page .invite-link-box span {
  grid-column: 1 / -1;
}

.yk-account-page .invite-link-box code,
.yk-account-page .invite-link-box em {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 7px;
  background: #f8fafc;
  color: #0f172a;
  font-style: normal;
  overflow-wrap: anywhere;
}

.yk-account-page .invite-link-box button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.yk-account-page .referral-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.yk-account-page .referral-balance div {
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.yk-account-page .referral-balance strong {
  display: block;
  color: #0369a1;
  font-size: 24px;
  line-height: 1;
}

.yk-account-page .referral-balance span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.yk-account-page .compact-form {
  display: grid;
  gap: 11px;
}

.yk-account-page .compact-form label,
.yk-account-page .account-form-card label {
  gap: 6px;
  color: #334155;
  font-weight: 700;
}

.yk-account-page .account-form-card {
  display: grid;
  gap: 12px;
}

.yk-account-page .account-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.yk-account-page .privacy-actions {
  display: grid;
  gap: 10px;
}

.yk-account-page .privacy-actions form {
  margin: 0;
}

.yk-account-page .account-message {
  min-height: 20px;
  margin: 10px 0 0;
  color: #0369a1;
  font-weight: 700;
}

.yk-account-page .account-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.46);
}

.yk-account-page .account-modal-backdrop[hidden] {
  display: none;
}

.yk-account-page .account-modal {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(860px, 100%);
  max-height: calc(100vh - 36px);
  overflow: hidden;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.yk-account-page .account-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fbff;
}

.yk-account-page .account-modal h2 {
  margin: 0;
  color: #172033;
  font-size: 18px;
}

.yk-account-page .account-modal header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border-radius: 7px;
}

.yk-account-page .account-modal-message {
  min-height: 20px;
  padding: 8px 16px 0;
  color: #0369a1;
  font-weight: 800;
}

.yk-account-page .account-modal-body {
  min-height: 0;
  overflow: auto;
  padding: 16px;
}

.yk-account-page .account-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
}

@media (min-width: 861px) {
  .yk-account-page .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .yk-account-page .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
}

@media (max-width: 860px) {
  .yk-account-page .hero-content {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .yk-account-page .hero-actions {
    align-items: stretch;
    width: 100%;
  }

  .yk-account-page .account-metrics,
  .yk-account-page .account-auth-grid,
  .yk-account-page .referral-balance,
  .yk-account-page .referral-actions,
  .yk-account-page .feedback-record-entry {
    grid-template-columns: 1fr;
  }

  .yk-account-page .feedback-record-entry .btn-action {
    width: 100%;
  }

  .yk-account-page .invite-link-box {
    grid-template-columns: 1fr;
  }

  .yk-account-page .col-lg-7,
  .yk-account-page .col-lg-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .yk-account-page .profile-dl {
    grid-template-columns: 1fr;
  }
}

.yk-account-page {
  background:
    linear-gradient(180deg, rgba(240, 249, 255, 0.72) 0%, rgba(238, 243, 248, 0) 260px);
}

.yk-account-page .modern-card {
  border-color: rgba(203, 213, 225, 0.72);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.yk-account-page .modern-card:hover {
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
}

.yk-account-page .profile-hero {
  background: linear-gradient(135deg, #0a2540 0%, #145a9f 54%, #0f766e 100%);
}

.yk-account-page .metric-card {
  position: relative;
  overflow: hidden;
}

.yk-account-page .metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #10b981);
}

.yk-account-page .account-panel-card {
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.yk-account-page .account-tool-item {
  background: #fff;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.yk-account-page .account-tool-item:hover {
  transform: translateY(-1px);
  border-color: #93c5fd;
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.11);
}

.yk-account-page table {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.yk-account-page th {
  background: #f8fbff;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.yk-account-page td {
  background: #fff;
}

.yk-account-page tr:last-child td {
  border-bottom: 0;
}

.yk-vip-page {
  padding: 12px 0 34px;
  background: linear-gradient(135deg, #f0f9ff 0%, #eef6ff 48%, #ecfeff 100%);
}

.yk-vip-page .container {
  max-width: 1180px;
}

.vip-top-section {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.vip-status-card,
.vip-activate-card,
.vip-hero-panel,
.vip-pricing-card,
.vip-benefit-card {
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.vip-status-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.vip-status-card.is-vip {
  border-color: rgba(245, 158, 11, 0.34);
  background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
}

.vip-status-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #475569;
  font-size: 26px;
}

.vip-status-card.is-vip .vip-status-icon {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #fff;
}

.vip-status-card h1,
.vip-activate-card h2,
.vip-hero-panel h2,
.vip-pricing-card h3,
.vip-benefit-card h3 {
  margin: 0;
  color: #172033;
  line-height: 1.24;
}

.vip-status-card h1 {
  font-size: 18px;
}

.vip-status-card p,
.vip-activate-card p,
.vip-hero-panel p,
.vip-pricing-card p,
.vip-benefit-card p {
  margin: 6px 0 0;
  color: #64748b;
}

.vip-activate-card {
  padding: 18px;
}

.vip-card-title {
  display: flex;
  align-items: center;
  gap: 13px;
}

.vip-card-title > i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #fff;
  font-size: 18px;
}

.vip-activate-card h2 {
  font-size: 18px;
}

.vip-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.vip-primary-action,
.vip-secondary-action,
.vip-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 800;
}

.vip-primary-action,
.vip-buy-button {
  border: 0;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.vip-secondary-action {
  border: 1px solid #dbeafe;
  background: #fff;
  color: #0369a1;
}

.vip-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 24px;
  background: linear-gradient(135deg, #0a2540 0%, #145a9f 58%, #0f766e 100%);
  color: #fff;
}

.vip-hero-panel h2 {
  max-width: 760px;
  color: #fff;
  font-size: 30px;
}

.vip-hero-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.vip-hero-panel .eyebrow {
  color: #bae6fd;
}

.vip-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.vip-hero-stats div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.vip-hero-stats strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.vip-hero-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.vip-pricing-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.vip-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.vip-pricing-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.vip-pricing-card.featured {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}

.vip-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.vip-pricing-header {
  padding-right: 76px;
}

.vip-pricing-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #fff;
  font-size: 25px;
}

.vip-pricing-icon.month { background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%); }
.vip-pricing-icon.year { background: linear-gradient(135deg, #22c55e 0%, #0f766e 100%); }
.vip-pricing-icon.forever { background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%); }

.vip-pricing-card h3 {
  font-size: 20px;
}

.vip-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 18px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.vip-pricing-price span,
.vip-pricing-price em {
  color: #64748b;
  font-style: normal;
  font-weight: 800;
}

.vip-pricing-price strong {
  color: #172033;
  font-size: 40px;
  line-height: 1;
}

.vip-feature-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.vip-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #475569;
  font-weight: 700;
}

.vip-feature-list i {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 999px;
  background: #dcfce7;
  color: #059669;
  font-size: 13px;
}

.vip-buy-button {
  width: 100%;
  margin-top: auto;
}

.vip-buy-button.gold {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.2);
}

.vip-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vip-benefit-card {
  padding: 20px;
}

.vip-benefit-card > i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 21px;
}

.vip-benefit-card h3 {
  font-size: 18px;
}

@media (max-width: 1040px) {
  .vip-top-section,
  .vip-hero-panel,
  .vip-pricing-row,
  .vip-benefit-grid {
    grid-template-columns: 1fr;
  }

  .vip-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .yk-vip-page {
    padding-top: 4px;
  }

  .vip-status-card,
  .vip-card-title,
  .vip-hero-panel {
    align-items: flex-start;
  }

  .vip-status-card,
  .vip-card-title {
    flex-direction: column;
  }

  .vip-hero-panel h2 {
    font-size: 24px;
  }

  .vip-hero-stats {
    grid-template-columns: 1fr;
  }

  .vip-pricing-header {
    padding-right: 0;
  }

  .vip-card-badge {
    position: static;
    width: max-content;
    margin-bottom: 12px;
  }
}

.old-online-vip-page {
  min-height: calc(100vh - 96px);
  padding: 26px 0 42px;
  background: linear-gradient(135deg, #eaf7ff 0%, #e8fbff 48%, #eafdfb 100%);
}

.old-online-vip-page .container {
  max-width: 1320px;
}

.old-vip-pricing-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.old-vip-card {
  position: relative;
  display: flex;
  min-height: 592px;
  flex-direction: column;
  padding: 28px 25px 26px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.old-vip-card.featured {
  border-color: rgba(251, 191, 36, 0.72);
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.old-vip-badge {
  position: absolute;
  top: 16px;
  right: 17px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.24);
}

.old-vip-card-head {
  display: grid;
  justify-items: center;
  padding-top: 1px;
  text-align: center;
}

.old-vip-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.old-vip-icon.month {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.old-vip-icon.forever {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.old-vip-icon.year {
  background: linear-gradient(135deg, #22c55e 0%, #06b6d4 100%);
}

.old-vip-card h2 {
  margin: 0 0 6px;
  color: #1f2937;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.22;
}

.old-vip-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.old-vip-price {
  display: grid;
  justify-items: center;
  margin: 40px 0 0;
  padding-bottom: 22px;
  border-bottom: 1px solid #dce7f1;
}

.old-vip-price div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.old-vip-price span {
  color: #1f2937;
  font-size: 20px;
  font-weight: 900;
}

.old-vip-price strong {
  color: #1f2937;
  font-size: 44px;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.old-vip-price p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.old-vip-features {
  display: grid;
  gap: 14px;
  margin: 28px 0 28px;
  padding: 0;
  list-style: none;
}

.old-vip-features li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #475569;
  font-size: 15px;
  font-weight: 800;
}

.old-vip-features li i {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  background: #bbf7d0;
  color: #10b981;
  font-size: 14px;
  font-weight: 900;
}

.old-vip-features li.disabled {
  color: #7b8794;
}

.old-vip-features li.disabled i {
  background: #e5edf7;
  color: #a5b4c7;
}

.old-vip-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  border-radius: 13px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.16);
}

.old-vip-buy:hover {
  color: #fff;
  transform: translateY(-1px);
}

.old-vip-buy.dark {
  background: #243247;
}

.old-vip-buy.gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 12px 22px rgba(245, 158, 11, 0.22);
}

@media (max-width: 1100px) {
  .old-vip-pricing-row {
    grid-template-columns: 1fr;
  }

  .old-vip-card {
    min-height: 0;
  }
}

.online-sidebar.article-sidebar .sidebar-link {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.online-sidebar.article-sidebar .sidebar-link small {
  display: inline-grid;
  min-width: 24px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 800;
}

.online-sidebar.article-sidebar .sidebar-link.active small {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.knowledge-index,
.knowledge-detail {
  padding-bottom: 34px;
}

.knowledge-hero,
.knowledge-detail-hero {
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 8px;
  background: linear-gradient(135deg, #0a2540 0%, #145a9f 54%, #0f766e 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.knowledge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 28px;
}

.knowledge-hero h1,
.knowledge-detail-hero h1 {
  max-width: 860px;
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.16;
}

.knowledge-hero h1 {
  font-size: 34px;
}

.knowledge-hero p,
.knowledge-detail-hero p {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.74);
}

.knowledge-hero .eyebrow,
.knowledge-detail-hero .eyebrow {
  color: #bae6fd;
}

.knowledge-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.knowledge-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.knowledge-hero-panel {
  display: grid;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.knowledge-hero-panel strong {
  color: #fff;
  font-size: 48px;
  line-height: 1;
}

.knowledge-hero-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.knowledge-hero-panel p {
  margin: 10px 0 0;
  font-size: 13px;
}

.knowledge-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.knowledge-category-chips a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #f8fbff;
  color: #334155;
  font-weight: 800;
}

.knowledge-category-chips a.active {
  border-color: #0ea5e9;
  background: #e0f2fe;
  color: #0369a1;
}

.knowledge-category-chips span {
  display: inline-grid;
  min-width: 22px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #0369a1;
  font-size: 12px;
}

.knowledge-layout,
.knowledge-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
}

.knowledge-index .knowledge-layout {
  grid-template-columns: minmax(0, 1fr);
}

.knowledge-main,
.knowledge-card-grid {
  display: grid;
  gap: 16px;
}

.knowledge-featured-card,
.knowledge-card,
.knowledge-aside section,
.knowledge-empty,
.knowledge-article-body,
.knowledge-detail-aside section {
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.knowledge-featured-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  overflow: hidden;
}

.knowledge-cover,
.knowledge-card-cover {
  display: block;
  min-height: 210px;
  background: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 100%);
  overflow: hidden;
}

.knowledge-cover img,
.knowledge-card-cover img,
.knowledge-detail-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knowledge-cover span,
.knowledge-card-cover span {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  place-items: center;
  color: #0369a1;
  font-size: 52px;
}

.knowledge-featured-body,
.knowledge-card {
  padding: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.article-meta span,
.article-meta time {
  display: inline-flex;
  align-items: center;
}

.article-meta span:first-child {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
}

.knowledge-featured-card h2,
.knowledge-card h2 {
  margin: 0 0 10px;
  line-height: 1.28;
}

.knowledge-featured-card h2 {
  font-size: 25px;
}

.knowledge-card h2 {
  font-size: 19px;
}

.knowledge-featured-card p,
.knowledge-card p,
.knowledge-aside p {
  color: #64748b;
}

.read-more-button,
.card-read-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #0369a1;
  font-weight: 800;
}

.knowledge-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.knowledge-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.knowledge-card > .article-meta,
.knowledge-card h2,
.knowledge-card p,
.knowledge-card .card-read-link {
  margin-left: 18px;
  margin-right: 18px;
}

.knowledge-card > .article-meta {
  margin-top: 18px;
}

.knowledge-card .card-read-link {
  margin-bottom: 18px;
  margin-top: auto;
}

.knowledge-card-cover {
  min-height: 150px;
}

.knowledge-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.knowledge-aside section,
.knowledge-detail-aside section {
  padding: 18px;
}

.knowledge-aside h2,
.knowledge-detail-aside h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.knowledge-aside ol {
  margin: 0;
  padding-left: 20px;
  color: #475569;
  font-weight: 700;
}

.knowledge-aside li {
  margin-bottom: 10px;
}

.knowledge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.knowledge-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0f9ff;
  color: #0369a1;
  font-weight: 800;
  font-size: 13px;
}

.knowledge-empty {
  padding: 28px;
}

.knowledge-empty h1,
.knowledge-empty h2 {
  margin: 0 0 10px;
}

.knowledge-detail-hero {
  margin-bottom: 16px;
  padding: 30px;
}

.knowledge-detail-hero h1 {
  font-size: 38px;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: #bae6fd;
  font-weight: 800;
}

.breadcrumb-link:hover {
  color: #fff;
}

.knowledge-detail-hero .article-meta {
  color: rgba(255, 255, 255, 0.72);
}

.knowledge-detail-cover {
  display: block;
  max-height: 430px;
  margin-top: 20px;
  border-radius: 8px;
}

.knowledge-article-body {
  padding: 28px;
  color: #243044;
  font-size: 16px;
  line-height: 1.82;
}

.knowledge-article-body h2,
.knowledge-article-body h3,
.knowledge-article-body h4 {
  margin: 1.45em 0 0.65em;
  color: #172033;
  line-height: 1.3;
}

.knowledge-article-body p {
  margin: 0 0 1em;
}

.knowledge-article-body img {
  display: block;
  height: auto;
  margin: 18px auto;
  border-radius: 8px;
}

.knowledge-article-body pre,
.knowledge-article-body code {
  border-radius: 8px;
  background: #0f172a;
  color: #e2e8f0;
}

.knowledge-article-body pre {
  overflow-x: auto;
  padding: 14px;
}

.knowledge-detail-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.linked-tools ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.linked-tools li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fbff;
}

.linked-tools li a,
.linked-tools li span {
  min-width: 0;
  font-weight: 800;
}

.linked-tools li em {
  flex-shrink: 0;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

@media (max-width: 1120px) {
  .knowledge-hero,
  .knowledge-layout,
  .knowledge-detail-layout {
    grid-template-columns: 1fr;
  }

  .knowledge-featured-card {
    grid-template-columns: 1fr;
  }

  .knowledge-cover {
    min-height: 250px;
  }
}

@media (max-width: 760px) {
  .knowledge-hero,
  .knowledge-detail-hero {
    padding: 22px;
  }

  .knowledge-hero h1,
  .knowledge-detail-hero h1 {
    font-size: 28px;
  }

  .knowledge-card-grid {
    grid-template-columns: 1fr;
  }
}
