/* VoltDrive Hub energy collection. Loaded after the corporate page styles.
   The existing wheel rotation and card deal/shuffle/flip transforms remain authoritative. */
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) {
  --energy-ink: #f3f8ff;
  --energy-muted: #b8c8d8;
  --energy-line: #385166;
  --energy-blue: #8ae6ff;
  color: var(--energy-ink);
  background: #08131e;
  min-height: 100dvh;
}
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) .screen {
  padding: 16px 16px calc(44px + env(safe-area-inset-bottom));
  color: #f3f8ff;
  background: radial-gradient(ellipse at 90% 0, #19354c 0, transparent 42%), #08131e;
}
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) .topbar {
  margin: -16px -16px 18px;
  padding: max(14px, env(safe-area-inset-top)) 12px 14px;
  background: #0a1724;
  border-color: #2a4053;
}
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) .topbar p { color: #becddc; }
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) .topbar h1 { color: #f1f8ff; }
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) .topbar .icon-btn { color: #e0f5ff; background: #123047; border-color: #3f6079; }
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) .section:not(.lucky-section),
.app-shell[data-route="cardFlipRecord"] .card-flip-history {
  color: #e9f2fa; background: #102131; border: 1px solid #304a60; border-radius: 16px; padding: 18px 15px;
}
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) :is(.section-title h2, .row strong, .row-main, .section a) { color: #e8f6ff; }
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) :is(.row-main span, .row small, .empty) { color: #becbd8; }
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) .row { border-color: #30465a; }
.app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) .badge { color: #b2edff; background: #173d52; border-color: #3b6a80; }

/* Reward Wheel: a rotary instrument in a dark automotive cockpit. */
.lucky-hero {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 14px; color: #f1f9ff;
  background: linear-gradient(110deg, #0b1b2beb, #102a3aab), url('/assets/byd/energy-games-20261027/wheel-stage.jpg') center 32% / cover;
  border: 1px solid #436079; border-radius: 18px; box-shadow: inset 0 1px #b1e4ff24, 0 12px 28px #0003;
}
.lucky-hero .hero-head { flex: 1; gap: 12px; }
.lucky-hero .hero-head > div { display: flex; align-items: center; gap: 12px; }
.lucky-hero .hero-head span, .lucky-hero .balance span { color: #c0d5e7; font-size: 11px; line-height: 1.5; }
.lucky-hero .hero-head > span { display: none; }
.lucky-hero .hero-head strong { color: #8ee5ff; font-size: 26px; font-weight: 700; }
.lucky-hero .balance { display: none; }
.lucky-hero .balance strong { margin-top: 5px; color: #f5fbff; font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.lucky-hero .hero-actions { gap: 9px; margin-top: 0; }
.lucky-hero [data-lucky-button="primary"] { display: none; }
.lucky-hero .hero-actions :is(button, a) {
  min-height: 46px; padding: 10px 12px; color: #062033; background: linear-gradient(135deg, #e5f6ff, #7fd6f5);
  border: 1px solid #b7eaff; border-radius: 8px; box-shadow: inset 0 1px #fff9; font-size: 12px; font-weight: 700;
}
.lucky-hero .hero-actions a { color: #e5f5ff; background: #132d40; border-color: #4e718a; }
.lucky-hero .hero-actions button:disabled { color: #afc0cd; background: #233b4d; border-color: #50677a; box-shadow: none; opacity: 1; }
.lucky-section {
  padding: 14px 10px 12px; gap: 11px; color: #e9f7ff; border: 1px solid #41617b; border-radius: 20px;
  background: linear-gradient(#07121a25, #07131fbd), url('/assets/byd/energy-games-20261027/wheel-stage.jpg') center / cover, #0a1928;
  box-shadow: inset 0 1px #b7e5ff20, 0 18px 34px #0003;
}
.lucky-section .lucky-wheel-wrap {
  --wheel-center-y: 50%; --wheel-slot-radius: clamp(74px, 21vw, 99px);
  width: min(100%, 410px); max-width: 100%; margin: 0 auto; aspect-ratio: 1;
  color: #e4f6ff; background: transparent; border: 0; border-radius: 50%; box-shadow: none;
}
.lucky-section .lucky-wheel-bg { display: none; filter: none; }
.lucky-section .lucky-wheel-backdrop {
  inset: 0; border: 1px solid #89dfff39; border-radius: 50%;
  background: radial-gradient(circle, #5bc5f11c 0, transparent 66%); opacity: 1;
  box-shadow: inset 0 0 28px #458db512, 0 0 28px #58b7ea14;
}
.lucky-section .lucky-wheel-disc {
  width: 86%; border: 0; outline: 0; box-shadow: 0 12px 22px #0009, 0 0 0 3px #8ea5b6, 0 0 0 6px #263d51, 0 0 0 7px #7392a8;
}
.lucky-section .lucky-wheel-base-img {
  display: block; filter: none; border: 5px solid #d5e0e9; border-radius: 50%; overflow: hidden;
  background: repeating-conic-gradient(from 0deg, #a0e5ff80 0deg .7deg, transparent .7deg 45deg),
    conic-gradient(#183b51 0deg 45deg, #aabfcf 45deg 90deg, #183b51 90deg 135deg, #aabfcf 135deg 180deg, #183b51 180deg 225deg, #aabfcf 225deg 270deg, #183b51 270deg 315deg, #aabfcf 315deg 360deg);
  box-shadow: inset 0 0 0 3px #142f43, inset 0 0 24px #001524ad;
}
.lucky-section .lucky-wheel-disc::after { position: absolute; z-index: 1; inset: 9px; content: ''; border: 1px solid #c9edff5c; border-radius: 50%; pointer-events: none; }
.lucky-section .lucky-wheel-pointer-img {
  top: 3%; width: clamp(30px, 9vw, 40px); height: clamp(39px, 12vw, 48px); display: block;
  color: #def7ff; background: transparent; object-fit: contain; filter: drop-shadow(0 3px 4px #0009);
}
.lucky-section .lucky-wheel-slot { width: clamp(57px, 17.4vw, 78px); height: 54px; color: #eaffff; }
.lucky-section .lucky-wheel-prize-amount {
  padding: 4px 5px; color: #f5fbff; background: #0a2236ed; border: 1px solid #739caf; border-radius: 5px;
  box-shadow: 0 3px 7px #0013234d; font-size: clamp(9px, 2.5vw, 11px); font-weight: 700; letter-spacing: -.025em;
}
.lucky-section .lucky-wheel-prize-currency { color: #a8e9ff; font-weight: 700; }
.lucky-section .lucky-wheel-prize-value { color: #f5fbff; }
.lucky-section .lucky-wheel-prize-amount.is-long { font-size: clamp(8px, 2.25vw, 10px); }
.lucky-section .lucky-wheel-prize-amount.is-extra-long { font-size: clamp(7px, 2vw, 9px); }
.lucky-section .lucky-wheel-prize-amount.is-text-prize { display: block; max-width: 78px; max-height: 51px; overflow: hidden; white-space: normal; overflow-wrap: anywhere; font-size: clamp(7px, 2.1vw, 9px); line-height: 1.2; text-align: center; }
.lucky-section .lucky-wheel-center {
  width: clamp(78px, 23vw, 98px); height: clamp(78px, 23vw, 98px); color: #eaffff;
  background: radial-gradient(circle at 35% 20%, #3c6b87, #102b41 58%, #071a2a);
  border: 4px solid #bfd9e8; box-shadow: inset 0 0 0 2px #4c829d, inset 0 -8px 14px #0006, 0 0 0 3px #0d273b, 0 8px 18px #00101fb3;
}
.lucky-section .lucky-wheel-center-img { display: block; object-fit: contain; filter: none; }
.lucky-section .lucky-wheel-center-label { color: #f2fbff; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-shadow: 0 1px 3px #0009; }
.lucky-section .lucky-wheel-center-label small { display: block; margin-top: 4px; max-width: 70px; font-size: 8px; line-height: 1.3; letter-spacing: 0; overflow-wrap: anywhere; }
.lucky-hero .hero-head strong { font-size: clamp(18px, 5.4vw, 26px); overflow-wrap: anywhere; }
.lucky-section .lucky-wheel-center:disabled { opacity: 1; filter: saturate(.55); }
.lucky-section .lucky-wheel-center:disabled .lucky-wheel-center-label { color: #bed0dc; }
.lucky-section .lucky-wheel-center:focus-visible { outline: 3px solid #9aeaff; }
.lucky-section :is(.lucky-result, .lucky-winner-feed) { color: #e5f6ff; background: #0c2132eb; border-color: #43637b; border-radius: 9px; box-shadow: inset 0 1px #b8eaff0a; font-size: 12px; }
.lucky-section .lucky-result { min-height: 46px; line-height: 1.5; font-weight: 600; }
.lucky-section .lucky-winner-line, .lucky-section .lucky-winner-line span:last-child { color: #d7eeff; font-size: 11px; font-weight: 600; }
.lucky-section .lucky-winner-art { filter: none; }
.lucky-section .lucky-winner-spark { color: #9ce6ff; background: transparent; }
.lucky-notice { color: #c4d5e3; background: #102333; border-color: #344f64; border-radius: 10px; line-height: 1.65; font-size: 12px; }
.lucky-prize-layer { background: #030c16c9; backdrop-filter: blur(9px); }
.lucky-prize-dialog { color: #edf9ff; background: radial-gradient(ellipse at 50% 0, #28506a, #0b1d2e 62%); border: 1px solid #7fa7be; border-radius: 20px; box-shadow: 0 30px 70px #0008, inset 0 1px #c3edff30; }
.lucky-prize-dialog .lucky-prize-amount { color: #ecfbff; background: #0a2134; border-color: #4f7894; border-radius: 12px; box-shadow: none; }
.lucky-prize-dialog .lucky-prize-amount span { color: #c6dfed; }
.lucky-prize-dialog .lucky-prize-amount strong { color: #a3eaff; }
.lucky-prize-dialog .lucky-prize-message { color: #edf8ff; font-size: 17px; }
.lucky-prize-dialog .lucky-prize-image { filter: none; }
.lucky-prize-dialog .lucky-prize-confirm { min-height: 46px; color: #08243a; background: linear-gradient(135deg, #e5f6ff, #8bdcf7); border: 1px solid #c6f0ff; border-radius: 8px; box-shadow: none; }

/* Nine energy cards. Only surfaces and proportions change; the original 3D
   inner transform and phase animations continue to drive every card. */
.aeei-card-flip {
  --card-gold: #8ce3ff; --card-cream: #f0f8ff; --card-gap: 9px; --card-stage-pad: 10px;
  gap: 13px; padding: 16px 14px; color: #f0f8ff; border: 1px solid #4e6d84; border-radius: 20px;
  background: linear-gradient(#07152066, #071520e6), url('/assets/byd/energy-games-20261027/card-stage.jpg') center / cover, #0c1e2e;
  box-shadow: inset 0 1px #c1e8ff24, 0 16px 32px #0003;
}
.aeei-card-flip .card-flip-heading span { color: #a7d4e9; font-size: 9px; letter-spacing: .12em; line-height: 1.6; }
.aeei-card-flip .card-flip-heading h2 { margin-top: 5px; color: #f0f8ff; font-size: 27px; font-weight: 600; letter-spacing: -.035em; }
.aeei-card-flip .card-flip-heading > svg { width: 31px; height: 31px; color: #a6e5ff; }
.aeei-card-flip .card-flip-summary { gap: 7px; padding: 10px 12px; color: #def1ff; background: #0d2435e8; border: 1px solid #375970; border-radius: 10px; }
.aeei-card-flip .card-flip-summary > div { flex-basis: 96px; }
.aeei-card-flip .card-flip-summary small { color: #c0d2e1; font-size: 11px; }
.aeei-card-flip .card-flip-summary strong { margin-top: 2px; color: #a4e9ff; font-size: 27px; }
.aeei-card-flip .card-flip-summary [data-card-flip-cost] { font-size: clamp(17px, 4.6vw, 24px); overflow-wrap: anywhere; }
.aeei-card-flip .card-flip-summary :is(a, button) { min-height: 44px; padding: 8px 6px; color: #e2f4ff; font-size: 11px; font-weight: 600; }
.aeei-card-flip .card-flip-summary button:disabled { color: #9caebb; opacity: 1; }
.aeei-card-flip .card-flip-stage { padding: var(--card-stage-pad); border: 1px solid #4b718a; border-radius: 14px; background: #081b2de8; box-shadow: inset 0 0 24px #b6e5ff08, 0 4px 10px #0002; }
.aeei-card-flip .card-flip-stage::before { inset: 4px; border: 1px solid #b2e9ff14; border-radius: 10px; background: none; }
.aeei-card-flip .card-flip-board { gap: var(--card-gap); border-radius: 0; }
.aeei-card-flip .card-flip-card { border-radius: 9px; }
.aeei-card-flip .card-flip-inner { aspect-ratio: .78; }
.aeei-card-flip .card-flip-back, .aeei-card-flip .card-flip-face { gap: 5px; padding: 9px 4px; border: 1px solid #82a6bd; border-radius: 9px; box-shadow: 0 2px 0 #203e56, 0 4px 0 #071725, 0 6px 9px #0004; }
.aeei-card-flip .card-flip-back { color: #e8f8ff; background: linear-gradient(#081a2a10, #081a2a48), url('/assets/byd/energy-games-20261027/card-back.jpg') center / cover, #103047; }
.aeei-card-flip .card-flip-back::before, .aeei-card-flip .card-flip-face::before { inset: 4px; border: 1px solid #a1e6ff35; border-radius: 5px; }
.aeei-card-flip .card-flip-back::after { inset: 8px; border: 0; border-radius: 0; background: none; }
.aeei-card-flip .card-flip-back > small { top: 9px; left: 9px; color: #e2f5ff; font-size: 9px; font-weight: 600; }
.aeei-card-flip .card-flip-back img { position: absolute; top: 8px; right: 8px; width: 17px; height: 17px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; filter: drop-shadow(0 2px 4px #00101e99); }
.aeei-card-flip .card-flip-back b { position: absolute; bottom: 10px; width: calc(100% - 10px); padding: 0; color: #d2edff; font-size: 7px; font-weight: 600; letter-spacing: .025em; line-height: 1.25; text-align: center; }
.aeei-card-flip .card-flip-face { color: #effaff; background: linear-gradient(#03101a12, #03101a38), url('/assets/byd/energy-games-20261027/card-face.jpg') center / 100% 100%, #10263a; border-color: #8abdd4; }
.aeei-card-flip .card-flip-face strong { max-width: 94%; padding: 3px 4px; color: #f0fbff; background: #071a2bb8; border-radius: 4px; font-size: clamp(12px, 3.7vw, 17px); line-height: 1.2; font-weight: 700; letter-spacing: -.04em; text-shadow: 0 1px 4px #001c32; }
.aeei-card-flip .card-flip-face small { color: #aaddf3; font-size: 9px; font-weight: 600; }
.aeei-card-flip .card-flip-face.is-text-prize strong { max-height: 58%; overflow: hidden; overflow-wrap: anywhere; white-space: normal; font-size: clamp(9px, 2.7vw, 13px); line-height: 1.25; letter-spacing: 0; }
.aeei-card-flip .card-flip-face.is-text-prize small { font-size: 7px; }
.app-shell[data-route^="lucky"] .game-text-result { max-width: 42%; color: #b3eaff; overflow-wrap: anywhere; font-size: 11px; }
.aeei-card-flip .card-flip-face::after { background: #8ae5ff; box-shadow: 0 0 6px #8ae5ff88; }
.aeei-card-flip .card-flip-face em { bottom: 7px; color: #08273c; background: #c4f1ff; border-radius: 4px; font-size: 7px; font-weight: 700; }
.aeei-card-flip .card-flip-seal { width: 24px; height: 24px; margin-bottom: 2px; color: #b9ecff; background: #173c56; border: 1px solid #79a7bf; border-radius: 50%; box-shadow: inset 0 0 0 2px #16334a; }
.aeei-card-flip .card-flip-card.is-selected { outline-color: #adf0ff; filter: drop-shadow(0 0 8px #65d4ff70); }
.aeei-card-flip[data-card-phase="choosing"] .card-flip-card.is-guide-target:not(.is-selected) { outline-color: #90dfff; }
.aeei-card-flip .card-flip-guide-ring { border-color: #9ae9ff; }
.aeei-card-flip .card-flip-round-status { color: #c8ddec; font-size: 12px; line-height: 1.5; }
.aeei-card-flip .card-flip-result, .aeei-card-flip .card-flip-result.is-win { padding: 12px; color: #e4f4ff; background: #0b2437eb; border: 1px solid #41667f; border-radius: 10px; box-shadow: none; font-size: 12px; line-height: 1.6; }
.aeei-card-flip .card-flip-result.is-win { color: #b6f0ff; border-color: #78c9e7; background: #113a50; }
.aeei-card-flip .card-flip-start,
.aeei-card-flip > [data-action="retry-card-flip"], .aeei-card-flip > [data-action="reset-card-flip"] {
  min-height: 48px; padding: 12px 14px; color: #06263b; background: linear-gradient(135deg, #e7f7ff, #8ddcf7);
  border: 1px solid #c9eeff; border-radius: 8px; box-shadow: inset 0 1px #fff7, 0 6px 12px #00121f33; font-size: 14px; font-weight: 700;
}
.aeei-card-flip .card-flip-start:disabled { color: #b4c5d3; background: #294456; border-color: #506e82; box-shadow: none; opacity: 1; }
.aeei-card-flip .card-flip-footer-actions { align-items: center; gap: 8px; }
.aeei-card-flip .card-flip-footer-actions :is(a, button) { min-height: 44px; padding: 8px 0; color: #d9f2ff; font-size: 11px; }
.aeei-card-flip .card-flip-balance { color: #becfdd; font-size: 11px; }
.aeei-card-flip .card-flip-balance strong { color: #dbf5ff; font-size: 15px; }
.aeei-card-flip .card-flip-rules { color: #bdcedc; font-size: 11px; line-height: 1.7; }
.aeei-card-flip :is(.card-flip-card, .card-flip-start):focus-visible { outline-color: #a5efff; }
.app-shell[data-route="cardFlipRecord"] .card-flip-history-pager button { color: #def5ff; background: #153449; border-color: #52768d; border-radius: 8px; }
@media (max-width: 380px) {
  .app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) .screen { padding-inline: 13px; }
  .app-shell:is([data-route^="lucky"], [data-route^="cardFlip"]) .topbar { margin-inline: -13px; }
  .lucky-hero { padding: 15px; }
  .lucky-hero .balance strong { font-size: 23px; }
  .aeei-card-flip { --card-gap: 7px; --card-stage-pad: 8px; padding: 14px 11px; gap: 11px; }
  .aeei-card-flip .card-flip-heading h2 { font-size: 25px; }
  .aeei-card-flip .card-flip-summary { padding: 9px 10px; }
  .aeei-card-flip .card-flip-summary > div { flex-basis: 81px; }
  .aeei-card-flip .card-flip-back b { font-size: 6.5px; }
}

/* Mobile amount legibility: quiet contrast panels, large numerals and a
   dedicated coordinate layout with inward currency and outward prize values. */
.lucky-section { padding-inline: 6px; }
.lucky-section .lucky-wheel-disc {
  width: 94%;
  box-shadow: 0 12px 24px #0009, 0 0 0 2px #d4e4ec, 0 0 0 5px #1b3348, 0 0 0 6px #7899ac;
}
.lucky-section .lucky-wheel-base-img { border: 0; background: #091a2a; box-shadow: none; }
.lucky-section .lucky-wheel-disc::after { inset: 3px; border-color: #e0f7ff70; }
.lucky-section .lucky-wheel-pointer-img { top: 0; width: 32px; height: 42px; }
.lucky-section .lucky-wheel-slot.is-readable-slot {
  left: var(--slot-x); top: var(--slot-y); width: clamp(58px, 17.5vw, 77px); height: 44px;
  transform: translate(-50%, -50%);
}
.lucky-section .is-readable-slot .lucky-wheel-prize {
  transform: rotate(calc(var(--slot-angle) - 90deg));
  transition: none;
}
.lucky-section .lucky-wheel-prize-amount {
  justify-content: center; gap: 2px; min-height: 32px; width: max-content; max-width: 100%; padding: 5px 3px;
  color: #071b2d; background: #f4f9fd; border: 1px solid #e6f6ff; border-radius: 6px;
  box-shadow: 0 2px 0 #6d91a5, 0 4px 9px #0008;
  font-family: Arial, Helvetica, sans-serif; font-size: clamp(16px, 5.1vw, 22px); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.05; text-shadow: none;
}
.lucky-section .lucky-wheel-prize-currency { color: #214c68; font-size: .68em; font-weight: 700; }
.lucky-section .lucky-wheel-prize-value { color: #06182a; font-weight: 800; }
.lucky-section .lucky-wheel-prize-amount.is-long { font-size: clamp(15px, 4.65vw, 20px); }
.lucky-section .lucky-wheel-prize-amount.is-extra-long { font-size: clamp(12px, 3.8vw, 17px); }
.lucky-section .lucky-wheel-prize-amount.is-text-prize {
  display: flex; align-items: center; justify-content: center; min-height: 40px; max-height: 62px; max-width: 100%;
  padding: 5px 4px; color: #1a3042; background: #fff3d2; border-color: #e6c47a;
  font-family: Arial, Helvetica, sans-serif; font-size: clamp(11px, 3.25vw, 14px); font-weight: 700; line-height: 1.15;
  white-space: normal; overflow-wrap: anywhere; text-shadow: none;
}
.lucky-section .lucky-wheel-center { width: clamp(70px, 20vw, 86px); height: clamp(70px, 20vw, 86px); }
.lucky-section .lucky-wheel-center-label { color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: clamp(13px, 3.8vw, 17px); font-weight: 800; letter-spacing: .04em; text-shadow: none; }
.lucky-section .lucky-wheel-center-label small { margin-top: 5px; color: #c5f3ff; font-size: clamp(11px, 3.1vw, 14px); font-weight: 700; }
.aeei-card-flip { --card-stage-pad: 6px; }
.aeei-card-flip .card-flip-face {
  gap: 7px; padding: 10px 3px;
  background: linear-gradient(#020b1438, #020b145e), url('/assets/byd/energy-games-20261027/card-face.jpg') center / 100% 100%, #0a1b2a;
}
.aeei-card-flip .card-flip-face strong {
  width: max-content; max-width: 100%; padding: 7px 3px; color: #fff; background: #020c18f5;
  border: 1px solid #5c96b3; border-radius: 5px; font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 5.15vw, 23px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em;
  white-space: nowrap; overflow-wrap: normal; text-shadow: none; box-shadow: 0 2px 6px #0006;
}
.aeei-card-flip .card-flip-face.is-long-amount strong { font-size: clamp(14px, 4.4vw, 19px); }
.aeei-card-flip .card-flip-face.is-wide-amount strong { font-size: clamp(12px, 3.9vw, 17px); white-space: normal; overflow-wrap: anywhere; }
.aeei-card-flip .card-flip-face small { color: #e0f4ff; font-size: 10px; letter-spacing: .08em; }
.aeei-card-flip .card-flip-seal { width: 20px; height: 20px; margin: 0; color: #8bd6f0; background: #071a29e6; border-color: #4b829d; }
.aeei-card-flip .card-flip-face.is-text-prize { gap: 5px; }
.aeei-card-flip .card-flip-face.is-text-prize strong { max-height: 66%; padding: 6px 3px; font-size: clamp(12px, 3.8vw, 16px); line-height: 1.18; letter-spacing: 0; white-space: normal; overflow-wrap: anywhere; }
.aeei-card-flip .card-flip-face.is-text-prize small { font-size: 8px; }
@media (prefers-reduced-motion: reduce) {
  .lucky-section .is-readable-slot .lucky-wheel-prize { transition: none; }
}

/* Keep the currency compact so five-digit prizes fit on small phones. */
.aeei-card-flip .card-flip-face strong .card-flip-rand { font-size: .6em; letter-spacing: 0; }
.lucky-hero .hero-head strong { white-space: nowrap; overflow-wrap: normal; font-family: Arial, Helvetica, sans-serif; font-variant-numeric: tabular-nums; }
.lucky-hero .hero-head > div { flex-wrap: wrap; column-gap: 9px; row-gap: 2px; }
.aeei-card-flip .card-flip-face.is-text-prize .card-flip-seal { display: none; }
.aeei-card-flip .card-flip-face.is-text-prize strong { flex-shrink: 0; }
.aeei-card-flip .card-flip-face.is-text-prize small { letter-spacing: .015em; font-size: 7.5px; }
@media (max-width: 360px) {
  .aeei-card-flip .card-flip-face { gap: 4px; padding-block: 8px; }
  .lucky-section .lucky-wheel-prize-amount.is-text-prize { min-height: 52px; }
}

/* The reading direction follows each sector radius: currency inside, value outside. */
.lucky-section .lucky-wheel-prize-amount { flex-direction: row; }
.lucky-section .lucky-wheel-prize-amount.is-text-prize { width: 72px; max-width: 72px; min-height: 40px; max-height: 58px; flex: 0 0 auto; }
.lucky-notice .game-play-price, .aeei-card-flip .game-play-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; color: #f4fbff; background: #102d43; border: 1px solid #75a8c1; border-radius: 9px; }
.lucky-notice .game-play-price span, .aeei-card-flip .game-play-price span { color: #e4f4ff; font-size: 14px; line-height: 1.35; font-weight: 700; }
.lucky-notice .game-play-price strong, .aeei-card-flip .game-play-price strong { flex: 0 0 auto; max-width: 65%; color: #fff; font: 800 clamp(22px, 6vw, 28px)/1.35 Arial, Helvetica, sans-serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-align: right; }
.lucky-notice { display: block; padding: 12px; }
.lucky-notice p, .aeei-card-flip .card-flip-rules p { margin: 11px 0 0; color: #c8dce9; font-size: 12px; line-height: 1.65; }
.aeei-card-flip .card-flip-rules { margin: 0; }
/* The first text outcome has its own product art. This layer is inside the
   rotating disc, clipped to its 0–45 degree sector and below all labels. */
.lucky-section .lucky-wheel-phone-sector {
  position: absolute; z-index: 1; inset: 0; display: block; border-radius: 50%; overflow: hidden; pointer-events: none;
  clip-path: polygon(50% 50%, 50% 0%, 59.755% .961%, 69.134% 3.806%, 77.779% 8.427%, 85.355% 14.645%);
  background: linear-gradient(135deg, #234e6c, #081b2d);
}
.lucky-section .lucky-wheel-phone-image {
  position: absolute; left: 62.246%; top: 20.436%; width: 36%; height: 58%; display: block;
  background: url('/assets/byd/phone-prizes-20261028/iphone-18-pro-max.jpg') center 32% / cover no-repeat;
  transform: translate(-50%, -50%) rotate(22.5deg); pointer-events: none;
}
.lucky-section .lucky-wheel-slot.is-phone-prize-slot { left: 59.567%; top: 26.903%; }
.lucky-section .is-phone-prize-slot .lucky-wheel-prize-amount.is-text-prize {
  width: 66px; max-width: 66px; color: #fff; background: #04182cdb; border-color: #9dd9ee;
  font-size: clamp(10px, 3vw, 12px); text-shadow: 0 1px 3px #000; box-shadow: 0 2px 5px #0008;
}
/* Only an open front face receives this class: covered cards keep identical
   backs and do not disclose the text prize's position during selection. */
.aeei-card-flip .card-flip-face.is-phone-prize {
  justify-content: flex-end; gap: 3px; padding: 8px 5px 12px;
  background: linear-gradient(transparent 38%, #03101a16 54%, #03101ae8 100%), url('/assets/byd/phone-prizes-20261028/iphone-duo.jpg') center 28% / cover no-repeat, #07192c;
}
.aeei-card-flip .card-flip-face.is-phone-prize strong {
  position: relative; z-index: 1; max-height: 45%; width: 100%; padding: 5px 3px; color: #fff;
  background: #041321d9; border-color: #9bc5d8; font-size: clamp(10px, 3.2vw, 14px); line-height: 1.15;
}
.aeei-card-flip .card-flip-face.is-phone-prize small { position: relative; z-index: 1; color: #e8f7ff; }
@media (max-width: 360px) {
  .lucky-section .lucky-wheel-prize-amount.is-text-prize { width: 66px; max-width: 66px; min-height: 40px; padding: 4px; }
  .lucky-notice .game-play-price, .aeei-card-flip .game-play-price { padding: 12px 10px; gap: 9px; }
}
