/* Changelog-only layout. Published releases and shared site controls stay unchanged. */
.tgb-changelog .tgb-changelog-hero { min-height: 0; overflow: visible; padding: 72px 0 30px; border-bottom: 0; background: #f1f9fe; }
.tgb-changelog .tgb-changelog-hero__inner { display: block; min-height: 0; text-align: center; }
.tgb-changelog .tgb-changelog-hero h1 { max-width: 1100px; margin: 0 auto; color: #071a2b; font-size: clamp(42px,4.5vw,64px); font-weight: 800; line-height: 1.13; letter-spacing: -.05em; }
.tgb-changelog .tgb-changelog-hero p { max-width: 760px; margin: 14px auto 0; color: #61718b; font-size: 18px; line-height: 1.7; }
.tgb-changelog .tgb-changelog-languages { position: static; justify-content: center; gap: 24px; margin: 22px auto 0; }
.tgb-changelog .tgb-changelog-languages a { min-width: 40px; padding: 8px 2px; color: #61718b; font-size: 14px; font-weight: 700; line-height: 22px; text-align: center; }
.tgb-changelog .tgb-changelog-languages a:hover, .tgb-changelog .tgb-changelog-languages a[aria-current="true"] { color: #006dbb; }
.tgb-changelog .tgb-changelog-section { padding: 56px 0 64px; background: #fff; }
.tgb-changelog .tgb-changelog-layout { grid-template-columns: 272px minmax(0,1fr); gap: 0; }
.tgb-changelog .tgb-release-index { position: sticky; top: 104px; min-width: 0; padding-right: 30px; }
.tgb-changelog .tgb-release-index h2 { margin: 0 0 18px; font-size: 20px; font-weight: 800; line-height: 28px; }
.tgb-changelog .tgb-release-index ol { display: grid; max-height: calc(100svh - 164px); gap: 6px; overflow: auto; padding: 0 4px 6px; scrollbar-width: thin; }
.tgb-changelog .tgb-release-index ol::before, .tgb-changelog .tgb-release-index a::before { content: none; }
.tgb-changelog .tgb-release-index a { gap: 4px; min-width: 0; padding: 12px 16px; border: 0; border-left: 4px solid transparent; border-radius: 4px; overflow-wrap: anywhere; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.tgb-changelog .tgb-release-index a:hover { color: #006dbb; background: #f1f9fe; transform: none; }
.tgb-changelog .tgb-release-index a[aria-current="true"] { border-left-color: #0085e8; background: #eef8fe; color: #071a2b; }
.tgb-changelog .tgb-release-index strong { font-size: 16px; font-weight: 700; line-height: 24px; }
.tgb-changelog .tgb-release-index span { color: #61718b; font-size: 13px; line-height: 20px; }
.tgb-changelog .tgb-release-timeline { padding-left: 64px; border-left: 1px solid #dce9f3; }
.tgb-changelog .tgb-release-entry { display: block; padding: 0 0 44px; scroll-margin-top: 104px; }
.tgb-changelog .tgb-release-entry + .tgb-release-entry { padding-top: 44px; border-top: 1px solid #dce9f3; }
.tgb-changelog .tgb-release-entry:last-child { padding-bottom: 0; }
.tgb-changelog .tgb-release-entry__header { margin-bottom: 28px; }
.tgb-changelog .tgb-release-entry__header time { margin-bottom: 8px; color: #61718b; font-size: 13px; line-height: 22px; }
.tgb-changelog .tgb-release-entry__header h2 { margin: 0; color: #071a2b; font-size: 44px; font-weight: 800; line-height: 1.12; letter-spacing: -.04em; overflow-wrap: anywhere; }
.tgb-changelog .tgb-release-entry__notes { gap: 24px; }
.tgb-changelog .tgb-release-category, .tgb-changelog .tgb-release-category + .tgb-release-category { padding: 0; border: 0; }
.tgb-changelog .tgb-release-category h3 { gap: 24px; margin: 0; color: #071a2b; font-size: 28px; font-weight: 800; line-height: 40px; letter-spacing: -.03em; }
.tgb-changelog .tgb-release-category h3 svg { flex-shrink: 0; width: 40px; height: 40px; fill: none; stroke: #0085e8; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tgb-changelog .tgb-release-category ul { gap: 3px; margin: 10px 0 0; padding-left: 83px; color: #586581; }
.tgb-changelog .tgb-release-category li { padding-left: 0; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.tgb-changelog .tgb-release-category li::marker { color: #0085e8; }
.tgb-changelog .tgb-changelog-empty { display: flex; flex-direction: column; gap: 22px; min-height: 0; max-width: 760px; margin: 0 auto; padding: 40px 0; border: 0; text-align: center; }
.tgb-changelog .tgb-changelog-empty__icon { width: 58px; height: 58px; border-radius: 50%; color: #0085e8; background: #eef8fe; }
.tgb-changelog .tgb-changelog-empty h2 { font-size: 26px; font-weight: 800; line-height: 1.4; letter-spacing: -.03em; }
.tgb-changelog .tgb-changelog-empty p { max-width: 650px; margin: 12px auto 0; color: #61718b; font-size: 16px; line-height: 1.8; }
.tgb-changelog .tgb-changelog-download { margin-bottom: 64px; padding: 58px 0; background: #f1f9fe; }
.tgb-changelog .tgb-changelog-download__inner { display: flex; flex-direction: column; gap: 0; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; }
.tgb-changelog .tgb-changelog-download h2 { max-width: 1100px; margin: 0; color: #071a2b; font-size: clamp(28px,3vw,36px); font-weight: 800; line-height: 1.25; letter-spacing: -.04em; }
.tgb-changelog .tgb-changelog-download p { margin: 16px 0 0; color: #61718b; font-size: 16px; line-height: 1.7; }
.tgb-changelog .tgb-changelog-download .tgb-button { margin-top: 26px; padding: 13px 24px; }
.tgb-changelog .tgb-changelog-download .tgb-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.tgb-changelog .tgb-changelog-download .tgb-button:hover svg { transform: translateX(3px); }
@media (max-width: 1000px) {
    .tgb-changelog .tgb-changelog-layout { grid-template-columns: 210px minmax(0,1fr); }
    .tgb-changelog .tgb-release-index { padding-right: 24px; }
    .tgb-changelog .tgb-release-timeline { padding-left: 36px; }
}
@media (max-width: 760px) {
    .tgb-changelog .tgb-changelog-hero { padding: 40px 0 25px; }
    .tgb-changelog .tgb-changelog-hero__inner { padding-block: 0; }
    .tgb-changelog .tgb-changelog-hero h1 { max-width: 600px; font-size: 42px; }
    .tgb-changelog .tgb-changelog-hero p { font-size: 16px; }
    .tgb-changelog .tgb-changelog-languages { margin-top: 18px; }
    .tgb-changelog .tgb-changelog-section { padding: 34px 0 40px; }
    .tgb-changelog .tgb-changelog-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
    .tgb-changelog .tgb-release-index { position: static; padding-right: 0; }
    .tgb-changelog .tgb-release-index h2 { margin-bottom: 12px; font-size: 18px; }
    .tgb-changelog .tgb-release-index ol { display: flex; max-height: none; gap: 12px; padding: 0 4px 8px; }
    .tgb-changelog .tgb-release-index li { flex: 0 0 148px; }
    .tgb-changelog .tgb-release-index a { min-width: 0; border: 0; border-left: 4px solid transparent; }
    .tgb-changelog .tgb-release-timeline { padding: 28px 0 0; border: 0; border-top: 1px solid #dce9f3; }
    .tgb-changelog .tgb-release-entry__header { margin-bottom: 24px; }
    .tgb-changelog .tgb-release-entry__header h2 { font-size: 34px; }
    .tgb-changelog .tgb-release-category h3 { gap: 12px; font-size: 22px; line-height: 30px; }
    .tgb-changelog .tgb-release-category h3 svg { width: 30px; height: 30px; }
    .tgb-changelog .tgb-release-category ul { padding-left: 58px; }
    .tgb-changelog .tgb-release-category li { font-size: 15px; }
    .tgb-changelog .tgb-changelog-empty { padding: 16px 0; }
    .tgb-changelog .tgb-changelog-empty h2 { font-size: 23px; }
    .tgb-changelog .tgb-changelog-download { margin-bottom: 40px; padding: 40px 0; }
    .tgb-changelog .tgb-changelog-download__inner { align-items: center; }
    .tgb-changelog .tgb-changelog-download .tgb-button { width: auto; max-width: 100%; font-size: 15px; }
}
@media (max-width: 400px) { .tgb-changelog .tgb-changelog-hero h1 { font-size: 35px; } }
@media (prefers-reduced-motion: no-preference) {
    .tgb-changelog-hero h1, .tgb-changelog-hero p, .tgb-changelog-languages { animation: tgb-changelog-enter .45s ease both; }
    .tgb-changelog-hero p { animation-delay: .06s; }
    .tgb-changelog-languages { animation-delay: .12s; }
}
@media (prefers-reduced-motion: reduce) {
    .tgb-changelog .tgb-release-index a, .tgb-changelog .tgb-changelog-download .tgb-button svg { transition: none; }
}
@keyframes tgb-changelog-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
