:root{--blue:#0b3c88;--blue-2:#134fa8;--blue-3:#1f67d2;--panel:#ffffff;--text:#163154;--muted:#5d7598;--line:#d7e4f7;--shadow:0 18px 40px rgba(10,57,125,.08);--radius-xl:28px;--radius-lg:20px;--max:1180px}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:'Noto Sans Thai',sans-serif;color:var(--text);background:radial-gradient(circle at top left,rgba(31,103,210,.10),transparent 18%),linear-gradient(180deg,#f7fbff 0%,#eef5ff 44%,#f8fbff 100%);line-height:1.8;overflow-x:hidden}a{text-decoration:none;color:inherit}.container{width:min(100% - 32px,var(--max));margin:0 auto}.navbar{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav-wrap{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px}.logo{display:inline-flex;align-items:center;gap:12px;font-weight:800;font-size:1.02rem;color:var(--blue)}.logo-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#fff;font-weight:900;background:linear-gradient(135deg,var(--blue),var(--blue-3));box-shadow:0 12px 24px rgba(19,79,168,.18)}.nav-links{display:flex;gap:22px;color:var(--muted);font-weight:700;font-size:.95rem}.nav-links a:hover{color:var(--blue)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 20px;border-radius:999px;font-weight:800;border:none;cursor:pointer;transition:.25s ease}.btn-primary{color:#fff;background:linear-gradient(135deg,var(--blue),var(--blue-3));box-shadow:0 14px 28px rgba(19,79,168,.22)}.btn-secondary{color:var(--blue);background:#fff;border:1px solid var(--line)}.btn-primary:hover,.btn-secondary:hover{transform:translateY(-2px)}.hero{padding:72px 0 24px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--blue);font-size:.9rem;font-weight:800;margin-bottom:16px}.hero h1{font-size:clamp(2.45rem,4.9vw,4.55rem);line-height:1.03;letter-spacing:-.05em;margin-bottom:16px;color:var(--blue)}.hero h1 span{color:var(--blue-3)}.hero p{font-size:1.04rem;color:var(--muted);max-width:660px;margin-bottom:24px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}.hero-points{display:flex;flex-wrap:wrap;gap:16px;color:var(--muted);font-size:.94rem;font-weight:700}.hero-card,.quick-links,.article-shell,.article-card,.toc,.faq-item,.cta-box,.info-card,.stats-card,.trust-bar,.related-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow)}.hero-card{padding:22px}.screen{border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f5f9ff 100%);border:1px solid var(--line);padding:20px}.screen-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dots{display:flex;gap:8px}.dots span{width:10px;height:10px;border-radius:50%;background:#c6daf7}.screen-banner{min-height:180px;border-radius:18px;padding:22px;background:linear-gradient(135deg,#0b3c88 0%,#1f67d2 100%);color:#fff;display:flex;flex-direction:column;justify-content:space-between}.screen-banner h3{font-size:1.45rem;line-height:1.2;letter-spacing:-.03em;max-width:340px}.badge-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.badge{padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.16);font-size:.82rem;font-weight:700}.quick-links{padding:20px;margin-top:22px}.quick-links h2{font-size:1.2rem;color:var(--blue);margin-bottom:12px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.info-card{padding:16px;background:linear-gradient(180deg,#fff,#f7fbff)}.info-card strong{display:block;color:var(--blue);font-size:1rem;margin-bottom:6px}.info-card p{color:var(--muted);font-size:.92rem}.quick-link-btn{display:inline-flex;justify-content:center;align-items:center;width:100%;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#f8fbff,#edf5ff);border:1px solid var(--line);font-weight:800;color:var(--blue)}.quick-link-btn:hover{background:#fff}.trust-bar{padding:18px 20px;margin-top:16px;background:linear-gradient(180deg,#ffffff,#f6fbff)}.trust-bar strong{display:block;color:var(--blue);margin-bottom:8px}.trust-bar p{color:var(--muted)}section{padding:42px 0}.section-head{text-align:center;max-width:820px;margin:0 auto 26px}.section-head h2{font-size:clamp(2rem,4vw,3rem);line-height:1.08;letter-spacing:-.05em;margin-bottom:10px;color:var(--blue)}.section-head p{color:var(--muted);font-size:1.02rem}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:16px}.stats-card{padding:18px;text-align:center}.stats-card strong{display:block;font-size:1.35rem;color:var(--blue);margin-bottom:4px}.stats-card span{color:var(--muted);font-size:.92rem}.article-shell{padding:28px;border-radius:var(--radius-xl)}.article-layout{display:grid;grid-template-columns:1.62fr .58fr;gap:24px;align-items:start}.article-card{padding:28px}.article-cover{height:286px;border-radius:18px;margin-bottom:22px;background:linear-gradient(to right,rgba(11,60,136,.85),rgba(31,103,210,.75)),var(--blue) center/cover no-repeat;color:#fff;padding:0;display:flex;align-items:stretch;border:1px solid var(--line);box-shadow:0 15px 40px rgba(10,57,125,.15);overflow:hidden}.article-cover img{width:100%;height:100%;object-fit:cover;display:block}.article-cover span{display:inline-flex;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.18);font-weight:700;font-size:.9rem}.meta-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px;color:var(--muted);font-size:.92rem;font-weight:700}.article-card>h2{font-size:clamp(1.9rem,3vw,2.7rem);line-height:1.14;letter-spacing:-.04em;margin-bottom:14px;color:var(--blue)}.lead{color:var(--muted);font-size:1.03rem;margin-bottom:18px}.article-top-cta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.article-toggle-wrap{margin-bottom:16px}.article-toggle{background:linear-gradient(135deg,var(--blue),var(--blue-3));color:#fff;border:none;padding:12px 18px;border-radius:999px;font-weight:800;cursor:pointer}.article-content.collapsed{display:none}.article-body{display:grid;gap:16px;color:var(--text)}.article-body h2{color:var(--blue);font-size:1.42rem;line-height:1.25;margin-top:16px}.article-body h3{color:var(--blue-2);font-size:1.06rem;margin-top:8px}.article-body p{color:var(--text)}.article-body ul,.article-body ol{padding-left:22px}.article-body li{margin-bottom:8px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.related-card{padding:18px;background:linear-gradient(180deg,#fff,#f7fbff)}.related-card strong{display:block;color:var(--blue);font-size:1rem;margin-bottom:6px}.related-card p{color:var(--muted);font-size:.92rem}.related-card a{color:var(--blue-3);font-weight:800}.toc{padding:18px}.side-title{font-size:1rem;color:var(--blue);margin-bottom:12px;font-weight:800}.toc nav ul{list-style:none;padding:0;margin:0}.toc nav li{margin-bottom:6px}.toc nav li.level-h1 a{font-weight:800;color:var(--blue);font-size:.95rem}.toc nav li.level-h2 a{padding-left:10px;font-size:.9rem;color:var(--muted)}.toc a{display:block;padding:7px 0;border-bottom:1px solid #edf3fb;transition:.2s}.toc a:hover{color:var(--blue-3)}.side-box{margin-top:14px;padding:16px;border-radius:16px;background:#f7fbff;border:1px solid var(--line)}.side-box strong{display:block;color:var(--blue);margin-bottom:8px}.side-box p{color:var(--muted);font-size:.92rem}.side-box a{color:var(--blue-3);font-weight:800}.faq{display:grid;gap:14px;max-width:950px;margin:0 auto}details.faq-item{padding:0;overflow:hidden}details.faq-item summary{list-style:none;cursor:pointer;padding:20px 22px;color:var(--blue);font-size:1.02rem;font-weight:800}details.faq-item summary::-webkit-details-marker{display:none}details.faq-item summary:after{content:'+';float:right;font-size:1.2rem;line-height:1;color:var(--blue)}details.faq-item[open] summary:after{content:'−'}.faq-answer{padding:0 22px 20px;color:var(--muted);border-top:1px solid var(--line)}.cta-box{padding:36px;text-align:center;border-radius:var(--radius-xl);background:linear-gradient(135deg,#ffffff 0%,#edf5ff 100%)}.cta-box h2{font-size:clamp(2.1rem,4vw,3.2rem);line-height:1.08;letter-spacing:-.05em;margin-bottom:10px;color:var(--blue)}.cta-box p{color:var(--muted);max-width:760px;margin:0 auto 22px}footer{padding:30px 0 52px;color:var(--muted);font-size:.95rem}.footer-wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:18px;padding-top:22px;border-top:1px solid var(--line)}@media (max-width:1024px){.hero-grid,.article-layout,.quick-grid,.article-top-cta,.stats-row,.related-grid{grid-template-columns:1fr}}@media (max-width:720px){.nav-links{display:none}.hero{padding-top:42px}.hero-actions{flex-direction:column;align-items:stretch}.btn{width:100%}.article-shell,.article-card,.hero-card,.cta-box,.quick-links{padding:22px}.article-cover{height:190px;background-position:center}}

.wc-hub-preview{padding:42px 0}
.wc-hub-box{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--shadow);overflow:hidden}
.wc-hub-top{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:center;padding:26px;background:linear-gradient(135deg,#0b3c88 0%,#1f67d2 100%);color:#fff;position:relative;overflow:hidden}
.wc-hub-top:after{content:"⚽";position:absolute;right:24px;bottom:-18px;font-size:6rem;opacity:.12;line-height:1}
.wc-hub-top h2{color:#fff;font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.12;letter-spacing:-.04em;margin-bottom:8px}
.wc-hub-top p{color:rgba(255,255,255,.82);max-width:760px}
.wc-hub-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;position:relative;z-index:2}
.wc-hub-countdown{margin-top:14px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);max-width:360px}
.wc-hub-countdown-kicker{display:block;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.88;margin-bottom:8px}
.wc-hub-countdown-clock{display:flex;gap:10px;flex-wrap:wrap}
.wc-hub-countdown-clock span{display:flex;flex-direction:column;align-items:center;min-width:52px}
.wc-hub-countdown-clock strong{font-size:1.35rem;line-height:1;font-weight:800;color:#fff}
.wc-hub-countdown-clock small{font-size:.72rem;opacity:.82;margin-top:4px}
.wc-hub-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fff}
.wc-hub-card{padding:18px;border-right:1px solid var(--line)}
.wc-hub-card:last-child{border-right:none}
.wc-hub-card strong{display:block;color:var(--blue);font-size:1rem;margin-bottom:6px}
.wc-hub-card p{color:var(--muted);font-size:.92rem}
.wc-hub-card span{display:inline-flex;margin-top:10px;padding:5px 9px;border-radius:999px;background:#eef5ff;border:1px solid var(--line);color:var(--blue);font-weight:800;font-size:.76rem}
@media(max-width:1024px){.wc-hub-top,.wc-hub-grid{grid-template-columns:1fr}.wc-hub-actions{justify-content:flex-start}.wc-hub-card{border-right:none;border-bottom:1px solid var(--line)}.wc-hub-card:last-child{border-bottom:none}}


.article-image{margin:16px 0;text-align:center}
.article-image img{width:100%;max-width:720px;height:auto;border-radius:16px;box-shadow:0 12px 28px rgba(0,0,0,.15);display:block;margin:0 auto}
.article-image-main img{
  max-width:740px;
  border-radius:18px;
  box-shadow:0 14px 34px rgba(8,42,96,.18);
}
.article-image-pgcat img{
  width:100%;
  max-width:620px;
  border-radius:16px;
  box-shadow:0 12px 28px rgba(8,42,96,.14);
  image-rendering:auto;
  filter:contrast(1.04) saturate(1.03);
}
.article-image-gif{
  margin-top:4px;
  margin-bottom:10px;
  display:flex;
  justify-content:center;
  overflow:hidden;
}
.article-image-gif-over-pgcat{
  margin-top:8px;
  margin-bottom:-6px;
  position:relative;
  z-index:2;
}
.article-image-gif a{
  display:inline-flex;
  line-height:0;
  position:relative;
  padding:0;
  border-radius:0;
  background:transparent;
  border:none;
  box-shadow:none;
  transition:transform .24s ease;
  overflow:hidden;
  isolation:auto;
  width:fit-content;
  max-width:fit-content;
}
.article-image-gif a::after{
  content:"";
  position:absolute;
  top:22%;
  height:56%;
  width:4.2%;
  left:-5%;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(155,224,255,0) 0%,rgba(132,212,255,.95) 40%,rgba(78,175,255,.98) 58%,rgba(145,221,255,.86) 78%,rgba(155,224,255,0) 100%);
  clip-path:polygon(44% 0,58% 0,50% 24%,68% 24%,40% 60%,55% 60%,34% 100%,44% 70%,30% 70%);
  mix-blend-mode:normal;
  opacity:.96;
  transform:skewX(-8deg) scale(.92);
  filter:drop-shadow(0 0 7px rgba(95,188,255,.72));
  animation:blueBoltPass 2.5s ease-in-out infinite;
}
.article-image-gif a:hover{
  transform:translateY(-1px) scale(1.005);
}
.article-image-gif img{
  max-width:250px;
  border-radius:0;
  background:transparent !important;
  box-shadow:none !important;
  mix-blend-mode:normal !important;
  filter:none !important;
  animation:gifPulse 2.8s ease-in-out infinite, gifFloat 4.6s ease-in-out infinite;
}
@keyframes gifPulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.015)}
}
@keyframes gifFloat{
  0%,100%{translate:0 0}
  50%{translate:0 -5px}
}
@keyframes blueBoltPass{
  0%,32%{left:-5%;opacity:0}
  42%{opacity:.96;transform:skewX(-8deg) scale(.95)}
  60%{left:91%;opacity:.14;transform:skewX(-8deg) scale(.86)}
  100%{left:91%;opacity:0}
}
@keyframes gifShine{
  0%,35%{transform:translateX(-120%)}
  60%,100%{transform:translateX(120%)}
}

.promo-gif-grid{
display:flex;
flex-direction:column;
gap:22px;
max-width:980px;
margin:0 auto;
padding:0;
align-items:center;
}

.promo-gif-grid a{
width:100%;
display:block;
border-radius:24px;
overflow:hidden;
transition:.35s ease;
box-shadow:
0 0 40px rgba(37,99,235,.10);
}

.promo-gif-grid img{
width:100%;
display:block;
border-radius:24px;
object-fit:cover;
}

.promo-gif-grid a:hover{
transform:translateY(-4px) scale(1.01);
box-shadow:
0 0 70px rgba(37,99,235,.22);
}
@media(max-width:720px){
  .promo-gif-grid{
    gap:18px;
    max-width:100%;
    margin:12px auto 18px;
    padding:0 12px;
  }
  .promo-gif-grid a{
    border-radius:20px;
  }
  .promo-gif-grid img{
    border-radius:20px;
  }
}


/* FINAL STICKY CTA - bottom, clean diner-style pills */
.bottom-action-bar{
  position:fixed !important;
  left:50% !important;
  bottom:22px !important;
  transform:translateX(-50%) !important;
  z-index:2147483647 !important;
  display:flex !important;
  gap:12px !important;
  align-items:center !important;
  justify-content:center !important;
  padding:8px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.88) !important;
  border:1px solid rgba(215,228,247,.95) !important;
  box-shadow:0 18px 45px rgba(10,57,125,.22) !important;
  backdrop-filter:blur(16px) !important;
  -webkit-backdrop-filter:blur(16px) !important;
  animation:bottomCtaIn .38s ease both !important;
}
@keyframes bottomCtaIn{
  from{opacity:0;transform:translate(-50%,18px)}
  to{opacity:1;transform:translate(-50%,0)}
}
.bottom-action-bar a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:145px !important;
  min-height:50px !important;
  padding:13px 22px !important;
  border-radius:999px !important;
  font-family:'Noto Sans Thai',sans-serif !important;
  font-size:1rem !important;
  font-weight:900 !important;
  line-height:1 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}
.bottom-action-bar a:hover{
  transform:translateY(-2px) !important;
  filter:brightness(1.03) !important;
}
.bottom-login{
  background:#ffffff !important;
  color:#0b3c88 !important;
  border:1px solid #d7e4f7 !important;
  box-shadow:0 10px 24px rgba(10,57,125,.10) !important;
}
.bottom-register{
  background:linear-gradient(135deg,#0b3c88,#1f67d2) !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.22) !important;
  box-shadow:0 12px 28px rgba(31,103,210,.30) !important;
  position:relative !important;
  overflow:hidden !important;
}
.bottom-register:after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.28),transparent) !important;
  transform:translateX(-130%) !important;
  animation:registerShine 2.8s ease-in-out infinite !important;
}
@keyframes registerShine{
  0%{transform:translateX(-130%)}
  45%,100%{transform:translateX(130%)}
}

/* Diner-like minimal article menu / table of contents */
.toc{
  position:sticky;
  top:96px;
  padding:0 !important;
  overflow:hidden;
  border-radius:24px !important;
  background:#ffffff !important;
  box-shadow:0 18px 40px rgba(10,57,125,.08) !important;
}
.toc .side-title{
  margin:0 !important;
  padding:18px 20px !important;
  background:linear-gradient(135deg,#0b3c88,#1f67d2) !important;
  color:#ffffff !important;
  font-size:1.05rem !important;
  letter-spacing:-.01em !important;
}
.toc nav{
  padding:12px 18px 18px !important;
}
.toc nav ul{
  display:grid !important;
  gap:4px !important;
}
.toc nav li{
  margin:0 !important;
}
.toc nav li.level-h1 a,
.toc nav li.level-h2 a{
  padding:10px 0 !important;
  padding-left:0 !important;
  border-bottom:1px solid #edf3fb !important;
  color:#163154 !important;
  font-size:.93rem !important;
  font-weight:800 !important;
  line-height:1.45 !important;
}
.toc nav li a:hover{
  color:#1f67d2 !important;
  padding-left:6px !important;
}

@media(max-width:720px){
  .article-image{margin:12px 0;}
  .article-image-main img{
    max-width:100%;
    border-radius:14px;
  }
  .article-image-gif img{
    max-width:46%;
  }
  .article-image-pgcat img{
    max-width:100%;
  }
  .article-image-gif{
    margin-top:2px;
    margin-bottom:6px;
  }
  .article-image-gif-over-pgcat{
    margin-top:6px;
    margin-bottom:-2px;
  }
  .article-image-gif a{
    padding:0;
    border-radius:0;
  }
  body{padding-bottom:86px !important}
  .bottom-action-bar{
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    transform:none !important;
    width:100% !important;
    border-radius:18px 18px 0 0 !important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    gap:10px !important;
  }
  .bottom-action-bar a{
    flex:1 1 0 !important;
    min-width:0 !important;
    min-height:50px !important;
    font-size:.96rem !important;
  }
  .toc{
    position:relative !important;
    top:auto !important;
  }
}


/* Mobile TOC order fix: show TOC before article content */
@media(max-width:1024px){
  .article-layout{
    display:flex !important;
    flex-direction:column !important;
  }
  .article-layout aside{
    order:-1 !important;
    width:100% !important;
  }
  .article-layout article{
    order:1 !important;
    width:100% !important;
  }
  .toc{
    margin-bottom:18px !important;
  }
}
.logo-img{
height:38px;
width:auto;
display:block;
}


/* TOC MOVED ABOVE ARTICLE - non sticky, full width content */
.article-layout{
grid-template-columns:1fr !important;
}
.article-layout article{
width:100% !important;
}
.toc-top{
position:relative !important;
top:auto !important;
margin-bottom:22px !important;
width:100% !important;
}
.toc-top nav ul{
display:grid !important;
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
gap:4px 22px !important;
}
.toc-top nav li.level-h1 a,
.toc-top nav li.level-h2 a{
padding:9px 0 !important;
}
@media(max-width:720px){
.toc-top nav ul{
grid-template-columns:1fr !important;
}
}


/* PREMIUM CLEAN TOC */
.toc-top{
border-radius:24px !important;
border:1px solid rgba(215,228,247,.95) !important;
box-shadow:0 18px 42px rgba(10,57,125,.08) !important;
overflow:hidden !important;
background:linear-gradient(180deg,#ffffff,#f8fbff) !important;
}
.toc-top .side-title{
display:flex !important;
align-items:center !important;
gap:10px !important;
padding:18px 22px !important;
background:linear-gradient(135deg,#0b3c88,#1f67d2) !important;
color:#ffffff !important;
font-size:1.08rem !important;
font-weight:900 !important;
}
.toc-top .side-title:before{
content:"☰";
width:28px;
height:28px;
display:inline-grid;
place-items:center;
border-radius:10px;
background:rgba(255,255,255,.16);
border:1px solid rgba(255,255,255,.18);
font-size:.88rem;
}
.toc-top nav{
padding:16px 22px 20px !important;
}
.toc-top nav ul{
display:grid !important;
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
gap:10px 18px !important;
}
.toc-top nav li{
margin:0 !important;
}
.toc-top nav li a{
display:flex !important;
align-items:center !important;
min-height:46px !important;
padding:10px 14px !important;
border:1px solid #e1ecfb !important;
border-radius:14px !important;
background:#ffffff !important;
color:#163154 !important;
font-size:.92rem !important;
font-weight:800 !important;
line-height:1.35 !important;
box-shadow:0 8px 18px rgba(10,57,125,.04) !important;
transition:.2s ease !important;
}
.toc-top nav li a:hover{
color:#0b3c88 !important;
border-color:#b9d2f7 !important;
background:#f4f8ff !important;
transform:translateY(-1px) !important;
padding-left:16px !important;
}
.toc-top nav li.toc-faq-link a{
background:linear-gradient(135deg,#0b3c88,#1f67d2) !important;
color:#ffffff !important;
border-color:transparent !important;
}
@media(max-width:720px){
.toc-top nav{
padding:14px 16px 18px !important;
}
.toc-top nav ul{
grid-template-columns:1fr !important;
gap:8px !important;
}
.toc-top nav li a{
min-height:44px !important;
font-size:.9rem !important;
}
}

.nav-end{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}
.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--blue);
  font-size:1.35rem;
  line-height:1;
  cursor:pointer;
  flex-shrink:0;
}
.nav-toggle:focus-visible{
  outline:2px solid var(--blue-3);
  outline-offset:2px;
}
@media(max-width:720px){
  .nav-toggle{display:inline-flex}
  .navbar{position:relative}
  .nav-wrap{flex-wrap:wrap;row-gap:0}
  .nav-links{
    display:none !important;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    flex-direction:column;
    gap:0;
    padding:10px 16px 16px;
    margin:0;
    background:rgba(255,255,255,.98);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
    box-shadow:0 18px 40px rgba(10,57,125,.08);
    z-index:120;
  }
  .nav-links a{
    padding:12px 4px;
    border-bottom:1px solid #edf3fb;
    font-weight:700;
  }
  .nav-links a:last-child{border-bottom:none}
  .navbar.nav-open .nav-links{
    display:flex !important;
  }
}

/* --- Premium “portal” polish (inspired by common TH access-page patterns; not a site clone) --- */
:root{
  --accent-gold:#b8860b;
  --accent-gold-soft:rgba(184,134,11,.1);
}
html:not([data-theme="dark"]){
  min-height:100%;
  background-color:#e8f0fa;
}
html:not([data-theme="dark"])::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-color:#e8f0fa;
  background-image:
    linear-gradient(180deg, rgba(247,251,255,.58) 0%, rgba(236,244,252,.52) 38%, rgba(248,251,255,.72) 100%),
    linear-gradient(135deg, rgba(11,60,136,.26) 0%, rgba(23,90,168,.18) 48%, rgba(31,103,210,.14) 100%),
    url("../assets/stadion1.webp");
  background-size:cover,cover,cover;
  background-position:center top,center,center center;
  background-repeat:no-repeat;
}
html:not([data-theme="dark"]) body{
  background:transparent;
}
/* Navbar light mode: clean white header */
html:not([data-theme="dark"]) .navbar{
  background:#ffffff;
  border-bottom:1px solid #d7e4f7;
  box-shadow:0 8px 24px rgba(11,60,136,.10);
  backdrop-filter:blur(8px);
}
@media(min-width:721px){
  html:not([data-theme="dark"]) .navbar .nav-links{
    color:var(--muted);
  }
  html:not([data-theme="dark"]) .navbar .nav-links a:hover{
    color:var(--blue);
  }
}
@media(max-width:720px){
  html:not([data-theme="dark"]) .navbar .nav-links{
    color:var(--text);
  }
  html:not([data-theme="dark"]) .navbar .nav-links a{
    color:var(--blue);
  }
  html:not([data-theme="dark"]) .navbar .nav-links a:hover{
    color:var(--blue-3);
  }
}
html:not([data-theme="dark"]) .navbar .logo{
  background:transparent;
  border:none;
  box-shadow:none;
}
html:not([data-theme="dark"]) .navbar .logo-img{
  filter:none;
}
html:not([data-theme="dark"]) .navbar .theme-toggle,
html:not([data-theme="dark"]) .navbar .nav-toggle{
  background:#f3f8ff;
  border-color:#c9dcf5;
  color:var(--blue);
}
html:not([data-theme="dark"]) .navbar .theme-toggle:hover,
html:not([data-theme="dark"]) .navbar .nav-toggle:hover{
  background:#e6f0ff;
  border-color:#b5d0f3;
}
html:not([data-theme="dark"]) .navbar .nav-end .btn-primary{
  background:linear-gradient(135deg,var(--blue),var(--blue-3));
  color:#fff;
  box-shadow:0 10px 24px rgba(19,79,168,.24);
}
html:not([data-theme="dark"]) .navbar .nav-end .btn-primary:hover{
  background:linear-gradient(135deg,#0a3577,#1a5fc6);
  color:#fff;
  transform:translateY(-2px);
}
.hero{
  position:relative;
  overflow:clip;
  padding-bottom:48px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:min(420px,75vh);
  background:radial-gradient(ellipse 90% 80% at 50% 0%, rgba(11,60,136,.07), transparent 65%);
  pointer-events:none;
  z-index:0;
}
.hero > .container{
  position:relative;
  z-index:1;
}
.eyebrow{
  background:linear-gradient(135deg,#fff 0%,#f3f8ff 100%);
  box-shadow:0 2px 14px rgba(11,60,136,.07);
  border-color:rgba(11,60,136,.14);
}
.hero h1{
  text-shadow:0 1px 0 rgba(255,255,255,.85);
}
.hero-card{
  box-shadow:0 28px 56px -18px rgba(11,60,136,.18),var(--shadow);
}
.screen{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95);
}
.quick-links{
  border-radius:var(--radius-xl);
  padding:24px;
}
.quick-links h2{
  font-size:clamp(1.25rem,2.5vw,1.45rem);
  letter-spacing:-.02em;
}
.stats-card,.info-card{
  transition:transform .22s ease, box-shadow .22s ease;
}
@media (hover:hover){
  .stats-card:hover,.info-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 44px rgba(11,60,136,.12);
  }
}
.article-highlight{
  padding:18px 22px;
  border-radius:18px;
  margin-bottom:18px;
  background:linear-gradient(145deg,rgba(11,60,136,.07),rgba(31,103,210,.05));
  border:1px solid rgba(11,60,136,.11);
}
.article-highlight strong{
  display:block;
  color:var(--blue);
  font-size:1.06rem;
  margin-bottom:8px;
}
.article-highlight p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}
.bullet-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:22px;
}
.bullet-chip{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  font-size:.87rem;
  font-weight:800;
  background:linear-gradient(180deg,#fff,#f2f7ff);
  border:1px solid rgba(215,228,247,.95);
  color:var(--blue-2);
  box-shadow:0 2px 10px rgba(11,60,136,.06);
}
#article .section-head h2{
  position:relative;
  display:inline-block;
}
#article .section-head h2::after{
  content:"";
  display:block;
  height:4px;
  margin-top:10px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--blue),var(--blue-3),var(--accent-gold));
  opacity:.85;
}
#faq{
  background:linear-gradient(180deg,rgba(11,60,136,.035) 0%,rgba(236,242,251,.85) 100%);
  padding-top:52px;
  padding-bottom:52px;
  margin-top:8px;
}
#faq .section-head h2{
  color:var(--blue);
}
details.faq-item{
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#fafdff);
  box-shadow:0 8px 28px rgba(11,60,136,.06);
  border:1px solid rgba(215,228,247,.9);
}
footer{
  background:linear-gradient(180deg,#eef3fb,#e4ecf8);
  padding-top:36px;
  padding-bottom:56px;
}
.wc-hub-box{
  box-shadow:0 28px 60px -24px rgba(11,60,136,.2),var(--shadow);
}

.theme-toggle{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  font-size:1.15rem;
  line-height:1;
  transition:background .2s ease,border-color .2s ease,transform .15s ease;
}
.theme-toggle:hover{
  border-color:#b9d2f7;
  transform:translateY(-1px);
}
.theme-toggle:focus-visible{
  outline:2px solid var(--blue-3);
  outline-offset:2px;
}

/* Dark theme — data-theme + localStorage sbobetv-theme */
html[data-theme="dark"]{
  color-scheme:dark;
  --text:#e8eef6;
  --muted:#93a4bd;
  --line:#2f4566;
  --panel:#121c2e;
  --blue:#5294e8;
  --blue-2:#6aa9ff;
  --blue-3:#9dc8ff;
  --shadow:0 18px 48px rgba(0,0,0,.38);
  --page-mesh:
    radial-gradient(ellipse 95% 65% at 35% -25%,rgba(59,130,200,.2),transparent 55%),
    linear-gradient(180deg,#060a12 0%,#0a121f 100%);
}
html[data-theme="dark"]::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:
    linear-gradient(180deg, rgba(5,10,18,.69) 0%, rgba(8,14,24,.77) 42%, rgba(6,10,18,.83) 100%),
    linear-gradient(135deg, rgba(20,55,105,.20) 0%, rgba(18,48,90,.12) 45%, rgba(10,28,56,.20) 100%),
    url("../assets/stadion1.webp");
  background-size:cover,cover,cover;
  background-position:center top,center,center center;
  background-repeat:no-repeat;
}
html[data-theme="dark"] body{
  background:transparent;
  color:var(--text);
}
html[data-theme="dark"] .navbar{
  background:linear-gradient(135deg,#031024 0%,#041b3a 100%);
  border-bottom-color:#0f2d55;
  box-shadow:0 8px 24px rgba(2,8,20,.56);
}
html[data-theme="dark"] .logo{
  color:#fff;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .logo-img-sbobetv{
  mix-blend-mode:normal;
  filter:none;
  opacity:1;
}
html[data-theme="dark"] .nav-links{color:rgba(231,241,255,.80);}
html[data-theme="dark"] .nav-links a:hover{color:#fff;}
html[data-theme="dark"] .theme-toggle{
  background:#0e1b34;
  border-color:#4e7ec0;
  color:#96bbef;
}
html[data-theme="dark"] .nav-toggle{
  background:#0e1b34;
  border-color:#4e7ec0;
  color:#96bbef;
}
html[data-theme="dark"] .nav-end .btn-primary{
  background:linear-gradient(135deg,#5f9ef2 0%,#79b1f7 100%);
  color:#fff;
  box-shadow:0 10px 22px rgba(20,66,130,.34);
}
html[data-theme="dark"] .nav-end .btn-primary:hover{
  background:linear-gradient(135deg,#5796ea 0%,#71aaf1 100%);
  color:#fff;
}
html[data-theme="dark"] .nav-links{
  background:transparent;
  border-bottom-color:transparent;
  box-shadow:none;
}
@media(max-width:720px){
  html[data-theme="dark"] .nav-links{
    background:rgba(12,20,34,.98)!important;
    border-bottom-color:#243652!important;
    box-shadow:0 18px 40px rgba(0,0,0,.45)!important;
  }
  html[data-theme="dark"] .nav-links a{border-bottom-color:#1e3148;}
}
html[data-theme="dark"] .hero::before{
  background:radial-gradient(ellipse 90% 65% at 50% 0%,rgba(80,140,220,.12),transparent 68%);
}
html[data-theme="dark"] .eyebrow{
  background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.04));
  border-color:rgba(255,255,255,.14);
  box-shadow:none;
  color:var(--blue-3);
}
html[data-theme="dark"] .hero h1{
  color:#fff;
  text-shadow:none;
}
html[data-theme="dark"] .hero h1 span{color:var(--blue-3);}
html[data-theme="dark"] .hero p{color:var(--muted);}
html[data-theme="dark"] .hero-points{color:var(--muted);}
html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .quick-links,
html[data-theme="dark"] .article-shell,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .toc,
html[data-theme="dark"] .cta-box,
html[data-theme="dark"] .stats-card,
html[data-theme="dark"] .trust-bar{
  background:var(--panel);
  border-color:#314667;
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 14px 38px rgba(0,0,0,.35);
}
html[data-theme="dark"] .hero-card{
  background:linear-gradient(180deg,#161f33,#121c2e);
}
html[data-theme="dark"] .screen{
  background:linear-gradient(180deg,#141d2e,#101a2a);
  border-color:#314667;
}
html[data-theme="dark"] .screen-banner{
  box-shadow:0 8px 24px rgba(0,0,0,.3);
}
html[data-theme="dark"] .info-card{
  background:linear-gradient(180deg,#182238,#131c2c);
  border-color:#314667;
}
html[data-theme="dark"] .info-card strong,
html[data-theme="dark"] .stats-card strong{color:var(--blue-3);}
html[data-theme="dark"] .quick-link-btn{
  background:linear-gradient(135deg,#1a2538,#152030);
  border-color:#314667;
  color:var(--blue-3);
}
html[data-theme="dark"] .quick-link-btn:hover{background:#1c283c;}
html[data-theme="dark"] .trust-bar{
  background:linear-gradient(180deg,#161f33,#121c2e);
}
html[data-theme="dark"] .article-cover{
  border-color:#314667;
  box-shadow:0 12px 36px rgba(0,0,0,.4);
}
html[data-theme="dark"] .article-card>h2,
html[data-theme="dark"] #article .section-head h2{color:var(--blue-3);}
html[data-theme="dark"] .meta-row{color:var(--muted);}
html[data-theme="dark"] .lead{color:var(--muted);}
html[data-theme="dark"] .article-body h2{color:var(--blue-3);}
html[data-theme="dark"] .article-body h3{color:var(--blue-2);}
html[data-theme="dark"] .article-body p,
html[data-theme="dark"] .article-body li{color:var(--text);}
html[data-theme="dark"] .article-highlight{
  background:linear-gradient(145deg,rgba(82,148,232,.12),rgba(30,50,80,.4));
  border-color:#314667;
}
html[data-theme="dark"] .article-highlight strong{color:var(--blue-3);}
html[data-theme="dark"] .bullet-chip{
  background:linear-gradient(180deg,#1a2538,#152030);
  border-color:#314667;
  color:var(--blue-3);
}
html[data-theme="dark"] .related-card{
  background:linear-gradient(180deg,#161f33,#121c2e);
  border-color:#314667;
}
html[data-theme="dark"] .toc-top{
  background:linear-gradient(180deg,#161f33,#121c2e)!important;
  border-color:#314667!important;
}
html[data-theme="dark"] .toc-top .side-title{
  background:linear-gradient(135deg,#0f2844,#1a3d66)!important;
}
html[data-theme="dark"] .toc-top nav li a{
  background:#151f33!important;
  border-color:#355078!important;
  color:var(--text)!important;
}
html[data-theme="dark"] .toc-top nav li.toc-faq-link a{
  background:linear-gradient(135deg,var(--blue),var(--blue-3))!important;
  color:#fff!important;
  border-color:transparent!important;
}
html[data-theme="dark"] details.faq-item{
  background:linear-gradient(180deg,#141f33,#101b2c);
  border-color:#314667;
  box-shadow:0 8px 28px rgba(0,0,0,.32);
}
html[data-theme="dark"] details.faq-item summary{color:var(--blue-3);}
html[data-theme="dark"] .faq-answer{border-top-color:#314667;}
html[data-theme="dark"] #faq{
  background:linear-gradient(180deg,rgba(11,60,136,.08),rgba(12,20,34,.6));
  border-top:1px solid #243652;
  border-bottom:1px solid #1e3148;
}
html[data-theme="dark"] #faq .section-head h2{color:var(--blue-3);}
html[data-theme="dark"] .cta-box{
  background:linear-gradient(135deg,#161f33,#152438);
}
html[data-theme="dark"] .cta-box h2{color:var(--blue-3);}
html[data-theme="dark"] footer{
  background:linear-gradient(180deg,#0d1626,#080d14);
  border-top:1px solid #243652;
  color:var(--muted);
}
html[data-theme="dark"] .footer-wrap{border-top-color:#243652;}
html[data-theme="dark"] .wc-hub-top{
  background:linear-gradient(135deg,#0c1e38 0%,#153551 100%)!important;
}
html[data-theme="dark"] .wc-hub-card{
  background:#121c2e;
  border-color:#314667;
}
html[data-theme="dark"] .wc-hub-grid{background:#121c2e;}
html[data-theme="dark"] .bottom-action-bar{
  background:rgba(18,28,46,.92)!important;
  border-color:#314667!important;
  box-shadow:0 18px 45px rgba(0,0,0,.5)!important;
}
html[data-theme="dark"] .bottom-login{
  background:#1a2538!important;
  color:var(--blue-3)!important;
  border-color:#355078!important;
}
html[data-theme="dark"] .article-image-gif img{
  mix-blend-mode:normal !important;
  filter:none !important;
  animation:gifPulse 2.8s ease-in-out infinite, gifFloat 4.6s ease-in-out infinite;
}
@keyframes gifGlow{
  0%,100%{filter:drop-shadow(0 10px 26px rgba(90,156,255,.22)) brightness(1.06) contrast(1.04)}
  50%{filter:drop-shadow(0 14px 32px rgba(118,178,255,.38)) brightness(1.13) contrast(1.08)}
}
html[data-theme="dark"] .btn-primary{
  box-shadow:0 12px 28px rgba(30,90,180,.28);
}
html[data-theme="dark"] .btn-secondary{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.18)!important;
  color:#fff!important;
}

/* Mobile header tidy-up: keep top area clean */
@media(max-width:720px){
  .navbar{
    position:sticky;
    top:0;
    z-index:220;
    transition:box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
  }
  .navbar.is-scrolled{box-shadow:0 10px 28px rgba(11,60,136,.28);}
  html:not([data-theme="dark"]) .navbar.is-scrolled{
    background:#ffffff;
    border-bottom-color:#cfe0f8;
    backdrop-filter:blur(12px) saturate(1.08);
    -webkit-backdrop-filter:blur(12px) saturate(1.08);
  }
  html[data-theme="dark"] .navbar.is-scrolled{
    background:linear-gradient(135deg,rgba(3,16,36,.97) 0%,rgba(4,27,58,.96) 100%);
    border-bottom-color:#10325d;
    backdrop-filter:blur(12px) saturate(1.08);
    -webkit-backdrop-filter:blur(12px) saturate(1.08);
  }
  .nav-wrap{
    flex-wrap:wrap;
    align-items:center;
    row-gap:7px;
    column-gap:10px;
    min-height:auto;
    padding:8px 0 10px;
    transition:padding .22s ease, row-gap .22s ease;
  }
  .navbar.is-scrolled .nav-wrap{row-gap:6px;padding:6px 0 8px;}
  .logo{
    flex:1 1 100%;
    min-width:0;
    padding:3px 7px;
    justify-content:center;
    margin-inline:auto;
    transition:padding .22s ease;
  }
  .navbar.is-scrolled .logo{padding:2px 6px;}
  .logo.logo-sbobetv-wrap{
    height:40px;
    width:auto;
    overflow:visible !important;
  }
  .logo-img.logo-img-sbobetv{
    height:40px !important;
    transform:none !important;
    transition:height .22s ease;
  }
  .navbar.is-scrolled .logo-img.logo-img-sbobetv{
    height:38px !important;
  }
  .nav-end{
    width:100%;
    display:grid;
    grid-template-columns:42px 42px minmax(0,1fr);
    align-items:center;
    gap:10px;
  }
  .theme-toggle,
  .nav-toggle{
    width:40px;
    height:40px;
  }
  .nav-end .btn{
    width:100%;
    min-width:0;
    min-height:40px;
    padding:9px 13px;
    font-size:clamp(.86rem,3vw,.93rem);
  }
}

/* --- Stability overrides (final cascade guard) --- */
.toc:not(.toc-top){
  position:relative !important;
  top:auto !important;
}
.article-layout{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:0 !important;
}
.article-layout > aside{
  display:none !important;
}
.bottom-action-bar{
  z-index:9999 !important;
  max-width:min(100% - 20px, 680px);
}
@media(max-width:720px){
  body{padding-bottom:92px !important;}
  .bottom-action-bar{
    max-width:100%;
  }
}

/* --- Visual polish v2 --- */
.screen-banner h3{
  font-size:clamp(1.18rem,2vw,1.75rem);
  line-height:1.22;
  max-width:420px;
}
.badge{
  font-size:.8rem;
  padding:8px 11px;
}
section{
  padding:38px 0;
}
.hero{
  padding-bottom:40px;
}
.bottom-action-bar{
  opacity:.9;
  transition:opacity .2s ease, transform .2s ease, box-shadow .2s ease !important;
}
body.page-scrolled .bottom-action-bar,
.bottom-action-bar:hover{
  opacity:1;
}

/* --- Mobile readability + overflow fix --- */
@media(max-width:720px){
  .container{
    width:min(100% - 20px,var(--max));
  }
  .article-shell,
  .article-card{
    padding:16px !important;
    border-radius:18px !important;
  }
  .article-cover{
    height:148px !important;
    margin-bottom:14px !important;
    border-radius:14px !important;
  }
  .meta-row{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:4px !important;
    font-size:.84rem !important;
    line-height:1.45 !important;
  }
  .article-card > h2{
    font-size:clamp(1.9rem,8.4vw,2.3rem) !important;
    line-height:1.1 !important;
    letter-spacing:-.03em !important;
  }
  .lead{
    font-size:.98rem !important;
    line-height:1.65 !important;
  }
  .article-top-cta{
    grid-template-columns:1fr !important;
  }
  .section-head{
    margin:0 auto 20px !important;
  }
  .section-head h2{
    font-size:clamp(1.55rem,7.2vw,2rem) !important;
    line-height:1.15 !important;
  }
}
@media (prefers-reduced-motion: reduce){
  .article-image-gif img,
  .article-image-gif a{
    animation:none !important;
  }
  .article-image-gif a::after{
    animation:none !important;
  }
  .article-image-gif a{
    transition:none !important;
  }
}

/* --- Logo: match CTA height, no crop --- */
.navbar .logo.logo-sbobetv-wrap{
  padding:0 !important;
  height:46px;
  width:auto;
  max-width:none;
  overflow:visible !important;
  display:inline-flex !important;
  align-items:center;
  flex:0 0 auto;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}
.logo-img-sbobetv{
  height:46px !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  transform:none !important;
  image-rendering:auto;
  object-fit:contain;
  object-position:left center;
  display:block;
}
.navbar.is-scrolled .logo-img-sbobetv{
  height:44px !important;
}
@media(max-width:720px){
  .navbar .logo.logo-sbobetv-wrap{height:40px;}
  .logo-img-sbobetv{height:40px !important;}
  .navbar.is-scrolled .logo-img-sbobetv{height:38px !important;}
}
@media (min-width:1025px){
  .article-image-main{
    margin-top:12px;
  }
  .article-image-main img{
    max-width:700px;
  }
  .article-image-gif img{
    max-width:210px;
  }
  .article-image-gif{
    margin-top:2px;
  margin-bottom:2px;
  }
  .article-image-gif-over-pgcat{
    margin-top:6px;
    margin-bottom:-4px;
  }
}

/* --- Image safety pass: prevent visual cropping --- */
.article-cover{
  height:auto !important;
  min-height:0 !important;
  overflow:hidden;
  border-radius:18px;
}
.article-cover img{
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block;
}
.article-image img,
.article-image-main img,
.article-image-gif img{
  width:auto;
  max-width:100%;
  height:auto !important;
  object-fit:contain;
  object-position:center center;
  image-rendering:auto;
  display:block;
  margin-inline:auto;
}
@media(max-width:720px){
  .article-cover{
    border-radius:14px;
  }
  .article-cover img{
    max-width:100%;
  }
}

/* Lock GIF CTA size (override generic image safety rule) */
.article-image-gif img{
  max-width:260px !important;
}
@media(max-width:720px){
  .article-image-gif img{
    width:clamp(210px,72vw,320px) !important;
    max-width:clamp(210px,72vw,320px) !important;
    height:auto !important;
  }
}

/* --- Homepage hero stack + footer (match entrance/review) --- */
.hero-stack{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.hero-banner{
  width:100%;
  overflow:hidden;
  border-radius:28px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:#071a38;
}
.hero-banner img{
  width:100%;
  height:auto;
  display:block;
}
.hero-card.support-hero{
  padding:40px 36px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,255,.94));
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
}
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  color:var(--muted);
  font-size:.94rem;
  font-weight:700;
}
.trust-row span{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  border:1px solid var(--line);
  box-shadow:0 2px 10px rgba(11,60,136,.06);
}
.hero-trust-row{margin-top:4px}
.hero-rating-badge{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 14px;
  margin-top:16px;
  padding:12px 18px;
  border-radius:16px;
  background:linear-gradient(135deg,#fff8e8 0%,#fff4d6 48%,#fff 100%);
  border:1px solid rgba(198,154,42,.28);
  box-shadow:0 10px 24px rgba(198,154,42,.12);
  color:var(--blue);
  font-size:.92rem;
  font-weight:700;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.hero-rating-badge:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(198,154,42,.18);
  border-color:rgba(198,154,42,.42);
}
.hero-rating-score{
  font-size:1.45rem;
  font-weight:900;
  line-height:1;
  color:#b45309;
}
.hero-rating-stars{
  letter-spacing:2px;
  color:#f59e0b;
  font-size:1rem;
  line-height:1;
}
.hero-rating-meta{
  color:var(--muted);
  font-weight:600;
}
.hero-rating-meta strong{
  color:var(--blue);
  font-weight:800;
}
html[data-theme="dark"] .hero-rating-badge{
  background:linear-gradient(135deg,#2a2210 0%,#1f1a12 48%,#121c2e 100%);
  border-color:rgba(245,158,11,.28);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
html[data-theme="dark"] .hero-rating-score{color:#fbbf24}
html[data-theme="dark"] .hero-rating-stars{color:#f59e0b}
@media(max-width:720px){
  .hero-rating-badge{
    width:100%;
    justify-content:center;
    text-align:center;
    padding:14px 16px;
  }
  .hero-rating-meta{flex:1 1 100%}
}
.section{padding:38px 0}
.section-head{
  max-width:820px;
  margin:0 auto 26px;
  text-align:center;
}
.section-head h2{
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.08;
  letter-spacing:-.05em;
  margin-bottom:10px;
  color:var(--blue);
}
.section-head p{
  color:var(--muted);
  font-size:1.02rem;
}
.hub-access-section{
  padding-top:8px;
  padding-bottom:42px;
}
.hub-panel{
  background:linear-gradient(180deg,#ffffff,#f7fbff);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  padding:28px;
}
.hub-summary{
  display:grid;
  grid-template-columns:minmax(0,240px) minmax(0,1fr);
  gap:28px;
  align-items:center;
  padding-bottom:24px;
  border-bottom:1px solid var(--line);
  margin-bottom:22px;
}
.link-status-overview{text-align:center}
.link-status-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#edf5ff;
  border:1px solid var(--line);
  color:var(--blue);
  font-size:.82rem;
  font-weight:800;
  margin-bottom:10px;
}
.link-status-year{
  font-size:clamp(2.8rem,5vw,3.6rem);
  font-weight:900;
  line-height:1;
  color:var(--blue-3);
  margin-bottom:8px;
}
.link-status-text{
  color:var(--muted);
  font-size:.94rem;
  font-weight:600;
}
.link-status-text strong{color:var(--blue);font-weight:800}
.hub-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.hub-stat{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(10,57,125,.05);
  transition:transform .22s ease,box-shadow .22s ease;
}
.hub-stat-icon{font-size:1.2rem;line-height:1}
.hub-stat strong{
  color:var(--blue);
  font-size:.95rem;
  font-weight:800;
}
.hub-stat span{
  color:var(--muted);
  font-size:.85rem;
  font-weight:600;
}
@media (hover:hover){
  .hub-stat:hover,.hub-info-card:hover,.explore-hub-card:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 32px rgba(10,57,125,.10);
  }
}
.explore-hub-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:22px;
}
.explore-hub-card{
  display:flex;
  flex-direction:column;
  padding:22px;
  border-radius:20px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 10px 24px rgba(10,57,125,.06);
  transition:transform .22s ease,box-shadow .22s ease;
}
.explore-hub-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  border-radius:14px;
  font-size:1.35rem;
  background:linear-gradient(180deg,#f4f8ff,#eaf2ff);
  border:1px solid var(--line);
}
.explore-hub-card h3{
  color:var(--blue);
  font-size:1.05rem;
  margin-bottom:8px;
  line-height:1.35;
}
.explore-hub-card p{
  color:var(--muted);
  font-size:.92rem;
  margin-bottom:16px;
  flex:1;
}
.explore-hub-btn{width:100%;margin-top:auto}
.hub-info-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:20px;
}
.hub-info-card{
  padding:20px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(10,57,125,.05);
  transition:transform .22s ease,box-shadow .22s ease;
}
.hub-quick-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:20px;
}
.hub-quick-link{
  display:inline-flex;
  align-items:center;
  padding:10px 16px;
  border-radius:999px;
  background:#edf5ff;
  border:1px solid var(--line);
  color:var(--blue);
  font-size:.9rem;
  font-weight:700;
  transition:background .2s ease,border-color .2s ease,transform .15s ease;
}
.hub-quick-link:hover{
  background:#fff;
  border-color:#b9d2f7;
  transform:translateY(-1px);
}
.hub-trust-banner{
  padding:18px 22px;
  border-radius:18px;
  background:linear-gradient(145deg,rgba(11,60,136,.07),rgba(31,103,210,.05));
  border:1px solid rgba(11,60,136,.11);
}
.hub-trust-banner strong{
  display:block;
  color:var(--blue);
  font-size:1.02rem;
  margin-bottom:8px;
}
.hub-trust-banner p{
  margin:0;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.65;
}
.promo-section{
  padding-top:12px;
  padding-bottom:36px;
}
.promo-section .section-head h2::after,
.hub-section-head h2::after,
#faq .section-head h2::after{
  content:"";
  display:block;
  height:4px;
  margin:10px auto 0;
  max-width:120px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--blue),var(--blue-3),var(--accent-gold));
  opacity:.85;
}
.wc-hub-card-link{
  display:block;
  transition:background .2s ease,transform .2s ease;
  color:inherit;
}
.wc-hub-card-link:hover{
  background:#f4f8ff;
  transform:translateY(-2px);
}
.cta-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.cta-box-premium{
  border:1px solid var(--line);
  box-shadow:0 20px 48px rgba(11,60,136,.10);
}
.cta-box-final{
  background:linear-gradient(180deg,#fff,#f5f9ff);
}
html[data-theme="dark"] .trust-row span{
  background:rgba(18,28,46,.85);
  border-color:#2f4566;
}
html[data-theme="dark"] .hub-panel{
  background:linear-gradient(180deg,#121c2e,#0f1828);
  border-color:#2f4566;
}
html[data-theme="dark"] .hub-stat,
html[data-theme="dark"] .explore-hub-card,
html[data-theme="dark"] .hub-info-card{
  background:#0f1828;
  border-color:#2f4566;
}
html[data-theme="dark"] .explore-hub-icon{
  background:linear-gradient(180deg,#1a2840,#152238);
}
html[data-theme="dark"] .hub-quick-link{
  background:#1a2840;
  border-color:#2f4566;
}
html[data-theme="dark"] .hub-trust-banner{
  background:linear-gradient(145deg,rgba(82,148,232,.12),rgba(31,103,210,.08));
  border-color:#2f4566;
}
html[data-theme="dark"] .wc-hub-card-link:hover{background:#1a2840}
html[data-theme="dark"] .cta-box-final{
  background:linear-gradient(180deg,#121c2e,#0f1828);
}
@media(max-width:1024px){
  .explore-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .hub-summary{grid-template-columns:1fr}
  .link-status-overview{padding-bottom:8px}
}
@media(max-width:720px){
  .hub-panel{padding:20px 16px}
  .explore-hub-grid,
  .hub-info-grid{grid-template-columns:1fr}
  .hub-stats{grid-template-columns:1fr 1fr}
  .hub-quick-nav{display:none}
  .cta-actions{flex-direction:column;align-items:stretch}
  .cta-actions .btn{width:100%}
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr .8fr;
  gap:28px;
  text-align:left;
}
.footer-logo img{
  height:46px;
  width:auto;
  margin-bottom:16px;
  display:block;
  object-fit:contain;
  object-position:left center;
}
.footer p{
  color:var(--muted);
  font-size:.95rem;
  line-height:1.7;
  max-width:320px;
}
.footer h4{
  color:var(--blue);
  font-size:1rem;
  margin-bottom:14px;
  font-weight:800;
}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-links a{
  color:var(--muted);
  font-size:.92rem;
  font-weight:600;
  transition:color .2s ease;
}
.footer-links a:hover{color:var(--blue-2)}
.footer-copy{
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid var(--line);
  text-align:center;
  color:var(--muted);
  font-size:.88rem;
  font-weight:700;
}
html[data-theme="dark"] .hero-banner{
  border-color:#2f4566;
  background:#0a1628;
}
html[data-theme="dark"] .hero-card.support-hero{
  background:linear-gradient(180deg,rgba(18,28,46,.98),rgba(14,22,38,.96));
  border-color:#2f4566;
}
html[data-theme="dark"] .footer-links a:hover{color:var(--blue-3)}
@media(max-width:960px){
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .hero-stack{gap:12px}
  .hero-banner{border-radius:22px}
  .hero-card.support-hero{padding:28px 22px}
  .footer-grid{grid-template-columns:1fr}
  .footer p{max-width:none}
}

/* --- Homepage article section premium --- */
.article-section{
  padding-top:44px;
  padding-bottom:52px;
  background:linear-gradient(180deg,rgba(11,60,136,.02) 0%,transparent 28%);
}
.article-section-head h2::after{
  content:"";
  display:block;
  height:4px;
  margin:10px auto 0;
  max-width:120px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--blue),var(--blue-3),var(--accent-gold));
  opacity:.85;
}
.article-guide-banner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
  padding:20px 24px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(11,60,136,.08),rgba(31,103,210,.05));
  border:1px solid rgba(11,60,136,.12);
  box-shadow:0 10px 28px rgba(11,60,136,.06);
}
.article-guide-banner strong{
  display:block;
  color:var(--blue);
  font-size:1.05rem;
  margin-bottom:6px;
}
.article-guide-banner p{
  margin:0;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.6;
  max-width:640px;
}
.article-guide-btn{flex-shrink:0}
.article-shell-premium{
  background:linear-gradient(180deg,#ffffff,#f7fbff);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  padding:28px;
}
.article-shell-premium .article-card{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding:0 !important;
}
.article-shell-premium .toc-top{
  margin-bottom:22px;
  padding:18px 20px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(10,57,125,.05);
}
.article-shell-premium .meta-row{
  padding:12px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.85);
  border:1px solid var(--line);
  margin-bottom:18px;
}
.article-shell-premium .article-top-cta .info-card{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(10,57,125,.05);
  border-radius:18px;
}
.article-shell-premium .related-grid .related-card{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(10,57,125,.05);
  transition:transform .22s ease,box-shadow .22s ease;
}
@media (hover:hover){
  .article-shell-premium .related-grid .related-card:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 32px rgba(10,57,125,.10);
  }
}
#tips-preview .cta-box-premium{
  padding:32px 28px;
}
html[data-theme="dark"] .article-section{
  background:linear-gradient(180deg,rgba(82,148,232,.04) 0%,transparent 28%);
}
html[data-theme="dark"] .article-guide-banner{
  background:linear-gradient(135deg,rgba(82,148,232,.12),rgba(31,103,210,.08));
  border-color:#2f4566;
}
html[data-theme="dark"] .article-shell-premium{
  background:linear-gradient(180deg,#121c2e,#0f1828);
  border-color:#2f4566;
}
html[data-theme="dark"] .article-shell-premium .toc-top,
html[data-theme="dark"] .article-shell-premium .article-top-cta .info-card,
html[data-theme="dark"] .article-shell-premium .related-grid .related-card{
  background:#0f1828;
  border-color:#2f4566;
}
html[data-theme="dark"] .article-shell-premium .meta-row{
  background:rgba(15,24,40,.9);
  border-color:#2f4566;
}
.toc-collapsed-hidden{display:none !important}
@media(max-width:720px){
  .article-shell-premium{padding:18px 14px}
  .article-guide-banner{
    flex-direction:column;
    align-items:stretch;
    padding:18px 16px;
  }
  .article-guide-btn{width:100%}
  .article-toggle-wrap{
    margin-top:4px;
    margin-bottom:18px;
  }
  .article-toggle-btn{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:15px 20px;
    font-size:.95rem;
    line-height:1.35;
    border-radius:16px;
    box-shadow:0 12px 28px rgba(11,60,136,.18);
  }
  .article-toggle-btn:active{
    transform:scale(.99);
  }
}
