:root {
  --black: #0a0a0a;
  --black2: #111;
  --gold: #f5c542;
  --gold2: #ffdf7d;
  --muted: #bfa760;
  --card: #151515;
  --line: #2a2a2a;
  --radius: 18px;
  --pad: clamp(14px, 2.5vw, 20px);
  --gap: clamp(10px, 2vw, 16px);
  --heroPad: clamp(24px, 4vw, 44px);
  --cardPad: clamp(16px, 3vw, 22px);
  --headerH: 96px;
  /* desktop/tablet — logo 55 + pad 20×2 = 95 → 96px */

  /* ===== 3-TIER SPACING SCALE ===== */
  --sp-tight:  clamp(8px,  1.2vw, 12px);  /* ภายในกลุ่ม: hero→promo, promo→grid, grid→games */
  --sp-normal: clamp(12px, 1.8vw, 18px);  /* ระหว่าง section: announce→hero */
  --sp-loose:  clamp(22px, 3.2vw, 34px);  /* ระหว่างกลุ่มใหญ่: games→articles, →footer */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Kanit", sans-serif;
  background: url('../images/bggold.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--gold);
  min-height: 100vh;
  padding-top: calc(var(--headerH) + env(safe-area-inset-top));
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  z-index: -2;
  pointer-events: none;
}

.wrap {
  max-width: 1100px;
  margin: auto;
  padding: var(--pad);
  position: relative;
}

/* ===== Sticky Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;

  margin-bottom: 0;

  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;

  padding: var(--pad);

  z-index: 60;
}

header::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--headerH) + env(safe-area-inset-top));
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: -1;
}

.logo {
  height: clamp(38px, 6vw, 55px);
  width: auto;
  flex-shrink: 0;
}

.header-btns {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
  min-width: 220px;
}

.btn {
  padding: clamp(9px, 2.2vw, 11px) clamp(12px, 3vw, 18px);
  border-radius: 0;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(12px, 2.8vw, 15px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.85;
}

.btn:active {
  opacity: 0.75;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  color: #000;
}

.btn-line-chat {
  background: linear-gradient(90deg, #21ff00, #21ff00);
  color: #000;
}

.hero {
  text-align: center;
  padding: var(--heroPad) var(--pad);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: var(--sp-tight);
}

.hero img {
  width: clamp(160px, 28vw, 260px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.hero h1 {
  font-size: clamp(20px, 4.8vw, 36px);
  margin-bottom: 12px;
  line-height: 1.25;
}

.hero p {
  color: var(--muted);
  margin: 0 auto clamp(18px, 3vw, 30px);
  font-size: clamp(13px, 3.2vw, 16px);
  max-width: 56ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: clamp(12px, 2vw, 18px);
  margin-top: var(--sp-tight);
}

.grid-card {
  background: radial-gradient(120% 140% at 50% 0%,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* padding: clamp(16px, 2.6vw, 22px); */
  text-align: center;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, opacity 0.15s;
  min-height: 118px;
  display: grid;
  place-items: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
  .grid-card:hover {
    border-color: rgba(245, 197, 66, 0.65);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
  }
}

.grid-card:active {
  transform: translateY(0);
  opacity: 0.92;
}

.grid-card>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.grid-ico {
  width: clamp(44px, 5vw, 62px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(245, 197, 66, 0.18));
  opacity: 0.95;
}

.grid-title {
  color: var(--gold);
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  :root {
    --headerH: 130px;
    /* mobile — pad 14 + logo 44 + gap 12 + btn 43 + pad 14 ≈ 127-129 → 130px */
    --sp-tight:  6px;
    --sp-normal: 10px;
    --sp-loose:  18px;
  }

  header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  header > a {
    display: flex;
    justify-content: center;
  }

  .logo {
    height: 44px;
    width: auto;
    margin: 0;
  }

  .header-btns {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .header-btns .btn,
  .header-btns a.btn {
    flex: 1;
    width: 100%;
    padding: 12px 12px;
    font-size: 14px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 0;
  }

  .grid-card {
    min-height: 108px;
    padding: 16px 14px;
  }

  .grid-ico {
    width: 44px;
  }

  .grid-title {
    font-size: 13px;
  }
}

footer {
  text-align: center;
  margin-top: clamp(24px, 4vw, 36px);
  color: #666;
  font-size: 13px;
}

/* Sticky CTA */
.sticky-cta {
  display: none;
}

@media (max-width: 599px) {
  .sticky-cta {
    display: flex;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(8px);
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    z-index: 50;
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.35);
  }

  .sticky-cta .btn {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 14px;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
}

/* ===== Articles ===== */
.articles {
  margin-top: var(--sp-loose);
}

.articles-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.articles-header::before,
.articles-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}

.articles-header::after {
  background: linear-gradient(90deg, var(--line), transparent);
}

.articles-title {
  font-size: clamp(16px, 4vw, 21px);
  white-space: nowrap;
  color: var(--gold);
}

.articles-title span {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85em;
}

.article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2vw, 18px);
}

@media (min-width: 700px) {
  .article-list {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;   /* การ์ดในแถวเดียวกันสูงเท่ากัน */
    justify-items: stretch;
  }

  .article-card:first-child {
    grid-column: 1 / -1;
  }
}

.article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 20px);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
  .article-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 24px rgba(245, 197, 66, 0.1);
    transform: translateY(-2px);
  }
}

.article-card:active {
  transform: translateY(0);
}

/* ===== Article Expand/Collapse ===== */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold2);
  letter-spacing: 0.3px;
}

.read-more .arrow {
  display: inline-block;
  transition: transform 0.2s;
  font-size: 10px;
}

.article-card.open .arrow {
  transform: rotate(180deg);
}

.article-full {
  display: none;
  margin-top: 14px;
  font-size: clamp(12px, 3vw, 13px);
  color: var(--muted);
  line-height: 1.85;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.article-full p {
  margin-bottom: 8px;
}

.article-full h4 {
  color: var(--gold2);
  font-size: 13px;
  margin: 14px 0 6px;
  letter-spacing: 0.5px;
}

.article-full ul {
  padding-left: 0;
  margin: 6px 0;
  list-style: none;
}

.article-full ul li {
  margin-bottom: 5px;
  padding-left: 16px;
  position: relative;
}

.article-full ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.article-card.open>p,
.article-card.open .read-more {
  display: none !important;
}

.article-full a {
  color: rgba(255, 223, 125, 0.92);
  text-decoration: none;
}

.article-full a:hover {
  text-decoration: underline;
}

/* ===== Backdrop + Login ===== */
.backdrop {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
  padding: 18px;
  background: radial-gradient(80% 60% at 50% 10%,
      rgba(255, 255, 255, 0.08),
      rgba(0, 0, 0, 0.85)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.95));
  backdrop-filter: blur(6px);
}

.backdrop-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: min(92vw, 420px);
  border-radius: 22px;
  padding: 28px 22px 20px;
  background: linear-gradient(180deg, rgba(40, 40, 40, 0.92), rgba(10, 10, 10, 0.92));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: auto;
  max-height: min(88vh, 640px);
  -webkit-overflow-scrolling: touch;
  animation: modalFade 0.22s ease;
}

@keyframes modalFade {
  from {
    transform: scale(0.96);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 40% at 50% 0%, rgba(245, 197, 66, 0.14), transparent 65%);
  pointer-events: none;
}

.login-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  border: 0;
  background: transparent;
  color: rgba(245, 197, 66, 0.9);
  font-size: 28px;
  cursor: pointer;
  padding: 12px 16px;
  line-height: 1;
  border-radius: 0;
  transition: all 0.2s;
}

.login-close:hover {
  color: #fff;
  background: rgba(245, 197, 66, 0.15);
  transform: scale(1.1);
}

.login-logo {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.login-logo-img {
  width: clamp(140px, 35vw, 180px);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(245, 197, 66, 0.5));
}

.field {
  position: relative;
  margin-bottom: 14px;
  z-index: 2;
}

.field input {
  width: 100%;
  height: 52px;
  border-radius: 0;
  border: 1px solid rgba(245, 197, 66, 0.18);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.55));
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  padding: 0 46px;
  outline: none;
  -webkit-appearance: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  font-family: "Kanit", sans-serif;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field input:focus {
  border-color: rgba(245, 197, 66, 0.55);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.12);
}

.ico-left {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  opacity: 0.85;
  z-index: 3;
  left: 16px;
}

/* ===== Pass Toggle (รวมเป็น block เดียว แก้ไข duplicate) ===== */
.pass-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  color: #c9a84c;
  /* สีทองให้เข้ากับธีม */
  opacity: 0.85;
  transition: opacity 0.2s, background 0.2s;
}

.pass-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
}

.pass-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  /* รับค่าสี #c9a84c จาก parent */
}

/* ===================================================== */

.login-action {
  margin-top: 12px;
  z-index: 2;
  position: relative;
}

.login-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
  color: #1a1406;
  background: linear-gradient(90deg, #8b6a2a, #f5c542, #8b6a2a);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.08s, opacity 0.2s;
  font-family: "Kanit", sans-serif;
}

.login-btn:hover {
  opacity: 0.92;
}

.login-btn:active {
  transform: translateY(1px);
}

.login-msg {
  margin-top: 10px;
  min-height: 18px;
  text-align: center;
  font-size: 13px;
  color: #ff6b6b;
  z-index: 2;
  position: relative;
}

.login-links {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  z-index: 2;
  position: relative;
}

.login-links a {
  color: rgba(255, 223, 125, 0.88);
  text-decoration: none;
}

.login-links a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .backdrop {
    padding: 16px;
  }

  .backdrop-inner {
    align-items: center;
    justify-content: center;
  }

  .login-card {
    width: min(92vw, 420px);
    border-radius: 22px;
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
    max-height: 88vh;
    animation: modalFade 0.22s ease;
  }

  .field input {
    height: 50px;
  }

  .login-btn {
    height: 52px;
  }
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-link:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 4px;
}

.hero a {
  display: inline-block;
}

/* ===== Floating Desktop Chat ===== */
.floating-desktop-chat {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  display: none;
}

@media (min-width: 768px) {
  .floating-desktop-chat {
    display: block;
  }
}

.floating-desktop-chat a {
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.floating-desktop-chat img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.floating-desktop-chat a:hover img {
  transform: scale(1.2);
  filter: brightness(1.15) drop-shadow(0 0 10px rgba(0, 195, 0, 0.7));
}

/* ===== Hero buttons side-by-side ===== */
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(16px, 3vw, 28px);
}

.hero-btns .btn {
  min-width: 150px;
}

.btn-topup {
  background: linear-gradient(90deg, #16a34a, #22c55e);
  color: #fff;
  font-weight: 700;
}

.btn-topup:hover {
  opacity: 0.88;
}

.btn-livescore {
  position: relative;
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 45%, #b91c1c 100%);
background-size: 200% 100%;
color: #fff;
font-weight: 800;
font-size: clamp(14px, 3vw, 17px);
letter-spacing: 1.5px;
display: inline-flex;
align-items: center;
gap: 10px;
border: none;
border-radius: 6px;
padding: 14px 32px;
box-shadow: 0 0 0 1px rgba(239, 68, 68, .4),
0 4px 20px rgba(185, 28, 28, .55),
0 0 40px rgba(239, 68, 68, .18);
cursor: pointer;
transition: background-position .4s ease,
box-shadow .3s ease,
transform .15s;
overflow: hidden;
animation: ls-btn-pulse 2.4s ease-in-out infinite;
}

@keyframes ls-btn-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(239, 68, 68, .4), 0 4px 20px rgba(185, 28, 28, .55), 0 0 40px rgba(239, 68, 68, .18);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(239, 68, 68, .6), 0 6px 28px rgba(185, 28, 28, .7), 0 0 60px rgba(239, 68, 68, .35);
  }
}

.btn-livescore::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .12) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: ls-btn-shine 2.8s ease-in-out infinite;
}

@keyframes ls-btn-shine {
  0% {
    transform: translateX(-100%);
  }

  30% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.btn-livescore:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(239, 68, 68, .6),
    0 8px 32px rgba(185, 28, 28, .7),
    0 0 60px rgba(239, 68, 68, .3);
}

.btn-livescore:active {
  transform: translateY(0);
}

.ls-btn-icon {
  font-size: 18px;
  animation: ls-spin 4s linear infinite;
  display: inline-block;
}

@keyframes ls-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.ls-btn-text {
  position: relative;
  z-index: 1;
}

.btn-livescore .live-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

@media (max-width: 599px) {
  .hero-btns .btn {
    flex: 1;
    min-width: 130px;
  }

  /* Mobile livescore — ตารางครบทุก column ไม่ scroll */
  .ls-table-wrapper {
    overflow-x: hidden !important;
  }

  .ls-table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed !important;
    display: table !important;
  }

  .ls-table thead {
    display: table-header-group !important;
  }

  .ls-table tbody {
    display: table-row-group !important;
  }

  .ls-table tr {
    display: table-row !important;
  }

  .ls-table td,
  .ls-table th {
    display: table-cell !important;
  }

  /* column widths บนมือถือ */
  .ls-table th:nth-child(1),
  .ls-table td:nth-child(1) {
    width: 13% !important;
  }

  .ls-table th:nth-child(2),
  .ls-table td:nth-child(2) {
    width: 20% !important;
    text-align: center !important;
  }

  .ls-table th:nth-child(3),
  .ls-table td:nth-child(3) {
    width: 18% !important;
    text-align: center !important;
  }

  .ls-table th:nth-child(4),
  .ls-table td:nth-child(4) {
    width: 22% !important;
    text-align: center !important;
  }

  .ls-table th:nth-child(5),
  .ls-table td:nth-child(5) {
    width: 13% !important;
    text-align: center !important;
  }

  .ls-table th:nth-child(6),
  .ls-table td:nth-child(6) {
    width: 14% !important;
    text-align: center !important;
  }

  .ls-table th:nth-child(7),
  .ls-table td:nth-child(7) {
    display: none !important;
  }

  .ls-table thead th,
  .ls-table td {
    padding: 6px 3px !important;
    font-size: 10.5px !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    line-height: 1.35 !important;
    vertical-align: middle !important;
  }

  .ls-flag-img {
    height: 10px !important;
    margin: 0 1px !important;
  }

  .ls-team-img {
    display: none !important;
  }

  .ls-arrow-img {
    height: 6px !important;
  }

  .ls-live-badge {
    font-size: 9px !important;
  }

  .ls-score-cell {
    font-size: 11px !important;
    font-weight: 800 !important;
  }

  .ls-league-header {
    font-size: 11px !important;
    padding: 7px 8px !important;
  }

  .ls-odd-item {
    font-size: 10px !important;
    gap: 1px !important;
  }

  .th-short {
    display: inline !important;
  }

  .th-full {
    display: none !important;
  }
}

/* Header short/full labels */
.th-short {
  display: none;
}

.th-full {
  display: inline;
}

.livescore-wrap {
  padding: var(--sp-normal) 0;
}

/* Collapsible day header */
.ls-collapsible {
  width: 100%;
  background: linear-gradient(90deg, rgba(245, 197, 66, .12), rgba(245, 197, 66, .04));
  border: 1px solid rgba(245, 197, 66, .22);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: "Kanit", sans-serif;
  font-size: clamp(14px, 3.2vw, 17px);
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  transition: background 0.2s;
}

.ls-collapsible:hover {
  background: rgba(245, 197, 66, .18);
}

.ls-collapsible::after {
  content: "▾";
  font-size: 16px;
  transition: transform 0.25s;
}

.ls-collapsible.collapsed::after {
  transform: rotate(-90deg);
}

.ls-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.ls-content.collapsed {
  max-height: 0 !important;
}

/* League block */
.ls-league-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .28);
}

.ls-league-header {
  background: linear-gradient(90deg, #1a1a1a, #111);
  border-bottom: 1px solid rgba(245, 197, 66, .18);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 700;
  font-size: clamp(13px, 2.8vw, 15px);
}

.ls-league-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Table wrapper */
.ls-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 197, 66, .3) transparent;
}

.ls-table-wrapper::-webkit-scrollbar {
  height: 5px;
}

.ls-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.ls-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(245, 197, 66, .3);
  border-radius: 20px;
}

.ls-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  table-layout: fixed;
  font-size: clamp(11px, 2.4vw, 13px);
}

.ls-table thead th {
  background: rgba(245, 197, 66, .07);
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .5px;
}

.ls-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  transition: background 0.15s;
}

.ls-table tbody tr:hover {
  background: rgba(245, 197, 66, .05);
}

.ls-table td {
  padding: 9px 10px;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* Column widths */
.ls-table th:nth-child(1),
.ls-table td:nth-child(1) {
  width: 13%;
}

.ls-table th:nth-child(2),
.ls-table td:nth-child(2) {
  width: 20%;
  text-align: center;
}

.ls-table th:nth-child(3),
.ls-table td:nth-child(3) {
  width: 10%;
  text-align: center;
}

.ls-table th:nth-child(4),
.ls-table td:nth-child(4) {
  width: 20%;
  text-align: center;
}

.ls-table th:nth-child(5),
.ls-table td:nth-child(5) {
  width: 8%;
  text-align: center;
}

.ls-table th:nth-child(6),
.ls-table td:nth-child(6) {
  width: 8%;
  text-align: center;
}

.ls-table th:nth-child(7),
.ls-table td:nth-child(7) {
  width: 21%;
}

/* Specific cells */
.ls-live-badge {
  color: #e74c3c;
  font-weight: 800;
  font-size: 11px;
  animation: blink 1s infinite;
}

.ls-score-cell {
  color: var(--gold);
  font-weight: 800;
  cursor: pointer;
  position: relative;
  font-size: 14px;
}

.ls-score-cell:hover {
  text-decoration: underline;
}

.ls-flag-img {
  height: 14px;
  vertical-align: middle;
  margin: 0 3px;
}

.ls-team-img {
  height: 15px;
  vertical-align: middle;
  margin: 0 3px;
}

.ls-arrow-img {
  height: 7px;
  vertical-align: middle;
  margin: 0 2px;
}

.ls-vs {
  color: orange;
  font-weight: 700;
}

.ls-odds-cell {
  text-align: center;
}

.ls-odd-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1.4;
}

/* Score popup */
.ls-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

.ls-popup {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9001;
  background: linear-gradient(180deg, #1c1c1c, #111);
  border: 1px solid rgba(245, 197, 66, .35);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .7);
  width: min(95vw, 460px);
  max-height: 80vh;
  overflow-y: auto;
  pointer-events: auto;
  animation: modalFade .2s ease;
}

.ls-popup-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  position: sticky;
  top: 0;
  background: #1c1c1c;
  z-index: 2;
}

.ls-popup-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 8px;
  transition: color .2s;
}

.ls-popup-close:hover {
  color: var(--gold);
}

.ls-popup-body {
  padding: 12px 14px;
}

.ls-popup table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
}

.ls-popup th {
  background: rgba(245, 197, 66, .08);
  color: var(--muted);
  padding: 6px 8px;
  border: 1px solid var(--line);
  font-size: 11px;
}

.ls-popup td {
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, .06);
  text-align: center;
  word-break: break-word;
}

.ls-popup td:nth-child(2),
.ls-popup td:nth-child(4) {
  text-align: left;
}

.ls-popup img {
  height: 14px;
  vertical-align: middle;
}

.ls-empty {
  text-align: center;
  padding: 30px 14px;
  color: var(--muted);
  font-size: 13px;
}



/* ===== Scroll to Top Button ===== */
#scrollTop {
  position: fixed;
  right: clamp(14px, 4vw, 24px);
  bottom: calc(clamp(14px, 4vw, 24px) + env(safe-area-inset-bottom));
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245, 197, 66, .4);
  background: rgba(15, 15, 15, .88);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}

#scrollTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollTop:hover {
  background: rgba(245, 197, 66, .15);
  border-color: var(--gold);
}

/* บนมือถือที่มี sticky-cta ให้เลื่อนขึ้นอีกนิด */
@media (max-width: 599px) {
  #scrollTop {
    bottom: calc(74px + env(safe-area-inset-bottom) + 10px);
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* ===================================================
   Hot Games Panel — Transparent Floating Cards
   =================================================== */

/* Panel: transparent, no box */
.hot-games-panel {
  margin: var(--sp-tight) 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}


/* Grid: 4 cols, no container bg */
.hot-games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 0;
}

/* Card — dark rounded tile */
.game-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.34, 1.4, .64, 1),
    border-color .22s,
    box-shadow .22s;
  font-family: "Kanit", sans-serif;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: 0 0 0 0 rgba(245, 197, 66, 0);
  transition: box-shadow .25s;
  pointer-events: none;
  z-index: 2;
}

.game-card:hover::before {
  box-shadow: 0 0 0 2px rgba(245, 197, 66, .55);
}

.game-card:hover {
  border-color: rgba(245, 197, 66, .45);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .6), 0 4px 12px rgba(245, 197, 66, .1);
}

.game-card:active {
  transform: translateY(-2px) scale(.98);
}

/* Thumbnail */
.game-card__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d0d0d;
  position: relative;
}

.game-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: none;
}

/* Hover overlay + play button */
.game-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background .25s ease;
  pointer-events: none;
  z-index: 1;
}

.game-card:hover .game-card__thumb::after {
  background: rgba(0, 0, 0, .52);
}

.game-card__thumb .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}

.game-card:hover .game-card__thumb .play-btn {
  opacity: 1;
  transform: translateY(0);
}

.play-btn span {
  background: linear-gradient(135deg, #f5c542 0%, #d4940a 100%);
  color: #1a0f00;
  font-family: "Kanit", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: .04em;
  box-shadow: 0 4px 18px rgba(245, 197, 66, .45);
  white-space: nowrap;
  pointer-events: none;
}

/* Game name */
.game-card span {
  display: none;
  padding: 10px 8px 11px;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: #d4a73a;
  background: #141414;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .02em;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

/* Active state กำลังฮิต */
.grid-card--hot.active {
  border-color: var(--gold) !important;
  background: rgba(245, 197, 66, .06) !important;
  box-shadow: 0 0 0 2px rgba(245, 197, 66, .25),
    0 6px 20px rgba(245, 197, 66, .2) !important;
}

/* Responsive */
@media (max-width: 900px) {
  .hot-games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ===== Esport Panel — landscape images =====  */
#esport-games-panel .game-card__thumb {
  aspect-ratio: 2 / 1;
  background: #0d0d0d;
}

#esport-games-panel .game-card__thumb img {
  object-fit: contain;
  object-position: center center;
  background: #0d0d0d;
}

/* ===== Lotto Panel — landscape images ===== */
#lotto-games-panel .game-card__thumb {
  aspect-ratio: 2 / 1;
  background: #0d0d0d;
}

#lotto-games-panel .game-card__thumb img {
  object-fit: contain;
  object-position: center center;
}

/* ===================================================
   Promo Slider — auto scroll right → left
   =================================================== */
.promo-slider {
  width: 100%;
  overflow: hidden;
  margin: var(--sp-tight) 0 0;
  border-radius: 0;
  position: relative;
}

/* Fade edges — ซ้าย+ขวา fade เบาๆ */
.promo-slider::before,
.promo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.promo-slider::before {
  left: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.75), transparent);
}

.promo-slider::after {
  right: 0;
  background: linear-gradient(to left, rgba(10,10,10,0.75), transparent);
}

/*
  ใช้ gap: 0 + width fixed บน .promo-item
  เพื่อให้ -50% loop seamless สมบูรณ์
  16 items × 144px = 2304px → -50% = -1152px (ตรงกลางพอดี)
*/
.promo-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: promo-scroll 30s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.promo-slider:hover .promo-track {
  animation-play-state: paused;
}

.promo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  cursor: pointer;
  flex-shrink: 0;
  width: 110px;   /* ลดจาก 144px */
  height: 52px;   /* ลดจาก 72px */
  padding: 4px 6px;
  box-sizing: border-box;
}

.promo-track img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes promo-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 600px) {
  .promo-item {
    width: 110px;
    height: 52px;
    padding: 3px 4px;
  }
}

.promo-btn {
  background: transparent;
  border: 0;
  padding: 0;
}

.promo-btn:focus-visible {
  outline: 2px solid rgba(255, 215, 0, 0.7);
  outline-offset: 3px;
}

/* ===================================================
   SITE FOOTER
   =================================================== */
.site-footer {
  background: transparent;
  border-top: none;
  margin-top: var(--sp-loose);
  padding: clamp(36px, 5vw, 48px) clamp(16px, 2vw, 32px) 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Section spacing */
.footer-section {
  max-width: 100%;
  margin: 0 auto 36px;
}

/* Gold heading - matches rूप image style */
.footer-heading {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 6px auto 0;
  border-radius: 2px;
}

/* About text */
.footer-desc {
  font-size: clamp(.8rem, 1.6vw, .95rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, .72);
  text-align: center;
}

.footer-desc strong {
  color: var(--gold);
  font-weight: 700;
}

/* Payment section sub-text */
.footer-payment-sub {
  font-size: clamp(.8rem, 1.5vw, .9rem);
  color: rgba(255, 255, 255, .6);
  margin-bottom: 22px;
  line-height: 1.7;
}

/* Banks image */
.footer-banks {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-banks-img {
  max-width: 60%;
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5));
  transition: filter .3s;
}

.footer-banks-img:hover {
  filter: drop-shadow(0 4px 18px rgba(245, 197, 66, .25));
}

/* Copyright bar */
.footer-copy {
  font-size: .78rem;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .06em;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  margin-top: 8px;
}

@media (max-width: 600px) {
  .site-footer {
    padding: 28px 16px 20px;
  }

  .footer-heading {
    font-size: 1rem;
  }
}

/* ===================================================
   FAQ SECTION
   =================================================== */
.faq-section {
  padding: var(--sp-loose) 0 var(--sp-normal);
}

.faq-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: .03em;
}

.faq-title span {
  color: var(--gold2);
}

/* 2-col grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  align-items: start;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Card */
.faq-item {
  background: #1e1e1e;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open,
.faq-item:hover {
  border-color: rgba(245, 197, 66, .35);
}

/* Question button */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 14px 18px;
  color: rgba(255, 255, 255, .88);
  font-family: "Kanit", sans-serif;
  font-size: clamp(.82rem, 1.5vw, .95rem);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}

.faq-q:hover,
.faq-item.open .faq-q {
  color: var(--gold);
}

/* Chevron icon */
.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  opacity: .7;
  transition: transform .25s, opacity .2s;
}

.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: right center;
}

.faq-chevron::before {
  transform: translate(-60%, -50%) rotate(-40deg);
}

.faq-chevron::after {
  transform: translate(-40%, -50%) rotate(40deg);
}

/* Rotate chevron when open */
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Answer */
.faq-a {
  padding: 0 18px 14px 48px;
  font-size: clamp(.8rem, 1.4vw, .88rem);
  color: rgba(255, 255, 255, .6);
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 680px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Featured Article Card ===== */
.article-card--featured {
  background: linear-gradient(135deg, #1a1500 0%, #151515 60%);
  border: 1px solid rgba(245, 197, 66, 0.25);
  position: relative;
  overflow: hidden;
}

.article-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.article-card--featured h3 {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
}

.article-card--featured .article-tag {
  background: var(--gold);
  color: #000;
}

/* ===== Article Meta / Icon / Tag ===== */
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.article-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 197, 66, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.article-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid rgba(245, 197, 66, 0.25);
  border-radius: 20px;
  padding: 2px 10px;
  text-transform: uppercase;
}

.article-card h3 {
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 700;
  color: var(--gold2);
  line-height: 1.45;
  margin-bottom: 8px;
}

.article-card>p {
  font-size: clamp(11px, 1.3vw, 13px);
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  flex: 1; /* ดัน read-more ลงล่างสุดเสมอ */
}

/* ===== Articles Header Divider ===== */
.articles-divider {
  color: var(--line);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  user-select: none;
}

/* ===== Article Tabs ===== */
.articles-tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Kanit", sans-serif;
  font-size: clamp(16px, 4vw, 21px);
  font-weight: 700;
  color: rgba(245, 197, 66, 0.35);
  padding: 4px 0;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}

.articles-tab span {
  color: inherit;
  font-weight: 400;
  font-size: 0.85em;
}

.articles-tab::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 3px;
  transition: width 0.25s;
}

.articles-tab.active {
  color: var(--gold);
}

.articles-tab.active::after {
  width: 100%;
}

.articles-tab:hover {
  color: var(--gold2);
}

/* ===== Livescore Skeleton Loader ===== */
.ls-skeleton {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ls-skeleton-row {
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: ls-shimmer 1.2s infinite;
}

.ls-skeleton-row:nth-child(2) {
  animation-delay: .15s;
}

.ls-skeleton-row:nth-child(3) {
  animation-delay: .3s;
}

@keyframes ls-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ===== Announcement Ticker ===== */
.announce-bar {
  display: flex;
  align-items: center;
  background: #0e0c00;
  border-top: 1px solid rgba(212, 167, 58, .25);
  border-bottom: 1px solid rgba(212, 167, 58, .25);
  height: 36px;
  overflow: hidden;
  position: relative;
  margin-bottom: var(--sp-tight);
}

/* fade mask ซ้าย-ขวา */
.announce-bar::before,
.announce-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.announce-bar::before {
  left: 0;
  background: linear-gradient(to right, #0e0c00 30%, transparent);
}

.announce-bar::after {
  right: 0;
  background: linear-gradient(to left, #0e0c00 30%, transparent);
}

.announce-label {
  flex-shrink: 0;
  background: linear-gradient(135deg, #c9922a, #f0cb6a, #c9922a);
  color: #0b0800;
  font-family: 'Kanit', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  z-index: 3;
}

.announce-divider {
  flex-shrink: 0;
  width: 1px;
  height: 18px;
  background: rgba(212, 167, 58, .35);
  z-index: 3;
}

.announce-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.announce-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 50s linear infinite;
}

.announce-bar:hover .announce-track {
  animation-play-state: paused;
}

.announce-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Kanit', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  color: #c8b068;
  padding: 0 8px;
  letter-spacing: .02em;
}

.announce-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d4a73a;
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}

.announce-sep {
  color: rgba(212, 167, 58, .3);
  font-size: .6rem;
  padding: 0 4px;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes dot-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .4;
    transform: scale(.7);
  }
}

@media (max-width: 560px) {
  .announce-label {
    font-size: .65rem;
    padding: 0 10px;
  }

  .announce-item {
    font-size: .72rem;
  }

  .announce-track {
    animation-duration: 35s;
  }
}