/* TT CMS v2.5 — Liquid Glass topbar, footer widgets, marquee, gallery & visual accents */
.tt25-tools-header-link{display:inline-flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid rgba(117,136,190,.25);border-radius:999px;background:linear-gradient(115deg,rgba(80,160,235,.12),rgba(154,101,248,.18));color:inherit;font-weight:800;font-size:13px;white-space:nowrap;text-decoration:none;box-shadow:inset 0 1px 0 #ffffff22;backdrop-filter:blur(15px);transition:transform .2s ease,background .2s ease}
.tt25-tools-header-link:hover{transform:translateY(-2px);background:linear-gradient(115deg,rgba(80,160,235,.27),rgba(154,101,248,.28))}.tt25-tools-header-link i{color:#7b6fe9}
.tt25-topbar{background:color-mix(in srgb,var(--tt22-header-light,#f4f6fd) 78%,transparent);border-bottom:1px solid rgba(102,137,209,.14);backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);color:var(--tt22-header-text-light,#223553);position:relative;z-index:28;font-size:13px}
html[data-theme=dark] .tt25-topbar{background:color-mix(in srgb,var(--tt22-header-dark,#1c2e4a) 79%,transparent);color:var(--tt22-header-text-dark,#f1f5ff)}
.tt25-topbar-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:15px;min-height:38px;align-items:center;padding-block:6px}.tt25-topzone{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}.tt25-zone-top_center{justify-content:center}.tt25-zone-top_right{justify-content:flex-end}.tt25-widget-text{line-height:1.4}.tt25-widget-link{color:inherit;text-decoration:none;font-weight:750;border-bottom:1px solid transparent}.tt25-widget-link:hover{border-color:currentColor}
.tt25-topbar .tt23-nav{margin:0}.tt25-topbar .tt23-nav-root{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;padding:0}.tt25-topbar a{color:inherit}.tt25-topbar .tt-sharing{display:flex;flex-wrap:wrap;gap:6px}.tt25-topbar .tt-sharing a{width:27px;height:27px;font-size:12px}.tt25-widget-search{display:flex;align-items:center;max-width:215px;border:1px solid rgba(119,154,221,.28);border-radius:99px;overflow:hidden;background:#8099c016}.tt25-widget-search input{background:transparent;color:inherit;min-width:0;width:100%;border:0;outline:0;padding:5px 10px;font:inherit}.tt25-widget-search button{border:0;background:transparent;color:inherit;padding:5px 10px;cursor:pointer}
.tt25-footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;padding:48px 0 25px}.tt25-footer-zone{display:flex;flex-direction:column;gap:12px;align-items:flex-start;min-width:0}.tt25-footer-zone .tt23-nav-root{display:flex;flex-direction:column;gap:7px}.tt25-footer-zone a{color:inherit}.tt25-footer-zone .tt-sharing{display:flex;flex-wrap:wrap;gap:8px}.tt25-footer-zone .tt25-widget-search{width:100%}
.tt25-marquee{position:relative;overflow:hidden;border:1px solid #a39de77a;border-radius:20px;background:linear-gradient(115deg,rgba(87,167,247,.16),rgba(180,110,239,.18));padding:16px 0;margin:20px 0;backdrop-filter:blur(14px)}
.tt25-marquee-track{display:flex;width:max-content;min-width:200%;animation:tt25-marquee-slide var(--tt25-speed,28s) linear infinite}.tt25-marquee-right .tt25-marquee-track{animation-direction:reverse}.tt25-marquee:hover .tt25-marquee-track{animation-play-state:paused}
.tt25-marquee-set{display:flex;align-items:center;gap:40px;min-width:50%;justify-content:space-around;padding:0 20px}.tt25-marquee-set>span{font-size:clamp(1rem,2.4vw,1.8rem);font-weight:900;letter-spacing:-.025em;white-space:nowrap}.tt25-marquee i{font-style:normal;color:#977cf5;margin-left:28px}
@keyframes tt25-marquee-slide{to{transform:translateX(-50%)}}
.tt25-gallery{--tt25-gallery-gap:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--tt25-gallery-gap);margin:16px 0 26px}
.tt25-gallery-item{display:block;overflow:hidden;border-radius:17px;border:1px solid rgba(130,152,204,.25);background:#9caacb16;box-shadow:0 9px 30px #172e5b1c;cursor:zoom-in}
.tt25-gallery-item img{display:block;width:100%;height:230px;object-fit:cover;transition:transform .35s ease}.tt25-gallery-item:hover img{transform:scale(1.045)}.tt25-gallery-masonry{display:block;columns:3;column-gap:14px}.tt25-gallery-masonry .tt25-gallery-item{break-inside:avoid;margin-bottom:14px}.tt25-gallery-masonry img{height:auto;min-height:150px}
.tt25-gallery-slider{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;gap:16px}.tt25-gallery-slider .tt25-gallery-item{scroll-snap-align:center;flex:0 0 min(82vw,480px)}.tt25-gallery-slider img{height:300px}
.article-body img:not([data-no-lightbox]),.tt-page-body img:not([data-no-lightbox]){cursor:zoom-in}
.tt25-lightbox{position:fixed;border:0;border-radius:20px;padding:18px;max-width:min(95vw,1300px);width:min(95vw,1300px);max-height:96vh;background:rgba(10,16,35,.96);color:#f0f4ff;box-shadow:0 40px 150px #000b;overflow:hidden}.tt25-lightbox::backdrop{background:rgba(2,6,17,.88);backdrop-filter:blur(12px)}
.tt25-lightbox[open]{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}.tt25-lightbox .tt25-lb-controls{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.tt25-lightbox button{border:1px solid #8894b755;background:#ffffff13;color:#fff;border-radius:12px;cursor:pointer;padding:10px 14px}.tt25-lightbox figure{min-width:0;margin:0;text-align:center}.tt25-lightbox figure img{max-height:calc(96vh - 140px);max-width:100%;object-fit:contain}.tt25-lightbox figcaption{font-size:13px;opacity:.72;margin-top:8px}
.tt25-cursor{position:fixed;left:0;top:0;transform:translate(calc(var(--x,0px) - 50%),calc(var(--y,0px) - 50%));z-index:10000;pointer-events:none;border-radius:50%;width:35px;height:35px;border:1px solid rgba(116,194,255,.7);background:rgba(80,184,242,.08);box-shadow:0 0 24px 8px #69adfa30;will-change:transform}.tt25-cursor-dot{width:12px;height:12px;background:#62bbfeaa}.tt25-cursor-comet{width:11px;height:11px;background:#9c76ff88}.tt25-cursor-sparkles{width:13px;height:13px;background:#a1e9ff88}.tt25-trail{position:fixed;z-index:9999;pointer-events:none;border-radius:50%;width:9px;height:9px;background:radial-gradient(circle,#a8f2ff,#8976f977,transparent);transform:translate(-50%,-50%);animation:tt25-trail-vanish .52s ease-out forwards}.tt25-trail-sparkles{height:5px;width:5px;background:#8defff;box-shadow:0 0 12px #aeb3ff}
@keyframes tt25-trail-vanish{to{opacity:0;transform:translate(-50%,-50%) scale(.2)}}
@media(max-width:820px){.tt25-topbar-grid{grid-template-columns:1fr;gap:4px}.tt25-zone-top_left,.tt25-zone-top_center,.tt25-zone-top_right{justify-content:center}.tt25-topzone:empty{display:none}.tt25-tools-header-link span{display:none}.tt25-footer-grid{grid-template-columns:1fr 1fr}.tt25-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.tt25-gallery-masonry{columns:2}}
@media(max-width:520px){.tt25-footer-grid{grid-template-columns:1fr;gap:24px}.tt25-gallery{grid-template-columns:1fr 1fr;gap:8px}.tt25-gallery-item img{height:155px}.tt25-gallery-slider .tt25-gallery-item{flex-basis:83vw}.tt25-lightbox{padding:8px}.tt25-lightbox[open]{gap:4px}.tt25-lightbox .tt25-lb-arrow{padding:10px 7px}}
@media(prefers-reduced-motion:reduce){.tt25-marquee-track,.tt25-trail{animation:none!important}.tt25-gallery-item img,.tt25-tools-header-link{transition:none!important}}
