/* Shared shell for data-lookup pages (BDP, prize list) that use a
   .wrap container + header + #pageTitle + #langSwitch + back-link.
   Loaded after unified-style.css; overrides unified's flex body layout. */

/* body 背景由 unified-style.css 统一处理。这里仅覆盖 unified 的 flex 布局。 */
body {
    display: block;
}

.wrap { max-width: 1400px; margin: 0 auto; }

header {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

#pageTitle {
    color: #00d4ff;
    font-size: 2.5em;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
    letter-spacing: 2px;
}

#pageSubtitle {
    color: #9fb4c8;
    font-size: 1em;
    font-weight: 500;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

#langSwitch {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
}

#langSwitch .lang-btn {
    background: transparent;
    color: #6a85a0;
    border: none;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    font-family: inherit;
    letter-spacing: 0.8px;
    position: relative;
}

#langSwitch .lang-btn + .lang-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 30%;
    bottom: 30%;
    width: 1px;
    background: rgba(159, 180, 200, 0.25);
}

#langSwitch .lang-btn:hover { color: #9fd4ff; }

#langSwitch .lang-btn.active {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.top-actions {
    text-align: center;
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(138, 43, 226, 0.15));
    color: #00d4ff;
    text-decoration: none;
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.back-link:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(138, 43, 226, 0.25));
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #00a0ff);
    color: #0a0e27;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 212, 255, 0.3);
    z-index: 100;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, #00e4ff, #00b0ff);
}

@media (max-width: 768px) {
    #pageTitle { font-size: 1.8em; }

    #langSwitch {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 8px;
    }
}
