@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

@font-face {
  src: url(../../assets/fonts/Noto_Sans_JP/NotoSansJP-Regular.ttf);
  font-family: 'NotoSansJP-Regular';
}

@font-face {
  src: url(../../assets/fonts/Noto_Sans_JP/NotoSansJP-Medium.ttf);
  font-family: 'NotoSansJP-Medium';
}

@font-face {
  src: url(../../assets/fonts/Noto_Sans_JP/NotoSansJP-Bold.ttf);
  font-family: 'NotoSansJP-Bold';
}

@font-face {
  src: url(../../assets/fonts/Inter/Inter-Regular.ttf);
  font-family: 'Inter';
}

@font-face {
  src: url(../../assets/fonts/Inter/Inter-Regular.ttf);
  font-family: 'Inter-Regular';
}

@font-face {
  src: url(../../assets/fonts/Inter/Inter-Medium.ttf);
  font-family: 'Inter-Medium';
}

@font-face {
  src: url(../../assets/fonts/Inter/Inter-SemiBold.ttf);
  font-family: 'Inter-SemiBold';
}

@font-face {
  src: url(../../assets/fonts/M_PLUS_1/MPLUS1-Bold.ttf);
  font-family: 'MPLUS1-Bold';
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1a202c;
  line-height: 20px;
  background: #121112;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: 'GilroyLight', sans-serif;
}

h2 {
  font-size: 40px;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
}

a:hover {
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

label {
  color: #333;
  font-weight: 400;
  display: block;
  font-size: 13px;
}

lable span {
  color: #333;
}

.btn-primary {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  padding: 8px 15px;
  box-shadow: none;
  background: #5129F1;
  border-radius: 16px;
  position: relative;
  border: 0;
}

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open>.dropdown-toggle.btn-primary.focus,
.open>.dropdown-toggle.btn-primary:focus,
.open>.dropdown-toggle.btn-primary:hover {
  border-color: transparent;
  background: transparent;
  color: #333;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  border-color: transparent;
  background: #5129F1;
  color: #fff;
}

.btn.active,
.btn:active {
  box-shadow: none;
  border-color: transparent;
  background: transparent;
  color: #333;
}

.btn.disabled,
.btn.disabled:hover {
  background: #edf0f1;
  color: #a6a8a9;
  font-weight: 300;
  border-color: transparent;
}

.btn-default {
  background: transparent;
  border: 2px solid #fff;
  font-size: 16px;
  font-weight: 600;
  font-weight: 600;
  color: #fff;
  padding: 8px 15px;
  border-radius: 16px;
}

.btn-small {
  padding: 10px 40px;
}

.form-control {
  height: 44px;
  box-shadow: none;
  border: 1px solid #2A313C;
  padding: 11px 30px 11px 20px;
  height: auto;
  color: #A0AEC0;
  font-size: 14px;
  background: transparent;
  border-radius: 8px;
}

.form-control:focus {
  box-shadow: none;
}

.form-control::-webkit-input-placeholder {
  color: #fff;
}

.form-control::-moz-placeholder {
  color: #fff;
}

.form-control:-ms-input-placeholder {
  color: #fff;
}

.form-control:-moz-placeholder {
  color: #fff;
}

.form-control.error {
  border-color: #c41c56;
}

.form-control.error::-webkit-input-placeholder {
  color: #022736;
}

.form-control.error::-moz-placeholder {
  color: #022736;
}

.form-control.error:-ms-input-placeholder {
  color: #022736;
}

.form-control.error:-moz-placeholder {
  color: #022736;
}

.form-control.error+span {
  font-size: 12px;
  color: #c41c56;
  font-weight: 300;
}

@media(min-width:1200px) {
  .container {
    max-width: 1054px;
    width: 100%;
    z-index: 1;
    position: relative;
  }
}

header {
  position: sticky;
  top: 0px;
  z-index: 1050;
  padding: 8px 0;
  background: #FEFEFE;
  border-bottom: 1px solid #33363E;
}

.top_white_div {
  position: relative;
  background: linear-gradient(145.2deg, #FEFEFE 43.51%, #C8A45D 144.03%);
}

.top_white_div .flex_row {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 16px;
}

.top_white_div .flex_row .text h4 {
  font-size: 28px;
  background: linear-gradient(93.63deg, #E2C98F -6.14%, #C8A45D 19.72%, #8C6D35 94.49%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  padding-top: 15px;
  position: relative;
}

.top_white_div .flex_row .text h4::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: #C8A45D;
  width: 40px;
  height: 2px;
}

.top_white_div .flex_row .cartoon_img {
  flex-shrink: 0;
}

.top_white_div .flex_row .cartoon_img img {
  width: 200px;
}

header .logo img {
  max-width: 90px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .headerright {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

header .btn-account img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

header .headercart {
  display: flex;
  align-items: center;
  position: relative;
  background: #F3F0E9;
  border-radius: 20px;
  padding: 3px 4px;
  gap: 3px;
}

header .headercart.miles {
  margin-right: 8px;
}

header .headercart .star img {
  width: 20px;
  /* position: relative; */
  /* right: -14px; */
}

header .headercart .text {
  color: #121112;
  font-size: 13px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
}

.account-balance-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.account-balance-row .headercart {
  flex: 1;
  min-width: 0;
  position: relative;
}

.account-balance-row .headercart .star {
  width: 35px;
  height: 35px;
  position: absolute;
  left: -10px;
}

.account-balance-row .headercart .text {
  min-width: 0px;
  width: 100%;
  font-weight: 700;
  font-size: 12px;
}

header .btn-back a {
  display: inline-block;
  background: url(../img/btn-back-arrow.svg) 6px 13px no-repeat rgba(0, 0, 0, 0.2);
  padding: 10px 10px 11px 25px;
  color: #fff;
  font-weight: 600;
  background-size: 14px 14px;
  text-decoration: none;
  border-radius: 8px;
}

.main-container {
  min-height: calc(100vh - 364px);
}

.main-container.historypage {
  background: url(../../assets/images/gacha-result-background.jpg);
  background-repeat: repeat;
  background-size: cover;
  /* history/all-history render no bottom nav bar, so only the header needs
     clearing. The old 125px also reserved the (absent) bottom bar, leaving the
     light panel ~60px short and exposing the dark body as a black strip on short
     tabs. Subtract the header only so the light background reaches the bottom. */
  min-height: calc(100vh - 65px);
  background-attachment: fixed;
  background-position: center;
  /* The site is dark by default (body #121112) but this page is light; arriving
     from a dark page the switch snaps harshly. Ease the light page in over the
     dark background so the dark->light change reads as a soft fade, not a jump. */
  animation: historyPageFadeIn 0.35s ease-in;
}

@keyframes historyPageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.main-container.historypage.hide-footer-after-redeem {
  min-height: calc(100vh - 79px);
}

.main-container.historypage.has-sold-out-series,
.main-container.historypage:has(.series-div .history-sold-out-series) {
  min-height: calc(100vh - 60px);
}

body.opensidebar {
  overflow: hidden;
}

.sidebar-portal {
  opacity: 0;
  visibility: hidden;
  transition: 0.5s all ease;
}

body.opensidebar .sidebar-portal {
  opacity: 1;
  visibility: visible;
}

.sidebar-portal-content {
  position: fixed;
  z-index: 1;
  background: #fff;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  overflow: hidden;
  transition: 0.5s all ease;
}

.sidebar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.sidebar-grid>div {
  flex: 0 0 calc(50% - 5px);
  margin-bottom: 0 !important;
}

.sidebar-grid .btn {
  width: 100%;
  padding: 10px 5px;
  font-size: 11px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

body.opensidebar .sidebar-portal-content {
  right: 0;
}

.sidebar-shadow {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.46);
  z-index: 1;
}

.sidebar-head {
  padding: 20px;
  border-bottom: 1px solid #ddd;
  font-size: 20px;
  font-weight: 700;
  position: relative;
}

.btn-close-sidebar {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-sidebar img {
  width: 12x;
  height: 12px;
}

.sidebar-content {
  padding: 15px;
  height: calc(100vh - 60px);
  overflow: hidden;
  overflow-y: auto;
}

.buypointsdiv {}

.buypointsdiv .possession-point {
  background: url(../img/icon-possession.svg) no-repeat;
  background-size: 16px 16px;
  padding: 0 0 0 25px;
  font-size: 12px;
  margin-bottom: 20px;
  background-position: 0 1px;
}

.buypointsdiv .possession-text {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

.point-expiry-div .btn,
.buypointsdiv .btn {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
}

.redeem-coupon-div .btn,
.invitation .btn,
.redeem-card-history .btn,
.acquisition-card-div .btn {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
}

.redeem-card-history {
  margin-bottom: 20px;
}

.css-1nlrkd1 {
  margin-bottom: 40px;
}

.css-1nlrkd1 .chakra-link {
  border: 1px solid rgb(189, 189, 189);
  border-radius: 12px;
  display: block;
  padding: 20px 40px 20px 20px;
  color: #757575;
  text-decoration: none;
  background: url(../img/icon-arrow-right-gray.svg) no-repeat;
  background-size: 20px 20px;
  background-position: calc(100% - 15px) 53%;
}

.acquisition-history {}

.acquisition-history .css-ncfona {
  margin-bottom: 50px;
}

.acquisition-history .css-ncfona span {
  display: inline-block;
  border-bottom: 1px solid rgb(117, 117, 117);
}

.acquisition-history p,
.acquisition-history p a {
  color: #757575;
  font-size: 14px;
}

.acquisition-history p small {
  font-family: 13px;
}

.page-title {
  color: #000;
  font-weight: 700;
  font-size: 18px;
  border-bottom: 1px solid #bdbdbd;
  padding: 15px 0;
  margin-bottom: 5px;
}

.grid {
  max-width: 800px;
  margin: 0 auto 40px;
}

.grid .items {
  position: relative;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0px 1px 15px 0px #00000033;
  overflow: hidden;
  margin-bottom: 30px;
}

.grid .items:hover {
  opacity: 0.4;
}

.grid .items .item-secondimg {
  margin-bottom: 0px;
  line-height: 24px;
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  text-shadow: rgb(0, 0, 0) 0px 0px 8px;
  text-align: center;
}

.grid .items .bgimg {
  overflow: hidden;
}

.grid .item-content {
  background-color: transparent;
  position: relative;
  z-index: 1;
  padding: 0px 12px 12px 12px;
}

.grid.details .item-content {
  position: sticky;
  top: 78px;
  background-color: #121112;
}

/* Admin product preview has no fixed site header, so the sticky content sits
   flush at the top (mobile + desktop). Scoped to the preview; the live detail
   page keeps its 78px header offset. */
.grid.details.is-preview .item-content {
  top: 0;
}

.bg-over {
  background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 72%);
}

.grid .item-content .text2 {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 2px 0px 4px 8px;
  width: 100%;
  font-size: 18px;
  color: #151515;
}

.grid .item-content .text2 .f9 {
  font-size: 9px;
}

.grid .item-content .pricetag {
  text-align: center;
}

.grid.details .price_row1 {
  padding-top: 0 !important;
}

/* .grid .item-content .pricetag .price {
    position: relative;
    bottom: -15px;
    background: url(../../assets/images/icon-tag.svg) no-repeat center;
    display: inline-block;
    font-weight: 600;
    color: #F1A81D;
  } */

.pricetag .price img {
  max-width: 20px;
}

.grid .item-content .pricetag .price img,
.grid .item-content .pricetag .price span {
  display: inline-block;
  vertical-align: middle;
}

.grid.details {
  max-width: 790px;
  margin: 0 auto 40px;
}

.grid.details .items {
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  overflow: hidden;
}

.grid.details .items:hover {
  opacity: 1;
}

.grid.details .items .bgimg {
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

.grid.details .items.blurimg .bgimg {
  filter: blur(4px);
}

/* .grid.details .item-content{position:fixed; z-index:111; bottom:0; left:0; right:0; text-align:center;} */
.grid.details .item-secondimg {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  padding: 0;
}

.grid.details .item-secondimg img {
  max-height: 200px;
}

.grid.details .blurimg .bgimg {
  filter: blur(4px);
}

.grid.details .detailimg {
  position: relative;
  z-index: 11;
  top: 100vh;
  box-shadow: 0 20px 50px 0px rgba(0, 0, 0, 0.1);
}

.grid.details .items .bgimg img {
  max-width: 450px;
}

.btn-container {
  margin-bottom: 20px;
}

.btn-default {
  color: #F3F0E9 !important;
  background: #22252B !important;
  border: 1px solid #33363E !important;
  font-weight: 700;
  border-radius: 8px;
  border: 0;
}

.btn-default:hover {
  background: #22252B !important;
  border-color: #33363E !important;
  color: #F3F0E9;
}

.btn-primary {
  background: #C31421 !important;
  color: #F3F0E9;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid #C8A45D80;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active:focus {
  background: #C31421 !important;
  color: #F3F0E9;
  box-shadow: none !important;
  outline: none;
  border: 1px solid #C8A45D80;
}

.points .page-title {
  margin-bottom: 0;
}

.point-grid {
  background: #f5f5f5;
}

.point-grid .topbar {
  background: #FAFAFA;
  padding: 8px 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.point-grid .topbar .text {
  font-weight: 700;
}

.point-grid .topbar .totalpoints {
  font-weight: 700;
  font-size: 16px;
  color: #000;
}

.point-grid .subtext {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 13px;
}

.point-grid .item-container {
  padding: 15px;
  background: #f5f5f5;
}

.point-grid .items {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.point-grid .items .img {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}

.point-grid .items .text {
  width: calc(100% - 140px);
}

.point-grid .items .text .item-name {
  font-weight: 700;
  color: #000;
  margin-bottom: 5px;
}

.point-grid .items .text .item-name span {
  font-size: 24px;
  display: inline-block;
  vertical-align: middle;
}

.point-grid .items .text p {
  color: #757575;
  margin-bottom: 0;
}

.point-grid .items .action {
  width: 70px;
}

.point-grid .items .action .btn {
  padding: 8px 20px;
}

.history-items .items input {
  border: 0px;
  clip: rect(0px, 0px, 0px, 0px);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0px;
  overflow: hidden;
  white-space: nowrap;
  position: absolute;
}

/* .history-items .items input:checked ~ .items-content{background:rgba(0, 0, 0, 0.4);}
  .history-items .items input:checked ~ .items-content .img{opacity:0.5;} */
.nav-tabs {
  border: 0;
  margin-bottom: 40px;
}

.nav-tabs .nav-item {
  width: 33.3333%;
}

.nav-tabs .nav-item .nav-link {
  border: 0;
  width: 100%;
  border-bottom: 3px solid #e2e8f0;
  /* Was #bdbdbd = 1.88:1 on white. Darker grey (5.7:1) for AA; the active tab
     stays #000 so the selected state still stands out. */
  color: #666666;
  font-weight: 700;
  background-color: white;
}

.nav-tabs .nav-item .nav-link.active {
  border-bottom: 3px solid #D6001C;
  color: #000000;
}

.historypage .title {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 700;
}

.historypage .graytext {
  /* Was #bdbdbd ~1.9:1. This is the important 14-day auto-conversion rule, so use
     a dark grey (~7:1) that stays readable even over the gacha-result watermark. */
  color: #595959;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 25px;
}

/* History empty state: the page background is the grey アドオリ watermark
   (gacha-result-background.jpg), so centred "no items" text landed on top of the
   logo and was unreadable. Put the message on a near-opaque chip with dark,
   AA-contrast text so it reads cleanly above the watermark instead of on it. */
.no-cards-section {
  display: flex;
  justify-content: center;
  padding: 24px 12px;
}

.no-cards-section p {
  margin: 0;
  color: #333333;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  border-radius: 8px;
}

.history-items .items {
  max-width: 512px;
  position: relative;
  padding: 15px 15px 15px 0;
  margin-bottom: 10px;
}

/* Default state */
#unselected .history-items .items label::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 8px;
  top: 8px;
  background: url(../img/icon-check-circle.svg) no-repeat;
  background-size: 30px;
}

#unselected .history-items .list_item_grid .items.select label::after {
  right: -8px;
  top: -4px;
}

#unselected .history-items .list_item_grid .items label::after {
  right: -8px;
  top: -4px;
}

/* Checked state */
#unselected .history-items .items.select label::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 8px;
  top: 8px;
  background: url(../img/icon-check-circle_checked.svg) no-repeat;
  background-size: 30px;
}

.history-items .items .items-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  border-radius: 8px;
  box-shadow: 0 3px 5px 2px rgba(0, 0, 0, 0.06);
  background-color: #fff;
}

/* .history-items .items .items-content .left{width:90px; padding-right:10px;} */
/* .history-items .items .items-content .img{position:relative;height: 95px; width: 70px; position: relative; box-shadow: var(--chakra-shadows-2xl); transform: rotate(-10deg); box-shadow:0 10px 20px rgb(0 0 0 / 30%);} */
/* .history-items .items .items-content .img:after{content:""; display:block; width:30px; height:30px; position:absolute; bottom:5px; right:-15px;background:url(../img/iconP.png) no-repeat; background-size:cover; background-position:bottom right;} */
.historypage .tab-content {
  padding-bottom: 160px;
}

.history-items .items .items-content .right {
  padding: 10px 15px 5px;
}

.history-items .items .items-content .right p {
  margin-bottom: 1px;
  text-align: right;
}

.history-items .items .items-content .right .text1 {
  font-weight: 700;
  color: #1a202c;
}

.history-items .items .items-content .right .text2 {
  font-weight: 700;
  color: rgb(0 0 0 / 54%);
}

.history-items .items .items-content .right .text3 {
  font-weight: 400;
  color: rgb(0 0 0 / 54%);
}

.history-items .items .items-content .right .text4 {
  font-weight: 700;
  color: #1a202c;
}

.history-items .items .items-content .right .text5 {
  font-weight: 600;
  color: rgb(0 0 0 / 54%);
}

.history-items a {
  text-decoration: none;
}

.history-tier2 {
  display: flex;
  bottom: 0px;
  left: 0px;
  z-index: 1000;
  background: rgb(255, 255, 255);
  flex-direction: column;
  position: fixed;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 -1px 16px #00000021;
  padding: 20px 20px 0 20px;
  width: 100%;
}

.history-tier2 .inner_tier {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.history-tier2 .btn-container {
  margin-bottom: 10px;
}

.history-tier2 .btn-container .btn {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  padding: 10px;
}

.history-tier2 .btn-container .btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.red-point {
  margin-bottom: 20px;
}

.red-point .title {
  font-size: 20px;
  font-weight: 700;
}

.mail-address .link {
  border: 1px solid rgb(189, 189, 189);
  border-radius: 12px;
  display: block;
  padding: 15px 30px 15px 15px;
  color: #757575;
  text-decoration: none;
  background: url(../img/icon-arrow-right-gray.svg) no-repeat;
  background-size: 20px 20px;
  background-position: calc(100% - 15px) 53%;
}

.customlink {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: block;
  padding: 10px 40px 10px 10px;
  text-decoration: none;
  background: url(../img/icon-arrow-right.svg) no-repeat;
  background-size: 16px 16px;
  background-position: calc(100% - 10px) 53%;
  display: inline-block;
  color: #000;
  font-size: 16px;
}

.customlink:hover {
  background: url(../img/icon-arrow-right.svg) no-repeat #e2e8f0;
  background-size: 16px 16px;
  background-position: calc(100% - 10px) 53%;
  color: #000;
}

.headertitle {
  font-size: 18px;
  font-weight: 700;
}

.lotry-title {
  color: #bdbdbd;
  font-size: 18px;
  font-weight: 700;
  margin: 25px 0px 10px 0px;
}

.lottery-items .items:after {
  display: none;
}

.lottery-items .items .items-content .right p {
  font-size: 14px;
}

.video-container {
  width: 100%;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.video-container .btn_relatives {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.video-container video {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.video-container .btn-container {
  position: absolute;
  left: 0;
  right: 30px;
  ;
  bottom: 40px;
  display: flex;
  justify-content: end;
  z-index: 10;
}

.video-container .btn-container {
  margin-bottom: 0;
}

.video-container .btn-container a {
  background: #fff;
  border-radius: 6px;
  display: inline-block;
  padding: 8px 15px;
  text-decoration: none;
  color: #000;
}

.video-container .btn-container a svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}

.video-container #video_overlay_text {
  position: absolute;
  z-index: 9;
  bottom: 280px;
  right: 30px;
  margin-bottom: 0;
}

.video-container #video_overlay_text p {
  background: #fff;
  border-radius: 6px;
  display: inline-block;
  padding: 8px 15px;
  text-decoration: none;
  color: #000;
}

.videopage {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.cus-header .container {
  display: block;
}

.cus-header .borderdiv {
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 44px;
}

/*.cus-header .logo{width:100px;}*/
.cus-header .pagetitle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}

/*.cus-header .headerright{width:100px;}*/
/* .login-link{color:#333; font-weight:700; font-size:14px; text-decoration:none; margin-right:10px; display:inline-block;} */
.bottombar {
  border-top: 1px solid #33363E;
  background: #121317F7;
  position: sticky;
  left: 0;
  bottom: 0;
  z-index: 100;
}

.bottomnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 540px;
  margin: 0 auto;
}

.bottomnav .items {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 0;
}

.bottomnav .items.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 24px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  background-color: #C8A45D;
}

.bottomnav .items a {
  color: #8F929A;
  font-size: 11px;
  text-decoration: none;
  font-family: 'Noto Sans JP';
  font-weight: 700;
}

.bottomnav .items.active a {
  color: #C8A45D;
}

.bottomnav .items .img {
  width: 24px;
  height: 24px;
  margin: 0 auto 5px;
  color: #8F929A;
}

.bottomnav .items.active .img {
  color: #C8A45D;
}

.bottomnav .items span {
  display: block;
  text-align: center;
}

.loginform {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px;
}

.loginform .title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.loginform .boldtext {
  font-size: 22px;
  font-weight: 700;
}

.loginform .link a {
  color: #EF4A5E;
  font-weight: 700;
  font-size: 15px;
}

/* Dark-theme readability for auth forms (login / register / password reset) */
.loginform .boldtext,
.loginform label,
.loginform .showpwd span,
.loginform .cus_checkbox span,
.loginform .buttons p,
.loginform .fgtpwdtext {
  color: #F3F0E9;
}

/* Bootstrap's .text-muted is !important and grey (#6c757d, 4.02:1 on the dark form) */
.loginform .text-muted {
  color: #B3B5BC !important;
}

.loginform .forgotpwd a,
.loginform .forgotpwd a.text-muted {
  /* Distinguish the links from the grey sentence with weight + the existing
     underline rather than colour: near-white and bold so they read as links
     without the red. */
  color: #F3F0E9 !important;
  font-weight: 700;
}

.form label {
  font-size: 15px;
  line-height: 1;
  margin-bottom: 8px;
}

.form .form-group {
  margin-bottom: 30px;
}

.form-control {
  height: 44px;
  width: 100%;
  background: #f5f5f5;
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 8px;
  font-size: 16px;
  padding: 0 16px;
  color: #000;
}

.form-control.error {
  background: rgba(242, 38, 89, .08);
  border: 1px solid rgba(242, 38, 89, .4);
}

.form-control::-webkit-input-placeholder {
  color: #000;
}

.form-control::-moz-placeholder {
  color: #000;
}

.form-control:-ms-input-placeholder {
  color: #000;
}

.form-control:-moz-placeholder {
  color: #000;
}

.form .btn {
  width: 100%;
  max-width: 420px;
  height: 44px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: .2s;
  cursor: pointer;
  line-height: 14px;
}

.form .buttons {
  text-align: center;
  margin-bottom: 20px;
}

.showpwd {
  margin-bottom: 30px;
}

.forgotpwd {
  text-align: center;
  /* Was #333 (near-black) — invisible on the dark auth pages. Lift to the same
     light grey used for the links in this block so the agreement text is legible. */
  color: #B3B5BC;
  font-size: 13px;
  line-height: 18px;
  max-width: 360px;
  margin: 0 auto;
}

.forgotpwd a {
  color: #333;
  text-decoration: underline;
  font-size: 13px;
  line-height: 18px;
}

.cus_checkbox {
  position: relative;
}

.cus_checkbox input {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
}

.cus_checkbox span:before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  width: 18px;
  height: 18px;
  border: 2px solid #e4e4e4;
  vertical-align: middle;
  border-radius: 3px;
}

.cus_checkbox input:checked~span:before {
  background: #C8A45D;
  border-color: #C8A45D;
}

.cus_checkbox span:after {
  content: "";
  display: none;
  /* checkmark shown only when checked (see rule below) */
  position: absolute;
  top: 50%;
  left: 7px;
  width: 5px;
  height: 10px;
  transform: translateY(-50%) rotate(40deg);
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}

.cus_checkbox input:checked~span:after {
  display: block;
}

.cus-header {
  background: #fff;
  padding-bottom: 0;
}

/* 2FA / google2fa header: the right-side Logout text link uses the same red as the
   login/register page links (.loginform .link a), instead of the default blue.
   Scoped to the direct child so it never touches the .head_btn .login-link BUTTON
   (a red button that keeps white text). */
.cus-header .headerright>.login-link {
  color: #d6001c;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #d6001c;
  border-radius: 999px;
}

.cus-header .headerright>.login-link:hover {
  color: #a80016;
  border-color: #a80016;
}

.loginform {
  padding: 30px 16px;
}

.fgtpwdtext {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  max-width: 500px;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  color: rgb(0 0 0 / 26%);
  background: #f1f1f1;
}

.darkgreyfooter {
  width: 100%;
  background: #FEFEFE;
  padding: 32px 24px 0;
  color: #fff;
  display: flex;
  justify-content: center;
}

.darkgreyfooter .title {
  font-weight: 700;
  margin-bottom: 15px;
}

.darkgreyfooter ul {
  margin: 0;
  padding: 0;
}

.darkgreyfooter ul li {
  list-style: none;
  margin-bottom: 5px;
}

.darkgreyfooter ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.addressbuttons .btn-primary {
  margin-top: 30px;
}

select.form-control {
  background: url(../img/select-arrow-down.png) #f5f5f5 no-repeat;
  background-position: calc(100% - 15px) 12px;
}

.icon-arrow-back {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-arrow-back:after,
.icon-arrow-back:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background: #333;
  left: 50%;
}

.icon-arrow-back:before {
  top: calc(50% + 2px);
  transform: translate(-50%, -50%) rotate(45deg);
}

.icon-arrow-back:after {
  bottom: calc(50% + 2px);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.registerform {
  max-width: 100%;
  margin: 0 auto;
  padding: 32px 0;
  min-height: 100vh;
}

.registerform .btn {
  max-width: 100%;
}

.modal.show {
  align-items: center;
  justify-content: center;
}

.alertpopup .title {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 20px;
}

.alertpopup p.desc {
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
}

.alertpopup .modal-body {
  padding: 30px 30px 0 30px;
}

.alertpopup .modal-footer {
  border-top: 0;
  padding: 0 30px 30px 30px
}

.alertpopup .modal-footer button {
  width: 100%;
  padding: 10px 15px;
  font-weight: 700;
}

.alertpopup .modal-footer .btn-secondary {
  margin-top: 10px;
}

.btn-secondary {
  background: #e2e8f0;
  color: #333;
  border: 0;
}

@media(min-width: 576px) {
  .modal-dialog {
    max-width: 384px;
  }
}

@media(max-width:767px) {

  /* header .headerright{width: calc(100% - 100px);} */
  header .btn-back a {
    font-size: 14px;
  }

  .nav-tabs .nav-item .nav-link {
    font-size: 14px;
  }

  .history-tier2 {
    /* position:relative; */
    padding: 20px 0 0;
  }

  /* .historypage .nav-tabs .nav-item{width:100%;} */
  .mail-address {
    margin-bottom: 20px;
  }

  .mail-address .link {
    font-size: 14px;
  }
}

.grid {
  margin: 10px auto;
}

header .headercart .plus {
  text-decoration: none !important;
  line-height: 1;
}

/*bg color set form spin buttons*/
.pink-btn {
  background: #ffbbf5;
  font-weight: 700;
  border-radius: 8px;
  padding: 16px 24px;
  border: 0;
}

.blue-btn {
  background: #13b1d3;
  font-weight: 700;
  border-radius: 8px;
  /* padding: 16px 24px; */
  border: 0;
}

.pink-btn:hover {
  background-color: #f4a2e8;
}

.blue-btn:hover {
  background-color: #00a5c8;
}

/*new changes on 22/06*/

.landing .items {
  background-color: #1A1C21;
  border: 1px solid #33363E;
  padding: 0;
  position: relative;
}

/* .bglayer {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 1px;
  border-radius: 9px;
  background: linear-gradient(131.46deg, #EFD79B 0%, #FFF2D3 35%, #EFD79B 65%, #FFF2D3 100%);
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  background-size: 300% 300%;
  animation: animatedgradient 3s ease alternate infinite;
} */

@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

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

.landing .items:hover {
  opacity: 1;
}

.landing .items .bgimg {
  overflow: hidden;
  padding: 0px;
  position: relative;
}

.landing .items .bgimg img {
  border-radius: 0;
  width: 100%;
}

.landing .items .bgimg span {
  overflow: hidden;
  border-radius: 6px;
  display: inline-block;
}

.landing .item-content .pricetag {
  background: transparent;
  padding: 0px;
}

.landing .item-content .pricetag .price {
  padding-right: 0;
  background: transparent;
  color: #F1A81D;
  bottom: 0;
}

.landing .item-content .pricetag .price img {
  max-width: 20px;
  vertical-align: middle;
}

.landing .items .new_user_tags {
  padding: 5px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.landing .items .new_user_tags .comSpan {
  font-size: 12px;
  font-family: 'Noto Sans JP';
  font-weight: 400;
  color: #252525;
  padding: 0px 8px;
  border-radius: 30px;
  display: inline-block;
}

/* The tag row truncates with an ellipsis. Without an explicit colour the dots
   inherit the body's near-black and disappear against the card background, and
   without min-width:0 the flex item never shrinks, so they never render at all. */
.landing .items .new_user_tags .left_tag {
  min-width: 0;
  color: #fff;
}

.landing .items .new_user_tags .right_tag {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.landing .items .new_user_tags .right_tag span.spin-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #EF352C;
  opacity: 1;
  font-family: 'Noto Sans JP';
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.landing .items .spin-count-badge__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.entries-limit {
  text-align: start;
  padding: 10px;
  max-width: 640px;
  margin: 0 auto 15px;
  background-color: #fff5d9;
  border-radius: 8px;
}

.entries-limit .limits {
  font-size: 12px;
  color: #151515;
  font-family: 'Inter-Medium';
  font-weight: 500;
}

.entries-limit .limits svg {
  color: #f3be20;
  margin-right: 5px;
  vertical-align: middle;
}

.entries-limit .limit_ref .btn {
  font-size: 12px;
  font-family: 'Inter-Medium';
  font-weight: 500;
  color: #f3be20;
  border-bottom: 1px dashed #f3be20;
  outline: none;
  border-radius: 0;
  padding: 2px;
  margin-left: 12px;
}

.entries-limit .limit_ref .btn svg {
  font-size: 12px;
  margin-right: 5px;
}

.entriesModal .modal-dialog {
  justify-content: center;
}

.entriesModal .modal-content {
  max-width: 320px;
  overflow-y: auto;
  background: #1A1C21;
  color: #F3F0E9;
  border: 1px solid #33363E;
  border-radius: 10px;
}

.entriesModal .modal-header {
  background-color: #22252B;
  justify-content: center;
  color: #F3F0E9;
  border: none;
  border-bottom: 1px solid #33363E;
  font-family: 'Inter-SemiBold';
  font-weight: 600;
}

.entriesModal .modal-body p {
  color: #F3F0E9;
  font-size: 13px;
  font-family: 'Inter-Medium';
  font-weight: 500;
}

/* Default btn-close is a near-black SVG, invisible on the dark body */
.entriesModal .modal-body .btn-close {
  margin: 0 auto;
  display: block;
  filter: invert(1) grayscale(100%) brightness(200%);
}

.progress {
  background-color: #8F929A !important;
  border-radius: 30px;
  height: 9px;
  padding: 0;
}

.progress .progress-bar {
  background: #31E275;
  border-radius: 30px;
}

.progress .progress-bar.yellow {
  background: #FFD21F;
}

.progress .progress-bar.red {
  background: #FF0004;
}

.price_row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 0;
  gap: 20px;
}

.price_row1 .new_add {
  flex: 1;
}

.pricetag .price sub {
  bottom: -1px;
  margin-left: 2px;
  color: #B3B5BC;
  font-size: 12px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
}

.pricetag .price2 .f4 {
  font-size: 12px;
  font-family: 'Noto Sans JP';
  font-weight: 500;
}

.pricetag .price2 {
  color: #F3F0E9;
  font-family: "Noto Sans", sans-serif;
  margin-bottom: 5px;
}

.pricetag .price2 .soldText {
  font-size: 12px;
  color: #FF3B3F;
  font-family: 'Noto Sans JP';
  font-weight: 500;
}

.pricetag .price2 .valuetext {
  font-size: 13px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
}

.pricetag .price2 sub {
  bottom: -1px;
  font-family: "Noto Sans", sans-serif;
  color: #B3B5BC;
  font-size: 16px;
}

.pricetag .price span {
  font-size: 16px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  color: #F3F0E9;
}

/* The after-redeem "play again" series renders on a WHITE card, so the pricetag
   text (light #F3F0E9, meant for the dark landing card) needs a dark, readable color. */
.after-redeem-content .pricetag .price span,
.after-redeem-content .pricetag .price2,
.after-redeem-content .pricetag .price2 .f4,
.after-redeem-content .pricetag .price2 .valuetext {
  color: #121112;
}

/* Space the play-again gacha buttons from the progress/remaining row above them. */
.after-redeem-content .btn-box {
  margin-top: 14px;
}

.landing .item-content .pricetag .price2 span sub {
  margin-left: 2px;
}

.items .hoverdiv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  transition: 0.5s all ease;
}

@media(max-width:767px) {

  /* header .logo{width:100px;} */
  /* header .headerright{width: 100%} */
  header .btn-back a {
    font-size: 14px;
  }

  .nav-tabs .nav-item .nav-link {
    font-size: 14px;
  }

  .history-tier2 {
    /* position:relative; */
    padding: 20px 0 0;
  }

  /* .historypage .nav-tabs .nav-item{width:100%;} */
  .mail-address {
    margin-bottom: 20px;
  }

  .mail-address .link {
    font-size: 14px;
  }

  .videopage .container {
    padding: 0;
  }

  .videopage {
    position: relative;
  }

  /* .video-container .btn-container{top:60px;} */
  .sidebar-content {
    padding-bottom: 160px;
  }

  .account-balance-row {
    gap: 10px;
  }

  .point-expiry-div .btn,
  .buypointsdiv .btn,
  .redeem-coupon-div .btn,
  .redeem-card-history .btn {
    margin-bottom: 10px;
  }

  .css-1nlrkd1 {
    margin-bottom: 20px;
  }

  .acquisition-history .css-ncfona {
    margin-bottom: 30px;
  }

  .grid.details .items .bgimg img {
    max-width: 100%;
  }

  table.dataTable thead>tr>th.sorting_asc:before,
  table.dataTable thead>tr>th.sorting_desc:after,
  table.dataTable thead>tr>td.sorting_asc:before,
  table.dataTable thead>tr>td.sorting_desc:after {
    opacity: 1 !important;
  }
}

@media only screen and (max-width: 768px) {

  /* For mobile phones: */
  .keep-btn-div {
    margin-top: 1rem;
  }

  .cancel-btn-div {
    margin-top: 1rem;
  }

  /* .cus-header .headerright{width: calc(100% - 100px);} */
  .menu-form .form-main-div {
    width: 100% !important;
  }
}

div.dataTables_wrapper div.dataTables_length select {
  min-width: 80px !important;
}

textarea#address {
  padding-top: 8px;
}

textarea#address::placeholder {
  line-height: normal;
  padding-top: 4px;
  margin-top: -4px;
}

table.dataTable thead>tr>th.sorting:before {
  content: "" !important;
  display: block;
  width: 12px;
  height: 9px;
  background: url(../img/sorting-arrow-up.png) no-repeat;
  background-position: center;
}

table.dataTable thead>tr>th.sorting:after {
  content: "" !important;
  display: block;
  width: 12px;
  height: 9px;
  background: url(../img/sorting-arrow-down.png) no-repeat;
  background-position: center;
}

.start_date_time,
.end_date_time {
  font-size: 13px;
  color: #E2C98F;
  background-color: transparent;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  text-align: center;
  padding-top: 10px;
}

/* Coming-soon block: countdown with a plain COMING SOON caption under it (as in demo-premium) */
.countdown-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
}

.btn-box .countdown-section label.f4 {
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  font-size: 13px;
}

/* #start_date_time span img {
    filter: invert(1);
  } */

.hoverdiv {
  position: relative;
  text-align: center;
  font-family: Arial, sans-serif;
}

.sold-out-text {
  position: relative;
  font-size: 56px;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(180deg, #597BBC 0%, #354C78 77.88%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.sold-out-text::before,
.coming-soon-text::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  color: white;
  -webkit-text-stroke: 6px white;
}

.coming-soon-text-div {
  position: absolute;
  z-index: 999;
  bottom: 33%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 19px;
  border-radius: 10px;
  font-size: 30px;
  width: 100%;
  font-family: 'MPLUS1-Bold';
  text-align: center;
  height: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  top: 0;
}

/* With the tag bar above it the overlay no longer meets the card's top edge, so
   its rounded top corners would let the image show through at the corners. */
.landing .items .new_user_tags + a .coming-soon-text-div {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.coming-soon-text-div img {
  max-width: 239px;
  width: 100%;
}

@media (min-width: 575px) and (max-width: 768px) {
  .coming-soon-text-div {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .noti-container {
    width: 100% !important;
  }
}

input::placeholder,
textarea::placeholder {
  color: gray !important;
}

@media(max-width:1199px) {

  /* body.set-bg-image{background:none !important;} */
  /*body.set-bg-image:before{content:""; display:block; width:100%; height:100%; position:fixed; top:0; left:0; right:0; background:url(../../assets/images/閭梧勹逕ｻ蜒�.jpg) no-repeat; background-size:cover; }*/
  body.set-bg-image .container-fluid,
  body.set-bg-image .main-container {
    position: relative;
  }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: $card-bg;
  z-index: 9999;
}

#status {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Page preloader spinner matches the landing/x-feeds gold spinner */
#preloader .spinner-border {
  color: #C8A45D;
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

.spinner-chase {
  margin: 0 auto 10px;
  width: 40px;
  height: 40px;
  position: relative;
  animation: spinner-chase 3.5s infinite linear both;
}

.chase-dot {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  animation: chase-dot 3.0s infinite ease-in-out both;

  &:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: #556ee6;
    border-radius: 100%;
    animation: chase-dot-before 3.0s infinite ease-in-out both;
  }

  &:nth-child(1) {
    animation-delay: -1.1s;

    &:before {
      animation-delay: -1.1s;
    }
  }

  &:nth-child(2) {
    animation-delay: -1.0s;

    &:before {
      animation-delay: -1.0s;
    }
  }

  &:nth-child(3) {
    animation-delay: -0.9s;

    &:before {
      animation-delay: -0.9s;
    }
  }

  &:nth-child(4) {
    animation-delay: -0.8s;

    &:before {
      animation-delay: -0.8s;
    }
  }

  &:nth-child(5) {
    animation-delay: -0.7s;

    &:before {
      animation-delay: -0.7s;
    }
  }

  &:nth-child(6) {
    animation-delay: -0.6s;

    &:before {
      animation-delay: -0.6s;
    }
  }
}

@keyframes spinner-chase {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes chase-dot {

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

@keyframes chase-dot-before {
  50% {
    transform: scale(0.4);
  }

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


.mCSB_horizontal.mCSB_inside>.mCSB_container {
  margin-bottom: 0 !important;
  /*padding-bottom: 10px;*/
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal {
  bottom: -7px;
}

.mCSB_scrollTools .mCSB_draggerRail {
  background: #fff !important;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
  background-color: #fff;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar {
  margin: 7px auto !important;
  height: 2px !important;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal {
  bottom: -16px !important;
}

.show-membership img {
  border-radius: 10px;
}

.refer-btn {
  width: 48%;
  margin-bottom: 10px;
  padding: 10px 5px;
}

.refer-list-btn {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #000 !important;
  border: 1px solid;
}

.table-btn {
  padding: 7px 25px !important;
  width: 160px !important;
  height: 38px !important;
}

.amex {
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAeCAMAAABdem3zAAAAA3NCSVQICAjb4U/gAAACi1BMVEUAAAAAAAAAdKIAdqcGdqoDeqkDeKoDe6sFeqoFeqwCeqoGe6wGeasGeqwGe6wFeqwFeqwFeqsGe6oFeawEeqwEeqwFe6wHeaoFe6oFeasF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OPfGBe2ZKotbnAw6kTSs8Axslpnh0mtRr74YqME7LGaHjI6G4uakfOfGG21q3c5hLf7TNDMQGhqUMjN9vFz6O2TCjgA11M+Zs13m4oXIvKT8bOs+i7DMNJks/xuhcggNKQ3b+vfGpS65kLTqVNyRpLi4uP1xl6d09jRPPF+blHC29WB+SsX5PXF1cA0lE/1lWiZOnFg2saZrIgxkgojiyr6JZTLxQFZ5ycSJpRTHdOAmMMiM2Agk103esGnTxiWzwELTVwOJyes29aFqiFtrCQR+x05FuVpaWqcfA3I8FlQDyandjpaWh5KtLI3RNCxTA8ZypHewb7vNrvWKk2QW7wiIzU3YteusXtXWrQvllm+diK5BRl6+4JyW2omJ2qkRiqtknN2VF+UCxWbmKCi5b3GU1fRE16B+4cK5RCe3pH6z6bP3nZOZsyYoMzftwsWrp4+skZt/4kA1mqfjVqgAgcORw/Z23kejg86r7JxXm1AIFOqzVdFLAEoahaNqiDgMBplZQGKNjC6QbD0MA3vmAomN5XTLcaQASQZe0jSIM3CQpoGPgZFHmgT1QkwMDAzMrOxEAjYWBgYAvI9h1MHdhQIAAAAASUVORK5CYII=") #fff;
}

.visa {
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAeCAMAAABdem3zAAAAA3NCSVQICAjb4U/gAAABvFBMVEUAAADQ0NDa2tra2trZ2dnY2Nja2trt7e3t7e0mM3onNHspNXkqN30rN30sOH4tN3ovO4AwPIAyPoE1QYM3Q4Q4Q4U4RIU5RYY8R4g9SIhCTYtDToxGUY5HUo5JU49JVJBOWJJQW5RSXJVTXZZVX5dXYZhYYplaY5pfaJ1kbaBlbqFoaZFocaNpcqNqc6RtdqZvd6dzcpV0fKp2f6x5ga18g698hK99hK99hbB+hrCAh7GDi7OHjrWIj7aJkLeNk7mNlLqOlbqRl7yUmr6WnL6YnsCbocKepMSjqMekqceprsqrsMysscytss2uss2xts+xttC0uNG1udK1utK2utK3u9O6vdS7v9W8wNa9wda9wdfBxNnDx9rEx9vFyNz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MwLqAFA0LWBlSd5IEUumkwc7A0HPBTuvcTAN13535FuqWJTsXdrdP2+IZuHOnR6iNgYHVDgMDsySEBin3QE2NnWJpKk6x8T1iDsku6UvKSktL+4Kld84RzBb3Co9ZyRPnJYikIXHnAr5ssTR9hYCVIfIg8UmlILBCOMFfa6e4jWvQWh5/e0kUDTuFMsTSpvvI6gUog8QngzVsdDRVC9spbu7st5bbmL8ASUNEipEi0ElRRQEyhYL+K/2Tl5cD1U/cmSMgsXOneHRe3krenSpuCA26ckp2xTu1s2xFZSJ3JqiJqKbvXNrbOWPrzp0m3jt36sjJyS2Q35ms0rNz53wSg3VRI2kaVlc1kKRhVU0pSRoWVZaSpGF2RSkpGjZNAMcM0RoW15aSomE9JOKJ1bB1VnUpCRq2z6srLSVew+ZZyMoJalgzpbq0lGgNG+Z2lGKAplQcxcy6uV3lpVhAKyuWgmzLwqktpTgAJzNaUblt2cz+xnocoLmNiw1YuJJYGAMAEKBGzN/0FVAAAAAASUVORK5CYII=") #fff;
}

.expiry-date-group {
  float: left;
  width: 50%
}

.expiry-date-group input {
  width: calc(100% + 1px);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.expiry-date-group input:focus {
  position: relative;
  z-index: 10;
}

.security-code-group {
  float: right;
  width: 50%
}

.security-code-group input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.zip-code-group {
  clear: both;
}

#PayButton {
  outline: 0 !important;
  height: 42px;
  font-size: 16px;
  background-color: #54C7C3;
  border: none;
  margin-top: 30px;
  width: 48%;
  line-height: 28px;
}

#PayButton:hover {
  background-color: #6DCECB !important;
}

#PayButton:active {
  background-color: #4FBCB9 !important;
}

#PayButton:disabled {
  background: rgba(84, 199, 195, .5) !important;
  color: #FFF !important;
}

#Checkout {
  z-index: 100001;
  background: ;
  width: 50%;
  min-width: 300px;
  height: 100%;
  min-height: 100%;
  background: 0 0 #ffffff;
  border-radius: 8px;
  border: 1px solid #dedede;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

#Checkout>h1 {
  margin: 0;
  padding: 20px;
  text-align: center;
  background: #EEF2F4;
  color: #5D6F78;
  font-size: 24px;
  font-weight: 300;
  border-bottom: 1px solid #DEDEDE;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#Checkout>form {
  margin: 0 25px 25px;
}

#Checkout label {
  color: #46545C;
  margin: 15px 0;
  font-size: 15px;
  font-weight: 600;
}

.input-container {
  position: relative;
}

.input-container input {
  padding-right: 25px;
}

.input-container>i,
a[role="button"] {
  color: #d3d3d3;
  width: 25px;
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  position: absolute;
  top: 2px;
  right: 2px;
  cursor: pointer;
  text-align: center;
}

.input-container>i:hover,
a[role="button"]:hover {
  color: #777;
}

.amount-placeholder {
  font-size: 20px;
  height: 34px;
}

.amount-placeholder>button {
  float: right;
  width: 60px;
}

.amount-placeholder>span {
  line-height: 34px;
}

.card-row {
  text-align: center;
  margin: 20px 25px 10px;
}

.card-row span {
  width: 48px;
  height: 30px;
  margin-right: 3px;
  background-repeat: no-repeat;
  display: inline-block;
  background-size: contain;
}

.card-image {
  background-repeat: no-repeat;
  padding-right: 50px;
  background-position: right 2px center;
  background-size: auto 90%
}

.cvc-preview-container {
  overflow: hidden;
}

.cvc-preview-container.two-card div {
  width: 48%;
  height: 80px;
}

.cvc-preview-container.two-card div.amex-cvc-preview {
  float: right;
}

.cvc-preview-container.two-card div.visa-mc-dis-cvc-preview {
  float: left;
}

.cvc-preview-container div {
  height: 160px;
}

.amex-cvc-preview {
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACOCAYAAAAlzXSMAAAAAXNSR0IArs4c6QAAFg9JREFUeNrtnfeTFcXaxw+ZBZacM0oGySBIXECiSBQQAQFhJaclo+SgAsuS2QVBlrCLSlQBAVGCCpK5XiW4vFVvvXX/gPvDe9+qt+r2Pd9eeuiZ6TkBzuI563erPgVn5jk93T397X76mTndPl+Qv0+v3I/PuHW/MiEkMkBTvnD/3vr883wZdx6NyriX9XXmvax/Zt57LAghkSbrn9AYtAbNBRTlwTuP22Tce/wbK42QFwc0B+0ZRXno9h8D/Ab/YkUR8qeI81/QoE2U++8+apF59/H/soII+RPxaxBaVLrMk3k36yYrhpBoEGfWTWjSl3H30ZusEEKiyK31a9IvzMfprAxCokmYj9N9B289/Acrg5DoAZr0Zdz54/9ZGYRE0Yjp16SPFUFI9EFhEkJhEkIoTEIoTEIIhUkIhUkIoTAJoTBZCYRQmIQQCpMQCpMQQmESQmESQihMQihMEsFfn2eJTad+ENvP/8z6iEIO3flDpHx9QWw5c1kcuv0o4vYxJcx1R06LPHnzSuJLlhLp13832jVt38myA/O27radT0pJtZ1v1qGLda5VQnfbOROVatay7Nt072W0KRRXRJSuUFG07NJNLE//wnb9es1bSZvqdeq78p588rxo0q6D/L7P55PEFYsXvUeOFXt/vudZN598eSqkumnbo4+0yV+goPyO83zF6jXl+b6jxwe8F60SXg9eTzWy62lx2n6RN18+eaxByzay09HTavJaR+s7i9PSjfWK7xcoVEiWrU6T5mL6J5uN5fK6Dy06dxPLPjts+86rr/cOWobyVavZvoOy4PoFCxe27g/y1q5nX5HyzfeueoJ93aYtXPbIL4SaK4SJxqkKByav3mC0e6VtB5td73fG2M73HD7adh4NQ53DDdTPmahQrYatgQazhwhWZxy3voMbheNVX65jy9f0jzfZbqATNJJdl26a68ZfRt12yhpz3aAxKhvkwykSXAPn+owaF/BeoMMJWk9Vq1v2nfsPto6/v/wj6/iMdVus4x3fGGAdb921R9D0xy9ZbSyXF/nyFxArDxx92ql26xn0O2UrVbbsl+7NlKJ6ml5+m22p8hVE2sUblj06At3GZV+uvEj74XpsC3P/jd9F0eIlbAXDyBOKMJ0CqFzzJW9hduoqjxUrUVKsPfyVkfXHvnUJs0h8/FObzJNixf4vRbchw61roIdU30GP68xX6ve/iLiixeTxkmXLiVnJ26UIMYK26/WGlU7XwcOeq26cDThx2dpnEqbqwHDdUOpp95XbokSZstZ30CDhAaBx4lh8qd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jinv4xYtt88Z/e67SlunTpPmMp25ISxd4SVMtcUcXvbQ08acUd8eXR8xy1So5MoL5p05Icz1x8/Khu8Uptr1GZ2vng886MdxbGar25evWk3m0ZlvlCWuaDHXq35IA3Wg20J8OD5i5nybPWIU2GDImTbyja381OZFUSVM7JyEhmraOwLPp9ZmnrSPNvM+NO41gQpEQML5pg0eLZjSxo5M2CxGt0dgBQ3QaYuRG2+zPE9UFiO6KW0AASK6aAnzym2jnaLn26NdIzry6LTD9dCxBdoGTk8DbxU5Gwk6N8yxa7/S1FbvuF6bbj1dbwq169nXeH9wzHl/IsHSPZmygTufsWKkR+N35gWf8Yoc6thZfgTDXPemanWRuGyt/V1jf5mxs7TzfiJt7O7ljFSjY0Rw0pk2OgPERvjrEkL46xJCCIVJCKEwCaEwCSEUJiEUJiGEwiSEwiSEUJiEUJisBEIoTEIIhUkIhUkIoTAJoTAJIRQmIX9tYR649YAVQUgUAU36sHQDK4OQ6AGa9G0+ffH/WBmERA/QpG/ZZ59nsTIIiR6gSV/Spp2bd164xgohJAqAFqFJ3+wN29su3LFXpF//jRVDyJ8INAgtQpM+/PkVehILGXvtQkwIyWFR+rUHDUKLPvU3c2NqpaSUnf+zYPtese3cj8Yt8AghkQdag+agPWgQWvTpf7OSU1/xn/jvOZtS5Q7GySfOibSLN+RehtiTgRASGaApaAsag9agOWgPGvSZ/makpFTwGxxK2pT6bxgTQnIWaA2ag/Z8wf5mJW9tNGfjjmX+L13w8yApJfUfhJAIAU35tQWNQWsmDf4HqpjHZRJqxUwAAAAASUVORK5CYII=") center center/contain no-repeat;
}

.visa-mc-dis-cvc-preview {
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACOCAMAAAASE4S+AAAAAXNSR0IArs4c6QAAAadQTFRFAAAAzbFj+NyAyLNg+N2DzbRk+96CzrVj+96AzrNj+92By7Rl+92AzbRl/eCDzrRl/t+DzrVl/t+CzbVm/t+C3MFt3MFv/N2B/N6CzrRm/uCDzrRm/u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6uTiUu2Km1klLK3CXxZDK5xd6RNYd3St+MTuaryr94G6y92iuy77X+b9rSi/d8usOEyZIXC5gsR7O5MN9bRexvwoQJEyZMmDBhwoQJEyZMmDBhwoT5vzNLLihLJu8CM2+6XGB2meUuMFeYyEf9ysmIqcsUtSuLmQZjGp8pdxafNxtjamIZ1f12MhOrDQ6uXhRLD4/nVb4/S/nx4XRsSeUY8prGtOI0186eKl8Xae3QSOxojTSUgT8BEvkXyqDHONgAAAAASUVORK5CYII=") center center/contain no-repeat;
}

.submit-button-lock {
  height: 20px;
  margin-top: -2px;
  margin-right: 7px;
  vertical-align: middle;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAgCAMAAAA7dZg3AAAKQWlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUU9kWh8+9N73QEiIgJfQaegkg0jtIFQRRiUmAUAKGhCZ2RAVGFBEpVmRUwAFHhyJjRRQLg4Ji1wnyEFDGwVFEReXdjGsJ7601896a/cdZ39nnt9fZZ+9917oAUPyCBMJ0WAGANKFYFO7rwVwSE8vE9wIYEAEOWAHA4WZmBEf4RALU/L09mZmoSMaz9u4ugGS72yy/UCZz1v9/kSI3QyQGAApF1TY8fiYX5QKUU7PFGTL/BMr0lSkyhjEyFqEJoqwi48SvbPan5iu7yZiXJuShGlnOGbw0noy7UN6aJeGjjAShXJgl4GejfAdlvVRJmgDl9yjT0/icTAAwFJlfzOcmoWyJMkUUGe6J8gIACJTEObxyDov5OWieAHimZ+SKBIlJYqYR15hp5ejIZvrxs1P5YjErlMNN4Yh4TM/0tAyOMBeAr2+WRQElWW2ZaJHtrRzt7VnW5mj5v9nfHn5T/T3IevtV8Sbsz55BjJ5Z32zsrC+9FgD2JFqbHbO+lVUAtG0GQOXhrE/vIADyBQC03pzzHoZsXpLE4gwnC4vs7GxzAZ9rLivoN/ufgm/Kv4Y595nL7vtWO6YXP4EjSRUzZUXlpqemS0TMzAwOl89k/fcQ/+PAOWnNycMsnJ/AF/GF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k8l3JLr31l9V/ndzPaE7b2l9qX7d+B2CHfc3em681iZYlle2dCu4F2t5czyovK3u1fsvlZhW3FgD2mPZI+0MqiyvUqvakfVp+qk6oEaj5rmvep7t+2d2sfb17/fbX/TAY0DxQc+HhQcvH/I91BrrUFtxWHc4azDz+ui6rq/Z39ff0TtSPGRz0eFR6XHwo911TvU1zeoN5Q2wo2SxrHjccdv/eD1Q3sTq+lQM6O5+AQ4ITnx4sf4H++eDDzZeYp9qukn/Z/2ttBailqh1tzWibakNml7THvf6YDTnR3OHS0/m/989Iz2mZqzymdLz5HOFZybOZ93fvJCxoXxi4kXhzpXdD66tOTSna6wrt7LgZevXvG5cqnbvfv8VZerZ645XTt9nX297Yb9jdYeu56WX+x+aem172296XCz/ZbjrY6+BX3n+l37L972un3ljv+dGwOLBvruLr57/17cPel93v3RB6kPXj/Mejj9aP1j7OOiJwpPKp6qP6391fjXZqm99Oyg12DPs4hnj4a4Qy//lfmvT8MFz6nPK0a0RupHrUfPjPmM3Xqx9MXwy4yX0+OFvyn+tveV0auffnf7vWdiycTwa9HrmT9K3qi+OfrW9m3nZOjk03dp76anit6rvj/2gf2h+2P0x5Hp7E/4T5WfjT93fAn88ngmbWbm3/eE8/syOll+AAAAYFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////98JRy6AAAAH3RSTlMAAgYMEyIzOUpTVFViY3N2gJmcnaipq7fX3ebx+Pn8eTEuDQAAAI9JREFUKM/N0UkOglAQRdFHDyK90n64+9+lAyQgookjuaNKTlJJpaQlO2n6sW8SW/uCjrku2EloWDLhi3gDa4O3pTtA5Tt+BXDbiDsBmSQpAyZ3pRhoLUmS1QLxSilQPOcCSFfKgfxgPgfZ9ch7Y21LCcdd5wVH5SckEzkXc0ylpPJnMpETmX/d9eUpH1/5AKrsQVrz7YPBAAAAAElFTkSuQmCC") center center/contain no-repeat;
  width: 14px;
  display: inline-block;
}

.align-middle {
  vertical-align: middle;
}

input {
  box-shadow: none !important;
}

/* Legacy focus tint — must NOT apply to checkboxes/radios, or its
   background-color:!important clobbers the Bootstrap checked fill/checkmark
   (made "Show Password" checkboxes look unchecked on click). */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus {
  border-color: #b0e5e3 !important;
  background-color: #EEF9F9 !important;
}

/* Checkbox/radio checked state: on-brand gold fill with visible checkmark */
.form-check-input:checked {
  background-color: #C8A45D !important;
  border-color: #C8A45D !important;
}

.form-check-input:focus {
  border-color: #C8A45D !important;
  box-shadow: 0 0 0 0.2rem rgba(200, 164, 93, 0.25) !important;
}

/* Frontend native checkboxes/radios (history card-select, address selector) → gold */
input.cards,
input.addresses {
  accent-color: #C8A45D;
}

/* Admin area (layouts.master) keeps Bootstrap default — gold is frontend-only */
#layout-wrapper .form-check-input:checked {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
}

#layout-wrapper .form-check-input:focus {
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.hide {
  display: none;
}

.mb-50 {
  margin-bottom: 50px !important;
}

.error {
  color: red !important;
  margin: 10px !important;
}

.btb-group {
  display: flex;
  /* margin-top: 22%; */
  justify-content: space-between;
}

.btn-light {
  background-color: #d3d4d5 !important;
}

#PayButton.btn-light:hover {
  background-color: #bac0c7 !important;
}

.icon-image {
  width: 30px !important;
}

.image-pos {
  position: absolute;
  top: -5px;
  right: 15px;
}

.link {
  text-decoration: none;
  font-weight: 600;
  color: #54C7C3 !important;
}

.note-text {
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
}


@media only screen and (max-width: 991px) {
  .btb-group {
    margin-top: 5%;
  }

  #PayButton {
    margin-top: 10px;
  }

  .reserve-class {
    margin-left: 15px;
  }

  #Checkout {
    min-width: 450px;
  }

}

@media only screen and (max-width: 479px) {
  .note-text {
    font-size: 13px;
    letter-spacing: 0px;
  }

  #Checkout {
    min-width: 350px;
  }

  #Checkout>h1 {
    font-size: 22px;
    padding: 15px;
  }

  .reserve-class {
    margin-left: 10px;
  }

  .font-small {
    font-size: 12px;
  }

  #Checkout>form {
    margin: 0 15px 15px;
  }

  #PayButton {
    white-space: nowrap;
    font-size: 12px;
    width: 49%;
  }

  header .btn-account img,
  .btn-notification img {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) and (min-width: 390px) {
  .bar.card-bar .com-span {
    width: 22px;
  }
}

@media (max-width: 360px) {
  #Checkout {
    min-width: 300px;
  }

  #Checkout label {
    font-size: 13px;
  }

  #PayButton {
    font-size: 14px;
  }

  .font-small {
    font-size: 11px;
  }

  .landing .item-content .pricetag .price span {
    font-size: 20px;
  }

  .grid .item-content .text2 {
    font-size: 16px;
  }

  #PayButton {
    white-space: nowrap;
    font-size: 12px;
    width: 49%;
  }

  .btn-box {
    gap: 10px !important;
  }
}

@media (max-width:340px) {
  .bar.card-bar .com-span {
    width: 17px;
  }

  .grid.details .bar {
    max-width: 280px;
  }
}

.bonus-point-color {
  color: #048f04 !important;
}

.member-ship-bar {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  height: 20px;
  left: 0px;
  max-width: 326px;
  margin-inline: auto;
  width: 100%;
  background-color: #555555;
  margin-bottom: 3px;
  box-shadow: 2px 2px 10px #b1b1b1;
}

.member-ship-bar .subbar {
  background: #39DD6A !important;
  height: 100%;
}

.font-member-ship span {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ---------- Add new css ---------- */

.btn-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-content .btn-container {
  margin-bottom: 0;
  display: flex;
  gap: 4px;
}

.btn-box .btn-common {
  min-width: calc(33.33% - 7px);
  flex: 1;
  font-size: 13px;
  color: #FEFEFE;
  border-radius: 12px;
  background-color: #121317;
  cursor: pointer;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP';
  font-weight: 500;
  padding: 0;
}

.btn-box .btn-common>span {
  font-size: 20px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
}

.btn-box.btn-details {
  padding-bottom: 8px;
}

/* Sold-out / coming-soon state labels inside the button row (dark theme) */
.btn-box label.f4 {
  width: 100%;
  margin: 0;
  padding: 12px;
  text-align: center;
  color: #F3F0E9;
  background-color: #33363E;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Noto Sans JP';
  font-weight: 700;
}

.btn-box.btnContent {
  min-height: 50px;
  margin-top: 15px;
}

.btn-box .btn-common sub {
  font-size: 14px;
  bottom: 0;
}

.btn-box .btn-common.white-btn {
  background-color: #121317;
  border: 1px solid #F3F0E980
}

.btn-box .btn-common.yellow-btn {
  background: #22252B;
  border: 1px solid #C8A45D;
}

.spin-btn100 {
  background: #C31421 !important;
  border: 1px solid #C8A45D !important;
}

.spin-btn1000 {
  /* background: #C31421 !important;
  border-image-source: linear-gradient(90.86deg, #C8A45D 0%, #E2C98F 18.27%, #FFF1D0 31.25%, #C8A45D 50%, #8C6D35 75%, #FFF1D0 87.98%, #C8A45D 100%); */
  background: linear-gradient(#C31421, #C31421) padding-box, linear-gradient(90.86deg, #C8A45D 0%, #E2C98F 18.27%, #FFF1D0 31.25%, #C8A45D 50%, #8C6D35 75%, #FFF1D0 87.98%, #C8A45D 100%) border-box;
  border: 1px solid transparent !important;
}

.btn-box .btn-common.pink-btn {
  color: #fff !important;
  background: #151515 !important;
}

:root {
  --shine-degree: 120deg;
  --shine-color: rgba(255, 255, 255, 0.459);
  --shine-effect: linear-gradient(var(--shine-degree), transparent, var(--shine-color), transparent);
  --shine-transition: all 0.65s ease-in-out;
}

.btn-anim {
  text-decoration: none;
  border: var(--btn-border);
  color: var(--btn-text-color);
  overflow: hidden;
  position: relative;
}

.shine_box::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--shine-effect);
  z-index: 6;
}

.btn-anim::after {
  animation: shine 5s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -100%;
    transition-property: left;
  }

  11.5044247788%,
  100% {
    left: 100%;
    transition-property: left;
  }
}

.item-content.item-custom {
  bottom: 24px !important;
}

.item-content.item-custom-sold {
  bottom: 68px;
}

.item-content.item-custom-coming {
  bottom: 30px;
}

#expiry_points tr th {
  white-space: nowrap !important;
}

.invite-point-text {
  font-size: 12px !important;
  color: #8b8686 !important;
}

.change-order {
  display: block !important;
  text-align: end !important;
  margin-left: auto !important;
  position: relative;
  border: none !important;
  outline: none !important;
  cursor: pointer;
}

.change-order:focus-visible {
  border: none !important;
  outline: none !important;
}

.ml-7 {
  margin-left: 7px !important;
}

.delete_account-content label,
.delete_account-content ul,
.delete_account-content p {
  font-size: 14px !important;
}

/* Delete-account modal uses bare native checkboxes — theme them gold */
.delete_account-content input[type="checkbox"] {
  accent-color: #C8A45D;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.delete_account-content ul {
  padding: 10px 25px !important;
}

.delete_account-content ul li {
  list-style-type: disc !important;
}

.error-text {
  color: red !important;
}

/* .item-content.com-soon {
    bottom: 38px;
  }

  .landing .btnSpin-100card .item-content {
    bottom: 11px !important;
}

.landing .btnSpin-100card .item-content {
    bottom: 14px;
} */

@media (max-width:575px) {
  header .logo img {
    max-width: 75px;
  }
}

/* .btn-box.btn-detail{
    justify-content: center;
} */

.title-sec {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 0 !important;
}

.title-sec img {
  max-width: 26px;
}

.history-tier2 .select-button {
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  color: #333;
  font-weight: bold;
  padding: 5px 17px;
}

.history-tier2 .content-sec {
  display: flex;
  gap: 20px;
  align-items: center;
}


@media (max-width: 991px) and (min-width: 768px) {
  .history-tier2 .content-sec {
    gap: 9px;
  }
}

@media only screen and (max-width: 767px) {
  .history-tier2 {
    padding: 19px 10px 0 11px;
  }

  .history-tier2 .content-sec {
    font-size: 12px;
    /* margin-bottom: 25px; */
    justify-content: space-between;
  }

  .historypage .title {
    font-size: 14px;
  }

  .history-tier2 .btn-container .btn {
    padding: 11px;
    font-size: 13px;
  }

  .rendeem-points {
    white-space: nowrap;
  }
}

.history-items .items .coin_box_new {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border-radius: 5px;
  /* background-color: #dbdbdb; */
  padding: 2px 5px;
  gap: 3px;
  font-size: 15px;
  color: #000;
  font-weight: 800;
  flex-wrap: wrap;
  font-size: 20px;
  border: 1px solid;
}

.history-items .items .coin_box_new sub {
  bottom: -1px;
}

.history-items .items .coin_box_new img {
  width: 100%;
  max-width: 22px;
}

.history-items .items .coin_box_new p {
  width: 100%;
  text-align: center;
  font-size: 16px;
}

.history-items .items .coin_box_new.new_cards_view {
  display: none;
}

.history-items .items .coin_box_new.mobile_view {
  display: none;
}

.desktop_view {
  display: block;
}

@media (max-width:767px) {
  .grid.details .bar.card-bar .com-span {
    max-width: 38px;
  }
}

@media (max-width:575px) {
  .grid.details .bar.card-bar .com-span {
    max-width: 32px;
  }

  .history-items .items .coin_box_new.new_cards_view {
    display: flex;
  }

  .history-items .items .coin_box_new.mobile_view {
    display: flex;
  }

  .desktop_view {
    display: none;
  }
}

.d-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* spin-info modal */
#spin_info_modal .point-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

#spin_info_modal .point-section img,
#convertModal .point-section img {
  max-width: 25px;
}

.invitation-code .codeBox {
  border: 1px solid rgb(189, 189, 189);
  border-radius: 12px;
  padding: 10px 30px;
  margin-bottom: 12px;
  text-align: center;
  display: inline-block;
  width: 100%;
  text-decoration: none;
  background: url(../../assets/images/redarrow.svg) no-repeat;
  background-size: 20px 20px;
  background-position: calc(100% - 235px) 50%;
}


.invitation-code .codeBox p {
  margin-bottom: 0px;
  font-size: 18px;
  color: #000;
}

.invitation-code .codeBox span {
  color: #9d9d9d;
  font-size: 12px;
}

.brownBox {
  padding: 10px 15px;
  background: #fcffbc;
  border-radius: 10px;
  margin-bottom: 12px;
}

.brownBox .num-people {
  border-bottom: 2px solid #dbdbdb;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.brownBox .num-people span {
  float: right;
}

.brownBox .linkNum {
  font-size: 12px;
  margin-bottom: 0;
}

.copyLink .comLink.copy {
  background-position: calc(100% - 134px) 50%;
}

.copyLink .comLink {
  border: 1px solid rgb(189, 189, 189);
  border-radius: 8px;
  padding: 12px 12px 12px 30px;
  display: inline-block;
  text-decoration: none;
  background: url(../../assets/images/blackarrow.svg) no-repeat;
  background-size: 15px 15px;
  font-size: 13px;
  color: #000;
  text-align: center;
}

.copyLink .comLink:last-child {
  margin-bottom: 30px;
}

.copyLink .comLink.share {
  background-position: calc(100% - 80px) 50%;
}

.copyLink .comLink {
  border: 1px solid rgb(189, 189, 189);
  border-radius: 8px;
  padding: 12px 12px 12px 30px;
  display: inline-block;
  text-decoration: none;
  background: url(../../assets/images/blackarrow.svg) no-repeat;
  background-size: 15px 15px;
  font-size: 13px;
  color: #000;
  text-align: center;
}

.w-90 {
  width: 90% !important;
}

.btn-image img {
  max-width: 22px;
  vertical-align: text-bottom;
  margin-right: 5px;
}

.btn-image img {
  max-width: 22px;
  vertical-align: text-bottom;
  margin-right: 5px;
}

.icon-image {
  width: 25px !important;
}

.paypay_btn {
  height: 60px !important;
}

.paypay_btn img {
  max-width: 95px !important;
}

/* Amazon Pay logo stays readable on the dark payment button */
.amazon-pay-btn img {
  background: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  box-sizing: content-box;
}

/* Paidy wordmark needs more width than the default 22px button logo */
.paidy-btn img {
  max-width: 70px !important;
}

/* Card/wallet logos under a payment button. The white chip keeps dark marks
   (Apple, Diners) readable on the dark button, and a shared height evens out
   logos whose aspect ratios differ. */
.pay-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 5px;
  margin-top: 8px;
}

.pay-logos .icon-image {
  width: auto !important;
  height: 14px;
  background: #fff;
  padding: 3px 5px;
  border-radius: 4px;
  box-sizing: content-box;
}

/* Announcement Banner Text */
.banner-content p {
  margin-bottom: 0;
}

.banner-content ol,
.banner-content ul {
  margin-bottom: 0.5rem;
}

#announcement-bar {
  position: relative;
  overflow: hidden;
}

#announcement-bar .btn-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.announcement-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(86deg, #E7007D 0%, #FB0 100%);
}

.announcement-bg {
  background: linear-gradient(86deg, #E7007D 0%, #FB0 100%);
}

.announcement-scroll {
  overflow: hidden;
  flex: 1;
  margin-right: 40px;
  /* space for close button */
}

.banner-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }

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

:root {
  --white-color: #fff;
  --offwhite-color: #ece7e7;
  --black-color: #000;
  --gray-color: #B9B8BB;
  --yellow-color: #FFB812;
  --dark-sky: #47cdd4;
}

#gamecard2 .icons-box .icon ul li .black {
  background-color: #000;
}

#gamecard2 .icons-box {
  display: flex;
  align-items: center;
  margin: 20px 0px;
  justify-content: center;
}

#gamecard2 .icons-box .icon ul {
  display: flex;
  align-items: center;
}

#gamecard2 .icons-box .icon ul li:not(:last-child) {
  margin-right: 15px;
}

#gamecard2 .icons-box .text p {
  font-size: 18px;
  font-family: "M PLUS 1", sans-serif;
  font-weight: 500;
  color: var(--black-color);
}

#gamecard2 .icons-box .icon ul li a {
  padding: 5px 25px;
  border-radius: 3px;
  display: inline-block;
}

#gamecard2 .icons-box .icon ul li .facebook {
  background-color: hsl(222.86deg 45.37% 42.35%);
}

#gamecard2 .icons-box .icon ul li .comment {
  background-color: hsl(144.56deg 94.15% 40.2%);
}

#gamecard2 .icons-box .icon ul li a i {
  color: var(--white-color);
  font-size: 18px;
}

.centerScrollbox {
  scrollbar-width: none;
  padding: 10px 0px 140px;
  text-align: center;
}

.w-20 {
  width: 20px;
}

.productdetails .btn-back a {
  font-size: 12px;
  display: inline-block;
  padding: 10px 10px;
  color: #FEFEFE;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  background-size: 14px 14px;
  text-decoration: none;
  border-radius: 8px;
}

.productdetails .btn-back a i {
  font-size: 16px;
}

.topimgBox {
  margin-bottom: 10px;
}

.centerScrollbox .alphaImg {
  padding: 10px 0;
}

.productdetails .btnFixBox {
  border-top: 1px solid #33363E;
  padding: 20px 15px 15px;
  box-shadow: 0px -2px 5px 0px #0000001A;
}

.btnFixBox {
  padding: 10px 20px 25px;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 790px;
  background: #121112;
  width: 100%;
  z-index: 99;
}

.grid .btnFixBox .pricetag {
  text-align: center;
}

.point-sec {
  background: rgba(255, 255, 255, 0.6);
  min-width: 130px;
  padding: 10px 10px;
  display: block;
  text-align: center;
  margin: 10px 0;
}

.grid .btnFixBox .pricetag .price {
  position: relative;
  background: url(../../backend/img/icon-tag.svg) no-repeat center;
  display: inline-block;
  padding: 5px 0px 0px;
  font-weight: 600;
  color: #F1A81D;
}

.grid .btnFixBox .pricetag .price img {
  max-width: 20px;
}

.btn-box.btn-detail {
  /* justify-content: center !important; */
  margin-bottom: 20px;
  gap: 10px;
  width: 100%;
}

.productdetails .progress {
  margin-bottom: 0;
}

/* admin notification text from editor */
#admin-notification tbody tr td p {
  margin-bottom: 0;
}

#admin-notification tbody tr td ol,
#admin-notification tbody tr td ul {
  margin-bottom: 0.5rem;
}

#admin-notification tbody tr td p:last-child {
  margin-bottom: 16px !important;
}

.btn-notification img {
  width: 32px !important;
}

.btn-notification {
  text-decoration: none;
  position: relative;
}

.notification-count {
  height: 22px;
  width: 22px;
  font-weight: 700;
  background: #D6001C;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  border-radius: 50px;
  position: absolute;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -8px;
}

.noti-container {
  width: 100%;
  margin: 20px auto;
  background: #1A1C21;
  border: 1px solid #33363E;
  border-radius: 12px;
  overflow: hidden;
}

.noti-container .tabs {
  display: flex;
  background-color: #16181d;
  border-bottom: 1px solid #33363E;
}

.noti-container .tab {
  flex: 1;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  color: #B3B5BC;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.noti-container .tab:hover {
  color: #F3F0E9;
}

.noti-container .tab.active {
  color: #EFD79B;
  border-bottom: 3px solid #C8A45D;
  background-color: #1A1C21;
}

.noti-container .content {
  padding: 20px;
  display: none;
  text-align: left;
}

.noti-container .content.active {
  display: block;
}

.noti-container .highlight {
  background-color: rgba(200, 164, 93, 0.12);
}

/* Unread rows (controller adds .text-bold) -> bold white */
.noti-container .text-bold {
  font-weight: 700;
  color: #FFFFFF;
}


.tab-box-shadow {
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2) !important;
}

.mCustomScrollBox {
  height: auto !important;
}

.main-category-active {
  border-bottom: 3px solid #A50505 !important;
  border-radius: 0 !important;
  color: #A50505 !important;
  font-weight: bold;
}

.sub-tab-box-shadow {
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2) !important;
  padding: 10px 0;
}

.sub-tab-box-shadow .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #fff !important;
}

.sub-tab-box-shadow a {
  font-size: 12px !important;
}

.tab-box-shadow .mCSB_dragger_bar {
  background-color: #ffffff !important;
}

.tab-box-shadow .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar {
  height: 0 !important;
}

.text-bold {
  font-weight: 700 !important;
}

.history-items .items.miles .items-content .img:after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 5px;
  right: -15px;
  background: url(../img/iconAM.png) no-repeat;
  background-size: cover;
  background-position: bottom right;
}

.btnFixBox .coin {
  max-width: 35px;
  margin: 0 5px;
  vertical-align: middle;
}

.btnFixBox .ticket {
  width: 100%;
  max-width: 25px;
  margin: 0 5px;
  vertical-align: middle;
}

@media (max-width:479px) {
  header .headercart .text {
    min-width: auto;
    font-size: 13px;
  }

  /* header .headercart .star {
    width: 25px;
    height: 25px;
  } */

  .search_icon a {
    margin-left: 0;
  }

  .card-box-icon a,
  .search_icon a {
    height: 22px;
    width: 22px;
  }

  header .btn-account img,
  .btn-notification img {
    width: 26px;
    height: 26px;
  }
}

@media (max-width:390px) {
  /* header .headercart .star {
    width: 22px;
    height: 22px;
  } */
}

.alert-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fcebea;
  color: #cc1f1a;
  border-radius: 30px;
  padding: 8px 16px;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  max-width: 600px;
  margin: 0px auto;
}

.alert-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.alert-icon {
  font-size: 16px;
}

.alert-right {
  font-size: 12px;
  color: #cc1f1a;
}

.alert-right span {
  font-weight: bold;
  color: red;
}

.items.bonus-series-guest .bgimg {
  height: 100%;
  max-height: 242px;
}


/* -------- custom scroll bar tab ---------- */
.customScroll_box.tab-container {
  display: block;
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0 45px;
  max-width: 750px;
}

.customScroll_box.tab-container .scrollContent {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-y: auto;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.customScroll_box.tab-container .triggerBtn .btn {
  position: absolute;
  top: 50%;
  padding: 0;
  border: none;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  transform: translateY(-65%);
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customScroll_box.tab-container .triggerBtn .btn i {
  color: #fff;
  font-size: 16px;
  line-height: 0.5;
}

.customScroll_box.tab-container .triggerBtn .btn.scrollLeft i {
  padding-right: 2px;
}

.customScroll_box.tab-container .triggerBtn .btn.scrollRight i {
  padding-left: 2px;
}

.customScroll_box.tab-container .triggerBtn .btn.scrollLeft {
  left: 0;
}

.customScroll_box.tab-container .triggerBtn .btn.scrollRight {
  right: 0;
}


/* ============ added new css ============== */

.point_exchange {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.point_exchange .point_box {
  background-color: #1A1C21;
  border: 1px solid #33363E;
  padding: 10px;
  border-radius: 12px;
  width: calc(25% - 8px);
  margin-bottom: 10px;
  position: relative;
}

.point_exchange .point_box p {
  font-size: 12px;
  color: #F3F0E9;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 10px;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.point_exchange .point_box .img_box img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
  /* height: 140px; */
  object-fit: fill;
  border-radius: 5px;
}

.point_exchange .point_box .only_left {
  margin: 15px 0;
  text-align: center;
}

.point_exchange .point_box .only_left h6 {
  font-size: 13px;
  color: #B3B5BC;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
}

.point_exchange .point_box .only_left h6 span {
  color: #F3F0E9;
}

.point_exchange .point_box .only_left h6.soldText {
  color: #FF3B3F;
  font-weight: 500;
}

.point_exchange .point_box .point_count a {
  background: #C31421;
  border: 1px solid #C8A45D80;
  border-radius: 8px;
  padding: 4px 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #F3F0E9;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin: 0 auto;
}

.point_exchange .point_box .point_count a span {
  vertical-align: middle;
}

.point_exchange .point_box .point_count a img {
  width: 100%;
  max-width: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

.point_exchange .point_box .point_count a>div {
  width: 100%;
  text-align: center;
}

.point_box .hoverdiv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99;
  border-radius: 10px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  transition: 0.5s all ease;
}

.point_box .sold-out-text {
  font-size: 32px;
}

.landing .items.soldout .bgimg img,
.point_exchange .point_box.soldout .img_box img,
.after-redeem-delivery-finish-div .items.soldout .bgimg img {
  filter: grayscale(100%) brightness(130%);
}



@media (max-width:767px) {
  .custom_tab .nav-tabs {
    max-width: 500px;
  }

  .point_exchange .point_box {
    width: calc(33% - 8px);
  }

  .backTooripa h3 {
    font-size: 25px;
    margin-bottom: 30px;
  }

  .word-warp {
    white-space: nowrap;
  }
}

@media (max-width:575px) {
  header.innerHeader {
    min-height: 100px;
  }

  header.innerHeader .textBox h3 {
    font-size: 26px;
  }

  /* #terms .termsBox,
  #terms .termsBox,
  #contact .contactBox,
  #howtouse .detailsBox {
    padding: 30px 10px;
  } */

  .point_exchange .point_box {
    width: calc(50% - 5px);
  }

  .bottomnav {
    padding: 0;
    max-width: 310px;
  }
}

@media (max-width:479px) {

  /* .landing .item-content,
  .items.series-guest-manage-height.btn-2-lines .item-content {
    bottom: 8px;
  }

  .item-content.item-custom-coming {
    bottom: 21px !important;
  }

  .item-content.item-custom-sold {
    bottom: 58px !important;
  } */

  header .headercart .text {
    min-width: auto;
    /* padding: 3px 13px 3px 18px; */
    font-size: 11px;
  }

  .custom_tab .nav-tabs {
    max-width: 320px;
  }

  /* header .headercart .star {
    width: 23px;
    height: 23px;
    right: -12px;
  } */

  header .btn-account img {
    width: 28px;
    height: 28px;
  }

  .point_exchange .point_box p,
  .point_exchange .point_box .point_count a {
    font-size: 12px;
  }

  .point_exchange .point_box .point_count a img {
    max-width: 16px;
  }
}

.mt-25 {
  margin-top: 25px !important;
}


header.innerHeader {
  position: relative;
  width: 100%;
  min-height: 180px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  box-shadow: none !important;
}

header.innerHeader .textBox {
  position: relative;
  z-index: 55;
}

header.innerHeader .textBox h3 {
  color: #151515;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: 3px;
}

footer.innerFooter {
  background: #151515;
  padding: 70px 20px 30px;
}

.darkgreyfooter .menuBox {
  max-width: 800px;
  margin: 0 auto;
}

.darkgreyfooter .footerBox .xicon {
  text-align: center;
  padding-bottom: 50px;
}

.darkgreyfooter .footerBox .xicon img {
  max-width: 40px;
  width: 100%;
}

/* Space the social icons (X + LINE) apart */
.darkgreyfooter .footerBox .xicon a:not(:last-child) {
  margin-right: 18px;
}

.darkgreyfooter .footerBox .xicon a img {
  max-width: 40px;
  vertical-align: middle;
}

.darkgreyfooter .footerBox .xicon .line-social-icon svg {
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

.darkgreyfooter .footerBox .menuBox ul li:not(:last-child) {
  margin-bottom: 10px;
}

.darkgreyfooter .footerBox .menuBox ul li h5 {
  /* Was #C8A45D = 2.33:1 on the white footer. Darker brand gold (already used in
     .top_white_div) = 4.79:1, passes WCAG AA while keeping the gold identity. */
  color: #8C6D35;
  font-size: 16px;
  font-family: 'Noto Sans JP';
  font-weight: 700;
}

.darkgreyfooter .footerBox .menuBox ul li a {
  text-decoration: none;
  color: #1A1C21;
  font-size: 14px;
  font-family: 'Noto Sans JP';
  font-weight: 400;
}

.darkgreyfooter .footerBox .copyright {
  text-align: center;
  margin-top: 50px;
}

.copyright img {
  max-width: 120px;
  margin-bottom: 18px;
}

.darkgreyfooter .footerBox .copyright p {
  font-family: 'Noto Sans JP';
  font-weight: 300;
  font-size: 14px;
  /* Was #B3B5BC (~2:1 on the white footer). Dark grey for WCAG AA (~8:1). */
  color: #4A4D55;
}

.darkgreyfooter .footerBox .copyright p span {
  color: #1A1C21;
}

#about,
#howtouse,
#terms,
#contact,
#faqs_section,
#member_rank {
  padding: 25px 0;
}

.page_title h3 {
  font-size: 20px;
  color: #EFD79B;
  margin-bottom: 30px;
  font-family: 'Noto Sans JP';
  font-weight: 700;
}

.backTooripa .backoripa {
  font-size: 13px;
  /* Was 50%: invisible normally (no background/border), but it shaped Bootstrap's
     focus ring into an ellipse. Paired with the full-row width below, that ring
     flashed across the whole row on click. */
  border-radius: 4px;
  color: #FEFEFE;
  text-decoration: none;
  margin-bottom: 30px;
  display: flex;
  /* display:flex makes this block-level, so the link — and its focus ring —
     stretched the full row. Keep it to the width of its label. */
  width: fit-content;
  align-items: center;
  padding-left: 0;
}

/* This back arrow reads as a plain text link, but it carries Bootstrap's .btn
   class, so :hover/:focus-visible gave it a grey button background and a focus
   halo. Keep every state looking identical to the resting link. */
.backTooripa .backoripa:hover,
.backTooripa .backoripa:focus,
.backTooripa .backoripa:focus-visible,
.backTooripa .backoripa:active {
  background-color: transparent;
  border-color: transparent;
  color: #FEFEFE;
  box-shadow: none;
  outline: none;
}

.backTooripa .backoripa i {
  margin-right: 5px;
  font-size: 16px;
  vertical-align: middle;
}

.last p {
  font-size: 13px;
  color: #F3F0E9;
}

#about .abouttextBox {
  padding: 0;
}

#about .abouttextBox ul li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 35px 30px;
}

#about .abouttextBox ul li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#about .abouttextBox ul li h5 {
  font-family: "Inter", sans-serif;
  color: #F3F0E9;
  font-weight: 400;
}

#about .abouttextBox ul li p {
  margin-bottom: 0;
  color: #F3F0E9;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

/* #terms .termsBox {
  padding: 30px 0px;
} */

#terms .ourTextBox .box p {
  margin-bottom: 5px;
}

#terms .ourTextBox .box {
  margin-bottom: 30px;
}

#terms .ourTextBox .box h6 {
  font-size: 13px;
  font-family: 'Noto Sans JP';
  font-weight: 300;
  color: #F3F0E9;
  margin-bottom: 5px;
}

#terms .ourTextBox .box p {
  font-size: 13px;
  color: #F3F0E9;
  font-family: 'Noto Sans JP';
  font-weight: 300;
}

#terms .ourTextBox .box .box-box p {
  display: grid;
  grid-template-columns: 70px 1fr;
}

#terms .ourTextBox .box p.start {
  padding-left: 30px;
}

#terms .ourTextBox .box p.space {
  padding-left: 15px;
}

/* #contact .contactBox {
  padding: 40px 0px;
} */

#contact .contactBox .row {
  margin-bottom: 30px;
}

#contact .contactBox label span {
  color: #ff0000;
}

#contact .contactBox label {
  margin-bottom: 10px;
  color: #F3F0E9;
  font-size: 13px;
  font-family: 'Noto Sans JP';
  font-weight: 300;
}

#contact .contactBox input {
  border: 1px solid #33363E;
  box-shadow: none !important;
  border-radius: 4px;
  outline: none;
  width: 100%;
  min-height: 40px;
  padding: 5px 15px;
}

#contact .contactBox textarea {
  resize: none;
  min-height: 120px;
  width: 100%;
  border: 1px solid #D8D0C3;
  border-radius: 2px;
  box-shadow: none !important;
  outline: none;
  padding: 5px 15px;
}

#contact .contactBox .rowsBtn {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

#contact .contactBox .rowsBtn .btnSend {
  font-size: 14px;
  color: #121112;
  border-radius: 8px;
  background: #C8A45D;
  border: 1px solid #8C6D3580;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  padding: 10px 30px;
  width: 200px;
  min-height: 44px;
  text-align: center;
  font-family: 'Noto Sans JP';
  font-weight: 700;
}

/* ========== Membership rank css ============ */

#member_rank .content_box .box {
  padding: 10px;
  margin-bottom: 10px;
}

#member_rank .content_box .box h5 {
  color: #F3F0E9;
  font-size: 14px;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  margin-bottom: 16px;
}

#member_rank .content_box .box p {
  color: #F3F0E9;
  font-size: 13px;
  font-family: 'Noto Sans JP';
  font-weight: 400;
  margin-bottom: 3px;
}

#member_rank .rank_grid h5 {
  color: #F3F0E9;
  font-size: 14px;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  margin-bottom: 20px;
}

#member_rank .rank_grid .rank_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

#member_rank .rank_grid .rank_box .rank_card {
  width: calc(33% - 8px);
  padding: 16px;
  border-radius: 12px;
  background-color: #1A1C21;
  height: fit-content;
  border: 1px solid #C8A45D;
  position: relative;
  overflow: hidden;
}

#member_rank .rank_grid .rank_box .rank_card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #C8A45D;
}

#member_rank .rank_grid .rank_box .rank_card h2 {
  color: #F3F0E9;
  font-size: 20px;
  margin: 20px 0;
  text-align: center;
  font-family: 'Noto Sans JP';
  font-weight: 700;
}

#member_rank .rank_grid .rank_box .rank_card p {
  color: #F3F0E9;
  font-size: 12px;
  font-family: 'Noto Sans JP';
  font-weight: 400;
  line-height: 1.6em;
  margin-bottom: 10px;
  background: #22252B;
  padding: 12px;
  border-radius: 8px;
}

#member_rank .rank_grid .rank_box .rank_card p strong {
  font-size: 14px;
}

#member_rank .rank_grid .rank_box .rank_card img {
  border-radius: 13px;
  height: 100% !important;
  width: 100% !important;
}

.bronze_text {
  text-shadow: 0px 1px 10px #FF6F35;
}

.sliver_text {
  text-shadow: 0px 1px 10px #ACACAC;
}

.gold_text {
  text-shadow: 0px 1px 10px #E0B426;
}

.platinum_text {
  text-shadow: 0px 1px 10px #A3C6FF;
}

.diamond_text {
  text-shadow: 0px 1px 10px #3CB4FF;
}

.black_text {
  text-shadow: 0px 1px 10px #000000;
}

.regular_text {
  text-shadow: 0px 1px 10px #4A7CFF;
}

@media (max-width:767px) {

  #howtouse .detailsBox .firstBox,
  #howtouse .thirdBox .comBox {
    grid-template-columns: 1fr;
  }

  #howtouse .rightPart .imgBox img {
    max-width: 160px;
  }

  header.innerHeader .textBox h3,
  #howtouse .heading h2 {
    font-size: 30px;
  }

  #contact .contactBox .rowsBtn .btnSend {
    width: 100%;
  }

  #contact .contactBox .row {
    margin-bottom: 20px;
  }

  #member_rank .rank_grid .rank_box .rank_card {
    width: calc(50% - 10px);
  }
}

@media (max-width:575px) {
  header.innerHeader {
    min-height: 100px;
  }

  header.innerHeader .textBox h3 {
    font-size: 26px;
  }

  #member_rank .btn.backoripa {
    margin-bottom: 30px !important;
  }

  #about .abouttextBox ul li {
    padding: 20px 20px;
    grid-template-columns: 1fr;
  }

  #about .abouttextBox {
    padding: 0;
  }

  header.innerHeader {
    min-height: 140px;
  }

  header.innerHeader .textBox h3,
  #howtouse .heading h2 {
    font-size: 26px;
  }

  #howtouse .rightPart .imgBox img {
    max-width: 130px;
  }

  #member_rank .rank_grid .rank_box .rank_card {
    width: calc(100%);
    margin-right: 0;
  }

  #member_rank .content_box .box h4 {
    font-size: 22px;
  }

}

@media (max-width:479px) {
  header .headercart .text {
    max-width: 90px;
  }

  .account-balance-row .headercart .text {
    padding: 3px 13px 3px 28px;
    max-width: fit-content;
  }
}


@media (max-width:375px) {
  header .logo img {
    max-width: 60px;
  }
}


.btn-line {
  background: #06c755;
  color: #ffffff;
  padding: 8px 24px;
}

.btn-line img {
  margin-right: 5px;
  width: 27px;
}

.btn-line:hover {
  background: #06c755;
  color: #ffffff;
}

/* -------- Grid dropdown css ------------ */
.mobile_view {
  display: none !important;
}

.grid_flex_box {
  justify-content: center;
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 30px;
  display: flex;
  margin: 0 auto;
  width: fit-content;
}

.grid_dropdown:first-child .dropdown {
  border-right: 1px solid #e1e1e1;
}

.grid_dropdown {
  text-align: end;
  /* margin-top: 10px; */
}

.grid_dropdown .dropdown {
  position: relative;
  display: inline-block;
}

.grid_dropdown .dropdown-toggle {
  cursor: pointer;
  padding: 10px 20px;
  background-color: transparent;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.grid_dropdown .dropdown-toggle i {
  font-size: 18px;
  color: #FF9D00;
}

.grid_dropdown .dropdown-menu div .right_span i {
  margin-left: 8px;
}

.grid_dropdown .dropdown-toggle::after {
  display: none;
}

.grid_dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  background-color: white;
  border: none;
  border-radius: 5px;
  min-width: 200px;
  box-shadow: 0 10px 10px rgb(0 0 0 / 16%);
  z-index: 100;
}

.grid_dropdown .dropdown-menu div {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid_dropdown .dropdown-item.selected .left,
.grid_dropdown .dropdown-item1.selected .left,
.grid_dropdown .dropdown-item2.selected .left {
  color: black;
}

.grid_dropdown .dropdown-item .left,
.grid_dropdown .dropdown-item1 .left,
.grid_dropdown .dropdown-item2 .left {
  width: 20px;
  color: transparent;
}

.grid_dropdown .dropdown-menu div:hover {
  background-color: #f2f2f2;
}

.resultText,
.laterText {
  font-size: 16px;
  color: #2E2E2E;
  font-family: 'Inter-SemiBold';
  font-weight: 600;
}

.historypage .container {
  max-width: 800px;
}

.history-items.lottery-items .items .items-content .coin_box_new {
  display: flex !important;
}

.history-items.lottery-items .items .coin_box_new.saprate_box {
  display: none !important;
}

.lottery-items .items .items-content .right .timimg_icon p.time_text {
  display: none !important;
}

/* .history-items .items .items-content .right .text1,
.history-items .items .items-content .right .text5 {
  font-weight: 700;
  color: #1a202c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
} */

.history-items .items .items-content .right .text1,
.history-items .items .items-content .right .text5 {
  font-weight: 700;
  color: #1a202c;
}

.history-items .list_item_grid .items .items-content .right .text1,
.history-items .list_item_grid .items .items-content .right .text5 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-items .list_item_grid .items .items-content .right {
  overflow: hidden;
  max-width: 100%;
  /* padding: 0 0 0 15px; */
}

.mobile_view .history-items .items .items-content .right {
  overflow: hidden;
  padding: 0 0 0 15px;
}

.list_item_grid .items {
  padding: 10px !important;
  border-radius: 8px;
  box-shadow: 0 3px 5px 2px rgba(0, 0, 0, 0.06);
  background: #fff;
  height: 100%;
}

.list_item_grid .items .img,
.list_item_image .items .img,
.list_item_noimage .items .img {
  transform: rotate(0deg) !important;
  box-shadow: none !important;
}

.history-items.list_item_grid .items .items-content .right .coin_box_new {
  display: none !important;
}

.list_item_grid .items .items-content {
  box-shadow: none !important;
  flex-direction: column;
}

.list_item_grid .items .img::after,
.list_item_image .items .img::after,
.list_item_noimage .items .img:after {
  display: none !important;
}

.list_item_image .items .right .coin_box_new {
  display: flex !important;
  text-align: center;
}

.list_item_image .items .coin_box_new.saprate_box,
.list_item_noimage .items .coin_box_new.saprate_box {
  display: none;
}

.col-md-6.list_item_grid {
  width: 33.33%;
}

@media (max-width:640px) {
  .col-md-6.list_item_grid {
    width: 50%;
  }

  .col-md-6.list_item_noimage {
    width: 100%;
  }

  .history-items .list_item_grid .items .items-content .img img {
    max-height: 220px;
  }

  .grid_dropdown .dropdown-menu div .text-left {
    font-size: 14px;
  }

  .grid_dropdown:first-child .dropdown-menu {
    right: unset;
  }
}

.col-md-6.list_item_image {
  width: 100%;
}

.col-md-6.list_item_noimage {
  width: 50%;
}

.list_item_image .items {
  max-width: 100%;
}

.history-items .list_item_noimage .items {
  padding: 0;
  margin-bottom: 0;
}

/* .list_item_image .items .items-content .left,
.list_item_image .items .items-content .right {
    width: 50%;
} */

.list_item_image .items .items-content .left {
  width: auto !important;
}

.list_item_image .items .items-content .right {
  flex: 1;
}

.list_item_image .items .items-content .img {
  width: 100%;
  height: 100%;
  transform: rotate(0);
  box-shadow: none;
}

.list_item_image .items .items-content .img img {
  height: 190px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 10px 20px rgb(0 0 0 / 30%);
}

.list_item_image .items .items-content .list-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.history-items .items .right p.time_text {
  display: flex;
  align-items: center;
  gap: 5px;
  color: red;
  font-size: 10px;
  justify-content: end;
}

.history-items .list_item_image .items .right p.time_text {
  justify-content: center !important;
}

.list_item_image .items .items-content .right p {
  text-align: start !important;
  margin-top: 5px;
}

.list_item_image .items .items-content {
  padding: 15px;
}

.history-items .list_item_image .items .items-content .right .text5,
.history-items .list_item_grid .items .items-content .right .text5,
.history-items .list_item_noimage .items .items-content .right .text5 {
  display: none;
}

.history-items .list_item_image .items .items-content .right .text1,
.history-items .list_item_noimage .items .items-content .right .text1 {
  text-overflow: unset !important;
  overflow: unset !important;
  white-space: break-spaces;
}

.history-items .list_item_grid .items,
.history-items .list_item_image .items .items-content,
.history-items .list_item_noimage .items .items-content {
  border: 1px solid transparent;
}

.history-items .list_item_image .items {
  padding: 0;
}

.history-items .list_item_grid .items:has(input:checked),
.history-items .list_item_image .items input:checked~.items-content,
.history-items .list_item_noimage .items:has(input:checked) .items-content {
  /* background: rgba(0, 0, 0, 0.4) !important; */
  border: 1px solid #C8A45D;
}

.history-items .list_item_grid .items input:checked~.items-content {
  background: none !important;
}

.list_item_noimage .items .items-content .right {
  width: 100%;
}

.list_item_noimage .items .items-content .left {
  display: none;
}

.list_item_noimage .items .items-content .right p {
  text-align: start;
}

.history-items .list_item_noimage .items .items-content .right {
  padding: 10px 15px 5px !important;
}

.list_item_noimage .items .right .coin_box_new {
  display: flex !important;
  margin-top: 0;
  border: none;
  padding: 2px 5px;
  gap: 3px;
  font-size: 15px;
  font-weight: 800;
}

.list_item_noimage .items .right .coin_box_new img {
  width: 100%;
  max-width: 22px;
}

.list_item_noimage .items .timimg_icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* .history-items .list_item_grid .items .items-content .left {
    width: 55px;
} */

.history-items .list_item_grid .items .items-content .img img {
  height: 100%;
  max-height: 290px;
  border-radius: 5px;
}

.new_cards_view .history-items .items .coin_box_new {
  font-size: 15px !important;
}

.history-items .list_item_grid .items .items-content .img img {
  height: 100%;
  border-radius: 5px;
}

.mobile_view .history-items .items .coin_box_new {
  font-size: 15px !important;
}

.list_item_grid .items .right p.time_text span {
  display: none;
}


@media (max-width:575px) {
  .mobile_view {
    display: block !important;
  }

  .desktop_view {
    display: none;
  }

  .history-items .items {
    padding: 10px 15px 0 0;
  }

  .head-border {
    border-bottom: 1px solid #e3d2d2;
    padding-bottom: 10px;
  }

  .img_grid_box {
    padding: 0 10px;
  }
}

.btn-back {
  white-space: nowrap;
}

.login-type {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  /* Was `2px solid` with no color, inheriting the near-black body text color on
     the dark page. Give the container a defined subtle border. */
  border: 2px solid #33363E;
}

.login-sec {
  font-weight: bold;
  text-align: center;
  width: 50%;
  padding: 10px;
  white-space: nowrap;
  cursor: pointer;
  /* Inactive tab: inherited the near-black body color and was invisible on the
     dark page. Muted light grey keeps it legible while the active tab (white)
     still reads as selected. */
  color: #B3B5BC;
}

.login-sec.active {
  background: #C8A45D;
  color: #121112;
}

.flex_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 64px);
}

.flex_container.address_container {
  min-height: calc(100vh - 45px);
}

.flex_container.thank_you {
  min-height: calc(100vh - 80px);
}

.flex_container.lottery_container {
  min-height: calc(100vh - 198px);
}

.flex_container.lottery_container_bonus {
  min-height: calc(100vh - 141px);
}

/* Bonus lottery result: the bare back-button header otherwise inherits the global
   white `header` background, leaving a white strip on the dark (#121112) result
   page. Match the product-detail treatment, where the back button sits directly
   on the dark theme (see .productdetails .btn-back a), by darkening the header. */
.lottery-bonus-header {
  background: #121112;
  border-bottom: 0;
  /* Sits below the main header (which stays sticky); static avoids two sticky
     headers fighting for top:0 and overlapping on scroll. */
  position: static;
}

/* The global `header .btn-back a` is semi-bold (600) with no font-size, so it
   inherits the larger body size; on the bonus result page the back link should
   read at normal weight and 13px to match the other ADORI back links
   (.backoripa). Scoped so only the bonus header is affected. */
.lottery-bonus-header .btn-back a {
  font-weight: 400;
  font-size: 13px;
}

.flex_container.buy_page_main {
  min-height: calc(100vh - 141px);
}

.bottomSpace {
  padding-bottom: 60px;
}

.commonGradeImg {
  margin-bottom: 30px;
}

.commonGradeImg img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
}

.img_grid_box {
  justify-content: center;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
}

.img_grid_box .img_grid {
  position: relative;
  max-width: 300px;
}

.img_grid_box .img_grid img {
  width: 100%;
  border-radius: 12px;
  height: 100%;
  object-fit: fill;
}

.img_grid_box .img_grid .wining_card {
  position: relative;
  aspect-ratio: 284 / 396;
}

.last_note {
  padding: 0 30px 20px;
  text-align: left;
}

.last_note h5 {
  color: #F3F0E9;
}

.last_note p {
  font-size: 12px;
  color: #F3F0E9;
  font-family: 'Arial Regular';
}

/* ---- Product detail: 注意事項 notice box (dark theme) ---- */
.series-notice-box {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(243, 190, 32, 0.08);
  border: 1px solid rgba(243, 190, 32, 0.4);
  border-radius: 10px;
  color: #F3F0E9;
}

.series-notice-box .notice-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: #F3BE20;
}

.series-notice-box .notice-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #F3F0E9;
}

.border_box {
  padding: 40px 0;
}

.border_box .devider {
  position: relative;
}

.border_box .devider::after {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  background: rgb(208, 213, 221);
  width: 100%;
  height: 1px;
}

.lable-img {
  position: relative;
}

.lable-img img {
  width: 100%;
  max-width: 170px;
  margin: -19px auto 0;
  display: block;
}

.lable-img h6 {
  color: #fff;
  font-size: 18px;
  font-family: 'KaiseiOpti-Medium';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.darkgreyfooter ul li .roundBox .form-check-input {
  width: 70px;
  height: 32px;
  border: none;
  background-color: #fff;
  box-shadow: none !important;
  cursor: pointer;
}

.darkgreyfooter ul li .roundBox .form-switch .form-check-input {
  background-image: url(../assets/sun.png) !important;
  transition: 0.3s;
}

.darkgreyfooter ul li .roundBox .form-switch .form-check-input:checked {
  background-image: url(../assets/darkmode.png) !important;
}

body.dark .darkgreyfooter ul li .roundBox .form-check-input:checked {
  background-color: rgba(86, 110, 230, 0.3) !important;
  box-shadow: none !important;
}

.img_grid_box .img_grid .badge_img {
  position: absolute;
  top: 0px;
  right: 5px;
  display: flex;
  flex-direction: column;
}

.img_grid_box .img_grid .badge2_img {
  position: absolute;
  display: flex;
  flex-direction: column;
  bottom: 2px;
  left: 10px;
}

.img_grid_box .img_grid .badge3_img {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 2px;
  left: 10px;
}

.second-badge-img {
  margin-top: 4px;
}

.img_grid_box .img_grid .badge_img img {
  width: 80px;
  /* border: 3px solid; */
}

.img_grid_box .img_grid .badge2_img img {
  width: 90px;
  border: 2px solid #e1c359;
  border-radius: 10px;
}

.img_grid_box .img_grid .badge3_img img {
  width: 90px;
  border: 2px solid #e1c359;
  border-radius: 10px;
}

.img_grid_box .img_grid .badge3_img img.no-border {
  width: 80px;
  border: none !important;
  border-radius: 0 !important;
}

.a_garde .img_grid_box .img_grid .badge_img {
  right: 0 !important;
}

.a_garde .img_grid_box .img_grid .badge_img img {
  width: 60px;
  /* border: 3px solid; */
  margin-right: 10px;
}

.a_garde .img_grid_box .img_grid .badge2_img img {
  width: 80px;
}

.a_garde .img_grid_box .img_grid .badge3_img img {
  width: 80px;
}

.a_garde .img_grid_box .img_grid .badge3_img img.no-border {
  width: 60px;
}

.b_garde .img_grid_box .img_grid .badge_img,
.c_garde .img_grid_box .img_grid .badge_img,
.d_garde .img_grid_box .img_grid .badge_img,
.o_garde .img_grid_box .img_grid .badge_img {
  right: 7px !important;
}

.b_garde .img_grid_box .img_grid .badge_img img,
.c_garde .img_grid_box .img_grid .badge_img img,
.d_garde .img_grid_box .img_grid .badge_img img,
.o_garde .img_grid_box .img_grid .badge_img img {
  width: 50px;
}

.b_garde .img_grid_box .img_grid .badge2_img img,
.c_garde .img_grid_box .img_grid .badge2_img img,
.d_garde .img_grid_box .img_grid .badge2_img img,
.o_garde .img_grid_box .img_grid .badge2_img img {
  width: 70px;
}

.b_garde .img_grid_box .img_grid .badge3_img img,
.c_garde .img_grid_box .img_grid .badge3_img img,
.d_garde .img_grid_box .img_grid .badge3_img img,
.o_garde .img_grid_box .img_grid .badge3_img img {
  width: 70px;
}

.b_garde .img_grid_box .img_grid .badge3_img img.no-border,
.c_garde .img_grid_box .img_grid .badge3_img img.no-border,
.d_garde .img_grid_box .img_grid .badge3_img img.no-border,
.o_garde .img_grid_box .img_grid .badge3_img img.no-border {
  width: 50px;
}

/* .b_garde .img_grid_box .img_grid .badge_img .second-badge-img,
.c_garde .img_grid_box .img_grid .badge_img .second-badge-img,
.d_garde .img_grid_box .img_grid .badge_img .second-badge-img,
.o_garde .img_grid_box .img_grid .badge_img .second-badge-img {
    margin-top: 4px !important;
} */


@media (max-width:767px) {
  .img_grid_box .img_grid .badge_img img {
    width: 55px;
  }

  .img_grid_box .img_grid .badge2_img img {
    width: 70px;
  }

  .img_grid_box .img_grid .badge3_img img {
    width: 70px;
  }

  .img_grid_box .img_grid .badge3_img img.no-border {
    width: 55px;
  }

  .a_garde .img_grid_box .img_grid .badge_img img {
    width: 40px;
  }

  .img_grid_box .img_grid .badge2_img {
    left: 6px;
  }

  .img_grid_box .img_grid .badge3_img {
    left: 6px;
  }

  .a_garde .img_grid_box .img_grid .badge2_img {
    left: 7px;
  }

  .a_garde .img_grid_box .img_grid .badge3_img {
    left: 7px;
  }

  .a_garde .img_grid_box .img_grid .badge2_img img {
    width: 55px;
  }

  .a_garde .img_grid_box .img_grid .badge3_img img {
    width: 55px;
  }

  .a_garde .img_grid_box .img_grid .badge3_img img.no-border {
    width: 40px;
  }


  /* .a_garde .img_grid_box .img_grid .badge_img .second-badge-img {
    margin-top: -12px;
  }

  .second-badge-img {
      margin-top: -12px;
  } */

  .b_garde .img_grid_box .img_grid .badge_img img,
  .c_garde .img_grid_box .img_grid .badge_img img,
  .d_garde .img_grid_box .img_grid .badge_img img,
  .o_garde .img_grid_box .img_grid .badge_img img {
    width: 30px;
    /* border: 1px solid; */
  }

  .b_garde .img_grid_box .img_grid .badge2_img img,
  .c_garde .img_grid_box .img_grid .badge2_img img,
  .d_garde .img_grid_box .img_grid .badge2_img img,
  .o_garde .img_grid_box .img_grid .badge2_img img {
    width: 34px;
    border: 1px solid #e1c359;
  }

  .b_garde .img_grid_box .img_grid .badge3_img img,
  .c_garde .img_grid_box .img_grid .badge3_img img,
  .d_garde .img_grid_box .img_grid .badge3_img img,
  .o_garde .img_grid_box .img_grid .badge3_img img {
    width: 34px;
    border: 1px solid #e1c359;
  }

  .b_garde .img_grid_box .img_grid .badge3_img img.no-border,
  .c_garde .img_grid_box .img_grid .badge3_img img.no-border,
  .d_garde .img_grid_box .img_grid .badge3_img img.no-border,
  .o_garde .img_grid_box .img_grid .badge3_img img.no-border {
    width: 30px;
  }

  .b_garde .img_grid_box .img_grid .badge2_img,
  .c_garde .img_grid_box .img_grid .badge2_img,
  .d_garde .img_grid_box .img_grid .badge2_img,
  .o_garde .img_grid_box .img_grid .badge2_img {
    bottom: 2px;
    left: 4px;
  }

  .b_garde .img_grid_box .img_grid .badge3_img,
  .c_garde .img_grid_box .img_grid .badge3_img,
  .d_garde .img_grid_box .img_grid .badge3_img,
  .o_garde .img_grid_box .img_grid .badge3_img {
    top: 2px;
    left: 4px;
  }

  /* .b_garde .img_grid_box .img_grid .badge_img .second-badge-img,
  .c_garde .img_grid_box .img_grid .badge_img .second-badge-img,
  .d_garde .img_grid_box .img_grid .badge_img .second-badge-img,
  .o_garde .img_grid_box .img_grid .badge_img .second-badge-img {
      margin-top: -5px !important;
  } */


  .a_garde .img_grid_box .img_grid .badge_img .black_image_box {
    width: 30px;
    height: 30px;
  }

  .b_garde .img_grid_box .img_grid .badge_img .black_image_box,
  .c_garde .img_grid_box .img_grid .badge_img .black_image_box,
  .d_garde .img_grid_box .img_grid .badge_img .black_image_box,
  .o_garde .img_grid_box .img_grid .badge_img .black_image_box {
    width: 30px;
    height: 30px;
  }
}

.black_image_box {
  width: 55px;
  height: 55px;
}

.a_garde .img_grid_box .img_grid .badge_img .black_image_box {
  width: 45px;
  height: 45px;
}

.b_garde .img_grid_box .img_grid .badge_img .black_image_box,
.c_garde .img_grid_box .img_grid .badge_img .black_image_box,
.d_garde .img_grid_box .img_grid .badge_img .black_image_box,
.o_garde .img_grid_box .img_grid .badge_img .black_image_box {
  width: 40px;
  height: 40px;
}

.img_grid_box .img_grid .card_count {
  position: absolute;
  background-color: #000;
  bottom: 0px;
  right: 0px;
  padding: 4px 8px;
  border-radius: 5px;
}

.img_grid_box .img_grid .card_count p {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  display: flex;
}

@media (max-width:767px) {
  .img_grid_box.row-cols-4 .img_grid .card_count {
    padding: 2px 5px;
  }

  .img_grid_box.row-cols-4 .img_grid .card_count p {
    font-size: 12px;
    font-weight: 600;
  }

  .img_grid_box.row-cols-4 .img_grid .card_count p svg {
    width: 14px;
  }

  .img_grid_box.row-cols-3 .img_grid .card_count {
    padding: 2px 5px;
  }

  .img_grid_box.row-cols-3 .img_grid .card_count p {
    font-size: 12px;
    font-weight: 600;
  }

  .img_grid_box.row-cols-3 .img_grid .card_count p svg {
    width: 14px;
  }
}

.popup_banner {
  width: 100% !important;
  height: 100% !important;
}

.popup_banner .modal-body img {
  height: 100%;
  width: 100%;
  border-radius: 7px;
  max-height: 518px !important;
}

.popup_banner .modal-body .btn-close {
  position: absolute;
  right: 10px;
  top: 10px;
}

.popup_banner-section {
  display: flex !important;
  justify-content: center !important;
}

.spin-count-text {
  color: #e4201d;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
}

/* user image and membership frame */
.profile-img {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-img .default {
  border-radius: 50%;
  height: 55px;
  width: 55px;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
}

.profile-image-preview {
  margin-top: 20px;
  width: 80px;
}

.profile-image-input {
  padding: 10px 16px !important;
}

.frame_layer {
  position: relative;
  height: 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #e2e4f7;
  position: relative;
}

.img-filter {
  filter: invert(1);
}

.btn-account .frame_layer {
  height: 40px !important;
  width: 40px !important;
}

.btn-account .user-img,
.btn-account .user-img .default {
  width: 32px !important;
  height: 32px !important;
}

.accountdropdown {
  display: flex;
  justify-content: space-between;
  gap: 3px;
  align-items: center;
}

.profile-img a {
  color: #000;
  background-color: #c0c0c0bd;
  padding: 2px 5px;
  border-radius: 5px;
}

.edit_profile {
  position: absolute;
  bottom: 0px;
  right: -2px;
  z-index: 1000;
}

.edit_profile i {
  font-size: 14px;
}

#faqs_section .faqsBox {
  padding: 0px 30px;
}

#faqs_section .faqsBox .top_title h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #EFD79B;
  margin: 40px 0px 30px;
  font-size: 20px;
}

#faqs_section .faqsBox .text_box {
  margin-bottom: 40px;
}

#faqs_section .faqsBox .text_box h6 {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #F3F0E9;
  margin-bottom: 15px;
}

#faqs_section .faqsBox .text_box h6 span {
  color: #FF0000;
}

#faqs_section .faqsBox .text_box p {
  font-size: 16px;
  color: #F3F0E9;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

#faqs_section .faqsBox .text_box a {
  color: #C8A45D;
  text-decoration: underline;
}

#faqs_section .faqsBox .text_box ol li p,
#faqs_section .faqsBox .text_box ul li p {
  margin-bottom: 5px;
}

#faqs_section .faqsBox .text_box ul {
  padding-left: 32px;
}

#faqs_section .faqsBox .text_box ul li {
  list-style: disc;
}

#faqs_section hr {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Empty-state message ("No Products Found") on the dark theme */
.no-products-found,
.no-products-msg {
  width: 100%;
  padding: 40px 15px;
  color: #F3F0E9;
  font-size: 15px;
}

/* ----------- News section css ----------- */

.news_list_page,
.news_details,
#registration {
  padding: 40px 0;
}

.see_more_btn {
  text-align: center;
  margin: 10px 0;
}

.see_more_btn .see_more,
.see_more_btn .see_more_news {
  color: #F3F0E9;
  font-size: 14px;
  font-family: 'Noto Sans JP';
  font-weight: 500;
  padding: 0;
  border: none;
  box-shadow: none;
  outline: none;
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0 auto;
}

.see_more_btn .see_more i,
.see_more_btn .see_more_news i {
  margin-left: 5px;
  vertical-align: middle;
}

.news_section {
  padding: 30px;
  background-color: #1A1C21;
  border: 1px solid #33363E;
  box-shadow: 0px 2px 20px 0px #3f35221a;
  border-radius: 12px;
  margin: 40px auto 30px;
  max-width: 800px;
}

.news_section .title h4 {
  font-size: 16px;
  color: #FEFEFE;
  font-family: 'Noto Sans JP';
  font-weight: 500;
}

.news_section .news_list {
  margin: 40px 0;
}

.news_section .news_list .news_text a {
  text-decoration: none;
  display: block;
}

.news_section .news_list .news_text:not(:last-child) a {
  border-bottom: 1px solid #33363E;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.news_section .news_list .news_text h6 {
  color: #C8A45D;
  font-size: 14px;
  font-family: 'Noto Sans JP';
  font-weight: 500;
  margin-bottom: 10px;
}

.news_section .news_list .news_text p {
  color: #F3F0E9;
  font-size: 14px;
  font-family: 'Noto Sans JP';
  font-weight: 300;
  margin-bottom: 0;
}

/* Home / sold-out: sits right under the 安心設計 grid, whose 20px bottom margin is the gap. */
.latest_news .news_section {
  margin-top: 0;
}

.news_list_page .news_section {
  max-width: 100%;
  padding: 30px;
}

.news_details .news_content span {
  font-size: 13px;
  color: #C8A45D;
  font-family: 'Inter-Medium';
  display: block;
  margin-bottom: 15px;
}

.news_details .news_content h4 {
  font-size: 28px;
  color: #FEFEFE;
  margin-bottom: 45px;
  font-family: 'Inter-SemiBold';
}

.news_details .news_content .text {
  color: #F3F0E9;
}

.news_details .news_content .text p,
.news_details .news_content .text li,
.news_details .news_content .text span,
.news_details .news_content .text h1,
.news_details .news_content .text h2,
.news_details .news_content .text h3,
.news_details .news_content .text h4,
.news_details .news_content .text h5,
.news_details .news_content .text h6 {
  color: #F3F0E9;
  font-size: 14px;
  font-family: 'Inter-Medium';
  margin-bottom: 20px;
}

@media (max-width:575px) {

  .news_list_page,
  .news_details {
    padding: 30px 10px;
  }
}

@media (max-width:767px) {

  .news_details .news_content h4,
  .news_list_page .page_title h3 {
    font-size: 20px;
  }

  .guest.headercart {
    display: none;
  }
}

.register_main h3 {
  font-size: 24px;
  /* Was #372F28 (dark brown) — invisible on the dark page. Bright cream title. */
  color: #F3F0E9;
  font-family: 'Inter-SemiBold';
  text-align: center;
  margin-bottom: 30px;
}

.register_main .mail_img img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 50px;
  display: block;
}

.register_main .mail_img p {
  /* Was #372F28 (dark brown) — invisible on dark. Readable muted light grey. */
  color: #B3B5BC;
  font-size: 16px;
  font-family: 'Inter-Medium';
}

.register_main .red_text p {
  /* Lightened from rgb(226,24,24): the saturated red was low-contrast on #121112.
     Same readable warning red used on the register page. */
  color: #FF5C6C;
  font-size: 16px;
  font-family: 'Inter-Medium';
}

header .headerright .head_btn {
  display: flex;
  gap: 10px;
  margin-left: 10px;
}

header .headerright .head_btn a {
  color: #fff;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Per Figma: ログイン is the dark secondary button, 新規登録 the red primary CTA. */
header .headerright .head_btn .login-link {
  background: #121112;
  border-color: #33363E;
}

header .headerright .head_btn .new-login {
  background: #C31421;
  border-color: #FFFFFF4D;
}

.paypay-note {
  color: #dc3545;
  text-align: left;
  margin-top: 1rem;
  font-size: 9px;
  FONT-VARIANT: JIS78;
  line-height: 1.5;
  margin-bottom: 0 !important;
}

.popup_banner .modal-body .btn-close {
  position: absolute;
  right: 2px;
  top: -25px;
  filter: invert(1);
  opacity: 1;
}

/* Sticky Tab UI */
.sticky_tab {
  position: sticky;
  top: 63px;
  z-index: 1049;
  background-color: #fff;
  box-shadow: 0px 4px 4px 0px #0000001A;
}

@media (max-width: 767px) {
  .sticky_tab {
    top: 46px;
  }

  header .headerright .head_btn a {
    font-size: 11px;
    padding: 4px 10px;
  }
}

@media (max-width: 375px) {
  .sticky_tab {
    top: 46px !important;
  }
}

.inner_tab_sec {
  margin-bottom: 15px;
  padding: 0 0px;
  position: relative;
}

.inner_tab_sec ul {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 12px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}

.inner_tab_sec ul li a {
  font-size: 16px;
  color: #2E2E2E;
  background-color: #fff;
  border: 1px solid #E1E1E1;
  padding: 7px 10px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Inter-Regular';
  display: inline-block;
}

/* Each chip carries its own background/text colour as an inline style the admin
   picks, which beats any colour declared here — so the selected state can't be
   shown with colour at all, and a 1px border is lost against a bright chip.
   Thicken the border instead; anything drawn outside the box (outline, shadow)
   is clipped by the row's horizontal scroll. The padding drops by the 2px the
   border gains, so the pill keeps its size and the row doesn't shift. */
.inner_tab_sec .sub_new.active {
  color: #FF9D00;
  border-radius: 30px !important;
  border-color: #C8A45D;
  border-width: 3px;
  padding: 5px 8px;
}

.custom_drop .drop_click {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1A1C21;
  border-color: #33363E;
  text-decoration: none;
  font-family: 'Noto Sans JP';
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 16px;
  color: #F3F0E9;
  cursor: pointer;
  font-weight: 400;
}

.custom_drop .dropdown {
  position: absolute;
  background: #1A1C21;
  border: 1px solid #33363E;
  /* width: 200px; */
  border-radius: 8px;
  display: none;
  overflow: hidden;
  z-index: 1000;
  margin-top: 3px;
}

.dropdown.show {
  display: block !important;
  right: 0;
}

.custom_drop .dropdown li a {
  display: block;
  padding: 8px 15px;
  font-size: 16px;
  color: #F3F0E9;
  font-family: 'Noto Sans JP';
  font-weight: 400;
  text-decoration: none;
  border: none;
  border-radius: 0;
  background-color: transparent;
}

.custom_drop .dropdown li a:hover {
  background: #121112;
}

/* Declared after :hover so hovering the selected row keeps the gold highlight
   instead of falling back to the plain dark hover background. */
.custom_drop .dropdown li a.active,
.custom_drop .dropdown li a.active:hover {
  background: #C8A45D;
  color: #121112;
}

.btn_sold .btn_soldout {
  color: #F3F0E9 !important;
  background: #22252B !important;
  border-color: #33363E !important;
  text-decoration: none;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 479px) {
  .inner_tab_sec ul {
    gap: 5px;
  }

  .custom_drop .drop_click,
  .inner_tab_sec ul li a {
    font-size: 12px;
    padding: 6px 8px;
  }

  .inner_tab_sec ul li a {
    padding: 8px 8px;
  }
}

.inner_tab_sec .tab-container .tab {
  padding: 2px !important;
  margin-right: 0px !important;
}

.text-xs {
  font-size: .75rem;
  line-height: 1rem;
}

.inner_tab_sec ul {
  cursor: grab;
}

.inner_tab_sec ul:active {
  cursor: grabbing;
}

.nav-tabs .nav-item:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

.border-bottom-none {
  border-bottom: none !important;
}


/* Countdown Timer Styles */
.countdown-timer {
  font-family: 'NotoSansJP-Bold';
  /* font-weight: 600; */
  font-size: 14px;
  color: #fff;
  background: linear-gradient(86deg, #E7007D 0%, #FB0 100%);
  text-align: center;
  padding: 10px 20px;
  margin: 0 0 10px 0;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-timer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--shine-effect);
  animation: shine 5s ease-in-out infinite;
}

/* Dark mode logo handling */
/* Header logo dark mode */
header img.logo-default,
header img.logo-dark {
  display: inline;
}

header img.logo-white,
header img.logo-light {
  display: none;
}

body.dark header img.logo-default,
body.dark header img.logo-dark {
  display: none !important;
}

body.dark header img.logo-white,
body.dark header img.logo-light {
  display: inline !important;
}

/* Footer logo dark mode handling */
.darkgreyfooter .logo-img img.logo-default,
.darkgreyfooter .logo-img img.logo-dark {
  display: inline;
}

.darkgreyfooter .logo-img img.logo-white,
.darkgreyfooter .logo-img img.logo-light {
  display: none;
}

body.dark .darkgreyfooter .logo-img img.logo-default,
body.dark .darkgreyfooter .logo-img img.logo-dark {
  display: none !important;
}

body.dark .darkgreyfooter .logo-img img.logo-white,
body.dark .darkgreyfooter .logo-img img.logo-light {
  display: inline !important;
}

.after-redeem-content .close_div .btn_close {
  color: #151515;
  font-size: 16px;
  background-color: #fff;
  border: 1px solid #C8A45D;
  border-radius: 6px;
  box-shadow: none;
  outline: none;
  text-align: center;
  width: 100%;
}

.exchange_point,
.delivery_cards {
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 15px 0px #00000021;
  padding: 15px;
}

.exchange_point h5,
.delivery_cards h5 {
  font-size: 20px;
  color: #151515;
  font-family: 'Inter-SemiBold';
  margin-bottom: 15px;
}

.after-redeem-content .point-section img,
.after-redeem-content .point-section img {
  max-width: 25px;
}

.after-redeem-content .btn-mute {
  background-color: #f1f5f9;
  text-align: center;
}

.after-redeem-content .items {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 16px 0px #00000021;
  position: relative;
}

.after-redeem-content .tryAgain_text h5 {
  background-color: #fff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0px 4px 16px 0px #00000021;
  padding: 10px;
  text-align: center;

}

.after-redeem-content .pricetag .price2 {
  text-align: center;
}

.after-redeem-content .items .item-content {
  padding: 0 15px 15px;
}

.after-redeem-content .close_div .btn_close {
  color: #151515;
  font-size: 16px;
  background-color: #fff;
  border: 1px solid #C8A45D;
  border-radius: 6px;
  box-shadow: none;
  outline: none;
  text-align: center;
  width: 100%;
}

.red-text {
  color: #DC2626;
}

header .logo a {
  display: inline-block;
}

body.dark .sidebar-portal-content {
  background-color: #17212E;
}

body.dark .sidebar-head,
body.dark .chakra-text,
body.dark .font-member-ship,
body.dark .buypointsdiv .possession-point,
body.dark .acquisition-history p,
body.dark .acquisition-history p a,
body.dark .text_color {
  color: #fff;
}

body.dark .sidebar-portal .btn-default {
  background: rgb(0 0 0);
}

/* --- Invitation Box Redesign (sidebar only) --- */
.chakra-text.mb-2 {
  font-size: 16px;
  font-weight: 700;
  color: #151515;
  margin-top: 16px;
}

.invitation-box-v1 {
  background-color: #f4f6f8;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.invitation-box-v1 .label-strip {
  font-size: 13px;
  font-weight: 600;
  color: #151515;
  margin-bottom: 10px;
}

.invitation-box-v1 .code-display {
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  cursor: pointer;
}

.invitation-box-v1 .code-display .code {
  font-size: 18px;
  font-weight: 700;
  color: #151515;
  margin: 0;
}

.invitation-box-v1 .code-display .tap-to-copy {
  font-size: 12px;
  color: #888;
}

.invitation-box-v1 .stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e1e1e1;
}

.invitation-box-v1 .stats-label {
  font-size: 14px;
  color: #151515;
  font-weight: 500;
}

.invitation-box-v1 .stats-value {
  font-size: 14px;
  font-weight: 700;
  color: #151515;
}

.invitation-box-v1 .info-text {
  font-size: 12px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}


.btn-invited-list {
  display: block;
  background-color: rgba(37, 38, 48, 1);
  color: #fff !important;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 16px;
  font-size: 15px;
  transition: 0.3s;
}

/* .btn-invited-list:hover {
    background-color: transparent;
    color: #fff;
} */



/* --- Sidebar Menu List (Settings & Others) --- */
.sidebar-menu-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.sidebar-menu-list .menu-header {
  font-size: 15px;
  font-weight: 700;
  color: #151515;
  padding: 14px 0 10px;
  border-bottom: 1px solid #e8e8e8;
  margin-top: 8px;
}

.sidebar-menu-list li a.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #2e2e2e !important;
  text-decoration: none !important;
  font-size: 14px;
  font-family: inherit;
  transition: padding-left 0.15s ease;
}

.sidebar-menu-list li a.menu-item:hover {
  color: #151515 !important;
  padding-left: 4px;
}

.sidebar-menu-list li a.menu-item i.fa-angle-right {
  color: #bbb;
  font-size: 14px;
  flex-shrink: 0;
}

body.dark .sidebar-menu-list .menu-header {
  color: #fff;
  border-color: #333;
}

body.dark .sidebar-menu-list li a.menu-item {
  color: #fff !important;
  border-color: #333;
}

body.dark .sidebar-menu-list li a.menu-item:hover {
  color: #eee !important;
}



/* --- Share X Button (global fix) --- */
.btn-share-x,
.btn-invited-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(37, 38, 48, 1) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background-color 0.3s;
  width: fit-content;
  margin: 0 auto;
}

/* .btn-share-x:hover, .btn-invited-link:hover {
    background-color: transparent !important;
    color: #fff !important;
} */

.btn-share-x i.fa-play,
.btn-invited-link i.fa-play {
  font-size: 10px;
}

.sidebar-portal .btn-default {
  background: rgba(37, 38, 48, 1);
}

.sidebar-portal .btn-default:hover {
  background: rgb(0 0 0 / 90%);
  color: #fff;
}

/* Ship-cards confirm modal: light theme. It shares the .alertpopup class (which
   is hard-coded dark), but must match the light history page — so override the
   dark rules here, scoped to #shipCardsModal only. Other alertpopups stay dark. */
#shipCardsModal .modal-content {
  background: #fff;
  color: #212529;
  border: 1px solid #dee2e6;
}

#shipCardsModal .modal-header,
#shipCardsModal .modal-footer {
  border-color: #dee2e6;
}

/* Primary text + the total figure: dark on the light surface. */
#shipCardsModal .modal-title,
#shipCardsModal .title,
#shipCardsModal p,
#shipCardsModal .modal-body label,
#shipCardsModal #ship-cards-points,
#shipCardsModal .ship-cards-text {
  color: #212529;
}

/* Secondary text (合計 / 対象商品数 / disclaimers / address) stays muted grey.
   Placed after the rule above so it wins for <p class="... text-muted">. */
#shipCardsModal .text-muted,
#shipCardsModal p.desc {
  color: #6c757d;
}

/* Summary box keeps Bootstrap's light surface — now correct against the white
   modal instead of washing out. */
#shipCardsModal .bg-light {
  background: #f8f9fa;
}

.main-container.xfeeds_page,
.main-container.redeemed_card_page,
.main-container.point_expiry_page,
.main-container.notification_page,
.main-container.points {
  min-height: calc(100vh - 141px);
  padding-bottom: 80px;
}

.main-container.xfeeds_page {
  padding-bottom: 60px;
}

body.dark .xfeeds_page .page-title,
body.dark .xfeeds_page .no-data {
  color: #fff;
}

/* Fallback link inside the tweet blockquote (visible only when widgets.js does not render the embed). */
.xfeeds_page .tweet-container blockquote a {
  color: #E0C080;
  text-decoration: underline;
}

.xfeeds_page .no-data {
  text-align: center;
  padding: 60px 0;
  color: #F3F0E9;
  font-size: 15px;
}

/* X-feeds loader: center it + theme gold (default was dark currentColor, top-left) */
.xfeeds-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}

.xfeeds-spinner .spinner-border {
  color: #C8A45D;
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

/* X-feeds "さらに表示" (load more): design gold instead of legacy red */
#showMore.btn-primary {
  background: linear-gradient(90deg, #C8A45D 0%, #E2C98F 100%) !important;
  color: #121112 !important;
  border: none !important;
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 30px;
  box-shadow: none !important;
}

#showMore.btn-primary:hover,
#showMore.btn-primary:focus,
#showMore.btn-primary:active {
  background: linear-gradient(90deg, #E2C98F 0%, #C8A45D 100%) !important;
  color: #121112 !important;
}

#showMore.btn-primary:disabled,
#showMore.btn-primary.disabled {
  opacity: 0.6;
  color: #121112 !important;
}

.tweet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: start;
  justify-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  position: relative;
}

/* While the loader runs: collapse the grid but keep its width so Twitter can
   still measure/render the embeds. Revealed in JS once the spinner is hidden. */
.tweet-grid.is-loading {
  visibility: hidden;
  height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.tweet-container {
  width: 100%;
  border-radius: 10px;
  /* background: white; */
  /* padding: 10px; */
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

/* Posts added by Show More: hidden and out of the grid flow (no row gap, so the button
   does not jump) until X has rendered them. JS sets the width to a real column width. */
.tweet-container.is-loading {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

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


@media (max-width:992px) {
  .container {
    width: 100%;
    max-width: 100%;
  }

  .page_title h3 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .col-md-6.list_item_noimage {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .exchange_point {
    padding: 8px 10px;
  }

  .exchange_point h5 {
    font-size: 13px;
    margin-bottom: 10px !important;
  }

  .after-redeem-content .btn-mute {
    padding: 8px 0 !important;
  }

  .redeem_message {
    font-size: 13px !important;
    line-height: 1.2;
  }

  .after-redeem-content .tryAgain_text h5 {
    font-size: 14px !important;
  }

  .after-redeem-content .price_row1 {
    padding-top: 0;
  }
}

@media (max-width: 576px) {
  .tweet-grid {
    grid-template-columns: 1fr;
    padding: 0px;
  }
}


@media (max-width: 575px) {
  .after-redeem-content .items .item-content {
    padding: 12px;
  }

  .img_grid_box .img_grid img,
  .img_grid_box .img_grid .wining_card.winner::after {
    border-radius: 8px !important;
  }
}

/* Card thumbnail slider inside each gacha box */
.card_slider {
  margin: 10px 0 0px;
  position: relative;
}

.card_slider .owl-item .item a::after {
  display: none;
}

.card_slider .owl-item .item img {
  border-radius: 2px;
  max-height: 110px !important;
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.card_slider .owl-carousel .owl-nav .owl-prev,
.card_slider .owl-carousel .owl-nav .owl-next {
  position: absolute;
  top: 35%;
  background: none;
  margin: 0;
  padding: 0;
}

.card_slider .owl-carousel .owl-nav .owl-next {
  right: 14px;
}

.card_slider .owl-carousel .owl-nav .owl-prev img,
.card_slider .owl-carousel .owl-nav .owl-next img {
  max-width: 25px;
  width: 100%;
}

.card_slider .owl-nav .owl-prev,
.card_slider .owl-nav .owl-next {
  position: absolute !important;
  top: 50% !important;
  padding: 0 !important;
  border: none;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  transform: translateY(-50%) !important;
  background-color: #ce0000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_slider .owl-nav .owl-prev i,
.card_slider .owl-nav .owl-next i {
  color: #fff;
}

/* --------- My page css -------- */
.my-page-main {
  padding: 20px 0;
}

.my-page-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
  color: #202020;
  font-family: "NotoSansJP-Bold";
}

.my-page-user-name h5 {
  color: #F3F0E9;
  font-size: 20px;
  margin-bottom: 30px;
  font-family: 'Noto Sans JP';
  font-weight: 700;
}

.my-page-wrap a {
  text-decoration: none;
}

.my-level-top,
.my-rank-progress-labels,
.my-invite-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.my-level-top {
  margin-bottom: 5px;
}

.my-level-top strong {
  color: #000;
  font-size: 12px;
  font-family: 'Noto Sans JP';
  font-weight: 400;
}

.my-level-top span {
  font-size: 16px;
  font-family: 'Noto Sans JP';
  font-weight: 700;
}

.my-link-right {
  color: #B3B5BC !important;
  font-size: 12px;
  border-bottom: 1px solid #B3B5BC;
  display: block;
  width: fit-content;
  margin: 7px 0 12px auto;
  font-family: 'Noto Sans JP';
  font-weight: 500;
}

.my-level-track .progress,
.my-rank-progress .progress {
  border-radius: 30px;
  background: #22252B !important;
}

.my-rank-progress .progress .progress-bar {
  background: linear-gradient(90deg, #C8A45D 0%, #E2C98F 100%);
}

.my-rank-progress .progress {
  height: 20px;
}

.my-rank-next {
  margin: 8px 0 0;
  color: #F3F0E9;
  font-size: 12px;
  text-align: right;
  font-family: 'Noto Sans JP';
  font-weight: 500;
}

.my-rank-section {
  margin-bottom: 15px;
}

.my-rank-section h2,
.my-points h2,
.my-invite h2,
.table_box_last h2 {
  color: #F3F0E9;
  font-size: 16px;
  font-family: 'Noto Sans JP';
  font-weight: 500;
  margin-bottom: 12px;
}

.my-rank-card {
  margin-bottom: 5px;
}

.my-rank-card img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0px 1px 5px 0px #0000004D;
}

.my-rank-progress-labels {
  font-size: 16px;
  color: #F3F0E9;
  margin-bottom: 7px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
}

.my-rank-progress-labels strong {
  font-size: 16px;
}

.my-action-grid {
  margin-bottom: 42px;
}

.point-btn-box {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 12px;
  margin-top: 16px;
}

.my-action-grid a,
.point-btn-box .blue_com {
  color: #121112;
  font-size: 14px;
  width: 100%;
  background-color: #C8A45D;
  border: 1px solid #8C6D3580;
  display: inline-block;
  border-radius: 8px;
  padding: 12px 15px;
  text-align: center;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  outline: none;
}

.my-action-grid a {
  color: #F3F0E9;
  background-color: #C31421;
  border: 1px solid #C8A45D80;
}

.point-btn-box .blue_com {
  width: calc(50% - 5px);
}

.my-share-buttons a,
.my-invite-list {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  gap: 4px;
  min-height: 46px;
  border-radius: 8px;
  color: #fff !important;
  background: #252525;
  font-size: 14px;
}

.my-share-buttons a i,
.my-invite-list i {
  font-size: 16px;
}

.my-action-grid i,
.my-share-buttons i {
  margin-right: 7px;
}

.my-points {
  margin-bottom: 44px;
}

.my-point-value {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.my-point-value img {
  width: 24px;
  height: 24px;
}

.my-point-value strong {
  color: #F3F0E9;
  font-size: 16px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
}

.my-invite {
  margin-bottom: 38px;
}

.my-invite-card {
  background: #1A1C21;
  border: 1px solid #33363E;
  border-radius: 8px;
  padding: 16px 12px;
}

.my-invite-card label {
  display: block;
  color: #030B17;
  font-size: 16px;
  margin-bottom: 10px;
  font-family: 'Noto Sans JP';
  font-weight: 500;
}

.my-invite-card button {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  font-family: 'Noto Sans JP';
  font-weight: 500;
  background: #22252B;
  border: 1px solid #33363E;
  color: #97938C;
  font-size: 13px;
  text-align: right;
  padding: 9px 10px;
  margin-bottom: 16px;
}

.my-invite-card button span {
  cursor: pointer;
  border: 1px solid #C8A45D80;
  border-radius: 8px;
  padding: 6px 8px;
  color: #E2C98F;
  font-size: 12px;
}

.my-invite-count {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #33363E;
}

.my-invite-count span,
.my-invite-count strong,
.my-invite-card label {
  color: #F3F0E9;
  font-size: 16px;
  font-family: 'Noto Sans JP';
  font-weight: 500;
}

.my-invite-card p {
  color: #F3F0E9;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
  font-family: 'Noto Sans JP';
  font-weight: 400;
}

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

.my-share-buttons .my-share-x {
  background: #000000;
}

.my-share-buttons .my-share-line {
  background: #06C755;
}

.my-invite-list {
  color: #121112 !important;
  background: #C8A45D;
  min-height: 48px;
  border: 1px solid #8C6D3580;
}

.my-menu-card {
  background-color: #1A1C21;
  border: 1px solid #33363E;
  border-radius: 12px;
  margin-bottom: 40px;
}

.table_box_last h2 {
  margin-bottom: 8px;
}

.my-menu-card a {
  display: block;
  color: #F3F0E9;
  font-size: 14px;
  padding: 12px 0;
  font-family: 'Noto Sans JP';
  font-weight: 400;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.my-menu-card a i {
  color: #8F929A;
}

.my-menu-card a:not(:last-child) {
  border-bottom: 1px solid #33363E;
}

.sold_mystery {
  text-align: center;
}

.sold_mystery .mystery_btn {
  background-color: #C8A45D !important;
  color: #121112 !important;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #8C6D354D !important;
  padding: 12px 15px;
  text-align: center;
  width: 300px;
  outline: none;
}

.reliable_grid {
  max-width: 800px;
  margin: 20px auto;
}

.reliable_grid .text_title h4 {
  color: #F3F0E9;
  font-size: 20px;
  margin-bottom: 16px;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  padding-left: 13px;
  position: relative;
}

.reliable_grid .text_title h4::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: calc(100% - 6px);
  width: 3px;
  border-radius: 2px;
  background-color: #C8A45D;
}

.grid_reliable_box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.grid_reliable_box .grid_box {
  padding: 12px;
  background-color: #1A1C21;
  border: 1px solid #33363E;
  border-radius: 12px;
}

.grid_reliable_box .grid_box span {
  height: 40px;
  width: 40px;
  display: flex;
  border: 1px solid #C8A45D73;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.grid_reliable_box .grid_box h5 {
  font-size: 14px;
  color: #F3F0E9;
  margin: 10px 0;
  font-family: 'Noto Sans JP';
  font-weight: 700;
}

.grid_reliable_box .grid_box p {
  font-size: 13px;
  color: #B3B5BC;
  margin-bottom: 0;
  font-family: 'Noto Sans JP';
  font-weight: 700;
}

@media (max-width:575px) {
  .my-page-wrap {
    padding: 0 10px;
  }

  .my-action-grid a,
  .point-btn-box .blue_com {
    font-size: 13px;
  }

  .grid.details .item-content {
    top: 68px;
  }

  .top_white_div .flex_row .cartoon_img img {
    width: 156px;
  }

  .top_white_div .flex_row .text h4 br {
    display: none;
  }
}

@media (max-width: 390px) {
  .top_white_div .flex_row {
    gap: 0;
  }
}

/* ----- tab design css --------- */

.custom_tab .tab_button .nav-tabs {
  padding: 4px;
  background-color: #22252B;
  border: 1px solid #C8A45D80;
  border-radius: 30px;
  max-width: 370px;
  margin: 0 auto 40px;
}

.custom_tab .tab_button .nav-tabs .nav-link {
  color: #B3B5BC;
  flex: 1;
  font-size: 14px;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 30px;
  border: 1px solid transparent;
  background-color: #22252B;
  margin-bottom: 0;
  text-indent: -10px;
}

.custom_tab .tab_button .nav-tabs .nav-link.active {
  background-color: #C8A45D;
  border: 1px solid #8C6D3580;
  color: #1A1C21;
  font-family: 'NotoSansJP-Medium';
  position: relative;
}

.custom_tab .tab_button .nav-tabs .nav-link.active span {
  opacity: 1;
  visibility: visible;
}


/* ----- winning revealed --------- */

body.winning-results-open {
  overflow: hidden;
}

.winning_revealed {
  position: fixed;
  inset: 0;
  background: #00000080;
  z-index: 9999;
  transition: 0.5s all;
  opacity: 0;
  visibility: hidden;
}

.winning_revealed.active {
  opacity: 1;
  visibility: visible;
}

.winning_revealed .winning_popup {
  position: absolute;
  right: 0;
  background: #1A1C21;
  padding: 20px 20px 0;
  border-radius: 16px 16px 0 0;
  max-width: 480px;
  width: 100%;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  transition: .5s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scrollbar-width: none;
  height: calc(100vh - 60px);
}

.winning_revealed.active .winning_popup {
  top: 60px;
}

.winning_revealed .winner-card {
  position: relative;
  padding: 5px 0 20px 30px;
  margin-bottom: 3px;
}

.winning_revealed .winner-card::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 2px;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background-color: #E2C98F;
  border: 4px solid #1A1C21;
  outline: 2px solid #E2C98F;
}

.winning_revealed .winner-card::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 7px;
  bottom: -3px;
  width: 3px;
  background-image: repeating-linear-gradient(to bottom, #B3B5BC 0, #B3B5BC 6px, transparent 6px, transparent 12px);
}

.winning_revealed .close_popup {
  border: 0;
  background: none;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
  display: block;
  margin-bottom: 20px;
  padding: 0;
}

.winning_revealed .common_title {
  margin-bottom: 15px;
}

.winning_revealed .common_title h5 {
  font-size: 20px;
  color: #F3F0E9;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  margin-bottom: 10px;
}

.winning_revealed .common_title span {
  font-size: 12px;
  line-height: 18px;
  display: inline-block;
  color: #B3B5BC;
  font-weight: 300;
}

.winning_revealed .common_title .total_points {
  background-color: #22252B;
  border: 1px solid #33363E;
  padding: 8px 24px;
  border-radius: 8px;
  margin-top: 15px;
  font-family: 'Noto Sans JP';
  font-weight: 500;
  color: #F3F0E9;
}

.winning_revealed .common_title .total_points p,
.winning_revealed .common_title .total_points p>sub {
  margin-bottom: 0;
  font-size: 14px;
}

.winning_revealed .common_title .total_points p>sub {
  bottom: 0;
}

.winning_revealed .common_title .total_points p span {
  color: #F3F0E9;
  font-size: 20px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
}

.winning_revealed .flex_scroll {
  height: calc(100vh - 360px);
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 50px;
}

.winner-card .rank_order {
  font-size: 20px;
  color: #F3F0E9;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}

.winner-card .rank_order span {
  font-size: 12px;
  color: #B3B5BC;
  font-weight: 500;
}

.winning_revealed .custom_tab .tab_button .nav-tabs {
  max-width: 430px;
  margin: 0 auto 20px;
}

.winning_revealed .winner-card .card_image {
  width: 86px;
  height: fit-content;
  box-shadow: 1px 1px 3px 0px #00000026;
}

.winning_revealed .winner-card .card_image img {
  border-radius: 6px;
}

.winning_revealed .card-inner {
  padding: 16px;
  border-radius: 8px;
  border: 2px solid #FFFFFE80;
  box-shadow: 0px 1px 5px 0px #00000033;
}

/* Rank card backgrounds match the gacha-odds feature (first/second/third/lastone
   panels in initial_rate_table) so ranks read consistently across the site. */
.winning_revealed .card-inner.rank-first {
  background: linear-gradient(161.56deg, #E9A9BA 25.01%, #EAD08C 37.73%, #A2D5B6 51%, #93BCE8 62.99%, #BCA5E5 74.99%);
}

.winning_revealed .card-inner.rank-second {
  background: linear-gradient(169.29deg, #C8A45D 12.89%, #E2C98F 48.44%, #FFF1D0 60.81%, #C8A45D 93.28%);
}

.winning_revealed .card-inner.rank-third {
  background: linear-gradient(174.58deg, #BCCCD8 25.88%, #F6F9FE 51.7%, #BCCCD8 77.52%);
}

.winning_revealed .card-inner .top-content {
  display: flex;
  gap: 16px;
}

.winning_revealed .card-inner .top-content .card-info {
  flex: 1;
}

.winning_revealed .card-inner .top-content .card-info .rank-badge {
  display: block;
  align-items: center;
  gap: 15px;
}

.winning_revealed .card-inner .top-content .card-info .rank-badge img {
  width: 80px;
  object-fit: contain;
}

.winning_revealed .card-inner .top-content .card-info .rank-badge span {
  color: #737373;
  font-size: 10px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
}

.winning_revealed .card-inner.rank-second .rank-badge {
  color: #C5981B !important;
}

.winning_revealed .card-inner.rank-third .rank-badge {
  color: #D14EE5 !important;
}

.winning_revealed .card-inner .card-info h3 {
  font-size: 14px;
  color: #000000;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  margin: 8px 0px;
}

.winning_revealed .card-inner .card-info .card-code {
  color: #8F929A;
  font-size: 13px;
  margin-bottom: 0;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
}

.winning_revealed .card-inner .card-info .point-box {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid #ffffff91;
}

.winning_revealed .card-inner .card-info .point-box img {
  width: 20px;
  margin-right: 4px;
  vertical-align: middle;
}

.winning_revealed .card-inner .card-info .point-box span {
  color: #121112;
  font-size: 13px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
}

.rank-tag-img {
  margin: 5px 0;
  text-align: center;
}

.rank-tag-img img {
  max-width: 230px;
}

/* ============================================================
   Winning-results popup — adori port additions
   (gacha-only; no profile frames/titles/links. Prize ranks 1/2/3
    use the design's banner images; rank 7 Last One falls back to
    a text badge since the design shipped no image for it.)
   ============================================================ */

/* Last One (rank 7) card background — teal, matching the odds feature's lastone_panel. */
.winning_revealed .card-inner.rank-four {
  background: linear-gradient(103.61deg, #01D1BA 13.46%, #AAFFEC 50%, #01D1BA 85.1%);
}

/* Folder name + date sit on the silver / gold / rainbow / teal rank gradients, where the
   default greys drop below 3:1. #333 keeps >= 4.5:1 across every gradient stop. */
.winning_revealed .card-inner.rank-first .card-code,
.winning_revealed .card-inner.rank-second .card-code,
.winning_revealed .card-inner.rank-third .card-code,
.winning_revealed .card-inner.rank-four .card-code,
.winning_revealed .card-inner.rank-first .rank-badge span:not(.rank-text),
.winning_revealed .card-inner.rank-second .rank-badge span:not(.rank-text),
.winning_revealed .card-inner.rank-third .rank-badge span:not(.rank-text),
.winning_revealed .card-inner.rank-four .rank-badge span:not(.rank-text) {
  color: #333333;
}

/* Sold-out detail/preview: the Sold Out label and the winning-results button
   share a flex .btn-box. Let that row wrap (only when the button is present) so
   当選結果を見る sits full-width on its own line below 売り切れ. */
.btn-box:has(.btn_sold) {
  flex-wrap: wrap;
}

.btn-box .btn_sold {
  flex: 0 0 100%;
  width: 100%;
}

/* Four spin buttons (1回 / 10連 / 100連 / 1000連, any of which may be 「残り全て引く」) on the
   detail page or the after-redeem card: one narrower row on desktop; on mobile three on the
   first row and the 4th full width below (the buttons' 33% min-width keeps three per row,
   flex: 1 stretches the 4th). */
.btn-box:has(> .spin-btn ~ .spin-btn ~ .spin-btn ~ .spin-btn) > .btn-common {
  min-width: 0;
}

@media (max-width: 575px) {
  .btn-box:has(> .spin-btn ~ .spin-btn ~ .spin-btn ~ .spin-btn) {
    flex-wrap: wrap;
  }

  .btn-box:has(> .spin-btn ~ .spin-btn ~ .spin-btn ~ .spin-btn) > .btn-common {
    min-width: calc(33.33% - 7px);
  }
}

/* Rank 7 (Last One) fallback: no banner image, so show the label as a pill. */
.winning_revealed .card-inner .card-info .rank-badge .rank-text {
  display: inline-block;
  vertical-align: middle;
  color: #7F858D;
  background-color: #FFFFFE;
  box-shadow: 0px 1px 5px 0px #0000004D;
  border-radius: 12px;
  padding: 2px 12px;
  font-size: 12px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
}

/* Prize-tab text separator. */
.winning_revealed .rank-tag-text {
  text-align: center;
  margin: 10px 0;
}

.winning_revealed .rank-tag-text span {
  display: inline-block;
  padding: 4px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  color: #1A1C21;
  background: #E2C98F;
}

.winning_revealed .rank-tag-text.rank-first span {
  background: linear-gradient(93.39deg, #E9A9BA 0%, #EAD08C 28%, #A2D5B6 52%, #93BCE8 76%, #BCA5E5 100%);
}

.winning_revealed .rank-tag-text.rank-second span {
  background: linear-gradient(103.61deg, #F3D26E 20%, #FFFBC9 50%, #F3D26E 80%);
}

.winning_revealed .rank-tag-text.rank-third span {
  background: linear-gradient(103.61deg, #BCCCD8 20%, #F6F9FE 50%, #BCCCD8 80%);
}

.winning_revealed .rank-tag-text.rank-four span {
  color: #1A1C21;
  background: linear-gradient(103.61deg, #01D1BA 13.46%, #AAFFEC 50%, #01D1BA 85.1%);
}

/* Infinite-scroll loader + empty / loading states. */
.winning_revealed .wr-page-loader {
  width: 100%;
  padding: 12px 0;
  text-align: center;
}

.winning_revealed .wr-page-loader::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #4A4D55;
  border-top-color: #E2C98F;
  border-radius: 50%;
  animation: wr-page-spin 0.7s linear infinite;
}

@keyframes wr-page-spin {
  to { transform: rotate(360deg); }
}

.winning_revealed .wr-empty,
.winning_revealed .flex_scroll .text-center {
  width: 100%;
  padding: 40px 0;
  text-align: center;
  color: #8F929A;
}

/* .winning_revealed .card-inner .user-box {
  background-color: #FFFFFE;
  box-shadow: 0px 1px 5px 0px #00000033;
  border-radius: 5px;
  padding: 2px 10px 2px 2px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.winning_revealed .card-inner .user-box .com_profile .img_frame {
  margin: 0;
}

.winning_revealed .card-inner .user-box .com_profile .img_frame img {
  width: 28px;
}

.winning_revealed .card-inner .user-box .com_profile .img_frame img.cover_frame {
  width: 40px;
}

.winning_revealed .card-inner .user-box .title-tag {
  color: #fff;
  font-size: 13px;
  font-family: 'NotoSansJP-Medium';
  padding: 2px 12px;
  border-radius: 2px;
  background: linear-gradient(180deg, #EF352C 43.27%, #F2764C 100%);
  display: inline-block;
  box-shadow: 0px 1px 3px 0px #0000004D;
}

.winning_revealed .card-inner .user-box .user-name {
  font-size: 13px;
  color: #000000;
  font-family: 'NotoSansJP-Bold';
} */

/* ============================================================
   Dark-theme corrections for user pages
   (buy-points, point-expiry, redeemed-card-details, history,
    mypage subpages, coupon modal) — the redesign switched the
   body background to #121112 but left these components light.
   ============================================================ */

/* Shared page title (user pages only) */
.page-title {
  color: #F3F0E9 !important;
  border-bottom-color: #33363E !important;
}

/* ---- buy-points: point selection grid ---- */
.point-grid,
.point-grid .item-container {
  background: #1A1C21 !important;
}

.point-grid .topbar {
  background: #16181d !important;
  border-color: #33363E !important;
}

.point-grid .topbar .totalpoints {
  color: #F3F0E9 !important;
}

.point-grid .items {
  background: #16181d !important;
  border: 1px solid #33363E !important;
}

.point-grid .items .text .item-name {
  color: #F3F0E9 !important;
}

.point-grid .items .text p {
  color: #B3B5BC !important;
}

/* ---- DataTables on user pages (point-expiry, redeemed cards, address, notifications) ---- */
#expiry_points,
#redeemed_card_details_table,
#address_table,
#user-notification,
#admin-notification {
  color: #F3F0E9;
}

#expiry_points thead th,
#redeemed_card_details_table thead th,
#address_table thead th,
#user-notification thead th,
#admin-notification thead th {
  background: #16181d !important;
  color: #EFD79B !important;
  border-color: #33363E !important;
}

#expiry_points td,
#expiry_points th,
#redeemed_card_details_table td,
#redeemed_card_details_table th,
#address_table td,
#address_table th,
#user-notification td,
#user-notification th,
#admin-notification td,
#admin-notification th {
  color: #F3F0E9;
  border-color: #33363E !important;
}

/* Notification rows: timestamp line muted */
#user-notification td p small,
#admin-notification td p small {
  color: #8F929A;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #F3F0E9 !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background: #16181d !important;
  color: #F3F0E9 !important;
  border: 1px solid #33363E !important;
  color-scheme: dark;
  /* native search clear (×) + select chevron render light on dark */
}

.dataTables_wrapper .dataTables_filter input::placeholder {
  color: #8A8D94 !important;
}

/* Chrome autofill would force a light box — keep it dark */
.dataTables_wrapper .dataTables_filter input:-webkit-autofill,
.dataTables_wrapper .dataTables_filter input:-webkit-autofill:focus {
  -webkit-text-fill-color: #F3F0E9 !important;
  -webkit-box-shadow: 0 0 0 1000px #16181d inset !important;
  caret-color: #F3F0E9;
}

/* The legacy global `input:not(...)...:focus` rule (style.css ~2591) forces a
   near-white #EEF9F9 background with !important. Its five :not([type=...]) attribute
   selectors give it specificity (0,6,1) — higher than a plain
   `.dataTables_wrapper .dataTables_filter input:focus` (0,3,2) — so on focus the dark
   search box turned white and the light text became invisible. Match the same
   :not(...) chain (plus the two wrapper classes) to strictly outrank it: restore the
   dark background + a gold focus ring. */
.dataTables_wrapper .dataTables_filter input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus {
  background: #16181d !important;
  color: #F3F0E9 !important;
  border-color: #C8A45D !important;
  box-shadow: 0 0 0 0.15rem rgba(200, 164, 93, 0.25) !important;
}

/* Length dropdown: custom gold chevron (native arrow is dark-on-dark) */
.dataTables_wrapper .dataTables_length select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C8A45D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
}

/* "処理中..." (processing) popup: default is a white box — make it dark */
.dataTables_wrapper .dataTables_processing {
  background: #1A1C21 !important;
  border: 1px solid #33363E !important;
  color: #F3F0E9 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  border-radius: 10px !important;
}

/* Loader dots: default blue -> theme gold */
.dataTables_wrapper div.dataTables_processing>div:last-child>div {
  background: #C8A45D !important;
}

/* Pager: default Bootstrap-styled buttons are white with a blue active page -> dark + gold */
.dataTables_wrapper .dataTables_paginate .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: #16181d !important;
  color: #F3F0E9 !important;
  border: 1px solid #33363E !important;
}

.dataTables_wrapper .dataTables_paginate .page-item.active .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #C8A45D !important;
  color: #121112 !important;
  border-color: #C8A45D !important;
}

.dataTables_wrapper .dataTables_paginate .page-link:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #22252B !important;
  color: #EFD79B !important;
  border-color: #C8A45D !important;
}

.dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  background: #16181d !important;
  /* Was #5A5D64 = 2.69:1 on the dark pager. Lighter grey (~5.5:1) so the disabled
     前/次 button stays legible. */
  color: #8A8D94 !important;
  border-color: #2A2D34 !important;
}

/* ---- mypage subpages (address layout): form content on the dark body ---- */
.address_container .form-label,
.address_container label,
.address_container .form-check-label,
.menu-form .form-label {
  color: #F3F0E9;
}

.address_container .btn.text-dark {
  color: #F3F0E9 !important;
}

.address_container .text-muted {
  color: #B3B5BC !important;
}

/* Secondary (near-black) buttons blend into the dark page — lift + border so they're clearly visible */
.address_container .btn-default {
  background-color: #1e2127;
  border: 1px solid #3a3e46;
  color: #F3F0E9;
}

.address_container .btn-default:hover {
  background-color: #2a2e35;
  color: #FEFEFE;
}

/* Form action buttons (Cancel / Keep): equal height + vertically centered text */
.address_container .buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

/* Disabled/submitting state was a light box with faint text — make it readable on dark */
.address_container .btn:disabled,
.address_container .btn.disabled,
.address_container fieldset:disabled .btn {
  background: #2a2e35 !important;
  color: rgba(243, 240, 233, 0.5) !important;
  border-color: #3a3e46 !important;
}

/* <input type="submit"> is a native control: on :active the browser paints its native
   (light grey) pressed face over the CSS background. Kill native appearance so CSS wins. */
.address_container .btn-primary,
.address_container input[type="submit"].btn-primary {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #C31421 !important;
  color: #fff !important;
  transition: opacity 0.2s ease;
}

/* Submitting state: JS disables the button during the AJAX request — keep it red but
   fade it + show a not-allowed cursor so the user sees the request is in progress and
   can't fire it repeatedly. */
.address_container .btn-primary:disabled,
.address_container .btn-primary.disabled,
.address_container input[type="submit"].btn-primary:disabled {
  background: #C31421 !important;
  color: #fff !important;
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}

/* Global :active/:focus rules turn buttons transparent/off-color on click — keep their colors */
.address_container .btn-primary:hover,
.address_container .btn-primary:focus,
.address_container .btn-primary:active,
.address_container .btn-primary.active,
.address_container .btn-primary:focus-visible {
  background: #C31421 !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.address_container .btn-default:active,
.address_container .btn-default.active,
.address_container .btn-default:focus,
.address_container .btn-default:focus-visible {
  background-color: #2a2e35 !important;
  color: #F3F0E9 !important;
  border-color: #3a3e46 !important;
  box-shadow: none !important;
}

/* ---- Redeem-coupon modal (dark) ---- */
#redeem_coupon_modal .modal-content {
  background: #1A1C21;
  color: #F3F0E9;
  border: 1px solid #33363E;
}

#redeem_coupon_modal .modal-header,
#redeem_coupon_modal .modal-footer {
  border-color: #33363E;
}

#redeem_coupon_modal .modal-title,
#redeem_coupon_modal .form-label {
  color: #F3F0E9;
}

/* Dark close button (default btn-close is a near-black SVG, invisible on dark header) */
#redeem_coupon_modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#redeem_coupon_modal .form-control {
  background: #16181d !important;
  color: #F3F0E9 !important;
  border: 1px solid #33363E !important;
}

#redeem_coupon_modal .form-control::placeholder {
  color: #8A8D94 !important;
}

/* Chrome autofill forces a pale box with faint text — keep it dark */
#redeem_coupon_modal .form-control:-webkit-autofill,
#redeem_coupon_modal .form-control:-webkit-autofill:hover,
#redeem_coupon_modal .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #F3F0E9 !important;
  -webkit-box-shadow: 0 0 0 1000px #16181d inset !important;
  caret-color: #F3F0E9;
}

/* ---- Alert / confirm popups (.alertpopup) — dark theme ----
   Shared by spin-confirm, not-enough-points, convert, redeem, ship and
   address-selection dialogs. One block keeps them all on the dark theme. */
.alertpopup .modal-content {
  background: #1A1C21;
  color: #F3F0E9;
  border: 1px solid #33363E;
}

.alertpopup .modal-header,
.alertpopup .modal-footer {
  border-color: #33363E;
}

.alertpopup .modal-title,
.alertpopup .title,
.alertpopup .desc,
.alertpopup p.desc,
.alertpopup .modal-body label {
  color: #F3F0E9;
}

/* old-style close (×) button — light glyph on the dark header, drop the grey btn face */
.alertpopup .modal-header .close {
  background: transparent;
  border: none;
  box-shadow: none;
  text-shadow: none;
  color: #F3F0E9;
  opacity: 0.8;
}

.alertpopup .modal-header .close:hover {
  opacity: 1;
}

.alertpopup .form-control {
  background: #16181d !important;
  color: #F3F0E9 !important;
  border: 1px solid #33363E !important;
}

.alertpopup .form-control:focus {
  border-color: #C8A45D !important;
  box-shadow: 0 0 0 0.15rem rgba(200, 164, 93, 0.25) !important;
}

/* native <select> dropdown options */
.alertpopup .form-control option {
  background: #16181d;
  color: #F3F0E9;
}

/* .btn-mute is a display container (before→after points), not a real button.
   Neutralise Bootstrap's .btn:hover so the text doesn't wash out on hover. */
.alertpopup .btn-mute,
.alertpopup .btn-mute:hover,
.alertpopup .btn-mute:focus,
.alertpopup .btn-mute:active {
  background-color: transparent;
  color: #F3F0E9;
  border-color: transparent;
  box-shadow: none;
  cursor: default;
}

/* ---- History-page confirm popups: light theme ----
   The .alertpopup base above is dark, but these dialogs sit on the light history
   page. A modal opts in with the `light-popup` class, which is added ONLY in
   history.blade.php — so the same modal id stays dark where it is reused on other
   (dark) pages. Overrides the dark rules; same approach as #shipCardsModal. */
.alertpopup.light-popup .modal-content {
  background: #fff;
  color: #212529;
  border: 1px solid #dee2e6;
}

.alertpopup.light-popup .modal-header,
.alertpopup.light-popup .modal-footer {
  border-color: #dee2e6;
}

.alertpopup.light-popup .modal-title,
.alertpopup.light-popup .title,
.alertpopup.light-popup .modal-body label {
  color: #212529;
}

/* Secondary / descriptive lines stay muted grey on the light surface. */
.alertpopup.light-popup .desc,
.alertpopup.light-popup p.desc,
.alertpopup.light-popup .text-muted {
  color: #6c757d;
}

/* Close (×) glyph: dark on the light header. */
.alertpopup.light-popup .modal-header .close {
  color: #212529;
}

/* Coin before→after display box: dark figures on the light surface. */
.alertpopup.light-popup .btn-mute,
.alertpopup.light-popup .btn-mute:hover,
.alertpopup.light-popup .btn-mute:focus,
.alertpopup.light-popup .btn-mute:active {
  color: #212529;
}

/* Form controls (e.g. the address select) light. */
.alertpopup.light-popup .form-control {
  background: #fff !important;
  color: #212529 !important;
  border: 1px solid #ced4da !important;
}

.alertpopup.light-popup .form-control option {
  background: #fff;
  color: #212529;
}

/* ---- Auth pages (login / forgot-password / reset): submit button ---- */
/* Same native-control issue as the address forms: <input type="submit"> flashes the
   browser's native (light) pressed face on :active. Kill native appearance so CSS wins. */
.loginform .btn-primary,
.loginform input[type="submit"].btn-primary {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #C31421 !important;
  color: #fff !important;
  transition: opacity 0.2s ease;
}

.loginform .btn-primary:hover,
.loginform .btn-primary:focus,
.loginform .btn-primary:active,
.loginform .btn-primary.active,
.loginform .btn-primary:focus-visible {
  background: #C31421 !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

/* Submitting state: button is disabled by JS once the form is sent — fade it + show a
   not-allowed cursor so the user sees the request is in progress and can't re-submit. */
.loginform .btn-primary:disabled,
.loginform .btn-primary.disabled,
.loginform input[type="submit"].btn-primary:disabled {
  background: #C31421 !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}

/* ---- Delete-account (退会手続き) modal: dark theme ---- */
#delete_account_modal .modal-content {
  background: #1A1C21;
  color: #F3F0E9;
  border: 1px solid #33363E;
}

#delete_account_modal .modal-header,
#delete_account_modal .modal-footer {
  border-color: #33363E;
}

#delete_account_modal .modal-title {
  color: #F3F0E9;
}

#delete_account_modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#delete_account_modal .delete_account-content,
#delete_account_modal .delete_account-content label,
#delete_account_modal .delete_account-content li {
  color: #F3F0E9;
}

/* Checkboxes: native boxes are near-invisible on the dark panel — size + accent them */
#delete_account_modal .delete_account-content input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-right: 10px;
  accent-color: #d6001c;
  border: 1px solid #33363E;
  border-radius: 4px;
  cursor: pointer;
}

#delete_account_modal .delete_account-content label {
  cursor: pointer;
}

#delete_account_modal .error-text {
  color: #ff6b6b;
}

/* Close button: lift off the dark footer so it reads as a secondary action */
#delete_account_modal .btn-secondary {
  background: #2a2e35;
  border: 1px solid #3a3e46;
  color: #F3F0E9;
}

#delete_account_modal .btn-secondary:hover,
#delete_account_modal .btn-secondary:focus {
  background: #3a3e46;
  color: #FEFEFE;
}

/* ---- History page ----
   The history page is LIGHT-themed (light gacha background image, white item cards,
   white sticky action bar). It must NOT get the dark-body treatment. The shared
   .page-title rule above forces light text for the dark user-pages (buy-points etc.),
   so re-assert the original dark title colour for historypage only. Item text colours
   (.text1/.text5) and .graytext keep their original light-theme values (see ~line 811+). */
.historypage .page-title {
  color: #000 !important;
  border-bottom-color: #bdbdbd !important;
}

/* Gold accent (ADORI): sort/view pill icons + the active tab underline.
   (Pill borders keep their original style — only the icon colour changes.) */
.historypage .grid_dropdown .dropdown-toggle i {
  color: #C8A45D !important;
}

.historypage .nav-tabs .nav-item .nav-link.active {
  border-bottom-color: #C8A45D !important;
}

/* Back-button top spacing for the user pages that now use the full site header
   (point-expiry, buy-points, notification, redeemed, mypage subpages). Matches the
   news pages: ~40px above the back button; .backoripa already gives 30px below. */
.main-container.points,
.address_container .main-container {
  padding-top: 40px;
}

/* NOTE: the .history-tier2 sticky action bar keeps its original white design
   (see rule ~line 922). Do not darken it — the content inside is styled for white. */

/* buy-points topbar + notice text (were dark-on-dark) */
.point-grid .topbar .text {
  color: #F3F0E9;
}

.point-grid .subtext {
  color: #B3B5BC;
}

/* ---- buy-points: payment-method modal (dark) ---- */
#buy_points_option_modal .modal-content {
  background: #1A1C21;
  color: #F3F0E9;
  border: 1px solid #33363E;
}

#buy_points_option_modal .modal-header,
#buy_points_option_modal .modal-footer {
  border-color: #33363E;
}

#buy_points_option_modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#buy_points_option_modal .form-label {
  color: #F3F0E9;
}

#buy_points_option_modal .form-control {
  background: #16181d !important;
  color: #F3F0E9 !important;
  border: 1px solid #33363E !important;
}

#buy_points_option_modal .form-control::placeholder {
  color: #8A8D94 !important;
}

#buy_points_option_modal .form-control:-webkit-autofill,
#buy_points_option_modal .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #F3F0E9 !important;
  -webkit-box-shadow: 0 0 0 1000px #16181d inset !important;
  caret-color: #F3F0E9;
}

#buy_points_option_modal .btn.bg-white {
  background-color: #16181d !important;
  color: #F3F0E9 !important;
  border-color: #33363E !important;
}

/* Dark line icons (credit card / bank / convenience store) -> white on dark buttons */
#buy_points_option_modal .btn img[src*="credit-card"],
#buy_points_option_modal .btn img[src*="bank_transfer"],
#buy_points_option_modal .btn img[src*="c-store"] {
  filter: brightness(0) invert(1);
}

#expiry_points_length label,
#expiry_points_filter label,
#redeemed_card_details_table_length label,
#redeemed_card_details_table_filter label {
  color: #fff;
}

.miles_bars .miles_conis {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #F3F0E9;
  font-size: 16px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
}

.miles_bars .miles_conis img {
  width: 24px;
  height: 24px;
}

.progress_miles h6 {
  color: #F3F0E9;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-align: right;
  margin-bottom: 5px;
}

.progress_miles .progress {
  background-color: #22252B !important;
  border-radius: 30px;
  height: 12px;
}

.progress_miles .progress .progress-bar {
  background: linear-gradient(90deg, #40B4EB 0%, #F25ABE 100%);
  border-radius: 30px;
}

.progress_miles p {
  margin: 8px 0 0;
  color: #F3F0E9;
  font-size: 12px;
  text-align: right;
  font-family: 'Noto Sans JP';
  font-weight: 500;
}

/* ===== 全開示ガチャデータ (disclosure modal) ===== */
.disclosure_btn {
  display: flex;
  justify-content: center;
  margin: 8px 0 16px;
}

.disclosure_btn .btn_gray {
  background-color: #C8A45D !important;
  color: #121112 !important;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #8C6D354D !important;
  border-radius: 8px;
  padding: 12px 15px;
  text-align: center;
  width: 320px;
  max-width: 100%;
  outline: none;
}

body.gacha-odds-open {
  overflow: hidden;
}

.gacha_odds_revealed .common_title,
.gacha_odds_revealed .common_title h5,
.gacha_odds_revealed .common_title .total_points p {
  text-align: left;
}

.gacha_odds_revealed .winning_popup .gacha_data {
  height: calc(100vh - 260px);
  overflow-y: auto;
  scrollbar-width: none;
}

.gacha_odds_revealed .winning_popup .gacha_data::-webkit-scrollbar {
  display: none;
}

.gacha_odds_revealed .gacha_data .accordion-item {
  margin-bottom: 16px;
  border-radius: 12px !important;
  background: #1A1C21 !important;
  border: 1px solid #33363E;
  overflow: hidden;
}

.gacha_odds_revealed .gacha_data .accordion-button {
  font-size: 14px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  color: #F3F0E9 !important;
  background: #22252B !important;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 16px;
}

.gacha_odds_revealed .gacha_data .accordion-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  pointer-events: none;
  background: #C8A45D;
}

.gacha_odds_revealed .gacha_data .accordion-button.first_panel::before {
  background: linear-gradient(161.56deg, #E9A9BA 25.01%, #EAD08C 37.73%, #A2D5B6 51%, #93BCE8 62.99%, #BCA5E5 74.99%);
}

.gacha_odds_revealed .gacha_data .accordion-button.second_panel::before {
  background: linear-gradient(169.29deg, #C8A45D 12.89%, #E2C98F 48.44%, #FFF1D0 60.81%, #C8A45D 93.28%);
}

.gacha_odds_revealed .gacha_data .accordion-button.third_panel::before {
  background: linear-gradient(174.58deg, #BCCCD8 25.88%, #F6F9FE 51.7%, #BCCCD8 77.52%);
}

.gacha_odds_revealed .gacha_data .accordion-button.fourth_panel::before {
  background: linear-gradient(103.61deg, #E57A2D 11.54%, #FFBE99 50%, #E57A2D 93.27%);
}

.gacha_odds_revealed .gacha_data .accordion-button.fifth_panel::before {
  background: linear-gradient(103.61deg, #5776AE 6.25%, #CCCAFF 50%, #5776AE 95.67%);
}

.gacha_odds_revealed .gacha_data .accordion-button.lastone_panel::before {
  background: linear-gradient(103.61deg, #01D1BA 13.46%, #AAFFEC 50%, #01D1BA 85.1%);
}

.gacha_odds_revealed .gacha_data .accordion-button.other_panel::before {
  background: linear-gradient(103.61deg, #2B2B2B 16.35%, #414141 50%, #2B2B2B 83.17%);
}

.gacha_odds_revealed .gacha_data .accordion-button::after {
  content: '\f107';
  font-family: 'fontawesome';
  color: #E2C98F;
  background-image: none !important;
  width: fit-content;
  font-size: 22px;
  height: auto;
}

.gacha_odds_revealed .gacha_data .accordion-button:not(.collapsed)::after {
  transform: none;
}

.gacha_odds_revealed .gacha_data .accordion-button span {
  color: #1A1C21;
  font-size: 13px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 10px;
  display: inline-block;
  margin-right: 12px;
  background: #C8A45D;
}

.gacha_odds_revealed .gacha_data .accordion-button.first_panel span {
  background: linear-gradient(93.39deg, #E9A9BA 0%, #EAD08C 28%, #A2D5B6 52%, #93BCE8 76%, #BCA5E5 100%);
}

.gacha_odds_revealed .gacha_data .accordion-button.second_panel span {
  background: linear-gradient(103.61deg, #F3D26E 20%, #FFFBC9 50%, #F3D26E 80%);
}

.gacha_odds_revealed .gacha_data .accordion-button.third_panel span {
  background: linear-gradient(103.61deg, #BCCCD8 20%, #F6F9FE 50%, #BCCCD8 80%);
}

.gacha_odds_revealed .gacha_data .accordion-button.fourth_panel span {
  background: linear-gradient(103.61deg, #E57A2D 11.54%, #FFBE99 50%, #E57A2D 93.27%);
}

.gacha_odds_revealed .gacha_data .accordion-button.fifth_panel span {
  background: linear-gradient(103.61deg, #5776AE 6.25%, #CCCAFF 50%, #5776AE 95.67%);
}

.gacha_odds_revealed .gacha_data .accordion-button.lastone_panel span {
  background: linear-gradient(103.61deg, #01D1BA 13.46%, #AAFFEC 50%, #01D1BA 85.1%);
}

.gacha_odds_revealed .gacha_data .accordion-button.other_panel span {
  color: #F3F0E9;
  background: linear-gradient(103.61deg, #2B2B2B 16.35%, #414141 50%, #2B2B2B 83.17%);
}

.gacha_odds_revealed .gacha_data .accordion-body {
  background-color: #1A1C21;
  padding: 0;
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

.gacha_odds_revealed .gacha_data .accordion-body .details_header {
  display: flex;
  align-items: center;
  background-color: #2C3038;
  border-bottom: 1px solid #33363E;
  text-align: center;
}

.gacha_odds_revealed .gacha_data .accordion-body .details_header span {
  color: #B3B5BC;
  font-size: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 5px;
}

.gacha_odds_revealed .gacha_data .accordion-body .details_header .points,
.gacha_odds_revealed .gacha_data .accordion-body .details_header .card_box {
  padding: 4px 8px;
}

.gacha_odds_revealed .gacha_data .accordion-body .details_header .card_box {
  flex: 1;
}

.gacha_odds_revealed .gacha_data .accordion-body .details_header .points {
  flex: 0 0 120px;
  border-left: 1px dashed #C8A45D80;
}

.gacha_odds_revealed .gacha_data .accordion-body .details_header .card_box img,
.gacha_odds_revealed .gacha_data .accordion-body .details_header .points img {
  width: 16px;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details {
  display: flex;
  align-items: stretch;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details+.card_details {
  border-top: 1px solid #33363E;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .left_view {
  padding: 12px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .left_view .text_field {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 70px;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .left_view .text_field h6 {
  color: #E2C98F;
  font-size: 12px;
  border-bottom: 1px solid #C8A45D73;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .left_view .img {
  flex: 0 0 52px;
  width: 52px;
  height: 72px;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .left_view .img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 3px;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .left_view .text_field .grid_box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .left_view .text_field .grid_box img {
  border-radius: 3px;
  height: 24px;
  width: auto;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .left_view .text_field .grid_box span {
  display: inline-block;
  background: #22252B;
  border: 1px solid #33363E;
  border-radius: 4px;
  color: #FEFEFE;
  font-size: 12px;
  padding: 2px 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .point_bar {
  padding: 10px;
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-left: 1px dashed #C8A45D80;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .point_bar img {
  width: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

.gacha_odds_revealed .gacha_data .accordion-body .card_details .point_bar span {
  font-size: 16px;
  color: #F3F0E9;
}

/* Draw buttons when the user has no draws left under the series limit (口数制限) */
.spin-btn.spin-limit-reached {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Thank-you (post-payment redirect): the page set no colors, so its text
   inherited the near-black body color and was unreadable on the dark page.
   Same palette as the other dark user pages (buy-points, x-feeds). */
.thank_you {
  color: #B3B5BC;
}

.thank_you h2 {
  color: #F3F0E9;
}

.thank_you a {
  color: #C8A45D;
  text-decoration: underline;
}

/* No bottom nav on this page, so drop the space reserved for it. */
.thank_you .main-container.points {
  padding-bottom: 0;
}

/* Sale-end countdown (ported from megarush) */
.start_date_time .countdown-timer,
.end_date_time .countdown-timer {
  margin: 0 auto 6px;
}

/* Detail/preview bottom box: recharge box, countdown and buttons sit 12px apart. */
.end-countdown-section {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.end-countdown-section .countdown-timer {
  margin: 0;
}

/* Recharge to spin / charge exclusive (ported from aqualeaf via megarush), ADORI dark + gold */
.gacha-box {
  margin: 0 auto 12px;
  border: 1px solid #C8A45D;
  border-radius: 12px;
  overflow: hidden;
  background: #22252B;
  color: #fff;
}

.gacha-box .gacha-header {
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #151515;
  background: linear-gradient(93.63deg, #E2C98F -6.14%, #C8A45D 19.72%, #8C6D35 94.49%);
}

.gacha-box .gacha-content {
  padding: 4px 12px 8px;
}

.gacha-box .gacha-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(200, 164, 93, 0.3);
}

.gacha-box .gacha-row.last {
  border-bottom: none;
}

.gacha-box .gacha-row strong {
  color: #E2C98F;
}

.gacha-box .note {
  margin-top: 4px;
  font-size: 11px;
  color: #9a9a9a;
  text-align: center;
}

.gacha-box .footer {
  padding: 6px;
  font-size: 14px;
  text-align: center;
  border-top: 1px solid rgba(200, 164, 93, 0.3);
}

.gacha-box .footer strong {
  color: #E2C98F;
}

.gacha-disable-btn {
  display: block;
  width: 100%;
  margin: 10px auto;
  padding: 14px 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #8a8a8a;
  background-color: #2c2f36;
  border: 1px solid #555;
  border-radius: 30px;
  cursor: not-allowed;
  user-select: none;
}

.item-content .gacha-disable-btn {
  margin: 5px auto !important;
}

.btn-details .gacha-disable-btn {
  margin: 0;
}

.series-recharge-card {
  margin-top: 8px;
  padding: 10px 6px;
  border: 1px solid #C8A45D;
  border-radius: 10px;
  background: #22252B;
}

.series-recharge-grid {
  display: flex;
  align-items: center;
}

.series-recharge-col {
  /* Equal-width, centred columns; min-width stays auto so long values never overflow. */
  flex: 1 1 0;
  padding: 0 8px;
  text-align: center;
}

.series-recharge-col + .series-recharge-col {
  border-left: 1px dashed rgba(200, 164, 93, 0.4);
}

.series-recharge-label {
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.3;
  color: #9a9a9a;
  white-space: nowrap;
}

.series-recharge-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.series-recharge-value-accent {
  font-size: 15px;
  color: #E2C98F;
}

.series-recharge-value-limit {
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .series-recharge-card {
    padding: 8px 4px;
  }

  .series-recharge-col {
    padding: 0 4px;
  }

  .series-recharge-label {
    font-size: 10px;
  }

  .series-recharge-value {
    font-size: 14px;
  }

  .series-recharge-value-accent,
  .series-recharge-value-limit {
    font-size: 13px;
  }
}
