#move-history {

    max-height: 400px;

    overflow-y: auto;

    font-size: 0.95rem;

    line-height: 1.6;
}

.move-entry {

    padding: 6px;

    border-bottom:
        1px solid rgba(255,255,255,0.05);
}

#ai-status {

    color: var(--magenta);

    font-size: 1rem;

    letter-spacing: 2px;
}

.active-option {

    border:
        1px solid #00ffee !important;

    box-shadow:
        0 0 12px #00ffee;

    color:
        #00ffee;
}

#rank-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

    padding: 14px;

    border:

        1px solid
        rgba(0,255,255,0.3);

    background:

        rgba(0,0,0,0.35);

    box-shadow:

        0 0 18px
        rgba(0,255,255,0.15);
}

#rank-emblem {

    font-size: 54px;

    color: #00ffee;

    text-shadow:

        0 0 12px #00ffee;
}

#rank-name {

    font-size: 24px;

    font-weight: bold;

    color: #ffffff;

    letter-spacing: 2px;
}

#rank-rating,
#rank-record,
#rank-progress-text {

    color: #cccccc;
}

#rank-progress-container {

    width: 100%;

    height: 16px;

    background:

        rgba(255,255,255,0.08);

    border:

        1px solid
        rgba(0,255,255,0.25);

    overflow: hidden;
}

#rank-progress-bar {

    width: 0%;

    height: 100%;

    background:

        linear-gradient(
            90deg,
            #00ffee,
            #00aaff
        );

    transition:
        width 0.4s ease;
}

#endgame-modal {

    position: fixed;

    inset: 0;

    background:
        rgba(0,0,0,0.75);

    display: flex;

    justify-content: center;
    align-items: center;

    z-index: 9999;

    backdrop-filter:
        blur(6px);
}

#endgame-content {

    width: 420px;

    padding: 40px;

    border:

        1px solid
        rgba(0,255,255,0.4);

    background:

        linear-gradient(
            180deg,
            rgba(0,20,30,0.95),
            rgba(0,0,0,0.95)
        );

    box-shadow:

        0 0 30px
        rgba(0,255,255,0.2);

    text-align: center;

    animation:
        modalAppear
        0.4s ease;
}

#endgame-title {

    font-size: 52px;

    color: #00ffee;

    text-shadow:
        0 0 18px #00ffee;

    margin-bottom: 20px;
}

#endgame-rating {

    font-size: 28px;

    color: white;

    margin-bottom: 16px;
}

#endgame-rank {

    font-size: 22px;

    color: #cccccc;

    margin-bottom: 30px;
}

#play-again-btn {

    padding:
        14px 28px;

    font-size: 18px;

    border: none;

    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            #00ffee,
            #0088ff
        );

    color: black;

    font-weight: bold;

    transition:
        transform 0.2s ease;
}

#play-again-btn:hover {

    transform:
        scale(1.05);
}

.hidden {

    display: none !important;
}

@keyframes modalAppear {

    from {

        opacity: 0;

        transform:
            scale(0.8);
    }

    to {

        opacity: 1;

        transform:
            scale(1);
    }
}

.promotion-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 8, 18, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.promotion-modal {
    border: 1px solid #00f0ff;
    background: linear-gradient(145deg, #08111f, #12051f);
    box-shadow:
        0 0 24px rgba(0, 240, 255, 0.55),
        inset 0 0 18px rgba(255, 0, 180, 0.18);
    padding: 26px;
    text-align: center;
    color: #e8fbff;
    min-width: 420px;
}

.promotion-modal h2 {
    margin: 0;
    color: #00f0ff;
    letter-spacing: 2px;
}

.promotion-modal p {
    color: #ff4fd8;
    margin-bottom: 20px;
}

.promotion-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.promotion-choice {
    cursor: pointer;
    border: 1px solid rgba(0, 240, 255, 0.7);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 10px;
    transition: 0.15s ease;
}

.promotion-choice:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 0 18px rgba(255, 0, 200, 0.75);
    border-color: #ff4fd8;
}

.promotion-choice img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}

.promotion-choice span {
    font-weight: bold;
    letter-spacing: 1px;
}

#capture-announcer {

    margin-top: 8px;

    padding: 8px 16px;

    min-height: 22px;

    border:
        1px solid rgba(255, 0, 200, 0.45);

    background:
        rgba(20, 0, 35, 0.55);

    color: #ff4fd8;

    text-align: center;

    font-size: 0.9rem;

    letter-spacing: 1px;

    text-shadow:
        0 0 8px rgba(255, 0, 200, 0.9);

    box-shadow:
        inset 0 0 14px rgba(255, 0, 200, 0.15),
        0 0 10px rgba(255, 0, 200, 0.2);
}

.capture-flash {

    animation:
        capturePulse
        0.45s ease;
}

@keyframes capturePulse {

    0% {
        transform: scale(1);
        opacity: 0.65;
    }

    40% {
        transform: scale(1.04);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#match-summary-card {

    display: flex;

    flex-direction: column;

    gap: 10px;

    padding: 14px;

    border:
        1px solid rgba(0, 255, 255, 0.35);

    background:
        rgba(0, 0, 0, 0.35);

    box-shadow:
        inset 0 0 16px rgba(0, 255, 255, 0.08),
        0 0 18px rgba(0, 255, 255, 0.14);
}

.match-summary-row {

    display: flex;

    justify-content: space-between;

    gap: 12px;

    padding-bottom: 6px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.match-summary-row span {

    color: #888;

    font-size: 0.75rem;

    letter-spacing: 1px;
}

.match-summary-row strong {

    color: #00ffee;

    text-align: right;

    font-size: 0.9rem;

    text-shadow:
        0 0 8px rgba(0, 255, 255, 0.65);
}

#summary-lock-status {

    margin-top: 10px;

    padding: 8px;

    text-align: center;

    color: #00ff9f;

    border:
        1px solid rgba(0, 255, 159, 0.35);

    background:
        rgba(0, 255, 159, 0.08);

    font-size: 0.75rem;

    letter-spacing: 1px;
}

#summary-lock-status.locked {

    color: #ff4fd8;

    border-color:
        rgba(255, 79, 216, 0.5);

    background:
        rgba(255, 79, 216, 0.08);

    text-shadow:
        0 0 8px rgba(255, 79, 216, 0.75);
}

.locked-control {

    opacity: 0.55;

    cursor: not-allowed;
}

#analysis-btn,
#analysis-close-btn {

    margin-top: 14px;

    padding:
        14px 28px;

    font-size: 16px;

    border:
        1px solid rgba(255, 79, 216, 0.7);

    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            #ff4fd8,
            #7b2cff
        );

    color: white;

    font-weight: bold;

    letter-spacing: 1px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#analysis-btn:hover,
#analysis-close-btn:hover {

    transform:
        scale(1.05);

    box-shadow:
        0 0 18px rgba(255, 79, 216, 0.75);
}

#analysis-modal {

    position: fixed;

    inset: 0;

    background:
        rgba(0,0,0,0.78);

    display: flex;

    justify-content: center;
    align-items: center;

    z-index: 9999;

    backdrop-filter:
        blur(7px);
}

#analysis-content {

    width: 560px;

    max-height: 88vh;

    overflow-y: auto;

    padding: 36px;

    border:
        1px solid rgba(255, 79, 216, 0.55);

    background:
        linear-gradient(
            180deg,
            rgba(25,0,35,0.97),
            rgba(0,8,18,0.97)
        );

    box-shadow:
        0 0 34px rgba(255, 79, 216, 0.28),
        inset 0 0 20px rgba(0, 255, 255, 0.08);

    text-align: center;

    animation:
        modalAppear
        0.4s ease;
}

#analysis-content h1 {

    color: #00ffee;

    text-shadow:
        0 0 18px #00ffee;

    letter-spacing: 2px;

    margin-bottom: 16px;
}

#analysis-grade {

    font-size: 72px;

    color: #ff4fd8;

    font-weight: bold;

    text-shadow:
        0 0 24px rgba(255, 79, 216, 0.95);
}

#analysis-score {

    color: white;

    font-size: 22px;

    margin-bottom: 24px;
}

#analysis-stats {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;

    margin-bottom: 26px;
}

#analysis-stats div {

    padding: 12px;

    border:
        1px solid rgba(0, 255, 255, 0.25);

    background:
        rgba(0, 255, 255, 0.06);
}

#analysis-stats span {

    display: block;

    color: #888;

    font-size: 0.7rem;

    letter-spacing: 1px;

    margin-bottom: 6px;
}

#analysis-stats strong {

    color: #00ffee;

    font-size: 1.2rem;
}

.analysis-section {

    text-align: left;

    margin-top: 18px;

    padding: 14px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    background:
        rgba(255, 255, 255, 0.03);
}

.analysis-section h2 {

    color: #ff4fd8;

    font-size: 1rem;

    margin-bottom: 10px;

    letter-spacing: 1px;
}

.analysis-section li {

    color: #e8fbff;

    margin-bottom: 8px;

    line-height: 1.35;
}

#rank-icon-container {

    display: flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 12px;
}

#rank-icon {

    width: 130px;

    height: 130px;

    object-fit: contain;

    image-rendering: auto;

    filter:
        drop-shadow(
            0 0 12px rgba(0,255,255,0.45)
        );

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

#rank-icon:hover {

    transform:
        scale(1.05);

    filter:
        drop-shadow(
            0 0 18px rgba(255,0,200,0.75)
        );
}

#chessboard.board-standby {

    opacity: 0.42;

    filter:
        grayscale(0.25)
        brightness(0.75);

    box-shadow:
        0 0 18px rgba(0,229,255,0.12),
        inset 0 0 24px rgba(0,229,255,0.08);

    transition:
        opacity 0.35s ease,
        filter 0.35s ease,
        box-shadow 0.35s ease;
}

#chessboard.board-active {

    opacity: 1;

    filter: none;

    transition:
        opacity 0.35s ease,
        filter 0.35s ease,
        box-shadow 0.35s ease;
}

.piece-spawn-flicker {

    animation:
        pieceSpawnFlicker
        0.75s steps(2, end);
}

@keyframes pieceSpawnFlicker {

    0% {
        opacity: 0;
        filter:
            brightness(2.4)
            drop-shadow(0 0 14px rgba(0,229,255,0.9));
        transform: scale(0.92);
    }

    18% {
        opacity: 1;
    }

    32% {
        opacity: 0.25;
    }

    48% {
        opacity: 1;
        filter:
            brightness(2.2)
            drop-shadow(0 0 18px rgba(255,0,200,0.9));
    }

    64% {
        opacity: 0.4;
    }

    82% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        filter: none;
        transform: scale(1);
    }
}

.online-red-glow {

    border:
        1px solid #ff304f !important;

    color:
        #ff304f !important;

    box-shadow:
        0 0 16px rgba(255, 48, 79, 0.85),
        inset 0 0 12px rgba(255, 48, 79, 0.15) !important;
}

.online-purple-glow {

    border:
        1px solid #b84dff !important;

    color:
        #d79bff !important;

    box-shadow:
        0 0 16px rgba(184, 77, 255, 0.85),
        inset 0 0 12px rgba(184, 77, 255, 0.15) !important;
}

#online-pvp-modal,
#online-placeholder-modal {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(0, 0, 0, 0.78);

    backdrop-filter:
        blur(7px);
}

#online-pvp-content,
#online-placeholder-content {

    width: 560px;

    padding: 34px;

    text-align: center;

    border:
        1px solid rgba(0, 255, 255, 0.55);

    background:
        linear-gradient(
            180deg,
            rgba(8, 12, 30, 0.98),
            rgba(20, 0, 35, 0.98)
        );

    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.22),
        inset 0 0 20px rgba(255, 0, 200, 0.08);

    animation:
        modalAppear
        0.35s ease;
}

#online-pvp-content h1,
#online-placeholder-content h1 {

    color:
        #00ffee;

    letter-spacing:
        2px;

    text-shadow:
        0 0 16px rgba(0, 255, 238, 0.85);
}

#online-pvp-content p,
#online-placeholder-content p {

    color:
        #dbefff;

    line-height:
        1.45;
}

#online-pvp-options {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 14px;

    margin:
        24px 0;
}

.online-pvp-option {

    min-height:
        78px;

    padding:
        12px;

    cursor:
        pointer;

    background:
        rgba(0, 0, 0, 0.38);

    color:
        white;

    font-weight:
        bold;

    letter-spacing:
        1px;
}

.matchmaking-option {

    border:
        1px solid rgba(255, 48, 79, 0.65);

    box-shadow:
        inset 0 0 12px rgba(255, 48, 79, 0.08);
}

.friend-option {

    border:
        1px solid rgba(184, 77, 255, 0.65);

    box-shadow:
        inset 0 0 12px rgba(184, 77, 255, 0.08);
}

.matchmaking-option:hover,
.matchmaking-option.selected-online-option {

    color:
        #ff304f;

    box-shadow:
        0 0 18px rgba(255, 48, 79, 0.8),
        inset 0 0 14px rgba(255, 48, 79, 0.14);
}

.friend-option:hover,
.friend-option.selected-online-option {

    color:
        #d79bff;

    box-shadow:
        0 0 18px rgba(184, 77, 255, 0.8),
        inset 0 0 14px rgba(184, 77, 255, 0.14);
}

#online-pvp-confirm-btn,
#online-placeholder-close-btn {

    margin-top:
        12px;

    padding:
        12px 28px;

    cursor:
        pointer;

    border:
        1px solid rgba(0, 255, 238, 0.7);

    background:
        rgba(0, 255, 238, 0.1);

    color:
        #00ffee;

    font-weight:
        bold;

    letter-spacing:
        1px;
}
.active-timer {

    color:
        #00ffee;

    border-color:
        rgba(0, 255, 238, 0.75);

    box-shadow:
        0 0 14px rgba(0, 255, 238, 0.65),
        inset 0 0 10px rgba(0, 255, 238, 0.15);

    text-shadow:
        0 0 8px rgba(0, 255, 238, 0.85);
}

#online-status-card {

    padding: 14px;

    border: 1px solid rgba(0, 255, 238, 0.45);

    background:
        rgba(8, 12, 30, 0.9);

    box-shadow:
        inset 0 0 14px rgba(0, 255, 238, 0.08),
        0 0 14px rgba(0, 255, 238, 0.12);
}

#online-status-title {

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 6px;
}

#online-status-detail {

    font-size: 0.85rem;

    line-height: 1.35;

    color: rgba(215, 225, 255, 0.82);
}

#online-status-card.online-status {

    border-color:
        rgba(0, 255, 159, 0.7);

    box-shadow:
        0 0 18px rgba(0, 255, 159, 0.28),
        inset 0 0 14px rgba(0, 255, 159, 0.08);
}

#online-status-card.online-status #online-status-title {

    color:
        var(--green);

    text-shadow:
        0 0 10px rgba(0, 255, 159, 0.8);
}

#online-status-card.guest-status {

    border-color:
        rgba(255, 79, 216, 0.55);

    box-shadow:
        0 0 16px rgba(255, 79, 216, 0.18),
        inset 0 0 12px rgba(255, 79, 216, 0.06);
}

#online-status-card.guest-status #online-status-title {

    color:
        #ff4fd8;

    text-shadow:
        0 0 10px rgba(255, 79, 216, 0.75);
}

#resume-match-modal {

    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;

    justify-content: center;
    align-items: center;

    background:
        rgba(0, 0, 0, 0.82);

    backdrop-filter:
        blur(7px);
}

#resume-match-content {

    width: 520px;

    padding: 32px;

    border:
        1px solid rgba(255, 79, 216, 0.75);

    background:
        linear-gradient(
            180deg,
            rgba(8, 12, 30, 0.98),
            rgba(25, 0, 35, 0.98)
        );

    box-shadow:
        0 0 30px rgba(255, 79, 216, 0.28),
        inset 0 0 20px rgba(0, 255, 238, 0.08);

    text-align: center;
}

#resume-match-content h1 {

    color:
        #ff4fd8;

    letter-spacing:
        2px;

    text-shadow:
        0 0 14px rgba(255, 79, 216, 0.85);

    margin-bottom:
        18px;
}

#resume-match-content p {

    color:
        rgba(215, 225, 255, 0.86);

    line-height:
        1.5;

    margin-bottom:
        24px;
}

#resume-match-btn {

    border-color:
        var(--green);

    color:
        var(--green);

    background:
        rgba(0, 255, 159, 0.08);
}

#resume-surrender-btn {

    margin-top:
        12px;

    border-color:
        rgba(255, 80, 80, 0.75);

    color:
        #ff8080;

    background:
        rgba(80, 0, 0, 0.16);
}

#resume-surrender-btn:hover {

    box-shadow:
        0 0 18px rgba(255, 80, 80, 0.45);
}

#account-required-modal {

    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        rgba(0, 0, 0, 0.82);

    backdrop-filter:
        blur(7px);
}

#account-required-content {

    position: relative;

    width: 520px;

    padding: 32px;

    border:
        1px solid rgba(255, 79, 216, 0.75);

    background:
        linear-gradient(
            180deg,
            rgba(8, 12, 30, 0.98),
            rgba(25, 0, 35, 0.98)
        );

    box-shadow:
        0 0 30px rgba(255, 79, 216, 0.28),
        inset 0 0 20px rgba(0, 255, 238, 0.08);

    text-align: center;
}

#account-required-content h1 {

    color:
        #ff4fd8;

    letter-spacing:
        2px;

    text-shadow:
        0 0 14px rgba(255, 79, 216, 0.85);
}

#account-required-content p {

    color:
        rgba(215, 225, 255, 0.86);

    line-height:
        1.5;

    margin:
        20px 0;
}

#account-required-close-btn {

    position: absolute;

    top: 10px;
    right: 12px;

    width: 34px;
    height: 34px;
}

#account-required-ok-btn {

    border-color:
        var(--green);

    color:
        var(--green);

    background:
        rgba(0, 255, 159, 0.08);
}

#endgame-detail {
    color: #ff4fd8;
    text-align: center;
    margin-top: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.party-code-display {
    font-size: 2rem;
    letter-spacing: 0.3em;
    text-align: center;
    margin: 1rem 0;
    color: #ff4fd8;
}

.party-code-input {
    width: 100%;
    padding: 0.8rem;
    text-align: center;
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.waiting-text {
    text-align: center;
    opacity: 0.8;
}

#rank-mode-label {
    color: #00f5ff;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.35rem;
}

#rank-mode-toggle {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
    margin: 0.4rem auto;
    display: block;
    cursor: pointer;
}

#system-error-modal {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0,0,0,.8);
    z-index: 9999;
}

.system-error-content {
    width: 420px;
    max-width: 90%;

    padding: 24px;

    border: 2px solid #ff3b3b;
    background: #0b0f18;

    text-align: center;

    box-shadow:
        0 0 20px rgba(255,0,0,.35);
}

.system-error-content h1 {
    color: red;
}

#endgame-history-btn,
#current-history-analysis-btn,
#current-history-play-again-btn,
#current-history-close-btn {
    margin-top: 14px;

    padding:
        14px 28px;

    font-size: 16px;

    border:
        1px solid rgba(0, 229, 255, 0.7);

    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            #00ffee,
            #0088ff
        );

    color: black;

    font-weight: bold;

    letter-spacing: 1px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#endgame-history-btn:hover,
#current-history-analysis-btn:hover,
#current-history-play-again-btn:hover,
#current-history-close-btn:hover {
    transform:
        scale(1.05);

    box-shadow:
        0 0 18px rgba(0, 229, 255, 0.75);
}

#current-match-history-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        rgba(0, 0, 0, 0.85);

    backdrop-filter:
        blur(6px);
}

#current-match-history-content {
    width: 620px;
    max-width: 92vw;
    max-height: 85vh;

    padding: 28px;

    overflow-y: auto;

    border:
        1px solid rgba(0, 229, 255, 0.7);

    background:
        linear-gradient(
            180deg,
            rgba(0, 20, 30, 0.97),
            rgba(0, 0, 0, 0.97)
        );

    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.25);

    text-align: center;
}

#current-match-history-list {
    margin-top: 20px;
    margin-bottom: 20px;

    max-height: 45vh;
    overflow-y: auto;

    text-align: left;
}

.current-history-entry {
    padding: 8px 10px;

    border-bottom:
        1px solid rgba(0, 229, 255, 0.18);

    color: rgba(230, 245, 255, 0.95);

    font-family:
        monospace;
}

.matchmaking-spinner {
    width: 72px;
    height: 72px;

    margin: 20px auto;

    border:
        4px solid rgba(0,229,255,0.2);

    border-top:
        4px solid #00e5ff;

    border-radius: 50%;

    animation:
        spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }
}

#view-opponent-profile-btn {
    margin-top: 14px;
    width: 100%;

    padding: 12px;

    border: 1px solid rgba(0, 229, 255, 0.65);

    background:
        rgba(0, 229, 255, 0.08);

    color: #00ffee;

    font-weight: bold;

    cursor: pointer;
}

#view-opponent-profile-btn:hover {
    box-shadow:
        0 0 14px rgba(0, 229, 255, 0.55);
}

#opponent-profile-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        rgba(0, 0, 0, 0.82);

    backdrop-filter:
        blur(7px);
}

#opponent-profile-content {
    position: relative;

    width: 620px;
    max-width: 92vw;

    padding: 30px;

    border:
        1px solid rgba(0, 255, 238, 0.7);

    background:
        rgba(8, 12, 30, 0.98);

    box-shadow:
        0 0 30px rgba(0, 255, 238, 0.25);

    text-align: center;
}

#opponent-profile-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;

    width: 34px;
    height: 34px;
}

#opponent-profile-identity {
    margin-bottom: 22px;

    color: var(--text);

    line-height: 1.8;
}

#opponent-rank-card {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 14px;
}

#opponent-rank-img {
    max-width: 160px;
    height: auto;

    filter:
        drop-shadow(0 0 14px rgba(0, 229, 255, 0.5));
}

#opponent-rank-name {
    margin-top: 10px;

    color: var(--green);

    font-size: 1.3rem;
    font-weight: bold;
}

#opponent-rank-rating,
#opponent-rank-record {
    margin-top: 8px;

    color: rgba(215, 225, 255, 0.85);
}

body {

    --player-info-accent:
        #ff00aa;

    --player-info-glow:
        rgba(
            255,
            0,
            170,
            0.42
        );

    --player-info-border:
        rgba(
            255,
            0,
            170,
            0.36
        );

    --player-info-soft:
        rgba(
            255,
            0,
            170,
            0.07
        );
}