/* v56 — Accessibility and content discovery. Scoped so dark mode stays intact. */
html[data-theme="light"] .ts-v40-video-card,
html[data-theme="light"] .ts-v40-video-card:link,
html[data-theme="light"] .ts-v40-video-card:visited {
  background: #ffffff !important;
  color: #173348 !important;
  border-color: #cadbe5 !important;
  box-shadow: 0 8px 26px rgba(20,47,69,.085);
}
html[data-theme="light"] .ts-v40-video-card > div:last-child {
  background: #fff !important;
  color: #173348 !important;
}
html[data-theme="light"] .ts-v40-video-card h3 {
  color: #173348 !important;
  -webkit-text-fill-color: #173348 !important;
  opacity: 1 !important;
  font-weight: 800;
}
html[data-theme="light"] .ts-v40-video-card small {
  color: #466678 !important;
  -webkit-text-fill-color: #466678 !important;
  opacity: 1 !important;
}
html[data-theme="light"] .ts-v40-video-card:hover,
html[data-theme="light"] .ts-v40-video-card:focus-visible {
  border-color: #078a80 !important;
  box-shadow: 0 14px 34px rgba(20,47,69,.16);
}
.ts-v40-video-card:focus-visible { outline: 3px solid #20bda8; outline-offset: 3px; }
.ts-v56-gitbook-intro {
  background: linear-gradient(128deg, rgba(11,47,62,.95), rgba(25,41,68,.92));
  border: 1px solid rgba(110,219,203,.4); border-radius: 20px;
  padding: clamp(1rem,2.6vw,1.75rem); margin: 2rem 0;
}
.ts-v56-gitbook-intro h2 { margin: 0 0 .4rem; color: #f2fffc; }
.ts-v56-gitbook-intro p { color: #d3e7ec; max-width: 78ch; }
.ts-v56-gitbook-columns { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1rem 0 0; }
.ts-v56-gitbook-section {
  padding: 1.2rem; border-radius: 16px; background:rgba(5,20,30,.5);
  border: 1px solid rgba(151,194,210,.2);
}
.ts-v56-gitbook-section h3 { color:#9ff6e2; font-size: 1.04rem; margin: 0 0 .7rem; }
.ts-v56-gitbook-links { display: grid; gap: .3rem; }
.ts-v56-gitbook-links a {
  display:flex; justify-content:space-between; gap: 1rem; align-items:center;
  color: #e6f5f8; text-decoration: none; padding: .6rem .35rem;
  border-bottom: 1px solid rgba(161,201,216,.15); line-height:1.5;
}
.ts-v56-gitbook-links a:hover,.ts-v56-gitbook-links a:focus-visible { color:#78ffe2; text-decoration:underline; }
.ts-v56-gitbook-tag { color:#cfbedb; font-size:.75rem; white-space:nowrap; }
html[data-theme="light"] .ts-v56-gitbook-intro,
html[data-theme="light"] .ts-v56-gitbook-section {color:#efffff;}
.ts-doc-sidebar .ts-doc-group summary { overflow-wrap: anywhere; }
@media(max-width:700px){.ts-v56-gitbook-columns {grid-template-columns:1fr;}}
