.bigstep-candy-match-page .haru-page-title,
.bigstep-candy-match-page .page-sidebar {
  display: none !important;
}
.bigstep-candy-match-page .haru-page > .h-row,
.bigstep-candy-match-page .page-content,
.bigstep-candy-match-page .page-content-wrap,
.bigstep-candy-match-page .entry-content,
.bigstep-candy-match-page article.page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.bigstep-candy-match-page .page-content {
  flex: 0 0 100% !important;
}
.bcm {
  --panel: #111128;
  --purple: #7952e8;
  --violet: #a989ff;
  --gold: #f5ce70;
  --text: #f8f6ff;
  --muted: #9d9aaf;
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: none;
  min-height: 780px;
  margin: 0 calc(50% - 50vw);
  padding: clamp(30px, 5vw, 70px) max(20px, calc((100vw - 1220px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 4%, rgba(128, 73, 224, 0.3), transparent 31%),
    radial-gradient(
      circle at 4% 48%,
      rgba(235, 65, 145, 0.13),
      transparent 27%
    ),
    radial-gradient(
      circle at 96% 70%,
      rgba(48, 157, 222, 0.12),
      transparent 28%
    ),
    linear-gradient(150deg, #0c0a1c, #070812 65%, #0a1020);
  color: var(--text);
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  user-select: none;
}
.bcm-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.26;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.2px),
    linear-gradient(rgba(153, 126, 229, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 126, 229, 0.045) 1px, transparent 1px);
  background-size:
    103px 103px,
    56px 56px,
    56px 56px;
  mask-image: linear-gradient(#000, transparent 94%);
}
.bcm-hero {
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}
.bcm-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #b8a8e7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.bcm-kicker span {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8e72df);
}
.bcm-kicker span:last-child {
  transform: scaleX(-1);
}
.bcm-hero h1 {
  margin: 12px 0 12px;
  color: #fff;
  font-size: clamp(46px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.bcm-hero h1 em {
  background: linear-gradient(
    100deg,
    #f8d981,
    #ff76aa 48%,
    #bda6ff 75%,
    #76d6ef
  );
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.bcm-hero > p {
  max-width: 700px;
  margin: 0 auto;
  color: #bbb7c9;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}
.bcm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.bcm-console,
.bcm-panel {
  border: 1px solid rgba(167, 143, 235, 0.2);
  background: linear-gradient(
    145deg,
    rgba(18, 17, 43, 0.96),
    rgba(9, 10, 25, 0.98)
  );
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.04);
}
.bcm-console {
  overflow: hidden;
  border-radius: 24px;
}
.bcm-console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(167, 143, 235, 0.14);
  color: #aaa4bc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.075em;
}
.bcm-console-status {
  display: flex;
  align-items: center;
}
.bcm-console-status i {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #70d699;
  box-shadow: 0 0 11px #70d699;
  animation: bcm-pulse 1.6s ease-in-out infinite;
}
.bcm-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bcm-sound-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(121, 82, 232, 0.16);
  color: #fff;
  font-size: 17px;
}
.bcm-hud {
  display: grid;
  grid-template-columns: 0.72fr 1.85fr 0.78fr 1fr;
  gap: 8px;
  padding: 10px 12px;
}
.bcm-hud > div {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(7, 8, 28, 0.72);
  text-align: center;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}
.bcm-hud small {
  display: block;
  color: #a89add;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.bcm-hud b {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.bcm-hud .goal b {
  font-size: 15px;
}
.bcm-hud .time b {
  font-variant-numeric: tabular-nums;
}
.bcm-hud .time.is-warning {
  border-color: rgba(255, 190, 61, 0.55);
  background: rgba(84, 48, 8, 0.72);
}
.bcm-hud .time.is-warning b {
  color: #ffd34e;
}
.bcm-hud .time.is-critical {
  border-color: rgba(255, 79, 129, 0.78);
  background: rgba(89, 16, 42, 0.8);
  animation: bcm-time-pulse 0.72s ease-in-out infinite alternate;
}
.bcm-hud .time.is-critical b {
  color: #ff7da5;
}
@keyframes bcm-time-pulse {
  to {
    box-shadow: 0 0 18px rgba(255, 79, 129, 0.32);
  }
}
.bcm-board-wrap {
  --bcm-board-pad: 8px;
  position: relative;
  width: min(100% - 24px, 630px);
  margin: 0 auto;
  padding: var(--bcm-board-pad);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  contain: layout paint style;
  background: linear-gradient(145deg, #22296a, #080d2b);
  box-shadow:
    inset 0 0 35px #0009,
    0 16px 35px #0006,
    0 0 0 1px #ffffff0f;
}
.bcm-board-wrap::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 17px;
  box-shadow: inset 0 1px #ffffff2b;
  pointer-events: none;
}
.bcm canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  background: radial-gradient(circle at 50% 30%, #263077, #10153e 68%);
  cursor: grab;
  touch-action: none;
}
.bcm canvas:active {
  cursor: grabbing;
}
.bcm-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 8px;
  color: #aaa4bc;
  font-size: 11px;
  font-weight: 800;
}
.bcm-progress > div {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #080c27;
}
.bcm-progress i {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #40ddf5, #b6f65a, #ffe05a);
  box-shadow: 0 0 12px #6ee7f9;
  transition: width 0.3s;
}
.bcm-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    #fff9 50%,
    transparent 65%
  );
  animation: bcm-progress-shine 1.8s linear infinite;
}
.bcm-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 14px;
  border-top: 1px solid rgba(167, 143, 235, 0.14);
  color: #777286;
  font-size: 10px;
  font-weight: 700;
}
.bcm-controls > span {
  color: #ffd84d;
  font-size: 25px;
  letter-spacing: 4px;
  text-align: center;
}
.bcm-controls button {
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: #aaa4ca;
  font-size: 11px;
  font-weight: 850;
}
.bcm-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 128px;
}
.bcm-panel {
  padding: 18px;
  border-radius: 19px;
}
.bcm-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.bcm-panel-title span {
  color: #e9e3f8;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.bcm-panel-title small {
  color: #918aa5;
  font-size: 10px;
  font-weight: 700;
}
.bcm-rewards article {
  position: relative;
  display: grid;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(160, 140, 217, 0.13);
  border-radius: 13px;
  background: rgba(7, 8, 21, 0.42);
  opacity: 0.78;
  transition: 0.25s;
}
.bcm-rewards article + article {
  margin-top: 8px;
}
.bcm-rewards article > i {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(176, 148, 246, 0.2);
  border-radius: 11px;
  background: #121029;
  color: #9d87db;
  font-size: 12px;
  font-weight: 900;
  font-style: normal;
}
.bcm-rewards article strong {
  display: block;
  color: #f0ebf8;
  font-size: 14px;
  font-weight: 800;
}
.bcm-rewards article div small {
  display: block;
  margin-top: 3px;
  color: #9b95aa;
  font-size: 11px;
}
.bcm-rewards article > span {
  color: #8c859b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.bcm-rewards article.is-grand {
  background: linear-gradient(
    135deg,
    rgba(114, 77, 202, 0.19),
    rgba(208, 159, 69, 0.06)
  );
}
.bcm-rewards article.is-grand > i {
  border-color: rgba(243, 202, 104, 0.25);
  color: var(--gold);
}
.bcm-rewards article.is-unlocked {
  border-color: rgba(130, 213, 169, 0.35);
  opacity: 1;
  box-shadow: inset 0 0 24px rgba(89, 186, 135, 0.06);
}
.bcm-rewards article.is-unlocked > span {
  color: #70d699;
}
.bcm-rules ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bcm-rules li {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 9px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid rgba(159, 139, 216, 0.1);
}
.bcm-rules li b {
  color: #a58be6;
  font-size: 11px;
  font-weight: 800;
}
.bcm-rules li span {
  color: #b4afc0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}
.bcm-bottom-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 0 4px;
  color: #645f71;
  font-size: 11px;
}
.bcm-bottom-note span {
  color: #8f7ebc;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.bcm-bottom-note p {
  margin: 0;
  text-align: right;
}
.bcm-modal {
  position: absolute;
  z-index: 4;
  inset: var(--bcm-board-pad);
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 22px);
  overflow: auto;
  border-radius: 15px;
  background: radial-gradient(circle at 50% 28%, #8136c9e8, #161239f2 72%);
  box-shadow: inset 0 0 60px #7d3bd333;
  backdrop-filter: blur(5px);
  text-align: center;
  animation: bcm-fade 0.22s ease both;
}
.bcm-modal[hidden] {
  display: none;
}
.bcm-modal > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 390px);
  max-height: 100%;
  animation: bcm-pop 0.38s cubic-bezier(0.2, 0.9, 0.25, 1.2) both;
}
.bcm-modal .mascot {
  display: inline-block;
  font-size: clamp(42px, 7vw, 56px);
  filter: drop-shadow(0 8px 10px #0006);
  animation: bcm-bob 1.6s ease-in-out infinite;
}
.bcm-modal h2 {
  margin: 4px 0 0;
  color: #ffe35d;
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-shadow: 0 4px 18px #7f285f99;
}
.bcm-modal p {
  max-width: 360px;
  margin: 12px auto 0;
  color: #eee7ff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}
.bcm-modal > div:not(.bcm-map) > small {
  display: block;
  max-width: 340px;
  margin: 0 auto;
  color: #c9c1e3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.45;
}
.bcm-reward-result > small,
.bcm-coupon-result > small {
  color: #c7b5f5 !important;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.bcm-result-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
}
.bcm-result-actions button:last-child {
  border-color: rgba(255, 255, 255, 0.2) !important;
  border-bottom-color: #352b61 !important;
  background: linear-gradient(180deg, #554582, #30264f) !important;
  box-shadow: inset 0 1px #ffffff33 !important;
  text-shadow: none !important;
}
.bcm-coupon-code {
  display: flex !important;
  width: min(100%, 310px) !important;
  margin: 18px auto 10px !important;
  border: 1px dashed rgba(255, 227, 93, 0.65) !important;
  border-bottom: 1px dashed rgba(255, 227, 93, 0.65) !important;
  background: rgba(255, 227, 93, 0.08) !important;
  color: #ffe35d !important;
  font-size: 17px !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 0 24px rgba(255, 211, 75, 0.12) !important;
  text-shadow: none !important;
}
.bcm-studio-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: min(100%, 310px);
  min-height: 48px;
  margin: 12px auto 0;
  border: 1px solid rgba(183, 157, 255, 0.28);
  border-radius: 12px;
  background: linear-gradient(120deg, #7350dd, #a762e9);
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none !important;
}
.bcm-toast {
  position: absolute;
  z-index: 3;
  inset: var(--bcm-board-pad);
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-shadow:
    0 4px #9b2f8e,
    0 0 18px #fff;
  transform: scale(0.72);
}
.bcm-toast.show {
  animation: bcm-toast 0.8s ease;
}
.bcm-map {
  width: min(100%, 460px) !important;
  max-width: 460px !important;
  text-align: left !important;
}
.bcm-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  margin-bottom: 14px;
  box-sizing: border-box;
}
.bcm-map-head h2 {
  margin: 0 !important;
  font-size: 34px !important;
}
.bcm-map-head small {
  color: #f4cdfc !important;
  font-size: 9px !important;
  font-weight: 900;
  letter-spacing: 0.18em;
}
.bcm-map-head > button[data-close] {
  display: grid !important;
  flex: 0 0 42px !important;
  place-items: center !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 50% !important;
  background: rgba(20, 15, 56, 0.72) !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 0 !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 5px 16px rgba(16, 8, 43, 0.28) !important;
  text-shadow: none !important;
  transform: none !important;
}
.bcm-map-head > button[data-close]::before {
  content: "×";
  display: block;
  font-size: 25px;
  line-height: 1;
  transform: translateY(-1px);
}
.bcm-map-head > button[data-close]:hover {
  border-color: rgba(255, 227, 93, 0.62) !important;
  background: rgba(83, 49, 129, 0.9) !important;
}
.bcm-levels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-height: min(58vh, 430px);
  padding: 3px 4px 12px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #9d62ff #1c1741;
  scrollbar-width: thin;
}
@keyframes bcm-toast {
  20%,
  65% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
    transform: translateY(-24px) scale(0.98);
  }
}
@keyframes bcm-pulse {
  50% {
    opacity: 0.4;
    box-shadow: 0 0 3px #70d699;
  }
}
@keyframes bcm-progress-shine {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes bcm-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bcm-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes bcm-bob {
  50% {
    transform: translateY(-7px) rotate(-4deg);
  }
}
@media (max-width: 860px) {
  .bcm {
    padding-inline: 14px;
  }
  .bcm-layout {
    grid-template-columns: 1fr;
    max-width: 700px;
  }
  .bcm-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
  }
  .bcm-bottom-note {
    max-width: 700px;
  }
}
@media (max-width: 560px) {
  .bcm {
    min-height: 0;
    padding: 24px 10px 42px;
  }
  .bcm-hero {
    margin-bottom: 18px;
  }
  .bcm-hero h1 {
    font-size: clamp(38px, 11vw, 46px);
    line-height: 1.05;
  }
  .bcm-hero h1 em {
    display: inline;
  }
  .bcm-hero > p {
    max-width: 355px;
    font-size: 13px;
    line-height: 1.55;
  }
  .bcm-kicker {
    font-size: 8px;
  }
  .bcm-console {
    border-radius: 18px;
  }
  .bcm-console-topbar {
    min-height: 45px;
    padding: 0 12px;
    font-size: 9px;
  }
  .bcm-hud {
    padding: 8px;
    gap: 5px;
  }
  .bcm-hud small {
    font-size: 8px;
  }
  .bcm-hud b {
    font-size: 18px;
  }
  .bcm-hud .goal b {
    font-size: 13px;
  }
  .bcm-hud > div {
    padding: 7px 4px;
  }
  .bcm-hud .time b {
    font-size: 16px;
  }
  .bcm-board-wrap {
    --bcm-board-pad: 5px;
    width: calc(100% - 12px);
    padding: var(--bcm-board-pad);
  }
  .bcm-progress {
    padding: 10px 12px 7px;
  }
  .bcm-controls {
    min-height: 44px;
    padding: 5px 9px;
  }
  .bcm-controls button {
    font-size: 10px;
  }
  .bcm-sidebar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bcm-panel {
    padding: 16px;
  }
  .bcm-modal h2 {
    font-size: 30px;
  }
  .bcm-modal {
    padding: 12px;
  }
  .bcm-modal > div:not(.bcm-map) {
    width: min(100%, 285px);
  }
  .bcm-modal .mascot {
    font-size: 40px;
  }
  .bcm-modal p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
  }
  .bcm-modal > div:not(.bcm-map) > small {
    max-width: 270px;
    font-size: 9px;
  }
  .bcm-levels {
    gap: 6px;
  }
  .bcm-result-actions {
    flex-direction: column;
    gap: 0;
  }
  .bcm-result-actions button {
    width: 100% !important;
  }
  .bcm-bottom-note {
    display: block;
    text-align: center;
    line-height: 1.5;
  }
  .bcm-bottom-note p {
    margin-top: 5px;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bcm *,
  .bcm *::before,
  .bcm *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
