:root {
  --ink: #171713;
  --paper: #f0efe9;
  --paper-2: #e7e5dd;
  --line: rgba(23, 23, 19, 0.22);
  --accent: #ff5c35;
  --lime: #d8ff58;
  --blue: #6d7cff;
  --star: #111;
  --surface: rgba(250,249,243,.92);
  --surface-strong: rgba(255,255,255,.9);
  --muted: rgba(23,23,19,.62);
  --shadow: 0 24px 70px rgba(28, 27, 22, 0.2);
  --on-bright: #111;
  --step-one-bg: linear-gradient(135deg, #ffe1bd 0%, #ffd1ec 48%, #d6eaff 100%);
  --step-two-bg: linear-gradient(135deg, #fff27a 0%, #caf7bd 32%, #b9efff 66%, #d9ccff 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff3e7 0%, #f3ffe8 34%, #eef4ff 68%, #fff4fb 100%);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
button, input, textarea { color: inherit; font: inherit; }
a { color: inherit; }
.atmosphere { position: absolute; inset: 0 0 auto; height: 720px; z-index: 0; overflow: hidden; pointer-events: none; opacity: .55; }
.orb { position: absolute; width: min(34vw, 420px); aspect-ratio: 1; border-radius: 46% 54% 58% 42%; opacity: .18; }
.orb-one { left: -16vw; top: 15vh; background: #ff5c35; transform: rotate(18deg); }
.orb-two { right: -12vw; top: -10vh; background: #7067ff; transform: rotate(-14deg); }
.orb-three { right: 20vw; bottom: -30vh; background: #d8ff58; transform: rotate(8deg); }
@keyframes float { to { transform: translate3d(35px, -45px, 0) rotate(35deg) scale(1.08); } }
.noise {
  display: none;
}

.site-header {
  position: relative; z-index: 1;
  height: 88px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(22px, 4.5vw, 74px); border-bottom: 1px solid var(--line); background: rgba(250,249,243,.9);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 11px; font-weight: 800; line-height: .95; letter-spacing: .08em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 900; font-size: 17px; letter-spacing: -.1em; transform: rotate(-3deg); }
.brand-mark span { color: var(--lime); }
.header-nav { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.header-nav a { text-decoration: none; }
.language-button { min-width: 66px; border: 1px solid var(--on-bright); color: var(--on-bright); background: var(--lime); padding: 9px 12px; font-size: 10px; font-weight: 900; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.language-button:hover { color: var(--paper); background: var(--ink); transform: translateY(-2px); }
.theme-switcher { display: flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--ink); background: var(--surface-strong); }
.theme-switcher-label { padding: 0 7px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.theme-option { min-height: 31px; display: flex; align-items: center; gap: 6px; border: 0; padding: 0 9px; color: var(--ink); background: transparent; font-size: 9px; font-weight: 900; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.theme-option:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--lime) 25%, transparent); }
.theme-option.active { color: var(--paper); background: var(--ink); }
.theme-option b { white-space: nowrap; }
.theme-swatch { display: inline-block; width: 13px; height: 13px; flex: 0 0 13px; border: 1px solid currentColor; border-radius: 50%; }
.swatch-fresh { background: conic-gradient(#ff8b72, #c7b7ff, #d8ff58, #ff8b72); }
.swatch-dark { background: conic-gradient(#0d0e0c, #383c32, #d8ff58, #0d0e0c); }
.swatch-tech { background: conic-gradient(#07162e, #00edff, #ff4fd8, #07162e); }

main { position: relative; z-index: 1; padding: 0 clamp(22px, 4.5vw, 74px); }
.hero { position: relative; min-height: 590px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .75fr); gap: 50px; align-items: end; padding: 80px 0 72px; }
.hero::after { content: ""; position: absolute; top: 7%; right: -5%; width: clamp(180px, 25vw, 380px); aspect-ratio: 1; z-index: -1; border: 1px solid rgba(23,23,19,.2); border-radius: 50%; background: repeating-linear-gradient(125deg, transparent 0 13px, rgba(216,255,88,.55) 14px 25px); transform: rotate(-12deg); }
.eyebrow, .section-index { font: 800 11px/1.2 "Helvetica Neue", sans-serif; letter-spacing: .13em; }
.live-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--accent); margin-right: 8px; box-shadow: 0 0 0 5px rgba(255,92,53,.14); }
.hero h1 { margin: 37px 0 0; max-width: 850px; font-size: clamp(66px, 9vw, 144px); line-height: .84; letter-spacing: -.075em; font-weight: 800; }
.hero h1 em { font-family: Georgia, "Songti SC", serif; font-weight: 400; }
.hero-en { margin: 35px 0 0; color: rgba(23,23,19,.55); text-transform: uppercase; font-size: 14px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; }
.hero-side { align-self: end; border-top: 1px solid var(--ink); padding-top: 20px; }
.hero-side > p { margin: 0; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.45; }
.hero-side .hero-side-en { margin-top: 12px; font-size: 13px; line-height: 1.5; color: rgba(23,23,19,.55); }
.hero-note { display: flex; gap: 15px; align-items: center; margin-top: 46px; padding: 15px; color: var(--on-bright); background: var(--step-two-bg); border: 1px solid rgba(17,17,17,.2); transform: rotate(1deg); }
.hero-note > span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid var(--on-bright); border-radius: 50%; color: var(--on-bright); font-size: 23px; }
.hero-note p { margin: 0; font-size: 12px; line-height: 1.45; }

.tool-section { position: relative; border-top: 1px solid var(--ink); padding: 30px 0 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; }
.section-index { margin: 0 0 16px; color: rgba(23,23,19,.55); }
.section-heading h2, .how-to h2 { margin: 0; font-size: clamp(30px, 4vw, 58px); letter-spacing: -.05em; }
.section-heading h2 span { font-family: Georgia, serif; font-weight: 400; font-style: italic; }
.tool-count { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.tool-count span { display: block; font-size: 40px; letter-spacing: -.06em; }
.controls { display: grid; grid-template-columns: minmax(300px, 1fr) auto; gap: 18px; margin: 46px 0 24px; }
.search-box { height: 50px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 1px solid var(--ink); background: var(--surface-strong); }
.search-box > span { font-size: 25px; transform: rotate(-20deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }
kbd { padding: 3px 7px; border: 1px solid var(--line); background: var(--paper-2); font-size: 10px; }
.filters { display: flex; border: 1px solid var(--ink); background: var(--surface-strong); }
.filter-button { border: 0; border-right: 1px solid var(--ink); background: transparent; padding: 0 16px; font-size: 10px; font-weight: 800; cursor: pointer; }
.filter-button:last-child { border-right: 0; }
.filter-button:hover, .filter-button.active { color: var(--paper); background: var(--ink); }

.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.tool-card { position: relative; min-height: 368px; display: flex; flex-direction: column; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--surface); background: linear-gradient(135deg, color-mix(in srgb, var(--card-color) 18%, transparent) 0%, transparent 46%), var(--surface); overflow: hidden; contain: paint; transition: color .18s, background-color .18s; }
.tool-card:hover { background: linear-gradient(135deg, color-mix(in srgb, var(--card-color) 26%, transparent) 0%, transparent 50%), var(--surface-strong); }
.tool-card:hover .tool-logo { transform: rotate(-7deg) scale(1.07); }
.tool-card[hidden] { display: none; }
.card-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; z-index: 1; }
.tool-logo { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: var(--logo-radius, 14px); color: var(--logo-ink, var(--ink)); background: var(--logo-bg, white); font-size: 21px; font-weight: 900; letter-spacing: -.08em; transition: transform .25s; }
.tool-logo.large { width: 68px; height: 68px; flex: 0 0 68px; font-size: 26px; }
.tool-logo-image { width: 72%; height: 72%; display: block; object-fit: contain; }
.tool-logo-fallback { display: none; }
.tool-logo.image-failed .tool-logo-image { display: none; }
.tool-logo.image-failed .tool-logo-fallback { display: inline; }
.star-badge { position: relative; z-index: 1; display: grid; justify-items: end; gap: 4px; padding: 7px 9px; border: 1px solid #111; color: #111; background: #fff4d5; }
.star-badge .stars { white-space: nowrap; color: var(--star); font-size: 12px; letter-spacing: .06em; line-height: 1; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.star-badge small { color: #333; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.tool-category { font-size: 9px; font-weight: 800; letter-spacing: .1em; color: rgba(23,23,19,.54); }
.card-body { position: relative; z-index: 1; margin-top: auto; padding-top: 52px; padding-right: 96px; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-meta { margin: 0 0 9px; color: rgba(23,23,19,.48); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.card-body h3 { margin: 0 0 8px; font-size: 27px; letter-spacing: -.04em; }
.affiliate-badge { display: inline-block; margin: 0 0 10px; padding: 5px 7px; border: 1px solid var(--ink); color: var(--on-bright); background: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.card-tagline { margin: 0 0 11px; font-size: 14px; font-weight: 750; }
.card-description { margin: 0; max-width: 330px; color: rgba(23,23,19,.68); font-size: 12px; line-height: 1.62; }
.detail-button { position: absolute; right: 18px; bottom: 18px; z-index: 3; min-width: 82px; height: 38px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ink); border-radius: 99px; padding: 0 12px; color: var(--ink); background: var(--paper); font-size: 11px; font-weight: 900; line-height: 1; cursor: pointer; transition: transform .2s, background .2s; }
.detail-button span { font-size: 16px; font-weight: 400; }
.detail-button:hover { color: var(--paper); background: var(--ink); transform: translateY(-3px); }
.empty-state { border: 1px solid var(--ink); padding: 70px 30px; text-align: center; }
.empty-state span { font-size: 11px; font-weight: 900; letter-spacing: .1em; color: var(--accent); }
.empty-state p { font-size: 20px; line-height: 1.5; }
.empty-state small { color: rgba(23,23,19,.5); }

.monetization-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 28px; padding: 18px; border: 1px solid var(--ink); background: linear-gradient(135deg, color-mix(in srgb, var(--lime) 25%, transparent), var(--surface-strong)); }
.monetization-strip span { font-size: 9px; font-weight: 900; letter-spacing: .14em; color: var(--accent); }
.monetization-strip p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
.monetization-strip a { justify-self: end; padding: 10px 13px; border: 1px solid var(--ink); color: var(--paper); background: var(--ink); text-decoration: none; font-size: 10px; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.monetization-strip a:hover { color: var(--on-bright); background: var(--lime); }

.partner-section { padding: 35px 0 100px; border-top: 1px solid var(--ink); }
.partner-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 32px; align-items: end; margin-top: 12px; }
.partner-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 58px); letter-spacing: -.05em; }
.partner-heading h2 span { font-family: Georgia, serif; font-weight: 400; font-style: italic; }
.partner-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.partner-grid article { min-height: 210px; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 11%, transparent), var(--surface)); }
.partner-grid article:nth-child(2) { background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 14%, transparent), var(--surface)); }
.partner-grid article:nth-child(3) { background: linear-gradient(135deg, color-mix(in srgb, var(--lime) 20%, transparent), var(--surface)); }
.partner-grid span { font-family: Georgia, serif; font-size: 42px; font-style: italic; }
.partner-grid h3 { margin: 42px 0 10px; font-size: 20px; letter-spacing: -.03em; }
.partner-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.how-to { padding: 35px 0 100px; border-top: 1px solid var(--ink); }
.how-to h2 { margin: 12px 0 42px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.steps article { position: relative; min-height: 230px; padding: 28px; border-right: 1px solid var(--ink); background: var(--surface-strong); }
.steps article:first-child { background: var(--step-one-bg); }
.steps article:last-child { border-right: 0; background: var(--step-two-bg); }
.steps article > span { font-family: Georgia, serif; font-size: 56px; font-style: italic; }
.steps p { max-width: 390px; margin: 42px 0 0; font-size: 18px; line-height: 1.45; }
.steps small { position: absolute; right: 25px; top: 31px; font-size: 9px; font-weight: 900; letter-spacing: .13em; }

footer { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 30px; padding: 52px clamp(22px,4.5vw,74px); color: var(--paper); background: var(--ink); }
.footer-brand .brand-mark { color: var(--ink); background: var(--paper); }
footer > p { margin: 0; font-size: 13px; line-height: 1.5; }
.footer-right { display: grid; gap: 16px; justify-items: end; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { color: inherit; text-decoration: none; opacity: .7; }
.footer-links a:hover { opacity: 1; color: var(--lime); }
.footer-meta { text-align: right; color: rgba(240,239,233,.45); font-size: 9px; letter-spacing: .12em; }

.legal-main { min-height: 72vh; padding-top: 76px; padding-bottom: 96px; }
.legal-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 42px; align-items: end; padding-bottom: 46px; border-bottom: 1px solid var(--ink); }
.legal-hero h1 { margin: 0; font-size: clamp(46px, 7vw, 92px); line-height: .92; letter-spacing: -.06em; }
.legal-hero p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.legal-content { display: grid; gap: 24px; max-width: 980px; padding-top: 42px; }
.legal-card { padding: 26px; border: 1px solid var(--ink); background: var(--surface-strong); }
.legal-card h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.03em; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal-card p { margin: 0 0 12px; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ul { margin: 0; padding-left: 20px; }
.legal-card a { color: inherit; font-weight: 900; }
.legal-note { display: inline-block; width: fit-content; padding: 8px 10px; border: 1px solid var(--ink); color: var(--on-bright); background: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.modal-backdrop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(23,23,19,.58); opacity: 0; transition: opacity .2s; }
.modal-backdrop[hidden] { display: none; }
.modal-backdrop.visible { opacity: 1; }
.modal { position: relative; width: min(900px, 100%); max-height: min(800px, calc(100vh - 40px)); overflow: auto; background: linear-gradient(145deg, #f8f7f1, var(--paper)); box-shadow: var(--shadow); transform: translateY(24px) rotate(.5deg); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.modal-backdrop.visible .modal { transform: translateY(0) rotate(0); }
.modal-stripe { height: 10px; background: var(--modal-color, var(--accent)); }
.modal-close { position: absolute; right: 19px; top: 26px; z-index: 2; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; font-size: 27px; cursor: pointer; }
.modal-close:hover { color: var(--paper); background: var(--ink); }
.modal-content { padding: clamp(26px, 5vw, 54px); }
.modal-heading-row { display: flex; align-items: center; gap: 20px; padding-right: 45px; }
.modal-kicker { margin: 0 0 6px; color: rgba(23,23,19,.5); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.modal h2 { margin: 0; font-size: clamp(36px, 6vw, 62px); line-height: 1; letter-spacing: -.06em; }
.modal-subtitle { margin: 8px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 18px; font-style: italic; }
.modal-description { margin: 32px 0; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 16px; line-height: 1.65; }
.modal-columns { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; }
.modal-columns h3 { margin: 0 0 16px; font-size: 9px; letter-spacing: .14em; }
.modal-columns ul { list-style: none; margin: 0; padding: 0; }
.modal-columns li { position: relative; padding: 9px 0 9px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.modal-columns li::before { content: "↳"; position: absolute; left: 0; color: var(--accent); }
.quick-tip { padding: 20px; background: var(--paper-2); }
.quick-tip > p { min-height: 86px; margin: 0 0 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.55; }
.quick-tip button { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--ink); background: transparent; padding: 11px; font-size: 11px; font-weight: 800; cursor: pointer; }
.quick-tip button:hover { color: var(--paper); background: var(--ink); }
.quick-tip small { font-size: 8px; letter-spacing: .1em; }
.modal-launch { display: flex; justify-content: space-between; margin-top: 32px; padding: 18px 20px; color: var(--paper); background: var(--ink); text-decoration: none; font-size: 13px; }
.modal-launch i { font-style: normal; }
.modal-launch:hover { background: var(--modal-color, var(--accent)); color: var(--on-bright); }
.modal-launch > span:last-child { font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; padding: 13px 20px; color: var(--paper); background: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; transform: translate(-50%, 90px); transition: transform .25s; }
.toast.show { transform: translate(-50%, 0); }

.discussion-fab { position: fixed; right: 24px; bottom: 24px; z-index: 120; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 8px 7px 9px; border: 1px solid var(--on-bright); border-radius: 99px; color: var(--on-bright); background: var(--lime); box-shadow: 3px 3px 0 var(--on-bright); font-size: 12px; font-weight: 900; cursor: pointer; transform: translateZ(0); contain: paint; transition: transform .18s; }
.discussion-fab:hover { transform: translate3d(-2px,-2px,0); }
.discussion-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: var(--lime); background: var(--on-bright); font-size: 23px; }
.discussion-fab b { min-width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--on-bright); border-radius: 50%; color: var(--on-bright); background: rgba(255,255,255,.5); font-size: 10px; }
.discussion-backdrop { position: fixed; inset: 0; z-index: 210; display: flex; justify-content: flex-end; background: rgba(23,23,19,.5); opacity: 0; transition: opacity .2s; }
.discussion-backdrop[hidden] { display: none; }
.discussion-backdrop.visible { opacity: 1; }
.discussion-panel { width: min(520px, 100%); height: 100%; overflow-y: auto; padding: 28px; background: linear-gradient(160deg, #fff8ea 0%, #f2efe4 50%, #e6ddff 100%); border-left: 1px solid var(--ink); transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.discussion-backdrop.visible .discussion-panel { transform: translateX(0); }
.discussion-header { display: flex; justify-content: space-between; gap: 22px; padding-bottom: 23px; border-bottom: 1px solid var(--ink); }
.discussion-header p { margin: 0 0 10px; color: rgba(23,23,19,.55); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.discussion-header h2 { margin: 0; font-size: 38px; letter-spacing: -.05em; }
.discussion-close { flex: 0 0 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; font-size: 27px; cursor: pointer; }
.discussion-close:hover { color: var(--paper); background: var(--ink); }
.discussion-intro { display: flex; gap: 13px; align-items: center; margin: 22px 0; padding: 15px; border: 1px solid var(--on-bright); color: var(--on-bright); background: var(--lime); transform: rotate(-.4deg); }
.anonymous-avatar { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--lime); background: var(--on-bright); font: italic 700 23px Georgia, serif; }
.discussion-intro b { font-size: 13px; }
.discussion-intro p { margin: 4px 0 0; color: rgba(17,17,17,.72); font-size: 10px; line-height: 1.4; }
.comment-form { padding: 20px; border: 1px solid var(--ink); background: rgba(255,255,255,.66); }
.comment-form label { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 900; }
.comment-form textarea { width: 100%; resize: vertical; border: 0; border-bottom: 1px solid var(--ink); outline: 0; padding: 10px 0; color: var(--ink); background: transparent; font: 13px/1.6 inherit; }
.comment-form textarea::placeholder { color: rgba(23,23,19,.4); }
.comment-form-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.comment-form-actions > span { color: rgba(23,23,19,.48); font-size: 9px; }
.comment-form-actions button { border: 1px solid var(--ink); padding: 10px 14px; color: var(--paper); background: var(--ink); font-size: 10px; font-weight: 900; cursor: pointer; }
.comment-form-actions button:hover { color: var(--on-bright); background: var(--lime); }
.discussion-feed-heading { display: flex; align-items: end; justify-content: space-between; margin: 30px 0 12px; }
.discussion-feed-heading h3 { margin: 0; font-size: 17px; }
.discussion-feed-heading span { color: rgba(23,23,19,.5); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.comment-list { border-top: 1px solid var(--ink); }
.comment-item { padding: 20px 4px; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; align-items: center; gap: 8px; color: rgba(23,23,19,.52); font-size: 9px; }
.comment-meta strong { color: var(--ink); font-size: 11px; }
.comment-meta .mine-tag { padding: 2px 5px; color: var(--on-bright); background: var(--lime); font-size: 8px; font-weight: 900; }
.comment-text { margin: 11px 0 14px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.65; }
.comment-actions { display: flex; align-items: center; gap: 9px; }
.comment-actions button { border: 1px solid var(--line); padding: 6px 9px; background: rgba(255,255,255,.45); font-size: 9px; font-weight: 800; cursor: pointer; }
.comment-actions button:hover, .comment-actions button.liked { border-color: var(--on-bright); color: var(--on-bright); background: var(--lime); }
.comment-actions .delete-comment { margin-left: auto; color: rgba(23,23,19,.5); background: transparent; }
.comment-empty { padding: 40px 10px; text-align: center; color: rgba(23,23,19,.5); font-size: 12px; }

html[data-theme="dark"] {
  --ink: #f3f1e8;
  --paper: #10120f;
  --paper-2: #1c2019;
  --line: rgba(243,241,232,.2);
  --accent: #ff7048;
  --lime: #d5ff55;
  --blue: #9287ff;
  --star: #111;
  --surface: rgba(23,26,21,.84);
  --surface-strong: rgba(31,35,28,.9);
  --muted: rgba(243,241,232,.58);
  --shadow: 0 24px 80px rgba(0,0,0,.55);
  --step-one-bg: linear-gradient(135deg, rgba(255,112,72,.28) 0%, rgba(31,35,28,.96) 58%, rgba(146,135,255,.18) 100%);
  --step-two-bg: linear-gradient(135deg, rgba(213,255,85,.22) 0%, rgba(35,64,43,.96) 44%, rgba(31,35,28,.98) 100%);
}
html[data-theme="dark"] body { background: linear-gradient(180deg, #12140f 0%, #191d16 48%, #10120f 100%); }
html[data-theme="dark"] .orb-one { background: #ff7048; opacity: .17; }
html[data-theme="dark"] .orb-two { background: #7466ff; opacity: .2; }
html[data-theme="dark"] .orb-three { background: #d5ff55; opacity: .12; }

html[data-theme="tech"] {
  --ink: #e9faff;
  --paper: #061326;
  --paper-2: #0c223d;
  --line: rgba(83,229,255,.3);
  --accent: #ff4fd8;
  --lime: #4df4ff;
  --blue: #806dff;
  --star: #111;
  --surface: rgba(7,28,51,.82);
  --surface-strong: rgba(11,38,67,.92);
  --muted: rgba(190,236,247,.62);
  --shadow: 0 24px 90px rgba(0,0,0,.58), 0 0 35px rgba(77,244,255,.12);
  --step-one-bg: linear-gradient(135deg, rgba(77,244,255,.2) 0%, rgba(11,38,67,.96) 52%, rgba(128,109,255,.22) 100%);
  --step-two-bg: linear-gradient(135deg, rgba(255,79,216,.24) 0%, rgba(7,28,51,.96) 48%, rgba(77,244,255,.28) 100%);
}
html[data-theme="tech"] body { background: linear-gradient(180deg, #061326 0%, #071f38 52%, #0a1028 100%); }
html[data-theme="tech"] .orb-one { background: #ff35d3; opacity: .18; }
html[data-theme="tech"] .orb-two { background: #00d9ff; opacity: .22; }
html[data-theme="tech"] .orb-three { background: #734cff; opacity: .2; }
html[data-theme="tech"] .tool-card { box-shadow: none; }
html[data-theme="tech"] .live-dot { background: var(--lime); box-shadow: 0 0 0 5px rgba(77,244,255,.14), 0 0 14px var(--lime); }
html[data-theme="tech"] .steps article:first-child > span { color: #9bf8ff; }
html[data-theme="tech"] .steps article:last-child > span { color: #ff91e9; }
html[data-theme="tech"] .steps small { color: rgba(233,250,255,.82); }

html[data-theme="dark"] .site-header,
html[data-theme="tech"] .site-header { background: color-mix(in srgb, var(--paper) 76%, transparent); }
html[data-theme="dark"] .hero-en,
html[data-theme="dark"] .hero-side .hero-side-en,
html[data-theme="dark"] .section-index,
html[data-theme="dark"] .card-meta,
html[data-theme="dark"] .card-description,
html[data-theme="dark"] .tool-category,
html[data-theme="dark"] .monetization-strip p,
html[data-theme="dark"] .partner-heading p,
html[data-theme="dark"] .partner-grid p,
html[data-theme="dark"] .legal-hero p,
html[data-theme="dark"] .legal-card p,
html[data-theme="dark"] .legal-card li,
html[data-theme="dark"] .empty-state small,
html[data-theme="dark"] .discussion-header p,
html[data-theme="dark"] .comment-meta,
html[data-theme="dark"] .comment-actions .delete-comment,
html[data-theme="tech"] .hero-en,
html[data-theme="tech"] .hero-side .hero-side-en,
html[data-theme="tech"] .section-index,
html[data-theme="tech"] .card-meta,
html[data-theme="tech"] .card-description,
html[data-theme="tech"] .tool-category,
html[data-theme="tech"] .monetization-strip p,
html[data-theme="tech"] .partner-heading p,
html[data-theme="tech"] .partner-grid p,
html[data-theme="tech"] .legal-hero p,
html[data-theme="tech"] .legal-card p,
html[data-theme="tech"] .legal-card li,
html[data-theme="tech"] .empty-state small,
html[data-theme="tech"] .discussion-header p,
html[data-theme="tech"] .comment-meta,
html[data-theme="tech"] .comment-actions .delete-comment { color: var(--muted); }
html[data-theme="dark"] .search-box,
html[data-theme="dark"] .filters,
html[data-theme="dark"] .monetization-strip,
html[data-theme="dark"] .partner-grid article,
html[data-theme="dark"] .legal-card,
html[data-theme="dark"] .comment-form,
html[data-theme="dark"] .comment-actions button,
html[data-theme="tech"] .search-box,
html[data-theme="tech"] .filters,
html[data-theme="tech"] .monetization-strip,
html[data-theme="tech"] .partner-grid article,
html[data-theme="tech"] .legal-card,
html[data-theme="tech"] .comment-form,
html[data-theme="tech"] .comment-actions button { background: var(--surface-strong); }
html[data-theme="dark"] .hero-note,
html[data-theme="tech"] .hero-note,
html[data-theme="tech"] .hero-note > span { color: var(--on-bright); border-color: rgba(17,17,17,.42); }
html[data-theme="dark"] .hero-note { color: var(--ink); border-color: rgba(213,255,85,.38); background: linear-gradient(135deg, rgba(213,255,85,.2) 0%, rgba(35,64,43,.96) 55%, rgba(25,29,22,.98) 100%); }
html[data-theme="dark"] .hero-note > span { color: var(--lime); border-color: rgba(213,255,85,.65); }
html[data-theme="dark"] .language-button,
html[data-theme="dark"] .affiliate-badge,
html[data-theme="dark"] .discussion-fab,
html[data-theme="dark"] .discussion-fab b,
html[data-theme="dark"] .discussion-intro,
html[data-theme="dark"] .discussion-intro p,
html[data-theme="dark"] .comment-meta .mine-tag,
html[data-theme="dark"] .comment-form-actions button:hover,
html[data-theme="dark"] .comment-actions button:hover,
html[data-theme="dark"] .comment-actions button.liked,
html[data-theme="tech"] .language-button,
html[data-theme="tech"] .affiliate-badge,
html[data-theme="tech"] .discussion-fab,
html[data-theme="tech"] .discussion-fab b,
html[data-theme="tech"] .discussion-intro,
html[data-theme="tech"] .discussion-intro p,
html[data-theme="tech"] .comment-meta .mine-tag,
html[data-theme="tech"] .comment-form-actions button:hover,
html[data-theme="tech"] .comment-actions button:hover,
html[data-theme="tech"] .comment-actions button.liked { color: var(--on-bright); }
html[data-theme="dark"] .modal-kicker,
html[data-theme="dark"] .comment-form-actions > span,
html[data-theme="dark"] .discussion-feed-heading span,
html[data-theme="dark"] .comment-empty,
html[data-theme="tech"] .modal-kicker,
html[data-theme="tech"] .comment-form-actions > span,
html[data-theme="tech"] .discussion-feed-heading span,
html[data-theme="tech"] .comment-empty { color: var(--muted); }
html[data-theme="dark"] .comment-form textarea::placeholder,
html[data-theme="tech"] .comment-form textarea::placeholder { color: var(--muted); }
html[data-theme="dark"] .steps article:last-child { color: var(--ink); }
html[data-theme="dark"] .steps article:last-child > span { color: var(--lime); }
html[data-theme="dark"] .steps article:last-child small { color: rgba(243,241,232,.66); }
html[data-theme="dark"] .modal,
html[data-theme="tech"] .modal { background: linear-gradient(145deg, var(--paper-2), var(--paper)); }
html[data-theme="dark"] .quick-tip,
html[data-theme="tech"] .quick-tip { background: var(--paper-2); }
html[data-theme="dark"] .discussion-panel,
html[data-theme="tech"] .discussion-panel { background: linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 70%, color-mix(in srgb, var(--blue) 18%, var(--paper)) 100%); }
html[data-theme="dark"] footer,
html[data-theme="tech"] footer { color: var(--ink); background: #050706; border-top: 1px solid var(--line); }
html[data-theme="tech"] footer { background: #020a15; }
html[data-theme="dark"] .footer-brand .brand-mark,
html[data-theme="tech"] .footer-brand .brand-mark { color: var(--paper); background: var(--ink); }
html[data-theme="dark"] .theme-switcher,
html[data-theme="tech"] .theme-switcher { background: var(--surface-strong); }
body, .site-header, .tool-card, .modal, .discussion-panel, footer, .search-box, .filters { transition: color .18s, background-color .18s, border-color .18s; }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .hero-side { max-width: 520px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls { grid-template-columns: 1fr; }
  .filters { min-height: 45px; }
  .filter-button { flex: 1; }
  .partner-heading, .legal-hero { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .atmosphere, .hero::after { display: none; }
  .site-header { height: 72px; }
  .site-header { padding-left: 16px; padding-right: 16px; }
  .brand > span:last-child, .theme-switcher-label, .theme-option b { display: none; }
  .header-nav { gap: 7px; }
  .theme-switcher { gap: 2px; }
  .theme-option { width: 31px; justify-content: center; padding: 0; }
  .header-nav a { display: none; }
  .hero { padding: 52px 0 60px; gap: 55px; }
  .hero h1 { font-size: clamp(58px, 20vw, 84px); }
  .section-heading { align-items: start; }
  .section-heading h2 { max-width: 270px; }
  .tool-count { display: none; }
  .filters { overflow-x: auto; }
  .filter-button { flex: 0 0 auto; padding: 0 13px; }
  .monetization-strip { grid-template-columns: 1fr; }
  .monetization-strip a { justify-self: stretch; text-align: center; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 330px; background: var(--surface); }
  .steps { grid-template-columns: 1fr; }
  .steps article { border-right: 0; border-bottom: 1px solid var(--ink); }
  .steps article:last-child { border-bottom: 0; }
  footer { grid-template-columns: 1fr; }
  .footer-right, .footer-links { justify-items: start; justify-content: flex-start; }
  .footer-meta { text-align: left; }
  .legal-main { padding-top: 52px; }
  .legal-card { padding: 21px; }
  .modal-backdrop { padding: 10px; }
  .modal { max-height: calc(100vh - 20px); }
  .modal-content { padding: 25px 20px; }
  .modal-columns { grid-template-columns: 1fr; }
  .modal-heading-row { align-items: flex-start; }
  .modal h2 { font-size: 40px; }
  .modal-launch { gap: 15px; }
  .discussion-fab { right: 14px; bottom: 14px; }
  .discussion-fab > span:not(.discussion-icon) { display: none; }
  .discussion-panel { padding: 22px 18px; border-left: 0; }
}

@media (hover: none) {
  .language-button,
  .theme-option,
  .tool-card,
  .tool-logo,
  .detail-button,
  .discussion-fab {
    transition: none;
  }
  .tool-card:hover { background: var(--surface); }
  .tool-card:hover .tool-logo,
  .detail-button:hover,
  .discussion-fab:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
