/* Cobblemon Ranked PvP replay viewer — site chrome.
 * Showdown's battle.css supplies the in-battle styles; this file only
 * styles the page frame around the embedded battle widget. */

html, body {
    margin: 0;
    padding: 0;
    background: #0d1117;
    color: #e6edf3;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
}

.ps-frame {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.rpv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #161b22;
    border-bottom: 1px solid #30363d;
}

.rpv-brand {
    color: #f0883e;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.4px;
}

.rpv-meta {
    color: #8b949e;
    font-size: 13px;
}

#rpv-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

#rpv-battle {
    width: 100%;
    max-width: 980px;
}

#rpv-loading,
#rpv-error {
    color: #8b949e;
    font-size: 14px;
}

#rpv-error {
    color: #f85149;
}

.rpv-footer {
    padding: 10px 18px;
    background: #161b22;
    border-top: 1px solid #30363d;
    color: #6e7681;
    font-size: 12px;
    text-align: center;
}
