/* Illustrated game worlds; interface panels stay opaque for readability. */
.tournaments-page{background:#f5f1e8}
.tournaments-page body{background-color:#f5f1e8;background-image:linear-gradient(90deg,#f5f1e817,#f7f6ef66 30%,#f7f6ef66 70%,#f5f1e817),url('assets/fondo-torneos.webp');background-position:center;background-size:cover;background-attachment:fixed;background-repeat:no-repeat}
.tournaments-page header{background:#fffffff5}
.tournaments-page .hero,.tournaments-page .panel{box-shadow:0 5px 22px #214d4020}
.tournaments-page .welcome-hero{background:#fffbf2f5;border-color:#e3dbc5}
.tournaments-page .entry-switch{background:#fffffff0;border:1px solid #dbe5d9;border-radius:14px;padding:8px;box-shadow:0 3px 14px #183f4510}
.tournaments-page .saved-access-panel{background:#fffffff0}
.games-page{background:#0b343b}
.games-page body{background-color:#0b343b;background-image:linear-gradient(90deg,#062b3666,#062b3630 30%,#062b3630 70%,#062b3666),url('assets/fondo-mesa-juegos.webp');background-position:center;background-size:cover;background-repeat:no-repeat;background-attachment:fixed}
.games-page .welcome-hero{background:linear-gradient(90deg,#082f3be6,#082f3b20);border-radius:0 0 28px 28px}
.games-page .originals-heading{background:#082f3bd9;border-radius:16px;padding:18px 22px;margin-bottom:16px;backdrop-filter:blur(4px)}
.games-page .student-game{background-color:#123d44;background-image:linear-gradient(110deg,#07343d55,#07343d1c 48%,#07343d55),url('assets/fondo-mesa-juegos.webp');background-size:cover;background-position:center;background-repeat:no-repeat;backdrop-filter:none}
.games-page .student-game:has(.table-cards){background-image:linear-gradient(110deg,#40213766,#062f3e25 50%,#40213766),url('assets/fondo-mesa-juegos.webp')}
.games-page .student-game:has(.checker-board){background-image:linear-gradient(110deg,#1f254766,#092f3b20 50%,#1f254766),url('assets/fondo-mesa-juegos.webp')}
.games-page .in-room .welcome-hero{background:#082f3be6}
@media(max-width:700px){.tournaments-page body{background-image:linear-gradient(#f7f5ed44,#f7f5ed88),url('assets/fondo-torneos.webp');background-size:auto 100dvh;background-attachment:scroll;background-position:center top}.games-page body{background-attachment:scroll;background-size:auto 100dvh;background-repeat:repeat-y}.games-page .student-game{background-size:auto 100%;background-position:center}.games-page .originals-heading{padding:14px 16px}.tournaments-page .entry-switch{padding:6px}}
@media(prefers-reduced-motion:reduce){.games-page body,.tournaments-page body{background-attachment:scroll}}
@media print{.tournaments-page body,.games-page body{background:#fff!important}}
.games-page .student-game .game-toolbar{background:#07313bdc;border-radius:12px;padding:5px 10px;box-shadow:0 3px 12px #001d2733}.games-page .student-game .match-info{background:#07313bdc;border-radius:8px;padding:3px 10px;color:#edf7ee}

/* Large illustrated role choices. */
.tournaments-page .entry-switch{display:grid;grid-template-columns:1fr 1fr;gap:18px;background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 24px}
.tournaments-page .entry-switch a{display:flex;align-items:center;gap:20px;min-width:0;min-height:146px;padding:16px 22px;background:#fffdfa;border:2px solid #d7e2d9;border-radius:20px;box-shadow:0 5px 18px #173f4215;color:#204c51;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.tournaments-page .entry-switch a:hover{border-color:#69a997;box-shadow:0 6px 22px #173f4228;background:#fff}
.tournaments-page .entry-switch a[aria-current]{background:#f0f8f1;border-color:#398e79;box-shadow:0 0 0 3px #c5e3d75c,0 5px 18px #173f4215}
.tournaments-page .entry-switch .entry-portrait{width:112px;height:112px;flex:0 0 112px;object-fit:cover;border-radius:17px;background:#e7f1e9}
.tournaments-page .entry-switch .entry-copy{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}
.tournaments-page .entry-switch .entry-copy strong{font-size:clamp(25px,2.5vw,34px);line-height:1.12;font-weight:800;letter-spacing:-.7px;color:#174e50}
.tournaments-page .entry-switch .entry-copy>span{font-size:15px;line-height:1.45;color:#58736d;font-weight:500;margin:0}
.tournaments-page .entry-switch .entry-arrow{margin-left:auto;font-size:27px;color:#317d6c;flex-shrink:0}
@media(max-width:850px){.tournaments-page .entry-switch a{gap:14px;padding:14px;min-height:125px}.tournaments-page .entry-switch .entry-portrait{width:85px;height:96px;flex-basis:85px}.tournaments-page .entry-switch .entry-copy strong{font-size:26px}.tournaments-page .entry-switch .entry-copy>span{font-size:13px}.tournaments-page .entry-switch .entry-arrow{display:none}}
@media(max-width:550px){.tournaments-page .entry-switch{gap:12px}.tournaments-page .entry-switch a{flex-direction:column;align-items:flex-start;gap:12px;padding:14px;min-height:220px;border-radius:17px}.tournaments-page .entry-switch .entry-portrait{width:80px;height:80px;flex:0 0 80px;border-radius:14px}.tournaments-page .entry-switch .entry-copy{gap:6px}.tournaments-page .entry-switch .entry-copy strong{font-size:25px;letter-spacing:-.5px}.tournaments-page .entry-switch .entry-copy>span{font-size:12px;line-height:1.4}}
@media(max-width:350px){.tournaments-page .entry-switch{grid-template-columns:1fr}.tournaments-page .entry-switch a{flex-direction:row;min-height:120px;align-items:center}.tournaments-page .entry-switch .entry-copy strong{font-size:26px}}
