:root {
    --eau-bg: #100f0d;
    --eau-panel: #191713;
    --eau-panel-soft: #242017;
    --eau-text: #f4ead1;
    --eau-muted: #c7b98e;
    --eau-accent: #b68b2c;
    --eau-border: rgba(246, 224, 168, .22);
}

body.eau-ajedrez-page,
.eau-ajedrez-page {
    margin: 0;
    background: var(--eau-bg);
    color: var(--eau-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eau-ajedrez-app {
    min-height: 100vh;
    padding: clamp(18px, 4vw, 56px);
    box-sizing: border-box;
}

.eau-ajedrez-hero {
    display: grid;
    grid-template-columns: minmax(260px, 560px) minmax(280px, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto 42px;
}

.eau-ajedrez-hero__image-wrap,
.eau-ajedrez-section,
.eau-ajedrez-modal__dialog {
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.15)), var(--eau-panel);
    border: 1px solid var(--eau-border);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.eau-ajedrez-hero__image-wrap {
    overflow: hidden;
}

.eau-ajedrez-hero__image,
.eau-ajedrez-rules-image {
    display: block;
    width: 100%;
    height: auto;
}

.eau-ajedrez-kicker {
    color: var(--eau-accent);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 700;
}

.eau-ajedrez-hero h1 {
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: .96;
    margin: 0 0 18px;
}

.eau-ajedrez-hero p {
    color: var(--eau-muted);
    font-size: 1.06rem;
    line-height: 1.6;
}

.eau-ajedrez-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.eau-ajedrez-button {
    border: 1px solid var(--eau-border);
    border-radius: 999px;
    padding: 12px 18px;
    background: var(--eau-panel-soft);
    color: var(--eau-text);
    cursor: pointer;
    font-weight: 700;
}

.eau-ajedrez-button:hover:not(:disabled),
.eau-ajedrez-button:focus-visible:not(:disabled) {
    border-color: var(--eau-accent);
}

.eau-ajedrez-button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.eau-ajedrez-button--primary {
    background: var(--eau-accent);
    color: #171107;
    border-color: var(--eau-accent);
}

.eau-ajedrez-button--small {
    padding: 8px 13px;
    font-size: .9rem;
}

.eau-ajedrez-button--danger {
    border-color: rgba(212, 76, 63, .7);
    color: #ffd9d4;
}

.eau-ajedrez-notice {
    border-left: 3px solid var(--eau-accent);
    padding-left: 14px;
}

.eau-ajedrez-section {
    max-width: 1180px;
    margin: 0 auto 24px;
    padding: clamp(18px, 3vw, 30px);
}

.eau-ajedrez-section h2 {
    margin-top: 0;
}

.eau-ajedrez-game-list {
    display: grid;
    gap: 12px;
}

.eau-ajedrez-game-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, auto) auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--eau-border);
    border-radius: 16px;
    background: rgba(255,255,255,.03);
}

.eau-ajedrez-game-row span {
    display: block;
    color: var(--eau-muted);
    margin-top: 3px;
}

.eau-ajedrez-game-row--mine {
    border-color: var(--eau-accent);
    background: rgba(182, 139, 44, .14);
}

.eau-ajedrez-turn--mine {
    color: var(--eau-accent);
    font-weight: 800;
}

.eau-ajedrez-modal-open {
    overflow: hidden;
}

.eau-ajedrez-modal[aria-hidden="true"] {
    display: none;
}

.eau-ajedrez-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0,0,0,.72);
    box-sizing: border-box;
}

.eau-ajedrez-modal__dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: clamp(18px, 4vw, 34px);
    box-sizing: border-box;
}

.eau-ajedrez-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--eau-border);
    background: var(--eau-panel-soft);
    color: var(--eau-text);
    font-size: 26px;
    cursor: pointer;
}

.eau-ajedrez-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.eau-ajedrez-form {
    display: grid;
    gap: 16px;
}

.eau-ajedrez-form input[type="text"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--eau-border);
    background: #0f0d0a;
    color: var(--eau-text);
    margin-top: 6px;
}

.eau-ajedrez-modal--fullscreen {
    padding: 0;
}

.eau-ajedrez-game-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
}

.eau-ajedrez-game-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.eau-ajedrez-game-header .eau-ajedrez-modal__close {
    position: static;
    flex: 0 0 auto;
}

.eau-ajedrez-game-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    justify-content: space-between;
    gap: clamp(18px, 2.5vw, 34px);
    align-items: start;
}

.eau-ajedrez-board {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    aspect-ratio: 1 / 1;
    width: 100%;
    border: 3px solid var(--eau-border);
    border-radius: 18px;
    overflow: hidden;
}

.eau-ajedrez-square {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border: 0;
    font-size: .76rem;
    color: rgba(255,255,255,.42);
    box-sizing: border-box;
}

.eau-ajedrez-square.is-light {
    background: #d1bc87;
}

.eau-ajedrez-square.is-dark {
    background: #5a3f22;
}

.eau-ajedrez-side-panel {
    justify-self: end;
    width: 100%;
    border: 1px solid var(--eau-border);
    border-radius: 18px;
    padding: 18px;
    background: rgba(0,0,0,.22);
}

@media (max-width: 840px) {
    .eau-ajedrez-hero,
    .eau-ajedrez-game-layout,
    .eau-ajedrez-rules-grid,
    .eau-ajedrez-game-row {
        grid-template-columns: 1fr;
    }
}

.eau-ajedrez-form fieldset {
    border: 1px solid var(--eau-border);
    border-radius: 14px;
    padding: 14px;
}

.eau-ajedrez-form fieldset label {
    display: block;
    margin: 8px 0;
}

.eau-ajedrez-form-message {
    min-height: 1.4em;
    color: var(--eau-accent);
    font-weight: 700;
}

.eau-ajedrez-board-wrap {
    min-width: 0;
    width: min(100%, calc(100vh - 178px));
    margin: 0 auto;
}

.eau-ajedrez-square {
    position: relative;
    min-width: 0;
    min-height: 0;
    padding: 0;
    cursor: default;
}

.eau-ajedrez-square-label {
    position: absolute;
    left: 4px;
    top: 3px;
    color: rgba(0,0,0,.45);
    font-size: clamp(.48rem, 1.1vw, .72rem);
    font-weight: 800;
    pointer-events: none;
}

.eau-ajedrez-square.is-dark .eau-ajedrez-square-label {
    color: rgba(255,255,255,.5);
}

.eau-ajedrez-piece {
    display: block;
    width: min(80%, 74px);
    height: min(80%, 74px);
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,.35));
    pointer-events: none;
}

.eau-ajedrez-game-log {
    display: grid;
    gap: 10px;
    max-height: 44vh;
    overflow: auto;
    padding-right: 4px;
}

.eau-ajedrez-log-entry {
    padding: 10px;
    border: 1px solid var(--eau-border);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    color: var(--eau-muted);
    line-height: 1.45;
}

.eau-ajedrez-log-entry .fecha,
.eau-ajedrez-log-entry font.fecha {
    color: var(--eau-accent);
    font-size: .88rem;
}

/* Fase 3/4: tablero completo, modo lectura/jugador y movimiento */
.eau-ajedrez-board-column {
    min-width: 0;
    display: grid;
    justify-items: center;
}

.eau-ajedrez-board-toolbar {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(180px, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: min(100%, calc(100vh - 178px));
    margin-bottom: 12px;
    color: var(--eau-muted);
    font-size: .94rem;
}

.eau-ajedrez-selected-piece {
    text-align: right;
}

.eau-ajedrez-board-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

[data-eau-collapse-board] {
    display: none;
}

.eau-ajedrez-game-dialog.is-board-expanded {
    display: grid;
    place-items: center;
    padding: 18px;
}

.eau-ajedrez-game-dialog.is-board-expanded .eau-ajedrez-game-header,
.eau-ajedrez-game-dialog.is-board-expanded .eau-ajedrez-game-alert,
.eau-ajedrez-game-dialog.is-board-expanded .eau-ajedrez-side-panel,
.eau-ajedrez-game-dialog.is-board-expanded .eau-ajedrez-captured,
.eau-ajedrez-game-dialog.is-board-expanded #eau-ajedrez-board-orientation,
.eau-ajedrez-game-dialog.is-board-expanded #eau-ajedrez-selected-piece {
    display: none;
}

.eau-ajedrez-game-dialog.is-board-expanded .eau-ajedrez-game-layout {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    width: 100%;
}

.eau-ajedrez-game-dialog.is-board-expanded .eau-ajedrez-board-column {
    width: 100%;
    justify-items: center;
}

.eau-ajedrez-game-dialog.is-board-expanded .eau-ajedrez-board-toolbar {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    width: auto;
    margin: 0;
}

.eau-ajedrez-game-dialog.is-board-expanded [data-eau-expand-board] {
    display: none;
}

.eau-ajedrez-game-dialog.is-board-expanded [data-eau-collapse-board] {
    display: inline-flex;
}

.eau-ajedrez-game-dialog.is-board-expanded .eau-ajedrez-board-wrap {
    width: min(96vw, calc(100vh - 44px));
}

.eau-ajedrez-square.is-selectable {
    cursor: pointer;
}

.eau-ajedrez-square.is-selectable:hover,
.eau-ajedrez-square.is-selectable:focus-visible {
    outline: 3px solid var(--eau-accent);
    outline-offset: -3px;
}

.eau-ajedrez-square.is-selected {
    box-shadow: inset 0 0 0 4px #f4ead1;
}

.eau-ajedrez-square.is-last-from::after,
.eau-ajedrez-square.is-last-to::after {
    content: '';
    position: absolute;
    inset: 8%;
    border: 3px solid rgba(246, 224, 168, .72);
    border-radius: 10px;
    pointer-events: none;
}

.eau-ajedrez-square.is-last-to::after {
    border-color: rgba(182, 139, 44, .95);
}

.eau-ajedrez-captured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.eau-ajedrez-captured > div,
.eau-ajedrez-last-move {
    border: 1px solid var(--eau-border);
    border-radius: 14px;
    padding: 12px;
    background: rgba(0,0,0,.18);
}

.eau-ajedrez-captured h4 {
    margin: 0 0 8px;
    color: var(--eau-accent);
    font-size: .92rem;
}

.eau-ajedrez-captured p,
.eau-ajedrez-last-move p {
    margin: 4px 0;
    color: var(--eau-muted);
}

.eau-ajedrez-captured-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.eau-ajedrez-captured-list img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: .82;
    filter: grayscale(.15) drop-shadow(0 2px 4px rgba(0,0,0,.35));
}

.eau-ajedrez-piece--white {
    transform: translateY(1px);
}

.eau-ajedrez-piece--black {
    transform: translateY(1px);
}

@media (max-width: 840px) {
    .eau-ajedrez-board-toolbar,
    .eau-ajedrez-captured {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .eau-ajedrez-selected-piece {
        text-align: left;
    }
}

.eau-ajedrez-square.is-move-target {
    cursor: crosshair;
}

.eau-ajedrez-square.is-move-target::before {
    content: '';
    position: absolute;
    width: 22%;
    height: 22%;
    border-radius: 999px;
    background: rgba(246, 224, 168, .38);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Fase 5: UX, avisos, promoción visual e interfaz responsive pulida */
.eau-ajedrez-loading {
    color: var(--eau-muted);
    margin: 0;
}

.eau-ajedrez-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--eau-border);
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 800;
    font-size: .82rem;
    background: rgba(255,255,255,.05);
}

.eau-ajedrez-badge--turn,
.eau-ajedrez-badge.is-check {
    color: #171107;
    background: var(--eau-accent);
    border-color: var(--eau-accent);
}

.eau-ajedrez-badge.is-mate {
    background: #6e1d16;
    border-color: #b94b3f;
    color: #fff1ea;
}

.eau-ajedrez-badge.is-draw {
    background: rgba(123, 158, 183, .18);
    border-color: rgba(123, 158, 183, .55);
    color: #e5f4ff;
}

.eau-ajedrez-game-alert {
    border: 1px solid var(--eau-border);
    border-left-width: 5px;
    border-radius: 16px;
    padding: 13px 16px;
    margin-bottom: 18px;
    background: rgba(255,255,255,.04);
    color: var(--eau-text);
    font-weight: 750;
}

.eau-ajedrez-game-alert.is-turn {
    border-left-color: var(--eau-accent);
}

.eau-ajedrez-game-alert.is-check {
    border-left-color: #f1b42f;
    background: rgba(241,180,47,.14);
}

.eau-ajedrez-game-alert.is-mate {
    border-left-color: #d44c3f;
    background: rgba(212,76,63,.16);
}

.eau-ajedrez-status-card {
    border: 1px solid var(--eau-border);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
    background: rgba(255,255,255,.045);
}

.eau-ajedrez-status-card__label {
    display: block;
    color: var(--eau-muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 4px;
}

.eau-ajedrez-status-card strong {
    font-size: 1.22rem;
}

.eau-ajedrez-status-card.is-check strong {
    color: #f1b42f;
}

.eau-ajedrez-status-card.is-mate strong {
    color: #ff9d91;
}

.eau-ajedrez-share {
    margin-top: 14px;
}

.eau-ajedrez-square.is-move-target:not(.is-selectable):hover,
.eau-ajedrez-square.is-move-target:not(.is-selectable):focus-visible {
    outline: 3px solid rgba(246, 224, 168, .9);
    outline-offset: -3px;
}

.eau-ajedrez-square.is-king-in-check::after {
    content: '';
    position: absolute;
    inset: 5%;
    border: 4px solid rgba(212,76,63,.95);
    border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(212,76,63,.45), 0 0 18px rgba(212,76,63,.42);
    pointer-events: none;
}

.eau-ajedrez-modal--promotion {
    z-index: 1000000;
    background: rgba(0,0,0,.82);
}

.eau-ajedrez-promotion-dialog {
    width: min(620px, 100%);
}

.eau-ajedrez-promotion-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.eau-ajedrez-promotion-option {
    display: grid;
    gap: 6px;
    text-align: left;
    border: 1px solid var(--eau-border);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255,255,255,.045);
    color: var(--eau-text);
    cursor: pointer;
}

.eau-ajedrez-promotion-option:hover,
.eau-ajedrez-promotion-option:focus-visible {
    border-color: var(--eau-accent);
    background: rgba(182,139,44,.15);
}

.eau-ajedrez-promotion-option strong {
    color: var(--eau-accent);
    font-size: 1.08rem;
}

.eau-ajedrez-promotion-option span {
    color: var(--eau-muted);
    font-size: .92rem;
}

.eau-ajedrez-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000001;
    max-width: min(420px, calc(100vw - 40px));
    border: 1px solid var(--eau-border);
    border-radius: 16px;
    padding: 14px 16px;
    background: #17130d;
    color: var(--eau-text);
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
    transform: translateY(24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.eau-ajedrez-route.site-content{display:grid;grid-template-columns:minmax(0,1fr) var(--sidebar-width,280px);gap:var(--content-gap,2rem);padding-top:var(--space-xl,2rem);padding-bottom:var(--space-3xl,4rem);align-items:start}
.eau-ajedrez-route .content-area{min-width:0}
.eau-ajedrez-article{padding:0;background:transparent;box-shadow:none;overflow:hidden}
.eau-ajedrez-article .entry-content>*{margin-bottom:0}
.eau-ajedrez-route .eau-ajedrez-app{--eau-bg:var(--clr-bg-dark,#ede6db);--eau-panel:#fffaf0;--eau-panel-soft:var(--clr-bg-dark,#ede6db);--eau-text:var(--clr-text,#1a1208);--eau-muted:var(--clr-text-muted,#4a3f35);--eau-accent:var(--clr-accent,#aa5e06);--eau-border:var(--clr-border,#c4b9a8);min-height:auto;padding:clamp(18px,3vw,30px);border-radius:6px;background:var(--clr-bg-dark,#ede6db);color:var(--clr-text,#1a1208);font-family:var(--font-body,Georgia,'Times New Roman',serif)}
.eau-ajedrez-route .eau-ajedrez-hero{grid-template-columns:1fr;gap:24px;margin-bottom:24px}
.eau-ajedrez-route .eau-ajedrez-hero__image-wrap,.eau-ajedrez-route .eau-ajedrez-section{background:#fff;border:1px solid var(--clr-border,#c4b9a8);border-radius:6px;box-shadow:var(--shadow-sm,0 1px 3px rgba(0,0,0,.12))}
.eau-ajedrez-route .eau-ajedrez-hero__image-wrap{display:grid;place-items:center;width:max-content;max-width:100%;margin-inline:auto;padding:18px;background:#050505;border-color:#050505;border-radius:14px}
.eau-ajedrez-route .eau-ajedrez-hero__image{max-height:340px;width:auto;max-width:100%;margin-inline:auto;object-fit:contain}
.eau-ajedrez-route .eau-ajedrez-kicker{color:var(--clr-accent,#aa5e06)}
.eau-ajedrez-route .eau-ajedrez-hero h1{font-size:clamp(2rem,4vw,3.2rem)}
.eau-ajedrez-route .eau-ajedrez-hero p,.eau-ajedrez-route .eau-ajedrez-game-row span{color:var(--clr-text-muted,#4a3f35)}
.eau-ajedrez-route .eau-ajedrez-button{background:var(--clr-bg-dark,#ede6db);color:var(--clr-text,#1a1208);border-color:var(--clr-border,#c4b9a8);border-radius:3px}
.eau-ajedrez-route .eau-ajedrez-button--primary{background:var(--clr-accent,#aa5e06);color:#fff;border-color:var(--clr-accent,#aa5e06)}
.eau-ajedrez-route .eau-ajedrez-game-row{background:var(--clr-bg-dark,#ede6db);border-color:var(--clr-border,#c4b9a8);border-radius:6px}
.eau-ajedrez-route .eau-ajedrez-section{margin-bottom:18px}
.eau-ajedrez-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.eau-ajedrez-stats-grid article{border-top:3px solid var(--clr-accent,#aa5e06);padding-top:10px}
.eau-ajedrez-stats-grid h3{margin:0 0 10px;font-size:1.05rem}
.eau-ajedrez-stats-list{display:grid;gap:7px;margin:0;padding-left:1.4rem}
.eau-ajedrez-stats-list li{padding-bottom:7px;border-bottom:1px solid var(--clr-border,#c4b9a8)}
.eau-ajedrez-stats-list span{display:block;color:var(--clr-text-muted,#4a3f35);font-size:.92rem}
.eau-ajedrez-credit{max-width:1180px;margin:18px auto 0;text-align:center;color:var(--clr-text-muted,#4a3f35)}
@media(max-width:1180px){.eau-ajedrez-route .eau-ajedrez-game-row{grid-template-columns:1fr}.eau-ajedrez-route .eau-ajedrez-rules-grid{grid-template-columns:1fr}}
@media(max-width:720px){.eau-ajedrez-stats-grid{grid-template-columns:1fr}}
@media(max-width:900px){.eau-ajedrez-route.site-content{grid-template-columns:1fr}}
@media(max-width:767px){.eau-ajedrez-route .site-sidebar{display:none!important}}

.eau-ajedrez-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.eau-ajedrez-toast.is-success {
    border-color: rgba(123, 183, 96, .65);
}

.eau-ajedrez-toast.is-error,
.eau-ajedrez-toast.is-mate {
    border-color: rgba(212, 76, 63, .75);
}

.eau-ajedrez-toast.is-check {
    border-color: rgba(241, 180, 47, .75);
}

.eau-ajedrez-toast.is-draw {
    border-color: rgba(123, 158, 183, .75);
}

@media (max-width: 980px) {
    .eau-ajedrez-game-dialog {
        padding: 16px;
    }

    .eau-ajedrez-game-layout {
        grid-template-columns: 1fr;
    }

    .eau-ajedrez-board {
        width: min(100%, 78vh);
        min-width: 0;
        max-width: min(100%, 78vh);
        margin: 0 auto;
    }

    .eau-ajedrez-board-wrap {
        width: 100%;
    }

    .eau-ajedrez-side-panel {
        justify-self: stretch;
    }
}

@media (max-width: 560px) {
    .eau-ajedrez-app {
        padding: 12px;
    }

    .eau-ajedrez-route .eau-ajedrez-app {
        padding: 12px;
    }

    .eau-ajedrez-route .eau-ajedrez-hero__image-wrap {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 10px;
    }

    .eau-ajedrez-route .eau-ajedrez-hero__image {
        width: 100%;
        max-height: 220px;
        object-fit: contain;
    }

    .eau-ajedrez-modal {
        padding: 10px;
    }

    .eau-ajedrez-modal--fullscreen {
        padding: 0;
    }

    .eau-ajedrez-game-header {
        align-items: center;
    }

    .eau-ajedrez-game-header h2 {
        font-size: 1.2rem;
        margin: 0 0 4px;
    }

    .eau-ajedrez-game-header p {
        margin: 0;
        font-size: .86rem;
    }

    .eau-ajedrez-promotion-options {
        grid-template-columns: 1fr;
    }

    .eau-ajedrez-square-label {
        font-size: .48rem;
    }

    .eau-ajedrez-piece {
        width: 86%;
        height: 86%;
    }
}
