/* ============================================================
   Yobana — Keluarga Quest 3D (game edutainment)
   Semua class diawali .game- agar tidak bentrok dengan app.css
   Token: pink #EC008C→#B0125F · plum #4A2540 · gold #E8B86D
   blush #FFF5F9 · cream #FFFDFB
   ============================================================ */

.game-panel {
  position: fixed; inset: 0; z-index: 9000;
  background: #FFF5F9; color: #4A2540;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  display: none; flex-direction: column;
  overflow: hidden;
}
.game-panel.game-open { display: flex; }

.game-head {
  background: linear-gradient(135deg, #EC008C, #B0125F);
  color: #fff; padding: 14px 16px 12px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 4px 18px rgba(176, 18, 95, .35);
  flex: 0 0 auto;
}
.game-back {
  width: 38px; height: 38px; flex: 0 0 38px; border: none; cursor: pointer;
  border-radius: 12px; background: rgba(255, 255, 255, .18); color: #fff;
  font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.game-back:active { background: rgba(255, 255, 255, .32); }
.game-head-titles { flex: 1; min-width: 0; }
.game-title {
  font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; line-height: 1.15;
}
.game-subtitle { font-size: 11.5px; opacity: .9; letter-spacing: .4px; margin-top: 1px; }
.game-head-badge {
  flex: 0 0 auto; background: #E8B86D; color: #4A2540; font-weight: 800;
  font-size: 11px; padding: 6px 10px; border-radius: 999px; letter-spacing: .3px;
}

.game-tabs {
  flex: 0 0 auto; display: flex; gap: 8px; padding: 12px 14px 4px;
}
.game-tab {
  flex: 1; border: 1.5px solid #F3C3DA; background: #fff; color: #B0125F;
  font-family: inherit; font-weight: 700; font-size: 13.5px;
  padding: 11px 6px; border-radius: 14px; cursor: pointer;
  transition: all .18s ease;
}
.game-tab.game-tab-active {
  background: linear-gradient(135deg, #EC008C, #B0125F); color: #fff;
  border-color: transparent; box-shadow: 0 6px 16px rgba(236, 0, 140, .3);
}

.game-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 14px 28px; }
.game-pane { display: none; }
.game-pane.game-pane-active { display: block; animation: gameFade .25s ease; }
@keyframes gameFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Tab 1 : Kamar Bayi 3D ---------- */
.g3d-wrap {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #FDE7F1, #FFF5F9);
  box-shadow: 0 10px 30px rgba(176, 18, 95, .18);
  border: 1px solid #F6D3E4;
}
.g3d-canvas-box { width: 100%; height: 46vh; min-height: 300px; touch-action: none; cursor: grab; }
.g3d-canvas-box:active { cursor: grabbing; }
.g3d-canvas-box canvas { display: block; }
.g3d-hint {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(74, 37, 64, .72); color: #fff; font-size: 11px;
  padding: 5px 10px; border-radius: 999px; pointer-events: none;
}
.g3d-zoom {
  position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px;
}
.g3d-zoom button {
  width: 36px; height: 36px; border-radius: 12px; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: #B0125F; font-size: 19px; font-weight: 800;
  box-shadow: 0 3px 10px rgba(74, 37, 64, .25);
}
.g3d-loading, .g3d-error {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px; font-size: 13.5px; color: #8A5A76;
  background: linear-gradient(180deg, #FDE7F1, #FFF5F9);
}
.g3d-night-veil {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(ellipse at 72% 62%, rgba(255, 196, 86, .28), rgba(24, 16, 54, .38) 75%);
}
.g3d-wrap.game-night .g3d-night-veil { opacity: 1; }

.game-card {
  background: #FFFDFB; border: 1px solid #F6D3E4; border-radius: 20px;
  padding: 16px; margin-top: 14px; box-shadow: 0 6px 20px rgba(176, 18, 95, .07);
}
.game-card h3 {
  font-family: 'Playfair Display', serif; font-size: 16.5px; margin: 0 0 4px; color: #4A2540;
}
.game-card .game-card-sub { font-size: 12.5px; color: #8A5A76; margin: 0 0 12px; line-height: 1.5; }

.game-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.game-chip {
  border: 1.5px solid #F3C3DA; background: #fff; color: #4A2540;
  font-family: inherit; font-size: 12.5px; font-weight: 700;
  padding: 9px 13px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
.game-chip .game-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.65); }
.game-chip.game-chip-active { border-color: #EC008C; background: #FDE7F1; color: #B0125F; }

.game-item-row {
  display: flex; align-items: center; gap: 10px; padding: 11px 2px;
  border-bottom: 1px dashed #F3D9E7;
}
.game-item-row:last-child { border-bottom: none; }
.game-item-ic {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px;
  background: #FDE7F1; display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.game-item-info { flex: 1; min-width: 0; }
.game-item-name { font-size: 13.5px; font-weight: 700; }
.game-item-price { font-size: 12px; color: #B0125F; font-weight: 600; margin-top: 1px; }
.game-switch { position: relative; width: 48px; height: 27px; flex: 0 0 48px; cursor: pointer; }
.game-switch input { opacity: 0; width: 0; height: 0; }
.game-switch .game-track {
  position: absolute; inset: 0; border-radius: 999px; background: #EBD3DF; transition: .2s;
}
.game-switch .game-track:before {
  content: ''; position: absolute; width: 21px; height: 21px; border-radius: 50%;
  left: 3px; top: 3px; background: #fff; box-shadow: 0 2px 6px rgba(74,37,64,.3); transition: .2s;
}
.game-switch input:checked + .game-track { background: linear-gradient(135deg, #EC008C, #B0125F); }
.game-switch input:checked + .game-track:before { transform: translateX(21px); }

.game-total-bar {
  margin-top: 14px; border-radius: 20px; padding: 16px;
  background: linear-gradient(135deg, #4A2540, #6D3358); color: #fff;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 24px rgba(74, 37, 64, .3);
}
.game-total-bar .game-total-label { font-size: 11px; letter-spacing: 1.2px; opacity: .85; text-transform: uppercase; }
.game-total-bar .game-total-value { font-family: 'Playfair Display', serif; font-size: 23px; font-weight: 700; color: #E8B86D; }
.game-total-bar .game-total-count { margin-left: auto; text-align: right; font-size: 12px; opacity: .92; line-height: 1.45; }

.game-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.game-btn {
  flex: 1; min-width: 100px; border: none; cursor: pointer; font-family: inherit;
  font-weight: 800; font-size: 13.5px; padding: 13px 10px; border-radius: 14px;
  background: linear-gradient(135deg, #EC008C, #B0125F); color: #fff;
  box-shadow: 0 6px 16px rgba(236, 0, 140, .28);
}
.game-btn:active { transform: scale(.98); }
.game-btn.game-btn-soft { background: #fff; color: #B0125F; border: 1.5px solid #F3C3DA; box-shadow: none; }
.game-btn.game-btn-gold { background: linear-gradient(135deg, #E8B86D, #D9A44A); color: #4A2540; box-shadow: 0 6px 16px rgba(217, 164, 74, .35); }
.game-note { font-size: 12px; color: #8A5A76; line-height: 1.55; margin-top: 12px; }

/* ---------- Tab 2 : Misi Siaga Bunda ---------- */
.game-stage-card {
  background: #FFFDFB; border: 1px solid #F6D3E4; border-radius: 20px;
  padding: 16px; margin-top: 12px; box-shadow: 0 6px 20px rgba(176, 18, 95, .07);
  display: flex; gap: 13px; align-items: flex-start;
}
.game-stage-num {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 15px;
  background: linear-gradient(135deg, #EC008C, #B0125F); color: #fff;
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 14px rgba(236, 0, 140, .3);
}
.game-stage-info { flex: 1; min-width: 0; }
.game-stage-info h3 { font-family: 'Playfair Display', serif; font-size: 16px; margin: 0 0 3px; }
.game-stage-info p { font-size: 12.5px; color: #8A5A76; margin: 0; line-height: 1.5; }
.game-stars { font-size: 15px; letter-spacing: 2px; color: #E8B86D; margin-top: 6px; }
.game-stars .game-star-off { color: #EBD3DF; }
.game-stage-btn {
  flex: 0 0 auto; align-self: center; border: none; cursor: pointer; font-family: inherit;
  background: #FDE7F1; color: #B0125F; font-weight: 800; font-size: 12.5px;
  padding: 10px 14px; border-radius: 999px;
}
.game-stage-btn:active { background: #F9CFE3; }

.game-quiz-q { margin-bottom: 16px; }
.game-quiz-q:last-child { margin-bottom: 4px; }
.game-quiz-text { font-size: 14px; font-weight: 700; line-height: 1.5; margin-bottom: 9px; }
.game-opt {
  display: block; width: 100%; text-align: left; font-family: inherit; cursor: pointer;
  background: #fff; border: 1.5px solid #F0D3E1; color: #4A2540;
  font-size: 13.5px; padding: 11px 13px; border-radius: 13px; margin-bottom: 7px;
  transition: all .15s ease; line-height: 1.45;
}
.game-opt.game-opt-sel { border-color: #EC008C; background: #FDE7F1; font-weight: 700; }
.game-opt.game-opt-right { border-color: #2E9E5B; background: #E7F6EC; }
.game-opt.game-opt-wrong { border-color: #D64545; background: #FDECEC; }
.game-opt:disabled { cursor: default; opacity: .92; }
.game-explain {
  font-size: 12.5px; line-height: 1.55; color: #6D4A5E; background: #FFF5F9;
  border-left: 3.5px solid #E8B86D; border-radius: 8px; padding: 9px 11px; margin: 2px 0 6px;
  display: none;
}
.game-explain.game-show { display: block; }

.game-pack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.game-pack-item {
  border: 1.5px solid #F0D3E1; background: #fff; border-radius: 15px; cursor: pointer;
  font-family: inherit; padding: 13px 10px; text-align: center; color: #4A2540;
  font-size: 12.5px; font-weight: 700; line-height: 1.4; transition: all .15s ease;
}
.game-pack-item .game-pack-ic { font-size: 23px; display: block; margin-bottom: 5px; }
.game-pack-item.game-packed { border-color: #EC008C; background: #FDE7F1; box-shadow: 0 4px 12px rgba(236,0,140,.18); }
.game-pack-item.game-pack-right { border-color: #2E9E5B; background: #E7F6EC; }
.game-pack-item.game-pack-wrong { border-color: #D64545; background: #FDECEC; }
.game-pack-item.game-pack-missed { border-color: #D9A44A; background: #FBF3DF; }
.game-pack-count { text-align: center; font-size: 12.5px; color: #B0125F; font-weight: 700; margin: 12px 0 2px; }

.game-result {
  text-align: center; padding: 14px 6px 4px;
}
.game-result .game-result-stars { font-size: 30px; letter-spacing: 5px; color: #E8B86D; }
.game-result .game-result-stars .game-star-off { color: #EBD3DF; }
.game-result h4 { font-family: 'Playfair Display', serif; font-size: 18px; margin: 6px 0 4px; }
.game-result p { font-size: 13px; color: #8A5A76; line-height: 1.55; margin: 0; }

.game-badge {
  margin-top: 16px; border-radius: 22px; padding: 22px 18px; text-align: center; color: #fff;
  background: linear-gradient(150deg, #EC008C, #B0125F 60%, #7E0C43);
  box-shadow: 0 14px 32px rgba(176, 18, 95, .35); position: relative; overflow: hidden;
}
.game-badge:before {
  content: ''; position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: rgba(232, 184, 109, .25); top: -95px; right: -55px;
}
.game-badge .game-badge-medal { font-size: 46px; }
.game-badge h3 { font-family: 'Playfair Display', serif; font-size: 21px; margin: 6px 0 4px; color: #FFE9B8; }
.game-badge p { font-size: 13px; line-height: 1.55; margin: 0 0 14px; opacity: .95; }
.game-badge .game-badge-stars { font-size: 19px; letter-spacing: 3px; color: #E8B86D; margin-bottom: 14px; }
.game-btn-wa {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: #25D366; color: #fff; font-weight: 800; font-size: 14px;
  padding: 13px 20px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  position: relative; z-index: 1;
}
.game-hidden { display: none !important; }

/* ---------- Tab 3 : Bayiku (bayi virtual) ---------- */
.game-adopt { text-align: center; padding: 10px 2px 2px; }
.game-adopt .game-adopt-emoji { font-size: 54px; }
.game-adopt h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin: 8px 0 4px; }
.game-adopt p { font-size: 13px; color: #8A5A76; line-height: 1.55; margin: 0 0 14px; }
.game-input {
  width: 100%; box-sizing: border-box; font-family: inherit; font-size: 15px; font-weight: 700;
  color: #4A2540; background: #fff; border: 1.5px solid #F3C3DA; border-radius: 14px;
  padding: 13px 14px; text-align: center; outline: none; margin-bottom: 12px;
}
.game-input:focus { border-color: #EC008C; }
.game-gender-row { display: flex; gap: 9px; margin-bottom: 16px; }
.game-gender {
  flex: 1; border: 1.5px solid #F3C3DA; background: #fff; border-radius: 16px; cursor: pointer;
  font-family: inherit; padding: 14px 6px; font-size: 13.5px; font-weight: 800; color: #4A2540;
}
.game-gender .game-gender-ic { font-size: 26px; display: block; margin-bottom: 4px; }
.game-gender.game-gender-sel-pink { border-color: #EC008C; background: #FDE7F1; color: #B0125F; }
.game-gender.game-gender-sel-blue { border-color: #5B93C9; background: #E7F1FA; color: #33608F; }

.game-pet-top {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
}
.game-pet-name { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; }
.game-pet-stage-label { font-size: 11.5px; color: #B0125F; font-weight: 800; background: #FDE7F1; padding: 4px 9px; border-radius: 999px; }
.game-pet-chip {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  background: #FFF3D6; border: 1px solid #EBD9A8; color: #7A5A14; font-weight: 800; font-size: 12.5px;
  padding: 5px 11px; border-radius: 999px;
}
.game-pet-chip.game-chip-streak { background: #FFE9E0; border-color: #F3C3A8; color: #9A4A14; margin-left: 0; }

.game-pet-stage {
  position: relative; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #FDEBF4 0%, #FFF5F9 62%, #FDEBD8 100%);
  border: 1px solid #F6D3E4; box-shadow: 0 10px 28px rgba(176, 18, 95, .13);
  min-height: 308px; display: flex; flex-direction: column; align-items: center;
  padding: 18px 10px 14px;
}
.game-pet-stage.game-pet-blue { background: linear-gradient(180deg, #E4F0FA 0%, #F2F8FC 62%, #FDEBD8 100%); }
.game-mood-chip {
  background: rgba(255, 255, 255, .9); border: 1px solid #F3C3DA; color: #B0125F;
  font-size: 12px; font-weight: 800; padding: 6px 13px; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(176, 18, 95, .12); z-index: 3; text-align: center; max-width: 92%;
}
.game-poop-chip {
  margin-top: 8px; background: #8A5A2B; color: #fff; font-size: 12px; font-weight: 800;
  padding: 6px 13px; border-radius: 999px; z-index: 3; animation: gameWiggle 1.6s ease-in-out infinite;
}
@keyframes gameWiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

.game-pet-baby {
  margin-top: 8px; animation: gamePetBob 3.2s ease-in-out infinite; transform-origin: center bottom; z-index: 2;
}
@keyframes gamePetBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.game-pet-baby svg { display: block; overflow: visible; }
.pet-eye { transform-box: fill-box; transform-origin: center; animation: gamePetBlink 4.4s infinite; }
@keyframes gamePetBlink { 0%, 91%, 100% { transform: scaleY(1); } 94%, 96% { transform: scaleY(.08); } }
.pet-zzz { animation: gameZzzFloat 2.4s ease-in-out infinite; }
@keyframes gameZzzFloat { 0% { opacity: 0; transform: translateY(4px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-9px); } }
.pet-fly { animation: gameFlyOrbit 2.8s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes gameFlyOrbit { from { transform: rotate(0deg) translateX(5px) rotate(0deg); } to { transform: rotate(360deg) translateX(5px) rotate(-360deg); } }

.game-pet-xp { width: 100%; max-width: 330px; margin-top: 10px; z-index: 2; }
.game-pet-xp-label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; color: #8A5A76; margin-bottom: 4px; }
.game-pet-xp-track { height: 9px; background: #F3D9E7; border-radius: 999px; overflow: hidden; }
.game-pet-xp-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #E8B86D, #EC008C); transition: width .5s ease; }

.game-bars { margin-top: 14px; }
.game-bar-row { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.game-bar-row:last-child { margin-bottom: 2px; }
.game-bar-label { width: 74px; flex: 0 0 74px; font-size: 12.5px; font-weight: 800; }
.game-bar-track { flex: 1; height: 14px; background: #F3D9E7; border-radius: 999px; overflow: hidden; }
.game-bar-fill { height: 100%; border-radius: 999px; transition: width .6s ease; }
.game-bar-val { width: 30px; flex: 0 0 30px; text-align: right; font-size: 12px; font-weight: 800; color: #8A5A76; }
.game-bar-fill.game-bar-low { animation: gameBarPulse 1.1s ease-in-out infinite; }
@keyframes gameBarPulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }

.game-pet-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 14px; }
.game-pet-act {
  border: 1.5px solid #F3C3DA; background: #FFFDFB; border-radius: 18px; cursor: pointer;
  font-family: inherit; padding: 14px 4px 11px; color: #4A2540;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  box-shadow: 0 4px 12px rgba(176, 18, 95, .07); transition: transform .12s ease;
}
.game-pet-act:active { transform: scale(.95); }
.game-pet-act .game-pet-act-ic { font-size: 27px; line-height: 1; }
.game-pet-act .game-pet-act-label { font-size: 12px; font-weight: 800; text-align: center; line-height: 1.3; }
.game-pet-act:disabled { opacity: .45; filter: grayscale(.5); cursor: not-allowed; }
.game-pet-act:disabled:active { transform: none; }
.game-pet-act.game-act-alert { border-color: #D64545; background: #FDECEC; animation: gameBarPulse 1.1s ease-in-out infinite; }

.game-pet-veil {
  position: absolute; inset: 0; z-index: 5; display: none;
  background: rgba(28, 18, 58, .78); color: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px;
}
.game-pet-stage.game-sleeping .game-pet-veil { display: flex; }
.game-pet-veil .game-veil-moon { font-size: 42px; }
.game-pet-veil p { font-size: 13px; margin: 0; opacity: .92; line-height: 1.55; }
.game-veil-star { position: absolute; color: #FFE9B8; animation: gameTwinkle 1.8s ease-in-out infinite; }
@keyframes gameTwinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

.game-balloon {
  position: absolute; bottom: -76px; width: 54px; height: 66px; z-index: 6;
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%; border: none; cursor: pointer;
  box-shadow: inset -7px -9px 0 rgba(0, 0, 0, .09);
  animation: gameBalloonRise 5s linear forwards; padding: 0;
}
.game-balloon:after {
  content: ''; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid rgba(0,0,0,.22);
}
@keyframes gameBalloonRise { from { transform: translateY(0); } to { transform: translateY(-470px); } }

.game-mission-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px dashed #F3D9E7;
}
.game-mission-row:last-child { border-bottom: none; }
.game-mission-info { flex: 1; min-width: 0; }
.game-mission-name { font-size: 13.5px; font-weight: 700; }
.game-mission-prog { font-size: 11.5px; color: #8A5A76; margin-top: 1px; }
.game-mission-track { height: 7px; background: #F3D9E7; border-radius: 999px; margin-top: 5px; overflow: hidden; }
.game-mission-fill { height: 100%; background: linear-gradient(90deg, #E8B86D, #EC008C); border-radius: 999px; transition: width .4s ease; }
.game-claim-btn {
  flex: 0 0 auto; border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 12px;
  padding: 9px 13px; border-radius: 999px; background: #EBD3DF; color: #8A5A76;
}
.game-claim-btn.game-claim-ready { background: linear-gradient(135deg, #E8B86D, #D9A44A); color: #4A2540; box-shadow: 0 4px 12px rgba(217,164,74,.4); }
.game-claim-btn:disabled { cursor: default; }

.game-shop-row { display: flex; gap: 9px; }
.game-shop-item {
  flex: 1; border: 1.5px solid #F0D3E1; background: #fff; border-radius: 16px; padding: 12px 6px;
  text-align: center; font-family: inherit; cursor: pointer; color: #4A2540;
}
.game-shop-item .game-shop-ic { font-size: 25px; display: block; margin-bottom: 4px; }
.game-shop-item .game-shop-name { font-size: 12px; font-weight: 800; display: block; }
.game-shop-item .game-shop-price { font-size: 11.5px; color: #B0125F; font-weight: 700; display: block; margin-top: 2px; }
.game-shop-item.game-shop-worn { border-color: #EC008C; background: #FDE7F1; }
.game-shop-item:disabled { opacity: .5; cursor: not-allowed; }

.game-tip-box {
  margin-top: 14px; background: #FFF8E8; border: 1px solid #EBD9A8; border-radius: 16px;
  padding: 12px 14px; font-size: 12.5px; line-height: 1.6; color: #6D5514;
}
.game-tip-box b { color: #9A7414; }

.game-celebrate {
  position: fixed; inset: 0; z-index: 9500; display: none;
  background: rgba(74, 37, 64, .5); align-items: center; justify-content: center; padding: 22px;
}
.game-celebrate.game-show { display: flex; }
.game-celebrate-card {
  background: #FFFDFB; border-radius: 24px; padding: 26px 22px; text-align: center;
  max-width: 330px; width: 100%; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); position: relative; z-index: 2;
  animation: gameFade .3s ease;
}
.game-celebrate-card .game-cel-emoji { font-size: 48px; }
.game-celebrate-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin: 8px 0 5px; }
.game-celebrate-card p { font-size: 13px; color: #8A5A76; line-height: 1.6; margin: 0 0 16px; }
.game-confetti { position: absolute; top: -14px; width: 9px; height: 15px; border-radius: 2px; z-index: 1; animation: gameConfettiFall linear forwards; }
@keyframes gameConfettiFall { to { transform: translateY(105vh) rotate(680deg); } }

.game-toast {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px);
  background: #4A2540; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.45;
  padding: 11px 18px; border-radius: 999px; box-shadow: 0 10px 26px rgba(74, 37, 64, .4);
  opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 9600;
  max-width: 86%; text-align: center;
}
.game-toast.game-toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }

.game-imun-box {
  margin-top: 12px; background: #EFF7FF; border: 1px solid #BFD9F2; border-radius: 16px; padding: 13px 14px;
}
.game-imun-box h4 { margin: 0 0 5px; font-size: 13.5px; color: #33608F; }
.game-imun-box p { margin: 0 0 11px; font-size: 12.5px; line-height: 1.55; color: #4A5A6D; }
.game-imun-box .game-btn { width: 100%; }
