:root{color-scheme:dark;--bg:#070b12;--panel:rgba(15,23,34,.86);--line:rgba(149,166,190,.18);--text:#eef4f8;--muted:#9aa9b8;--green:#58d68d;--cyan:#47c7e8;--amber:#f5c15c;--shadow:0 20px 60px rgba(0,0,0,.32)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 16% 0%,rgba(71,199,232,.16),transparent 28%),var(--bg);color:var(--text);font-family:Inter,"Microsoft YaHei","PingFang SC",system-ui,sans-serif;letter-spacing:0}#matrix{position:fixed;inset:0;z-index:-1;opacity:.55}a{color:inherit;text-decoration:none}button,input{font:inherit}.app-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px clamp(18px,4vw,56px);background:rgba(7,11,18,.8);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.brand,.top-links{display:flex;align-items:center;gap:12px}.brand{font-weight:800;min-width:0}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,var(--green),var(--cyan));color:#071018;flex:0 0 auto}.top-links a{color:var(--muted);font-size:14px;padding:8px 10px}.top-links a:hover{color:var(--text)}main{width:min(1180px,calc(100% - 32px));margin:0 auto}.hero{min-height:420px;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px);align-items:end;gap:28px;padding:clamp(58px,8vw,96px) 0 36px}.eyebrow{color:var(--green);margin:0 0 16px;text-transform:uppercase;font-size:13px;font-weight:800}h1{max-width:760px;margin:0;font-size:clamp(34px,6vw,66px);line-height:1.25;letter-spacing:0}.hero-subtitle{max-width:660px;margin:22px 0 0;color:var(--muted);font-size:18px;line-height:1.8}.search-panel,.metric,.news-card,.tool-section,.favorites-section{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);backdrop-filter:blur(14px)}.search-panel{padding:22px;border-radius:8px}.search-label{display:block;margin-bottom:10px;color:var(--muted);font-size:13px}.search-box{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px;border-radius:8px;border:1px solid rgba(71,199,232,.3);background:rgba(3,8,14,.72)}.search-box input{width:100%;min-width:0;border:0;outline:0;color:var(--text);background:transparent}.search-box span{color:var(--cyan)}.quick-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.filter-chip{min-height:34px;padding:0 12px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:rgba(255,255,255,.04);cursor:pointer}.filter-chip.active,.filter-chip:hover{color:#061017;border-color:transparent;background:var(--green)}.insight-row{display:grid;grid-template-columns:repeat(3,1fr) minmax(280px,1.6fr);gap:12px;margin-bottom:20px}.metric,.news-card{min-height:88px;padding:18px;border-radius:8px}.metric strong{display:block;font-size:30px;color:var(--green)}.metric span,.news-card span{color:var(--muted);font-size:13px}.news-card strong{display:block;margin-top:8px;line-height:1.45}.category-bar{position:sticky;top:69px;z-index:9;display:flex;gap:10px;overflow-x:auto;padding:12px 0;background:rgba(7,11,18,.82);backdrop-filter:blur(12px)}.category-pill{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:10px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);color:var(--muted)}.category-pill:hover{color:var(--text);border-color:rgba(71,199,232,.45)}.category-pill em{color:var(--green);font-style:normal}.results-head,.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:28px 0 14px}.results-head h2,.section-heading h2{margin:0;font-size:24px}.results-head p,.section-heading p{margin:0;color:var(--muted)}.tool-section,.favorites-section{border-radius:8px;padding:22px;margin-bottom:18px}.favorites-section{border-color:rgba(245,193,92,.38)}.section-heading h2{display:flex;align-items:center;gap:10px}.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.tool-card{position:relative;min-height:178px;padding:16px;border-radius:8px;border:1px solid var(--line);background:rgba(255,255,255,.045);transition:transform .16s ease,border-color .16s ease,background .16s ease}.tool-card:hover{transform:translateY(-2px);border-color:rgba(88,214,141,.48);background:rgba(255,255,255,.07)}.tool-card a{display:flex;gap:13px;min-height:104px}.tool-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;background:rgba(255,255,255,.08);flex:0 0 auto}.tool-icon img{width:28px;height:28px}.tool-info{min-width:0;padding-right:28px}.tool-info h3{margin:0 0 8px;font-size:17px;line-height:1.35}.tool-info p{margin:0 0 12px;color:var(--muted);line-height:1.5}.tool-info small{color:var(--cyan);overflow-wrap:anywhere}.favorite-btn{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;color:var(--muted);background:rgba(0,0,0,.18);cursor:pointer}.favorite-btn.active,.favorite-btn:hover{color:var(--amber);border-color:rgba(245,193,92,.5)}.tool-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.tool-tags span{padding:5px 8px;border-radius:999px;background:rgba(71,199,232,.1);color:#bfefff;font-size:12px}.empty-state{padding:40px 0 80px;text-align:center;color:var(--muted)}.site-footer{display:flex;justify-content:space-between;gap:14px;width:min(1180px,calc(100% - 32px));margin:28px auto 0;padding:26px 0 38px;color:var(--muted);border-top:1px solid var(--line)}@media (max-width:860px){.hero{grid-template-columns:1fr;min-height:0;padding-top:44px}.insight-row{grid-template-columns:repeat(2,1fr)}.news-card{grid-column:1/-1}.category-bar{top:64px}}@media (max-width:560px){main,.site-footer{width:min(100% - 24px,1180px)}.app-header{padding:12px}.brand span:last-child{font-size:14px}.top-links{gap:4px}.top-links a{padding:8px 6px}h1{font-size:34px}.hero-subtitle{font-size:16px}.insight-row{grid-template-columns:1fr}.results-head,.section-heading,.site-footer{align-items:flex-start;flex-direction:column}.tool-section,.favorites-section,.search-panel{padding:16px}.tool-grid{grid-template-columns:1fr}}

.hero-copy {
  align-self: center;
  padding-bottom: 10px;
}

.brand-mark {
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-tagline {
  position: absolute;
  left: 50%;
  max-width: min(460px, 40vw);
  margin: 0;
  color: rgba(195, 206, 216, 0.72);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .header-tagline {
    display: none;
  }
}

.app-header {
  position: relative;
  top: auto;
}

.hero-copy h1 {
  display: grid;
  gap: 8px;
  max-width: 780px;
  font-size: clamp(42px, 5.7vw, 72px);
  line-height: 1.25;
}

.title-line {
  display: block;
}

.title-accent {
  color: transparent;
  background: linear-gradient(90deg, var(--green), var(--cyan) 62%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  max-width: 620px;
  margin-top: 24px;
  color: #c3ced8;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
}

.search-panel {
  align-self: center;
}

@media (max-width: 860px) {
  .hero-copy h1 {
    font-size: clamp(38px, 9vw, 58px);
  }
}

@media (max-width: 560px) {
  .hero {
    gap: 22px;
  }

  .hero-copy h1 {
    gap: 6px;
    font-size: 38px;
    line-height: 1.2;
  }

  .hero-subtitle {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
  }
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(160px, 190px);
  gap: 18px;
  align-items: start;
}

.tools-workspace {
  min-width: 0;
}

.tools-workspace .insight-row {
  grid-template-columns: repeat(3, 1fr);
}

.stats-sidebar {
  position: sticky;
  top: 86px;
}

.stats-sidebar .insight-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 0;
}

.stats-sidebar .metric {
  min-height: 106px;
  padding: 16px;
}

.stats-sidebar .metric strong {
  font-size: 34px;
}

.tools-workspace .category-bar {
  position: relative;
  top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  width: 100%;
  margin: 0 0 18px;
  overflow: visible;
  padding: 8px;
  border: 1px solid rgba(149, 166, 190, 0.14);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.tools-workspace .category-pill {
  position: relative;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 10px;
  gap: 7px;
  border-radius: 7px;
  border-color: transparent;
  background: transparent;
  color: rgba(238, 244, 248, 0.72);
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.tools-workspace .category-pill:hover {
  color: var(--text);
  border-color: rgba(71, 199, 232, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.tools-workspace .category-bar > .category-group-toggle.active {
  color: var(--text);
  background: rgba(88, 214, 141, 0.11);
  border-color: rgba(88, 214, 141, 0.28);
}

.tools-workspace .category-bar > .category-group-toggle.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.tools-workspace .category-pill strong {
  font-size: 14px;
  font-weight: 700;
}

.tools-workspace .category-pill em {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.1);
  color: var(--green);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

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

.tools-workspace #hot .tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-sidebar {
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 108px);
  overflow: hidden;
  border: 1px solid rgba(71, 199, 232, 0.24);
  border-radius: 8px;
  background: rgba(10, 18, 28, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.news-sidebar-head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(88, 214, 141, 0.12), rgba(71, 199, 232, 0.04));
}

.news-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.news-sidebar-head .live-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(88, 214, 141, 0.22);
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.07);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.live-kicker i {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(88, 214, 141, 0.95);
  flex: 0 0 auto;
}

.live-kicker i::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(88, 214, 141, 0.42);
  animation: livePulse 1.9s ease-out infinite;
}

@keyframes livePulse {
  0% {
    opacity: 0.78;
    transform: scale(0.58);
  }

  70% {
    opacity: 0;
    transform: scale(1.45);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.news-sidebar-head h2 {
  margin: 0;
  font-size: 24px;
}

.news-list {
  display: grid;
  gap: 0;
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  position: relative;
  padding: 8px 0 8px;
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
}

.news-sidebar:hover .news-list,
.news-sidebar:focus-within .news-list {
  scrollbar-color: rgba(88, 214, 141, 0.6) rgba(255, 255, 255, 0.06);
}

.news-list::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 24px;
  width: 1px;
  background: linear-gradient(180deg, rgba(88, 214, 141, 0.45), rgba(71, 199, 232, 0.18), rgba(149, 166, 190, 0.06));
}

.news-list::-webkit-scrollbar {
  width: 8px;
}

.news-list::-webkit-scrollbar-track {
  background: transparent;
}

.news-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: transparent;
}

.news-sidebar:hover .news-list::-webkit-scrollbar-track,
.news-sidebar:focus-within .news-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.news-sidebar:hover .news-list::-webkit-scrollbar-thumb,
.news-sidebar:focus-within .news-list::-webkit-scrollbar-thumb {
  background: rgba(88, 214, 141, 0.62);
}

.news-item {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 14px 18px 14px 44px;
  border-bottom: 1px solid rgba(149, 166, 190, 0.14);
  animation: newsFadeIn .42s ease both;
}

.news-dot {
  position: absolute;
  top: 20px;
  left: 19px;
  z-index: 1;
  width: 11px;
  height: 11px;
  border: 2px solid rgba(10, 18, 28, 0.96);
  border-radius: 999px;
  background: rgba(149, 166, 190, 0.62);
  box-shadow: 0 0 0 1px rgba(149, 166, 190, 0.2);
}

.news-item.is-today {
  isolation: isolate;
  background: linear-gradient(90deg, rgba(88, 214, 141, 0.085), transparent 64%);
}

.news-item.is-today::after {
  content: "";
  position: absolute;
  inset: 5px 6px;
  z-index: -1;
  border: 1px solid rgba(88, 214, 141, 0.14);
  border-radius: 6px;
  background: rgba(88, 214, 141, 0.025);
  pointer-events: none;
  animation: todayNewsBreath 2.8s ease-in-out .45s infinite;
}

.news-item.is-today .news-dot {
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(88, 214, 141, 0.35), 0 0 18px rgba(88, 214, 141, 0.42);
  animation: latestDotPulse 2.4s ease-in-out infinite;
}

.news-item:hover {
  background: rgba(71, 199, 232, 0.08);
}

.news-item time {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.news-item strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.news-item strong em {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid rgba(88, 214, 141, 0.26);
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.08);
  color: var(--green);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .04em;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.news-empty {
  margin: 0;
  padding: 18px;
  color: var(--muted);
}

@keyframes latestDotPulse {
  0%, 100% {
    opacity: .72;
    transform: scale(.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes todayNewsBreath {
  0%, 100% {
    opacity: .38;
    box-shadow: inset 0 0 10px rgba(88, 214, 141, 0.02), 0 0 0 rgba(88, 214, 141, 0);
  }

  50% {
    opacity: .95;
    box-shadow: inset 0 0 24px rgba(88, 214, 141, 0.08), 0 0 16px rgba(88, 214, 141, 0.08);
  }
}

@keyframes newsFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-item,
  .news-item.is-today::after,
  .news-item.is-today .news-dot,
  .duck-bubble {
    animation: none;
  }
}

@media (max-width: 980px) {
  .home-layout {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .news-list {
    max-height: 360px;
  }
}

@media (max-width: 560px) {
  .tools-workspace .insight-row {
    grid-template-columns: 1fr;
  }

  .tools-workspace .category-bar {
    gap: 8px;
  }

  .tools-workspace .category-pill {
    padding: 9px 10px;
    font-size: 14px;
  }

  .news-sidebar-head h2 {
    font-size: 22px;
  }

  .news-sidebar-head .live-kicker {
    min-height: 26px;
    padding: 0 9px;
    font-size: 11px;
  }
}

main,
.site-footer {
  width: min(1840px, calc(100% - clamp(28px, 2.4vw, 52px)));
}

.hero {
  grid-template-columns: minmax(760px, 1fr) minmax(420px, 520px);
  gap: clamp(36px, 5vw, 92px);
}

.hero-copy h1 {
  max-width: 980px;
}

.hero-subtitle {
  max-width: 760px;
}

.search-panel {
  width: min(100%, 520px);
  justify-self: end;
}

.home-layout {
  grid-template-columns: minmax(340px, 430px) minmax(720px, 1fr) minmax(200px, 220px);
  gap: clamp(18px, 1.6vw, 30px);
}

.tools-workspace .category-bar {
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: visible;
  overflow-y: visible;
  scrollbar-width: thin;
}

@media (max-width: 980px) {
  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .home-layout {
    grid-template-columns: 1fr;
  }

  .stats-sidebar {
    position: relative;
    top: auto;
  }

  .stats-sidebar .insight-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .stats-sidebar .insight-row {
    grid-template-columns: 1fr;
  }
}

.category-more {
  cursor: pointer;
  opacity: .9;
  margin-left: auto;
  color: var(--green) !important;
  border-color: rgba(88, 214, 141, 0.28) !important;
  background: rgba(88, 214, 141, 0.08) !important;
}

.category-more:hover {
  opacity: 1;
  background: rgba(88, 214, 141, 0.14) !important;
}

.category-group-toggle {
  cursor: pointer;
}

.category-toggle-mark {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid rgba(71, 199, 232, 0.2);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.category-group-toggle[aria-expanded="true"] .category-toggle-mark {
  border-color: rgba(88, 214, 141, 0.32);
  color: var(--green);
  background: rgba(88, 214, 141, 0.08);
}

.category-overflow-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin: -8px 0 16px;
  padding: 12px;
  border: 1px solid rgba(149, 166, 190, 0.16);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.72);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.category-overflow-panel[hidden] {
  display: none;
}

.category-overflow-panel .category-pill {
  width: 100%;
  justify-content: flex-start;
}
.category-fold-tag {
  cursor:pointer;
  border:1px solid var(--green) !important;
  background:linear-gradient(135deg,rgba(88,214,141,.12),rgba(71,199,232,.08)) !important;
  color:var(--green) !important;
  font-weight:700;
  letter-spacing:.5px;
  transition:all .25s ease;
  box-shadow:0 0 14px rgba(88,214,141,.15);
}
.category-fold-tag:hover {
  background:linear-gradient(135deg,rgba(88,214,141,.22),rgba(71,199,232,.15)) !important;
  box-shadow:0 0 22px rgba(88,214,141,.3);
  transform:scale(1.04);
}

#back-to-top {
  position:fixed; bottom:80px; right:36px; z-index:20;
  width:42px; height:42px;
  border:1px solid var(--green); border-radius:50%;
  background:rgba(7,11,18,.9); color:var(--green);
  font-size:20px; cursor:pointer;
  opacity:0; transform:translateY(10px); pointer-events:none;
  transition:opacity .3s ease,transform .3s ease;
  backdrop-filter:blur(8px);
}
#back-to-top.visible { opacity:1; transform:translateY(0); pointer-events:auto; }
#back-to-top:hover { background:var(--green); color:#071018; }

.tool-icon {
  position: relative;
  overflow: hidden;
}

.tool-logo {
  position: absolute;
  inset: 7px;
  display: block;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border-radius: 6px;
  object-fit: contain;
  opacity: 0;
  transition: opacity .16s ease;
}

.tool-icon.logo-loaded .tool-logo {
  opacity: 1;
}

/* Compact tool sections */
.tools-workspace .tool-section,
.tools-workspace .favorites-section {
  padding: 14px 16px 16px;
  margin-bottom: 14px;
}

.tools-workspace .category-target-highlight,
.tools-workspace .utility-subsection.category-target-highlight {
  position: relative;
  border-radius: 8px;
  isolation: isolate;
}

.tools-workspace .category-target-highlight::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(110, 190, 145, 0.22);
  border-radius: inherit;
  background: rgba(88, 180, 130, 0.014);
  box-shadow:
    0 0 0 1px rgba(110, 190, 145, 0.025),
    0 0 16px rgba(88, 180, 130, 0.04),
    inset 0 0 24px rgba(88, 180, 130, 0.012);
  opacity: 0;
  animation: category-target-soft-pulse 2.7s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes category-target-soft-pulse {
  0%, 100% { opacity: 0; }
  20% { opacity: 0.38; }
  44% { opacity: 0.72; }
  66% { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .tools-workspace .category-target-highlight::after {
    animation: none;
    opacity: 0.38;
  }
}

.tools-workspace .section-heading {
  margin: 2px 0 12px;
  align-items: center;
}

.tools-workspace .section-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.section-expand-btn {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(88, 214, 141, 0.26);
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.08);
  color: var(--green);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.section-expand-btn:hover {
  border-color: rgba(88, 214, 141, 0.48);
  background: rgba(88, 214, 141, 0.14);
}

.tools-workspace .section-heading h2 {
  font-size: 22px;
  line-height: 1.2;
}

.tools-workspace .section-heading p {
  font-size: 13px;
}

.tools-workspace .tool-grid {
  gap: 12px;
}

.utility-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.utility-subsection {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(149, 166, 190, 0.12);
}

.utility-subsection:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

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

.utility-subsection-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.utility-subsection-head p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.utility-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}

.utility-category-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  min-height: 126px;
  padding: 16px;
  border: 1px solid rgba(149, 166, 190, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.utility-category-card:hover {
  translate: 0 -2px;
  border-color: rgba(71, 199, 232, 0.36);
  background: rgba(255, 255, 255, 0.065);
}

.utility-category-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(88, 214, 141, 0.16), rgba(71, 199, 232, 0.12));
  font-size: 24px;
}

.utility-category-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.utility-category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.utility-item-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 88px;
  padding: 12px;
  border: 1px solid rgba(149, 166, 190, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.utility-item-card:hover {
  translate: 0 -2px;
  border-color: rgba(88, 214, 141, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.utility-item-card .utility-category-icon {
  width: 36px;
  height: 36px;
  font-size: 19px;
}

.utility-item-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.28;
}

.utility-item-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.utility-detail-shell {
  width: min(1440px, calc(100% - 48px));
  padding: 38px 0 18px;
}

.utility-detail-page {
  display: grid;
  gap: 24px;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-bottom: 24px;
  padding: 0 20px;
  border: 1px solid rgba(88, 214, 141, 0.34);
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.09);
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transition: color 180ms ease,
              background-color 180ms ease,
              border-color 180ms ease,
              box-shadow 180ms ease,
              transform 180ms ease;
}

.detail-back-link:hover {
  border-color: rgba(88, 214, 141, 0.62);
  background: rgba(88, 214, 141, 0.16);
  color: #7bf0ad;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.16);
  transform: translateY(-2px);
}

.detail-back-link:focus-visible {
  outline: 2px solid rgba(88, 214, 141, 0.72);
  outline-offset: 3px;
}

.detail-back-link:active {
  box-shadow: 0 5px 14px rgba(34, 197, 94, 0.12);
  transform: translateY(0) scale(0.98);
}

.detail-hero-panel,
.detail-section,
.detail-link-card {
  border: 1px solid rgba(149, 166, 190, 0.16);
  border-radius: 8px;
  background: rgba(10, 18, 28, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.detail-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(28px, 3.6vw, 48px);
  padding: clamp(34px, 4.4vw, 54px);
  overflow: hidden;
}

.detail-hero-panel.is-simple {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 560px);
}

.detail-eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.detail-hero-copy h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1.16;
}

.detail-hero-copy p:not(.detail-eyebrow) {
  max-width: 860px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.85;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.detail-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(71, 199, 232, 0.1);
  color: #bfefff;
  font-size: 12px;
  font-weight: 800;
}

.detail-visual-card {
  position: relative;
  min-height: 0;
  padding: 28px;
  border: 1px solid rgba(71, 199, 232, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(88, 214, 141, 0.09), rgba(71, 199, 232, 0.08)),
    rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.detail-visual-card::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(149, 166, 190, 0.12);
  border-radius: 8px;
}

.detail-file-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.detail-file-card {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  min-width: 0;
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(149, 166, 190, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  box-shadow: none;
  cursor: pointer;
  transition: translate .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.detail-file-card::after {
  content: none;
}
.detail-file-card:hover,
.detail-file-card:focus-visible {
  border-color: rgba(88, 214, 141, 0.38);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), 0 0 0 3px rgba(88, 214, 141, 0.055);
  outline: none;
  translate: 0 -2px;
}

.detail-file-card:hover .detail-file-icon,
.detail-file-card:focus-visible .detail-file-icon {
  background: linear-gradient(135deg, rgba(88, 214, 141, 0.28), rgba(71, 199, 232, 0.18));
}

.detail-file-icon {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(88, 214, 141, 0.16), rgba(71, 199, 232, 0.12));
  font-size: 22px;
  line-height: 1;
}

.detail-file-card b {
  display: block;
  grid-column: 2;
  align-self: end;
  min-width: 0;
  max-width: 100%;
  color: var(--text);
  font-size: 16px;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.detail-file-card small {
  display: block;
  grid-column: 2;
  align-self: start;
  min-width: 0;
  max-width: 100%;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.simple-section {
  margin-top: 0;
}

.simple-pick-grid,
.simple-tool-grid,
.simple-bottom-grid {
  display: grid;
  gap: 20px;
}

.simple-pick-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.simple-pick-card {
  display: grid;
  align-content: start;
  min-height: 172px;
  padding: 22px;
  border: 1px solid rgba(149, 166, 190, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.simple-pick-card strong,
.simple-pick-card span {
  display: block;
}

.simple-pick-card span {
  margin-top: 10px;
  color: var(--green);
  font-size: 21px;
  font-weight: 900;
}

.simple-pick-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.simple-tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.simple-tool-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-height: 292px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(149, 166, 190, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: translate .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.simple-tool-card:hover,
.simple-tool-card:focus-visible {
  translate: 0 -4px;
  border-color: rgba(88, 214, 141, 0.46);
  background: rgba(88, 214, 141, 0.075);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(88, 214, 141, 0.08), 0 0 32px rgba(88, 214, 141, 0.08);
}

.simple-tool-card:focus-visible {
  outline: 2px solid rgba(125, 255, 178, 0.82);
  outline-offset: 3px;
}

.simple-tool-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(88, 214, 141, 0.16), rgba(71, 199, 232, 0.12));
  font-size: 28px;
  transition: scale .22s ease, background .22s ease, box-shadow .22s ease;
}

.simple-tool-card:hover .simple-tool-icon,
.simple-tool-card:focus-visible .simple-tool-icon {
  scale: 1.06;
  background: linear-gradient(135deg, rgba(88, 214, 141, 0.25), rgba(71, 199, 232, 0.19));
  box-shadow: 0 8px 22px rgba(88, 214, 141, 0.12);
}

.simple-tool-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.simple-tool-head span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(71, 199, 232, 0.1);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.simple-tool-head h3 {
  min-width: 0;
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}

.simple-tool-card:hover .simple-tool-head h3,
.simple-tool-card:focus-visible .simple-tool-head h3 {
  color: #9affc2;
}

.simple-tool-copy p {
  margin: 10px 0 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.simple-tool-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.simple-tool-notes {
  position: relative;
  margin-top: 8px;
  padding: 9px 10px;
  overflow: hidden;
  border: 1px solid rgba(88, 214, 141, 0.12);
  border-radius: 8px;
  background: rgba(88, 214, 141, 0.055);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.simple-tool-notes::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 28%, rgba(151, 255, 196, 0.18) 46%, rgba(255, 255, 255, 0.26) 50%, rgba(151, 255, 196, 0.12) 55%, transparent 72%);
  translate: -135% 0;
}

.simple-tool-notes.is-watch::after {
  background: linear-gradient(105deg, transparent 28%, rgba(245, 193, 92, 0.16) 46%, rgba(255, 244, 208, 0.24) 50%, rgba(245, 193, 92, 0.1) 55%, transparent 72%);
}

.simple-tool-card:hover .simple-tool-notes::after,
.simple-tool-card:focus-visible .simple-tool-notes::after {
  animation: tool-note-scan 1.15s ease-out both;
}

.simple-tool-card:hover .simple-tool-notes.is-watch::after,
.simple-tool-card:focus-visible .simple-tool-notes.is-watch::after {
  animation-delay: .16s;
}

.simple-tool-notes.is-watch {
  border-color: rgba(245, 193, 92, 0.13);
  background: rgba(245, 193, 92, 0.045);
  margin-bottom: 18px;
}

.simple-tool-notes b {
  color: var(--green);
}

.simple-tool-notes.is-watch b {
  color: var(--amber);
}

.simple-tool-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  gap: 8px;
  min-height: 44px;
  margin-top: 12px;
  padding: 0 20px;
  border: 1px solid rgba(88, 214, 141, 0.44);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(88, 214, 141, 0.18), rgba(71, 199, 232, 0.12));
  box-shadow: 0 0 0 0 rgba(88, 214, 141, 0.2), 0 12px 28px rgba(0, 0, 0, 0.18);
  color: #7dffb2;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transition: translate .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  animation: cta-breathe 2.8s ease-in-out infinite;
}

.simple-tool-cta::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.18);
  color: var(--text);
  font-size: 12px;
  line-height: 1;
  transition: translate .18s ease, background .18s ease;
}

.simple-tool-card:hover .simple-tool-cta,
.simple-tool-card:focus-visible .simple-tool-cta {
  border-color: rgba(125, 255, 178, 0.78);
  background: linear-gradient(135deg, rgba(88, 214, 141, 0.28), rgba(71, 199, 232, 0.18));
  box-shadow: 0 0 0 5px rgba(88, 214, 141, 0.09), 0 16px 34px rgba(0, 0, 0, 0.24), 0 0 24px rgba(88, 214, 141, 0.16);
  color: #b8ffd4;
  translate: 0 -2px;
}

.simple-tool-card:hover .simple-tool-cta::after,
.simple-tool-card:focus-visible .simple-tool-cta::after {
  background: rgba(88, 214, 141, 0.32);
  translate: 2px -2px;
}

@keyframes tool-note-scan {
  from {
    translate: -135% 0;
  }

  to {
    translate: 135% 0;
  }
}
@keyframes cta-breathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(88, 214, 141, 0.16), 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(88, 214, 141, 0.06), 0 14px 32px rgba(0, 0, 0, 0.22), 0 0 18px rgba(88, 214, 141, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .simple-tool-card,
  .simple-tool-icon,
  .simple-tool-cta,
  .simple-tool-cta::after {
    transition: none;
  }

  .simple-tool-card:hover .simple-tool-notes::after,
  .simple-tool-card:focus-visible .simple-tool-notes::after,
  .simple-tool-cta {
    animation: none;
  }
}
.simple-bottom-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.detail-visual-card.compact-visual {
  min-height: 0;
}


.tool-inline-steps {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(149, 166, 190, 0.13);
}

.tool-inline-steps h4 {
  margin: 0;
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}

.tool-inline-step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.detail-step-image-section {
  padding: 22px;
}

.detail-step-image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.detail-step-image-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(149, 166, 190, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.detail-step-image-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: contain;
  background: rgba(236, 244, 248, 0.96);
}

.detail-step-image-card figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.easy-pick-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.easy-tool-grid {
  grid-template-columns: 1fr;
}

.detail-last-note {
  margin-bottom: 0;
}

.detail-quick-panel {
  padding: 16px;
  border: 1px solid rgba(88, 214, 141, 0.18);
  border-radius: 8px;
  background: rgba(88, 214, 141, 0.055);
}

.detail-quick-panel h2,
.detail-section h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.detail-quick-panel ul,
.detail-tip-list,
.detail-pro-con ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-quick-panel li {
  padding: 12px 0;
  border-top: 1px solid rgba(149, 166, 190, 0.13);
}

.detail-quick-panel li:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail-quick-panel strong,
.detail-quick-panel span {
  display: block;
}

.detail-quick-panel span {
  margin-top: 5px;
  color: var(--green);
  font-weight: 900;
}

.detail-quick-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  margin-top: 18px;
}

.detail-main-column,
.detail-side-column {
  display: grid;
  align-content: start;
  gap: 18px;
}

.detail-section {
  padding: 18px;
}

.detail-section > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.detail-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.detail-link-card {
  padding: 14px;
  box-shadow: none;
}

.detail-link-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.detail-link-card-head span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.detail-link-card h3 {
  margin: 4px 0 0;
  font-size: 17px;
}

.detail-link-card-head a,
.detail-media-link {
  border: 1px solid rgba(88, 214, 141, 0.24);
  background: rgba(88, 214, 141, 0.08);
}

.detail-link-card-head a {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.detail-link-card > p {
  margin: 12px 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-pro-con {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-pro-con strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 12px;
}

.detail-pro-con li,
.detail-tip-list li {
  position: relative;
  padding-left: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.detail-pro-con li::before,
.detail-tip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.detail-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.detail-steps span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(71, 199, 232, 0.12);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.detail-media-list {
  display: grid;
  gap: 10px;
}

.detail-media-link {
  display: block;
  padding: 12px;
  border-radius: 8px;
}

.detail-media-link span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.detail-media-link strong {
  display: block;
  margin-top: 4px;
}

.detail-media-link p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.detail-tip-list {
  display: grid;
  gap: 8px;
}

.detail-empty {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.detail-empty a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .detail-hero-panel,
  .detail-content-grid,
  .simple-bottom-grid {
    grid-template-columns: 1fr;
  }

  .simple-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .easy-tool-grid {
    grid-template-columns: 1fr;
  }

  .detail-pro-con {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .utility-detail-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 22px;
  }

  .utility-detail-page {
    gap: 14px;
  }

  .detail-hero-panel {
    padding: 18px;
  }

  .detail-hero-copy h1 {
    font-size: 36px;
  }

  .detail-hero-copy p:not(.detail-eyebrow) {
    font-size: 16px;
    line-height: 1.75;
  }

  .detail-visual-card {
    padding: 16px;
  }

  .detail-file-stack {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-file-card {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 68px;
    padding: 12px;
  }

  .detail-file-icon {
    width: 44px;
    height: 44px;
    margin: 0;
    font-size: 23px;
  }

  .detail-file-card b {
    font-size: 17px;
  }

  .simple-tool-card {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 0;
    padding: 15px;
  }

  .simple-tool-grid,
  .easy-tool-grid {
    grid-template-columns: 1fr;
  }
.detail-step-image-section {
    padding: 14px;
  }

  .detail-step-image-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-step-image-card img {
    min-height: 220px;
    max-height: none;
  }

  .simple-tool-icon {
    width: 44px;
    height: 44px;
    font-size: 23px;
  }

  .tools-workspace .tool-section,
  .tools-workspace .favorites-section {
    padding: 12px;
  }

  .tools-workspace .section-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .utility-category-grid {
    grid-template-columns: 1fr;
  }

  .utility-subsection-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .utility-subsection-head p {
    max-width: none;
    text-align: left;
  }

  .utility-item-grid {
    grid-template-columns: 1fr;
  }

}

/* Centered search landing, inspired by compact AI tool directories */
.command-hero {
  position: relative;
  width: min(980px, 100%);
  margin: clamp(34px, 5vw, 72px) auto clamp(28px, 4vw, 48px);
  text-align: center;
}

.hero-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(88, 214, 141, 0.22);
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.055);
  box-shadow: 0 0 0 0 rgba(88, 214, 141, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: rgba(238, 244, 248, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  animation: badge-breathe 2.8s ease-in-out infinite;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(88, 214, 141, 0.9);
  animation: dot-breathe 2.8s ease-in-out infinite;
}

@keyframes badge-breathe {
  0%, 100% {
    border-color: rgba(88, 214, 141, 0.18);
    box-shadow: 0 0 0 0 rgba(88, 214, 141, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  50% {
    border-color: rgba(88, 214, 141, 0.46);
    box-shadow: 0 0 22px rgba(88, 214, 141, 0.18), 0 0 0 5px rgba(88, 214, 141, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

@keyframes dot-breathe {
  0%, 100% {
    opacity: .62;
    transform: scale(.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.hero-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duck-bubble {
  position: absolute;
  left: 68%;
  top: 36%;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(143, 239, 231, 0.72);
  border-radius: 999px;
  background: rgba(143, 239, 231, 0.14);
  box-shadow: 0 0 10px rgba(71, 199, 232, 0.24);
  opacity: 0;
  pointer-events: none;
  animation: duckBubble 3.8s ease-in-out infinite;
}

.duck-bubble.b2 {
  width: 5px;
  height: 5px;
  animation-delay: 1.15s;
}

.duck-bubble.b3 {
  width: 9px;
  height: 9px;
  animation-delay: 2.25s;
}

@keyframes duckBubble {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.55);
  }

  12% {
    opacity: .72;
  }

  62% {
    opacity: .5;
    transform: translate(14px, -24px) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(22px, -42px) scale(1.28);
  }
}

.command-hero h1 {
  margin: 0;
  color: transparent;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(42px, 5.7vw, 72px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  margin: 28px auto 16px;
}

.hero-tabs .filter-chip {
  position: relative;
  min-height: 34px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(195, 206, 216, 0.72);
  font-size: 16px;
  font-weight: 700;
}

.hero-tabs .filter-chip.active,
.hero-tabs .filter-chip:hover {
  color: var(--text);
  background: transparent;
}

.hero-tabs .filter-chip.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.command-hero .search-panel {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.command-hero .search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.command-hero .search-box {
  min-height: 64px;
  padding: 0 20px 0 24px;
  border: 1px solid rgba(149, 166, 190, 0.2);
  border-radius: 999px;
  background: rgba(238, 244, 248, 0.12);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.command-hero .search-box:focus-within {
  border-color: rgba(88, 214, 141, 0.56);
  background: rgba(8, 16, 24, 0.9);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26), 0 0 0 4px rgba(88, 214, 141, 0.08);
}

.command-hero .search-box span {
  order: 2;
  margin-left: auto;
  color: rgba(238, 244, 248, 0.86);
  font-size: 26px;
}

.command-hero .search-box input {
  color: var(--text);
  font-size: 17px;
}

.command-hero .search-box input::placeholder {
  color: rgba(195, 206, 216, 0.56);
}

.hero-hint {
  width: 100%;
  margin: 0 auto 14px;
  color: rgba(195, 206, 216, 0.68);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.home-layout {
  margin-top: 0;
}

@media (max-width: 760px) {
  .hero-badge {
    position: static;
    margin-bottom: 18px;
  }

  .hero-brand-lockup {
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
  }

  .hero-tabs {
    gap: 16px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .command-hero {
    position: relative;
    text-align: left;
  }

  .hero-hint {
    max-width: none;
    margin-bottom: 14px;
    text-align: center;
  }

  .command-hero .search-box {
    border-radius: 14px;
  }
}

.command-hero {
  text-align: center;
}

.hero-brand-lockup {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Clean workspace command area */
.home-layout {
  margin-top: 28px;
}

.workspace-search {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(149, 166, 190, 0.14);
  border-radius: 8px;
  background: rgba(10, 17, 26, 0.76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.workspace-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.workspace-title-row .eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.workspace-title-row h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.workspace-title-row p {
  max-width: 340px;
  margin: 0;
  color: rgba(195, 206, 216, 0.78);
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}

.workspace-search .search-panel {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.workspace-search .search-label {
  display: none;
}

.workspace-search .search-box {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 8px;
  border-color: rgba(71, 199, 232, 0.32);
  background: rgba(4, 10, 16, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.workspace-search .search-box:focus-within {
  border-color: rgba(88, 214, 141, 0.58);
  box-shadow: 0 0 0 3px rgba(88, 214, 141, 0.08);
}

.workspace-search .quick-filters {
  gap: 6px;
  margin-top: 10px;
}

.workspace-search .filter-chip {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  color: rgba(195, 206, 216, 0.78);
  background: transparent;
}

.workspace-search .filter-chip.active,
.workspace-search .filter-chip:hover {
  color: var(--text);
  border-color: rgba(88, 214, 141, 0.28);
  background: rgba(88, 214, 141, 0.12);
}

@media (max-width: 760px) {
  .workspace-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .workspace-title-row p {
    max-width: none;
    text-align: left;
  }
}

/* Refined workspace hero */
#matrix {
  opacity: 0.24;
}

.hero {
  display: block;
  min-height: 0;
  padding: clamp(48px, 6vw, 76px) 0 38px;
}

.hero-copy {
  width: min(920px, 100%);
  padding-bottom: 0;
}

.hero-copy h1 {
  gap: 0;
  max-width: 760px;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1.08;
}

.hero-subtitle {
  max-width: 620px;
  margin-top: 18px;
  color: #c3ced8;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.65;
}

.hero .search-panel {
  width: min(860px, 100%);
  margin-top: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  justify-self: start;
}

.hero .search-label {
  margin-bottom: 9px;
  color: rgba(195, 206, 216, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.hero .search-box {
  min-height: 60px;
  padding: 0 18px;
  border-color: rgba(71, 199, 232, 0.42);
  background: rgba(5, 12, 18, 0.82);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero .search-box:focus-within {
  border-color: rgba(88, 214, 141, 0.62);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(88, 214, 141, 0.08);
}

.hero .search-box input {
  font-size: 16px;
}

.hero .quick-filters {
  gap: 6px;
  margin-top: 12px;
}

.hero .filter-chip {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 7px;
  background: transparent;
}

.hero .filter-chip.active,
.hero .filter-chip:hover {
  color: var(--text);
  border-color: rgba(88, 214, 141, 0.28);
  background: rgba(88, 214, 141, 0.12);
}

@media (max-width: 560px) {
  .hero {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: 38px;
    line-height: 1.12;
  }
}

/* Balanced desktop hero */
@media (min-width: 981px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(430px, 0.78fr) minmax(520px, 1fr);
    align-items: end;
    gap: clamp(42px, 5vw, 92px);
    padding: clamp(50px, 5.4vw, 76px) 0 42px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 620px;
    font-size: clamp(48px, 4.2vw, 70px);
  }

  .hero-subtitle {
    max-width: 520px;
    margin-top: 16px;
  }

  .hero .search-panel {
    width: min(720px, 100%);
    margin: 0 0 6px auto;
  }

  .hero .search-label {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 10px;
    color: var(--green);
    letter-spacing: .02em;
  }

  .hero .search-box {
    min-height: 64px;
    border-radius: 8px;
  }

  .hero .quick-filters {
    justify-content: flex-start;
  }
}

/* Compact product workspace header */
.hero {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  min-height: 0;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(149, 166, 190, 0.14);
  border-radius: 8px;
  background: rgba(10, 17, 26, 0.74);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-copy {
  width: 100%;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .08em;
}

.hero-copy h1 {
  max-width: none;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.12;
}

.hero-subtitle {
  max-width: 420px;
  margin-top: 10px;
  color: rgba(195, 206, 216, 0.82);
  font-size: 15px;
  line-height: 1.55;
}

.hero .search-panel {
  width: 100%;
  margin: 0;
}

.hero .search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero .search-box {
  min-height: 52px;
  border-radius: 8px;
  background: rgba(4, 10, 16, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero .quick-filters {
  margin-top: 10px;
}

.hero .filter-chip {
  min-height: 30px;
  padding: 0 10px;
  color: rgba(195, 206, 216, 0.75);
}

.hero-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}


@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 16px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }
}

/* Final alignment pass for the home command area */
.command-hero {
  display: grid;
  justify-items: center;
  width: min(960px, calc(100% - 24px));
  margin-inline: auto;
  text-align: center;
}

.command-hero .hero-badge,
.command-hero .hero-brand-lockup,
.command-hero .hero-tabs,
.command-hero .search-panel {
  justify-self: center;
}

.command-hero .hero-brand-lockup {
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.command-hero .hero-tabs {
  width: min(980px, 100%);
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 16px 18px;
  margin-left: auto;
  margin-right: auto;
  scrollbar-width: thin;
}

.command-hero .hero-tabs .filter-chip {
  flex: 0 0 auto;
}

.command-hero .search-panel {
  width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* Favorite interaction feedback */
.favorite-btn {
  overflow: visible;
  transition:
    transform .18s ease,
    color .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.favorite-btn.active {
  color: var(--amber);
  background: rgba(245, 193, 92, 0.12);
  box-shadow: 0 0 0 3px rgba(245, 193, 92, 0.08), 0 10px 24px rgba(245, 193, 92, 0.14);
}

.favorite-btn.favorite-pop {
  animation: favorite-pop .42s cubic-bezier(.2, 1.2, .3, 1) both;
}

.favorite-btn.favorite-unpop {
  animation: favorite-unpop .28s ease both;
}

.favorite-burst {
  position: fixed;
  z-index: 999;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  color: var(--amber);
  font-size: 22px;
  line-height: 24px;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 0 18px rgba(245, 193, 92, 0.72);
  animation: favorite-burst .62s ease-out forwards;
}

#favorite-count.count-pop {
  animation: count-pop .36s ease both;
}

@keyframes favorite-pop {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 193, 92, 0);
  }

  45% {
    transform: scale(1.28) rotate(-10deg);
    box-shadow: 0 0 0 8px rgba(245, 193, 92, 0.16);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes favorite-unpop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(.84) rotate(8deg);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes favorite-burst {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(.5) rotate(0);
  }

  22% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -34px, 0) scale(1.35) rotate(24deg);
  }
}

@keyframes count-pop {
  0% {
    transform: translateY(0) scale(1);
  }

  45% {
    color: var(--amber);
    transform: translateY(-2px) scale(1.12);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .favorite-btn,
  .favorite-btn.favorite-pop,
  .favorite-btn.favorite-unpop,
  .favorite-burst,
  #favorite-count.count-pop {
    animation: none;
    transition: none;
  }
}

@media (max-width: 760px) {
  .command-hero {
    justify-items: stretch;
    text-align: center;
  }

  .command-hero .hero-brand-lockup,
  .command-hero .hero-tabs,
  .command-hero .search-panel {
    width: 100%;
  }

  .command-hero .hero-tabs {
    justify-content: flex-start;
  }
}



/* Home overview marquees */
.tools-workspace .category-group-overview {
  padding-inline: 15px;
}

.overview-section {
  overflow: hidden;
}

.overview-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.overview-heading h2 {
  margin: 3px 0 0;
  font-size: 22px;
  line-height: 1.25;
}

.overview-kicker {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.overview-row {
  padding: 14px 0 16px;
  border-top: 1px solid rgba(149, 166, 190, 0.12);
}

.overview-row:first-of-type {
  border-top: 0;
}

.overview-row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.overview-row-heading h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 36px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(88, 214, 141, 0.22);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(88, 214, 141, 0.11), rgba(71, 199, 232, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  font-size: 17px;
  line-height: 1.3;
}


.overview-row-heading b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(88, 214, 141, 0.28);
  border-radius: 6px;
  background: rgba(88, 214, 141, 0.08);
  color: #78deb0;
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.overview-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 3px 0 5px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.overview-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.overview-marquee-group {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  padding-right: 10px;
}

.overview-marquee-left .overview-marquee-track {
  animation: overview-scroll-left 48s linear infinite;
}

.overview-marquee-right .overview-marquee-track {
  animation: overview-scroll-right 52s linear infinite;
}

.overview-marquee:hover .overview-marquee-track,
.overview-marquee:focus-within .overview-marquee-track {
  animation-play-state: paused;
}

.overview-tool-card {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  min-height: 68px;
  padding: 11px 14px;
  border: 1px solid rgba(149, 166, 190, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: translate .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.overview-tool-card:hover,
.overview-tool-card:focus-visible {
  translate: 0 -2px;
  border-color: rgba(88, 214, 141, 0.4);
  background: rgba(88, 214, 141, 0.075);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  outline: none;
}

.overview-tool-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(88, 214, 141, 0.15), rgba(71, 199, 232, 0.11));
  font-size: 22px;
}

.overview-tool-icon.tool-icon {
  width: 42px;
  height: 42px;
}

.overview-tool-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.overview-tool-copy strong,
.overview-tool-copy small {
  white-space: nowrap;
}

.overview-tool-copy strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.overview-tool-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

@keyframes overview-scroll-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes overview-scroll-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (max-width: 560px) {
  .overview-heading {
    margin-bottom: 4px;
  }

  .overview-row {
    padding-block: 12px 14px;
  }

  .overview-tool-card {
    min-width: 174px;
    min-height: 62px;
    padding: 9px 12px;
  }

  .overview-tool-icon,
  .overview-tool-icon.tool-icon {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .overview-marquee-track {
    animation: none !important;
  }
}
@media (max-width: 980px) {
  .tools-workspace .category-bar {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .tools-workspace .category-bar::-webkit-scrollbar {
    display: none;
  }
}
/* Daily resources */
.resource-item-card {
  position: relative;
  border-color: rgba(71, 199, 232, 0.16);
}

.resource-item-card::after {
  content: "查看";
  position: absolute;
  right: 11px;
  bottom: 9px;
  color: rgba(71, 199, 232, 0);
  font-size: 11px;
  font-weight: 900;
  transition: color .2s ease, translate .2s ease;
}

.resource-item-card:hover,
.resource-item-card:focus-visible {
  border-color: rgba(71, 199, 232, 0.38);
  background: rgba(71, 199, 232, 0.065);
  outline: none;
}

.resource-item-card:hover::after,
.resource-item-card:focus-visible::after {
  color: var(--cyan);
  translate: -2px 0;
}

.resource-item-card .utility-category-icon {
  background: rgba(71, 199, 232, 0.1);
  box-shadow: inset 0 0 0 1px rgba(71, 199, 232, 0.12);
}

.resource-detail-shell {
  width: min(1540px, calc(100% - 48px));
}

.resource-detail-page {
  gap: 0;
}

.resource-hero-panel {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  margin-bottom: 28px;
  border-color: rgba(71, 199, 232, 0.2);
  background:
    linear-gradient(115deg, rgba(88, 214, 141, 0.07), transparent 48%),
    rgba(10, 18, 28, 0.9);
}

.resource-hero-panel .detail-hero-copy h1 {
  font-size: clamp(44px, 5vw, 68px);
}

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

.resource-stat {
  display: grid;
  align-content: center;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(149, 166, 190, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}

.resource-stat:nth-child(2) {
  border-color: rgba(71, 199, 232, 0.2);
}

.resource-stat:nth-child(3) {
  border-color: rgba(245, 189, 74, 0.2);
}

.resource-stat strong {
  color: var(--green);
  font-size: 32px;
  line-height: 1;
}

.resource-stat:nth-child(2) strong {
  color: var(--cyan);
}

.resource-stat:nth-child(3) strong {
  color: #f5bd4a;
}

.resource-stat span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.resource-entry-list {
  display: grid;
}

.resource-entry {
  padding: 30px 6px 34px;
  border-top: 1px solid rgba(149, 166, 190, 0.14);
}

.resource-entry:first-child {
  border-top: 0;
}

.resource-entry-head,
.resource-advice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.resource-entry-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.resource-entry-title > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(71, 199, 232, 0.16);
  border-radius: 8px;
  background: rgba(71, 199, 232, 0.085);
  font-size: 23px;
}

.resource-entry-title small {
  display: block;
  margin-bottom: 3px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
}

.resource-entry-title h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.3;
}

.resource-entry-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.resource-entry-note {
  max-width: 920px;
  margin: 14px 0 0 60px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.resource-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.resource-link-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(149, 166, 190, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  transition: translate .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.resource-link-card:hover,
.resource-link-card:focus-visible {
  translate: 0 -2px;
  border-color: rgba(88, 214, 141, 0.34);
  background: rgba(88, 214, 141, 0.065);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  outline: none;
}

.resource-link-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(71, 199, 232, 0.1);
}

.resource-link-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.resource-link-icon i {
  display: none;
  font-size: 20px;
  font-style: normal;
}

.resource-link-icon i.is-visible {
  display: block;
}

.resource-link-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.resource-link-copy strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.35;
}

.resource-link-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-link-arrow {
  color: var(--cyan);
  font-size: 18px;
  transition: translate .2s ease;
}

.resource-link-card:hover .resource-link-arrow {
  translate: 2px -2px;
}

.resource-shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.resource-shot-card {
  position: relative;
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(149, 166, 190, 0.15);
  border-radius: 8px;
  background: #e9eef1;
}

.resource-shot-card img {
  display: block;
  width: 100%;
  min-height: 210px;
  max-height: 520px;
  object-fit: contain;
  background: #e9eef1;
}

.resource-shot-card figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(7, 11, 18, 0.82);
  color: #eef6f7;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.resource-shot-card.is-image-missing {
  min-height: 180px;
  place-items: center;
}

.resource-shot-card.is-image-missing::before {
  content: "页面截图暂时无法加载";
  color: #56616b;
  font-size: 13px;
  font-weight: 800;
}

.resource-shot-card.is-image-missing img {
  display: none;
}

.resource-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.resource-video-wrap {
  overflow: hidden;
  border: 1px solid rgba(71, 199, 232, 0.18);
  border-radius: 8px;
  background: #060a0f;
}

.resource-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.resource-advice-section {
  margin-top: 12px;
  padding: 28px;
  border: 1px solid rgba(245, 189, 74, 0.18);
  border-radius: 8px;
  background: rgba(245, 189, 74, 0.045);
}

.resource-advice-head h2 {
  margin: 0;
  font-size: 22px;
}


.resource-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.resource-advice-grid p {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.resource-advice-grid b {
  color: #f5bd4a;
  font-size: 11px;
}

@media (max-width: 920px) {
  .resource-hero-panel {
    grid-template-columns: 1fr;
  }

  .resource-advice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .resource-detail-shell {
    width: min(100% - 24px, 1540px);
  }

  .resource-hero-panel {
    margin-bottom: 16px;
  }

  .resource-hero-stats {
    gap: 6px;
  }

  .resource-stat {
    min-height: 92px;
    padding: 10px 6px;
  }

  .resource-stat strong {
    font-size: 25px;
  }

  .resource-entry {
    padding: 24px 0 28px;
  }

  .resource-entry-head,
  .resource-advice-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .resource-entry-note {
    margin-left: 0;
  }

  .resource-link-grid,
  .resource-shot-grid,
  .resource-video-grid {
    grid-template-columns: 1fr;
  }

  .resource-shot-card img {
    min-height: 150px;
  }

  .resource-advice-section {
    padding: 20px;
  }
}

/* Resource pages follow the practical-tool layout */
.resource-detail-shell {
  width: min(1440px, calc(100% - 48px));
}

.resource-detail-page {
  gap: 24px;
}

.resource-aligned-hero {
  margin: 0;
}

.resource-aligned-card {
  min-height: 0;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  cursor: default;
}

.resource-aligned-card.is-single-resource {
  cursor: pointer;
}

.resource-aligned-card .simple-tool-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-areas:
    "head head"
    "description action";
  align-items: center;
  column-gap: 20px;
  row-gap: 8px;
  min-width: 0;
  min-height: 0;
}

.resource-aligned-card .simple-tool-icon {
  width: 72px;
  height: 72px;
  font-size: 34px;
}

.resource-aligned-card .simple-tool-head {
  grid-area: head;
}

.resource-aligned-card .simple-tool-head h3 {
  font-size: 22px;
}

.resource-aligned-card .simple-tool-copy p {
  grid-area: description;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.resource-aligned-card .simple-tool-copy > .simple-tool-cta {
  grid-area: action;
  margin: 0;
}


.resource-inline-images,
.resource-inline-videos {
  grid-column: 1 / -1;
}

.resource-direct-image img {
  max-height: 620px;
  object-fit: contain;
}


@media (max-width: 560px) {
  .resource-detail-shell {
    width: min(100% - 24px, 1440px);
  }

  .resource-aligned-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .resource-aligned-card .simple-tool-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .resource-aligned-card .simple-tool-copy {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "description"
      "action";
  }

  .resource-aligned-card .simple-tool-copy > .simple-tool-cta {
    justify-self: end;
    margin-top: 8px;
  }


}
/* Tutorial knowledge */
.tutorial-item-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tutorial-item-card {
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  min-height: 272px;
  padding: 16px;
  gap: 20px;
  border-color: rgba(245, 193, 92, 0.16);
}
.tutorial-item-card:hover,
.tutorial-item-card:focus-visible {
  border-color: rgba(245, 193, 92, 0.36);
  background: rgba(245, 193, 92, 0.055);
  outline: none;
}
.tutorial-item-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}
.tutorial-item-card p {
  display: block;
  overflow: visible;
  font-size: 15px;
  line-height: 1.65;
}
.tutorial-item-thumb {
  position: relative;
  width: 180px;
  height: 240px;
  overflow: hidden;
  border: 1px solid rgba(88, 214, 141, 0.24);
  border-radius: 6px;
  background: #0b171b;
  font-size: 30px;
  display: grid;
  place-items: center;
}
.tutorial-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.52) contrast(1.06) saturate(1.16);
  transition: filter .22s ease, scale .22s ease;
}
.tutorial-thumb-copy {
  position: absolute;
  top: 12px;
  right: 8px;
  left: 8px;
  padding: 9px 7px;
  border: 1px solid rgba(88, 214, 141, 0.24);
  border-left: 3px solid #69e3ac;
  border-radius: 4px;
  background: rgba(4, 13, 17, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  text-align: center;
  pointer-events: none;
}
.tutorial-item-card:hover .tutorial-item-thumb img,
.tutorial-item-card:focus-visible .tutorial-item-thumb img {
  filter: brightness(1.64) contrast(1.07) saturate(1.2);
  scale: 1.025;
}
.tutorial-thumb-copy strong {
  display: block;
  color: #f4fbf8;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.28;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.tutorial-thumb-copy strong.is-medium { font-size: 13px; }
.tutorial-thumb-copy strong.is-long { font-size: 12px; }
body[data-active-group="tutorial-knowledge"] .home-layout {
  grid-template-columns: minmax(0, 1fr);
}

body[data-active-group="tutorial-knowledge"] .news-sidebar,
body[data-active-group="tutorial-knowledge"] .stats-sidebar {
  display: none;
}

body[data-active-group="tutorial-knowledge"] .tools-workspace .tool-section {
  padding: 22px 24px 26px;
}

body[data-active-group="tutorial-knowledge"] .tools-workspace .section-heading h2 {
  font-size: 26px;
}

body[data-active-group="tutorial-knowledge"] .tools-workspace .section-heading p {
  font-size: 15px;
}
.tutorial-detail-shell { width: min(100% - 48px, 1560px); }
.tutorial-hero-panel { grid-template-columns: minmax(0, 1fr) minmax(360px, 520px) !important; }
.tutorial-hero-image {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 3 / 4;
  justify-self: end;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 193, 92, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.tutorial-hero-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.3) contrast(1.04) saturate(1.1); }
.tutorial-cover-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(180deg, rgba(4, 11, 16, 0.72), rgba(4, 11, 16, 0.08) 56%, transparent 74%);
  pointer-events: none;
}
.tutorial-cover-copy span {
  color: #74e5ae;
  font-size: 13px;
  font-weight: 800;
}
.tutorial-cover-copy strong {
  width: 100%;
  margin-top: 12px;
  color: #f1f7f5;
  font-size: 40px;
  line-height: 1.15;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}
.tutorial-cover-copy strong.is-medium { font-size: 35px; }
.tutorial-cover-copy strong.is-long { font-size: 28px; }
.tutorial-cover-copy strong,
.tutorial-detail-title {
  white-space: nowrap !important;
  word-break: normal;
  overflow-wrap: normal;
}
.tutorial-detail-title.is-medium { font-size: 54px; }
.tutorial-detail-title.is-long { font-size: 46px; }
.tutorial-cover-copy small {
  max-width: 88%;
  margin-top: 13px;
  color: #a9bdbb;
  font-size: 14px;
  line-height: 1.55;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.78);
}
.tutorial-hero-image.is-missing { display: none; }
.tutorial-hero-fallback {
  min-height: 320px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 193, 92, 0.18);
  border-radius: 8px;
  font-size: 88px;
  background: rgba(245, 193, 92, 0.05);
}

.tutorial-content-section { padding: clamp(24px, 3.6vw, 46px); }
.tutorial-content-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
}
.tutorial-content-heading h2,
.tutorial-content-heading p { margin: 0; }
.tutorial-content-heading p { color: var(--muted); order: 2; }
.tutorial-chapter {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(149, 166, 190, 0.14);
}
.tutorial-chapter-number {
  padding-top: 4px;
  color: rgba(245, 193, 92, 0.66);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}
.tutorial-chapter-heading { display: flex; align-items: center; gap: 12px; }
.tutorial-chapter-heading > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid rgba(88, 214, 141, 0.15);
  border-radius: 6px;
  background: rgba(88, 214, 141, 0.075);
  font-size: 21px;
}
.tutorial-chapter-heading h2 { margin: 0; font-size: clamp(21px, 2vw, 28px); line-height: 1.3; }
.tutorial-chapter-note { margin: 15px 0 0; color: #aebdcd; font-size: 17px; line-height: 1.85; }
.tutorial-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.tutorial-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
  padding: 13px 15px;
  border: 1px solid rgba(71, 199, 232, 0.17);
  border-radius: 6px;
  background: rgba(71, 199, 232, 0.035);
  transition: border-color .2s ease, background .2s ease, translate .2s ease;
}
.tutorial-link-card:hover,
.tutorial-link-card:focus-visible {
  border-color: rgba(71, 199, 232, 0.4);
  background: rgba(71, 199, 232, 0.08);
  translate: 0 -2px;
  outline: none;
}
.tutorial-link-card span,
.tutorial-link-card strong,
.tutorial-link-card small { min-width: 0; display: block; }
.tutorial-link-card strong { color: var(--text); line-height: 1.35; }
.tutorial-link-card small { margin-top: 4px; color: var(--muted); }
.tutorial-link-card > b { color: var(--cyan); }
.tutorial-image-grid,
.tutorial-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.tutorial-image-card,
.tutorial-video-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(149, 166, 190, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.tutorial-image-card img { display: block; width: 100%; max-height: 680px; object-fit: contain; }
.tutorial-image-card figcaption {
  padding: 9px 12px;
  border-top: 1px solid rgba(149, 166, 190, 0.1);
  color: var(--muted);
  font-size: 12px;
}
.tutorial-video-card video,
.tutorial-video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #05090e;
}
@media (max-width: 1280px) {
  .tutorial-item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tutorial-hero-panel { grid-template-columns: 1fr !important; }
  .tutorial-hero-image { justify-self: center; }
}
@media (max-width: 680px) {
  .tutorial-detail-shell { width: min(100% - 24px, 1560px); }
  .tutorial-item-grid,
  .tutorial-link-grid,
  .tutorial-image-grid,
  .tutorial-video-grid { grid-template-columns: 1fr; }
  body[data-active-group="tutorial-knowledge"] .tools-workspace .tool-section { padding: 16px; }
  .tutorial-item-card { grid-template-columns: 128px minmax(0, 1fr); min-height: 196px; padding: 12px; gap: 12px; }
  .tutorial-item-thumb { width: 128px; height: 171px; }
  .tutorial-thumb-copy { top: 8px; right: 5px; left: 5px; padding: 7px 5px; }
  .tutorial-item-card:hover .tutorial-item-thumb img,
.tutorial-item-card:focus-visible .tutorial-item-thumb img {
  filter: brightness(1.64) contrast(1.07) saturate(1.2);
  scale: 1.025;
}
  .tutorial-thumb-copy strong { font-size: 11.5px; }
  .tutorial-thumb-copy strong.is-medium { font-size: 10px; }
  .tutorial-thumb-copy strong.is-long { font-size: 9px; }
  .tutorial-hero-image,
  .tutorial-hero-fallback { min-height: 220px; }
  .tutorial-cover-copy strong { font-size: 28px; }
  .tutorial-cover-copy strong.is-medium { font-size: 25px; }
  .tutorial-cover-copy strong.is-long { font-size: 20px; }
  .tutorial-detail-title { font-size: 32px; }
  .tutorial-detail-title.is-medium { font-size: 28px; }
  .tutorial-detail-title.is-long { font-size: 24px; }
  .tutorial-content-heading { display: block; }
  .tutorial-content-heading p { margin-top: 8px; }
  .tutorial-chapter { grid-template-columns: 1fr; gap: 8px; padding: 25px 0; }
  .tutorial-chapter-number { padding: 0; }
}
/* Roomier category cards for practical tools and daily resources */
body[data-active-group="practical-tools"] .utility-item-grid,
body[data-active-group="daily-resources"] .resource-item-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body[data-active-group="practical-tools"] .utility-subsection,
body[data-active-group="daily-resources"] .utility-subsection {
  margin-top: 22px;
  padding-top: 22px;
}

body[data-active-group="practical-tools"] .utility-subsection:first-of-type,
body[data-active-group="daily-resources"] .utility-subsection:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

body[data-active-group="practical-tools"] .utility-subsection-head,
body[data-active-group="daily-resources"] .utility-subsection-head {
  margin-bottom: 14px;
}

body[data-active-group="practical-tools"] .utility-subsection-head h3,
body[data-active-group="daily-resources"] .utility-subsection-head h3 {
  font-size: 20px;
}

body[data-active-group="practical-tools"] .utility-subsection-head p,
body[data-active-group="daily-resources"] .utility-subsection-head p {
  max-width: 560px;
  font-size: 13px;
  line-height: 1.6;
}

body[data-active-group="practical-tools"] .utility-item-card,
body[data-active-group="daily-resources"] .resource-item-card {
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  min-height: 110px;
  padding: 16px;
}

body[data-active-group="practical-tools"] .utility-item-card .utility-category-icon,
body[data-active-group="daily-resources"] .resource-item-card .utility-category-icon {
  width: 44px;
  height: 44px;
  font-size: 22px;
}

body[data-active-group="practical-tools"] .utility-item-card h3,
body[data-active-group="daily-resources"] .resource-item-card h3 {
  margin-bottom: 7px;
  font-size: 17px;
  line-height: 1.35;
}

body[data-active-group="practical-tools"] .utility-item-card p,
body[data-active-group="daily-resources"] .resource-item-card p {
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

@media (max-width: 1180px) {
  body[data-active-group="practical-tools"] .utility-item-grid,
  body[data-active-group="daily-resources"] .resource-item-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-active-group="practical-tools"] .utility-item-grid,
  body[data-active-group="daily-resources"] .resource-item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body[data-active-group="practical-tools"] .utility-item-grid,
  body[data-active-group="daily-resources"] .resource-item-grid {
    grid-template-columns: 1fr;
  }
}
/* Portrait tutorial cards in the home overview */
.overview-tutorial-row .overview-marquee-group {
  gap: 12px;
  padding-right: 12px;
}

.overview-tool-card.overview-tutorial-card {
  width: 240px;
  min-width: 240px;
  min-height: 316px;
  align-items: stretch;
  padding: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.overview-tutorial-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(88, 214, 141, 0.26);
  border-radius: 6px;
  background: #081317;
}

.overview-tutorial-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.3) contrast(1.04) saturate(1.08);
  transition: scale .22s ease, filter .22s ease;
}

.overview-tutorial-title {
  position: absolute;
  top: 12px;
  right: 8px;
  left: 8px;
  padding: 10px 8px;
  border: 1px solid rgba(88, 214, 141, 0.24);
  border-left: 3px solid var(--green);
  border-radius: 4px;
  background: rgba(4, 13, 17, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.overview-tutorial-title strong {
  display: block;
  color: #f3faf7;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
}

.overview-tutorial-title strong.is-medium { font-size: 13.5px; }
.overview-tutorial-title strong.is-long { font-size: 12.5px; }

.overview-tutorial-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 48px;
}

.overview-tutorial-card:hover .overview-tutorial-cover img,
.overview-tutorial-card:focus-visible .overview-tutorial-cover img {
  scale: 1.025;
  filter: brightness(1.42) contrast(1.05) saturate(1.12);
}

@media (max-width: 560px) {
  .overview-tool-card.overview-tutorial-card {
    width: 190px;
    min-width: 190px;
    min-height: 252px;
    padding: 7px;
  }

  .overview-tutorial-title strong { font-size: 12px; }
  .overview-tutorial-title strong.is-medium { font-size: 10.5px; }
  .overview-tutorial-title strong.is-long { font-size: 9.5px; }
}
/* Search spacing after removing the hero filter tabs */
.command-hero .search-panel {
  margin-top: 28px;
}

@media (max-width: 560px) {
  .command-hero .search-panel {
    margin-top: 20px;
  }
}
/* Empty states for new content groups */
.category-empty-state {
  display: grid;
  grid-column: 1 / -1;
  min-height: 180px;
  place-content: center;
  gap: 8px;
  padding: 28px;
  border: 1px dashed rgba(88, 214, 141, 0.22);
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
  background: rgba(88, 214, 141, 0.025);
}

.category-empty-state strong {
  color: var(--text);
  font-size: 22px;
}

.category-empty-state p {
  margin: 0;
  line-height: 1.7;
}
/* Editorial tutorial cover typography */
.tutorial-thumb-copy,
.overview-tutorial-title {
  position: absolute;
  right: 10px;
  left: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  pointer-events: none;
}

.tutorial-thumb-copy {
  top: 19%;
  padding: 8px 3px 14px;
}

.overview-tutorial-title {
  top: 20%;
  right: 12px;
  left: 12px;
  padding: 10px 4px 17px;
}

.tutorial-thumb-copy::after,
.overview-tutorial-title::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 48px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(105, 227, 172, 0.72);
  box-shadow: 0 0 9px rgba(88, 214, 141, 0.38);
}

.tutorial-thumb-copy::before,
.overview-tutorial-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  transform: translateX(-50%) rotate(45deg);
  background: #79dfb0;
  box-shadow: 0 0 8px rgba(88, 214, 141, 0.55);
}

.tutorial-thumb-copy strong,
.overview-tutorial-title strong {
  display: block;
  color: #edf8f3;
  font-family: "STZhongsong", "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
  -webkit-text-stroke: .2px rgba(236, 255, 247, 0.38);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 13px rgba(0, 0, 0, 0.96), 0 0 18px rgba(88, 214, 141, 0.16);
}

.tutorial-thumb-copy strong { font-size: 15.5px; }
.tutorial-thumb-copy strong.is-medium { font-size: 14px; }
.tutorial-thumb-copy strong.is-long { font-size: 12.5px; }

.overview-tutorial-title strong {
  font-size: 18px;
  -webkit-text-stroke-width: .25px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12), 0 5px 16px rgba(0, 0, 0, 0.96), 0 0 20px rgba(88, 214, 141, 0.18);
}

.overview-tutorial-title strong.is-medium { font-size: 16px; }
.overview-tutorial-title strong.is-long { font-size: 14px; }

@media (max-width: 680px) {
  .tutorial-thumb-copy {
    top: 18%;
    right: 6px;
    left: 6px;
    padding: 5px 2px 12px;
  }

  .tutorial-thumb-copy strong { font-size: 12px; }
  .tutorial-thumb-copy strong.is-medium { font-size: 10.5px; }
  .tutorial-thumb-copy strong.is-long { font-size: 9.2px; }
}

@media (max-width: 560px) {
  .overview-tutorial-title {
    top: 18%;
    right: 8px;
    left: 8px;
    padding: 7px 3px 14px;
  }

  .overview-tutorial-title strong { font-size: 14px; }
  .overview-tutorial-title strong.is-medium { font-size: 12px; }
  .overview-tutorial-title strong.is-long { font-size: 10.5px; }
}
/* Modern display treatment for tutorial covers */
.tutorial-thumb-copy,
.overview-tutorial-title {
  top: 24%;
  right: 8px;
  left: 8px;
  padding: 10px 5px 14px;
  border-left: 3px solid #63e4a7;
  background: linear-gradient(90deg, rgba(4, 15, 19, 0.94), rgba(6, 22, 26, 0.72) 72%, rgba(6, 22, 26, 0.16));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34), inset 0 -1px 0 rgba(105, 227, 172, 0.14);
  backdrop-filter: blur(5px);
  text-align: left;
}

.tutorial-thumb-copy::before,
.overview-tutorial-title::before {
  display: none;
}

.tutorial-thumb-copy::after,
.overview-tutorial-title::after {
  bottom: 6px;
  left: 7px;
  width: 42px;
  height: 2px;
  transform: none;
  background: linear-gradient(90deg, #62e1a4, rgba(71, 199, 232, 0.25));
  box-shadow: 0 0 10px rgba(88, 214, 141, 0.35);
}

.tutorial-thumb-copy strong,
.overview-tutorial-title strong {
  color: #f7fffb;
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  background: linear-gradient(180deg, #ffffff 18%, #c7e5da 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 0.72), 0 0 18px rgba(88, 214, 141, 0.12);
  text-rendering: geometricPrecision;
}

.tutorial-thumb-copy strong { font-size: 17px; }
.tutorial-thumb-copy strong.is-medium { font-size: 15px; }
.tutorial-thumb-copy strong.is-long { font-size: 13px; }

.overview-tutorial-title {
  top: 25%;
  right: 10px;
  left: 10px;
  padding: 13px 10px 17px;
}

.overview-tutorial-title strong { font-size: 20px; }
.overview-tutorial-title strong.is-medium { font-size: 17.5px; }
.overview-tutorial-title strong.is-long { font-size: 15px; }

@media (max-width: 680px) {
  .tutorial-thumb-copy {
    top: 22%;
    right: 5px;
    left: 5px;
    padding: 7px 5px 11px;
  }

  .tutorial-thumb-copy::after { bottom: 4px; left: 5px; width: 30px; }
  .tutorial-thumb-copy strong { font-size: 12.5px; }
  .tutorial-thumb-copy strong.is-medium { font-size: 10.8px; }
  .tutorial-thumb-copy strong.is-long { font-size: 9px; }
}

@media (max-width: 560px) {
  .overview-tutorial-title {
    top: 23%;
    right: 7px;
    left: 7px;
    padding: 9px 7px 13px;
  }

  .overview-tutorial-title::after { bottom: 4px; left: 7px; width: 34px; }
  .overview-tutorial-title strong { font-size: 15px; }
  .overview-tutorial-title strong.is-medium { font-size: 12.5px; }
  .overview-tutorial-title strong.is-long { font-size: 10.8px; }
}
/* Centered title lockup refinement */
.tutorial-thumb-copy,
.overview-tutorial-title {
  right: 7px;
  left: 7px;
  padding: 11px 4px 15px;
  border-left: 0;
  background: linear-gradient(90deg, transparent, rgba(4, 15, 19, 0.72) 14%, rgba(4, 15, 19, 0.86) 50%, rgba(4, 15, 19, 0.72) 86%, transparent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
  text-align: center;
}

.tutorial-thumb-copy::after,
.overview-tutorial-title::after {
  bottom: 5px;
  left: 50%;
  width: 34px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(99, 228, 167, 0.82);
}

.overview-tutorial-title {
  right: 9px;
  left: 9px;
  padding: 13px 5px 17px;
}

@media (max-width: 680px) {
  .tutorial-thumb-copy {
    right: 4px;
    left: 4px;
    padding: 8px 2px 12px;
  }

  .tutorial-thumb-copy::after {
    bottom: 4px;
    left: 50%;
    width: 26px;
    transform: translateX(-50%);
  }
}

@media (max-width: 560px) {
  .overview-tutorial-title {
    right: 6px;
    left: 6px;
    padding: 10px 3px 14px;
  }

  .overview-tutorial-title::after {
    bottom: 4px;
    left: 50%;
    width: 30px;
    transform: translateX(-50%);
  }
}
