.detail { max-width: 1040px; padding-block: 26px 60px; }
.breadcrumbs { color: var(--muted); font-size: 14px; display: flex; gap: 12px; margin-bottom: 18px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(22px, 4vw, 48px); border: 1px solid var(--line); border-radius: 18px; background: var(--hero); }
.detail-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 84px); line-height: 1.02; letter-spacing: -.06em; }
.detail-hero p { margin: 12px 0; color: var(--muted); }
.detail-hero .tool-category { color: var(--accent-text); font-weight: 650; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tool-facts { margin: 0; padding: 6px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.tool-facts > div { padding: 11px 0; }
.tool-facts > div + div { border-top: 1px solid var(--line); }
.tool-facts dt { color: var(--muted); font-size: 12px; }
.tool-facts dd { margin: 2px 0 0; }
.hero-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; }
.rating-stars { position: relative; display: inline-block; flex-shrink: 0; color: var(--line); font-family: "Segoe UI Symbol", sans-serif; font-size: 16px; line-height: 1.3; white-space: nowrap; }
.rating-stars > span { position: absolute; inset: 0 auto 0 0; width: var(--star-fill); overflow: hidden; color: var(--accent-text); }
.hero-plan-list { margin: 4px 0 0; }
.hero-plan-list > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 12px; padding: 4px 0; }
.tool-facts .hero-plan-list dt { color: var(--ink); font-size: 14px; }
.hero-plan-list dd { margin: 0; font-size: 14px; }
.tool-identity { display: flex; align-items: center; gap: clamp(12px, 2vw, 18px); }
.tool-identity img { display: block; width: clamp(46px, 6vw, 64px); height: auto; flex-shrink: 0; border-radius: 15px; background: #fff; }
.tool-mark { flex-shrink: 0; }
.tool-mark img { height: clamp(46px, 6vw, 64px); object-fit: contain; }
.guide-initials { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--surface); color: var(--accent-text); font-weight: 750; }
.detail-hero .tool-identity h1 { font-size: clamp(31px, 5vw, 64px); overflow-wrap: anywhere; min-width: 0; }
.section-links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 19px 0; font-size: 14px; }
.detail-body { display: grid; gap: 16px; }
.detail-panel { scroll-margin-top: 78px; padding: clamp(19px, 3vw, 32px); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.detail-panel h2 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.02em; }
.detail-panel h2[id] { scroll-margin-top: 78px; }
.detail-panel :is(p, li) { color: var(--muted); }
.detail-panel a, .tool-facts a, .section-links a, .breadcrumbs a { color: var(--accent-text); }
.detail-panel li + li { margin-top: 8px; }
.article-steps { margin-block: 20px; padding-inline-start: 24px; }
.article-steps li { padding-inline-start: 5px; }
.guide-questions { display: grid; gap: 16px; margin-block: 14px 0; }
.guide-questions dt { font-weight: 700; }
.guide-questions dd { margin: 5px 0 0; color: var(--muted); }
.video-frame { position: relative; max-width: 750px; aspect-ratio: 16 / 9; margin: 15px 0 12px; background: #161412; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.video-frame :is(iframe, button) { display: block; width: 100%; height: 100%; border: 0; }
.video-frame button { padding: 0; background: #161412; color: #161412; }
.video-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 64px; height: 48px; border-radius: 12px; background: var(--accent); }
.video-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 13px; }
.prompt-block { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.prompt-block > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prompt-block pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; color: var(--muted); margin-bottom: 0; }
.detail-table { overflow-x: auto; margin: 12px 0; }
.detail-table table { width: 100%; min-width: 510px; border-collapse: collapse; font-size: 14px; }
.detail-table :is(th, td) { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.detail-table thead { background: var(--surface); }
.detail-table td { color: var(--muted); }
.detail-panel li strong, .detail-panel p strong { color: var(--ink); }
.tool-facts dd { overflow-wrap: anywhere; }
.workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.workflow-grid section { padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.workflow-grid h3 { margin: 0 0 6px; }
.workflow-grid p { margin: 0; }
.worked-example { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.worked-example h3 { margin: 0; }
.detail-table caption { padding: 8px 12px; text-align: left; color: var(--muted); }
.review-score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 15px; margin-top: 14px; }
.review-score strong { color: var(--accent-text); font-size: 27px; white-space: nowrap; }
.review-score small { display: block; color: var(--muted); }
.workflow-grid .review-date { font-size: 12px; margin-top: 10px; }
.community-post-list { display: grid; gap: 12px; list-style: none; margin: 14px 0 0; padding: 0; }
.community-post-list li { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.community-post-list h3 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.community-post-list p { margin: 6px 0; }
.community-post-list span { color: var(--muted); font-size: 13px; }
.review-subheading { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.review-person { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.review-avatar { position: relative; display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; overflow: hidden; border-radius: 50%; background: var(--surface); color: var(--accent-text); font-weight: 700; }
.review-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 650px) { .workflow-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .detail-hero { grid-template-columns: 1fr; } .section-links { gap: 8px 15px; } }
