/* ============ 登入提示區域樣式 ============ */
.tiger-login-required-container {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    border: 3px solid #FF7A00;
    box-shadow: 0 15px 35px rgba(255, 122, 0, 0.2);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tiger-login-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.tiger-login-icon {
    font-size: 4rem;
    color: #FF7A00;
    margin-bottom: 10px;
    animation: tigerLoginPulse 2s ease-in-out infinite;
}

@keyframes tigerLoginPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.tiger-login-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #e63946;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.tiger-login-desc {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 600px;
}

.tiger-login-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;
}

.tiger-login-btn {
    padding: 16px 35px;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-align: center;
}

.tiger-btn-login {
    background: linear-gradient(145deg, #3498db, #2980b9);
    color: white;
}

.tiger-btn-login:hover {
    background: linear-gradient(145deg, #2980b9, #3498db);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.tiger-btn-register {
    background: linear-gradient(145deg, #FF7A00, #FF5722);
    color: white;
}

.tiger-btn-register:hover {
    background: linear-gradient(145deg, #FF5722, #FF7A00);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.4);
}

/* 平板設備響應式 */
@media (max-width: 768px) {
    .tiger-login-required-container {
        padding: 25px 20px;
        margin: 20px 10px;
        border-radius: 18px;
    }
    
    .tiger-login-icon {
        font-size: 3.5rem;
    }
    
    .tiger-login-title {
        font-size: 1.9rem;
    }
    
    .tiger-login-desc {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .tiger-login-buttons {
        gap: 15px;
        flex-direction: row; /* 確保按鈕並排 */
        justify-content: center;
        align-items: center;
    }
    
    .tiger-login-btn {
        padding: 14px 25px;
        font-size: 1.2rem;
        min-width: 160px;
        flex: 1;
        max-width: 220px;
    }
}

/* 手機設備響應式 */
@media (max-width: 480px) {
    .tiger-login-required-container {
        padding: 20px 15px;
        margin: 15px 8px;
        border-radius: 15px;
        border: 2px solid #FF7A00;
    }
    
    .tiger-login-icon {
        font-size: 3rem;
    }
    
    .tiger-login-title {
        font-size: 1.7rem;
        margin-bottom: 8px;
    }
    
    .tiger-login-desc {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .tiger-login-buttons {
        gap: 12px;
        flex-direction: row; /* 確保按鈕並排 */
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .tiger-login-btn {
        padding: 12px 20px;
        font-size: 1.1rem;
        min-width: 140px;
        flex: 1;
        max-width: 200px;
        border-radius: 12px;
        gap: 8px;
    }
}

/* 超小手機設備響應式 */
@media (max-width: 380px) {
    .tiger-login-required-container {
        padding: 18px 12px;
        margin: 12px 6px;
        border-radius: 12px;
    }
    
    .tiger-login-icon {
        font-size: 2.5rem;
    }
    
    .tiger-login-title {
        font-size: 1.5rem;
    }
    
    .tiger-login-desc {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .tiger-login-buttons {
        gap: 10px;
        flex-direction: row; /* 確保按鈕並排 */
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .tiger-login-btn {
        padding: 11px 18px;
        font-size: 1rem;
        min-width: 130px;
        flex: 1;
        max-width: 180px;
        border-radius: 10px;
    }
}

/* 確保在非常小的螢幕上按鈕仍然並排且不會換行 */
@media (max-width: 320px) {
    .tiger-login-buttons {
        flex-direction: row; /* 確保按鈕並排 */
        flex-wrap: nowrap; /* 禁止換行 */
        justify-content: space-between;
        gap: 8px;
    }
    
    .tiger-login-btn {
        padding: 10px 15px;
        font-size: 0.95rem;
        min-width: 120px;
        flex: 1;
    }
}

/* ============ 基本樣式 ============ */
.tiger-plugin-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.tiger-plugin-container {
    font-family: 'Noto Sans TC', sans-serif;
    overflow-x: hidden;
    background-color: #F9F9F9;
    color: #333333;
    padding: 20px;
}

/* ============ 標題金色光暈效果 ============ */
.tiger-game-title {
    font-size: 3rem;
    font-weight: bold;
    color: #e63946;
    text-align: center;
    margin: 20px 0;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2),
        2px 2px 4px rgba(0,0,0,0.1);
    animation: titleGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 10;
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(255, 215, 0, 0.4),
            0 0 20px rgba(255, 215, 0, 0.3),
            0 0 30px rgba(255, 215, 0, 0.2),
            2px 2px 4px rgba(0,0,0,0.1);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(255, 215, 0, 0.6),
            0 0 25px rgba(255, 215, 0, 0.5),
            0 0 35px rgba(255, 215, 0, 0.4),
            2px 2px 4px rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) {
    .tiger-game-title {
        font-size: 2.2rem;
        margin: 15px 0;
    }
}

/* ============ 遊戲容器 ============ */
.tiger-game-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* ============ 3x3老虎機樣式 ============ */
.tiger-slot-machine-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    border: 8px solid #FFD700;
    position: relative;
}

/* 添加第二層金色外框效果 */
.tiger-slot-machine-container::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 4px solid #FFD700;
    border-radius: 35px;
    pointer-events: none;
}

.tiger-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    width: 480px;
    height: 480px;
    aspect-ratio: 1 / 1;
}

.tiger-slot-cell {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    border: 4px solid #3498db;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px;
    box-shadow: 
        inset 0 0 15px rgba(0,0,0,0.1),
        0 8px 20px rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

/* 中獎格子的金色背景和脈動效果 */
.tiger-slot-cell.tiger-winning {
    background: linear-gradient(145deg, #fffacd, #ffeb3b);
    border-color: #FFD700;
    box-shadow: 
        inset 0 0 20px rgba(255, 215, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.7),
        0 10px 25px rgba(255, 215, 0, 0.4);
    animation: goldPulse 1s ease-in-out infinite alternate;
}

@keyframes goldPulse {
    0% {
        box-shadow: 
            inset 0 0 20px rgba(255, 215, 0, 0.5),
            0 0 30px rgba(255, 215, 0, 0.7),
            0 10px 25px rgba(255, 215, 0, 0.4);
    }
    100% {
        box-shadow: 
            inset 0 0 30px rgba(255, 215, 0, 0.8),
            0 0 50px rgba(255, 215, 0, 0.9),
            0 15px 35px rgba(255, 215, 0, 0.6);
    }
}

.tiger-slot-cell.tiger-spinning {
    background: linear-gradient(145deg, #e8f4fc, #d4e7f7);
}

.tiger-slot-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1);
    transition: transform 0.3s;
}

/* 手機端調整 - 確保格子保持正方形 */
@media (max-width: 768px) {
    .tiger-slot-machine-container {
        gap: 10px;
        padding: 20px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        aspect-ratio: 1 / 1;
        min-height: 0;
    }
    
    .tiger-slot-grid {
        width: 100%;
        height: 100%;
        max-width: 380px;
        max-height: 380px;
        gap: 12px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }
    
    .tiger-slot-cell {
        font-size: 50px;
        border-radius: 12px;
        border-width: 3px;
        aspect-ratio: 1 / 1;
    }
    
    .tiger-slot-machine-container::before {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-width: 3px;
        border-radius: 28px;
    }
}

@media (max-width: 480px) {
    .tiger-slot-machine-container {
        max-width: 380px;
        padding: 18px;
        aspect-ratio: 1 / 1;
    }
    
    .tiger-slot-grid {
        width: 100%;
        height: 100%;
        max-width: 340px;
        max-height: 340px;
        gap: 10px;
        aspect-ratio: 1 / 1;
    }
    
    .tiger-slot-cell {
        font-size: 45px;
        border-radius: 10px;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 380px) {
    .tiger-slot-machine-container {
        max-width: 360px;
        aspect-ratio: 1 / 1;
    }
    
    .tiger-slot-grid {
        width: 100%;
        height: 100%;
        max-width: 320px;
        max-height: 320px;
        gap: 8px;
        aspect-ratio: 1 / 1;
    }
    
    .tiger-slot-cell {
        font-size: 42px;
        aspect-ratio: 1 / 1;
    }
}

/* ============ 遊戲結果訊息 ============ */
.tiger-game-result {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    border-radius: 12px;
    background: #f8f9fa;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 1;
    max-height: 100px;
    overflow: hidden;
}

.tiger-game-result.tiger-hidden {
    opacity: 0;
    max-height: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: none;
}

/* ============ 兼容原始類名 - 遊戲結果 ============ */
.win-result, .tiger-win-result {
    color: #2a9d8f;
    background: linear-gradient(145deg, #d4edda, #c3e6cb) !important;
    border: 3px solid #2a9d8f !important;
}

.lose-result, .tiger-lose-result {
    color: #e63946;
    background: linear-gradient(145deg, #f8d7da, #f5c6cb) !important;
    border: 3px solid #e63946 !important;
}

/* ============ 一鍵生成海報按鈕 ============ */
.tiger-poster-btn {
    display: none; /* 初始隱藏 */
    padding: 18px 45px;
    font-size: 1.5rem;
    font-weight: 900;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    background: linear-gradient(145deg, #FFD700, #FFA500);
    color: white;
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    min-width: 280px;
    margin: 15px auto;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: tigerPosterGlow 2s ease-in-out infinite alternate;
}

.tiger-poster-btn::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.4), rgba(255, 165, 0, 0.2));
    border-radius: 35px;
    z-index: -1;
    animation: tigerPosterGlowBorder 2s ease-in-out infinite alternate;
}

.tiger-poster-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.6);
    background: linear-gradient(145deg, #FFA500, #FFD700);
}

.tiger-poster-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.tiger-poster-btn i {
    margin-right: 12px;
    font-size: 1.6rem;
}

@keyframes tigerPosterGlow {
    0% {
        box-shadow: 
            0 8px 25px rgba(255, 215, 0, 0.6),
            0 0 30px rgba(255, 215, 0, 0.4);
        background: linear-gradient(145deg, #FFD700, #FFA500);
    }
    100% {
        box-shadow: 
            0 12px 30px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.6),
            0 0 50px rgba(255, 215, 0, 0.4);
        background: linear-gradient(145deg, #FFA500, #FFD700);
    }
}

@keyframes tigerPosterGlowBorder {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .tiger-poster-btn {
        padding: 16px 35px;
        font-size: 1.4rem;
        min-width: 250px;
        margin: 12px auto;
    }
    
    .tiger-poster-btn i {
        font-size: 1.5rem;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .tiger-poster-btn {
        padding: 14px 25px;
        font-size: 1.3rem;
        min-width: 220px;
        margin: 10px auto;
        border-radius: 20px;
    }
    
    .tiger-poster-btn::before {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-radius: 28px;
    }
}

/* ============ 遊戲控制按鈕容器 ============ */
.tiger-game-controls-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

/* ============ 主要遊戲按鈕 ============ */
.tiger-main-game-btn {
    padding: 15px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(145deg, #e63946, #d62828);
    color: white;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    min-width: 250px;
}

.tiger-main-game-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.6);
}

.tiger-main-game-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

/* ============ 遊戲控制按鈕組 ============ */
.tiger-game-controls {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 850px;
    justify-content: center;
    flex-wrap: nowrap;
}

/* 遊戲規則、獎項說明、歸零計算按鈕 */
.tiger-game-controls .tiger-game-btn {
    flex: 1;
    max-width: 275px;
    padding: 18px 24px;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    height: auto;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 遊戲規則按鈕 - 藍色 */
.tiger-rules-btn {
    background: linear-gradient(145deg, #3498db, #2980b9) !important;
}

.tiger-rules-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #2980b9, #3498db) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.5);
}

/* 獎項說明按鈕 - 深藍色 */
.tiger-prize-btn {
    background: linear-gradient(145deg, #457b9d, #1d3557);
}

.tiger-prize-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #1d3557, #457b9d);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(69, 123, 157, 0.5);
}

/* 歸零計算按鈕 - 橙色 */
.tiger-reset-btn {
    background: linear-gradient(145deg, #FF7A00, #FF5722);
}

.tiger-reset-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #FF5722, #FF7A00);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 122, 0, 0.5);
}

.tiger-game-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.tiger-game-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .tiger-game-controls {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        gap: 15px;
        padding: 0 10px;
    }
    
    .tiger-game-controls .tiger-game-btn {
        padding: 18px 12px;
        font-size: 1.4rem;
        max-width: 33.333%;
        min-height: 65px;
    }
}

@media (max-width: 480px) {
    .tiger-game-controls .tiger-game-btn {
        padding: 16px 10px;
        font-size: 1.3rem;
        min-height: 60px;
    }
}

/* ============ 店家設定和獎項設定按鈕組 ============ */
.tiger-store-prize-buttons {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    justify-content: center;
    margin: 20px auto;
}

.tiger-store-prize-buttons .tiger-game-btn {
    flex: 1;
    max-width: 200px;
    padding: 15px 20px;
    font-size: 1.3rem;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

/* 店家設定按鈕顏色 - 紫色 */
.tiger-store-info-btn {
    background: linear-gradient(145deg, #9d4edd, #7b2cbf) !important;
}

.tiger-store-info-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #7b2cbf, #9d4edd) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(157, 78, 221, 0.5);
}

/* 獎項設定按鈕顏色（橙色） */
.tiger-prize-setting-btn {
    background: linear-gradient(145deg, #FF7A00, #FF5722) !important;
}

.tiger-prize-setting-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #FF5722, #FF7A00) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 122, 0, 0.5);
}

@media (max-width: 768px) {
    .tiger-store-prize-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        gap: 10px;
        padding: 0 10px;
    }
    
    .tiger-store-prize-buttons .tiger-game-btn {
        padding: 12px 8px;
        font-size: 1.1rem;
        max-width: 48%;
    }
}

/* ============ 遊戲統計 - 橫向長方形 ============ */
.tiger-game-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
    flex-wrap: wrap;
    width: 100%;
}

.tiger-stat-item {
    text-align: center;
    background: white;
    padding: 12px 8px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 90px;
    width: 112px;
    height: 90px;
    border: 3px solid #FF7A00;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.tiger-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
    border-color: #FF5722;
}

.tiger-stat-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #FF7A00;
    margin-bottom: 5px;
    line-height: 1;
}

.tiger-stat-label {
    font-size: 1rem;
    color: #666;
    margin-top: 0;
    text-align: center;
    line-height: 1.2;
    padding: 0 5px;
}

/* 手機端：統計次數調整 */
@media (max-width: 768px) {
    .tiger-game-stats {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: auto;
        max-width: 100%;
        margin: 20px auto;
        padding: 0 10px;
        flex-wrap: nowrap;
    }
    
    .tiger-game-stats .tiger-stat-item {
        width: 85px;
        height: 68px;
        padding: 8px 4px;
        margin: 0;
        min-width: 0;
        flex-shrink: 0;
    }
    
    .tiger-game-stats .tiger-stat-value {
        font-size: 1.8rem;
        margin-bottom: 3px;
        line-height: 1;
    }
    
    .tiger-game-stats .tiger-stat-label {
        font-size: 0.85rem;
        margin-top: 0;
        text-align: center;
        line-height: 1.1;
        padding: 0 3px;
    }
}

@media (max-width: 480px) {
    .tiger-game-stats {
        gap: 6px;
        max-width: 100%;
        padding: 0 8px;
    }
    
    .tiger-game-stats .tiger-stat-item {
        width: 81px;
        height: 65px;
        padding: 7px 3px;
    }
    
    .tiger-game-stats .tiger-stat-value {
        font-size: 1.6rem;
    }
    
    .tiger-game-stats .tiger-stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 380px) {
    .tiger-game-stats {
        gap: 5px;
        padding: 0 5px;
    }
    
    .tiger-game-stats .tiger-stat-item {
        width: 78px;
        height: 62px;
        padding: 6px 2px;
    }
    
    .tiger-game-stats .tiger-stat-value {
        font-size: 1.5rem;
    }
    
    .tiger-game-stats .tiger-stat-label {
        font-size: 0.75rem;
    }
}

/* ============ 店家資訊展示區域 ============ */
.tiger-store-info-display {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    margin: 30px auto;
    max-width: 800px;
    width: 100%;
    border: 3px solid #FF7A00;
}

.tiger-store-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
    width: 100%;
}

.tiger-store-info-label-display {
    font-weight: bold;
    color: #FF7A00;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    flex-shrink: 0;
}

.tiger-store-info-value-display {
    flex: 1;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    word-break: break-word;
    transition: all 0.3s;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.tiger-store-info-value-display:hover {
    border-color: #FF7A00;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
    background: white;
}

@media (max-width: 768px) {
    .tiger-plugin-container {
        padding: 15px 10px;
    }
    
    .tiger-game-container {
        padding: 15px 10px;
    }
    
    .tiger-store-info-display {
        max-width: 100%;
        padding: 20px 15px;
        margin: 25px 0;
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 12px;
        border: 3px solid #FF7A00;
        box-shadow: 0 8px 25px rgba(255, 122, 0, 0.2);
        background: linear-gradient(145deg, #ffffff, #f9f9f9);
    }
    
    .tiger-store-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .tiger-store-info-label-display {
        min-width: auto;
        width: 100%;
        font-size: 15px;
        font-weight: 700;
        color: #FF7A00;
        background: rgba(255, 122, 0, 0.1);
        padding: 5px 10px;
        border-radius: 6px;
        margin-bottom: 3px;
    }
    
    .tiger-store-info-value-display {
        width: 100%;
        font-size: 15px;
        padding: 12px;
        min-height: 50px;
        background: #f8f9fa;
        border: 2px solid #e0e0e0;
        border-left: 4px solid #FF7A00;
    }
}

@media (max-width: 480px) {
    .tiger-plugin-container {
        padding: 12px 8px;
    }
    
    .tiger-game-container {
        padding: 12px 8px;
    }
    
    .tiger-store-info-display {
        max-width: 100%;
        padding: 18px 12px;
        margin: 20px 0;
        width: calc(100% - 16px);
        margin-left: 8px;
        margin-right: 8px;
        border-radius: 10px;
        border: 3px solid #FF7A00;
        box-shadow: 0 6px 20px rgba(255, 122, 0, 0.25);
    }
    
    .tiger-store-info-row {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .tiger-store-info-label-display {
        font-size: 14px;
        font-weight: 700;
        padding: 4px 8px;
        background: rgba(255, 122, 0, 0.12);
    }
    
    .tiger-store-info-value-display {
        font-size: 14px;
        padding: 10px;
        min-height: 48px;
        border: 2px solid #ddd;
        border-left: 4px solid #FF7A00;
    }
}

@media (max-width: 380px) {
    .tiger-plugin-container {
        padding: 10px 6px;
    }
    
    .tiger-game-container {
        padding: 10px 6px;
    }
    
    .tiger-store-info-display {
        padding: 15px 10px;
        margin: 18px 0;
        width: calc(100% - 12px);
        margin-left: 6px;
        margin-right: 6px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(255, 122, 0, 0.2);
    }
    
    .tiger-store-info-row {
        gap: 5px;
        margin-bottom: 10px;
    }
    
    .tiger-store-info-label-display {
        font-size: 13px;
        padding: 3px 7px;
    }
    
    .tiger-store-info-value-display {
        font-size: 13px;
        padding: 9px;
        min-height: 46px;
    }
}

/* ============ 海報彈窗樣式 ============ */
.tiger-poster-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.tiger-poster-content {
    background: linear-gradient(145deg, #fffacd, #fff176);
    padding: 25px;
    border-radius: 20px;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 20px 50px rgba(255, 215, 0, 0.8),
        0 0 70px rgba(255, 215, 0, 0.5);
    animation: tigerPosterPopup 0.5s ease-out;
    border: 10px solid #FFD700;
    position: relative;
    margin: auto;
    box-sizing: border-box;
}

@keyframes tigerPosterPopup {
    0% { transform: scale(0.7); opacity: 0; }
    70% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.tiger-poster-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px dashed #FFA500;
}

.tiger-poster-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #e63946;
    text-shadow: 
        2px 2px 0 #FFD700,
        4px 4px 8px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 5px;
}

.tiger-poster-subtitle {
    font-size: 1.6rem;
    color: #FF5722;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
    word-wrap: break-word;
    max-width: 100%;
    margin: 0 auto;
}

.tiger-poster-section {
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 3px solid #3498db;
    width: 100%;
    box-sizing: border-box;
}

.tiger-poster-section-title {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 15px;
    font-weight: 900;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
    word-wrap: break-word;
}

.tiger-poster-slot-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

.tiger-poster-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    width: 350px;
    height: 350px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.tiger-poster-slot-cell {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    border: 3px solid #3498db;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 
        inset 0 0 12px rgba(0,0,0,0.08),
        0 6px 15px rgba(52, 152, 219, 0.2);
    aspect-ratio: 1 / 1;
}

.tiger-poster-slot-cell.winning {
    background: linear-gradient(145deg, #fffacd, #ffeb3b);
    border-color: #FFD700;
    box-shadow: 
        inset 0 0 15px rgba(255, 215, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.7),
        0 8px 20px rgba(255, 215, 0, 0.4);
    animation: goldPulse 1s ease-in-out infinite alternate;
}

.tiger-poster-win-info {
    text-align: center;
    background: linear-gradient(145deg, #d4edda, #c3e6cb);
    padding: 15px;
    border-radius: 12px;
    border: 3px solid #2a9d8f;
    margin: 15px 0;
    width: 100%;
    box-sizing: border-box;
}

.tiger-poster-win-title {
    font-size: 1.8rem;
    color: #2a9d8f;
    font-weight: 900;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.tiger-poster-win-prize {
    font-size: 1.6rem;
    color: #e63946;
    font-weight: 700;
    margin-bottom: 8px;
    word-wrap: break-word;
    padding: 0 8px;
}

.tiger-poster-store-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.tiger-poster-store-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    width: 100%;
    box-sizing: border-box;
}

.tiger-poster-store-label {
    font-weight: bold;
    color: #FF7A00;
    min-width: 100px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tiger-poster-store-value {
    flex: 1;
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    word-wrap: break-word;
}

.tiger-poster-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 3px dashed #FFA500;
    width: 100%;
}

.tiger-poster-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.tiger-poster-download, .tiger-poster-close {
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
    flex: 1;
    max-width: 180px;
}

.tiger-poster-download {
    background: linear-gradient(145deg, #3498db, #2980b9);
    color: white;
}

.tiger-poster-download:hover {
    background: linear-gradient(145deg, #2980b9, #3498db);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.tiger-poster-close {
    background: linear-gradient(145deg, #e63946, #d62828);
    color: white;
}

.tiger-poster-close:hover {
    background: linear-gradient(145deg, #d62828, #e63946);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

/* 桌面設備響應式 */
@media (min-width: 1200px) {
    .tiger-poster-content {
        max-width: 850px;
        padding: 30px;
    }
    
    .tiger-poster-main-title {
        font-size: 3rem;
    }
    
    .tiger-poster-subtitle {
        font-size: 1.8rem;
    }
    
    .tiger-poster-slot-grid {
        width: 400px;
        height: 400px;
    }
    
    .tiger-poster-slot-cell {
        font-size: 55px;
    }
}

/* 平板設備響應式 */
@media (max-width: 1024px) {
    .tiger-poster-content {
        max-width: 700px;
        padding: 20px;
    }
    
    .tiger-poster-main-title {
        font-size: 2.2rem;
    }
    
    .tiger-poster-subtitle {
        font-size: 1.5rem;
    }
    
    .tiger-poster-section-title {
        font-size: 1.6rem;
    }
    
    .tiger-poster-slot-grid {
        width: 320px;
        height: 320px;
        gap: 10px;
    }
    
    .tiger-poster-slot-cell {
        font-size: 42px;
        border-width: 3px;
    }
    
    .tiger-poster-win-title {
        font-size: 1.6rem;
    }
    
    .tiger-poster-win-prize {
        font-size: 1.4rem;
    }
    
    .tiger-poster-store-label {
        font-size: 1rem;
        min-width: 90px;
    }
    
    .tiger-poster-store-value {
        font-size: 1.1rem;
    }
}

/* 手機設備響應式 - 解決頂部被切掉的問題 */
@media (max-width: 768px) {
    .tiger-poster-modal {
        padding: 5px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .tiger-poster-content {
        padding: 15px;
        width: 98%;
        max-height: 85vh;
        border-width: 8px;
        margin: 0 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tiger-poster-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .tiger-poster-main-title {
        font-size: 1.8rem;
        margin-top: 0;
        padding-top: 0;
    }
    
    .tiger-poster-subtitle {
        font-size: 1.3rem;
        padding: 6px 12px;
    }
    
    .tiger-poster-section {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .tiger-poster-section-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .tiger-poster-slot-grid {
        width: 280px;
        height: 280px;
        gap: 8px;
    }
    
    .tiger-poster-slot-cell {
        font-size: 36px;
        border-width: 2px;
    }
    
    .tiger-poster-store-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px;
    }
    
    .tiger-poster-store-label {
        min-width: auto;
        width: 100%;
        font-size: 1rem;
    }
    
    .tiger-poster-store-value {
        font-size: 1.1rem;
        width: 100%;
    }
    
    .tiger-poster-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tiger-poster-download, .tiger-poster-close {
        width: 100%;
        max-width: 220px;
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* 小手機設備響應式 */
@media (max-width: 480px) {
    .tiger-poster-content {
        padding: 12px;
        border-width: 6px;
        border-radius: 15px;
        max-height: 90vh;
    }
    
    .tiger-poster-main-title {
        font-size: 1.6rem;
    }
    
    .tiger-poster-subtitle {
        font-size: 1.2rem;
        padding: 5px 10px;
    }
    
    .tiger-poster-slot-grid {
        width: 240px;
        height: 240px;
    }
    
    .tiger-poster-slot-cell {
        font-size: 32px;
    }
    
    .tiger-poster-win-title {
        font-size: 1.4rem;
    }
    
    .tiger-poster-win-prize {
        font-size: 1.3rem;
    }
    
    .tiger-poster-store-row {
        padding: 8px;
    }
    
    .tiger-poster-store-label {
        font-size: 0.95rem;
    }
    
    .tiger-poster-store-value {
        font-size: 1rem;
    }
    
    .tiger-poster-download, .tiger-poster-close {
        max-width: 200px;
        padding: 8px 16px;
        font-size: 0.95rem;
    }
}

/* 超小手機設備響應式 */
@media (max-width: 380px) {
    .tiger-poster-content {
        padding: 10px;
        border-width: 5px;
        border-radius: 12px;
    }
    
    .tiger-poster-main-title {
        font-size: 1.5rem;
    }
    
    .tiger-poster-subtitle {
        font-size: 1.1rem;
        padding: 4px 8px;
    }
    
    .tiger-poster-slot-grid {
        width: 220px;
        height: 220px;
        gap: 6px;
    }
    
    .tiger-poster-slot-cell {
        font-size: 30px;
    }
    
    .tiger-poster-win-title {
        font-size: 1.3rem;
    }
    
    .tiger-poster-win-prize {
        font-size: 1.2rem;
    }
    
    .tiger-poster-store-row {
        padding: 6px;
    }
    
    .tiger-poster-store-label {
        font-size: 0.9rem;
    }
    
    .tiger-poster-store-value {
        font-size: 0.95rem;
    }
    
    .tiger-poster-download, .tiger-poster-close {
        max-width: 180px;
        padding: 7px 14px;
        font-size: 0.9rem;
    }
}

/* 確保海報內容不會超出視窗 */
@media (max-height: 700px) {
    .tiger-poster-content {
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .tiger-poster-slot-grid {
        width: 250px;
        height: 250px;
    }
    
    .tiger-poster-slot-cell {
        font-size: 35px;
    }
}

@media (max-height: 600px) {
    .tiger-poster-content {
        max-height: 80vh;
    }
    
    .tiger-poster-slot-grid {
        width: 220px;
        height: 220px;
    }
    
    .tiger-poster-slot-cell {
        font-size: 30px;
    }
    
    .tiger-poster-store-row {
        padding: 6px;
    }
}

/* ============ 彈窗樣式 ============ */
.tiger-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 15px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* ============ 兼容原始類名 - 彈窗 ============ */
.win-modal-content, .tiger-win-modal-content {
    background: linear-gradient(145deg, #fff9c4, #ffeb3b);
    padding: 30px 20px;
    border-radius: 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(255, 235, 59, 0.7);
    animation: tigerWinPopup 0.5s ease-out;
    border: 8px solid #ffd600;
    margin: 20px auto;
    box-sizing: border-box;
}

@keyframes tigerWinPopup {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.tiger-win-emoji {
    font-size: 70px;
    margin-bottom: 15px;
    animation: tigerBounce 1s infinite alternate;
}

@keyframes tigerBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

.tiger-win-title {
    font-size: 28px;
    color: #e63946;
    margin-bottom: 12px;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.tiger-win-details {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.tiger-win-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
    font-size: 50px;
    font-weight: bold;
}

.tiger-win-icon {
    animation: tigerBounce 1s infinite alternate;
    animation-delay: var(--delay);
}

.tiger-win-gold {
    font-size: 32px;
    color: #e63946;
    font-weight: bold;
    margin: 12px 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

/* 失敗彈窗樣式 */
.lose-modal-content, .tiger-lose-modal-content {
    background: linear-gradient(145deg, #e0e0e0, #b0b0b0);
    padding: 30px 20px;
    border-radius: 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    animation: tigerLosePopup 0.5s ease-out;
    border: 8px solid #777;
    margin: 20px auto;
    box-sizing: border-box;
}

@keyframes tigerLosePopup {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.tiger-lose-emoji {
    font-size: 70px;
    margin-bottom: 15px;
    animation: tigerShake 1s infinite alternate;
}

@keyframes tigerShake {
    from { transform: rotate(-10deg); }
    to { transform: rotate(10deg); }
}

.tiger-lose-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 12px;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

.tiger-lose-details {
    font-size: 18px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.4;
}

.tiger-lose-gold {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    margin: 12px 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

/* 遊戲規則彈窗樣式 */
.tiger-rules-modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    animation: tigerPopup 0.4s ease-out;
    border: 4px solid #3498db;
}

.tiger-rules-modal-title {
    font-size: 28px;
    font-weight: 900;
    color: #3498db;
    text-align: center;
    margin-bottom: 25px;
}

.tiger-rules-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tiger-rules-modal-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.tiger-rules-modal-list li:last-child {
    border-bottom: none;
}

.tiger-rules-modal-list i {
    color: #3498db;
    margin-right: 12px;
    width: 25px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* 成功訊息彈窗樣式 */
.tiger-success-modal-content {
    background: linear-gradient(145deg, #d4edda, #c3e6cb);
    padding: 25px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(42, 157, 143, 0.3);
    animation: tigerPopup 0.4s ease-out;
    border: 4px solid #2a9d8f;
}

.tiger-success-title {
    font-size: 24px;
    color: #2a9d8f;
    margin-bottom: 15px;
    font-weight: bold;
}

.tiger-success-message {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* 確認彈窗樣式 */
.tiger-confirm-modal-content {
    background: white;
    padding: 25px 15px;
    border-radius: 25px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: tigerPopup 0.4s ease-out;
    border: 4px solid #FF7A00;
    margin: 20px auto;
    box-sizing: border-box;
}

.tiger-confirm-title {
    font-size: 24px;
    color: #e63946;
    margin-bottom: 12px;
    font-weight: bold;
}

.tiger-confirm-message {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

.tiger-confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.tiger-confirm-yes, .tiger-confirm-no {
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 90px;
}

.tiger-confirm-yes {
    background: linear-gradient(145deg, #e63946, #d62828);
    color: white;
}

.tiger-confirm-yes:hover {
    background: linear-gradient(145deg, #d62828, #e63946);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.4);
}

.tiger-confirm-no {
    background: linear-gradient(145deg, #457b9d, #1d3557);
    color: white;
}

.tiger-confirm-no:hover {
    background: linear-gradient(145deg, #1d3557, #457b9d);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(69, 123, 157, 0.4);
}

/* 獎項說明彈窗樣式 */
.tiger-prize-modal-content {
    background: white;
    padding: 25px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    animation: tigerPopup 0.4s ease-out;
}

.tiger-prize-title {
    font-size: 28px;
    font-weight: 900;
    color: #FF7A00;
    text-align: center;
    margin-bottom: 25px;
}

.tiger-prize-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.tiger-prize-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.tiger-prize-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #FF7A00;
}

.tiger-prize-icon {
    font-size: 40px;
    min-width: 60px;
    text-align: center;
}

.tiger-prize-desc {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    flex: 1;
}

/* 店家資訊和獎項設定彈窗樣式 */
.tiger-info-modal-content {
    background: white;
    padding: 25px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    animation: tigerPopup 0.4s ease-out;
}

.tiger-info-title {
    font-size: 28px;
    font-weight: 900;
    color: #457b9d;
    text-align: center;
    margin-bottom: 25px;
}

.tiger-prize-setting-title {
    color: #FF7A00;
}

.tiger-info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.tiger-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tiger-info-label {
    font-size: 16px;
    font-weight: bold;
    color: #FF7A00;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tiger-info-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s;
    background: #f8f9fa;
}

.tiger-info-input:focus {
    border-color: #FF7A00;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.2);
    background: white;
}

.tiger-info-char-count {
    font-size: 14px;
    color: #666;
    text-align: right;
}

.tiger-info-buttons {
    display: flex;
    gap: 15px;
}

.tiger-info-save, .tiger-info-cancel {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.tiger-info-save {
    background: linear-gradient(145deg, #457b9d, #1d3557);
    color: white;
}

.tiger-info-save:hover {
    background: linear-gradient(145deg, #1d3557, #457b9d);
    transform: translateY(-3px);
}

.tiger-info-cancel {
    background: linear-gradient(145deg, #95a5a6, #7f8c8d);
    color: white;
}

.tiger-info-cancel:hover {
    background: linear-gradient(145deg, #7f8c8d, #95a5a6);
    transform: translateY(-3px);
}

.tiger-prize-save {
    background: linear-gradient(145deg, #FF7A00, #FF5722) !important;
}

.tiger-prize-save:hover {
    background: linear-gradient(145deg, #FF5722, #FF7A00) !important;
}

@keyframes tigerPopup {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ============ 彈窗按鈕 ============ */
.tiger-win-btn {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.5);
    margin-top: 12px;
}

.tiger-win-btn:hover {
    background: linear-gradient(to right, #3498db, #1abc9c);
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(52, 152, 219, 0.6);
}

/* ============ 返回頂部按鈕 - 只顯示在手機 ============ */
.tiger-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #FF7A00, #FF5722);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.5);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .tiger-back-to-top {
        display: none !important;
    }
}

.tiger-back-to-top.tiger-show {
    opacity: 1;
    visibility: visible;
}

.tiger-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.7);
}

@media (max-width: 768px) {
    .tiger-back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ============ 3x3連線樣式 ============ */
.tiger-win-line-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* 中獎格子閃爍效果 */
@keyframes tigerCellFlash {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            inset 0 0 20px rgba(255, 215, 0, 0.5),
            0 0 30px rgba(255, 215, 0, 0.7),
            0 10px 25px rgba(255, 215, 0, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 
            inset 0 0 25px rgba(255, 215, 0, 0.7),
            0 0 40px rgba(255, 215, 0, 0.9),
            0 12px 30px rgba(255, 215, 0, 0.6);
    }
}

.tiger-slot-cell.tiger-winning {
    animation: tigerCellFlash 0.8s ease-in-out infinite;
}