/* CapCut Guide theme v2.0.0 — dark redesign per approved prototype (2026-07-04).
   Reference: capcut.com structure/quality, brand palette #08081A + cyan/purple/magenta.
   Fonts self-hosted. No mono, no "actually". */

/* @font-face now lives inline in default.hbs so the {{asset}} URL matches the <link rel=preload>
   exactly (a relative url() here resolved to an unhashed path the preload never satisfied) and
   the font is discovered during HTML parse instead of after this stylesheet loads. */

:root {
    --bg: #08081A;
    --panel: #0F1126;
    --panel2: #141735;
    --line: #23264A;
    --line2: #2E3260;
    --paper: #F2F3FA;
    --dim: #9CA1BE;
    --faint: #7D82A6;  /* was #6A6F92 (3.81:1) — WCAG AA fail on muted text; now 4.98:1 */
    --cyan: #00D9E8;
    --purple: #7B5CFF;
    --mag: #C95CFF;
    --ed: #131318;
    --ed2: #1B1B22;
    --ed3: #24242E;
    --edline: #2B2B36;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--dim);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(0, 217, 232, .3); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 824px; }

h1, h2, h3, h4 { color: var(--paper); letter-spacing: -.02em; line-height: 1.2; }

/* ---------- buttons / chips ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    white-space: nowrap; flex: none;
    border-radius: 999px; font-weight: 700; font-size: 14px;
    padding: 9px 19px; cursor: pointer; border: none; font-family: inherit;
    transition: transform .15s, box-shadow .15s, border-color .15s, color .15s;
}
.btn:active { transform: scale(.97); }
.btn--cyan { background: var(--cyan); color: #062026; box-shadow: 0 8px 26px -8px rgba(0, 217, 232, .55); }
.btn--cyan:hover { box-shadow: 0 12px 32px -8px rgba(0, 217, 232, .8); }
.btn--ghost { background: transparent; color: var(--paper); border: 1.5px solid var(--line2); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.chip {
    background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 16px; font-size: 13.5px; font-weight: 500; color: var(--dim);
    transition: border-color .15s, color .15s; display: inline-block;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(8, 8, 26, .78);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(35, 38, 74, .55);
}
.site-header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.site-brand { display: flex; align-items: center; flex: none; }
.site-logo { height: 30px; width: auto; }
.site-brand-name { font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.brand-dot { font-style: normal; color: var(--cyan); }
.site-nav { flex: 1; min-width: 0; }
.nav-list { display: flex; gap: 22px; list-style: none; font-size: 14px; font-weight: 500; color: var(--dim); flex-wrap: nowrap; overflow: hidden; }
.nav-list a { transition: color .15s; white-space: nowrap; }
.nav-list a:hover { color: #fff; }
.nav-list a[aria-current="page"] { color: var(--cyan); font-weight: 750; }
.site-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--paper); margin: 4px 0; border-radius: 1px; transition: transform .2s, opacity .2s; }

/* ---------- hero ---------- */
.hero {
    position: relative; text-align: center; padding: 76px 0 26px; overflow: hidden;
    background:
        radial-gradient(46% 62% at 14% -6%, rgba(123, 92, 255, .18) 0%, transparent 60%),
        radial-gradient(44% 60% at 86% -4%, rgba(0, 217, 232, .13) 0%, transparent 58%),
        radial-gradient(36% 50% at 55% -12%, rgba(201, 92, 255, .12) 0%, transparent 55%),
        var(--bg);
}
.hero h1 {
    font-size: 50px; font-weight: 800; line-height: 1.08; letter-spacing: -.03em;
    color: #fff; text-wrap: balance; max-width: 900px; margin: 0 auto;
}
.hero h1 .c { color: var(--cyan); }
.hero-sub { font-size: 17px; color: var(--dim); max-width: 620px; margin: 22px auto 0; }
.hero-search {
    max-width: 600px; width: 100%; margin: 32px auto 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--panel); border: 1.5px solid var(--line); border-radius: 999px;
    padding: 8px 8px 8px 24px; cursor: text; font-family: inherit;
    box-shadow: 0 22px 60px -22px rgba(0, 0, 0, .7);
    transition: border-color .2s, box-shadow .2s;
}
.hero-search:hover, .hero-search:focus-visible { border-color: var(--cyan); box-shadow: 0 22px 60px -18px rgba(0, 217, 232, .28); outline: none; }
/* #7D82A6 clears WCAG AA (4.98:1) on the hero panel; --faint (#6A6F92) sat at 3.81:1. */
.hero-search-hint { font-size: 16px; color: #7D82A6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 20px auto 0; max-width: 720px; }

/* ---------- editor mock ---------- */
.shot-zone { padding: 48px 0 0; }
.editor {
    border-radius: 16px; background: var(--ed); border: 1px solid var(--edline);
    overflow: hidden; text-align: left;
    box-shadow: 0 60px 130px -50px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .02);
}
.e-top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: var(--ed2); border-bottom: 1px solid var(--edline); }
.dots { display: flex; gap: 7px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dr { background: #FF5F57; } .dy { background: #FEBC2E; } .dg { background: #28C840; }
.e-title { font-size: 12.5px; color: #8E8E9E; font-weight: 500; }
.e-top-r { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.e-pill { font-size: 11.5px; font-weight: 600; color: #C9C9D6; background: var(--ed3); border-radius: 6px; padding: 4px 10px; }
.e-export { font-size: 12px; font-weight: 700; color: #04262B; background: var(--cyan); border-radius: 7px; padding: 5px 14px; }
.e-tabs { display: flex; gap: 2px; padding: 8px 12px 0; background: var(--ed2); border-bottom: 1px solid var(--edline); }
/* #8A8A9E clears WCAG AA (5.48:1) on the editor chrome; #77778A sat at 4.22:1. */
.e-tab { font-size: 12px; font-weight: 600; color: #8A8A9E; padding: 7px 13px; border-radius: 7px 7px 0 0; }
.e-tab.on { color: #fff; background: var(--ed); box-shadow: inset 0 -2px 0 var(--cyan); }
.e-main { display: grid; grid-template-columns: 216px minmax(0, 1fr) 244px; }
.e-media { border-right: 1px solid var(--edline); padding: 12px; overflow: hidden; }
.e-import { border: 1.5px dashed #3A3A48; border-radius: 8px; padding: 9px; text-align: center; font-size: 11px; font-weight: 600; color: #77778A; margin-bottom: 10px; }
.e-import b { color: #C9C9D6; }
.e-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.e-th { aspect-ratio: 16/10; border-radius: 6px; background-color: var(--ed3); background-size: cover; background-position: center; }
.e-view { display: flex; flex-direction: column; background: #0D0D12; min-width: 0; }
.e-player {
    height: 416px; max-width: calc(100% - 32px); aspect-ratio: 1536/1024;
    margin: 14px auto 8px; border-radius: 8px; position: relative; overflow: hidden;
    background-color: #0A0A10; background-size: cover; background-position: center;
}
.e-player-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.e-player--fallback { background-image: linear-gradient(140deg, #7B5CFF 0%, #C95CFF 48%, #FF8A5C 100%); width: 100%; }
.e-ctrl { display: flex; align-items: center; gap: 14px; padding: 4px 18px 10px; font-size: 11px; color: #77778A; font-weight: 500; }
.e-tc { color: #aaaabd; font-variant-numeric: tabular-nums; }
.e-tc b { color: #fff; font-weight: 600; }
.e-play { margin: 0 auto; display: flex; gap: 16px; align-items: center; }
.tri { width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid #fff; margin-left: 3px; }
.skip { width: 10px; height: 10px; border-left: 2.5px solid #77778A; position: relative; }
.skip::after { content: ''; position: absolute; left: 1px; top: -1px; border: 5px solid transparent; border-right: 7px solid #77778A; }
.sk-r { transform: rotate(180deg); }
.e-fs { margin-left: auto; color: #77778A; font-size: 13px; }
.e-props { border-left: 1px solid var(--edline); padding: 12px 14px; min-width: 0; overflow: hidden; }
.p-tabs { display: flex; gap: 14px; font-size: 12px; font-weight: 600; color: #77778A; border-bottom: 1px solid var(--edline); padding-bottom: 8px; margin-bottom: 12px; }
.p-tabs .on { color: #fff; box-shadow: 0 9px 0 -7px var(--cyan); }
.p-row { margin-bottom: 12px; }
.p-lab { display: flex; justify-content: space-between; font-size: 11px; font-weight: 500; color: #9C9CAD; margin-bottom: 6px; }
.p-lab b { color: #C9C9D6; font-weight: 600; font-variant-numeric: tabular-nums; }
.p-track { height: 3px; border-radius: 2px; background: #2E2E3A; position: relative; }
.p-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--cyan); }
.p-knob { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.p-tog { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 500; color: #9C9CAD; margin-top: 14px; }
.tog { width: 30px; height: 17px; border-radius: 9px; background: var(--cyan); position: relative; }
.tog::after { content: ''; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.e-tlbar { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--ed2); border-top: 1px solid var(--edline); border-bottom: 1px solid var(--edline); }
.tb { width: 26px; height: 26px; border-radius: 6px; background: var(--ed3); display: flex; align-items: center; justify-content: center; font-size: 11px; color: #9C9CAD; }
.tb.on { background: rgba(0, 217, 232, .16); color: var(--cyan); }
.e-zoom { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #aaaabd; }
.z-track { width: 90px; height: 3px; border-radius: 2px; background: #2E2E3A; position: relative; }
.z-track::after { content: ''; position: absolute; left: 55%; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #9C9CAD; }
.e-tl { background: var(--ed); }
.e-tracks { position: relative; padding: 8px 14px 14px; }
.e-ruler { display: flex; justify-content: space-between; font-size: 9px; color: #63636F; font-weight: 500; padding-bottom: 6px; font-variant-numeric: tabular-nums; position: relative; }
.e-ruler::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: repeating-linear-gradient(90deg, #3A3A48 0 1px, transparent 1px 13px); }
.tr { display: flex; gap: 4px; margin: 8px 0 5px; }
.tr--last { margin-bottom: 0; }
.cap-chip { height: 22px; border-radius: 5px; background: #6D5BE8; display: flex; align-items: center; padding: 0 9px; font-size: 9.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; }
.vclip { height: 48px; border-radius: 8px; position: relative; overflow: hidden; background-color: #20242f; background-size: auto 100%; background-repeat: repeat-x; background-position: left center; }
.vclip.sel { box-shadow: inset 0 0 0 2px #fff; }
.vclip.sel::before, .vclip.sel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 9px; background: #fff; z-index: 2; }
.vclip.sel::before { left: 0; border-radius: 8px 0 0 8px; }
.vclip.sel::after { right: 0; border-radius: 0 8px 8px 0; }
.grip { position: absolute; top: 50%; transform: translateY(-50%); width: 2px; height: 12px; border-radius: 1px; background: #B9BAC6; z-index: 3; }
.g-l { left: 3.5px; } .g-r { right: 3.5px; }
.aud { height: 28px; border-radius: 6px; background: #0E3A43; border: 1px solid #17525E; position: relative; overflow: hidden; }
.aud::after {
    content: ''; position: absolute; inset: 4px 5px;
    background: repeating-linear-gradient(90deg, rgba(0, 217, 232, .55) 0 2px, transparent 2px 5px);
    -webkit-mask: repeating-linear-gradient(90deg, #000 0 26px, rgba(0, 0, 0, .35) 26px 47px);
    mask: repeating-linear-gradient(90deg, #000 0 26px, rgba(0, 0, 0, .35) 26px 47px);
}
.e-ph { position: absolute; top: 6px; bottom: 8px; left: 22%; width: 1.5px; background: #fff; z-index: 5; animation: scrub 10s linear infinite; }
.e-ph::before { content: ''; position: absolute; top: -3px; left: -4.25px; width: 10px; height: 13px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
@keyframes scrub { 0% { left: 4%; } 47% { left: 93%; } 50% { left: 93%; } 97% { left: 4%; } 100% { left: 4%; } }

/* ---------- band: fixes + topics ---------- */
.band-section { padding: 78px 0 0; }
.band { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.band h2, .sec-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; color: #fff; line-height: 1.15; }
.band-sub, .sec-sub { font-size: 14px; color: var(--faint); margin-top: 6px; }
.fixlist { margin-top: 20px; border-top: 1px solid var(--line); }
.fix { display: flex; align-items: center; gap: 14px; padding: 13px 6px; border-bottom: 1px solid var(--line); transition: background .13s; }
.fix:hover { background: rgba(15, 17, 38, .8); }
.fix .fd { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.fix span:not(.fd) { font-size: 15.5px; font-weight: 600; color: var(--paper); flex: 1; }
.fix b { color: var(--cyan); font-weight: 600; opacity: 0; transform: translateX(-4px); transition: .15s; }
.fix:hover b { opacity: 1; transform: none; }
.topics { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.topic { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; transition: border-color .15s, transform .15s; }
.topic:hover { border-color: var(--cyan); transform: translateY(-2px); }
.topic i { font-style: normal; color: var(--cyan); font-weight: 700; }
.topic--wide { grid-column: 1 / -1; }
.t-acc { width: 3px; height: 16px; border-radius: 2px; flex: none; }
.t-tx { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.t-tx b { font-size: 14px; font-weight: 700; color: var(--paper); }
.t-tx small { font-size: 11.5px; color: var(--faint); font-weight: 500; margin-top: 3px; }

/* ---------- fresh cards + trust ---------- */
.fresh-section { padding: 78px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.fresh { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.f-card { border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .18s, border-color .18s, box-shadow .18s; display: block; }
.f-card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.f-th { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--panel2); }
.f-th img { width: 100%; height: 100%; object-fit: contain; display: block; }
.f-chip { position: absolute; bottom: 9px; right: 9px; background: rgba(6, 6, 16, .75); border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 600; color: #fff; }
.f-meta { padding: 13px 15px 15px; }
.f-meta h3 { font-size: 14.5px; font-weight: 700; color: var(--paper); line-height: 1.4; letter-spacing: 0; }
.f-meta .f-route { margin-top: 8px; color: var(--dim); font-size: 13px; line-height: 1.5; }
.f-meta span { display: block; font-size: 12px; color: var(--faint); margin-top: 5px; font-weight: 500; }
.trust { margin-top: 78px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.trust h2, .trust h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.trust p { font-size: 14px; color: var(--faint); margin-top: 6px; max-width: 440px; }
.devs { display: flex; gap: 12px; flex-wrap: wrap; }
.dev { background: var(--panel2); border: 1px solid var(--line2); border-radius: 999px; padding: 8px 17px; font-size: 13px; font-weight: 600; color: var(--paper); white-space: nowrap; }

/* ---------- hub pages ---------- */
.hub-shell {
    --hub-accent: #00d9e8;
    --hub-accent-soft: rgba(0, 217, 232, .07);
    --hub-accent-line: rgba(0, 217, 232, .3);
    padding: 52px 0 0;
}
.crumb { font-size: 13px; color: var(--faint); }
.crumb a:hover { color: var(--cyan); }
.hub-shell--capcut-tutorial { --hub-accent: #8e71ff; --hub-accent-soft: rgba(142, 113, 255, .07); --hub-accent-line: rgba(142, 113, 255, .32); }
.hub-shell--capcut-auto-captions { --hub-accent: #36d6f4; --hub-accent-soft: rgba(54, 214, 244, .07); --hub-accent-line: rgba(54, 214, 244, .3); }
.hub-shell--capcut-export-settings { --hub-accent: #68b7ff; --hub-accent-soft: rgba(104, 183, 255, .07); --hub-accent-line: rgba(104, 183, 255, .3); }
.hub-shell--capcut-templates,
.hub-shell--capcut-templates-finder-preview { --hub-accent: #d86cff; --hub-accent-soft: rgba(216, 108, 255, .07); --hub-accent-line: rgba(216, 108, 255, .3); }
.hub-shell--capcut-ai-tools { --hub-accent: #64dc9b; --hub-accent-soft: rgba(100, 220, 155, .07); --hub-accent-line: rgba(100, 220, 155, .3); }
.hub-shell--capcut-effects { --hub-accent: #ff8a5c; --hub-accent-soft: rgba(255, 138, 92, .07); --hub-accent-line: rgba(255, 138, 92, .3); }
.hub-shell--capcut-fixes { --hub-accent: #ffb84d; --hub-accent-soft: rgba(255, 184, 77, .07); --hub-accent-line: rgba(255, 184, 77, .3); }
.hub-shell--capcut-for-business { --hub-accent: #54c7ec; --hub-accent-soft: rgba(84, 199, 236, .07); --hub-accent-line: rgba(84, 199, 236, .3); }
.hub-shell--capcut-pro { --hub-accent: #58a8f2; --hub-accent-soft: rgba(88, 168, 242, .07); --hub-accent-line: rgba(88, 168, 242, .3); }
.hub-shell--capcut-alternatives { --hub-accent: #f36aa7; --hub-accent-soft: rgba(243, 106, 167, .07); --hub-accent-line: rgba(243, 106, 167, .3); }
.hub-shell--capcut-social { --hub-accent: #aaa6e8; --hub-accent-soft: rgba(170, 166, 232, .07); --hub-accent-line: rgba(170, 166, 232, .3); }
.hub-shell--capcut-project-safety { --hub-accent: #58d6ff; --hub-accent-soft: rgba(88, 214, 255, .07); --hub-accent-line: rgba(88, 214, 255, .3); }
.hub-identity { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; color: var(--hub-accent); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hub-acc { width: 36px; height: 4px; border-radius: 3px; background: var(--hub-accent); flex: none; }
.hub-title { font-size: 40px; font-weight: 800; max-width: 760px; }
.hub-int { font-size: 16px; color: var(--dim); max-width: 680px; margin-top: 12px; }
.hub-content { margin-top: 18px; }
.hub-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 10px 0 2px;
    color: var(--hub-accent);
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: .075em;
    text-transform: uppercase;
}
.hub-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--hub-accent-soft); flex: none; }
.hub-route-panel { margin: 28px 0 14px; }
.hub-route-panel h2 { font-size: 24px; margin-bottom: 14px; }
.hub-route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hub-route-card { display: flex; min-width: 0; min-height: 126px; flex-direction: column; padding: 18px; border: 1px solid var(--hub-accent-line); border-radius: 16px; background: linear-gradient(145deg, var(--hub-accent-soft), var(--panel) 62%); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.hub-route-card:hover { transform: translateY(-3px); border-color: var(--hub-accent); box-shadow: 0 26px 56px -32px rgba(0, 0, 0, .9); }
.hub-route-card span { color: var(--hub-accent); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; }
.hub-route-card strong { margin-top: 7px; color: var(--paper); font-size: 16px; line-height: 1.35; }
.hub-route-card small { margin-top: 6px; color: var(--dim); font-size: 13px; line-height: 1.5; }
.captions-route-intro { max-width: 780px; color: var(--dim); font-size: 14.5px; line-height: 1.65; }
.captions-route-grid { margin-top: 18px; }
.captions-route-grid .f-meta > span:first-child { color: var(--hub-accent); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; }
.captions-route-grid .f-meta h3 { margin-top: 7px; font-size: 16px; }
.export-route-intro { max-width: 780px; color: var(--dim); font-size: 14.5px; line-height: 1.65; }
.export-tool-cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 24px; align-items: center; max-width: 780px; margin-top: 18px; padding: 19px 68px 19px 20px; border: 1px solid var(--hub-accent-line); border-radius: 17px; background: linear-gradient(125deg, rgba(104, 183, 255, .13), rgba(142, 113, 255, .08) 68%, var(--panel)); box-shadow: inset 4px 0 0 var(--hub-accent); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.export-tool-cta:hover { transform: translateY(-2px); border-color: var(--hub-accent); box-shadow: inset 4px 0 0 var(--hub-accent), 0 24px 54px -34px rgba(0, 0, 0, .9); }
.export-tool-cta span { grid-column: 1; color: var(--hub-accent); font-size: 10px; font-weight: 850; letter-spacing: .11em; }
.export-tool-cta strong { grid-column: 1; color: var(--paper); font-size: 18px; line-height: 1.3; }
.export-tool-cta small { grid-column: 1; max-width: 650px; color: var(--dim); font-size: 13px; line-height: 1.5; }
.export-tool-cta b { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--hub-accent); font-size: 28px; font-weight: 500; }
.safe-zone-route-panel { padding: 22px; border: 1px solid var(--hub-accent-line); border-radius: 20px; background: linear-gradient(135deg, rgba(48, 208, 234, .08), rgba(242, 53, 154, .045) 62%, rgba(142, 113, 255, .06)); }
.safe-zone-route-panel h2 { margin-bottom: 7px; }
.safe-zone-route-intro { max-width: 780px; color: var(--dim); font-size: 14px; line-height: 1.6; }
.safe-zone-tool-cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 24px; align-items: center; max-width: 780px; margin-top: 18px; padding: 19px 68px 19px 20px; border: 1px solid rgba(242, 53, 154, .34); border-radius: 17px; background: linear-gradient(125deg, rgba(48, 208, 234, .13), rgba(242, 53, 154, .09) 70%, var(--panel)); box-shadow: inset 4px 0 0 #f2359a; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.safe-zone-tool-cta:hover { transform: translateY(-2px); border-color: #f2359a; box-shadow: inset 4px 0 0 #f2359a, 0 24px 54px -34px rgba(0, 0, 0, .9); }
.safe-zone-tool-cta span { grid-column: 1; color: #4bd8ef; font-size: 10px; font-weight: 850; letter-spacing: .11em; }
.safe-zone-tool-cta strong { grid-column: 1; color: var(--paper); font-size: 18px; line-height: 1.3; }
.safe-zone-tool-cta small { grid-column: 1; max-width: 650px; color: var(--dim); font-size: 13px; line-height: 1.5; }
.safe-zone-tool-cta b { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: #f2359a; font-size: 28px; font-weight: 500; }
@media (max-width: 560px) {
    .safe-zone-route-panel { padding: 18px 16px; }
    .safe-zone-tool-cta { padding: 17px 50px 17px 16px; }
}
.export-route-grid { margin-top: 18px; }
.export-route-grid .f-meta > span:first-child { color: var(--hub-accent); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; }
.export-route-grid .f-meta h3 { margin-top: 7px; font-size: 16px; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
body .hub-shell :is(.f-card, .alt-pick, .alt-jump, .ps-route, .ai-quick-routes > a, .business-spoke-card) {
    border-radius: 16px !important;
    border-color: var(--hub-accent-line) !important;
    background: linear-gradient(145deg, var(--hub-accent-soft), var(--panel) 62%) !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
body .hub-shell :is(.f-card, .alt-pick, .alt-jump, .ps-route, .ai-quick-routes > a, .business-spoke-card):hover {
    transform: translateY(-3px) !important;
    border-color: var(--hub-accent) !important;
    box-shadow: 0 26px 56px -32px rgba(0, 0, 0, .9);
}
.g-plan { border: 1.5px dashed var(--line2); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; justify-content: center; min-height: 110px; }
.g-plan b { font-size: 14.5px; font-weight: 700; color: var(--dim); line-height: 1.4; }
.g-plan span { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--faint); }
.g-plan .next { color: #062026; background: var(--cyan); border-radius: 5px; padding: 2px 7px; align-self: flex-start; }
.faq-wrap { margin: 56px auto 0; max-width: 760px; }
.faq-wrap h2 { font-size: 26px; text-align: center; margin-bottom: 6px; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 600; color: var(--paper); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--cyan); font-size: 19px; font-weight: 500; flex: none; }
details[open].faq summary::after { content: '−'; }
details.faq p { padding: 0 0 18px; color: var(--dim); font-size: 14.5px; max-width: 640px; }
body .hub-content details.faq {
    margin: 10px 0 !important;
    border: 1px solid var(--hub-accent-line) !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, var(--hub-accent-soft), var(--panel) 72%) !important;
}
body .hub-content details.faq summary { padding: 16px 18px !important; }
body .hub-content details.faq summary::after { color: var(--hub-accent) !important; }
body .hub-content details.faq p { max-width: none; padding: 0 18px 17px !important; }
body .hub-content .faq-wrap h2 { text-align: left; }

/* Put the decision route before large editorial covers without rewriting or
   splitting Ghost HTML cards. Equal order values retain source order. */
.page-capcut-tutorial .hub-content,
.page-capcut-project-safety .project-safety-hub,
.page-capcut-ai-tools .capcut-ai-hub,
.page-capcut-alternatives .alt-hub { display: flex; flex-direction: column; }
.page-capcut-tutorial .hub-content > *,
.page-capcut-project-safety .project-safety-hub > *,
.page-capcut-ai-tools .capcut-ai-hub > *,
.page-capcut-alternatives .alt-hub > * { order: 10; }

.page-capcut-tutorial .hub-content > p:first-of-type { order: 0; }
.page-capcut-tutorial .hub-content > .g-grid { order: 1; }
.page-capcut-tutorial .hub-content > figure:first-of-type { order: 2; }

.page-capcut-project-safety .project-safety-hub > p:first-of-type { order: 0; }
.page-capcut-project-safety .project-safety-hub > .ps-alert { order: 1; }
.page-capcut-project-safety .project-safety-hub > h2#start { order: 2; }
.page-capcut-project-safety .project-safety-hub > .ps-router { order: 3; }
.page-capcut-project-safety .project-safety-hub > figure:first-of-type { order: 4; }

.page-capcut-ai-tools .capcut-ai-hub > .ai-kicker { display: none; }
.page-capcut-ai-tools .capcut-ai-hub > .ai-lead { order: 0; }
.page-capcut-ai-tools .capcut-ai-hub > .ai-quick-routes { order: 1; }
.page-capcut-ai-tools .capcut-ai-hub > .ai-feature-figure { order: 2; }

.page-capcut-alternatives .alt-hub > .alt-lead { order: 0; }
.page-capcut-alternatives .alt-hub > h2#quick-answer { order: 1; }
.page-capcut-alternatives .alt-hub > .alt-pick-grid { order: 2; }
.page-capcut-alternatives .alt-hub > .alt-checked { order: 3; }
.page-capcut-alternatives .alt-hub > figure:first-of-type { order: 4; }
.hub-shell--capcut-templates .hub-content > .rel,
.hub-shell--capcut-templates-finder-preview .hub-content > .rel { display: none; }
.hub-shell--capcut-for-business .business-checked > strong:first-child { display: none; }
.hub-shell--capcut-for-business .business-hub { display: flex; flex-direction: column; }
.hub-shell--capcut-for-business .business-hub > * { order: 10; }
.hub-shell--capcut-for-business .business-hub > h2#choose-workflow { order: 0; }
.hub-shell--capcut-for-business .business-hub > h2#choose-workflow + p { order: 1; }
.hub-shell--capcut-for-business .business-hub > .business-spoke-grid { order: 2; }
.hub-shell--capcut-for-business .business-hub > .business-answer { order: 3; }
.hub-shell--capcut-for-business .business-hub > .business-checked { order: 4; }
.rel { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; align-items: center; justify-content: center; }
.rel span { font-size: 13px; color: var(--faint); font-weight: 600; }

/* ---------- article ---------- */
.reading-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--cyan), var(--purple)); z-index: 60; }
.post-full-header { padding: 52px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--faint); }
.breadcrumbs li + li::before { content: '›'; margin-right: 6px; color: var(--faint); }
.breadcrumbs a:hover { color: var(--cyan); }
.post-full-primary-tag { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.post-full-title { font-size: 38px; font-weight: 800; letter-spacing: -.025em; margin-top: 10px; text-wrap: balance; }
.post-full-excerpt { font-size: 17px; color: var(--dim); margin-top: 14px; max-width: 640px; }
.post-full-byline { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 13.5px; color: var(--faint); flex-wrap: wrap; }
.byline-author { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--paper); }
.byline-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.byline-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.byline-dot { color: var(--line2); }
.post-full-image { margin: 28px auto 0; max-width: 1180px; padding: 0 32px; }
.post-full-image img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 16px; }
.post-full-image figcaption { font-size: 12.5px; color: var(--faint); text-align: center; margin-top: 10px; }
.post-full-content { padding: 34px 0 0; }

.post-content { font-size: 16.5px; line-height: 1.75; color: var(--dim); }
.post-content > * + * { margin-top: 18px; }
.post-content :where(.cg-guide) > * + * { margin-top: 18px; }
.post-content h2 { font-size: 26px; font-weight: 800; margin-top: 40px; }
.post-content h3 { font-size: 20px; font-weight: 700; margin-top: 30px; }
.post-content a { color: var(--cyan); border-bottom: 1px solid rgba(0, 217, 232, .35); transition: border-color .15s; }
.post-content a:hover { border-bottom-color: var(--cyan); }
.post-content strong { color: var(--paper); }
.post-content ul, .post-content ol { padding-left: 26px; }
.post-content li { margin: 8px 0; }
.post-content li::marker { color: var(--cyan); }
.post-content blockquote { border-left: 3px solid var(--line2); padding: 4px 0 4px 18px; color: var(--dim); font-style: italic; }
.post-content hr { border: none; border-top: 1px solid var(--line); margin: 34px 0; }
.post-content figure { margin: 26px 0; }
.post-content img, .post-content .kg-image { border-radius: 12px; }
html.js .post-content .kg-image, html.js .post-content .kg-image-card img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
    padding: 4vmin; background: rgba(8, 8, 26, 0); backdrop-filter: blur(2px);
    opacity: 0; transition: opacity .2s ease, background .2s ease; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; background: rgba(8, 8, 26, .93); }
.lightbox img { max-width: 96vw; max-height: 96vh; width: auto; height: auto; border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .6); transform: scale(.96); transition: transform .2s ease; }
.lightbox.is-open img { transform: scale(1); }
.lightbox-close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.lightbox-close:hover { background: rgba(255, 255, 255, .24); }
.post-content figcaption { font-size: 12.5px; color: var(--faint); text-align: center; margin-top: 10px; }
.post-content .kg-card { margin: 26px 0; }
.post-content code { background: var(--panel2); border-radius: 5px; padding: 2px 7px; font-size: 14px; color: var(--paper); }
.post-content pre { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; overflow-x: auto; }
.post-content table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.post-content .table-scroll { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--cyan) var(--panel); border-radius: 8px; }
.post-content .table-scroll:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.post-content .table-scroll > table { display: table; width: max-content; min-width: 100%; overflow: visible; margin: 0; }
.table-scroll > table.hub-responsive-table { width: 100%; min-width: 0; table-layout: fixed; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.post-content th { color: var(--paper); font-weight: 600; background: var(--panel); }
:is(.post-content, .post-full-header) .pillar-router {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 34px;
    padding: 0;
}
:is(.post-content, .post-full-header) .pillar-route {
    display: flex;
    min-width: 0;
    min-height: 132px;
    flex-direction: column;
    justify-content: center;
    padding: 17px 18px;
    border: 1px solid rgba(0, 217, 232, .3) !important;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(0, 217, 232, .07), var(--panel) 68%);
    color: var(--paper) !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
:is(.post-content, .post-full-header) .pillar-route:hover { transform: translateY(-3px); border-color: var(--cyan) !important; box-shadow: 0 26px 56px -32px rgba(0, 0, 0, .9); }
:is(.post-content, .post-full-header) .pillar-route span { color: var(--cyan); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
:is(.post-content, .post-full-header) .pillar-route strong { margin-top: 7px; color: var(--paper); font-size: 16px; line-height: 1.35; }
:is(.post-content, .post-full-header) .pillar-route small { margin-top: 6px; color: var(--dim); font-size: 13px; line-height: 1.5; }
.post-full-header .pillar-status { --hub-accent: var(--cyan); --hub-accent-soft: rgba(0, 217, 232, .07); margin-top: 16px; }
.post-full-header .pillar-router--header { margin-bottom: 20px; }

/* Templates and Effects predate the Page-based hub system. Keep their CMS
   identity intact while presenting the same hub shell and routing hierarchy. */
body.tag-hash-templates-pillar { --hub-accent: #d86cff; --hub-accent-soft: rgba(216, 108, 255, .07); --hub-accent-line: rgba(216, 108, 255, .3); }
body.tag-hash-effects-pillar { --hub-accent: #ff8a5c; --hub-accent-soft: rgba(255, 138, 92, .07); --hub-accent-line: rgba(255, 138, 92, .3); }
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .post-full-header .container--narrow,
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .post-full-content .container--narrow { max-width: 1180px; }
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .post-full-title { max-width: 760px; margin-top: 0; font-size: 40px; }
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .post-full-excerpt { max-width: 680px; font-size: 16px; }
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .hub-identity--legacy { margin-top: 18px; }
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .post-full-byline,
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .post-full-image,
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .post-full-footer,
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .related-posts,
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .post-hubs { display: none; }
body.tag-hash-templates-pillar .post-full-header .pillar-status { --hub-accent: #d86cff; --hub-accent-soft: rgba(216, 108, 255, .07); }
body.tag-hash-effects-pillar .post-full-header .pillar-status { --hub-accent: #ff8a5c; --hub-accent-soft: rgba(255, 138, 92, .07); }
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .pillar-route { border-color: var(--hub-accent-line) !important; background: linear-gradient(145deg, var(--hub-accent-soft), var(--panel) 68%); }
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .pillar-route:hover { border-color: var(--hub-accent) !important; }
:is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .pillar-route span { color: var(--hub-accent); }

.post-full-footer { padding: 44px 0 0; }
.post-tags { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.post-tags-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--faint); }
.tag-pill { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--dim); transition: border-color .15s, color .15s; }
.tag-pill:hover { border-color: var(--cyan); color: var(--cyan); }
.post-author-card { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-top: 28px; }
.post-author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.post-author-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
.post-author-name { font-size: 17px; font-weight: 700; margin-top: 3px; }
.post-author-name a:hover { color: var(--cyan); }
.post-author-bio { font-size: 14px; color: var(--dim); margin-top: 6px; }
.post-comments { margin-top: 30px; }
.post-comments--deferred { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.comments-load { min-width: 142px; }
.comments-note { margin-top: 10px; color: var(--faint); font-size: 13px; }
.comments-mount:not(:empty) { margin-top: 22px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.related-posts { padding: 72px 0 0; }
.section-title { font-size: 26px; font-weight: 800; margin-bottom: 22px; }

/* ---------- post cards / grids (tag, author, related) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .18s, border-color .18s, box-shadow .18s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.post-card-link { display: block; }
.post-card-image-wrap { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--panel2); }
.post-card-image { width: 100%; height: 100%; object-fit: contain; display: block; }
.post-card-image--placeholder { display: flex; align-items: center; justify-content: center; color: var(--faint); font-weight: 800; font-size: 22px; }
.post-card-badge { position: absolute; top: 9px; left: 9px; background: rgba(6, 6, 16, .75); border-radius: 6px; padding: 2px 9px; font-size: 11px; font-weight: 600; color: #fff; }
.post-card-body { padding: 14px 16px 16px; }
.post-card-title { font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.post-card-excerpt { font-size: 13px; color: var(--faint); margin-top: 6px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-meta { font-size: 12px; color: var(--faint); margin-top: 9px; display: flex; gap: 6px; }

/* ---------- tag / author headers ---------- */
.tag-header, .author-header { padding: 52px 0 34px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--cyan); }
.tag-title, .author-name { font-size: 38px; font-weight: 800; margin-top: 10px; }
.tag-description, .author-bio { font-size: 16px; color: var(--dim); margin-top: 12px; max-width: 620px; }
.tag-meta, .author-meta { font-size: 13px; color: var(--faint); margin-top: 10px; }
.author-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.home-section { padding: 12px 0 0; }

/* ---------- pagination ---------- */
.pagination { display: flex; justify-content: space-between; align-items: center; margin: 44px 0 0; font-size: 14px; font-weight: 600; color: var(--dim); }
.pagination a { color: var(--paper); border: 1.5px solid var(--line2); border-radius: 999px; padding: 8px 18px; transition: border-color .15s, color .15s; }
.pagination a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- generic page / errors ---------- */
.page-full { padding: 52px 0 0; }
.error-page { text-align: center; padding: 110px 0; }
.error-title { font-size: 70px; font-weight: 800; }
.error-sub { font-size: 17px; color: var(--dim); margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 88px; border-top: 1px solid var(--line); padding: 34px 0; }
.site-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap; }
.site-footer-tagline { font-size: 12.5px; color: var(--faint); margin-top: 4px; max-width: 420px; }
.site-footer-links ul, .site-footer-links { display: flex; gap: 24px; list-style: none; font-size: 13.5px; font-weight: 500; color: var(--dim); flex-wrap: wrap; }
.site-footer-links a { transition: color .13s; }
.site-footer-links a:hover { color: var(--cyan); }
.site-footer-copy { font-size: 12px; color: var(--faint); }

/* ---------- start here: dense list of the most-asked routes ---------- */
.start-section { padding: 72px 0 0; }
.start-section h2 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; color: #fff; line-height: 1.15; }
.startlist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.startlist li { border-bottom: 1px solid var(--line); }
.startlist li:nth-child(-n+3) { border-top: 1px solid var(--line); }
.start { display: flex; align-items: center; gap: 12px; height: 100%; padding: 13px 6px; transition: background .13s; }
.start:hover { background: rgba(15, 17, 38, .8); }
.start:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.start span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.start b { font-size: 15.5px; font-weight: 600; color: var(--paper); }
.start small { font-size: 13px; color: var(--faint); margin-top: 3px; }
.start i { font-style: normal; color: var(--cyan); font-weight: 700; flex: none; transition: transform .15s; }
.start:hover i, .start:focus-visible i { transform: translateX(3px); }
@media (max-width: 980px) { .startlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } .startlist li:nth-child(3) { border-top: 0; } }
@media (max-width: 620px) { .start-section { padding-top: 56px; } .startlist { grid-template-columns: 1fr; } .startlist li:nth-child(2) { border-top: 0; } }

/* ---------- reveal (JS-gated so content is visible without JS) ---------- */
html.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html.js .rv { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
    .nav-extra { display: none; }
    .table-scroll:has(.hub-responsive-table) { overflow-x: visible; }
    .table-scroll > table.hub-responsive-table { display: block; width: 100%; min-width: 0; }
    .table-scroll > table.hub-responsive-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }
    .table-scroll > table.hub-responsive-table tbody { display: grid; gap: 12px; width: 100%; }
    .table-scroll > table.hub-responsive-table tr {
        display: block;
        width: 100%;
        padding: 10px 14px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--panel);
    }
    .table-scroll > table.hub-responsive-table td {
        display: grid;
        grid-template-columns: minmax(118px, 30%) minmax(0, 1fr);
        gap: 14px;
        width: 100%;
        padding: 10px 0;
        border: 0;
        border-bottom: 1px solid var(--line);
        overflow-wrap: anywhere;
    }
    .table-scroll > table.hub-responsive-table td:last-child { border-bottom: 0; }
    .table-scroll > table.hub-responsive-table td::before {
        content: attr(data-label);
        color: var(--paper);
        font-weight: 750;
        line-height: 1.45;
    }
}
@media (max-width: 980px) {
    .site-header { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
    .hero h1 { font-size: 40px; }
    .site-nav { display: none; position: fixed; inset: 64px 0 auto 0; background: rgba(8, 8, 26, .98); border-bottom: 1px solid var(--line); padding: 12px 32px 20px; z-index: 49; }
    .site-nav.is-open { display: block; }
    .site-nav .nav-list { flex-direction: column; gap: 0; overflow: visible; }
    .site-nav .nav-list li { border-bottom: 1px solid var(--line); }
    .site-nav .nav-list a { display: block; padding: 13px 2px; font-size: 15.5px; color: var(--paper); }
    .site-nav .nav-extra { display: block; }
    .nav-toggle { display: flex; order: 3; margin-left: auto; }
    .site-actions { margin-left: 0; order: 2; }
    .site-header-inner { gap: 14px; }
    .e-props { display: none; }
    .e-main { grid-template-columns: 200px minmax(0, 1fr); }
    .band { grid-template-columns: 1fr; gap: 44px; }
    .fresh { grid-template-columns: 1fr 1fr; }
    .post-grid { grid-template-columns: 1fr 1fr; }
    .g-grid { grid-template-columns: 1fr 1fr; }
    .trust { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
    .container { padding: 0 20px; }
    .hub-status { display: flex; font-size: 10.5px; }
    :is(.post-content, .post-full-header) .pillar-router { grid-template-columns: 1fr; }
    .hub-route-grid { grid-template-columns: 1fr; }
    :is(body.tag-hash-templates-pillar, body.tag-hash-effects-pillar) .post-full-title { font-size: 30px; }
    .table-scroll > table.hub-responsive-table td { display: block; }
    .table-scroll > table.hub-responsive-table td::before { display: block; margin-bottom: 5px; }
    .site-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hero h1 { font-size: 32px; }
    .hero-search { padding: 6px 6px 6px 16px; }
    .hero-search .btn { padding: 10px 14px; font-size: 13px; }
    .hero-search-hint { font-size: 14px; }
    .site-actions .btn { padding: 7px 13px; font-size: 13px; }
    .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .e-pill { display: none; }
    .e-title { font-size: 11px; }
    .e-media { display: none; }
    .e-main { grid-template-columns: 1fr; }
    .e-player { height: auto; width: calc(100% - 32px); margin: 12px auto 6px; }
    .e-tabs .e-tab:nth-child(n+6) { display: none; }
    .e-ruler span:nth-child(even) { display: none; }
    .cap-chip { font-size: 8.5px; padding: 0 6px; }
    .fresh, .post-grid, .g-grid, .topics { grid-template-columns: 1fr; }
    .post-full-title { font-size: 27px; }
    .hub-title { font-size: 30px; }
    .post-full-image { padding: 0 20px; }
    .trust { padding: 26px 22px; }
}

/* ---------- Koenig cards (Ghost editor content) ---------- */
.kg-width-wide { position: relative; width: 85vw; max-width: 1180px; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.kg-gallery-container { display: flex; flex-direction: column; gap: 8px; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; gap: 8px; }
.kg-gallery-image { flex: 1 1 0; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.kg-bookmark-card { width: 100%; }
.kg-bookmark-container { display: flex; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); color: var(--dim); transition: border-color .15s; }
.kg-bookmark-container:hover { border-color: var(--cyan); }
.kg-bookmark-content { flex-grow: 1; display: flex; flex-direction: column; padding: 18px; min-width: 0; }
.kg-bookmark-title { color: var(--paper); font-size: 15px; font-weight: 700; line-height: 1.4; }
.kg-bookmark-description { font-size: 13.5px; color: var(--faint); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kg-bookmark-metadata { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--faint); flex-wrap: wrap; }
.kg-bookmark-icon { width: 18px; height: 18px; border-radius: 3px; }
.kg-bookmark-author { font-weight: 600; color: var(--dim); }
.kg-bookmark-publisher { color: var(--faint); }
.kg-bookmark-thumbnail { position: relative; flex: none; width: 200px; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-embed-card { display: flex; flex-direction: column; }
.kg-embed-card iframe { width: 100%; border-radius: 12px; }
.kg-callout-card { display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 12px; padding: 18px 22px; }
.kg-button-card { display: flex; justify-content: center; }
.kg-btn, .kg-button-card a { background: var(--cyan); color: #062026; border-radius: 999px; padding: 10px 22px; font-weight: 700; font-size: 14px; }
@media (max-width: 700px) {
    .kg-bookmark-thumbnail { display: none; }
    .kg-width-wide, .kg-width-full { width: 100%; margin-left: 0; transform: none; }
}

/* v2.0.1 */
.post-hubs { padding: 44px 0 0; }
.post-hubs .rel { margin-top: 0; }
.how-we-test { padding: 34px 0 0; }
.how-we-test .trust { margin-top: 0; }
.home-template .site-actions .btn[data-ghost-search] { display: none; }
.author-dossier { padding: 26px 0 0; }
.author-dossier .post-author-card { margin-top: 0; }

/* ---------- editorial hub library v2.4 ----------
   One lead route, compact supporting routes and a narrow reading column. */
.cg-hub-library {
    position: relative;
    width: 100vw;
    margin: 34px 0 42px calc(50% - 50vw);
    padding: 34px 0 42px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0d0d19;
}
.post-full > .cg-hub-library { margin-left: 0; }
.cg-library-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    margin-bottom: 22px;
}
.cg-library-head h2 { margin: 0 0 7px; font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -.025em; }
.cg-library-head p { max-width: 700px; margin: 0; color: var(--dim); font-size: 14px; line-height: 1.58; }
.cg-library-start { align-self: end; color: var(--paper); font-size: 13px; font-weight: 750; text-decoration: underline; text-decoration-color: var(--hub-accent-line, var(--line2)); text-underline-offset: 5px; white-space: nowrap; }
.cg-library-start:hover { color: var(--hub-accent, var(--cyan)); text-decoration-color: currentColor; }
.cg-library-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 32px !important; margin: 0 !important; }
.cg-library-item { min-width: 0; }
.cg-library-item.cg-library-lead {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: minmax(0, 1.22fr) minmax(290px, .78fr) !important;
    gap: clamp(24px, 4vw, 52px) !important;
    align-items: center;
    padding: 22px 0 28px !important;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.cg-library-item.cg-library-lead:hover { transform: none !important; box-shadow: none !important; }
.cg-library-lead :is(.f-th, .business-spoke-card > a, .cg-library-thumb) { width: 100%; aspect-ratio: 3 / 2; margin: 0; overflow: hidden; border-radius: 12px; background: var(--panel); }
.cg-library-lead :is(.f-th img, .business-spoke-card > a img, .cg-library-thumb img) { width: 100%; height: 100%; object-fit: cover; }
.cg-library-lead :is(.f-meta, .business-spoke-copy, .cg-library-copy) { padding: 0 !important; }
.cg-library-copy > span { display: block; margin-bottom: 7px; color: var(--hub-accent, var(--cyan)); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.cg-library-copy > strong { display: block; }
.cg-library-lead :is(.f-meta h3, .business-spoke-copy h3, strong) { font-size: clamp(21px, 2.2vw, 30px) !important; line-height: 1.18 !important; letter-spacing: -.025em; }
.cg-library-lead :is(.f-route, .business-spoke-copy p, small) { display: block; margin-top: 10px; color: var(--dim); font-size: 14px !important; line-height: 1.58; }
.cg-library-item.cg-library-row {
    display: grid !important;
    grid-template-columns: 132px minmax(0, 1fr) !important;
    gap: 17px !important;
    align-items: center;
    min-height: 126px !important;
    padding: 18px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.cg-library-item.cg-library-row:hover { transform: none !important; box-shadow: none !important; }
.cg-library-row :is(.f-th, .business-spoke-card > a, .cg-library-thumb) { width: 132px; aspect-ratio: 3 / 2; margin: 0; overflow: hidden; border-radius: 9px; background: var(--panel); }
.cg-library-row :is(.f-th img, .business-spoke-card > a img, .cg-library-thumb img) { width: 100%; height: 100%; object-fit: cover; }
.cg-library-row :is(.f-meta, .business-spoke-copy, .cg-library-copy) { min-width: 0; padding: 0 !important; }
.cg-library-row :is(.f-meta h3, .business-spoke-copy h3, strong) { margin: 0 !important; color: var(--paper); font-size: 15px !important; line-height: 1.34 !important; letter-spacing: -.01em; }
.cg-library-row :is(.f-route, .business-spoke-copy p, small) { display: -webkit-box; margin: 6px 0 0 !important; overflow: hidden; color: var(--faint); font-size: 12.5px !important; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cg-library-row :is(.f-meta > span, .business-spoke-copy > span, .cg-library-copy > span:first-child) { display: block; margin-bottom: 5px; color: var(--hub-accent, var(--cyan)); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cg-library-item :is(.f-th img, .business-spoke-card > a img, .cg-library-thumb img) { transition: transform .28s ease; }
.cg-library-item:hover :is(.f-th img, .business-spoke-card > a img, .cg-library-thumb img) { transform: scale(1.02); }
.cg-library-item:hover :is(h3, strong) { color: var(--hub-accent, var(--cyan)); }
.cg-library-item .f-chip { display: none; }

.cg-hub-library--visual .cg-library-head { grid-template-columns: 1fr; }
.cg-visual-body { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 32px; align-items: start; border-top: 1px solid var(--line); padding-top: 22px; }
.cg-visual-media { display: flex; min-width: 0; min-height: 0; aspect-ratio: 3 / 2; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px; background: var(--panel); }
.cg-visual-media :is(figure, img) { display: block; width: 100%; height: 100%; margin: 0 !important; object-fit: contain; border: 0 !important; border-radius: 0 !important; }
.cg-visual-media > img { height: 100% !important; max-width: 100%; max-height: 100%; aspect-ratio: 3 / 2; object-fit: contain !important; }
.cg-visual-media figure img { aspect-ratio: auto !important; }
.cg-visual-media figcaption { display: none; }
.cg-visual-routes { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; margin: 0 !important; }
.cg-visual-route { display: grid !important; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 96px !important; padding: 12px 0 !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.cg-visual-route:first-child { border-top: 1px solid var(--line) !important; }
.cg-visual-route:hover { transform: none !important; border-color: var(--line) !important; }
.cg-visual-route .cg-library-thumb { display: block; width: 104px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; }
.cg-visual-route .cg-library-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cg-visual-route .cg-library-copy { min-width: 0; }
.cg-visual-route .cg-library-copy > :is(.alt-kicker, strong, small) { display: block; grid-column: auto; }
.cg-visual-route .cg-library-copy > strong { margin: 6px 0; }
.cg-visual-route :is(strong, .alt-kicker, small) { grid-column: 2; }
.cg-visual-route .cg-library-thumb + :is(.alt-kicker, span) { align-self: end; }
.cg-visual-route strong { color: var(--paper); font-size: 15px; line-height: 1.32; }
.cg-visual-route small { color: var(--faint); font-size: 12.5px; line-height: 1.45; }
.page-capcut-ai-tools .cg-visual-route { grid-template-columns: 42px minmax(0, 1fr); }
.page-capcut-ai-tools .cg-visual-route > span:first-child { grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 2px; color: var(--hub-accent, var(--cyan)); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.page-capcut-ai-tools .cg-visual-route > strong { grid-column: 2; align-self: end; }
.page-capcut-ai-tools .cg-visual-route > small { grid-column: 2; align-self: start; }
.cg-hub-library + .hub-content { margin-top: 0; }

/* Beat the article-specific card skins without deleting their CMS styles. */
body .hub-shell .cg-library-item.cg-library-lead,
body .post-full .cg-library-item.cg-library-lead,
body .hub-shell .cg-library-item.cg-library-row,
body .post-full .cg-library-item.cg-library-row,
body .hub-shell .cg-visual-route {
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body .hub-shell .cg-library-item.cg-library-lead,
body .post-full .cg-library-item.cg-library-lead { border-color: var(--line) !important; }
body .hub-shell .cg-library-item.cg-library-row,
body .post-full .cg-library-item.cg-library-row,
body .hub-shell .cg-visual-route { border-color: var(--line) !important; }
html body .hub-shell .cg-hub-library .cg-visual-routes > .cg-visual-route {
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 760px) {
    .cg-hub-library { margin-top: 26px; margin-bottom: 32px; padding: 26px 0 32px; }
    .cg-library-head { grid-template-columns: 1fr; gap: 10px; align-items: start; }
    .cg-library-start { white-space: normal; }
    .cg-library-item.cg-library-lead { grid-template-columns: 1fr !important; gap: 19px !important; padding: 18px 0 24px !important; }
    .cg-library-grid { grid-template-columns: 1fr !important; }
    .cg-library-item.cg-library-row { grid-template-columns: 104px minmax(0, 1fr) !important; gap: 14px !important; min-height: 104px !important; padding: 14px 0 !important; }
    .cg-library-row :is(.f-th, .business-spoke-card > a, .cg-library-thumb) { width: 104px; }
    .cg-visual-body { grid-template-columns: 1fr; gap: 18px; }
    .cg-visual-media { aspect-ratio: 3 / 2; min-height: 0; }
}

/* ---------- template finder v2.5.1 ---------- */
.template-cluster-library { margin-bottom: 28px; }
.template-finder {
    margin: 0 0 46px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--hub-accent-line);
    border-radius: 22px;
    background: linear-gradient(150deg, var(--hub-accent-soft), rgba(13, 13, 25, .96) 44%, var(--panel));
}
.template-finder-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: 32px; align-items: end; }
.template-finder-heading h2 { margin: 7px 0 0; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.025em; }
.template-finder-kicker { color: var(--hub-accent); font-size: 10.5px; font-weight: 850; letter-spacing: .11em; }
.template-finder-heading p { margin: 0; color: var(--dim); font-size: 14px; line-height: 1.65; }
.template-finder-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 25px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8, 8, 20, .72); }
.template-finder-controls label { display: grid; gap: 7px; min-width: 0; color: var(--dim); font-size: 11.5px; font-weight: 720; }
.template-finder-controls :is(input, select) { width: 100%; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 10px; background: var(--panel); color: var(--paper); font: inherit; font-size: 14px; outline: none; }
.template-finder-controls :is(input, select):focus-visible { border-color: var(--hub-accent); box-shadow: 0 0 0 3px var(--hub-accent-soft); }
.template-finder-controls input::placeholder { color: var(--faint); }
.template-finder-controls button { align-self: end; min-height: 44px; padding: 0 15px; border: 1px solid var(--line2); border-radius: 10px; background: transparent; color: var(--paper); font-size: 13px; font-weight: 730; cursor: pointer; }
.template-finder-controls button:hover { border-color: var(--hub-accent); color: var(--hub-accent); }
.template-finder-status { display: flex; justify-content: space-between; gap: 28px; margin: 17px 0 13px; color: var(--faint); font-size: 12px; line-height: 1.5; }
.template-finder-status p:first-child { flex: none; color: var(--paper); font-weight: 750; }
.template-finder-status p:last-child { max-width: 720px; text-align: right; }
.template-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.template-result-card { display: flex; min-width: 0; min-height: 238px; flex-direction: column; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: rgba(17, 17, 31, .93); }
.template-result-card[hidden],
.template-result-card.is-beyond-limit { display: none; }
.template-result-top { display: flex; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 9.5px; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.template-result-top span:first-child { color: var(--hub-accent); }
.template-result-card h3 { margin: 12px 0 14px; color: var(--paper); font-size: 17px; line-height: 1.28; letter-spacing: -.01em; }
.template-result-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: auto 0 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--line); }
.template-result-card dl div { min-width: 0; padding: 8px 9px; background: var(--bg); }
.template-result-card dt { color: var(--faint); font-size: 9.5px; line-height: 1.25; text-transform: uppercase; }
.template-result-card dd { margin: 3px 0 0; color: var(--paper); font-size: 13px; font-weight: 720; }
.template-result-card > a { align-self: flex-start; color: var(--hub-accent); font-size: 13px; font-weight: 760; text-decoration: underline; text-decoration-color: var(--hub-accent-line); text-underline-offset: 4px; }
.template-result-card > a:hover { text-decoration-color: currentColor; }
.template-finder-actions { display: flex; justify-content: center; margin-top: 18px; }
.template-finder-actions button { min-height: 44px; padding: 0 19px; border: 1px solid var(--hub-accent-line); border-radius: 999px; background: var(--hub-accent-soft); color: var(--paper); font-size: 13px; font-weight: 760; cursor: pointer; }
.template-finder-actions button:hover { border-color: var(--hub-accent); color: var(--hub-accent); }
.template-finder-actions button[hidden] { display: none; }
.template-finder-empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--line2); border-radius: 13px; color: var(--dim); text-align: center; }
.template-finder-noscript { margin-top: 15px; color: var(--dim); font-size: 13px; }
.hub-shell--capcut-templates .hub-responsive-table,
.hub-shell--capcut-templates-finder-preview .hub-responsive-table { border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: rgba(13, 13, 25, .88); }
.hub-shell--capcut-templates .hub-responsive-table th,
.hub-shell--capcut-templates-finder-preview .hub-responsive-table th { padding: 13px 15px; border-bottom: 1px solid var(--hub-accent-line); background: var(--hub-accent-soft); color: var(--paper); font-size: 12.5px; line-height: 1.35; text-align: left; vertical-align: bottom; }
.hub-shell--capcut-templates .hub-responsive-table td,
.hub-shell--capcut-templates-finder-preview .hub-responsive-table td { padding: 14px 15px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 13.5px; line-height: 1.5; text-align: left; vertical-align: top; }
.hub-shell--capcut-templates .hub-responsive-table tbody tr:last-child td,
.hub-shell--capcut-templates-finder-preview .hub-responsive-table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 960px) {
    .template-finder-heading { grid-template-columns: 1fr; gap: 11px; }
    .template-finder-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .template-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .template-finder { margin-inline: -4px; padding: 19px 15px; border-radius: 17px; }
    .template-finder-controls { grid-template-columns: 1fr; padding: 14px; }
    .template-finder-status { display: block; }
    .template-finder-status p:last-child { margin-top: 7px; text-align: left; }
    .template-results { grid-template-columns: 1fr; }
    .template-result-card { min-height: 0; }
    .template-result-top { display: grid; }
}
