:root {
  --bg: #0a1f1f;
  --bg-2: #071818;
  --gold: #d4af37;
  --gold-2: #e4c56a;
  --card: #0d2a2a;
  --line: rgba(45, 140, 130, 0.45);
  --text: #f4f1e8;
  --muted: #c5d0c8;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at 50% -20%, #123333 0%, var(--bg) 42%, var(--bg-2) 100%);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.3333;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tl-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: #0a1f1f;
  font-weight: 700;
  text-decoration: none;
}

.tl-skip:focus {
  top: 12px;
}

.tl-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), #e4c56a);
  pointer-events: none;
}

.tl-progress[hidden] {
  display: block;
  visibility: hidden;
}

.tl-top {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px) 1fr;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px 10px;
}

.tl-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.tl-logo-img {
  display: block;
  width: auto;
  height: 36px;
  max-width: min(46vw, 180px);
  object-fit: contain;
  object-position: left center;
}

.tl-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 8px 0 6px;
  border: 1px solid rgba(45, 140, 130, 0.55);
  border-radius: 999px;
  background: #0b3333;
  color: var(--gold-2);
}

.tl-search-go,
.tl-search-clear {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.tl-search-go:hover,
.tl-search-clear:hover {
  background: rgba(212, 175, 55, 0.14);
}

.tl-search-clear {
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}

.tl-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
  font: inherit;
  font-size: 15px;
}

.tl-search input::placeholder {
  color: #8aa39a;
}

.tl-search-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0d2a2a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.tl-search-drop[hidden] {
  display: none;
}

.tl-search-hit {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 10px;
  color: inherit;
  text-decoration: none;
}

.tl-search-hit + .tl-search-hit {
  border-top: 1px solid rgba(45, 140, 130, 0.22);
}

.tl-search-hit:hover,
.tl-search-hit.is-on {
  background: rgba(212, 175, 55, 0.12);
}

.tl-search-hit img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: #071818;
}

.tl-search-hit strong {
  display: block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.tl-search-hit span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tl-search-empty {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
}

.tl-date {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.tl-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px 72px;
}

.tl-line {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  position: relative;
}

.tl-line::before {
  content: "";
  position: absolute;
  left: 86px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--gold);
}

.tl-item {
  display: grid;
  grid-template-columns: 72px 28px minmax(0, 1fr);
  align-items: start;
  gap: 0 8px;
  margin-bottom: 22px;
}

.tl-time {
  padding-top: 28px;
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
  text-align: right;
  letter-spacing: 0.02em;
}

.tl-dot {
  width: 14px;
  height: 14px;
  margin: 34px auto 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.18);
  position: relative;
  z-index: 1;
}

.tl-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 42, 42, 0.72);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.tl-card:hover,
a.tl-card:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
  outline: none;
}

.tl-card img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: 12% 20%;
}

.tl-body {
  padding: 16px 18px 18px;
}

.tl-hot {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
}

.tl-body h2 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.tl-body p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tl-card.is-feature {
  grid-template-columns: 320px minmax(0, 1fr);
}

.tl-card.is-feature img {
  height: 100%;
  min-height: 168px;
  max-height: 200px;
}

.tl-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
}

.tl-card-wrap {
  position: relative;
  min-width: 0;
}

.tl-card-play {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(180, 28, 36, 0.92);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.tl-card-play:hover,
.tl-card-play:focus-visible {
  background: #c42828;
  outline: none;
}

.tl-empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 0;
}

.tl-home-head {
  margin: 0 0 22px;
  padding: 4px 0 0;
}

.tl-home-head h1 {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tl-home-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.tl-article-wrap {
  max-width: 760px;
}

.tl-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.tl-crumb a {
  color: var(--gold-2);
  text-decoration: none;
}

.tl-crumb a:hover {
  text-decoration: underline;
}

.tl-crumb span[aria-current] {
  max-width: min(100%, 42ch);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tl-article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 42, 42, 0.78);
  overflow: hidden;
  padding: 0 0 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.tl-article-head {
  padding: 22px 28px 10px;
}

.tl-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tl-article .tl-hot {
  margin: 0;
  padding: 0;
  font-weight: 700;
}

.tl-article h1 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.tl-dek {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.tl-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(45, 140, 130, 0.28);
}

.tl-byline-logo {
  height: 22px;
  width: auto;
}

.tl-byline-meta {
  flex: 1;
  min-width: 160px;
}

.tl-byline-meta strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.tl-byline-meta p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tl-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tl-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-2);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.tl-share-btn:hover,
.tl-share-btn:focus-visible {
  background: rgba(212, 175, 55, 0.2);
  outline: none;
}

.tl-lead {
  margin: 8px 0 6px;
  background: #071818;
}

.tl-lead .tl-zoom {
  display: block;
  width: 100%;
}

.tl-lead img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  object-position: center;
}

.tl-zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #071818;
  cursor: zoom-in;
}

.tl-article-body {
  padding: 8px 28px 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.72;
}

.tl-article-body p {
  margin: 0 0 1.15em;
}

.tl-clip-frame.is-lead {
  margin: 4px auto 18px;
  max-width: 420px;
}

.tl-clip-frame.is-lead .tl-clip-stage {
  max-width: none;
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 28px 24px;
  padding: 0;
  list-style: none;
}

.tl-tags a {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45, 140, 130, 0.18);
  color: var(--gold-2);
  font-size: 13px;
  text-decoration: none;
}

.tl-tags a:hover {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold);
}

.tl-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 0;
}

.tl-pager-card {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 42, 42, 0.72);
  color: inherit;
  text-decoration: none;
}

.tl-pager-card span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
}

.tl-pager-card strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tl-pager-card:hover {
  border-color: var(--gold);
}

.tl-pager-card.is-empty {
  color: var(--muted);
  font-size: 13px;
  align-content: center;
}

.tl-share-dock {
  display: none;
}

.tl-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.95);
  color: #0a1f1f;
  font-size: 14px;
  font-weight: 700;
}

.tl-toast[hidden] {
  display: none;
}

.tl-article-body .tl-figure,
.tl-article-body .tl-clip-frame,
.tl-article-body .tl-cmt-box {
  margin-left: 0;
  margin-right: 0;
}

.tl-figure {
  margin: 6px 22px 18px;
}

.tl-figure .tl-zoom {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #071818;
}

.tl-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tl-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tl-clip-frame {
  margin: 6px 22px 22px;
}

.tl-clip-stage {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #071818;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.tl-clip-stage video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  border-radius: 12px;
  background: #000;
  vertical-align: bottom;
  pointer-events: none;
}

.tl-clip-open {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.tl-clip-open span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(180, 28, 36, 0.94);
  font-size: 16px;
  font-weight: 700;
}

.tl-clip-open small {
  color: #f4f1e8;
  font-size: 12px;
  text-shadow: 0 1px 4px #000;
}

.tl-clip-frame figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.tl-cmt-box {
  margin: 8px 22px 22px;
  padding: 12px 10px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 24, 24, 0.88);
}

.tl-cmt-box h2 {
  margin: 0 0 8px;
  padding: 0 6px 8px;
  border-bottom: 1px solid rgba(45, 140, 130, 0.28);
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
}

.tl-cmt-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl-cmt {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 6px 4px;
}

.tl-cmt.is-reply {
  margin-left: 40px;
  padding-top: 2px;
  padding-bottom: 4px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
}

.tl-cmt img,
.tl-cmt-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #123333;
}

.tl-cmt.is-reply img,
.tl-cmt.is-reply .tl-cmt-dot {
  width: 24px;
  height: 24px;
}

.tl-cmt-dot {
  display: grid;
  place-items: center;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 600;
}

.tl-cmt-body {
  min-width: 0;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.tl-cmt-name {
  margin: 0;
  color: #e4e6eb;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.tl-cmt-name span {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.tl-cmt-text {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.3333;
}

.tl-cmt-like {
  margin-top: 18px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  align-self: start;
}

.tl-cmt-like::before {
  content: "♥ ";
}

.tl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 16px;
  background: rgba(4, 12, 12, 0.92);
}

.tl-lightbox[hidden] {
  display: none;
}

.tl-lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.tl-lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #0d2a2a;
  color: var(--gold);
  font: inherit;
  font-size: 14px;
  padding: 6px 14px;
  cursor: pointer;
}

.tl-reels {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: #050808;
}

.tl-reels[hidden] {
  display: none;
}

.tl-reels-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent);
  pointer-events: none;
}

.tl-reels-brand,
.tl-reels-count {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 8px #000;
}

.tl-reels-count {
  justify-self: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  font-variant-numeric: tabular-nums;
}

.tl-reels-close {
  justify-self: end;
  pointer-events: auto;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 14px;
  cursor: pointer;
}

.tl-reels-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
}

.tl-reels-scroller {
  height: 100%;
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #000;
}

.tl-reel {
  position: relative;
  height: 100%;
  height: 100dvh;
  min-height: 100%;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #000;
}

.tl-reel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.tl-reel-play {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 2;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(180, 28, 36, 0.92);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.tl-reel-play[hidden] {
  display: none;
}

.tl-reel-meta {
  position: absolute;
  left: 0;
  right: 72px;
  bottom: 0;
  z-index: 2;
  padding: 64px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}

.tl-reel-meta p {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.tl-reel-meta a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.95);
  color: #1a1204;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.tl-reels-nav {
  position: absolute;
  right: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 58px;
  border: 0;
  border-radius: 18px;
  padding: 10px 6px 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.tl-reels-nav span {
  font-size: 18px;
  line-height: 1;
}

.tl-reels-nav small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tl-reels-nav.is-prev {
  top: 42%;
  transform: translateY(-120%);
}

.tl-reels-nav.is-next {
  top: 42%;
  transform: translateY(28%);
}

.tl-reels-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.tl-reels-dots {
  position: absolute;
  right: 28px;
  top: 50%;
  z-index: 4;
  display: none;
  transform: translateY(-50%);
}

.tl-reels-dots button {
  display: block;
  width: 8px;
  height: 8px;
  margin: 6px 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.tl-reels-dots button.is-on {
  background: var(--gold);
  transform: scale(1.25);
}

.tl-reels-hint {
  position: absolute;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 4;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(180, 28, 36, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
  animation: tl-hint-bounce 1.4s ease-in-out infinite;
}

.tl-reels-hint[hidden] {
  display: none;
}

.tl-reels-hint-desk {
  display: none;
}

@keyframes tl-hint-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}

@media (min-width: 860px) {
  .tl-reels {
    background: #070b0b;
  }

  .tl-reels-stage {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 430px) 1fr;
    align-items: stretch;
  }

  .tl-reels-scroller,
  .tl-reel {
    height: 100dvh;
    min-height: 100dvh;
  }

  .tl-reels-scroller {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.55);
  }

  .tl-reels-nav {
    position: static;
    transform: none;
    align-self: center;
    justify-self: center;
    width: 92px;
    padding: 16px 10px 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
  }

  .tl-reels-nav.is-prev,
  .tl-reels-nav.is-next {
    transform: none;
  }

  .tl-reels-nav span {
    font-size: 22px;
  }

  .tl-reels-nav small {
    font-size: 13px;
  }

  .tl-reels-nav:hover:not(:disabled) {
    background: rgba(180, 28, 36, 0.92);
  }

  .tl-reel-meta {
    right: 16px;
  }

  .tl-reels-hint-mobile {
    display: none;
  }

  .tl-reels-hint-desk {
    display: inline;
  }

  .tl-reels-dots {
    display: none;
  }
}

.tl-related {
  margin-top: 28px;
}

.tl-related h2 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 20px;
}

.tl-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.tl-related-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 42, 42, 0.72);
  color: inherit;
  text-decoration: none;
}

.tl-related-card img {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
  background: #071818;
}

.tl-related-card div {
  padding: 10px 12px 12px;
}

.tl-related-card time {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-2);
  font-size: 12px;
}

.tl-related-card strong {
  display: -webkit-box;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tl-related-card:hover {
  border-color: var(--gold);
}

@media (max-width: 860px) {
  .tl-top {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 18px 16px 8px;
    gap: 12px;
  }

  .tl-logo-img { height: 32px; }
  .tl-search { width: 100%; }
  .tl-date { justify-content: flex-start; }

  .tl-main { padding: 8px 16px 56px; }

  .tl-line::before { left: 18px; }

  .tl-item {
    grid-template-columns: 28px minmax(0, 1fr);
    margin-bottom: 18px;
  }

  .tl-time {
    grid-column: 2;
    padding: 0 0 8px 4px;
    font-size: 18px;
    text-align: left;
  }

  .tl-dot {
    grid-row: 1;
    margin: 6px auto 0;
  }

  .tl-card-wrap {
    grid-column: 2;
  }

  .tl-card,
  .tl-card.is-feature {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .tl-card img,
  .tl-card.is-feature img { height: 190px; max-height: none; }

  .tl-body h2 { font-size: 18px; }

  .tl-home-head h1 { font-size: 24px; }

  .tl-article-head,
  .tl-article-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tl-article h1 { font-size: 24px; }
  .tl-dek { font-size: 16px; }
  .tl-article-body { font-size: 16px; line-height: 1.7; }
  .tl-tags { margin-left: 16px; margin-right: 16px; }
  .tl-pager { grid-template-columns: 1fr; }
  .tl-byline .tl-share { display: none; }

  .tl-share-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    gap: 8px;
    justify-content: center;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 24, 24, 0.96);
    border-top: 1px solid rgba(45, 140, 130, 0.28);
  }

  .tl-article-page {
    padding-bottom: 72px;
  }

  .tl-toast {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}
