* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto+Mono:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: rgb(0, 120, 215);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* 页面头部样式 */
.page-header {
    background: rgb(0, 120, 215);
    border-bottom: 2px solid #ff6b6b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 10px 20px;
    min-height: 80px;
}

.logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.logo {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-extra {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.25);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo-extra:hover {
    transform: scale(1.05);
}

.logo-infinity {
    font-size: 28px;
    line-height: 1;
    font-family: 'Orbitron', monospace;
    color: #b5fff7;
    text-shadow: 0 0 10px rgba(181, 255, 247, 0.55);
    margin-top: -2px;
    user-select: none;
}

.title-container {
    flex: 1;
    text-align: center;
}

.time-container {
    flex-shrink: 0;
    text-align: right;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.current-time {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    margin-top: 3px;
    width: 100%;
    text-align: right;
}

.current-date {
    font-size: 14px;
    font-weight: 400;
    color: #ccc;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    text-align: right;
}


/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
    max-width: 300px;
    word-wrap: break-word;
}

.notification.info {
    background-color: #2196f3;
}

.notification.error {
    background-color: #f44336;
}

.notification.success {
    background-color: #4caf50;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 18px;
    color: #ff6b6b;
    margin: 5px 0 0 0;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.poker-timer {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr auto auto;
    min-height: calc(100vh - 180px);
    padding: 10px;
    gap: 8px;
    margin-bottom: 20px;
}

/* 左侧面板 */
.left-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

/* 右侧面板 */
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

/* 信息卡片 */
.info-card {
    background: #ffffff;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #999;
    transform: translateY(-2px);
}

.info-label {
    font-size: 18px;
    color: #000000;
    margin-bottom: 5px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.info-label-en {
    font-size: 16px;
    color: #666666;
    margin-bottom: 8px;
    font-style: italic;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.info-value {
    font-size: 42px;
    font-weight: 700;
    color: #00aa55;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    font-family: 'Roboto Mono', 'Inter', monospace;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.avg-bb-value {
    font-size: 42px;
    font-weight: 700;
    color: #ffd166;
    text-shadow: 0 0 12px rgba(255, 209, 102, 0.45);
    font-family: 'Roboto Mono', 'Inter', monospace;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.avg-chips-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

/* 中央面板 */
.center-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* 计时器显示 */
.timer-display {
    text-align: center;
    background: #ffffff;
    border: 3px solid #ddd;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    min-width: 300px;
}

.timer-time {
    font-size: 88px;
    font-weight: 700;
    color: #00aa55;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    font-family: 'Roboto Mono', 'Inter', monospace;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.timer-status {
    font-size: 24px;
    color: #ff6b6b;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

/* 盲注信息 */
.blind-info {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.blind-card {
    background: #ffffff;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 12px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blind-label {
    font-size: 18px;
    color: #000000;
    margin-bottom: 6px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.blind-value {
    font-size: 32px;
    font-weight: 700;
    color: #cc9900;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    font-family: 'Roboto Mono', 'Inter', monospace;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}


.controls {
    display: flex;
    gap: 15px;
}

button {
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

#startBtn {
    background: linear-gradient(145deg, #00ff88, #00cc6a);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

#startBtn:hover:not(:disabled) {
    background: linear-gradient(145deg, #00cc6a, #00aa55);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

#pauseBtn {
    background: linear-gradient(145deg, #ff6b6b, #ff5252);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

#pauseBtn:hover:not(:disabled) {
    background: linear-gradient(145deg, #ff5252, #ff4444);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

#resetBtn {
    background: linear-gradient(145deg, #ff9800, #ff8f00);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

#resetBtn:hover:not(:disabled) {
    background: linear-gradient(145deg, #ff8f00, #ff6f00);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

#nextBtn {
    background: linear-gradient(145deg, #2196f3, #1976d2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

#nextBtn:hover:not(:disabled) {
    background: linear-gradient(145deg, #1976d2, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}




/* 响应式设计 */
@media (max-width: 1200px) {
    .header-content {
        padding: 0 15px;
        gap: 15px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .page-subtitle {
        font-size: 10px;
    }
    
    .logo {
        width: 82px;
        height: 82px;
    }

    .logo-extra {
        width: 92px;
        height: 92px;
    }

    .logo-infinity {
        font-size: 26px;
    }
    
    .poker-timer {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
    }
    
    .left-panel, .right-panel {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .blind-info {
        flex-direction: column;
        align-items: center;
    }
    
    .timer-time {
        font-size: 88px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 10px;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .title-container {
        order: 3;
        flex-basis: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .page-title {
        font-size: 16px;
    }
    
    .page-subtitle {
        font-size: 8px;
    }
    
    .logo {
        width: 72px;
        height: 72px;
    }

    .logo-extra {
        width: 72px;
        height: 72px;
    }

    .logo-infinity {
        font-size: 24px;
    }
    
    .time-container {
        text-align: right;
    }
    
    .current-time {
        font-size: 18px;
    }
    
    .current-date {
        font-size: 10px;
    }
    
    .poker-timer {
        padding: 10px;
        gap: 15px;
    }
    
    .timer-time {
        font-size: 78px;
    }
    
    .info-value {
        font-size: 42px;
    }
    
    .blind-value {
        font-size: 34px;
    }
    
    .controls {
        flex-direction: column;
        width: 100%;
    }
    
    button {
        width: 100%;
    }
    
}

@media (max-width: 480px) {
    .logo {
        width: 64px;
        height: 64px;
    }

    .logo-extra {
        width: 58px;
        height: 58px;
    }

    .logo-infinity {
        font-size: 22px;
    }
    .timer-time {
        font-size: 58px;
    }
    
    .info-value {
        font-size: 38px;
    }
    
    .blind-value {
        font-size: 32px;
    }
    
    .timer-display {
        padding: 20px;
        min-width: 250px;
    }
    
    .blind-card {
        min-width: 150px;
        padding: 15px;
    }
}

/* 动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.timer-time.running {
    animation: pulse 2s infinite;
}

/* 状态指示器 */
.status-running {
    color: #00ff88 !important;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6) !important;
}

.status-paused {
    color: #ff6b6b !important;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.6) !important;
}

.status-break {
    color: #ffd700 !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6) !important;
}

/* 休息时间弹框样式 */
.break-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.break-modal-content {
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border: 2px solid #444;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: breakModalAppear 0.5s ease-out;
}

@keyframes breakModalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.break-header {
    margin-bottom: 30px;
}

.break-header h2 {
    color: #cc9900;
    font-size: 2.5em;
    margin: 0 0 10px 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.break-icon {
    font-size: 3em;
    margin: 10px 0;
    animation: breakIconPulse 2s infinite;
}

@keyframes breakIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.break-timer {
    margin: 30px 0;
}

.break-time-display {
    font-size: 4em;
    font-weight: 700;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    margin-bottom: 20px;
    font-family: 'Roboto Mono', 'Inter', monospace;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.break-progress {
    width: 100%;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
}

.break-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ffd700);
    width: 0%;
    transition: width 1s ease;
    border-radius: 4px;
}

.break-message {
    margin: 30px 0;
    color: #ccc;
}

.break-message p {
    margin: 10px 0;
    font-size: 1.2em;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.break-next-level {
    color: #4caf50 !important;
    font-weight: bold;
}

.break-actions {
    margin-top: 30px;
}

.break-actions .btn {
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #2196f3, #1976d2);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.break-actions .btn:hover {
    background: linear-gradient(145deg, #1976d2, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* 计时器控制按钮样式 */
.timer-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.timer-controls .btn {
    padding: 12px 24px;
    font-size: 1em;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timer-controls .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.timer-controls .btn-primary {
    background: linear-gradient(145deg, #4caf50, #45a049);
    color: white;
}

.timer-controls .btn-primary:hover {
    background: linear-gradient(145deg, #45a049, #3d8b40);
}

.timer-controls .btn-secondary {
    background: linear-gradient(145deg, #ff9800, #f57c00);
    color: white;
}

.timer-controls .btn-secondary:hover {
    background: linear-gradient(145deg, #f57c00, #ef6c00);
}

.timer-controls .btn-warning {
    background: linear-gradient(145deg, #f44336, #d32f2f);
    color: white;
}

.timer-controls .btn-warning:hover {
    background: linear-gradient(145deg, #d32f2f, #c62828);
}

.timer-controls .btn-info {
    background: linear-gradient(145deg, #2196f3, #1976d2);
    color: white;
}

.timer-controls .btn-info:hover {
    background: linear-gradient(145deg, #1976d2, #1565c0);
}

/* 编辑控件样式 */
.edit-controls {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.edit-controls input {
    width: 80px;
    padding: 5px 8px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #333;
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-family: 'Roboto Mono', 'Inter', monospace;
    font-weight: 500;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
}

.edit-controls input:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.3);
}

.edit-btn, .save-btn, .cancel-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.edit-btn {
    background: #555;
    color: #fff;
}

.edit-btn:hover {
    background: #666;
    transform: scale(1.1);
}

.save-btn {
    background: #4caf50;
    color: #fff;
}

.save-btn:hover {
    background: #45a049;
    transform: scale(1.1);
}

.cancel-btn {
    background: #f44336;
    color: #fff;
}

.cancel-btn:hover {
    background: #da190b;
    transform: scale(1.1);
}


/* 右下角控制区域 */
.bottom-control-area {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.control-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-family: 'Inter', sans-serif;
}

.control-icon-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.4);
}

.control-icon-btn .icon {
    font-size: 12px;
}

/* 配置盲注结构按钮 */
.config-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.config-btn:hover {
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
}

/* 人数控制按钮 */
.player-btn {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.player-btn:hover {
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.6);
}

/* 控制面板按钮 */
.panel-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.panel-btn:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* 可折叠控制面板 */
.control-panel {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 2px solid #3498db;
    border-radius: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

.control-panel.collapsed {
    height: 0;
    padding: 0;
    border: none;
    border-radius: 20px;
}

.control-panel.expanded {
    height: auto;
    padding: 20px;
}

.control-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #34495e;
}

.control-panel-header h3 {
    color: #ecf0f1;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.close-btn {
    background: none;
    border: none;
    color: #bdc3c7;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
}

.control-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    min-width: 80px;
    position: relative;
    overflow: hidden;
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.control-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.control-btn:not(:disabled):active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 20px;
    line-height: 1;
}

.btn-text {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.start-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.start-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.pause-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.pause-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.reset-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.reset-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

.next-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.next-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.control-info {
    text-align: center;
}

.shortcut-hint {
    color: #bdc3c7;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.shortcut-hint span {
    background: rgba(52, 73, 94, 0.8);
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid #34495e;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .bottom-controls {
        padding: 10px 15px;
    }
    
    .control-buttons {
        gap: 10px;
    }
    
    .control-btn {
        padding: 10px 15px;
        min-width: 70px;
    }
    
    .btn-icon {
        font-size: 18px;
    }
    
    .btn-text {
        font-size: 11px;
    }
    
    .shortcut-hint {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .control-buttons {
        gap: 8px;
    }
    
    .control-btn {
        padding: 8px 12px;
        min-width: 60px;
    }
    
    .btn-icon {
        font-size: 16px;
    }
    
    .btn-text {
        font-size: 10px;
    }
}

/* ===== MTT大屏样式（参考图风格） ===== */
body {
    background:
        radial-gradient(circle at 50% 20%, rgba(160, 255, 236, 0.35), rgba(0, 156, 147, 0.2) 35%, rgba(0, 82, 90, 0.55) 68%, rgba(2, 25, 35, 0.95) 100%),
        linear-gradient(140deg, #0b5155 0%, #0d7b79 38%, #0d8987 70%, #0a4e59 100%);
    color: #e6fffd;
}

.page-header {
    background: linear-gradient(90deg, rgba(0, 43, 56, 0.78), rgba(2, 84, 96, 0.58));
    border-bottom: 1px solid rgba(132, 250, 241, 0.35);
    box-shadow: 0 6px 26px rgba(0, 22, 34, 0.45);
}

.page-title {
    text-shadow: 0 0 14px rgba(126, 250, 241, 0.55);
}

.page-subtitle {
    color: #b5fff7;
}

.current-time {
    color: #eaffff;
    text-shadow: 0 0 10px rgba(186, 255, 249, 0.7);
}

.current-date {
    color: rgba(221, 255, 252, 0.8);
}

.poker-timer {
    grid-template-columns: minmax(220px, 1fr) minmax(460px, 1.8fr) minmax(220px, 1fr);
    min-height: calc(100vh - 190px);
    gap: 12px;
    padding: 16px;
}

.info-card,
.blind-card {
    background: linear-gradient(165deg, rgba(7, 63, 74, 0.78), rgba(6, 44, 55, 0.68));
    border: 1px solid rgba(134, 255, 245, 0.38);
    box-shadow: 0 10px 20px rgba(1, 24, 33, 0.36), inset 0 0 16px rgba(76, 213, 198, 0.14);
    backdrop-filter: blur(2px);
}

.info-card:hover {
    border-color: rgba(170, 255, 248, 0.7);
    transform: translateY(-1px);
}

.info-label {
    color: rgba(228, 255, 251, 0.9);
    font-size: 16px;
}

.info-label-en {
    color: rgba(174, 243, 237, 0.8);
    font-size: 13px;
    margin-bottom: 10px;
}

.info-value {
    color: #ffffff;
    text-shadow: 0 0 16px rgba(171, 255, 248, 0.5);
    font-size: 46px;
}

.center-panel {
    gap: 18px;
}

.timer-display {
    position: relative;
    width: min(64vw, 460px);
    height: min(64vw, 460px);
    min-width: 360px;
    min-height: 360px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 38%, rgba(26, 101, 121, 0.9) 0%, rgba(6, 43, 61, 0.97) 60%, rgba(3, 26, 40, 1) 100%);
    border: 3px solid rgba(165, 255, 246, 0.4);
    box-shadow:
        0 0 0 8px rgba(132, 255, 243, 0.1),
        0 18px 45px rgba(0, 24, 40, 0.55),
        inset 0 0 28px rgba(111, 255, 237, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.timer-time,
.timer-status {
    position: relative;
    z-index: 3;
}

.timer-display::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(196, 255, 249, 0) 0deg 353deg,
        rgba(196, 255, 249, 1) 353deg 357deg,
        rgba(196, 255, 249, 0.15) 357deg 360deg
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 14px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 14px));
    filter: drop-shadow(0 0 10px rgba(166, 255, 247, 0.9));
    transform-origin: 50% 50%;
    animation: timerSweep 4.2s linear infinite;
    opacity: 1;
    z-index: 1;
}

.timer-display::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: repeating-conic-gradient(
        rgba(209, 255, 250, 0.62) 0deg 1deg,
        transparent 1deg 6deg
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 22px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 22px));
    opacity: 0.5;
    z-index: 0;
}

@keyframes timerSweep {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.timer-time {
    font-size: clamp(74px, 9vw, 106px);
    color: #ecffff;
    text-shadow: 0 0 26px rgba(167, 255, 248, 0.75);
    letter-spacing: 0;
    margin-bottom: 8px;
}

.timer-status {
    font-size: 26px;
    color: #c9fff8;
    text-shadow: 0 0 12px rgba(143, 255, 245, 0.45);
}

.timer-current-blind-wrap {
    margin-top: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    position: relative;
    z-index: 20;
}

.timer-current-blind-value {
    font-size: clamp(28px, 3.2vw, 52px);
    font-weight: 700;
    font-family: 'Roboto Mono', 'Inter', monospace;
    color: #fff5c7;
    text-shadow: 0 0 12px rgba(255, 227, 144, 0.38);
    font-variant-numeric: tabular-nums;
    white-space: pre-line;
    line-height: 1.1;
    position: relative;
    z-index: 21;
}

.left-panel #nextBlind {
    color: #fff5c7;
    text-shadow: 0 0 12px rgba(255, 227, 144, 0.38);
    white-space: pre-line;
    line-height: 1.1;
}

.blind-info {
    width: 100%;
    gap: 10px;
}

.blind-card {
    min-width: 0;
    flex: 1;
    padding: 10px 12px;
}

.blind-label {
    color: rgba(220, 255, 251, 0.9);
    font-size: 14px;
}

.blind-value {
    color: #fff5c7;
    text-shadow: 0 0 12px rgba(255, 227, 144, 0.4);
    font-size: clamp(28px, 3.2vw, 40px);
}

.control-panel {
    background: linear-gradient(130deg, rgba(7, 43, 59, 0.96), rgba(6, 63, 80, 0.96));
    border: 1px solid rgba(128, 251, 241, 0.45);
}

.shortcut-hint span {
    background: rgba(4, 59, 73, 0.85);
    border: 1px solid rgba(132, 250, 241, 0.32);
    color: #d9fffb;
}

@media (max-width: 1200px) {
    .poker-timer {
        grid-template-columns: 1fr;
    }

    .timer-display {
        width: min(82vw, 420px);
        height: min(82vw, 420px);
        min-width: 300px;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .info-value {
        font-size: 36px;
    }

    .timer-status {
        font-size: 22px;
    }

}

/* ===== 黑金高端明亮主题覆盖 ===== */
body {
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 220, 140, 0.2), rgba(255, 220, 140, 0) 35%),
        linear-gradient(145deg, #080808 0%, #111111 48%, #1a1510 100%);
    color: #f7efe0;
}

.page-header {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(35, 28, 18, 0.9));
    border-bottom: 1px solid rgba(212, 175, 55, 0.65);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.logo,
.logo-extra {
    border: 2px solid rgba(212, 175, 55, 0.65);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.28);
}

.logo-infinity {
    color: #f3d07d;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.65);
}

.page-title {
    color: #fff4d3;
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.45);
}

.page-subtitle {
    color: #d4af37;
}

.current-time {
    color: #ffd670;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.65);
}

.current-date {
    color: rgba(255, 243, 211, 0.78);
}

.info-card,
.blind-card {
    background: linear-gradient(165deg, rgba(22, 22, 22, 0.95), rgba(10, 10, 10, 0.94));
    border: 1px solid rgba(212, 175, 55, 0.42);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 0 16px rgba(212, 175, 55, 0.08);
}

.info-card:hover {
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), inset 0 0 18px rgba(212, 175, 55, 0.14);
}

.info-label {
    color: rgba(255, 242, 206, 0.95);
}

.info-label-en {
    color: rgba(232, 207, 143, 0.85);
}

.info-value {
    color: #fff2c7;
    text-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
}

.avg-bb-value {
    color: #ffd77a;
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
}

.timer-display {
    background:
        radial-gradient(circle at 50% 40%, rgba(65, 52, 27, 0.95) 0%, rgba(22, 18, 11, 0.98) 58%, rgba(5, 5, 5, 1) 100%);
    border: 2px solid rgba(212, 175, 55, 0.5);
    box-shadow:
        0 0 0 8px rgba(212, 175, 55, 0.09),
        0 18px 44px rgba(0, 0, 0, 0.62),
        inset 0 0 28px rgba(212, 175, 55, 0.14);
}

.timer-display::before {
    background: conic-gradient(
        from 0deg,
        rgba(255, 220, 140, 0) 0deg 353deg,
        rgba(255, 220, 140, 1) 353deg 357deg,
        rgba(255, 220, 140, 0.2) 357deg 360deg
    );
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.95));
}

.timer-display::after {
    background: repeating-conic-gradient(
        rgba(245, 223, 166, 0.5) 0deg 1deg,
        transparent 1deg 6deg
    );
}

.timer-time {
    color: #fff2cb;
    text-shadow: 0 0 22px rgba(212, 175, 55, 0.58);
}

.timer-status {
    color: #efd8a2;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.timer-current-blind-value,
.left-panel #nextBlind,
.blind-value {
    color: #ffd77a;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.44);
}

.control-panel {
    background: linear-gradient(130deg, rgba(12, 10, 8, 0.96), rgba(34, 26, 14, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.52);
}

.control-panel-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.control-panel-header h3 {
    color: #ffeac0;
}

.shortcut-hint {
    color: #f3dfae;
}

.shortcut-hint span {
    background: rgba(48, 34, 16, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #ffe8b5;
}

.config-btn {
    background: linear-gradient(135deg, #d4af37 0%, #a47a16 100%);
}

.player-btn {
    background: linear-gradient(135deg, #8d6b20 0%, #6f5318 100%);
}

.panel-btn {
    background: linear-gradient(135deg, #3b2d15 0%, #2a210f 100%);
}

.start-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b2861f 100%);
    color: #1a1408;
}

.pause-btn {
    background: linear-gradient(135deg, #b9932f 0%, #97701e 100%);
}

.reset-btn {
    background: linear-gradient(135deg, #6f5a2a 0%, #56431f 100%);
}

.next-btn {
    background: linear-gradient(135deg, #f0c761 0%, #c99d2c 100%);
    color: #1a1408;
}

.status-running {
    color: #ffe29a !important;
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.78) !important;
}

.status-paused {
    color: #d8c49a !important;
    text-shadow: 0 0 10px rgba(173, 142, 72, 0.55) !important;
}

.status-break {
    color: #ffd77a !important;
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.82) !important;
}

.break-modal-content {
    background: linear-gradient(145deg, #15120e, #090807);
    border: 2px solid rgba(212, 175, 55, 0.52);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.62);
}

.break-header h2 {
    color: #ffd77a;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.58);
}

.break-time-display {
    color: #ffe6a9;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.62);
}

.break-progress {
    background: #2b241a;
}

.break-progress-bar {
    background: linear-gradient(90deg, #7b5d21, #d4af37, #ffe09b);
}

.break-message {
    color: #f3e5c1;
}

.break-next-level {
    color: #ffd77a !important;
}

.break-avg-chips {
    color: #ffe9b8 !important;
    font-weight: 600;
}

.break-actions .btn {
    background: linear-gradient(145deg, #d4af37, #a6781b);
    color: #1a1408;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.36);
}

.break-actions .btn:hover {
    background: linear-gradient(145deg, #e1be5a, #b48826);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.buy-in-status-wrap {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.buy-in-status-label {
    font-size: 13px;
    color: rgba(232, 207, 143, 0.85);
    margin-bottom: 4px;
}

.buy-in-status-value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Roboto Mono', 'Inter', monospace;
    letter-spacing: 0.02em;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.buy-in-status-value.status-open {
    color: #ffe29a;
}

.buy-in-status-value.status-closed {
    color: #d8c49a;
}

.buyin-toggle-btn {
    background: linear-gradient(135deg, #5d4620 0%, #8f6a26 100%);
    color: #ffe8b5;
}

.buyin-toggle-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #8f6a26 0%, #b4882f 100%);
}

/* outs.jpg 黑色文字增强可见性 */
.logo {
    background: radial-gradient(circle at 45% 35%, #ffffff 0%, #f7ebcd 62%, #dfbf7a 100%);
    object-fit: contain;
    padding: 4px;
    filter: contrast(1.12) brightness(1.08);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.42), 0 0 0 2px rgba(255, 241, 200, 0.75) inset;
}

/* 底部技术支持文案 */
.tech-support-footer {
    position: fixed;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 900;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, rgba(20, 16, 10, 0.9), rgba(45, 34, 18, 0.86));
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38), inset 0 0 12px rgba(212, 175, 55, 0.14);
    backdrop-filter: blur(3px);
}

.tech-support-footer span {
    display: block;
    color: #f2d892;
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .tech-support-footer {
        bottom: 8px;
        padding: 7px 14px;
    }

    .tech-support-footer span {
        font-size: 12px;
        letter-spacing: 0.06em;
    }
}