/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V5 · macrostructure: existing-game-shell · component: candy-match arcade · genre: atmospheric · tone: restrained technical · anchor: lime 135 · contrast: pass · responsive: pass. */
.bigstep-candy-match-page .haru-page-title,
.bigstep-candy-match-page .page-sidebar {
  display: none !important;
}
.bcm-coupon-code{max-width:100%!important;height:auto!important;min-height:52px!important;overflow-wrap:anywhere!important;padding:10px 14px!important;line-height:1.25!important;white-space:normal!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,
.bcm-modal.is-map {
  --panel: #111615;
  --purple: #c0f25d;
  --violet: #d6f796;
  --gold: #f5ce70;
  --text: #f5f6f1;
  --muted: #8a938c;
  --color-paper: #080a0b;
  --color-paper-2: #0e1210;
  --color-paper-3: #171c1d;
  --color-ink: #f5f6f1;
  --color-neutral: #c8cfc9;
  --color-muted: #8a938c;
  --color-rule: #2a2f2d;
  --color-accent: #c0f25d;
  --color-accent-hover: #add854;
  --color-accent-ink: #080a0b;
  --color-focus: #c0f25d;
  --color-error: oklch(67% 0.18 25);
  --color-success: oklch(73% 0.14 150);
  --color-ambient: rgba(192, 242, 93, 0.12);
  --color-noise-dot: rgba(255, 255, 255, 0.8);
  --color-noise-grid: rgba(192, 242, 93, 0.035);
  --color-shadow-soft: rgba(0, 0, 0, 0.28);
  --color-shadow-deep: rgba(0, 0, 0, 0.48);
  --color-board-line: rgba(192, 242, 93, 0.15);
  --color-modal-bloom: rgba(192, 242, 93, 0.14);
  --color-modal-scrim: rgba(8, 10, 11, 0.94);
  --color-overlay: rgba(8, 10, 11, 0.88);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}
.bcm {
  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% 0%, var(--color-ambient), transparent 34rem),
    linear-gradient(150deg, var(--color-paper-2), var(--color-paper) 68%);
  color: var(--color-ink);
  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.14;
  background-image:
    radial-gradient(circle, var(--color-noise-dot) 0 1px, transparent 1.2px),
    linear-gradient(var(--color-noise-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-noise-grid) 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: var(--color-muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
}
.bcm-kicker span {
  width: 36px;
  height: 1px;
  background: var(--color-rule);
}
.bcm-kicker span:last-child {
  transform: scaleX(-1);
}
.bcm-hero h1 {
  margin: 12px 0 12px;
  color: var(--color-ink);
  font-size: clamp(44px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  min-width: 0;
  overflow-wrap: anywhere;
}
.bcm-hero h1 em {
  background: none;
  color: inherit;
  font-style: normal;
}
.bcm-hero > p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-neutral);
  font-size: 15px;
  font-weight: 450;
  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 var(--color-rule);
  background: var(--color-paper-2);
  color: var(--color-ink);
  box-shadow: 0 20px 52px var(--color-shadow-soft);
}
.bcm-console {
  overflow: hidden;
  border-radius: 20px;
}
.bcm-console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 17px;
  border-bottom: 1px solid var(--color-rule);
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 600;
  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: none;
  animation: none;
}
.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 var(--color-rule);
  border-radius: 10px;
  background: var(--color-paper-3);
  color: var(--color-ink);
  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 var(--color-rule);
  border-radius: 13px;
  background: var(--color-paper);
  color: var(--color-ink);
  text-align: center;
  box-shadow: none;
}
.bcm-hud small {
  display: block;
  color: var(--color-muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.11em;
}
.bcm-hud b {
  color: var(--color-ink);
  font-size: 20px;
  font-weight: 700;
  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: 1px solid var(--color-rule);
  border-radius: 18px;
  contain: layout paint style;
  background: var(--color-paper);
  color: var(--color-ink);
  box-shadow: 0 14px 34px var(--color-shadow-soft);
}
.bcm-board-wrap::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px var(--color-board-line);
  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: var(--color-muted);
  font-size: 11px;
  font-weight: 650;
}
.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: none;
  transition: width 300ms var(--ease-out);
}
.bcm-progress i::after { content: none; }
.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 var(--color-rule);
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 600;
}
.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: var(--color-paper-3);
  color: var(--color-neutral);
  font-size: 11px;
  font-weight: 650;
}
.bcm-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: start;
  padding-top: 0;
}
.bcm-panel {
  padding: 18px;
  border-radius: 18px;
}
.bcm-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.bcm-panel-title span {
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.bcm-panel-title small {
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 600;
}
.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 var(--color-rule);
  border-radius: 13px;
  background: var(--color-paper);
  color: var(--color-ink);
  opacity: 0.9;
  transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.bcm-rewards article + article {
  margin-top: 8px;
}
.bcm-rewards article > i {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(192, 242, 93, 0.2);
  border-radius: 11px;
  background: var(--color-paper-3);
  color: var(--color-neutral);
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
}
.bcm-rewards article strong {
  display: block;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
}
.bcm-rewards article div small {
  display: block;
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 11px;
}
.bcm-rewards article > span {
  color: var(--color-muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.05em;
}
.bcm-rewards article.is-grand {
  background: var(--color-paper-3);
  color: var(--color-ink);
}
.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(192, 242, 93, 0.1);
}
.bcm-rules li b {
  color: var(--color-neutral);
  font-size: 11px;
  font-weight: 700;
}
.bcm-rules li span {
  color: var(--color-neutral);
  font-size: 13px;
  font-weight: 450;
  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: #8a938c;
  font-size: 11px;
}
.bcm-bottom-note span {
  color: var(--color-muted);
  font-weight: 700;
  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% 20%, var(--color-modal-bloom), transparent 48%),
    var(--color-modal-scrim);
  color: var(--color-ink);
  box-shadow: none;
  backdrop-filter: blur(8px);
  text-align: center;
  animation: bcm-fade 220ms var(--ease-out) 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 280ms var(--ease-out) both;
}
.bcm-modal .mascot {
  display: inline-block;
  font-size: clamp(42px, 7vw, 56px);
  filter: none;
  animation: none;
}
.bcm-modal h2 {
  margin: 4px 0 0;
  color: var(--color-ink);
  font-size: clamp(30px, 4.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-shadow: none;
  min-width: 0;
  overflow-wrap: anywhere;
}
.bcm-modal p {
  max-width: 360px;
  margin: 12px auto 0;
  color: var(--color-neutral);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.55;
}
.bcm-modal > div:not(.bcm-map) > small {
  display: block;
  max-width: 340px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.025em;
  line-height: 1.45;
}
.bcm-reward-result > small,
.bcm-coupon-result > small {
  color: var(--color-muted) !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.bcm-result-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
}
.bcm-modal [data-play] {
  min-height: 46px !important;
  border: 1px solid var(--color-accent) !important;
  border-bottom-color: var(--color-accent) !important;
  border-radius: 11px !important;
  background: var(--color-accent) !important;
  color: var(--color-accent-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.025em !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background-color 180ms var(--ease-out), transform 100ms var(--ease-out) !important;
  white-space: nowrap !important;
}
@media (hover: hover) and (pointer: fine) {
  .bcm-modal [data-play]:hover {
    border-color: var(--color-accent-hover) !important;
    background: var(--color-accent-hover) !important;
  }
}
.bcm-modal [data-play]:focus-visible,
.bcm button:focus-visible,
.bcm a:focus-visible {
  outline: 2px solid var(--color-focus) !important;
  outline-offset: 2px !important;
}
.bcm-modal [data-play]:active { transform: translateY(1px) !important; }
.bcm-modal [data-play]:disabled,
.bcm-modal [data-play][aria-disabled="true"] {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}
.bcm-modal [data-play][data-state="loading"] { cursor: wait !important; opacity: 0.68 !important; }
.bcm-modal [data-play][data-state="error"] { border-color: var(--color-error) !important; }
.bcm-modal [data-play][data-state="success"] { border-color: var(--color-success) !important; }
.bcm-result-actions button:last-child {
  border-color: rgba(255, 255, 255, 0.2) !important;
  border-bottom-color: rgba(192, 242, 93, .4) !important;
  background: #171c1d !important;
  color: #c0f25d !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: none !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(192, 242, 93, 0.28);
  border-radius: 12px;
  background: var(--color-accent);
  color: var(--color-accent-ink) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none !important;
}
.bcm-coupon-warning {
  max-width: 390px !important;
  margin-top: 14px !important;
  padding: 11px 13px;
  border: 1px solid rgba(255, 113, 133, 0.48);
  border-radius: 11px;
  background: rgba(99, 24, 47, 0.32);
  color: #ffd9e0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}
.bcm-coupon-warning strong {
  color: #ff9daf;
  font-weight: 700;
}
.bcm-coupon-actions {
  display: grid;
  gap: 9px;
  width: min(100%, 390px);
  margin: 14px auto 0;
}
.bcm-coupon-actions .bcm-studio-link {
  width: 100%;
  margin: 0;
}
.bcm-modal .bcm-forfeit-button {
  width: 100% !important;
  min-height: 45px !important;
  margin: 0 !important;
  border-color: rgba(255, 113, 133, 0.34) !important;
  border-bottom-color: #611d31 !important;
  background: linear-gradient(180deg, #713047, #421a2b) !important;
  color: #ffdbe2 !important;
  font-size: 10px !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08) !important;
  text-shadow: none !important;
}
.bcm-modal .bcm-forfeit-button:hover {
  border-color: rgba(255, 135, 153, 0.65) !important;
  background: linear-gradient(180deg, #873950, #522033) !important;
}
.bcm-modal .bcm-forfeit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.bcm-toast {
  position: absolute;
  z-index: 3;
  inset: var(--bcm-board-pad);
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--color-ink);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-shadow: none;
  transform: scale(0.96);
}
.bcm-toast.show {
  animation: bcm-toast 800ms var(--ease-out);
}
.bcm-map {
  width: min(100%, 460px) !important;
  max-width: 460px !important;
  text-align: left !important;
}
.bcm-modal.is-map {
  position: fixed;
  z-index: 9990;
  inset: 0;
  padding: 24px;
  border-radius: 0;
  background: var(--color-overlay);
  color: var(--color-ink);
}
.bcm-modal.is-map > .bcm-map {
  width: min(100%, 460px) !important;
  max-height: min(88vh, 620px);
  padding: 22px;
  border: 1px solid var(--color-rule);
  border-radius: 18px;
  background: var(--color-paper-2);
  color: var(--color-ink);
  box-shadow: 0 24px 60px var(--color-shadow-deep);
}
.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: 30px !important;
}
.bcm-map-head small {
  color: var(--color-muted) !important;
  font-size: 9px !important;
  font-weight: 650;
  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 var(--color-rule) !important;
  border-radius: 50% !important;
  background: var(--color-paper-3) !important;
  color: var(--color-ink) !important;
  font-family: Arial, sans-serif !important;
  font-size: 0 !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  box-shadow: none !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);
}
@media (hover: hover) and (pointer: fine) {
  .bcm-map-head > button[data-close]:hover {
    border-color: var(--color-accent-hover) !important;
    background: var(--color-paper-3) !important;
  }
}
.bcm-levels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-height: min(58vh, 430px);
  padding: 3px 4px 12px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c0f25d #171c1d;
  scrollbar-width: thin;
}
.bcm-modal.is-map .bcm-levels > button {
  min-width: 0;
  width: 100% !important;
  padding-inline: 4px;
}
@keyframes bcm-toast {
  20%,
  65% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@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(36px, 10vw, 42px);
    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: 28px;
  }
  .bcm-modal {
    padding: 12px;
  }
  .bcm-modal.is-map {
    padding: 12px;
  }
  .bcm-modal.is-map > .bcm-map {
    max-height: calc(100dvh - 24px);
    padding: 16px;
  }
  .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;
  }
}

.bcm-modal .bcm-free-play {
  margin-top: 10px;
  border: 1px solid var(--color-rule);
  background: var(--color-paper-3);
  color: var(--color-neutral);
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .bcm-modal .bcm-free-play:hover { background: var(--color-paper-2); }
}
