/* TrainingBot Updates • content-first page, 2026-10-28.
   Scope to existing /ban-cap-nhat page sections, no Admin or API changes. */
:root { --tbup-ink:#f1f5ff; --tbup-muted:#b2bfd3; --tbup-line:#2d3a55; --tbup-card:#111b2c; --tbup-soft:#172439; --tbup-blue:#869aff; --tbup-teal:#61dfcd; }
#tb-game-release-help, #tb-site-changelog, #tb-beta-faq-title{scroll-margin-top:90px}
.tb-update-guide {padding-top:38px!important}
.tb-update-intro {display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.tb-update-intro .tb-update-headline {min-width:0;max-width:780px}
.tb-update-intro .tb-update-kicker {
 display:inline-flex;align-items:center;gap:10px;color:var(--tbup-teal);
 font-size:11px;font-weight:850;letter-spacing:.16em;text-transform:uppercase
}
.tb-update-intro .tb-update-kicker:before {content:"";width:18px;height:3px;border-radius:6px;background:var(--tbup-teal)}
.tb-update-intro h2 {font-size:clamp(27px,3.2vw,39px)!important;line-height:1.16!important;letter-spacing:-.042em!important;margin:10px 0 8px!important}
.tb-update-intro p {font-size:14px;color:var(--tbup-muted);line-height:1.7;margin:0}
.tb-update-intro .tb-update-guide-badge{
 display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
 font-size:11px;font-weight:750;color:#b2ebe2;padding:9px 13px;
 background:#132c31;border:1px solid #2b695f;border-radius:999px
}
.tb-update-grid{
 display:grid;grid-template-columns:minmax(0,1.55fr) minmax(275px,.75fr);
 align-items:start;gap:16px;margin-top:18px
}
.tb-update-steps{
 list-style:none;margin:0;display:grid;gap:0;border:1px solid var(--tbup-line);
 border-radius:19px;background:linear-gradient(145deg,#172337,#101a2a);
 padding:7px 24px;min-width:0
}
.tb-update-step{
 display:grid;grid-template-columns:42px minmax(0,1fr);
 gap:17px;padding:22px 0;border-bottom:1px solid rgba(175,193,224,.13);
 align-items:start
}
.tb-update-step:last-child{border-bottom:0}
.tb-update-step-num{
 display:grid;place-items:center;width:41px;height:41px;
 border-radius:12px;background:#26365b;border:1px solid #3c5682;
 color:#b9c9ff;font-size:13px;font-weight:850
}
.tb-update-step h3{
 font-size:17px;font-weight:790;line-height:1.3;
 color:#f5f8ff;margin:1px 0 8px
}
.tb-update-step p{
 font-size:13.5px;line-height:1.72;color:#b4c5dc;
 margin:0;max-width:65ch
}
.tb-update-step strong{color:#f6fbff}
.tb-update-step a{
 color:#88e9dc;text-decoration:underline;text-decoration-color:rgba(136,233,220,.4);
 text-underline-offset:3px
}
.tb-update-helprail{display:grid;gap:12px;min-width:0}
.tb-update-sidecard{
 padding:19px 20px;border-radius:17px;
 background:#111e30;border:1px solid #2d405a
}
.tb-update-sidecard .tb-update-side-label{
 color:#72d5ca;font-size:10px;letter-spacing:.12em;
 font-weight:850;text-transform:uppercase;margin-bottom:8px
}
.tb-update-sidecard h3{font-size:17px;line-height:1.3;margin:0 0 10px;color:#f4f8ff}
.tb-update-sidecard p{font-size:13px;color:#afbed4;line-height:1.67;margin:0}
.tb-update-sidecard + .tb-update-sidecard {background:#101929}
.tb-update-sidecard ul{list-style:none;padding:0;margin:0;display:grid;gap:11px}
.tb-update-sidecard li{position:relative;padding-left:18px;color:#bdc9db;font-size:12.5px;line-height:1.6}
.tb-update-sidecard li:before{
 content:"";position:absolute;left:0;top:.56em;width:6px;height:6px;border-radius:50%;background:#7fcad1
}
.tb-update-sidecard details{
 border:0;padding:0;margin-top:12px
}
.tb-update-sidecard details summary{
 color:#c1c9ff;font-weight:750;font-size:12px;
 text-decoration:underline;text-decoration-color:#53658b;text-underline-offset:3px
}
.tb-update-sidecard .tb-update-file{
 margin-top:12px;padding:12px;border:1px solid #33425d;
 border-radius:10px;background:#0b1424;
 font-size:11.5px;line-height:1.65;color:#aebed5
}
.tb-update-file b{display:block;color:#e5efff;font-size:12px;margin-bottom:4px}
.tb-update-file code{
 font-family:ui-monospace,monospace;color:#9ad5eb;word-break:break-all;
 font-size:10.5px;line-height:1.6
}
.tb-update-file a{
 display:inline-flex;margin-top:7px;color:#94c9ff;
 font-weight:700;text-decoration:underline;text-underline-offset:3px
}
.tb-site-log-section{padding-top:34px!important}
.tb-site-log{
 background:#101a2b;border:1px solid var(--tbup-line);
 border-radius:17px;overflow:hidden
}
.tb-site-log>summary{
 padding:19px 22px;
 display:flex;justify-content:space-between;align-items:center;
 gap:16px;list-style:none;cursor:pointer;
}
.tb-site-log>summary::-webkit-details-marker{display:none}
.tb-site-log-heading {display:flex;flex-direction:column;gap:4px}
.tb-site-log-heading strong{font-size:18px;letter-spacing:-.025em;color:#ecf4ff}
.tb-site-log-heading small{font-size:12px;color:#9eb1cb;font-weight:500}
.tb-site-log-chevron{
 display:grid;place-items:center;width:32px;height:32px;
 border:1px solid #354a64;border-radius:9px;background:#1b2b42;
 font-size:18px;color:#a8c5ef;flex:none
}
.tb-site-log[open] .tb-site-log-chevron{transform:rotate(180deg)}
.tb-site-log-body{
 padding:3px 22px 20px;border-top:1px solid #27384e
}
.tb-site-log-entry{display:grid;grid-template-columns:125px minmax(0,1fr);gap:18px;padding:18px 0}
.tb-site-log-date{font-size:12px;color:#90a9c7;font-weight:750}
.tb-site-log-entry h3{margin:0 0 6px;font-size:15px;color:#e7f1ff}
.tb-site-log-entry p{margin:0;color:#adbed4;font-size:12.5px;line-height:1.7}
.tb-site-log-note{border-top:1px dashed #32435b;padding:13px 0 0!important;font-size:12px;color:#8196b1}
.tb-update-faq{padding-top:34px!important}
.tb-update-faq .faq{
 margin-top:15px;border:1px solid #283b55;background:#101a2b;
 padding:4px 21px;border-radius:15px
}
.tb-update-faq .faq details{padding:15px 0}
.tb-update-faq .faq summary{font-size:14px;color:#e5efff}
.tb-update-faq .faq p{font-size:13px;line-height:1.65;color:#a8b9d0}
.tb-update-faq h2{font-size:24px!important;margin:0!important}
.tb-update-faq .eyebrow{color:#75d0c4}
.tb-update-guide .tb-update-guide-badge {flex:none}
body:has(.tb-update-guide) .release-hero{min-height:300px}
body:has(.tb-update-guide) .beta-versions{
 border-color:#304361;background:#111d30;margin-top:18px
}
body:has(.tb-update-guide) .beta-build-card{
 border-color:#30405b;background:#111c2e
}
body:has(.tb-update-guide) .beta-build-card:hover{
 border-color:#647ab5;box-shadow:0 12px 32px rgba(0,0,0,.2)
}
@media(max-width:960px){
 .tb-update-grid{grid-template-columns:minmax(0,1fr)}
 .tb-update-helprail{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
}
@media(max-width:650px){
 .tb-update-intro{align-items:start;flex-direction:column;gap:12px}
 .tb-update-grid{gap:12px}
 .tb-update-steps{padding:2px 16px;border-radius:15px}
 .tb-update-step{grid-template-columns:36px minmax(0,1fr);gap:12px;padding:16px 0}
 .tb-update-step-num{width:35px;height:35px;border-radius:9px}
 .tb-update-step h3{font-size:15px;margin:0 0 6px}
 .tb-update-step p{font-size:12.5px}
 .tb-update-helprail{grid-template-columns:1fr}
 .tb-update-sidecard{padding:17px}
 .tb-site-log>summary{padding:17px}
 .tb-site-log-body{padding:3px 17px 17px}
 .tb-site-log-entry{grid-template-columns:1fr;gap:5px}
 .tb-update-faq .faq{padding:4px 14px}
}
@media(prefers-reduced-motion:reduce){
 .tb-update-sidecard *, .tb-site-log *{animation:none!important;transition:none!important}
}