/* 飞禽走兽转盘 */
#bb-page { max-width: 1080px; margin: 0 auto; padding: 16px; }

.bb-head { margin-bottom: 14px; }
.bb-head h2 { margin: 0; font-size: 22px; }
.bb-head p { margin: 4px 0 0; color: var(--muted, #8c9ab0); font-size: 12.5px; }

.bb-wheel-wrap {
  position: relative; width: 100%; max-width: 560px; margin: 0 auto 16px;
  aspect-ratio: 1 / 1;
}
.bb-wheel {
  width: 100%; height: 100%; border-radius: 50%;
  border: 6px solid #2a2015;
  box-shadow: 0 0 0 6px #15171c, 0 20px 60px rgba(0,0,0,.6), inset 0 0 40px rgba(0,0,0,.5);
  transition: transform 4.2s cubic-bezier(.15,.85,.25,1);
  position: relative;
}
.bb-seg {
  position: absolute; left: 50%; top: 50%;
  width: 50%; height: 46%;
  transform-origin: 0 0;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 6px;
}
.bb-seg span { font-size: 20px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.bb-pointer {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent;
  border-top: 26px solid #e8b64c; filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); z-index: 3;
}
.bb-center {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.bb-center-in {
  width: 34%; height: 34%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a3444, #12171f);
  border: 3px solid #3a4452; display: grid; place-items: center;
  box-shadow: inset 0 0 20px rgba(0,0,0,.8);
}
.bb-center-in b { font-size: 26px; color: var(--gold, #e8b64c); }

.bb-result { text-align: center; font-size: 15px; min-height: 26px; margin-bottom: 12px; color: #cfe9d8; }

.bb-bets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.bb-bet {
  background: #141c26; border: 1px solid #232e3e; border-radius: 10px;
  padding: 9px 6px; text-align: center; transition: .14s;
}
.bb-bet:hover { border-color: #3d4a5c; }
.bb-bet.on { background: rgba(232,182,76,.14); border-color: var(--gold, #e8b64c); box-shadow: 0 0 14px rgba(232,182,76,.22); }
.bb-bet .n { display: block; font-size: 13px; color: #d4dce8; margin-bottom: 3px; }
.bb-bet .o { display: block; font-size: 15px; font-weight: 800; color: var(--gold, #e8b64c); }
.bb-bet .p { display: block; font-size: 10.5px; color: #5f6d82; margin-top: 2px; }

.bb-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bb-units { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.bb-unit { padding: 7px 13px; border-radius: 8px; font-size: 13px; background: #1b2431; border: 1px solid #232e3e; color: #9aa7bd; }
.bb-unit.on { background: linear-gradient(135deg, #e8b64c, #c9962f); color: #231a05; font-weight: 700; border-color: transparent; }
#bb-unit-input { width: 110px; margin: 0; }
.bb-spin { margin-left: auto; padding: 12px 38px; border-radius: 12px; background: linear-gradient(135deg, #e8b64c, #c9962f); color: #231a05; font-size: 16px; font-weight: 800; letter-spacing: 2px; box-shadow: 0 8px 22px rgba(232,182,76,.3); }
.bb-spin:disabled { opacity: .6; }

.bb-log { margin-top: 14px; background: #101821; border: 1px solid #232e3e; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; display: grid; gap: 4px; max-height: 180px; overflow: auto; }
.bb-log-row { display: flex; justify-content: space-between; gap: 10px; color: #9aa7bd; }
.bb-win { color: #25c26e; font-weight: 600; }

@media (max-width: 720px) {
  .bb-bets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bb-spin { width: 100%; margin-left: 0; }
  .bb-seg span { font-size: 15px; }
}

/* emoji / CJK symbol font fallback */
.slot-cell, .mj-cell, .fish-swim, .bb-seg span, .game-icon, .bb-bet .n {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Microsoft YaHei", sans-serif;
}
