/* 123plus — white / red / black, bold light theme */
:root { --pl-red: #e10600; --pl-ink: #0b0b0b; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: #fff; color: #1c1c1c; }
::selection { background: #e10600; color: #fff; }
.pl-wrap { max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }

/* top strip + navbar */
.pl-strip { background: var(--pl-red); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-align: center; padding: .3rem 1rem; }
.pl-bar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 4px solid var(--pl-ink); }
.pl-nav a { display: block; padding: .5rem .8rem; font-family: "Kanit", sans-serif; font-weight: 500; color: var(--pl-ink); border-bottom: 3px solid transparent; }
.pl-nav a:hover { color: var(--pl-red); }
.pl-nav a[aria-current="page"] { border-bottom-color: var(--pl-red); }
.pl-drop { display: none; border-top: 2px solid var(--pl-ink); background: #fff; }
.pl-drop.is-open { display: block; }
.pl-drop a.pl-link { display: flex; justify-content: space-between; padding: .9rem 1rem; font-family: "Kanit", sans-serif; font-size: 1.1rem; border-bottom: 1px solid #e7e5e4; }
@media (min-width: 1024px) { .pl-drop, .pl-drop.is-open { display: none; } }

/* buttons */
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.5rem; font-family: "Kanit", sans-serif; font-weight: 600; color: #fff; background: var(--pl-red);
  border: 3px solid var(--pl-ink); box-shadow: 4px 4px 0 var(--pl-ink); transition: transform .12s, box-shadow .12s; }
.pl-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--pl-ink); }
.pl-btn:focus-visible, .pl-btn-o:focus-visible { outline: 3px solid var(--pl-red); outline-offset: 3px; }
.pl-btn-o { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.5rem; font-family: "Kanit", sans-serif; font-weight: 600; color: var(--pl-ink); background: #fff;
  border: 3px solid var(--pl-ink); box-shadow: 4px 4px 0 var(--pl-ink); transition: transform .12s, box-shadow .12s; }
.pl-btn-o:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--pl-ink); background: #ffe3e1; }
.pl-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; transition: opacity .2s, transform .2s; }
.pl-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* thick-border cards */
.pl-card { background: #fff; border: 3px solid var(--pl-ink); box-shadow: 6px 6px 0 var(--pl-red); }
.pl-card-k { background: var(--pl-ink); color: #fff; border: 3px solid var(--pl-ink); box-shadow: 6px 6px 0 var(--pl-red); }
.pl-tag { display: inline-block; padding: .1rem .6rem; font-family: "Kanit", sans-serif; font-size: .78rem; font-weight: 600; background: var(--pl-ink); color: #fff; letter-spacing: .04em; }
.pl-tag.is-red { background: var(--pl-red); }
.pl-label { font-family: "Kanit", sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .14em; color: var(--pl-red); text-transform: uppercase; }

/* hero stat strip */
.pl-hero { background: #fff; border-bottom: 4px solid var(--pl-ink); background-image: linear-gradient(90deg, rgba(225,6,0,.06) 0 1px, transparent 1px); background-size: 64px 100%; }
.pl-stats { display: grid; grid-template-columns: repeat(2, 1fr); border: 3px solid var(--pl-ink); background: var(--pl-ink); gap: 3px; }
.pl-stats > div { background: #fff; padding: 1rem; }
.pl-stats > div:nth-child(odd) { background: var(--pl-red); color: #fff; }
.pl-stats strong { display: block; font-family: "Kanit", sans-serif; font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 800; line-height: 1; }
.pl-stats span { display: block; margin-top: .35rem; font-weight: 700; font-size: .95rem; }
@media (min-width: 768px) { .pl-stats { grid-template-columns: repeat(4, 1fr); } }
.pl-frame { display: block; width: 100%; height: auto; background: #1c1c1c; }

/* numbered content blocks */
.pl-sec { padding-block: 3.5rem; border-bottom: 3px solid var(--pl-ink); }
.pl-sec:nth-of-type(even) { background: #f5f5f4; }
.pl-sec-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .pl-sec-grid { grid-template-columns: 11rem 1fr; gap: 2.5rem; } }
.pl-num { font-family: "Kanit", sans-serif; font-weight: 800; font-size: 5rem; line-height: .9; color: transparent; -webkit-text-stroke: 3px var(--pl-ink); }
@media (min-width: 900px) { .pl-num { position: sticky; top: 100px; font-size: 7rem; } }
.pl-sec p { line-height: 1.95; margin-top: 1rem; }
.pl-sec a { color: var(--pl-red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.pl-sec strong { font-weight: 700; color: var(--pl-ink); }

/* provider slider */
.pl-prov { background: var(--pl-ink); color: #fff; padding-block: 2.5rem; border-bottom: 4px solid var(--pl-red); }
.pl-marquee { overflow: hidden; margin-top: 1.4rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.pl-track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 0; list-style: none; animation: pl-run 55s linear infinite; animation-play-state: paused; }
.pl-marquee.is-active .pl-track { animation-play-state: running; }
.pl-marquee.is-active:hover .pl-track { animation-play-state: paused; }
.pl-track li { flex: none; border: 3px solid #fff; background: #1c1c1c; }
.pl-track li:hover { border-color: var(--pl-red); }
.pl-track img { display: block; width: 188px; height: 120px; object-fit: cover; }
@keyframes pl-run { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .pl-track { animation: none; } .pl-marquee { overflow-x: auto; } }

/* FAQ */
.pl-faq details { border: 3px solid var(--pl-ink); background: #fff; }
.pl-faq details[open] { box-shadow: 5px 5px 0 var(--pl-red); }
.pl-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font-family: "Kanit", sans-serif; font-weight: 600; font-size: 1.05rem; }
.pl-faq summary::-webkit-details-marker { display: none; }
.pl-faq summary i { font-style: normal; font-size: 1.6rem; color: var(--pl-red); transition: transform .2s; }
.pl-faq details[open] summary i { transform: rotate(45deg); }
.pl-faq details p { padding: 0 1.2rem 1.2rem; line-height: 1.9; margin: 0; }

/* flow steps (section 8) */
.pl-steps { counter-reset: st; display: grid; gap: 1.5rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.pl-steps > li { counter-increment: st; position: relative; padding: 1.2rem 1.2rem 1.2rem 4.4rem; border: 3px solid #fff; }
.pl-steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; bottom: 0; width: 3.2rem; display: flex; align-items: center; justify-content: center; background: var(--pl-red); font-family: "Kanit", sans-serif; font-weight: 800; font-size: 1.6rem; color: #fff; }
.pl-steps p { margin: 0; line-height: 1.95; }

/* prose (article, promotions) */
.pl-prose h2 { font-family: "Kanit", sans-serif; font-weight: 700; font-size: 1.7rem; line-height: 1.3; margin-top: 2.6rem; padding-left: .8rem; border-left: 8px solid var(--pl-red); color: var(--pl-ink); }
.pl-prose h3 { font-family: "Kanit", sans-serif; font-weight: 600; font-size: 1.25rem; margin-top: 1.6rem; color: var(--pl-ink); }
.pl-prose p { margin-top: 1rem; line-height: 2; }
.pl-prose ul, .pl-prose ol { margin-top: 1rem; padding-left: 1.4rem; line-height: 1.9; }
.pl-prose ul { list-style: square; }
.pl-prose ol { list-style: decimal; }
.pl-prose li { margin-top: .35rem; }
.pl-prose li::marker { color: var(--pl-red); font-weight: 700; }
.pl-prose a { color: var(--pl-red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.pl-prose blockquote { margin-top: 1.6rem; padding: 1.1rem 1.3rem; background: var(--pl-ink); color: #fff; border-left: 10px solid var(--pl-red); font-family: "Kanit", sans-serif; font-size: 1.15rem; line-height: 1.7; }
#pl-progress { position: fixed; left: 0; top: 0; z-index: 70; height: 5px; width: 100%; background: var(--pl-red); transform: scaleX(0); transform-origin: left; }

/* reveal */
.no-js .pl-rv, .pl-rv.is-in { opacity: 1; transform: none; }
.pl-rv { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
@media (prefers-reduced-motion: reduce) { .pl-rv { opacity: 1; transform: none; transition: none; } }

/* footer */
.pl-foot { background: var(--pl-ink); color: #d6d3d1; border-top: 8px solid var(--pl-red); }
.pl-foot a:hover { color: #fff; text-decoration: underline; }

/* pbn: provider slider always auto-scrolls */
.pl-marquee { overflow: hidden !important; }
.pl-marquee .pl-track { animation-name: pl-run !important; animation-duration: 55s !important; animation-timing-function: linear !important; animation-iteration-count: infinite !important; animation-play-state: running !important; }
@media (hover: hover) { .pl-marquee:hover .pl-marquee .pl-track { animation-play-state: paused !important; } }

/* conversion pass: hero sub, 3 steps, calm strip, final CTA band */
.pl-hero-sub { margin-top: 1.4rem; padding-left: .8rem; border-left: 8px solid var(--pl-red); font-family: "Kanit", sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--pl-ink); }
.pl-btn-xl { padding: 1rem 2rem; font-size: 1.2rem; }
.pl-textlink { font-family: "Kanit", sans-serif; font-weight: 600; color: var(--pl-red); text-decoration: underline; text-underline-offset: 4px; }
.pl-3s { padding-block: 3.5rem; background: #f5f5f4; border-bottom: 3px solid var(--pl-ink); }
.pl-3s-list { display: grid; gap: 1.8rem; list-style: none; padding: 0; margin-bottom: 0; }
@media (min-width: 768px) { .pl-3s-list { grid-template-columns: repeat(3, 1fr); } }
.pl-3s-list li { padding: 1.4rem; }
.pl-3s-n { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; margin-bottom: .8rem; background: var(--pl-red); color: #fff; border: 3px solid var(--pl-ink); font-family: "Kanit", sans-serif; font-weight: 800; font-size: 1.6rem; }
.pl-3s-list p { margin-top: .5rem; line-height: 1.8; color: #3d3d3d; }
.pl-calm { background: #fff; border-top: 4px solid var(--pl-ink); padding-block: 1.1rem; font-size: .92rem; }
.pl-calm p { display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: baseline; line-height: 1.7; }
.pl-calm strong { background: var(--pl-ink); color: #fff; padding: .05rem .6rem; font-family: "Kanit", sans-serif; }
.pl-band { background: var(--pl-red); color: #fff; border-top: 6px solid var(--pl-ink); border-bottom: 6px solid var(--pl-ink); padding-block: 3rem; background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.07) 0 14px, transparent 14px 28px); }
.pl-band-in { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 768px) { .pl-band-in { grid-template-columns: 1fr auto; gap: 3rem; } }
.pl-band-k { font-family: "Kanit", sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .14em; background: var(--pl-ink); display: inline-block; padding: .1rem .7rem; margin-bottom: .8rem; }
.pl-btn-w { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.2rem; font-family: "Kanit", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--pl-ink); background: #fff; border: 4px solid var(--pl-ink); box-shadow: 6px 6px 0 var(--pl-ink); transition: transform .12s, box-shadow .12s; }
.pl-btn-w:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--pl-ink); }
.pl-btn-w:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pl-band-btn { display: flex; }
@media (max-width: 767px) { .pl-band-btn .pl-btn-w { width: 100%; } }

/* pbn: search-topic section */
.pbn-kw { max-width: 48rem; margin: 2.5rem auto 0; padding: 1.5rem 1.25rem; border: 1px solid rgba(128,128,128,.35); border-radius: 14px; line-height: 1.9; }
.pbn-kw h2 { font-size: 1.35rem; font-weight: 700; line-height: 1.4; margin: 0 0 .75rem; }
.pbn-kw h3 { font-size: 1.05rem; font-weight: 700; margin: 1.1rem 0 .25rem; }
.pbn-kw p { margin: .35rem 0; }
.pbn-kw a { text-decoration: underline; font-weight: 600; }

/* pbn: liquid-metal buttons */
body .pl-btn:not(.pl-btn-o):not(.pl-btn-w),
body .pl-band-btn {
  position: relative !important; isolation: isolate; overflow: hidden !important;
  border: 2px solid transparent !important; border-radius: 999px !important; clip-path: none !important;
  color: #ffffff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .65) !important;
  background: linear-gradient(180deg, #262626 0%, #000000 100%) padding-box, linear-gradient(108deg, #7a0300 0%, #ffffff 6%, #e10600 12%, #ffe3e1 18%, #e10600 24%, #ff6b66 30%, #7a0300 38%, #ff6b66 44%, #7a0300 50%, #ffffff 56%, #e10600 62%, #ffe3e1 68%, #e10600 74%, #ff6b66 80%, #7a0300 88%, #ff6b66 94%, #7a0300 100%) border-box !important;
  background-size: 100% 100%, 200% 100% !important; background-position: 0 0, 0% 50% !important;
  animation: pl-liq 6s linear infinite !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 20px 12px -12px rgba(0, 0, 0, .25), 0 9px 9px -6px rgba(0, 0, 0, .2), 0 2px 5px rgba(0, 0, 0, .2) !important;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease !important;
}
body .pl-btn:not(.pl-btn-o):not(.pl-btn-w)::before, body .pl-btn:not(.pl-btn-o):not(.pl-btn-w)::after,
body .pl-band-btn::before, body .pl-band-btn::after { display: none !important; }
body .pl-btn:not(.pl-btn-o):not(.pl-btn-w):hover,
body .pl-band-btn:hover { transform: translateY(-1px) !important; animation-duration: 3s !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 12px 6px -6px rgba(0, 0, 0, .08), 0 8px 5px -4px rgba(0, 0, 0, .14), 0 4px 4px rgba(0, 0, 0, .18), 0 1px 2px rgba(0, 0, 0, .22) !important; }
body .pl-btn:not(.pl-btn-o):not(.pl-btn-w):active,
body .pl-band-btn:active { transform: translateY(1px) scale(.98) !important; animation-duration: 1.6s !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .3), inset 0 2px 4px rgba(0, 0, 0, .4) !important; }
@keyframes pl-liq { to { background-position: 0 0, 100% 50%; } }
.pl-rip { position: absolute; width: 20px; height: 20px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 70%); animation: pl-rip .6s ease-out forwards; }
@keyframes pl-rip { from { transform: translate(-50%, -50%) scale(0); opacity: .6; } to { transform: translate(-50%, -50%) scale(4); opacity: 0; } }

/* pbn:mobile-nav */
.pl-mnav{display:none}
@media (max-width:767px){
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .pl-mnav{display:grid;grid-template-columns:repeat(4,1fr) 1.25fr;align-items:center;gap:2px;position:fixed;left:0;right:0;bottom:0;z-index:60;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:rgba(12,12,16,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    border-top:1px solid rgba(255,255,255,.14)}
  .pl-mnav a.pl-mi{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;padding:4px 2px;border-radius:10px;
    color:rgba(255,255,255,.72);font-size:11px;line-height:1.2;text-decoration:none;-webkit-tap-highlight-color:transparent}
  .pl-mnav a.pl-mi[aria-current="page"]{color:#fff;background:rgba(255,255,255,.12)}
  .pl-mnav a.pl-btn{display:flex;align-items:center;justify-content:center;min-height:44px;margin-left:4px;padding:0 6px!important;font-size:14px!important;white-space:nowrap}
}
