/* widget/desktop.css */
body {
    margin: 0;
    padding: 0;
    font-family: 'Press Start 2P', cursive;
    background: transparent;
    color: white;
    overflow: hidden;
}

.pixel-banner {
    background: #1a252f;
    /* Base Dark Blue */
    /* Optional: Pixel pattern overlay could be added here */
    border: 4px solid #000;
    box-sizing: border-box;
    height: 100vh;
    /* Assuming iframe sets height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

/* HEADER GROUP (Brand & Date) */
.header-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.pixel-date {
    font-size: 0.6rem;
    color: #BDC3C7;
    text-transform: uppercase;
}

.pixel-brand {
    font-size: 1.2rem;
    text-shadow: 2px 2px 0 #000;
    color: #ffd700;
    /* Gold/Yellow for Brand pop */
}

/* CENTER COLUMN */
.col-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#w-question {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 0 20px 0;
    text-shadow: 3px 3px 0 #000;
    line-height: 1.4;
}

.vs-row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 15px;
}

.fighter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pixel-avatar {
    width: 64px;
    height: 144px;
    image-rendering: pixelated;
    filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.5));
}

.pixel-pct {
    text-shadow: 1px 1px 0 #000;
}

/* BARS AREA with STACKS */
.bars-area {
    display: flex;
    align-items: center;
    /* Vertical Center */
    justify-content: center;
    flex: 1;
    max-width: 500px;
    gap: 10px;
}

.bar-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}

.stats-top {
    text-align: center;
    font-size: 1rem;
    text-shadow: 1px 1px 0 #000;
    height: 1.2rem;
    /* Reserve space */
}

.stats-bottom {
    text-align: center;
    font-size: 0.55rem;
    color: #BDC3C7;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #000;
    height: 0.8rem;
    /* Reserve space */
}

.bar-track {
    /* Removed flex: 1 to prevent collapse if parent height is undefined */
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    height: 30px;
    /* Fixed Height */
    border: 3px solid #000;
    position: relative;
    display: flex;
    align-items: center;
}

.track-right {
    justify-content: flex-end;
    /* Align child (bar) to Right */
}

#w-bar-2 {
    /* Newells (Red) */
    height: 100%;
    background: repeating-linear-gradient(45deg, #c0392b, #c0392b 4px, #e74c3c 4px, #e74c3c 8px);
    transition: width 1s ease-out;
}

#w-bar-1 {
    /* Central (Blue) */
    height: 100%;
    background: repeating-linear-gradient(45deg, #f39c12, #f39c12 4px, #f1c40f 4px, #f1c40f 8px);
    transition: width 1s ease-out;
}

.bar-gap {
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    height: 30px;
    /* Match bar height */
    align-self: center;
}

/* TIMER CENTER */
.timer-container-center {
    display: flex;
    flex-direction: row;
    /* Inline */
    align-items: center;
    /* Center Vertically */
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.timer-label {
    font-size: 0.6rem;
    color: #BDC3C7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timer-value {
    font-size: 1rem;
    color: #e74c3c;
    text-shadow: 1px 1px 0 #000;
    font-weight: bold;
}

/* BUTTONS */
.desktop-btn-group {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.pixel-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 0.7rem;
    padding: 10px 15px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    text-shadow: 1px 1px 0 #000;
    text-transform: uppercase;
    transition: transform 0.1s, box-shadow 0.1s;
    text-align: center;
    min-width: 100px;
    line-height: normal;
}

.pixel-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.btn-play {
    background: #27ae60;
    /* Green */
}

.btn-play:hover {
    background: #2ecc71;
}

.btn-help {
    background: #e67e22;
    /* Orange */
}

.btn-help:hover {
    background: #d35400;
}