/* 首右plus 字根练习 - 水墨风格自定义样式 */

/* ========================================
   全局样式 - 防止水平滚动
   ======================================== */

html,
body {
    overflow-x: hidden;
}

/* ========================================
   字体加载优化 - 避免 FOUT (Flash of Unstyled Text)
   ======================================== */

/* 字体加载前：隐藏使用自定义字体的关键元素 */
.fonts-loading #radical-char,
.fonts-loading .font-serif-sc {
    opacity: 0;
}

/* 字体加载完成后：平滑淡入 */
.fonts-loaded #radical-char,
.fonts-loaded .font-serif-sc {
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

/* 字体加载超时后的回退：也显示内容 */
.fonts-timeout #radical-char,
.fonts-timeout .font-serif-sc {
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

/* 加载指示器（可选） */
.fonts-loading #radical-display::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(26, 26, 26, 0.1);
    border-top-color: rgba(26, 26, 26, 0.4);
    border-radius: 50%;
    animation: fontLoadingSpin 0.8s linear infinite;
}

@keyframes fontLoadingSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 确保 radical-display 有相对定位以支持加载指示器 */
#radical-display {
    position: relative;
}

/* ========================================
   水墨背景效果
   ======================================== */

.ink-wash-bg {
    position: absolute;
    inset: 0;
    background: 
        /* 水墨晕染效果 - 右上角 */
        radial-gradient(
            ellipse 80% 60% at 90% 10%,
            rgba(26, 26, 26, 0.03) 0%,
            transparent 50%
        ),
        /* 水墨晕染效果 - 左下角 */
        radial-gradient(
            ellipse 60% 80% at 10% 90%,
            rgba(26, 26, 26, 0.02) 0%,
            transparent 40%
        ),
        /* 宣纸纹理模拟 */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.4;
}

/* ========================================
   墨迹卡片样式
   ======================================== */

.ink-card {
    background: linear-gradient(
        135deg,
        rgba(255, 254, 249, 0.95) 0%,
        rgba(250, 248, 243, 0.9) 100%
    );
    border-radius: 16px;
    box-shadow: 
        /* 主阴影 - 模拟墨迹晕染 */
        0 4px 20px rgba(26, 26, 26, 0.08),
        /* 内部光泽 */
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        /* 底部墨迹 */
        0 8px 30px -10px rgba(26, 26, 26, 0.15);
    border: 1px solid rgba(26, 26, 26, 0.06);
    position: relative;
    overflow: hidden;
}

/* 卡片水墨装饰 */
.ink-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(26, 26, 26, 0.02) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* ========================================
   毛笔笔触分隔线
   ======================================== */

.brush-stroke-divider {
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(26, 26, 26, 0.15) 20%,
        rgba(26, 26, 26, 0.25) 50%,
        rgba(26, 26, 26, 0.15) 80%,
        transparent 100%
    );
    border-radius: 1px;
    position: relative;
}

/* 笔触起笔效果 */
.brush-stroke-divider::before {
    content: '';
    position: absolute;
    left: 15%;
    top: -1px;
    width: 4px;
    height: 4px;
    background: rgba(26, 26, 26, 0.2);
    border-radius: 50%;
}

/* 笔触收笔效果 */
.brush-stroke-divider::after {
    content: '';
    position: absolute;
    right: 15%;
    top: -1px;
    width: 3px;
    height: 3px;
    background: rgba(26, 26, 26, 0.15);
    border-radius: 50%;
}

/* ========================================
   字根显示动画
   ======================================== */

/* 字根淡入效果 */
.radical-enter {
    animation: radicalEnter 0.25s ease-out forwards;
}

@keyframes radicalEnter {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 正确反馈 - 墨迹扩散 */
.feedback-correct {
    animation: inkSpreadCorrect 0.3s ease-out forwards;
}

@keyframes inkSpreadCorrect {
    0% {
        text-shadow: 0 0 0 rgba(26, 153, 136, 0);
    }
    50% {
        text-shadow: 0 0 20px rgba(26, 153, 136, 0.4);
    }
    100% {
        text-shadow: 0 0 0 rgba(26, 153, 136, 0);
    }
}

/* 错误反馈 - 朱砂闪烁 */
.feedback-wrong {
    animation: cinnabarShake 0.2s ease-in-out;
}

@keyframes cinnabarShake {
    0%, 100% {
        transform: translateX(0);
        color: #1A1A1A;
    }
    25% {
        transform: translateX(-6px);
        color: #C53D43;
    }
    75% {
        transform: translateX(6px);
        color: #C53D43;
    }
}

/* 连击达成 - 金色光晕 */
.combo-achieved {
    animation: comboGlow 0.4s ease-out;
}

@keyframes comboGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 168, 75, 0.7);
    }
    50% {
        box-shadow: 0 0 30px 10px rgba(212, 168, 75, 0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 168, 75, 0);
    }
}

/* ========================================
   输入框状态样式
   ======================================== */

#input-field:focus {
    box-shadow: 
        0 0 0 3px rgba(26, 26, 26, 0.1),
        0 4px 12px rgba(26, 26, 26, 0.08);
}

#input-field.input-correct {
    border-color: #1A9988;
    background-color: rgba(26, 153, 136, 0.05);
}

#input-field.input-wrong {
    border-color: #C53D43;
    background-color: rgba(197, 61, 67, 0.05);
    animation: inputShake 0.2s ease-in-out;
}

@keyframes inputShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ========================================
   按键提示样式
   ======================================== */

kbd {
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.15s ease;
}

kbd:hover {
    background-color: #F5F1E8;
    border-color: rgba(26, 26, 26, 0.2);
}

/* ========================================
   反馈消息样式 - 水墨风效果
   ======================================== */

.feedback-msg {
    font-size: 1.75rem;
    font-weight: 600;
    font-family: 'Noto Serif SC', serif;
    animation: inkFadeIn 0.4s ease-out;
    position: relative;
    display: inline-block;
}

@keyframes inkFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.9);
        filter: blur(4px);
    }
    50% {
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* 正确反馈 - 青绿墨迹晕染效果 */
.feedback-msg.correct {
    color: #1A9988;
    text-shadow:
        0 0 8px rgba(26, 153, 136, 0.4),
        0 0 20px rgba(26, 153, 136, 0.2),
        0 2px 4px rgba(26, 153, 136, 0.3);
    animation: inkFadeIn 0.4s ease-out, inkGlowCorrect 1.5s ease-in-out infinite;
}

@keyframes inkGlowCorrect {
    0%, 100% {
        text-shadow:
            0 0 8px rgba(26, 153, 136, 0.4),
            0 0 20px rgba(26, 153, 136, 0.2),
            0 2px 4px rgba(26, 153, 136, 0.3);
    }
    50% {
        text-shadow:
            0 0 12px rgba(26, 153, 136, 0.6),
            0 0 30px rgba(26, 153, 136, 0.3),
            0 2px 6px rgba(26, 153, 136, 0.4);
    }
}

/* 错误反馈 - 朱砂墨迹效果 */
.feedback-msg.wrong {
    color: #C53D43;
    text-shadow:
        0 0 8px rgba(197, 61, 67, 0.4),
        0 0 20px rgba(197, 61, 67, 0.2),
        0 2px 4px rgba(197, 61, 67, 0.3);
    animation: inkFadeIn 0.4s ease-out, inkShakeWrong 0.5s ease-in-out;
}

@keyframes inkShakeWrong {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-3px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(3px);
    }
}

/* 跳过提示 - 淡墨效果 */
.feedback-msg.skip {
    color: #666666;
    text-shadow:
        0 1px 2px rgba(26, 26, 26, 0.1);
    font-size: 1.25rem;
}

/* 连击提示 - 金色墨迹效果 */
.feedback-msg.combo {
    color: #D4A84B;
    font-weight: 700;
    text-shadow:
        0 0 10px rgba(212, 168, 75, 0.5),
        0 0 25px rgba(212, 168, 75, 0.3),
        0 2px 4px rgba(212, 168, 75, 0.4);
    animation: inkFadeIn 0.4s ease-out, comboGlowPulse 0.8s ease-in-out;
}

@keyframes comboGlowPulse {
    0% {
        transform: scale(1);
        text-shadow:
            0 0 10px rgba(212, 168, 75, 0.5),
            0 0 25px rgba(212, 168, 75, 0.3);
    }
    50% {
        transform: scale(1.1);
        text-shadow:
            0 0 20px rgba(212, 168, 75, 0.8),
            0 0 40px rgba(212, 168, 75, 0.5);
    }
    100% {
        transform: scale(1);
        text-shadow:
            0 0 10px rgba(212, 168, 75, 0.5),
            0 0 25px rgba(212, 168, 75, 0.3);
    }
}

/* ========================================
   进度条动画
   ======================================== */

#progress-bar {
    transition: width 0.3s ease-out;
    background: linear-gradient(
        90deg,
        #666666 0%,
        #333333 50%,
        #1A1A1A 100%
    );
}

/* ========================================
   主布局 Grid 系统
   ======================================== */

.main-grid {
    display: grid;
    gap: 1.5rem;
    /* 默认移动端：单列布局 */
    grid-template-columns: 1fr;
    grid-template-areas:
        "stats"
        "practice"
        "chart";
    /* 防止子元素撑大 grid */
    overflow: hidden;
    max-width: 100%;
}

.stats-panel {
    grid-area: stats;
    /* 防止 grid 子元素撑大容器 */
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.practice-panel {
    grid-area: practice;
    /* 防止 grid 子元素撑大容器 */
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.chart-panel {
    grid-area: chart;
    /* 防止 grid 子元素撑大容器 */
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

/* 字根图隐藏时的布局 */
.chart-panel.hidden {
    display: none;
}

/* 平板及以上：两列布局（统计 + 练习），字根图在下方跨两列 */
@media (min-width: 768px) {
    .main-grid {
        grid-template-columns: 240px 1fr;
        grid-template-areas:
            "stats practice"
            "chart chart";
        align-items: stretch;
    }
    
    /* 字根图显示时，跨两列 */
    .chart-panel:not(.hidden) {
        display: block;
    }
}

/* 大屏幕：保持两列布局，增加统计面板宽度 */
@media (min-width: 1024px) {
    .main-grid {
        grid-template-columns: 260px 1fr;
    }
}

/* 超大屏幕：进一步优化间距 */
@media (min-width: 1400px) {
    .main-grid {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }
}

/* ========================================
   响应式调整
   ======================================== */

@media (max-width: 768px) {
    .ink-card {
        border-radius: 12px;
    }
    
    #radical-char {
        font-size: 5rem;
    }
    
    #key-hint {
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    #radical-char {
        font-size: 4rem;
    }
}

/* ========================================
   减少动画偏好支持
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   打印样式
   ======================================== */

@media print {
    .ink-wash-bg {
        display: none;
    }
    
    .ink-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ========================================
   水墨装饰元素
   ======================================== */

/* 印章效果（可用于 Logo 或成就） */
.ink-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid #C53D43;
    border-radius: 4px;
    color: #C53D43;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 1.25rem;
    transform: rotate(-5deg);
    opacity: 0.9;
}

/* 墨点装饰 */
.ink-dot {
    width: 6px;
    height: 6px;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(26, 26, 26, 0.6) 0%,
        rgba(26, 26, 26, 0.3) 50%,
        transparent 70%
    );
    border-radius: 50%;
}

/* ========================================
   滚动条样式
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(26, 26, 26, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 26, 26, 0.3);
}

/* ========================================
   选中文本样式
   ======================================== */

::selection {
    background: rgba(26, 26, 26, 0.15);
    color: #1A1A1A;
}

::-moz-selection {
    background: rgba(26, 26, 26, 0.15);
    color: #1A1A1A;
}

/* ========================================
   字根图键盘样式
   ======================================== */

.radical-keyboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding-top: 4px;  /* 防止第一行hover时上边框被裁剪 */
}

.keyboard-row {
    display: flex;
    gap: 6px;
    justify-content: center;
}

/* 第二行偏移 */
.row-offset-1 {
    padding-left: 39px;
}

/* 第三行偏移 */
.row-offset-2 {
    padding-left: 78px;
}

.key-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 72px;
    min-height: 72px;
    padding: 6px 4px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(250, 248, 243, 0.9) 100%
    );
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 8px;
    box-shadow:
        0 2px 4px rgba(26, 26, 26, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.15s ease;
    cursor: default;
}

.key-cell:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 8px rgba(26, 26, 26, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(26, 26, 26, 0.2);
}

/* 特殊按键（笔画键）样式 */
.key-cell.special-key {
    background: linear-gradient(
        135deg,
        rgba(197, 61, 67, 0.05) 0%,
        rgba(197, 61, 67, 0.02) 100%
    );
    border-color: rgba(197, 61, 67, 0.2);
}

.key-cell.special-key:hover {
    border-color: rgba(197, 61, 67, 0.4);
}

.key-letter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: #1A9988;
    margin-bottom: 2px;
}

.key-letter-special {
    color: #C53D43;
}

.key-radicals {
    font-family: 'Noto Serif SC', serif;
    font-size: 14px;
    font-weight: 500;
    color: #1A9988;
    text-align: center;
    line-height: 1.3;
}

.key-radicals-special {
    color: #C53D43;
}

/* 蓝色字根样式 */
.key-radicals-blue {
    color: #2563EB;
}

.key-letter-blue {
    color: #2563EB;
}

/* 字根图区域动画 */
#radical-chart-section:not(.hidden) {
    animation: fadeInChart 0.3s ease-out;
}

@keyframes fadeInChart {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 字根图面板内部布局 */
.chart-panel .ink-card {
    display: flex;
    flex-direction: column;
}

.chart-panel .radical-keyboard {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 响应式调整 */
@media (max-width: 900px) {
    .key-cell {
        width: 60px;
        min-height: 60px;
        padding: 4px 2px;
    }
    
    .key-letter {
        font-size: 12px;
    }
    
    .key-radicals {
        font-size: 12px;
    }
    
    .row-offset-1 {
        padding-left: 16px;
    }
    
    .row-offset-2 {
        padding-left: 32px;
    }
}

@media (max-width: 700px) {
    .key-cell {
        width: 48px;
        min-height: 52px;
        padding: 3px 2px;
        border-radius: 6px;
    }
    
    .key-letter {
        font-size: 10px;
    }
    
    .key-radicals {
        font-size: 10px;
    }
    
    .keyboard-row {
        gap: 4px;
    }
    
    .radical-keyboard {
        gap: 4px;
    }
    
    .row-offset-1 {
        padding-left: 12px;
    }
    
    .row-offset-2 {
        padding-left: 24px;
    }
}

@media (max-width: 500px) {
    .key-cell {
        width: 32px;
        min-height: 44px;
        padding: 2px 1px;
        border-radius: 4px;
    }
    
    .key-letter {
        font-size: 9px;
    }
    
    .key-radicals {
        font-size: 9px;
        line-height: 1.2;
    }
    
    .keyboard-row {
        gap: 2px;
    }
    
    .radical-keyboard {
        gap: 3px;
    }
    
    .row-offset-1 {
        padding-left: 8px;
    }
    
    .row-offset-2 {
        padding-left: 16px;
    }
}

/* 高亮当前按键 */
.key-cell.highlight {
    background: linear-gradient(
        135deg,
        rgba(212, 168, 75, 0.2) 0%,
        rgba(212, 168, 75, 0.1) 100%
    );
    border-color: #D4A84B;
    box-shadow:
        0 0 12px rgba(212, 168, 75, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* ========================================
   练习完成庆祝弹窗
   ======================================== */

.completion-modal {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.completion-modal.show {
    opacity: 1;
}

.completion-content {
    background: linear-gradient(
        135deg,
        rgba(255, 254, 249, 0.98) 0%,
        rgba(250, 248, 243, 0.95) 100%
    );
    border-radius: 20px;
    padding: 2.5rem 3rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow:
        0 20px 60px rgba(26, 26, 26, 0.2),
        0 0 0 1px rgba(26, 26, 26, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.completion-modal.show .completion-content {
    transform: scale(1) translateY(0);
}

.completion-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: celebrateIcon 0.6s ease-out;
}

@keyframes celebrateIcon {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.completion-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(26, 26, 26, 0.1);
}

.completion-subtitle {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 1.5rem;
}

.completion-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: rgba(26, 26, 26, 0.03);
    border-radius: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A9988;
}

.stat-label {
    font-size: 0.85rem;
    color: #888888;
    margin-top: 0.25rem;
}

.completion-tip {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.completion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.5rem;
    font-family: 'Noto Serif SC', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFEF9;
    background: linear-gradient(
        135deg,
        #1A9988 0%,
        #158577 100%
    );
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow:
        0 4px 12px rgba(26, 153, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.completion-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(26, 153, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.completion-btn:active {
    transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 480px) {
    .completion-content {
        padding: 2rem 1.5rem;
    }
    
    .completion-icon {
        font-size: 3rem;
    }
    
    .completion-title {
        font-size: 1.5rem;
    }
    
    .completion-stats {
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

/* ========================================
   连击消息覆盖层（独立于反馈消息）
   ======================================== */

.combo-message-overlay {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.combo-message-overlay.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.combo-message-overlay.fade-out {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
}

.combo-message-overlay .feedback-msg.combo {
    font-size: 2.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 254, 249, 0.95);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(212, 168, 75, 0.3),
        0 0 0 1px rgba(212, 168, 75, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .combo-message-overlay .feedback-msg.combo {
        font-size: 2rem;
        padding: 0.4rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .combo-message-overlay .feedback-msg.combo {
        font-size: 1.5rem;
        padding: 0.3rem 1rem;
    }
}
