    * {
      margin: 0; padding: 0; box-sizing: border-box;
    }

    html, body {
      height: 100%; width: 100%; max-width: 100%;
      font-family: 'Prompt', sans-serif;
      overflow-x: hidden;
    }

    .container-fluid {
      padding: 0 !important; margin: 0 !important;
    }

    .hero-section {
      position: relative;
      height: 100vh;
      color: white;
      font-family: 'Cinzel Decorative', cursive;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding-top: 80px;
    }

    .hero-section video.bg-video {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      z-index: -2;
    }

    .hero-section .overlay {
      background: rgba(0, 0, 0, 0.6);
      position: absolute;
      width: 100%; height: 100%;
      top: 0; left: 0;
      z-index: -1;
    }

    .hero-section h1 {
      font-size: 4rem;
      text-shadow: 0 0 20px #ae00ff;
      animation: glow 2s ease-in-out infinite alternate;
    }

    .hero-section p {
      font-size: 1.25rem;
      color: #ccc;
      margin-bottom: 25px;
    }

    @keyframes glow {
      from { text-shadow: 0 0 10px #ae00ff, 0 0 20px #ae00ff; }
      to   { text-shadow: 0 0 20px #ae00ff, 0 0 40px #ae00ff; }
    }

    .scroll-down {
      font-size: 2.5rem;
      color: #ae00ff;
      cursor: pointer;
      animation: bounce 2s infinite;
      margin-top: 30px;
      transition: transform 0.3s, color 0.3s;
    }

    .scroll-down:hover {
      transform: scale(1.1);
      color: #00ccff;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(10px); }
    }

	.main-section {
	  background: url('../img/bg_mainMorning.jpg') no-repeat center top;
	  background-size: 100% auto;  /* กว้างเต็มจอ, สูงอัตโนมัติ */
	  background-attachment: fixed; 
	  padding: 100px 20px 80px;
	  min-height: 100vh;
	  position: relative;
	  color: white;
	}

    .main-section::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 200px;
      background: url('../shadow_overlay_top.png') no-repeat top center;
      background-size: cover;
      z-index: 1;
    }

    .main-section::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 100%; height: 180px;
      background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
      z-index: 1;
    }

    .main-section > * {
      position: relative;
      z-index: 2;
    }

    .main-section h2 {
      font-family: 'Cinzel Decorative', cursive;
      font-size: 2.5rem;
      text-align: center;
      margin-bottom: 40px;
      text-shadow: 0 0 10px black;
    }

    .news-card {
      background: rgba(0, 0, 0, 0.6);
      border-radius: 10px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .news-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.7);
    }

    .news-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .news-card-body {
      padding: 15px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .news-card h5 {
      font-size: 1.2rem;
      margin-bottom: 10px;
      color: #ae00ff;
      font-family: 'Cinzel Decorative', cursive;
    }

    .news-cardh6 {
      font-size: 1.2rem;
      color: #ae00ff;
      font-family: 'Prompt', cursive;
    }

    .news-cardh7 {
      font-size: 10.2rem;
      color: #ae00ff;
      font-family: 'Prompt', cursive;
    }

    .news-card p {
      font-size: 0.95rem;
      color: #ccc;
    }

    .news-card .btn-read {
      margin-top: 10px;
      font-size: 0.85rem;
      color: #ae00ff;
      text-decoration: underline;
      align-self: flex-start;
    }

.news-filter-btn {
  background: transparent;
  border: 2px solid #ae00ff;
  color: #ae00ff;
  font-weight: bold;
  padding: 0.45rem 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.news-filter-btn i {
  margin-right: 6px;
}

.news-filter-btn:hover {
  background-color: #ae00ff;
  color: #fff;
  box-shadow: 0 0 10px rgba(174, 0, 255, 0.5);
}

.news-filter-btn.active {
  background-color: #ae00ff;
  color: #fff;
  box-shadow: 0 0 10px rgba(174, 0, 255, 0.6);
}


    /* Navbar */
    .navbar {
      position: fixed;
      top: 0; left: 0;
      width: 100%; max-width: 100vw;
      z-index: 1050;
      backdrop-filter: blur(6px);
      background-color: rgba(0, 0, 0, 0.3) !important;
      transition: background-color 0.3s, box-shadow 0.3s;
    }

    .navbar.scrolled {
      background-color: rgba(0, 0, 0, 0.8) !important;
      box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    }

    .navbar .nav-link {
      color: #fff;
      transition: 0.3s;
    }

    .navbar .nav-link:hover, .navbar .nav-link.active {
      color: #ae00ff;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
      width: 10px;
    }
    ::-webkit-scrollbar-track {
      background: #1a1a1a;
    }
    ::-webkit-scrollbar-thumb {
      background: #ae00ff;
      border-radius: 5px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #ae00ff;
    }
    * {
      scrollbar-width: thin;
      scrollbar-color: #ae00ff #1a1a1a;
    }

    .character-left {
      position: absolute;
      bottom: 3;
      left: 0;
      max-height: 800px;
      z-index: 2;
      pointer-events: none;
      transform: translateY(10%);
      animation: float 3s ease-in-out infinite;
    }

.login-box {
  position: relative;
  width: 170px;
  padding: 12px 10px;
  border-radius: 10px;
  overflow: hidden;
  background-image: url('monk_fireball_static.png'); /* ภาพนิ่ง */
  background-size: cover;
  background-position: center;
  transition: background-image 0.3s ease;
}

/* เมื่อเอาเมาส์ไปชี้ เปลี่ยนเป็น gif */
.login-box:hover {
  background-image: url('../img/monk_fireball.gif');
}

/* เงาดำ */
.login-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  border-radius: 10px;
}

.login-box a {
  position: relative;
  z-index: 2;
}

.login-btn {
  display: inline-block;
  font-size: 16px;
  color: #d68aff;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 6px;
}

.login-btn i {
  margin-right: 6px;
}

.login-btn:hover {
  color: #ffffff;
}

.recover-link {
  display: block;
  font-size: 13px;
  color: #9d81f7;
  text-decoration: none;
  border: 1px solid #9d81f7;
  padding: 3px;
  border-radius: 4px;
  transition: 0.3s;
}

.recover-link:hover {
  background-color: #ae00ff;
  color: white;
}

.site-footer {
  background: #000000; /* สีดำแดง */
  color: #ddd;
  padding: 30px 0;
  font-family: 'Kanit', sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.site-footer a {
  color: #ae00ff;
  text-decoration: none;
}

.site-footer .credit-link {
  color: #ae00ff;
  font-weight: bold;
}

.site-footer .social-icons a {
  color: #bbb;
  font-size: 18px;
  margin: 0 8px;
  display: inline-block;
  transition: 0.3s;
}

.site-footer .social-icons a:hover {
  color: #ffffff;
  transform: scale(1.2);
}

.footer-cloud-overlay {
  position: absolute;
  top: -120px; /* ยิ่งติดลบมาก ยิ่งลอยขึ้นสูง */
  left: 0;
  width: 100%;
  z-index: 5;
  pointer-events: none;
}

.glow-o {
  display: inline-block;
  font-weight: bold;
  color: transparent;
  background: linear-gradient(135deg, #00ccff, #ae00ff);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 20px #ae00ff, 0 0 40px #00ccff;
  animation: revealSpin 2.5s ease-out forwards;
  transform-origin: center;
  opacity: 0;
}

@keyframes revealSpin {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.5);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: rotate(360deg) scale(1);
    filter: blur(0px);
  }
}



    @keyframes float {
      0%, 100% { transform: translateY(5%); }
      50% { transform: translateY(0%); }
    }

    @media (max-width: 768px) {
      .character-left {
      display: none;
    }
    }
    

    @media (max-width: 768px) {
      .hero-section h1 { font-size: 2.5rem; }
    }


@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&display=swap');

#loading-screen {
  position: fixed;
  inset: 0;
  background-color: #0d001a;
  z-index: 9999;
  overflow: hidden;
}

.background-top,
.background-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: radial-gradient(ellipse at center, #1a002e 0%, #0d001a 100%);
  z-index: 1;
  transform: translateY(0);
}

.background-top {
  top: 0;
}
.background-bottom {
  bottom: 0;
}

.logo-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-family: 'Cinzel Decorative', cursive;
  font-size: 4rem;
  color: #ffffff;
  letter-spacing: 5px;
  opacity: 0;
  z-index: 2;
  animation: fadeInLogo 1.5s ease-out forwards;
}

@keyframes fadeInLogo {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.logo-o {
  display: inline-block;
  font-weight: bold;
  color: transparent;
  background: linear-gradient(135deg, #00ccff, #ae00ff);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 20px #ae00ff, 0 0 40px #00ccff;
  animation: revealSpinL 1.5s ease-in-out forwards;
  transform-origin: center;
  opacity: 0;
  animation-delay: 1.2s;
}

/* หมุนตัว O แบบ 3D */
@keyframes revealSpinL {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.5);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: rotate(360deg) scale(1);
    filter: blur(0px);
  }
}

@keyframes spinLoop {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* พื้นหลังแยกออก */
@keyframes slideUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

@keyframes slideDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.server-card {
  position: fixed;
  top: 180px;
  left: -200px; /* ซ่อนไว้ก่อน */
  width: 240px;
  height: auto;
  background-image: url('../img/bg_server.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  border: none;
  border-radius: 0 12px 12px 0;
  padding: 50px 20px 20px; /* padding บนเผื่อหัว SERVER INFO */
  color: #000;
  font-family: 'Prompt', sans-serif;
  z-index: 999;
  transition: left 0.4s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.server-card.hidden-left:hover {
  left: 0; /* เลื่อนกลับมาให้เห็นเมื่อ hover */
}

.server-card::before {
  content: '';
  position: absolute;
  right: -10px;
  top: 20%;
  width: 10px;
  height: 60px;
  background: #ae00ff;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 0 10px #ae00ff;
  z-index: 10;
}

.server-card-header {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.2rem;
  color: #ae00ff;
  margin-bottom: 5px;
  text-align: center;
  text-shadow: 0 0 8px #ae00ff;
}

.server-content {
  text-align: left;
  font-size: 14px;
  font-family: 'Prompt', sans-serif;
}

.server-content p {
  margin: 6px 0;
  display: flex;
  align-items: center;
  color: #d46cff;
}

.server-content .label {
  font-weight: bold;
  color: #0d001a;
  margin-left: 5px;
  margin-right: 5px;
  min-width: 60px;
  display: inline-block;
}

.icon-fire {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

/* Mobile - ซ่อนการ slide-in */
@media (max-width: 768px) {
  .server-card {
    display: none;
  }
}


/* ชั้นวางให้ถูก: video(0) < overlay(1) < canvas(2) < content(3) */
.bg-video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; z-index:0;
}
.bp-overlay{ position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(1200px 520px at 50% 0%, rgba(174,0,255,.35), transparent 60%),
    radial-gradient(880px 420px at 80% 60%, rgba(80,190,255,.25), transparent 60%),
    linear-gradient(to bottom, rgba(15,11,22,.25), rgba(15,11,22,.9));
}
#bpLightTrails{ position:absolute; inset:0; z-index:2; pointer-events:none; mix-blend-mode:screen; opacity:.9; }

/* section */
.bp-centered{
  position:relative; min-height:92vh; overflow:hidden;
  display:grid; place-items:center;
}
.bp-center-wrap{ position:relative; z-index:3; text-align:center; color:#ece7ff; padding:2rem 1rem; max-width:980px; }

/* แถวหัวเรื่อง: badge + title ข้างกัน */
.bp-headline{
  display:flex; align-items:center; justify-content:center; gap:.7rem;
  flex-wrap:wrap; /* มือถือจะขึ้นบรรทัดให้อัตโนมัติ */
}

/* badge */
.bp-badge{
  display:inline-block; font:800 13px/1 "Prompt"; letter-spacing:.25em;
  color:#cbb8ff; text-transform:uppercase;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(122,60,255,.18); backdrop-filter:blur(6px);
  border-radius:999px; padding:.48rem .9rem;
}

/* ===== Title effect (ไม่มีแสงกล่องล้นแล้ว) ===== */
.bp-title{
  position: relative; margin:0; line-height:1;
  font-size: clamp(48px, 8vw, 116px); font-weight:800; font-family:"Cinzel Decorative",serif;
}
.bp-title-main{
  position: relative; z-index:2; display:inline-block; padding:.02em .06em;
  background: linear-gradient(92deg,#ffffff 0%, #efe6ff 40%, #c9b3ff 60%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip:text; color:transparent;
  /* ไฮไลต์วิ่งบน "ตัวอักษร" ด้วย background-position (ไม่มีสี่เหลี่ยม) */
  animation: bpGradientSlide 6.5s ease-in-out infinite, bpPulse 3.8s ease-in-out infinite;
  text-shadow: 0 14px 30px rgba(0,0,0,.55),
               0 0 .25em rgba(173,120,255,.35),
               0 0 1.1em rgba(150,90,255,.35);
}
/* ขอบสีเล็ก ๆ */
.bp-title-aberration{
  content:""; position:absolute; inset:0; z-index:1; filter:blur(.6px);
  box-shadow:1.3px 0 rgba(110,160,255,.35), -1.3px 0 rgba(200,120,255,.35);
  animation: bpAberrate 4.8s ease-in-out infinite; pointer-events:none;
}

@keyframes bpGradientSlide{ 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes bpPulse{ 0%,100%{ transform:translateY(0) scale(1) } 50%{ transform:translateY(-1px) scale(1.01) } }
@keyframes bpAberrate{ 0%,100%{ transform:translateX(0); opacity:.6 } 50%{ transform:translateX(.6px); opacity:.8 } }

/* Subtitle gradient */
.bp-sub{ margin:.12rem 0 0; font:800 clamp(14px,2.4vw,24px)/1.2 "Prompt"; letter-spacing:.22em; }
.bp-sub-gradient{
  background: linear-gradient(180deg, #ffffff 0%, #efe6ff 55%, #c2a3ff 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  text-shadow:0 10px 24px rgba(0,0,0,.35);
}

/* underline */
.bp-underline{ width:min(580px,75vw); height:6px; margin:.6rem auto .45rem; position:relative; background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent); border-radius:999px; overflow:hidden; }
.bp-underline .gloss{ position:absolute; inset:0; background:linear-gradient(120deg,transparent 35%,rgba(255,255,255,.9) 50%,transparent 65%); transform:translateX(-120%); animation:glossRun 3.2s ease-in-out 1.2s infinite; }
@keyframes glossRun{ 0%{transform:translateX(-120%)} 55%{transform:translateX(120%)} 100%{transform:translateX(120%)} }

/* countdown + buttons */
.bp-count{ margin-top:.4rem; font:700 14px/1.6 "Prompt"; color:#efe6ff; opacity:.95; text-shadow:0 8px 20px rgba(0,0,0,.35); }
.bp-actions{ display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; margin-top:.55rem; }
.bp-btn{ border-radius:999px; padding:.9rem 1.25rem; font-weight:800; letter-spacing:.02em; border:1px solid rgba(255,255,255,.14); backdrop-filter:blur(6px); }
.bp-primary{ background:linear-gradient(135deg,#7a3cff,#5a2fe3); color:#fff; box-shadow:0 10px 28px rgba(122,60,255,.45); }
.bp-ghost{ background:rgba(23,18,35,.6); color:#e6ddff; }
.bp-primary:hover{ filter:brightness(1.06); transform:translateY(-1px); }
.bp-ghost:hover{ background:rgba(23,18,35,.8); }

/* mobile tweaks */
@media (max-width:640px){
  .bp-headline{ gap:.5rem; }
  .bp-badge{ order:2; }     /* มือถือให้ badge ลงมาหลัง title ถ้าพื้นที่แคบ */
}


/* ====== BP RAIL ====== */
.bp-rail-shell {
  position: relative;
  margin: 28px auto 6px;
  max-width: 1220px;
  padding: 0 72px; /* เผื่อปุ่มเลื่อน */
  z-index: 200;
}

.bp-rail {
  display: flex;
  gap: 22px;
  padding: 16px 20px 18px;
  background: rgba(20,18,28,.35);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow-x: auto;
  overflow-y: hidden;   /* rail แสดงเฉพาะปุ่ม */
  scroll-behavior: smooth;
}
.bp-rail::-webkit-scrollbar { display:none; }

.bp-node {
  position: relative;
  flex: 0 0 auto;
  width: 78px;
  text-align: center;
}
.bp-dot {
  width: 70px; height: 70px;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #a86bff, #6a38ff 70%);
  box-shadow: inset 0 4px 18px rgba(255,255,255,.25),
              0 10px 22px rgba(82,50,255,.35);
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-family: "Cinzel Decorative", serif;
  cursor: pointer;
}
.bp-level { font-size: 22px; text-shadow: 0 2px 10px rgba(255,255,255,.4); }
.bp-gift { margin-top: 8px; color: #ffc657; font-size: 18px; }

.bp-rail-nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  color: #fff; display:grid; place-items:center;
  cursor:pointer; z-index: 210;
}
.bp-rail-nav:hover { background: rgba(255,255,255,.18); }
.bp-rail-nav.bp-left { left: 14px; }
.bp-rail-nav.bp-right { right: 14px; }
.bp-rail.grabbing { cursor: grabbing; }

/* ====== POPOVER ====== */
.bp-pop {
  position: absolute;
  left: 50%; bottom: 92px;
  transform: translate(-50%,10px);
  min-width: 260px; max-width: 320px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(26,20,36,.92);
  border: 1px solid rgba(171,131,255,.35);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  color: #fff;
  visibility: hidden; opacity: 0;
  transition: .18s ease;
  z-index: 999;
}
.bp-node.open .bp-pop {
  visibility: visible; opacity: 1;
  transform: translate(-50%,0);
}
.bp-pop:before {
  content:""; position:absolute; left:50%; bottom:-8px;
  transform:translateX(-50%) rotate(45deg);
  width:14px; height:14px;
  background: inherit; border-left:inherit; border-bottom:inherit;
}

/* เมื่อย้ายออกไป portal */
.bp-pop.as-portal {
  position: fixed !important;
  transform: none !important;
  z-index: 9999 !important;
  left: 0; top: 0; /* JS จะคำนวณจริง */
}

/* ===== Detail (Popover) — polished ===== */
.bp-pop{
  /* พื้นหลังและขอบ */
  background:
    linear-gradient(180deg, rgba(29,22,41,.96) 0%, rgba(24,19,34,.94) 100%);
  border: 1px solid rgba(171,131,255,.35);
  box-shadow:
    0 20px 40px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.04) inset;
  backdrop-filter: blur(8px);

  /* ระยะ/ขนาดอ่านสบาย */
  padding: 14px 16px;
  min-width: 280px;
  max-width: 340px;
  max-height: 74vh;          /* กล่องไม่ยาวเกินจอ */
  overflow: auto;            /* เลื่อนภายในกล่อง */
  border-radius: 16px;
  color: #f2edff;
  line-height: 1.35;
}

/* ลูกศรชี้ลง */
.bp-pop:before{
  width: 14px; height: 14px;
  background: linear-gradient(180deg, rgba(29,22,41,.96), rgba(24,19,34,.94));
  border-left: 1px solid rgba(171,131,255,.35);
  border-bottom: 1px solid rgba(171,131,255,.35);
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
}

/* หัวข้อด้านบน */
.bp-pop-head{
  display: flex; align-items: center; gap: 8px;
  font-family: "Cinzel Decorative", serif;
  font-weight: 800;
  letter-spacing: .3px;
  font-size: 16px;
  color: #EDE4FF;
  margin-bottom: 10px;
}
.bp-pop-head::after{          /* เส้นคั่นบาง ๆ */
  content:"";
  flex:1; height:1px; margin-left:10px;
  background: linear-gradient(90deg, rgba(171,131,255,.35), transparent);
  opacity:.6;
}

/* แท็ก FREE / PREMIUM */
.bp-chip{
  font: 700 11px/1 "Prompt", sans-serif;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: .4px;
  display: inline-flex; align-items:center; gap:6px;
  margin: 10px 0 8px;
}
.bp-chip.free{
  color:#9ec0ff; background: rgba(30,42,82,.45); border:1px solid #3f61ff;
  text-shadow: 0 0 8px rgba(99,137,255,.35);
}
.bp-chip.premium{
  color:#f1d0ff; background: rgba(59,31,100,.45); border:1px solid #8a59ff;
  text-shadow: 0 0 8px rgba(184,119,255,.35);
}

/* รายการไอเทม */
.bp-pop-group{ margin-top: 4px; }
.bp-item{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px;
  border-radius:12px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
}
.bp-item + .bp-item{ margin-top: 8px; }

.bp-item img{
  width:34px; height:34px; flex:0 0 34px;
  object-fit:contain; border-radius:10px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 2px 10px rgba(0,0,0,.25) inset;
}

.bp-item-meta{ flex:1; min-width: 0; }
.bp-item-name{
  font-weight: 700; font-size: 13.5px; color:#ffffff;
  letter-spacing:.1px; margin-bottom:2px;
  white-space: normal; word-break: break-word;
}
.bp-item-sub{            /* x5, ระยะเวลา ฯลฯ */
  font-size: 12px; color:#cfc6e9; opacity:.95;
}
.bp-item-note{           /* หมายเหตุยาว ๆ */
  margin-top: 4px;
  font-size: 12px; color:#d9cdfa;
  opacity:.9;
}

/* ข้อความ “ยังไม่ประกาศของรางวัล” */
.bp-pop-empty{
  color:#cfc6e9; font-size:13px; opacity:.85;
  padding:10px 0 6px;
}

/* สโครลบาร์ภายใน popover เท่านั้น */
.bp-pop::-webkit-scrollbar { width: 8px; }
.bp-pop::-webkit-scrollbar-track { background: transparent; }
.bp-pop::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#7b5bff,#ae55ff);
  border-radius: 999px; opacity:.8;
}
.bp-pop{ scrollbar-width: thin; scrollbar-color: #8a59ff transparent; }

/* เวอร์ชันแคบ (มือถือ) */
@media (max-width: 480px){
  .bp-pop{ min-width: 260px; max-width: 88vw; }
  .bp-item img{ width:32px; height:32px; }
}
