/* 国际化相关样式 */

/* 头部布局 */
.header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.header-main {
    flex: 1;
    min-width: 200px;
}

.header-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.control-select {
    padding: 6px 10px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.8);
    color: #475569;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}

.control-select:hover {
    border-color: rgba(0,0,0,0.15);
    background: #fff;
}

.control-select:focus {
    border-color: #4ecdc4;
    box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.15);
}

/* 空间站彩蛋 */
.space-station-easter-egg {
    position: relative;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    transition: all 0.3s ease;
    user-select: none;
    flex-shrink: 0;
}

.space-station-easter-egg:hover {
    background: rgba(203, 163, 111, 0.1);
    transform: scale(1.1) rotate(-5deg);
}

.space-station-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(255,255,255,0.98);
    border: 1px solid #c3bcad;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    padding: 14px 16px;
    min-width: 220px;
    max-width: 280px;
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.25s ease;
    z-index: 100;
    pointer-events: none;
}

.space-station-easter-egg:hover .space-station-tooltip,
.space-station-easter-egg.active .space-station-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sst-title {
    font-weight: 700;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.sst-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #cba36f;
    font-family: monospace;
}

.sst-price span {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-left: 4px;
    font-weight: normal;
}

.sst-joke {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #64748b;
    border-left: 3px solid #cba36f;
    padding-left: 10px;
    font-style: italic;
}

/* 移动端适配 */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .control-select {
        flex: 1;
        font-size: 0.8rem;
    }

    .space-station-easter-egg {
        font-size: 1.5rem;
        align-self: flex-start;
    }

    .space-station-tooltip {
        left: 0;
        right: auto;
        max-width: calc(100vw - 40px);
    }
}
