
    .gb, .gb * { box-sizing: border-box; }
    .gb [hidden] { display: none !important; }
    .gb {
        max-width: 880px;
        margin: 0 auto;
        padding: 14px;
        border-radius: 22px;
        color: #e9f1ff;
        font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
        background:
            radial-gradient(ellipse at 20% 0%, rgba(64, 140, 255, .28), transparent 55%),
            radial-gradient(ellipse at 90% 100%, rgba(61, 220, 151, .20), transparent 55%),
            linear-gradient(160deg, #0c1838, #070d22 60%, #081a26);
        box-shadow: 0 18px 50px rgba(5, 12, 35, .45), inset 0 0 0 1px rgba(140, 190, 255, .14);
    }
    .gb-cabecera { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    .gb-logo { width: 40px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(80, 200, 255, .45)); }
    .gb-titulo { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
    .gb-titulo strong {
        font-size: 1.55rem; letter-spacing: .02em;
        background: linear-gradient(90deg, #5aa9ff, #44e0c0 55%, #8cf08f);
        -webkit-background-clip: text; background-clip: text; color: transparent;
    }
    .gb-titulo span { font-size: .8rem; color: #9fb3d9; }
    .gb-marcador { display: flex; gap: 8px; }
    .gb-dato {
        display: flex; flex-direction: column; align-items: center; min-width: 64px;
        padding: 5px 10px; border-radius: 12px;
        background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(160, 200, 255, .16);
    }
    .gb-dato small { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: #8fa6cf; }
    .gb-dato b { font-size: 1.05rem; color: #fff; }
    .gb-vidas { color: #ff6b8a !important; letter-spacing: .1em; }
    .gb-barra { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; }
    .gb-boton {
        appearance: none; border: 0; cursor: pointer;
        padding: 7px 14px; border-radius: 999px; font: inherit; font-size: .86rem; color: #e9f1ff;
        background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(160, 200, 255, .22);
        transition: background .15s, transform .1s;
    }
    .gb-boton:hover { background: rgba(255, 255, 255, .16); }
    .gb-boton:active { transform: scale(.97); }
    .gb-boton:focus-visible { outline: 2px solid #5aa9ff; outline-offset: 2px; }
    .gb-boton[aria-pressed="true"] { background: linear-gradient(90deg, rgba(90, 169, 255, .5), rgba(68, 224, 192, .5)); }
    .gb-boton-grande {
        padding: 11px 26px; font-size: 1rem; font-weight: 600; color: #04122a;
        background: linear-gradient(90deg, #5aa9ff, #44e0c0); box-shadow: 0 6px 22px rgba(68, 200, 220, .35);
    }
    .gb-boton-grande:hover { background: linear-gradient(90deg, #7bbcff, #66ecd0); }
    .gb-escena { position: relative; border-radius: 16px; overflow: hidden; }
    .gb-lienzo { display: block; margin: 0 auto; width: 100%; touch-action: manipulation; cursor: pointer; }
    .gb-capa {
        position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
        padding: 14px; background: rgba(4, 10, 28, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    }
    .gb-tarjeta {
        width: 100%; max-width: 520px; max-height: 100%; overflow: auto; text-align: center;
        padding: 20px 22px; border-radius: 18px;
        background: linear-gradient(160deg, rgba(22, 40, 84, .96), rgba(10, 22, 50, .96));
        box-shadow: 0 16px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(140, 190, 255, .22);
    }
    .gb-tarjeta h3 { margin: 0 0 8px; font-size: 1.35rem; color: #fff; }
    .gb-tarjeta p { margin: 0 0 12px; color: #c4d3f0; line-height: 1.45; }
    .gb-tarjeta .gb-acciones { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; }
    .gb-tarjeta ul { text-align: left; margin: 0 0 12px; padding-left: 20px; color: #c4d3f0; line-height: 1.45; }
    .gb-tarjeta li { margin-bottom: 6px; }
    .gb-portada-logo { width: 74px; height: 88px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(80, 200, 255, .55)); }
    .gb-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; margin: 10px 0 14px; }
    .gb-celda {
        appearance: none; border: 0; cursor: pointer; font: inherit; color: #fff;
        padding: 9px 4px; border-radius: 12px; background: rgba(255, 255, 255, .08);
        box-shadow: inset 0 0 0 1px rgba(160, 200, 255, .22);
    }
    .gb-celda b { display: block; font-size: 1.1rem; }
    .gb-celda small { display: block; font-size: .62rem; color: #9fb3d9; }
    .gb-celda.gb-hecho { background: linear-gradient(160deg, rgba(68, 224, 192, .35), rgba(90, 169, 255, .25)); }
    .gb-celda:disabled { opacity: .35; cursor: not-allowed; }
    .gb-pie { margin: 10px 0 0; text-align: center; font-size: .74rem; color: #7f93bb; }
    @media (max-width: 560px) {
        .gb { padding: 10px; border-radius: 16px; }
        .gb-titulo strong { font-size: 1.25rem; }
        .gb-dato { min-width: 52px; padding: 4px 6px; }
        .gb-boton { padding: 6px 11px; font-size: .8rem; }
    }
