/* ========== 抽獎圓盤隔離樣式 - 6等份 / 粉白配色 + 橙色中心按鈕 ========== */
.disc-wheel-container {
  isolation: isolate;
  contain: content;
  background-color: #f0f0f0;
  font-family: 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  touch-action: pan-y;
  width: 100%;
  display: block;
  box-sizing: border-box;
  position: relative;
}

.disc-wheel-container * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.disc-wheel-container {
  touch-action: manipulation;
}

.disc-wheel-container {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* ========== 主標題樣式 ========== */
.disc-wheel-container .game-title {
  font-size: 42px;
  font-weight: bold;
  color: #e63946 !important;
  margin-top: 20px !important;
  margin-bottom: 30px !important;
  position: relative !important;
  z-index: 50 !important;
  text-align: center !important;
  text-shadow: 
    0 0 15px #FFD700,
    0 0 25px #FFD700,
    0 0 35px #FFD700,
    0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0 15px !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100% !important;
  display: block !important;
  line-height: 1.2;
  visibility: visible !important;
  opacity: 1 !important;
  animation: titlePulse 2s infinite alternate ease-in-out;
}

@keyframes titlePulse {
  0% {
    text-shadow: 
      0 0 15px #FFD700,
      0 0 25px #FFD700,
      0 0 35px #FFD700,
      0 2px 4px rgba(0, 0, 0, 0.1);
    transform: scale(1);
  }
  100% {
    text-shadow: 
      0 0 20px #FFD700,
      0 0 30px #FFD700,
      0 0 40px #FFD700,
      0 2px 4px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
  }
}

/* ========== 一鍵生成海報按鈕 ========== */
.disc-wheel-container .generate-poster-btn {
  background: linear-gradient(145deg, #FFD700, #FFA500);
  color: white;
  border: none;
  font-weight: bold;
  font-size: 18px;
  padding: 14px 30px;
  border-radius: 12px;
  box-shadow: 
    0 6px 12px rgba(255, 215, 0, 0.4),
    0 0 15px rgba(255, 215, 0, 0.6);
  max-width: 300px;
  width: 100%;
  margin-top: 15px;
  margin-bottom: 15px;
  display: none;
  animation: posterBtnPulse 2s infinite alternate;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.disc-wheel-container .generate-poster-btn:hover {
  background: linear-gradient(145deg, #FFA500, #FF8C00);
  transform: translateY(-3px);
  box-shadow: 
    0 8px 16px rgba(255, 215, 0, 0.5),
    0 0 20px rgba(255, 215, 0, 0.8);
}

@keyframes posterBtnPulse {
  0% {
    box-shadow: 
      0 6px 12px rgba(255, 215, 0, 0.4),
      0 0 15px rgba(255, 215, 0, 0.6);
  }
  100% {
    box-shadow: 
      0 8px 16px rgba(255, 215, 0, 0.6),
      0 0 25px rgba(255, 215, 0, 0.9);
  }
}

/* ========== 遊戲主容器 ========== */
.disc-wheel-container .game-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.disc-wheel-container .lottery-container {
  width: 100%;
  max-width: 450px;
  margin: 10px auto 20px;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.disc-wheel-container .lottery-box {
  position: relative;
  width: 100%;
  padding-top: 100%;
  height: 0;
  overflow: visible;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
}

/* 抽獎輪盤 - 6等份 / 粉白配色 (扇形維持粉色，完全不動) */
.disc-wheel-container .lottery-wheel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: rotate(0deg);
  border: 4px solid #ffd700;
  background: conic-gradient(
    #FFB6C1 0deg 60deg,
    #ffffff 60deg 120deg,
    #FFB6C1 120deg 180deg,
    #ffffff 180deg 240deg,
    #FFB6C1 240deg 300deg,
    #ffffff 300deg 360deg
  );
  overflow: hidden;
  z-index: 1;
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.15),
    0 0 0 4px rgba(255, 215, 0, 0.2),
    0 0 20px rgba(255, 215, 0, 0.3),
    inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.disc-wheel-container .lottery-text-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 2;
  transition: transform 6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: rotate(0deg);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
}

.disc-wheel-container .lottery-text {
  position: absolute;
  font-size: 52px;
  writing-mode: vertical-lr;
  text-orientation: upright;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: auto;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.disc-wheel-container .lottery-text.win-glow {
  animation: fruitGlow 1.5s infinite alternate;
  text-shadow: 
    0 0 10px #ffd700,
    0 0 20px #ffd700,
    0 0 30px #ffd700,
    0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 3;
  transform: scale(1.1);
}

@keyframes fruitGlow {
  from {
    text-shadow: 
      0 0 10px #ffd700,
      0 0 20px #ffd700,
      0 0 30px #ffd700,
      0 2px 4px rgba(0, 0, 0, 0.1);
  }
  to {
    text-shadow: 
      0 0 15px #ffd700,
      0 0 25px #ffd700,
      0 0 35px #ffd700,
      0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

.disc-wheel-container .lottery-pointer-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
  text-align: center;
  width: 100%;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.disc-wheel-container .lottery-pointer {
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 55px solid #FFD700;
  margin: 0 auto;
  position: relative;
  transform: translateY(-30%);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.disc-wheel-container .lottery-pointer::before {
  content: '';
  position: absolute;
  top: -55px;
  left: -35px;
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 55px solid rgba(255, 255, 255, 0.3);
  z-index: -1;
  filter: blur(4px);
}

.disc-wheel-container .lottery-pointer::after {
  content: '';
  position: absolute;
  top: -45px;
  left: -15px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 25px solid #FFA500;
  z-index: 1;
}

/* 抽獎按鈕 - 亮橙色 (只改這裡) */
.disc-wheel-container .lottery-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28%;
  height: 28%;
  min-width: 90px;
  min-height: 90px;
  border-radius: 50%;
  background: #FF8C00;
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.3), 
    0 0 0 3px rgba(255, 255, 224, 0.5),
    0 0 15px rgba(255, 255, 224, 0.8),
    inset 0 1px 0 rgba(255, 255, 224, 0.2);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.disc-wheel-container .lottery-btn:hover {
  background: #FF7A00;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.4), 
    0 0 0 4px rgba(255, 255, 224, 0.6),
    0 0 20px rgba(255, 255, 224, 0.9),
    inset 0 1px 0 rgba(255, 255, 224, 0.2);
  transform: translate(-50%, -50%) scale(1.05);
}

.disc-wheel-container .lottery-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: translate(-50%, -50%) scale(0.95);
}

.disc-wheel-container .win-notification {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 12px;
  background: linear-gradient(145deg, #fff9c4, #ffeb3b);
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #e63946;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
  display: none;
  border: 3px solid #ffd600;
  max-width: 550px;
  width: 90%;
  z-index: 1;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

/* ========== 主按鈕容器 ========== */
.disc-wheel-container .btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.disc-wheel-container .btn-row {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.disc-wheel-container .game-btn {
  padding: 12px 20px; 
  border: none; 
  border-radius: 8px; 
  font-size: 16px; 
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-align: center;
  font-weight: bold;
}

.disc-wheel-container .game-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.disc-wheel-container .game-btn:active {
  transform: translateY(0);
}

.disc-wheel-container #prizeBtn {
  background: linear-gradient(to right, #FF7A00, #FF5722);
  color: #fff;
  border: none;
  font-weight: bold;
  font-size: 18px;
  padding: 14px 30px;
  box-shadow: 0 6px 12px rgba(255, 122, 0, 0.3);
  max-width: 300px;
  width: 100%;
}

.disc-wheel-container #prizeBtn:hover {
  background: linear-gradient(to right, #FF5722, #E64A19);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(255, 122, 0, 0.4);
}

.disc-wheel-container #prizeSettingBtn {
  background: #2a9d8f;
  color: #fff;
}

.disc-wheel-container #prizeSettingBtn:hover {
  background: #21867a;
}

.disc-wheel-container #storeInfoBtn {
  background: #9d4edd;
  color: #fff;
}

.disc-wheel-container #storeInfoBtn:hover {
  background: #7b2cbf;
}

/* ========== 店家資訊容器 ========== */
.disc-wheel-container .store-info-container {
  width: 100%;
  padding: 20px;
  background: white;
  border-top: 0px solid #FF7A00;
}

.disc-wheel-container .store-info-display {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 3px solid #FF7A00;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.disc-wheel-container .store-info-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.disc-wheel-container .store-info-header h2 {
  font-size: 28px;
  font-weight: bold;
  color: #FF7A00;
  margin-bottom: 8px;
}

.disc-wheel-container .store-info-header p {
  font-size: 16px;
  color: #666;
}

.disc-wheel-container .store-info-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.disc-wheel-container .store-info-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0;
  gap: 20px;
  width: 100%;
}

.disc-wheel-container .store-info-label-display {
  font-size: 17px;
  font-weight: bold;
  color: #FF7A00;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
  flex-shrink: 0;
  text-align: left;
}

.disc-wheel-container .store-info-value-display {
  font-size: 17px;
  color: #2c3e50;
  line-height: 1.6;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  flex: 1;
  min-height: 55px;
  word-break: break-word;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  text-align: left;
}

.disc-wheel-container .store-info-value-display:hover {
  border-color: #FF7A00;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
  background: white;
}

.disc-wheel-container .store-setting-container {
  width: 100%;
  max-width: 800px;
  margin: 30px auto 20px;
  padding: 0 20px;
}

.disc-wheel-container .store-setting-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.disc-wheel-container .store-setting-btn {
  min-width: 180px;
  padding: 14px 25px;
  font-size: 16px;
  font-weight: bold;
}

/* ========== 彈窗樣式 ========== */
.disc-wheel-modal-backdrop {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.85) !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 999999 !important;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.disc-wheel-modal-content {
  position: relative !important;
  background: white;
  padding: 30px !important;
  border-radius: 20px !important;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: popup 0.4s ease;
  z-index: 999999 !important;
  max-width: 500px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  margin: auto;
  border: 3px solid #FF7A00;
}

@keyframes popup {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ========== 海報模態框 ========== */
#posterModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 1000000;
    padding: 20px;
    box-sizing: border-box;
}

#posterModal.show {
    display: flex !important;
}

#posterModal .disc-wheel-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    border: 8px solid #FFD700;
    animation: popup 0.3s ease;
    padding: 20px !important;
}

.poster-container {
    padding: 20px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 12px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.screenshot-section {
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 15px;
    border: 3px solid #FFD700;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.win-screenshot-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 10px;
    margin: 0 auto;
}

.win-screenshot {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
}

.poster-btn {
    padding: 12px 24px;
    font-size: 16px;
    margin: 10px;
}

.poster-buttons-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px dashed #FF7A00;
    position: relative;
    z-index: 1000001;
}

/* ========== 中獎彈窗樣式 ========== */
#winModal .disc-wheel-modal-content {
  background: linear-gradient(145deg, #fff9c4, #ffeb3b) !important;
  padding: 35px !important;
  border-radius: 25px !important;
  max-width: 500px !important;
  width: 90% !important;
  text-align: center;
  box-shadow: 0 25px 60px rgba(255, 235, 59, 0.6);
  animation: winPopup 0.5s ease-out !important;
  border: 8px solid #ffd600 !important;
}

@keyframes winPopup {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.win-emoji {
  font-size: 80px !important;
  margin-bottom: 20px !important;
  display: block;
  animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-15px); }
}

.win-title {
  font-size: 32px !important;
  color: #e63946 !important;
  margin-bottom: 15px !important;
  font-weight: bold !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.win-details {
  font-size: 20px !important;
  color: #2c3e50 !important;
  margin-bottom: 15px !important;
  line-height: 1.4;
}

.win-gold {
  font-size: 36px !important;
  color: #e63946 !important;
  font-weight: bold !important;
  margin: 10px 0 !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.win-btn {
  background: linear-gradient(to right, #3498db, #2980b9) !important;
  color: white !important;
  border: none !important;
  padding: 15px 35px !important;
  border-radius: 25px !important;
  cursor: pointer !important;
  font-weight: bold !important;
  font-size: 18px !important;
  transition: all 0.3s !important;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4) !important;
  margin-top: 15px !important;
  display: inline-block;
}

.win-btn:hover {
  background: linear-gradient(to right, #3498db, #1abc9c) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.5) !important;
}

/* ========== 沒中獎彈窗樣式 ========== */
#loseModal .disc-wheel-modal-content {
  background: linear-gradient(145deg, #e0e0e0, #b0b0b0) !important;
  padding: 35px !important;
  border-radius: 25px !important;
  max-width: 500px !important;
  width: 90% !important;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: losePopup 0.5s ease-out !important;
  border: 8px solid #777 !important;
}

@keyframes losePopup {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.lose-emoji {
  font-size: 100px !important;
  margin-bottom: 20px !important;
  animation: shake 1s infinite alternate !important;
}

@keyframes shake {
  from { transform: rotate(-10deg); }
  to { transform: rotate(10deg); }
}

.lose-title {
  font-size: 32px !important;
  color: #333 !important;
  margin-bottom: 15px !important;
  font-weight: bold !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.lose-details {
  font-size: 22px !important;
  color: #555 !important;
  margin-bottom: 15px !important;
}

.lose-text {
  font-size: 38px !important;
  color: #333 !important;
  font-weight: bold !important;
  margin: 10px 0 !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* ========== 再來一次彈窗樣式 ========== */
#retryModal .disc-wheel-modal-content {
  background: linear-gradient(145deg, #c8e6c9, #81c784) !important;
  padding: 35px !important;
  border-radius: 25px !important;
  max-width: 500px !important;
  width: 90% !important;
  text-align: center;
  box-shadow: 0 25px 60px rgba(129, 199, 132, 0.6);
  animation: retryPopup 0.5s ease-out !important;
  border: 8px solid #4caf50 !important;
  position: relative !important;
  display: block !important;
  z-index: 1000000 !important;
}

@keyframes retryPopup {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

#retryModal .retry-emoji {
  font-size: 80px !important;
  margin-bottom: 20px !important;
  display: block !important;
  animation: spin 2s infinite linear !important;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#retryModal .retry-title {
  font-size: 32px !important;
  color: #2e7d32 !important;
  margin-bottom: 15px !important;
  font-weight: bold !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  display: block !important;
}

#retryModal .retry-details {
  font-size: 20px !important;
  color: #1b5e20 !important;
  margin-bottom: 15px !important;
  display: block !important;
}

#retryModal .retry-text {
  font-size: 36px !important;
  color: #2e7d32 !important;
  font-weight: bold !important;
  margin: 10px 0 !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  display: block !important;
}

/* ========== 海報預覽樣式 ========== */
.poster-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px dashed #FF7A00;
  width: 100%;
}

.poster-title {
  font-size: 36px !important;
  font-weight: bold !important;
  color: #e63946 !important;
  margin-bottom: 10px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  word-wrap: break-word;
}

.poster-subtitle {
  font-size: 20px !important;
  color: #FF7A00 !important;
  font-weight: bold !important;
  word-wrap: break-word;
}

.poster-content {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 3px solid #FF7A00;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.prize-display {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
  background: linear-gradient(145deg, #fff9c4, #ffeb3b);
  border-radius: 15px;
  border: 5px solid #FFD700;
  width: 100%;
  box-sizing: border-box;
}

.prize-icon-large {
  font-size: 80px !important;
  display: block;
  margin-bottom: 15px !important;
}

.prize-text-large {
  font-size: 28px !important;
  font-weight: bold !important;
  color: #e63946 !important;
  margin-bottom: 10px !important;
  word-wrap: break-word;
}

.screenshot-title {
  font-size: 24px !important;
  color: #FF7A00 !important;
  margin-bottom: 15px !important;
  font-weight: bold !important;
  word-wrap: break-word;
  text-align: center;
}

.store-info-poster {
  text-align: left;
  background: white;
  padding: 15px;
  border-radius: 15px;
  border: 2px solid #FF7A00;
  box-shadow: 0 8px 16px rgba(255, 122, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.store-info-item-poster {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s;
  flex-wrap: wrap;
}

.store-info-item-poster:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.store-info-label-poster {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #FF7A00 !important;
  min-width: 100px;
  flex-shrink: 0;
  word-wrap: break-word;
}

.store-info-value-poster {
  font-size: 16px !important;
  color: #2c3e50 !important;
  flex: 1;
  padding: 6px 10px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  word-wrap: break-word;
  min-width: 200px;
}

.poster-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 2px dashed #FF7A00;
  color: #666;
  font-size: 14px;
}

/* ========== 海報按鈕 ========== */
.poster-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.poster-btn {
  padding: 14px 25px !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 18px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2) !important;
  flex: 1;
  max-width: 250px;
}

.poster-btn-download {
  background: linear-gradient(145deg, #4CAF50, #2E7D32) !important;
  color: white !important;
}

.poster-btn-download:hover {
  background: linear-gradient(145deg, #2E7D32, #1B5E20) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3) !important;
}

.poster-btn-close {
  background: linear-gradient(145deg, #f44336, #c62828) !important;
  color: white !important;
}

.poster-btn-close:hover {
  background: linear-gradient(145deg, #c62828, #b71c1c) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 10px 20px rgba(198, 40, 40, 0.3) !important;
}

/* ========== 獎項說明彈窗 ========== */
#prizeModal .disc-wheel-modal-content {
  max-width: 95%;
  width: 500px !important;
  padding: 30px !important;
  max-height: 80vh;
  overflow-y: auto;
  border: 3px solid #FF7A00 !important;
  text-align: left !important;
}

.prize-modal-title {
  font-size: 26px !important;
  color: #e63946 !important;
  font-weight: bold !important;
  margin-bottom: 25px !important;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px !important;
  text-align: center;
}

.prize-list {
  display: flex;
  flex-direction: column;
  gap: 15px !important;
  margin-bottom: 25px !important;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 5px;
}

.prize-item {
  display: flex;
  align-items: center;
  gap: 20px !important;
  padding: 18px 20px !important;
  border-radius: 12px !important;
  transition: all 0.3s !important;
  text-align: left;
  min-height: 70px !important;
  background: #f8f9fa !important;
  border: 2px solid transparent !important;
}

.prize-item:hover {
  background: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08) !important;
  border-color: #FF7A00 !important;
}

.prize-icon {
  font-size: 40px !important;
  width: 70px !important;
  text-align: center;
  font-weight: bold !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.prize-desc {
  color: #333 !important;
  font-weight: 600 !important;
  flex: 1;
  font-size: 18px !important;
  line-height: 1.5 !important;
  word-break: break-word;
  display: flex;
  align-items: center;
  padding: 5px 0;
}

#prizeModal .modal-close {
  padding: 12px 30px !important;
  border: none !important;
  border-radius: 8px !important;
  background: #e63946 !important;
  color: white !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  font-weight: bold !important;
  margin-top: 10px !important;
  box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3) !important;
  width: 100%;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

#prizeModal .modal-close:hover {
  background: #d62828 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(230, 57, 70, 0.4) !important;
}

/* ========== 獎項設定彈窗 ========== */
#prizeSettingModal .disc-wheel-modal-content {
  max-width: 95%;
  width: 550px !important;
  padding: 30px !important;
  max-height: 85vh;
  overflow-y: auto;
  border: 3px solid #2a9d8f !important;
  text-align: left !important;
}

.prize-input-modal-title {
  font-size: 26px !important;
  color: #e63946 !important;
  font-weight: bold !important;
  margin-bottom: 20px !important;
  text-align: center;
}

.prize-input-instruction {
  font-size: 15px !important;
  color: #666 !important;
  margin-bottom: 25px !important;
  text-align: center;
  line-height: 1.5 !important;
  padding: 15px !important;
  background: #f8f9fa !important;
  border-radius: 8px !important;
  border: 1px solid #e0e0e0 !important;
}

.prize-input-instruction span {
  color: #e74c3c !important;
  font-weight: bold !important;
  font-size: 14px !important;
}

.prize-input-grid {
  display: flex;
  flex-direction: column;
  gap: 16px !important;
  margin-bottom: 25px !important;
  width: 100%;
  box-sizing: border-box;
}

.prize-input-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.prize-input-row {
  display: flex;
  align-items: center;
  gap: 15px !important;
  margin-bottom: 8px !important;
  width: 100%;
}

.prize-input-icon {
  font-size: 36px !important;
  width: 50px !important;
  text-align: center;
  flex-shrink: 0;
}

.prize-input {
  padding: 12px 16px !important;
  border: 2px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  transition: border-color 0.3s;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  flex: 1;
}

.prize-input:focus {
  border-color: #2a9d8f !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.2) !important;
}

.prize-input.locked {
  background-color: #f5f5f5 !important;
  border-color: #ccc !important;
  color: #888 !important;
  cursor: not-allowed !important;
}

.prize-input-char-count {
  font-size: 13px !important;
  color: #999 !important;
  margin-top: 6px !important;
  text-align: right;
  width: 100%;
}

.prize-input-buttons {
  display: flex;
  justify-content: center;
  gap: 15px !important;
  margin-top: 25px !important;
}

.prize-input-submit,
.prize-input-cancel {
  padding: 14px 30px !important;
  border: none !important;
  border-radius: 8px !important;
  color: white !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  font-weight: bold !important;
  flex: 1;
  max-width: 180px !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.prize-input-submit {
  background: linear-gradient(to right, #2a9d8f, #21867a) !important;
}

.prize-input-submit:hover {
  background: linear-gradient(to right, #21867a, #1a7368) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(42, 157, 143, 0.4) !important;
}

.prize-input-cancel {
  background: linear-gradient(to right, #95a5a6, #7f8c8d) !important;
}

.prize-input-cancel:hover {
  background: linear-gradient(to right, #7f8c8d, #6c7b7c) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(149, 165, 166, 0.4) !important;
}

/* ========== 店家資訊彈窗 ========== */
#storeInfoModal .disc-wheel-modal-content {
  max-width: 95%;
  width: 550px !important;
  padding: 30px !important;
  max-height: 85vh;
  overflow-y: auto;
  border: 3px solid #9d4edd !important;
  text-align: left !important;
}

.store-info-modal-title {
  font-size: 26px !important;
  color: #e63946 !important;
  font-weight: bold !important;
  margin-bottom: 20px !important;
  text-align: center;
}

.store-info-grid {
  display: flex;
  flex-direction: column;
  gap: 20px !important;
  margin-bottom: 25px !important;
}

.store-info-item {
  display: flex;
  flex-direction: column;
}

.store-info-label {
  margin-bottom: 8px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  color: #333 !important;
  display: flex;
  align-items: center;
  text-align: left;
}

.store-info-label i {
  margin-right: 10px !important;
  color: #9d4edd !important;
  font-size: 18px !important;
}

.store-info-input {
  padding: 12px 16px !important;
  border: 2px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  transition: border-color 0.3s !important;
  width: 100%;
  text-align: left;
}

.store-info-input:focus {
  border-color: #9d4edd !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.2) !important;
}

.store-info-char-count {
  font-size: 13px !important;
  color: #999 !important;
  margin-top: 6px !important;
  text-align: right;
}

.store-info-buttons {
  display: flex;
  justify-content: center;
  gap: 15px !important;
  margin-top: 20px !important;
}

.store-info-save,
.store-info-cancel {
  padding: 14px 30px !important;
  border: none !important;
  border-radius: 8px !important;
  color: white !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  font-weight: bold !important;
  flex: 1;
  max-width: 180px !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.store-info-save {
  background: linear-gradient(to right, #9d4edd, #7b2cbf) !important;
}

.store-info-save:hover {
  background: linear-gradient(to right, #7b2cbf, #6a27a8) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(157, 78, 221, 0.4) !important;
}

.store-info-cancel {
  background: linear-gradient(to right, #95a5a6, #7f8c8d) !important;
}

.store-info-cancel:hover {
  background: linear-gradient(to right, #7f8c8d, #6c7b7c) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(149, 165, 166, 0.4) !important;
}

/* 提醒彈窗 */
#reminderModal .disc-wheel-modal-content {
  max-width: 95%;
  width: 450px !important;
  padding: 30px !important;
  border: 3px solid #e67e22 !important;
  text-align: center !important;
}

.reminder-icon {
  font-size: 60px !important;
  margin-bottom: 20px !important;
  color: #e67e22 !important;
  display: block;
}

.reminder-text {
  font-size: 18px !important;
  margin-bottom: 25px !important;
  color: #333 !important;
  line-height: 1.5;
}

#reminderModal .modal-close {
  padding: 12px 30px !important;
  border: none !important;
  border-radius: 8px !important;
  background: #e67e22 !important;
  color: white !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  font-weight: bold !important;
  box-shadow: 0 4px 8px rgba(230, 126, 34, 0.3) !important;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

#reminderModal .modal-close:hover {
  background: #d35400 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(230, 126, 34, 0.4) !important;
}

/* ========== 返回頂部按鈕 ========== */
#backToTop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF7A00, #FF5722);
  color: white;
  border: none;
  box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 99996;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
}

#backToTop:hover {
  background: linear-gradient(135deg, #FF5722, #FF7A00);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.6);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ========== 平板豎屏修正 ========== */
@media (min-width: 481px) and (max-width: 768px) {
  .disc-wheel-container .lottery-text {
    font-size: 48px !important;
    width: 50px !important;
    z-index: 2 !important;
    position: absolute !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .disc-wheel-container .lottery-wheel {
    z-index: 1 !important;
  }
  
  .disc-wheel-container .lottery-text-wrapper {
    z-index: 2 !important;
  }
}

/* ========== 手機版專用修正 ========== */
@media (max-width: 480px) {
  #posterModal .disc-wheel-modal-content {
    width: 95% !important;
    max-width: 95% !important;
    padding: 15px !important;
    max-height: 90vh !important;
    margin: 10px !important;
  }

  .poster-container {
    padding: 15px !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .poster-header {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
  }

  .poster-title {
    font-size: 22px !important;
    line-height: 1.2 !important;
    margin-bottom: 5px !important;
  }

  .poster-subtitle {
    font-size: 16px !important;
  }

  .poster-content {
    padding: 15px !important;
    margin-bottom: 15px !important;
  }

  .prize-display {
    padding: 15px !important;
    margin-bottom: 15px !important;
  }

  .prize-icon-large {
    font-size: 50px !important;
    margin-bottom: 10px !important;
  }

  .prize-text-large {
    font-size: 18px !important;
    margin-bottom: 5px !important;
  }

  .screenshot-section {
    padding: 10px !important;
    margin: 10px 0 !important;
  }

  .screenshot-title {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .win-screenshot-container {
    padding: 5px !important;
  }

  .win-screenshot {
    max-width: 180px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .win-screenshot svg {
    width: 100% !important;
    height: auto !important;
  }

  .store-info-poster {
    padding: 10px !important;
  }

  .store-info-item-poster {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px !important;
    margin-bottom: 8px !important;
    gap: 5px;
  }

  .store-info-label-poster {
    min-width: auto !important;
    font-size: 14px !important;
    width: 100%;
  }

  .store-info-value-poster {
    font-size: 14px !important;
    min-width: auto !important;
    width: 100%;
    padding: 6px 10px !important;
  }

  .poster-buttons {
    flex-direction: row !important;
    gap: 10px !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }

  .poster-btn {
    padding: 12px 10px !important;
    font-size: 15px !important;
    min-width: 0 !important;
    width: 48% !important;
    max-width: 48% !important;
    flex: 1;
    white-space: nowrap;
  }

  .disc-wheel-container .store-setting-buttons {
    flex-direction: row !important;
    gap: 12px !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100%;
  }

  .disc-wheel-container .store-setting-btn {
    min-width: 0 !important;
    width: 48% !important;
    max-width: 48% !important;
    padding: 12px 10px !important;
    font-size: 15px !important;
    white-space: nowrap;
    flex: 1;
  }

  .prize-input-buttons,
  .store-info-buttons {
    flex-direction: row !important;
    gap: 12px !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }

  .prize-input-submit,
  .prize-input-cancel,
  .store-info-save,
  .store-info-cancel {
    max-width: 48% !important;
    width: 48% !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    white-space: nowrap;
  }
}

/* ========== 響應式調整 ========== */
@media (min-width: 769px) {
  .disc-wheel-container .game-title {
    font-size: 46px !important;
    margin-top: 25px !important;
    margin-bottom: 35px !important;
  }
  
  .disc-wheel-container .lottery-container {
    max-width: 500px;
  }
  
  .disc-wheel-container .lottery-btn {
    width: 30%;
    height: 30%;
    min-width: 110px;
    min-height: 110px;
    font-size: 22px;
  }
  
  .disc-wheel-container .lottery-text {
    font-size: 58px;
    width: 60px;
  }
  
  .disc-wheel-container .btn-container {
    max-width: 600px;
  }
  
  .disc-wheel-container .store-info-display {
    max-width: 900px;
  }
  
  .disc-wheel-container .store-setting-container {
    max-width: 900px;
  }
  
  .disc-wheel-container .lottery-pointer {
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-top: 70px solid #FFD700;
  }
  
  .disc-wheel-container .lottery-pointer::before {
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-top: 70px solid rgba(255, 255, 255, 0.3);
    top: -70px;
    left: -45px;
  }
  
  .disc-wheel-container .lottery-pointer::after {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #FFA500;
    top: -55px;
    left: -20px;
  }
  
  #backToTop {
    display: none !important;
  }
  
  .disc-wheel-container .store-info-header h2 {
    font-size: 32px;
  }
  
  .disc-wheel-container .store-info-label-display {
    min-width: 140px;
    font-size: 18px;
  }
  
  .disc-wheel-container .store-info-value-display {
    font-size: 18px;
    padding: 14px 18px;
    min-height: 60px;
  }
  
  .poster-container {
    padding: 40px;
  }
  
  .poster-title {
    font-size: 40px !important;
  }
  
  .prize-icon-large {
    font-size: 100px !important;
  }
  
  .prize-text-large {
    font-size: 36px !important;
  }
}

@media (max-width: 768px) {
  .disc-wheel-container .game-title {
    font-size: 36px !important;
    margin-top: 20px !important;
    margin-bottom: 25px !important;
    padding: 0 12px !important;
    line-height: 1.3 !important;
  }
  
  .disc-wheel-container .lottery-container {
    max-width: 350px;
    margin: 5px auto 15px;
  }
  
  .disc-wheel-container .lottery-btn {
    width: 32%;
    height: 32%;
    min-width: 80px;
    min-height: 80px;
    font-size: 18px;
  }
  
  .disc-wheel-container .lottery-text {
    font-size: 40px;
    width: 45px;
  }
  
  .disc-wheel-container .btn-container {
    gap: 10px;
  }
  
  .disc-wheel-container .game-btn {
    padding: 10px 15px;
    font-size: 14px;
    min-width: 130px;
    max-width: 180px;
  }
  
  .disc-wheel-container #prizeBtn {
    font-size: 16px;
    padding: 12px 20px;
  }
  
  .disc-wheel-container .btn-row {
    gap: 8px;
  }
  
  .disc-wheel-container .generate-poster-btn {
    font-size: 16px;
    padding: 12px 20px;
  }
  
  .disc-wheel-container .store-info-display {
    padding: 20px;
  }
  
  .disc-wheel-container .store-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 15px;
  }
  
  .disc-wheel-container .store-info-label-display {
    min-width: auto;
    font-size: 15px;
    width: 100%;
  }
  
  .disc-wheel-container .store-info-value-display {
    width: 100%;
    font-size: 15px;
    padding: 10px 12px;
    min-height: 48px;
  }
  
  .disc-wheel-container .store-info-header h2 {
    font-size: 24px;
  }
  
  .disc-wheel-container .win-notification {
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 10px;
    font-size: 16px;
    max-width: 95%;
  }
  
  .disc-wheel-modal-content {
    max-width: 95% !important;
    width: 95% !important;
    padding: 20px !important;
  }
  
  .win-emoji {
    font-size: 60px !important;
  }
  
  .win-title {
    font-size: 28px !important;
  }
  
  .win-details {
    font-size: 18px !important;
  }
  
  .win-gold {
    font-size: 30px !important;
  }
  
  .win-btn {
    padding: 12px 25px !important;
    font-size: 16px !important;
  }
  
  .lose-emoji {
    font-size: 80px !important;
  }
  
  .lose-title {
    font-size: 28px !important;
  }
  
  .lose-details {
    font-size: 20px !important;
  }
  
  .lose-text {
    font-size: 34px !important;
  }
  
  #retryModal .retry-emoji {
    font-size: 60px !important;
  }
  
  #retryModal .retry-title {
    font-size: 28px !important;
  }
  
  #retryModal .retry-details {
    font-size: 18px !important;
  }
  
  #retryModal .retry-text {
    font-size: 30px !important;
  }
  
  .poster-container {
    padding: 20px;
  }
  
  .poster-title {
    font-size: 28px !important;
  }
  
  .poster-subtitle {
    font-size: 18px !important;
  }
  
  .prize-icon-large {
    font-size: 60px !important;
  }
  
  .prize-text-large {
    font-size: 26px !important;
  }
  
  .prize-item {
    padding: 15px !important;
    min-height: 60px !important;
    gap: 15px !important;
  }
  
  .prize-icon {
    font-size: 32px !important;
    width: 50px !important;
  }
  
  .prize-desc {
    font-size: 16px !important;
  }
  
  #prizeModal .modal-close,
  #reminderModal .modal-close {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }
  
  .prize-input-icon {
    font-size: 28px !important;
    width: 45px !important;
  }
  
  .prize-input,
  .store-info-input {
    padding: 10px 14px !important;
    font-size: 14px !important;
  }
  
  .prize-input-instruction {
    font-size: 13px !important;
    padding: 12px !important;
  }
  
  .store-info-label {
    font-size: 14px !important;
  }
  
  #backToTop {
    display: flex !important;
  }
  
  @media (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
    .disc-wheel-container .lottery-container {
      max-width: 400px;
    }
    
    .disc-wheel-container .lottery-text {
      font-size: 48px !important;
      width: 50px !important;
      z-index: 2 !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
    
    .disc-wheel-container .lottery-btn {
      width: 28%;
      height: 28%;
      min-width: 95px;
      min-height: 95px;
      font-size: 20px;
    }
    
    .poster-container {
      padding: 25px;
    }
    
    .poster-title {
      font-size: 32px !important;
    }
    
    .prize-icon-large {
      font-size: 70px !important;
    }
    
    .prize-text-large {
      font-size: 28px !important;
    }
    
    .win-screenshot {
      max-width: 320px !important;
    }
  }
}

@media (max-width: 375px) {
  .disc-wheel-container .game-title {
    font-size: 30px !important;
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
    padding: 0 10px !important;
  }
  
  .disc-wheel-container .lottery-container {
    max-width: 320px;
  }
  
  .disc-wheel-container .btn-row {
    gap: 6px;
  }
  
  .disc-wheel-container .game-btn {
    padding: 8px 10px;
    font-size: 13px;
    min-width: 110px;
  }
  
  .disc-wheel-container #prizeBtn {
    font-size: 15px;
    padding: 10px 15px;
  }
  
  .disc-wheel-container .lottery-container {
    margin: 5px auto 10px;
  }
  
  .disc-wheel-container .lottery-text {
    font-size: 36px;
    width: 40px;
  }
  
  .disc-wheel-container .store-info-display {
    padding: 15px;
  }
  
  .disc-wheel-container .store-info-header h2 {
    font-size: 20px;
  }
  
  .disc-wheel-container .store-info-label-display {
    font-size: 14px;
  }
  
  .disc-wheel-container .store-info-value-display {
    font-size: 14px;
  }
  
  #backToTop {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 16px;
  }
  
  .win-emoji {
    font-size: 40px !important;
  }
  
  .lose-emoji {
    font-size: 60px !important;
  }
  
  #retryModal .retry-emoji {
    font-size: 40px !important;
  }
  
  .poster-title {
    font-size: 20px !important;
  }
  
  .prize-icon-large {
    font-size: 40px !important;
  }
  
  .prize-text-large {
    font-size: 18px !important;
  }
  
  .win-screenshot {
    max-width: 150px !important;
  }
}

/* 平板橫屏 */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .disc-wheel-container .lottery-container {
    max-width: 450px;
  }
  
  .disc-wheel-container .lottery-text {
    font-size: 52px;
    width: 55px;
  }
  
  .poster-container {
    padding: 30px;
  }
  
  .poster-title {
    font-size: 36px !important;
  }
  
  .prize-icon-large {
    font-size: 80px !important;
  }
  
  .prize-text-large {
    font-size: 30px !important;
  }
}