/* A fixed-viewport arcade console. Real games, real friends, and a shared dance floor. */
html:has(body.console-page) { height: 100%; overflow: clip; overscroll-behavior: none; }
.console-page { position: fixed; inset-inline: 0; top: var(--console-viewport-top,0px); display: flex; flex-direction: column; width: 100%; height: var(--console-viewport,100dvh); max-height: var(--console-viewport,100dvh); margin: 0; overflow: clip; overscroll-behavior: none; --console-edge: rgba(250,247,242,.11); --console-width: 1640px; min-width: 320px; padding-bottom: 0; background: radial-gradient(ellipse at 86% 8%,rgba(120,76,190,.13),transparent 38%), radial-gradient(ellipse at 0 28%,rgba(210,255,77,.035),transparent 40%),var(--night); color: var(--ivory); }
.console-page [hidden] { display: none !important; }
html.has-tabs body.console-page { padding-bottom: 0; }
.console-page :is(a,button,input):focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.console-page :is(button,input) { font-family: var(--font); }
.console-page button { cursor: pointer; }
.console-page button:disabled { cursor: default; opacity: .45; }
.console-page a { text-decoration: none; }
.console-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.console-skip { position: fixed; z-index: 10000; left: 24px; top: -100px; min-height: 48px; padding: 12px 20px; border-radius: 16px; background: var(--lime); color: var(--night); font-weight: 700; }
.console-skip:focus { top: 12px; }

/* The site's account stays intact; console navigation takes the place of the browsing-page menus. */
.console-top.site-top { display: flex; align-items: center; flex-wrap: nowrap; gap: 18px; max-width: var(--console-width); flex: 0 0 72px; width: 100%; height: 72px; min-height: 0; margin: 0 auto; padding: 8px 28px; border-bottom: 1px solid var(--console-edge); }
.console-top .logo { min-height: 48px; font-size: 23px; gap: 9px; flex-shrink: 0; }
.console-top .logo img { height: 48px; }
.console-top-divider { flex: none; align-self: stretch; width: 1px; height: 34px; margin: auto 4px; background: var(--console-edge); }
.console-identity { min-width: 0; }
.console-identity h1 { font: 600 17px/1.35 var(--font-display); }
.console-identity p { color: var(--tx-lo); font-size: 12px; line-height: 18px; margin-top: 3px; }
.console-home { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0; min-height: 48px; margin-left: auto; padding: 8px 12px; color: var(--tx-mid); font-size: 13px; font-weight: 550; border-radius: 999px; }
.console-home:hover { color: var(--ivory); background: var(--bg-2); }
.console-home svg { width: 19px; height: 19px; }
.console-top .site-nav, .console-page > .site-tabs { display: none !important; }
.console-top .party-btn { margin: 0; min-height: 48px; padding: 0 14px; border-radius: 14px; }
.console-top .acct, .console-top .party-btn + .acct { margin-left: 0; flex-shrink: 0; }
.console-top .pab-chipme { min-height: 48px; }
.console-mobile-tabs { display: none; }
.console-layout { --console-divider-width: 28px; display: grid; flex: 1 1 0; min-height: 0; grid-template-columns: minmax(0,var(--console-game-track,11fr)) var(--console-divider-width) minmax(0,var(--console-social-track,14fr)); grid-template-rows: minmax(0,1fr); gap: 0; width: 100%; max-width: var(--console-width); margin: 0 auto; padding: 16px 28px max(16px,env(safe-area-inset-bottom)); overflow: clip; transition: grid-template-columns .42s cubic-bezier(.22,1,.36,1); }
.console-games, .console-social { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: clip; }
.console-games { grid-column: 1; grid-row: 1; padding-right: 14px; }   /* (the same gap on both sides of the divider as the social column's padding-left — the user, 2026-11-26: «esos márgenes que sean iguales») */
.console-social { grid-column: 3; grid-row: 1; padding-left: 14px; container-type: inline-size; }
.console-top .console-home { margin-left: 0; margin-right: auto; }
.console-header-social { display: none; }
.console-friends-close { display: grid; place-items: center; align-self: flex-end; flex: none; width: 48px; height: 48px; margin-bottom: 6px; padding: 0; border: 1px solid var(--console-edge); border-radius: 14px; background: var(--bg-2); color: var(--ivory); }
.console-friends-close svg { width: 20px; height: 20px; }
.console-column-resizer, .console-row-resizer { display: none; }
.console-game-stage { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; width: 100%; height: 100%; border-radius: 24px; overflow: clip; }
.console-page.is-console-playing .console-games > :not(.console-game-stage) { display: none; }
@media (min-width: 1100px) {
  .console-social-nav { display: none !important; }
  .console-header-social { display: flex; align-items: center; gap: 8px; }
  .console-header-social button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--console-edge); border-radius: 14px; background: var(--bg-2); color: var(--ivory); font-size: 13px; font-weight: 600; }
  .console-header-social button[aria-pressed="true"] { color: var(--violet-soft); border-color: var(--violet); }
  .console-header-social :is(.pr-inv,#console-invite) { background: var(--lime); color: var(--night); border-color: var(--lime); }
  /* Fourteen shares become seven: the social pane keeps half its browsing width. */
  .console-page.is-console-playing .console-layout { grid-template-columns: minmax(0,var(--console-game-track,18fr)) var(--console-divider-width) minmax(0,var(--console-social-track,7fr)); }
  .console-page.is-console-playing .console-social-nav { gap: 3px; }
  .console-page.is-console-playing .console-social-nav button { padding-inline: 4px; gap: 4px; font-size: 12px; }
  .console-page.is-console-playing .console-social-nav > .pr-inv { min-width: 68px; margin-left: 0; padding-inline: 8px; }
  .console-page.is-console-playing .pr-left { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto auto auto; }
  .console-page.is-console-playing .pr-left > .pr-room { grid-column: 1; grid-row: 1; }
  .console-page.is-console-playing .pr-left > .pr-status { grid-column: 1; grid-row: 2; text-align: center; }
  .console-page.is-console-playing .pr-left > .pr-bar { grid-column: 1; grid-row: 3; justify-content: center; }
  .console-page.is-console-playing .pr-left > .pr-beatrow { grid-column: 1; grid-row: 4; }
  .console-page.is-console-playing .pr-reaction-tray summary { padding-inline: 6px; font-size: 12px; }
  .console-page.is-console-playing .pr-type { gap: 5px; padding-inline: 8px; }
  .console-page.is-console-playing .pr-type input { padding-inline: 12px; }
  .console-page.is-console-playing .pr-type button { padding-inline: 12px; }
  .console-page.is-console-playing .console-friends .arcade-friends { grid-template-columns: minmax(0,1fr); }
  .console-page.is-console-playing .console-idle-copy { padding-inline: 12px; }
}
@media (min-width: 1100px) and (max-width: 1399px) {
  .console-page.is-console-playing .console-social-nav { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .console-layout { transition: none; } }
.console-pane-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none; min-height: 48px; margin-bottom: 10px; }
.console-pane-heading h2 { font: 600 23px/1.2 var(--font-display); letter-spacing: -.025em; }
.console-pane-heading p { margin-top: 5px; color: var(--tx-lo); font-size: 13px; line-height: 19px; }
.console-selection-count { color: var(--tx-lo); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.console-customize { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--console-edge); border-radius: 999px; color: var(--violet-soft); font-size: 12px; font-weight: 600; text-align: center; }
.console-customize:hover { background: rgba(164,123,255,.1); border-color: var(--violet); }
.console-customize svg { width: 20px; height: 20px; flex: none; }

/* One large piece of real game art, with the action kept inside the selected game's surface. */
.console-feature { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; flex: 1 1 0; min-height: 0; aspect-ratio: auto; border: 1px solid rgba(250,247,242,.16); border-radius: 28px; overflow: hidden; background: #211D2C; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.console-cover-wrap { position: absolute; inset: 0; z-index: -2; }
.console-cover-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: var(--console-cover-position,50% 40%); display: block; }
.console-feature::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,rgba(10,9,16,.12) 0%,transparent 28%,rgba(10,9,16,.18) 43%,rgba(10,9,16,.84) 74%,#0D0D15 100%); pointer-events: none; }
.console-feature::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(250,247,242,.05); border-radius: inherit; pointer-events: none; }
.console-feature-top { display: flex; align-items: start; justify-content: space-between; flex: none; gap: 18px; padding: 16px; }
.console-feature-label { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid rgba(250,247,242,.18); border-radius: 999px; background: rgba(19,19,27,.72); backdrop-filter: blur(8px); color: var(--ivory); font-size: 11px; font-weight: 600; line-height: 18px; }
.console-feature-label::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--lime); }
.console-favorite { display: grid; place-items: center; width: 48px; height: 48px; flex: none; padding: 0; border: 1px solid rgba(250,247,242,.22); border-radius: 50%; background: rgba(19,19,27,.72); backdrop-filter: blur(8px); color: var(--ivory); }
.console-favorite svg { width: 22px; height: 22px; }
.console-favorite:hover { border-color: var(--lime); color: var(--lime); }
.console-favorite[aria-pressed="true"] { color: var(--lime); }
.console-favorite[aria-pressed="true"] svg { fill: currentColor; }
.console-feature-copy { flex: none; padding: 18px 20px; }
.console-feature-copy h3 { max-width: 540px; font: 600 clamp(25px,2.4vw,38px)/1.08 var(--font-display); letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
.console-game-meta { margin-bottom: 9px; color: var(--lime); font-size: 12px; font-weight: 600; line-height: 18px; }
.console-game-meta:empty { display: none; }
.console-game-tagline { max-width: 420px; margin-top: 8px; color: rgba(250,247,242,.8); font-size: 15px; line-height: 21px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.console-feature-actions { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; margin-top: 14px; }
.console-feature .console-play { min-height: 48px; min-width: 0; justify-content: center; padding: 0 8px 0 18px; gap: 12px; font-size: 15px; }
.console-feature .console-play .btn-play-ico { width: 40px; height: 40px; }
.console-feature .console-play .btn-play-ico svg { width: 21px; height: 21px; }
.console-feature .console-play:not(:has(.btn-play-ico)) { padding: 0 26px; }
.console-play-party { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid rgba(250,247,242,.2); border-radius: 999px; color: var(--ivory); background: rgba(250,247,242,.06); font-size: 13px; font-weight: 600; }
.console-play-party svg { width: 20px; height: 20px; flex: none; }
.console-play-party:hover:not(:disabled) { background: rgba(164,123,255,.16); border-color: var(--violet); }
.console-feature-loading { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: 18px; color: var(--tx-lo); font-size: 14px; background: radial-gradient(ellipse at 50% 50%,rgba(164,123,255,.09),transparent 60%),var(--bg-1); }
.console-feature-loading img { object-fit: contain; }
/* The loader of every wait in the console (the user, 2026-11-25: «un preloader divertido como todo lo demás … a todas las cosas que
   requieran una espera colócales un preloader, el clásico que es un anillo dando vueltas»): the mascot bobbing on the lobby's beat
   (120 BPM) inside a ring going round; .is-big for the console's own preloader, with four floor tiles lighting up in turn. */
.console-loader { position: relative; display: grid; place-items: center; width: 112px; height: 112px; flex: none; }
.console-loader img { position: relative; width: 58px; height: auto; animation: console-loader-bob .5s cubic-bezier(.3,0,.4,1) infinite alternate; }
.console-loader-ring { position: absolute; inset: 0; border-radius: 50%; border: 4px solid rgba(164,123,255,.18); border-top-color: var(--lime); border-right-color: var(--violet); animation: console-spin .9s linear infinite; }
.console-loader.is-big { width: 148px; height: 148px; }
.console-loader.is-big img { width: 78px; }
.console-loader .pab-av { position: relative; animation: console-loader-bob .5s cubic-bezier(.3,0,.4,1) infinite alternate; }
@media (prefers-reduced-motion: reduce) { .console-loader .pab-av { animation: none; } }
.console-loader.is-small { width: 44px; height: 44px; }
.console-loader.is-small .console-loader-ring { border-width: 3px; }
@keyframes console-loader-bob { from { transform: translateY(3px) scale(1.04,.95); } to { transform: translateY(-7px) scale(.97,1.03); } }
.console-boot { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px;
  background: radial-gradient(ellipse at 50% 42%, rgba(164,123,255,.16), transparent 62%), var(--night, #13131B); color: var(--ivory); text-align: center;
  animation: console-boot-in .25s ease-out both; }
/* The preloader first, then the party room comes in (the user, 2026-11-25: «al presionar el botón de party room primero haz la
   carga y luego haces la entrada animada; para el intro del preloader haz algo más cartoon … que el círculo que da vueltas tenga
   ese efecto de pulso de los botones»): the loader pops in with a squash and an overshoot, the tiles and the words drop in after
   it, the ring beats like the site's Play buttons (site.css btn-beat); going, the loader squashes and shoots off, and only then
   the room shows and its entrance plays (console.js main: is-console-booting off, the pab-console-ready event). */
.console-boot.is-done { pointer-events: none; animation: console-boot-out .45s cubic-bezier(.5,0,.75,0) .12s both; }
.console-boot.is-done .console-loader { animation: console-boot-leave .4s cubic-bezier(.5,-.5,.7,1) both; }
.console-boot .console-loader.is-big { animation: console-boot-pop .6s cubic-bezier(.25,.8,.3,1) both; }
.console-boot .console-boot-tiles i { animation: console-boot-drop .45s cubic-bezier(.2,1.7,.4,1) both, console-boot-tile 2s steps(1) infinite; }
.console-boot .console-boot-tiles i:nth-child(1) { animation-delay: .32s, .8s; } .console-boot .console-boot-tiles i:nth-child(2) { animation-delay: .38s, 1.3s; }
.console-boot .console-boot-tiles i:nth-child(3) { animation-delay: .44s, 1.8s; } .console-boot .console-boot-tiles i:nth-child(4) { animation-delay: .5s, 2.3s; }
.console-boot .console-boot-title { animation: console-boot-word .55s cubic-bezier(.2,1.5,.4,1) .42s both; }
.console-boot .console-boot-line { animation: console-boot-word .5s cubic-bezier(.2,1.4,.4,1) .55s both; }
.console-boot .console-boot-line.is-swap { animation: console-boot-swap .3s ease-out; }
.console-loader::before, .console-loader::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 3px solid var(--lime); opacity: 0; pointer-events: none; animation: console-loader-beat 2s linear infinite; }
.console-loader::after { border-color: var(--violet); animation-delay: 1s; }
.console-loader.is-small::before, .console-loader.is-small::after { border-width: 2px; }
@keyframes console-loader-beat { 0% { opacity: .85; transform: scale(1); animation-timing-function: cubic-bezier(.1,.7,.3,1); } 30% { opacity: 0; transform: scale(1.28); } 100% { opacity: 0; transform: scale(1.28); } }
/* (a soft arrival: it grows round, a touch past its size and settles — no squash on landing: the user, 2026-11-26, «hace un golpe al aterrizar que no me gusta») */
@keyframes console-boot-pop { 0% { opacity: 0; transform: scale(.55); } 70% { opacity: 1; transform: scale(1.04); } 100% { transform: none; } }
@keyframes console-boot-drop { from { opacity: 0; transform: translateY(-14px) scale(.6); } }
@keyframes console-boot-word { from { opacity: 0; transform: translateY(14px) scale(.9) rotate(-2deg); } }
@keyframes console-boot-leave { 0% { transform: none; } 35% { transform: scale(1.12, .84); } 100% { opacity: 0; transform: scale(.1) translateY(-40px) rotate(18deg); } }
@keyframes console-boot-out { to { opacity: 0; } }
/* the party room behind the preloader; once it is in, the room's entrance plays (console-intro.js, on pab-console-ready) */
.is-console-booting :is(.console-top, .console-mobile-tabs, .console-games, .console-social, .console-column-resizer) { opacity: 0; animation: console-boot-safety 0s 14s forwards; }   /* (shown anyway after 14 s, whatever happened to the script) */
@keyframes console-boot-safety { to { opacity: 1; } }

.console-boot[hidden] { display: none; }
.console-boot-title { margin: 6px 0 0; font: 600 clamp(20px, 4vw, 26px)/1.2 var(--font-display); }
.console-boot-line { min-height: 1.4em; margin: 0; color: rgba(250,247,242,.72); font-size: 15px; }
.console-boot-line.is-swap { animation: console-boot-swap .3s ease-out; }
.console-boot-tiles { display: flex; gap: 8px; }
.console-boot-tiles i { width: 22px; height: 12px; border-radius: 4px; background: rgba(250,247,242,.08); animation: console-boot-tile 2s steps(1) infinite; }
.console-boot-tiles i:nth-child(2) { animation-delay: .5s; } .console-boot-tiles i:nth-child(3) { animation-delay: 1s; } .console-boot-tiles i:nth-child(4) { animation-delay: 1.5s; }
@keyframes console-boot-tile { 0% { background: var(--lime); box-shadow: 0 0 12px rgba(210,255,77,.5); } 25%, 100% { background: rgba(250,247,242,.08); box-shadow: none; } }
@keyframes console-boot-in { to { opacity: 1; } }
@keyframes console-boot-swap { from { opacity: 0; transform: translateY(6px); } }
.console-friends-placeholder::before { content: ''; display: block; width: 36px; height: 36px; margin: 0 auto 12px; border-radius: 50%; border: 3px solid rgba(164,123,255,.18); border-top-color: var(--lime); animation: console-spin .9s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .console-boot .console-loader.is-big, .console-boot .console-boot-title, .console-boot .console-boot-line, .console-boot.is-done .console-loader,
  .console-loader::before, .console-loader::after { animation: none !important; }
  .console-boot.is-done { animation: console-boot-out .2s linear both; }
  .console-boot .console-boot-tiles i { animation: none; }
  .console-loader img, .console-boot-tiles i, .console-boot-line.is-swap { animation: none; }
  .console-loader-ring, .console-friends-placeholder::before { animation-duration: 2.4s; }
  .console-boot { animation-duration: .01s; }
}
.console-feature.is-loading .console-feature-loading { display: flex; }
.console-feature.is-loading :is(.console-feature-top,.console-feature-copy,.console-cover-wrap) { visibility: hidden; }

/* Cartridges move as a quiet, touchable ribbon. Names never depend on hovering. */
.console-carousel-bar { display: flex; align-items: center; flex: none; min-width: 0; gap: 8px; margin-top: 2px; }
.console-carousel-arrow { display: grid; place-items: center; width: 48px; height: 48px; flex: none; padding: 0; border: 1px solid var(--console-edge); border-radius: 50%; background: transparent; color: var(--tx-mid); }
.console-carousel-arrow svg { width: 20px; height: 20px; }
.console-carousel-arrow:hover:not(:disabled) { background: var(--bg-2); border-color: var(--lime); color: var(--lime); }
/* (a row of N cartridges; the picked one 25 % bigger, its picture too — the user, 2026-11-25: «agranda un 25 % más el juego que está
   resaltado en el carrusel» — the others keep their size, so nothing overlaps) */
/* (every cover whole, never cropped or squashed — the user, 2026-11-25: «no deformes los covers, la idea es que siempre se vean, si
   quieren más espacio lo que puedes hacer es agregar más»: a cartridge's width follows its 16:9 picture's height, so a wider row
   shows more of them; the carousel only moves when they do not all fit, console-carousel.js .is-static) */
.console-carousel { --cart-img: clamp(56px,8.4vh,86px); --cart-w: calc(var(--cart-img) * 16 / 9); display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 5px 4px 7px; margin: 0 -4px; }
.console-carousel::-webkit-scrollbar { display: none; }
.console-cartridge, .console-carousel > button { position: relative; flex: 0 0 var(--cart-w); display: flex; flex-direction: column; gap: 7px; min-width: 0; min-height: 48px; padding: 0 0 4px; border: 0; border-radius: 16px 16px 8px 8px; background: transparent; color: var(--tx-lo); text-align: left; scroll-snap-align: center; }
.console-cartridge img, .console-carousel > button > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; border: 2px solid transparent; opacity: .62; transition: opacity .18s, border-color .18s; }
.console-cartridge span, .console-carousel > button > span { display: block; max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13px/18px var(--font); }
.console-cartridge:hover img, .console-carousel > button:hover > img { opacity: .9; }
.console-cartridge[aria-pressed="true"], .console-carousel > button.is-selected { color: var(--ivory); }
.console-cartridge[aria-pressed="true"], .console-carousel > button.is-selected { flex-basis: calc(var(--cart-w) * 1.25); }
/* (the picked one's picture grows with its width, still 16:9) */
/* everything fits: no arrows, no scrolling, the row from the start of the column (one favourite: one cartridge, no carousel) */
.console-carousel-bar.is-static .console-carousel-arrow { display: none; }
.console-carousel-bar.is-static .console-carousel { justify-content: var(--cart-align, flex-start); overflow-x: visible; scroll-snap-type: none; cursor: default; }
@media (prefers-reduced-motion: reduce) { .console-cartridge, .console-cartridge img { transition: none !important; } }
.console-cartridge[aria-pressed="true"] img, .console-carousel > button.is-selected > img { border-color: var(--lime); opacity: 1; box-shadow: 0 0 0 2px rgba(210,255,77,.13); }
.console-status { margin-top: 8px; color: var(--tx-lo); font-size: 13px; line-height: 20px; }
.console-status:empty { display: none; }
.console-status button, .console-status a { min-height: 48px; padding: 8px 14px; border: 1px solid var(--console-edge); border-radius: 999px; background: var(--bg-2); color: var(--ivory); }
.console-library-section { display: flex; flex-direction: column; flex: none; min-width: 0; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--console-edge); }
.console-library-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; }
.console-library-heading h2 { font: 600 18px/1.25 var(--font-display); letter-spacing: -.025em; }
.console-search { display: flex; align-items: center; gap: 8px; width: min(52%,230px); min-height: 48px; padding: 0 13px; border: 1px solid var(--console-edge); border-radius: 999px; background: var(--bg-inset); }
.console-search svg { width: 18px; height: 18px; color: var(--tx-lo); flex: none; }
.console-search input { flex: 1; min-width: 0; width: 100%; min-height: 46px; padding: 0; border: 0; outline: 0 !important; background: transparent; color: var(--ivory); font-size: 13px; }
.console-search:focus-within { outline: 3px solid var(--lime); outline-offset: 3px; }
.console-search input::placeholder { color: var(--tx-lo); opacity: 1; }
.console-library-filters { display: flex; flex: none; min-width: 0; gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 2px 0; }
.console-filter { flex: none; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 14px; border: 1px solid transparent; border-radius: 999px; color: var(--tx-lo); background: transparent; font-size: 12px; font-weight: 650; }
.console-filter:hover { color: var(--ivory); background: var(--bg-2); }
.console-filter[aria-pressed="true"] { border-color: var(--console-edge); background: var(--bg-2); color: var(--ivory); }
.console-library { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 12px; }
.console-library-card, .console-library > button { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 48px; min-width: 0; padding: 0 0 5px; border: 0; border-radius: 15px; background: transparent; color: var(--tx-mid); text-align: left; transition: transform .18s var(--ease); }
.console-library-card:hover, .console-library > button:hover { transform: translateY(-3px); color: var(--ivory); }
.console-library-card img, .console-library > button > img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; border: 1px solid var(--console-edge); border-radius: 15px; }
.console-library-card span, .console-library > button > span { display: block; padding: 0 3px; font-size: 12px; font-weight: 600; line-height: 17px; overflow-wrap: anywhere; }
.console-library-card[aria-pressed="true"] img { outline: 2px solid var(--lime); outline-offset: 2px; }
.console-library .console-empty, .console-library > p { grid-column: 1/-1; padding: 20px 0; color: var(--tx-lo); font-size: 14px; line-height: 22px; }
.console-library > .console-action { grid-column: 1/-1; width: fit-content; padding: 12px 24px; border-radius: 999px; background: var(--lime); color: var(--night); }

/* Keep the shared room geometry, with an open dance floor and no surrounding frame. */
.console-room-host { position: relative; display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; min-height: 0; overflow: clip; }
.console-page .pr-head { display: flex; align-items: center; flex: none; flex-wrap: nowrap; gap: 10px; min-height: 48px; margin: 0 0 8px; }
.console-page .pr-head h1, .console-page .pr-head h2 { font: 650 14px/20px var(--font); color: var(--tx-mid); }
.console-page .pr-count { display: inline-flex; min-height: 26px; align-items: center; padding: 3px 9px; border: 1px solid var(--console-edge); border-radius: 999px; font-size: 11px; color: var(--violet-soft); }
.console-page .pr-inv { min-height: 48px; padding: 10px 18px; background: var(--lime); color: var(--night); font-size: 13px; font-weight: 700; }
.console-page .pr-main { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; gap: 10px; max-width: none; margin: 0; align-items: stretch; }
.console-page .pr-left { display: grid; flex: 1 1 0; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: minmax(0,1fr) auto; gap: 5px 10px; min-width: 0; min-height: 0; width: 100%; }
.console-page .pr-left > .pr-room { grid-column: 1/-1; grid-row: 1; }
.console-page .pr-left > .pr-status { grid-row: 2; grid-column: 1; align-self: center; }
.console-page .pr-left > .pr-bar { grid-row: 2; grid-column: 2; }
.console-page .pr-left > .pr-steps, .console-page .pr-left > .pr-hint { display: none; }
.console-page .pr-left > .pr-beatrow { grid-row: 3; grid-column: 1/-1; }
.console-page .pr-left > .pr-invite { display: none; } /* The header Invite opens the full accessible QR/invitation flow. */
.console-page .pr-main .pr-room { width: 100%; min-width: 0; max-width: none; height: 100%; min-height: 0; aspect-ratio: auto; border: 0; border-radius: 0; isolation: isolate; background: transparent; box-shadow: none; }
.console-page .pr-room::before, .console-page .pr-room::after { content: none; }
.console-page .pr-wall { display: none; }
.console-page .pr-dance { left: 10%; top: 29%; width: 80%; height: 56%; border-radius: 12px; background: #0D0D16; box-shadow: 0 0 0 1px rgba(164,123,255,.3),0 0 24px rgba(164,123,255,.18); }
/* A tilted stage: only the floor leans back (the 2D avatars stay upright on top of it), with a slab edge in front. */
/* (one shape whatever the room's: a wide stage at 2.4 : 1 before the tilt, as big as fits in 60 % of the width and 48 % of the
   height, centred, so a narrow lobby gets a smaller stage, never a square one — the user, 2026-11-24) */
.console-page .pr-room { container-type: size; }
.console-page .pr-dance { left: 50%; width: min(60cqw, 115cqh); height: auto; aspect-ratio: 2.4; top: 56%; transform: translate(-50%, -50%) perspective(900px) rotateX(30deg); transform-origin: 50% 60%;
  box-shadow: 0 0 0 1px rgba(164,123,255,.3),0 10px 0 #08080E,0 10px 0 1px rgba(164,123,255,.22),0 26px 40px rgba(0,0,0,.45),0 0 34px rgba(164,123,255,.2); }
.console-page .pr-dance.is-bar { box-shadow: 0 0 0 1px rgba(210,255,77,.4),0 10px 0 #08080E,0 10px 0 1px rgba(210,255,77,.25),0 26px 40px rgba(0,0,0,.45),0 0 44px rgba(210,255,77,.26); }
/* The club around the floor (party-room.js clubDecor): everything on the beat (--beat, --beat-at); still under reduced motion. */
.console-page .pr-club, .console-page .pr-club-beams { position: absolute; inset: 0; pointer-events: none; }
.console-page .pr-club { z-index: 0; }
.console-page .pr-club-beams { z-index: 1; overflow: hidden; mix-blend-mode: screen; }
.pr-club-truss { position: absolute; left: 8%; right: 8%; top: 3%; height: 10px; display: flex; justify-content: space-between; align-items: center; padding: 0 2%; border-top: 2px solid rgba(250,247,242,.14); }
.pr-club-truss i { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: #2A2A3A; animation: pr-club-lamp calc(var(--beat) * 2) steps(1) var(--beat-at) infinite; }
.pr-club-truss i:nth-child(even) { animation-delay: calc(var(--beat-at) - var(--beat)); }
.pr-club-truss .h0 { --lamp: #D2FF4D; } .pr-club-truss .h1 { --lamp: #A47BFF; } .pr-club-truss .h2 { --lamp: #4DE3FF; } .pr-club-truss .h3 { --lamp: #FF5FC8; }
@keyframes pr-club-lamp { 0% { background: var(--lamp); box-shadow: 0 0 12px 2px var(--lamp); } 50% { background: #2A2A3A; box-shadow: none; } }
.pr-club-beams i { position: absolute; top: -4%; width: 26%; height: 64%; transform-origin: 50% 0; opacity: .26; filter: blur(3px); -webkit-mask-image: linear-gradient(#000 30%, transparent 96%); mask-image: linear-gradient(#000 30%, transparent 96%); clip-path: polygon(46% 0,54% 0,100% 100%,0 100%);
  animation: pr-club-sweep calc(var(--beat) * 8) ease-in-out var(--beat-at) infinite alternate; }
.pr-club-beams .is-a { left: 0; background: linear-gradient(#A47BFF,transparent 85%); --from: -28deg; --to: 12deg; }
.pr-club-beams .is-b { left: 20%; background: linear-gradient(#D2FF4D,transparent 85%); --from: 18deg; --to: -14deg; animation-duration: calc(var(--beat) * 6); }
.pr-club-beams .is-c { right: 20%; background: linear-gradient(#4DE3FF,transparent 85%); --from: -18deg; --to: 14deg; animation-duration: calc(var(--beat) * 6); }
.pr-club-beams .is-d { right: 0; background: linear-gradient(#FF5FC8,transparent 85%); --from: 28deg; --to: -12deg; }
@keyframes pr-club-sweep { from { transform: rotate(var(--from)); } to { transform: rotate(var(--to)); } }
@media (prefers-reduced-motion: reduce) { .pr-club *, .pr-club-beams * { animation: none !important; } .pr-club-truss i { background: var(--lamp); } }
@media (max-width: 600px) {
  .pr-club-truss i { width: 7px; height: 7px; }
}
/* an arrival's line sits below the floor, out of the lights and the dancers (the user, 2026-11-24) */
.console-page .pr-room .pab-entry-announcement { top: auto; bottom: 3%; }
/* the lobby music's speaker, in the room's top-right corner (console-lobby-music.js) */
.console-page .console-music { position: absolute; top: 8px; right: 8px; z-index: 210; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--console-edge); border-radius: 999px; background: rgba(19,19,27,.72); color: var(--violet-soft); cursor: pointer; }
.console-page .console-music:hover { border-color: var(--violet); color: var(--ivory); }
.console-page .console-music[aria-pressed="false"] { color: var(--tx-lo); }
.console-page .console-music svg { width: 22px; height: 22px; }
.console-page .console-music:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
/* the session's moments (party-room.js moment): cards across the top of the room, under the lights, above the dancers */
.console-page .pr-moments { position: absolute; left: 50%; top: 12%; z-index: 205; display: flex; flex-direction: column; align-items: center; gap: 6px; width: min(86%, 420px); transform: translateX(-50%); pointer-events: none; }
.console-page .pr-moment { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 16px 8px 10px; border: 1px solid var(--console-edge); border-radius: 999px; background: rgba(19,19,27,.9); box-shadow: 0 8px 24px rgba(0,0,0,.4); color: var(--ivory); font: 600 13px/1.3 var(--font); animation: pr-moment-in .34s cubic-bezier(.2,1.4,.4,1) both; }
.console-page .pr-moment span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-page .pr-moment > i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px currentColor; color: var(--violet); }
.console-page .pr-moment.is-win > i, .console-page .pr-moment.is-champion > i { background: var(--lime); color: var(--lime); }
.console-page .pr-moment.is-unlock > i { background: var(--violet); color: var(--violet); }
.console-page .pr-moment.is-best > i, .console-page .pr-moment.is-close > i { background: #4DE3FF; color: #4DE3FF; }
.console-page .pr-moment.is-fc > i, .console-page .pr-moment.is-ap > i, .console-page .pr-moment.is-five > i { background: #FF5FC8; color: #FF5FC8; }
.console-page .pr-moment.is-left > i, .console-page .pr-moment.is-eliminated > i { background: var(--tx-lo); color: transparent; box-shadow: none; }
.console-page .pr-moment.is-win, .console-page .pr-moment.is-champion { border-color: rgba(210,255,77,.55); }
.console-page .pr-moment.is-leaving { animation: pr-moment-out .3s ease-in both; }
@keyframes pr-moment-in { from { opacity: 0; transform: translateY(-10px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes pr-moment-out { to { opacity: 0; transform: translateY(-8px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .console-page .pr-moment, .console-page .pr-moment.is-leaving { animation-duration: .01s; } }
/* the podium's points under each name */
.pr-step .pr-step-pts { font-style: normal; font-size: 10px; font-weight: 600; opacity: .8; font-variant-numeric: tabular-nums; }
/* the lit tiles at half their strength, so the dancers keep their contrast (the user, 2026-11-24) */
.console-page .pr-dance i.is-lit { opacity: .5; box-shadow: none; }
.console-page .pr-dance i.is-lit.is-foot { opacity: .6; }
.console-idle-avatar::after { content: ''; order: 9; width: 58px; height: 12px; margin-top: -14px; border-radius: 50%; background: radial-gradient(closest-side,rgba(0,0,0,.55),transparent); z-index: -1; }
.console-page .pr-dance-l { font: 600 10px/14px var(--font); text-transform: none; letter-spacing: .02em; color: var(--violet-soft); }
.console-page .pr-mc, .console-page .pr-mat { display: none; }
.console-page .pr-cab { width: 54%; max-width: 74px; max-height: 66px; aspect-ratio: 1/1.08; border-width: 2px; border-radius: 9px 9px 4px 4px; box-shadow: 0 4px 0 #0D0D16,0 0 16px color-mix(in srgb,var(--c1),transparent 88%); }
.console-page .pr-mn { font-size: 10px; line-height: 13px; }
.console-page .pr-ms { font-size: 9px; line-height: 12px; color: var(--tx-lo); }
.console-page .pr-scr { inset: 8% 8% 26%; }
.console-page .pr-pad { height: 7%; bottom: 9%; }
.console-page .pr-mat { border-width: 1px; background: rgba(164,123,255,.055); }
.console-page .pr-mat.is-on { border-width: 2px; background: rgba(210,255,77,.12); }
.console-page .pr-p { min-height: 48px; }
.console-page .pr-tag { font-size: 10px; padding: 2px 7px; font-weight: 600; box-shadow: 0 2px 8px #0003; }
.console-page .pr-status { min-height: 22px; margin: 0; text-align: left; font-size: 12px; line-height: 20px; }
.console-page .pr-bar { gap: 6px; justify-content: end; min-height: 0; max-width: none; margin: 0; }
.console-page .pr-bar:empty, .console-page .pr-status:empty { display: none; }
.console-page .pr-btn { min-height: 48px; padding: 8px 14px; font-size: 12px; }
.console-page .pr-steps { display: flex; justify-content: center; gap: 14px; margin: 0; padding: 0; }
.console-page .pr-steps li { min-height: 22px; padding: 0; background: transparent; font-size: 11px; font-weight: 500; color: var(--tx-lo); }
.console-page .pr-steps b { width: 18px; height: 18px; border: 1px solid var(--console-edge); background: transparent; color: var(--tx-lo); font-size: 10px; }
.console-page .pr-steps li.is-on { color: var(--lime); }
.console-page .pr-steps li.is-on b { border-color: var(--lime); background: var(--lime); color: var(--night); }
.console-page .pr-hint { color: var(--tx-lo); font-size: 11px; line-height: 17px; margin: 0; text-align: center; }
.console-page .pr-beatrow { margin: 0; }
.console-page .pr-x { width: 48px; height: 48px; }
.console-page .pr-card { border: 1px solid var(--console-edge); }
.console-page .pr-card.is-game { z-index: 220; }
.console-page .pr-card.is-game .pr-prev { max-height: 200px; }
.console-page .pr-coach { width: min(90%,340px); box-shadow: 0 12px 46px #0009; }

/* Chat is part of the same console column, below the floor on every screen, never a page-covering sheet. */
.console-page .pr-chat { position: relative; top: auto; bottom: auto; z-index: 1; display: flex; flex-direction: column; width: 100%; flex: 0 0 174px; height: auto; min-height: 0; margin: 0; padding-bottom: 0; overflow: hidden; border: 1px solid var(--console-edge); border-radius: 22px; background: rgba(27,27,38,.82); box-shadow: none; }
.console-page .pr-chat-h { min-height: 48px; padding: 0 16px; font-size: 13px; font-weight: 650; cursor: pointer; pointer-events: auto; border-bottom: 1px solid var(--line-subtle); }
.console-page .pr-chat-h::before { content: ''; width: 16px; height: 13px; border: 1.5px solid var(--violet); border-radius: 5px 5px 5px 1px; }
.console-page .pr-caret { display: none; }
.console-page .pr-chat .pr-log, .console-page .pr-chat.is-open .pr-log { flex: 1 1 0; height: auto; min-height: 0; max-height: none; padding: 12px 16px; scrollbar-width: thin; scrollbar-color: var(--bg-3) transparent; }
.console-page .pr-log li { font-size: 12px; line-height: 19px; }
.console-page .pr-log li b { font-weight: 650; }
.console-page .pr-log li.is-sys span { color: var(--tx-lo); }
.console-page .pr-compose { flex: none; flex-wrap: nowrap; gap: 5px; padding: 4px 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.console-page .pr-compose button { flex: none; min-height: 48px; padding: 0 12px; font-size: 12px; }
.console-page .pr-compose .pr-emo { width: 48px; padding: 0; }
.console-page .pr-type { flex: none; padding: 0 10px 8px; }
.console-page .pr-type input { min-height: 48px; font-size: 13px; background: rgba(14,14,20,.85); }
.console-page .pr-type button { min-width: 48px; }
.console-page .pr-chat-rule { margin: 0; padding: 0 14px 8px; color: var(--tx-lo); font-size: 11px; line-height: 17px; }

/* A room before a party exists is an empty stage, not invented people playing. JS supplies only the visitor's avatar. */
.console-idle { display: flex; flex-direction: column; justify-content: center; align-items: center; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; }
.console-idle-room { position: relative; isolation: isolate; flex: 0 1 42%; width: min(100%,520px); min-height: 100px; max-height: 280px; overflow: hidden; background: radial-gradient(ellipse at 50% 65%,rgba(164,123,255,.17),transparent 66%); }
.console-idle-room::before { content: ''; position: absolute; z-index: -1; left: 5%; right: 5%; bottom: -42%; height: 110%; transform: perspective(440px) rotateX(52deg); background: repeating-linear-gradient(90deg,transparent 0 48px,rgba(164,123,255,.13) 48px 49px),repeating-linear-gradient(0deg,transparent 0 42px,rgba(164,123,255,.13) 42px 43px); mask-image: radial-gradient(ellipse at 50% 30%,#000,transparent 68%); pointer-events: none; }
.console-idle-room::after { content: none; }
.console-idle-orbit { position: absolute; left: 50%; top: 67%; width: 46%; aspect-ratio: 2.6; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(164,123,255,.3); box-shadow: 0 0 0 18px rgba(164,123,255,.025),0 0 0 42px rgba(164,123,255,.025),inset 0 0 28px rgba(164,123,255,.05); }
.console-idle-avatar { position: absolute; left: 50%; top: 45%; transform: translate(-50%,-50%); display: flex; align-items: center; flex-direction: column; gap: 8px; z-index: 2; }
.console-idle-avatar img, .console-idle-avatar > svg { width: 86px; height: 92px; object-fit: contain; }
.console-idle-avatar > span:not(.pab-av), .console-idle-avatar > b { font-size: 11px; line-height: 17px; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: var(--night); background: var(--lime); }
.console-idle-seat { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px dashed rgba(164,123,255,.42); border-radius: 50%; color: var(--violet-soft); background: rgba(164,123,255,.055); font-size: 23px; }
.console-idle-seat:nth-of-type(1), .console-idle-seat:nth-last-child(3) { left: 16%; top: 42%; }
.console-idle-seat:nth-of-type(2), .console-idle-seat:nth-last-child(2) { right: 16%; top: 42%; }
.console-idle-seat:nth-of-type(3), .console-idle-seat:nth-last-child(1) { left: calc(50% - 24px); top: auto; bottom: 2%; }
button.console-idle-seat:hover { border-style: solid; border-color: var(--violet); background: rgba(164,123,255,.14); }
.console-idle-copy { position: relative; display: flex; flex-direction: column; align-items: center; flex: none; width: min(100%,460px); min-width: 0; gap: 10px; padding: 12px 20px; text-align: center; }
.console-idle-copy h2, .console-idle-copy h3 { font: 600 25px/1.2 var(--font-display); letter-spacing: -.025em; }
.console-idle-copy p { max-width: 380px; color: var(--tx-lo); font-size: 14px; line-height: 22px; }
.console-action { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 50px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--lime); color: var(--night); font-size: 15px; font-weight: 700; text-align: center; }
.console-action:hover { background: var(--accent-bright); }
.console-action svg { width: 20px; height: 20px; }
.console-idle-actions { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 4px; }
.console-idle-actions > button { flex: 1 1 120px; min-width: 0; min-height: 48px; padding-inline: 16px; line-height: 20px; }
.console-idle-actions > :not(.console-action) { border: 1px solid var(--console-edge); border-radius: 999px; background: var(--bg-2); color: var(--ivory); font-size: 14px; font-weight: 600; }
.console-idle-actions > :not(.console-action):hover { border-color: var(--violet); background: rgba(164,123,255,.14); }
.console-idle-copy > .console-action { margin-top: 4px; }
.console-join { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 32px; border: 0; border-radius: 999px; background: var(--violet); color: var(--night); font: 700 16px/1.25 var(--font); text-align: center; text-decoration: none; }
.console-join:hover { background: var(--violet-soft); }
/* No party yet: the lobby itself (floor above, chat column below), the invitation inside the chat. */
.console-page .pr-main.console-idle { justify-content: stretch; align-items: stretch; overflow: hidden; }
.console-page .console-idle .pr-left { grid-template-rows: minmax(0,1fr); }
.console-page .console-idle .console-idle-room { flex: none; width: 100%; height: 100%; min-height: 0; max-height: none; background: radial-gradient(ellipse 62% 48% at 50% 56%,rgba(164,123,255,.15),transparent); }
.console-page .console-idle .console-idle-room::before { content: none; }
.console-page .console-idle .console-idle-avatar { top: 48%; transform: translate(-50%,-100%); transform-origin: 50% 100%; }
.console-page .pr-p { transform-origin: 50% 100%; }
.console-page .console-idle .console-idle-room { cursor: pointer; container-type: size; }
/* the characters go with the floor's size: a narrow lobby has smaller dancers (the user, 2026-11-24) */
.console-page .console-idle .console-idle-avatar .pab-av, .console-page .console-idle .console-idle-avatar .pab-av > svg { width: clamp(30px, 10cqw, 90px) !important; height: auto !important; }
.console-page .console-idle .console-idle-room:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.console-page .console-idle .console-idle-avatar.is-left .pab-av > svg { transform: scaleX(-1); }
@media (max-width: 600px) {
  .console-page .console-idle .console-idle-avatar img, .console-page .console-idle .console-idle-avatar > svg { width: 60px; height: 64px; }
}
/* (the lobby's row handle sets --console-chat-height, console-resize.js; until it is dragged the invitation takes its own height) */
#console-social .pr-main .pr-chat.console-idle-chat { flex: 0 0 var(--console-chat-height, auto); min-height: 0; max-height: 70%; overflow-y: auto; }
.console-page .console-idle-chat .pr-chat-h { cursor: default; }
.console-page .console-idle-chat .console-idle-copy { width: 100%; max-width: 520px; margin: auto; padding: 16px 20px 18px; }
.console-page .console-idle-chat .console-idle-copy h2 { font-size: 22px; }
.console-room-loading { flex: 1 1 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 22px; min-height: 0; border: 1px solid var(--console-edge); border-radius: 26px; background: radial-gradient(ellipse at 50% 65%,rgba(164,123,255,.1),transparent 65%),var(--bg-1); color: var(--tx-lo); font-size: 13px; }
.console-loading-orbit { position: relative; display: block; width: 52px; height: 52px; border: 1px solid rgba(164,123,255,.32); border-radius: 50%; }
.console-loading-orbit::after { content: ''; position: absolute; inset: 12px; border-radius: 50%; border: 2px solid rgba(164,123,255,.15); border-top-color: var(--violet); animation: console-spin 1.2s linear infinite; }

/* Reused real-friends component, condensed into a row under the hangout. */
.console-friends.arcade-social { flex: 1 1 0; min-height: 0; margin: 0; padding: 12px 4px 12px 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; border: 0; border-radius: 0; background: transparent; }
.console-friends .arcade-section-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 14px; }
.console-friends .arcade-social-heading { gap: 10px; }
.console-friends h2 { font: 600 19px/1.3 var(--font-display); }
.console-friends .arcade-social-hint { margin-top: 5px; color: var(--tx-lo); font-size: 12px; line-height: 18px; }
.console-friends .arcade-social-count { font-size: 11px; }
.console-friends-manage { display: flex; align-items: center; justify-content: end; flex: none; min-height: 48px; padding: 0 0 0 8px; color: var(--tx-mid); font-size: 12px; font-weight: 600; }
.console-friends-manage:hover { color: var(--lime); }
.console-friends .arcade-friends { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-flow: row; grid-auto-columns: auto; gap: 10px; padding: 4px 3px 10px; overflow: visible; }
.console-friends .arcade-friend { gap: 10px; padding: 14px; border-radius: 18px; background: rgba(27,27,38,.55); }
.console-friends .arcade-friend-identity { gap: 9px; }
.console-friends .arcade-friend-info a { font-size: 14px; }
.console-friends .arcade-friend-info p { font-size: 13px; line-height: 18px; }
.console-friends .arcade-friend-actions { flex-direction: row; gap: 6px; }
.console-friends .arcade-friend-action { min-height: 48px; padding: 8px 14px; font-size: 12px; color: var(--ivory); background: var(--bg-3); border: 1px solid var(--console-edge); }
.console-friends .arcade-friend-action:hover { color: var(--lime); border-color: var(--lime); }
.console-friends .arcade-friend-game { flex: 1; min-height: 48px; padding: 8px; font-size: 11px; }
.console-friends .arcade-invites { margin-bottom: 12px; }
.console-friends .arcade-party-invite, .console-friends .arcade-party-return { min-height: 56px; padding: 10px 14px; border-radius: 16px; font-size: 12px; line-height: 18px; }
.console-friends .arcade-friends-empty { gap: 6px; padding-bottom: 4px; }
.console-friends .arcade-friends-empty b { font-size: 13px; font-weight: 600; }
.console-friends .arcade-friends-empty p { font-size: 12px; line-height: 19px; }
.console-friends .arcade-friends-empty :is(a,button) { margin-top: 4px; }


/* The pane switcher is also the destination for a full-height chat or friends list. */
.console-social-nav { display: flex; flex: none; flex-wrap: nowrap; gap: 6px; min-height: 48px; margin: 0 0 8px; padding: 0; }
.console-social-nav button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 1; min-width: 0; min-height: 48px; padding: 8px 14px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--tx-mid); font: 600 14px/1.3 var(--font); }
.console-social-nav button:hover:not(:disabled) { background: rgba(164,123,255,.1); color: var(--ivory); }
.console-social-nav button[aria-pressed="true"] { background: rgba(164,123,255,.14); border-color: rgba(164,123,255,.35); color: var(--violet-soft); }
.console-social-nav button:focus-visible { outline-offset: -4px; }
.console-page > .party-host > .crew-inparty { display: none; }
.console-social > .console-pane-heading, .console-room-host > .pr-head { display: none; }
.console-page .console-social-nav > :is(.pr-inv,#console-invite) { flex: 0 0 auto; min-width: 88px; min-height: 48px; margin-left: 0; padding: 8px 18px; background: var(--lime); color: var(--night); font-weight: 700; }
.console-page .console-social-nav > :is(.pr-inv,#console-invite):hover { background: var(--accent-bright); color: var(--night); }
#console-friends-badge { min-width: 20px; padding: 1px 5px; border-radius: 999px; background: var(--lime); color: var(--night); font-size: 11px; font-variant-numeric: tabular-nums; }
#console-social:not([data-social-view="friends"]) #console-friends,
#console-social[data-social-view="friends"] #page { display: none; }
.console-friends-placeholder { display: none; }
#console-social[data-social-view="friends"] #console-friends[hidden] ~ .console-friends-placeholder { display: grid; flex: 1; min-height: 0; place-items: center; color: var(--tx-lo); font-size: 14px; }
#console-social[data-social-view="room"] .pr-chat-h { display: none; }
#console-social[data-social-view="chat"] .pr-head, #console-social[data-social-view="chat"] .pr-left { display: none; }
#console-social[data-social-view="chat"] .pr-chat { flex: 1 1 0; min-height: 0; }
@media (min-width: 1100px) {
  /* Chat keeps the live lobby above it on PC, including during a game. */
  #console-social[data-social-view="chat"] .pr-left { display: grid; }
  #console-social[data-social-view="chat"] .pr-chat { flex: 0 0 clamp(160px,38%,280px); }
  #console-social[data-social-view="chat"] .pr-chat-h { display: none; }
}
.console-page .pr-head h1 { min-width: 0; }
.console-page .pr-inv { flex: none; }
.console-page .pr-dance-l { top: 28%; }
.console-page .pr-bar { align-items: center; }
.console-page .pr-wait { max-width: 210px; font-size: 12px; line-height: 18px; text-align: right; }
.console-page .pr-beatrow { min-height: 0; }
.console-page .pr-beat { min-height: 48px; }
.console-page .pr-chat-h { flex: none; }
.console-page .pr-composer-host { position: relative; flex: none; min-height: 0; }
.console-page .pr-reactions { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 10px 4px; }
.console-page .pr-reaction-tray { flex: 1; min-width: 0; }
.console-page .pr-reaction-tray summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--console-edge); border-radius: 14px; color: var(--tx-mid); font-size: 13px; font-weight: 600; list-style: none; cursor: pointer; }
.console-page .pr-reaction-tray summary::-webkit-details-marker { display: none; }
.console-page .pr-reaction-tray summary::after { content: '+'; color: var(--violet-soft); font-size: 18px; line-height: 1; }
.console-page .pr-reaction-tray[open] summary { border-color: var(--violet); background: var(--bg-3); color: var(--ivory); }
.console-page .pr-reaction-tray[open] summary::after { content: '−'; }
.console-page .pr-reaction-tray summary:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.console-page .pr-reaction-tray[open] .pr-compose { position: absolute; z-index: 5; left: 8px; right: 8px; bottom: calc(100% + 3px); display: flex; min-height: 58px; max-height: 110px; padding: 5px; border: 1px solid var(--violet); border-radius: 16px; background: var(--bg-2); box-shadow: 0 -6px 24px #0006; }
.console-page .pr-reaction-tray:not([open]) .pr-compose { display: none; }
.console-page .pr-type { display: flex; gap: 8px; }
.console-page .pr-type input { flex: 1; min-width: 0; }
.console-page .pr-type button { min-height: 48px; flex: none; }
/* One compact composer: emotes, quick phrases, text and send share a single row. */
.console-page .pr-composer { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; border-top: 1px solid var(--console-edge); }
.console-page .pr-composer .pr-reactions { position: static; flex: 0 0 auto; gap: 2px; padding: 0; }
.console-page .pr-composer .pr-reaction-tray { flex: none; }
.console-page .pr-composer .pr-reaction-tray summary { width: 48px; height: 48px; min-height: 48px; padding: 0; border: 0; border-radius: 14px; background: transparent; color: var(--violet-soft); }
.console-page .pr-composer .pr-reaction-tray summary::after { content: none; }
.console-page .pr-composer .pr-reaction-tray:is([open],:hover) summary { background: rgba(164,123,255,.14); color: var(--ivory); }
.console-page .pr-composer .pr-type { flex: 1 1 0; min-width: 0; gap: 4px; padding: 0; }
.console-page .pr-composer .pr-type input { min-width: 0; padding-inline: 4px; border: 0; border-radius: 8px; background: transparent; }
.console-page .pr-composer .pr-type button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; }
.console-page .pr-composer-icon { display: grid; place-items: center; width: 24px; height: 24px; }
.console-page .pr-composer-icon svg { display: block; width: 100%; height: 100%; }
.console-page .pr-composer .pr-chat-rule { flex-basis: 100%; padding: 0 8px 4px; }
.console-top.site-top { position: relative; top: auto; }
.console-top .logo { line-height: 1.15; }
.console-customize, .console-friends-manage, .console-friends .arcade-friend-action { font-size: 13px; }
.console-library { flex: none; }
.console-library > .console-empty, .console-library > p { padding: 4px 0; }
.console-friends .arcade-friend-actions { flex-wrap: wrap; }
.console-friends .arcade-friend { min-width: 0; }
.console-friends .arcade-friends-empty { grid-column: 1/-1; }
.console-friends .arcade-friends-empty :is(a,button) { min-height: 48px; }
.console-status { flex: none; }
.console-status:not(:empty) { max-height: 48px; overflow-y: auto; }
.console-feature-copy h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.console-feature .console-play { flex: 1; white-space: nowrap; }
.console-play-party { line-height: 17px; }
.console-play-party svg { width: 18px; height: 18px; }

@media (min-width: 1100px) and (max-width: 1250px) {
  .console-top.site-top { gap: 12px; padding-inline: 20px; }
  .console-layout { padding-inline: 20px; --console-divider-width: 20px; }
  .console-social { padding-left: 10px; }
  .console-games { padding-right: 10px; }
  .console-feature-copy { padding: 16px; }
  .console-feature-copy h3 { font-size: 28px; }
  .console-feature-actions { gap: 8px; }
  .console-feature .console-play { padding-left: 12px; gap: 8px; font-size: 14px; }
  .console-feature .console-play .btn-play-ico { width: 32px; height: 32px; }
  .console-play-party { padding: 8px 10px; font-size: 12px; }
  .console-play-party svg { display: none; }
  .console-library-heading h2 { font-size: 16px; }
  .console-search { width: 55%; }
  .console-filter { padding-inline: 10px; font-size: 11px; }
}
@media (max-width: 1099px) {
  .console-top.site-top { padding-inline: 24px; gap: 14px; }
  .console-identity p { display: none; }
  .console-top .logo { font-size: 22px; }
  .console-home { font-size: 12px; padding: 8px; }
  .console-mobile-tabs { display: grid; grid-template-columns: 1fr 1fr; flex: 0 0 56px; gap: 4px; min-height: 56px; margin: 0; padding: 4px 24px; background: rgba(19,19,27,.9); border-bottom: 1px solid var(--console-edge); }
  .console-mobile-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--tx-lo); font-size: 14px; font-weight: 650; }
  .console-mobile-tab svg { width: 20px; height: 20px; }
  .console-mobile-tab[aria-selected="true"] { color: var(--night); background: var(--ivory); }
  .console-tab-badge { min-width: 20px; padding: 1px 5px; border-radius: 999px; background: var(--violet); color: var(--night); font-size: 10px; line-height: 17px; font-weight: 750; }
  .console-page[data-console-view="games"] #console-social, .console-page[data-console-view="social"] #console-games { display: none; }
  .console-layout { display: flex; width: 100%; max-width: 940px; gap: 0; padding: 12px 24px max(14px,env(safe-area-inset-bottom)); }
  .console-games, .console-social { flex: 1 1 0; padding: 0; border: 0; }
  .console-feature-copy h3 { font-size: 36px; }
  .console-carousel { --cart-img: clamp(56px,8.6vh,92px); }
  .console-friends .arcade-friends { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .console-top.site-top { gap: 12px; }
  .console-top-divider, .console-identity { display: none; }
  .console-top .party-btn { min-width: 48px; padding: 0 12px; }
  .console-top .party-w { display: none; }

  .console-pane-heading h2 { font-size: 22px; }
  .console-friends .arcade-friends { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .console-page { background: radial-gradient(ellipse at 100% 0,rgba(164,123,255,.1),transparent 40%),var(--night); }
  .console-top.site-top { flex-basis: 64px; height: 64px; padding: 8px 14px; gap: 8px; border-bottom: 0; }
  .console-top .logo { font-size: 18px; gap: 6px; }
  .console-top .logo img { height: 40px; }
  .console-home { width: 48px; padding: 0; margin-left: auto; border: 1px solid var(--console-edge); }
  .console-home span { display: none; }
  .console-top .party-btn { display: none; }
  .console-top .pab-chipme { min-width: 48px; min-height: 48px; justify-content: center; }
  .console-mobile-tabs { padding-inline: 14px; }
  .console-layout { padding: 10px 14px max(10px,env(safe-area-inset-bottom)); }
  .console-pane-heading { min-height: 48px; margin-bottom: 6px; gap: 8px; }
  .console-pane-heading h2 { font-size: 20px; }
  .console-pane-heading p { font-size: 11px; line-height: 16px; margin-top: 3px; }
  .console-selection-count { font-size: 11px; }
  .console-customize { gap: 5px; max-width: 126px; padding: 6px 9px; font-size: 11px; line-height: 15px; }
  .console-customize svg { width: 17px; height: 17px; flex: none; }
  .console-feature { border-radius: 24px; }
  .console-feature-top { padding: 12px; }
  .console-feature-label { font-size: 10px; padding: 5px 9px; }
  .console-feature-copy { padding: 16px; }
  .console-feature-copy h3 { font-size: 28px; }
  .console-game-tagline { font-size: 13px; line-height: 18px; margin-top: 6px; }
  .console-game-meta { font-size: 11px; margin-bottom: 5px; }
  .console-feature-actions { gap: 8px; margin-top: 12px; }
  .console-feature .console-play { gap: 8px; padding: 0 7px 0 12px; font-size: 14px; }
  .console-feature .console-play .btn-play-ico { width: 32px; height: 32px; }
  .console-play-party { min-height: 48px; padding: 7px 9px; font-size: 12px; line-height: 16px; }
  .console-play-party svg { display: none; }
  .console-carousel { grid-auto-columns: calc((100% - 8px)/2.2); gap: 8px; }
  .console-carousel { --cart-img: 60px; } .console-cartridge img, .console-carousel > button > img { border-radius: 11px; }
  .console-cartridge span, .console-carousel > button > span { font-size: 12px; line-height: 17px; }
  .console-library-section { margin-top: 8px; padding-top: 6px; }
  .console-library-heading { gap: 10px; }
  .console-library-heading h2 { font-size: 16px; }
  .console-search { width: 53%; padding-inline: 10px; }
  .console-search input { font-size: 16px; }
  .console-library-filters { gap: 2px; margin: 1px 0; }
  .console-filter { padding: 8px 10px; font-size: 11px; }
  .console-social-nav { gap: 4px; margin-bottom: 6px; }
  .console-social-nav button { gap: 5px; padding-inline: 6px; font-size: 13px; }
  .console-page .console-social-nav > :is(.pr-inv,#console-invite) { min-width: 76px; margin-left: 0; padding-inline: 12px; font-size: 13px; }
  .console-page .pr-head { gap: 8px; margin-bottom: 6px; }
  .console-page .pr-head h1, .console-page .pr-head h2 { font-size: 13px; }
  .console-page .pr-count { padding: 3px 7px; font-size: 10px; }
  .console-page .pr-inv { padding: 8px 14px; font-size: 12px; }
  .console-page .pr-left { gap: 4px 8px; }
  .console-page .pr-status { font-size: 11px; line-height: 16px; }
  .console-page .pr-wait { max-width: 140px; font-size: 11px; line-height: 16px; }
  .console-page .pr-btn { padding-inline: 10px; }
  .console-page .pr-steps { gap: 6px; justify-content: space-between; }
  .console-page .pr-steps li { gap: 4px; font-size: 9px; }
  .console-page .pr-hint { font-size: 10px; line-height: 15px; }
  .console-page .pr-chat { flex-basis: 150px; border-radius: 20px; }
  .console-page .pr-type input { font-size: 16px; }
  .console-idle-copy { padding: 8px 8px 12px; gap: 8px; }
  .console-idle-copy h2, .console-idle-copy h3 { font-size: 23px; }
  .console-idle-copy p { font-size: 13px; line-height: 19px; }
  .console-idle-seat:nth-of-type(1), .console-idle-seat:nth-last-child(3) { left: 15%; }
  .console-idle-seat:nth-of-type(2), .console-idle-seat:nth-last-child(2) { right: 15%; }
  .console-friends .arcade-friends { grid-template-columns: minmax(0,1fr); }
  .console-friends .arcade-section-head { gap: 8px; margin-bottom: 10px; }
  .console-friends h2 { font-size: 18px; }
  .console-friends .arcade-social-hint { font-size: 12px; line-height: 17px; }
  .console-friends .arcade-friend { padding: 12px; }
}
@media (max-height: 820px) {
  .console-pane-heading p { display: none; }
  .console-feature-top { padding: 12px; }
  .console-feature-copy { padding-block: 14px; }
  .console-game-tagline { -webkit-line-clamp: 1; }
}
@media (max-height: 700px) {
  .console-top.site-top { flex-basis: 64px; height: 64px; padding-block: 8px; }
  .console-layout { padding-block: 8px; }
  .console-pane-heading { margin-bottom: 6px; }
  .console-game-tagline { display: none; }
  .console-feature-copy h3 { font-size: 27px; }
  .console-feature-copy { padding: 12px 16px; }
  .console-feature-actions { margin-top: 10px; }
  .console-idle-room { flex-basis: 30%; max-height: 170px; }
  .console-idle-copy { gap: 6px; padding: 8px 12px; }
  .console-idle-copy h2, .console-idle-copy h3 { font-size: 22px; }
  .console-idle-copy p { font-size: 13px; line-height: 18px; }
  .console-idle-copy > .console-action { margin-top: 0; }
}
@media (min-width: 700px) and (max-width: 1099px) and (max-height: 700px) {
  .console-games { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); grid-template-rows: minmax(0,1fr); gap: 16px; }
  .console-games > .console-pane-heading { display: none; }
  .console-feature { grid-column: 1; grid-row: 1; height: 100%; }
  .console-library-section { grid-column: 2; grid-row: 1; justify-content: center; min-height: 0; margin: 0; padding: 0; border: 0; }
  .console-library-heading h2 { font-size: 16px; }
  .console-search { width: 54%; }
  .console-carousel { grid-auto-columns: minmax(78px,calc((100% - 8px)/2.2)); gap: 8px; }
  .console-carousel { --cart-img: 54px; }
  .console-filter { font-size: 11px; padding-inline: 9px; }
}
@media (max-height: 500px) {
  .console-pane-heading, .console-feature-label, .console-game-meta { display: none; }
  .console-top .logo img { height: 38px; }
  .console-top .logo { font-size: 19px; }
  .console-feature-top { position: absolute; z-index: 2; top: 0; right: 0; padding: 8px; }
  .console-feature-copy { margin-top: auto; padding: 12px; }
  .console-feature-copy h3 { padding-right: 20px; font-size: 25px; }
  .console-feature-actions { margin-top: 8px; }
  .console-social-nav { margin-bottom: 5px; }
  .console-page .pr-head { min-height: 48px; margin-bottom: 5px; }
  .console-page .pr-left { grid-template-columns: minmax(0,1fr) 170px; grid-template-rows: 1fr auto auto; gap: 5px 12px; }
  .console-page .pr-left > .pr-room { grid-column: 1; grid-row: 1/4; }
  .console-page .pr-left > .pr-status { grid-column: 2; grid-row: 1; align-self: end; text-align: center; }
  .console-page .pr-left > .pr-bar { grid-column: 2; grid-row: 2; justify-content: center; }
  .console-page .pr-left > .pr-beatrow { grid-column: 2; grid-row: 3; }
  .console-page .pr-beat { width: 100%; min-height: 48px; padding: 0 8px 0 36px; font-size: 12px; }
  .console-page .pr-beat-ring { left: 8px; width: 20px; height: 20px; margin-top: -10px; }
  .console-page .pr-wait { max-width: none; text-align: center; }
  .console-page .pr-chat-h { display: none; }
  .console-page .pr-chat { flex-basis: clamp(100px,42%,150px); }
  .console-page .pr-chat .pr-log, .console-page .pr-chat.is-open .pr-log { padding-block: 6px; }
  .console-idle { flex-direction: row; gap: 12px; }
  .console-idle-room { flex: 1 1 35%; height: 100%; max-height: 200px; }
  .console-idle-copy { flex: 1 1 65%; align-content: center; }
  .console-idle-copy p { display: none; }
  .console-idle-seat { width: 48px; height: 48px; font-size: 20px; }
}
@media (max-width: 699px) and (max-height: 500px) {
  .console-games { position: relative; }
  .console-games:has(.console-search input:focus) .console-feature { display: none; }
  .console-games:has(.console-search input:focus) .console-library-section { flex: 1; margin-top: 0; border: 0; justify-content: start; }
  .console-games:not(:has(.console-search input:focus)) .console-library-section { margin-top: 4px; padding-top: 2px; }
  .console-games:not(:has(.console-search input:focus)) .console-cartridge img { display: none; }
  .console-games:not(:has(.console-search input:focus)) .console-cartridge { justify-content: center; }
  .console-games:not(:has(.console-search input:focus)) .console-feature { flex: 1; min-height: 60px; }
  .console-games:not(:has(.console-search input:focus)) .console-feature-top,
  .console-games:not(:has(.console-search input:focus)) .console-feature-copy h3 { display: none; }
  .console-games:not(:has(.console-search input:focus)) .console-feature-copy { padding: 5px; }
  .console-games:not(:has(.console-search input:focus)) .console-feature-actions { margin: 0; }
  .console-page .pr-left { grid-template-columns: minmax(0,1fr) 130px; }
  .console-page .pr-type { gap: 5px; }
  /* A phone's open keyboard gives the conversation the remaining height. */
  .console-page .pr-main:has(.pr-type input:focus) .pr-left { display: none; }
  .console-page .pr-main:has(.pr-type input:focus) .pr-chat { flex: 1 1 0; }
  .console-idle-room { display: none; }
  .console-idle-copy { flex: 1 1 100%; padding-block: 0; }
  .console-idle-copy h2, .console-idle-copy h3 { font-size: 20px; }
}
@media (max-width: 360px) {
  .console-social-nav { gap: 2px; }
  .console-social-nav button { gap: 3px; padding-inline: 5px; font-size: 12px; }
  .console-page .console-social-nav > :is(.pr-inv,#console-invite) { min-width: 70px; padding-inline: 10px; font-size: 12px; }
  #console-friends-badge { min-width: 16px; padding-inline: 3px; font-size: 10px; }
  .console-top.site-top { padding-inline: 10px; gap: 6px; }
  .console-top .logo { font-size: 16px; }
  .console-top .logo img { height: 36px; }
  .console-layout { padding-inline: 10px; }
  .console-mobile-tabs { padding-inline: 10px; }
  .console-customize { max-width: 112px; padding-inline: 8px; }
  .console-customize svg { display: none; }
  .console-feature-copy { padding-inline: 12px; }
  .console-feature-copy h3 { font-size: 26px; }
  .console-search { width: 52%; }
}
@media (prefers-reduced-motion: reduce) {
  .console-page *, .console-page *::before, .console-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Splitters keep their grab targets generous while the visible divider stays light. */
@media (min-width: 1100px) {
  .console-column-resizer, .console-row-resizer { position: relative; z-index: 4; display: grid; place-items: center; touch-action: none; user-select: none; outline: none; }
  .console-column-resizer { grid-column: 2; grid-row: 1; width: 48px; height: 100%; justify-self: center; cursor: col-resize; }
  .console-column-resizer::before { content: ''; position: absolute; left: calc(50% - .5px); top: 0; bottom: 0; width: 1px; background: var(--console-edge); }
  .console-column-resizer > span { z-index: 1; width: 12px; height: 64px; border: 1px solid rgba(164,123,255,.4); border-radius: 999px; background: repeating-linear-gradient(0deg,transparent 0 5px,var(--violet-soft) 5px 7px,transparent 7px 11px) center/2px 30px no-repeat,var(--bg-2); }
  .console-page .pr-left { grid-template-rows: minmax(0,1fr) 24px auto auto; }
  .console-page .pr-left > .pr-status, .console-page .pr-left > .pr-bar { grid-row: 3; }
  .console-page .pr-left > .pr-beatrow { grid-row: 4; }
  .console-row-resizer { grid-column: 1/-1; grid-row: 2; width: 100%; height: 48px; align-self: center; cursor: row-resize; }
  .console-row-resizer::before { content: ''; position: absolute; top: calc(50% - .5px); left: 0; right: 0; height: 1px; background: var(--console-edge); }
  .console-row-resizer > span { z-index: 1; height: 12px; width: 64px; border: 1px solid rgba(164,123,255,.4); border-radius: 999px; background: repeating-linear-gradient(90deg,transparent 0 5px,var(--violet-soft) 5px 7px,transparent 7px 11px) center/30px 2px no-repeat,var(--bg-2); }
  :is(.console-column-resizer,.console-row-resizer):is(:hover,:focus-visible) > span { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(210,255,77,.12); }
  .console-layout.is-resizing { transition: none; user-select: none; }
  .console-layout.is-resizing iframe { pointer-events: none; }
  .console-page .pr-chat { flex-basis: var(--console-chat-height,174px); }
  #console-social[data-social-view="room"] .pr-chat { display: flex; }
  #console-social[data-social-view="chat"] .pr-chat { flex-basis: var(--console-chat-height,clamp(160px,38%,280px)); }
  .console-page.is-console-playing .pr-left { grid-template-rows: minmax(0,1fr) 24px auto auto auto; }
  .console-page.is-console-playing .pr-left > .pr-status { grid-row: 3; }
  .console-page.is-console-playing .pr-left > .pr-bar { grid-row: 4; }
  .console-page.is-console-playing .pr-left > .pr-beatrow { grid-row: 5; }
}
@container (max-width: 340px) {
  .console-social-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .console-social-nav button { min-width: 0; padding-inline: 5px; font-size: 12px; }
  .console-page .console-social-nav > :is(.pr-inv,#console-invite) { margin-left: 0; min-width: 0; }
}
@keyframes console-spin { to { transform: rotate(360deg); } }

/* Equal spacing between social actions and the separate inbox/profile controls. */
.console-page .console-top.site-top { gap: 8px; }
.console-top .console-header-social, .console-top .acct { gap: 8px; }
.console-top .acct > * { margin-left: 0; margin-right: 0; }
.console-page .console-top .pab-inbox-btn { margin-inline: 0; }
.console-page .pr-reaction-tray[open] .pr-compose-popup:popover-open { position: fixed; inset: auto; margin: 0; padding: 6px; max-height: 380px; border: 1px solid var(--violet); border-radius: 18px; background: var(--bg-2); color: var(--ivory); box-shadow: 0 14px 40px #0008; overflow: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.console-page .pr-reaction-tray[open] .pr-compose-popup.is-phrases:popover-open { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
.console-page .pr-compose-popup.is-phrases button { flex: none; width: 100%; min-height: 56px; padding: 12px 14px; border: 2px solid transparent; border-radius: 12px; text-align: left; font-size: 18px; line-height: 24px; font-weight: 600; white-space: normal; overflow-wrap: anywhere; transition: background-color .14s ease, color .14s ease, border-color .14s ease; }
.console-page .pr-compose-popup.is-phrases button:hover,
.console-page .pr-compose-popup.is-phrases button:focus-visible,
.console-page.console-pad-mode .pr-compose-popup.is-phrases button.console-pad-target { background: var(--lime); border-color: var(--lime); color: var(--night); }
.console-page .pr-compose-popup.is-phrases button:is(:focus-visible,.console-pad-target) { outline-offset: 0 !important; }
.console-page .pr-reaction-tray[open] .pr-compose-popup.is-emotes:popover-open { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; }
.console-page .pr-compose-popup.is-emotes .pr-emo { width: 100%; }
.console-page .pr-compose-popup { color-scheme: dark; scrollbar-color: #a47bff80 transparent; }
@media (prefers-reduced-motion: no-preference) {
  .console-page :is(.console-column-resizer,.console-row-resizer) > span { transition: scale .22s cubic-bezier(.2,1.8,.4,1); }
  .console-page :is(.console-column-resizer,.console-row-resizer):is(:hover,:focus-visible) > span { scale: 1.16; }
}
@keyframes console-pop-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* The same controls remain reachable by touch, keyboard and controller. */
.console-pad-help { display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 10px; border: 1px solid var(--console-edge); border-radius: 14px; background: var(--bg-2); color: var(--violet-soft); }
.console-pad-help svg { width: 26px; height: 26px; }
.console-pad-mode .console-pad-target { outline: 3px solid var(--lime) !important; outline-offset: 3px; box-shadow: 0 0 18px #d2ff4d30; }
.console-pad-hint { position: fixed; z-index: 300; left: 50%; bottom: max(8px,env(safe-area-inset-bottom)); translate: -50% 0; max-width: calc(100vw - 24px); width: max-content; padding: 8px 16px; border: 1px solid var(--console-edge); border-radius: 16px; background: #13131bef; color: var(--ivory); font-size: 12px; text-align: center; pointer-events: none; }
.console-keyboard, .console-pad-guide { position: fixed; inset: 0; margin: auto; box-sizing: border-box; width: min(680px,calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; padding: 20px; border: 1px solid var(--violet); border-radius: 24px; background: var(--bg-2); color: var(--ivory); box-shadow: 0 24px 80px #0009; }
.console-keyboard::backdrop, .console-pad-guide::backdrop { background: #080812b8; backdrop-filter: blur(6px); }
.console-keyboard-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.console-keyboard-head h2 { margin: 0; font-family: var(--font-display, 'DynaPuff',sans-serif); font-size: 24px; }
.console-keyboard-head button { flex: none; min-width: 48px; min-height: 48px; border: 1px solid var(--console-edge); border-radius: 14px; color: var(--ivory); background: var(--night); }
.console-keyboard-text { box-sizing: border-box; width: 100%; min-height: 52px; padding: 10px 14px; border: 1px solid var(--console-edge); border-radius: 14px; background: var(--night); color: var(--ivory); font: inherit; font-size: 18px; }
.console-keyboard-count { display: block; margin: 6px 2px 12px; color: var(--muted); text-align: right; }
.console-keyboard-keys { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 8px; }
.console-key, .console-keyboard-action { min-width: 48px; min-height: 48px; padding: 8px; border: 1px solid var(--console-edge); border-radius: 12px; background: var(--night); color: var(--ivory); font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.console-keyboard :is(button,input):focus-visible, .console-pad-guide button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.console-keyboard-actions { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.console-keyboard-foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.console-keyboard-action[aria-pressed="true"] { background: #a47bff30; border-color: var(--violet); }
.console-keyboard .is-send { background: var(--lime); color: var(--night); border-color: var(--lime); }
.console-keyboard-help { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }
.console-keyboard, .console-pad-guide { color-scheme: dark; scrollbar-width: thin; scrollbar-color: #a47bff80 transparent; }
.console-pad-guide { width: min(520px,calc(100vw - 24px)); }
.console-pad-guide p { line-height: 1.6; }
.console-pad-guide > button { display: block; width: 100%; margin-top: 12px; }
@media (max-width: 650px) {
  .console-keyboard, .console-pad-guide { padding: 14px; }
  .console-keyboard-keys { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
  .console-keyboard-actions, .console-keyboard-foot { gap: 6px; }
  .console-keyboard-foot { grid-template-columns: 1fr 1fr; }
  .console-keyboard-foot > :first-child { grid-column: 1/-1; }
  .console-keyboard-head h2 { font-size: 20px; }
  .console-pad-hint { font-size: 10px; }
}

/* a sideways game open on a sideways phone: the page's "turn upright" card would cover it (./console.js paintTurn) */
body[data-console-sideways] > .pab-turn.is-page { display: none !important; }

/* Play a little shorter and taller, Share right of it (the user's sketch, 2026-11-25; share-game.js) */
.console-feature .console-play { flex: 0 1 300px; min-height: 60px; font-size: 18px; }
.console-feature .console-play .btn-play-ico { width: 48px; height: 48px; }
.console-share.is-lg { width: 60px; height: 60px; }
/* The Party Room's Play: DynaPuff like every Play (site.css .btn-play), its word centred on the whole pill — the left side pads by
   the ▶ circle and its gap (the user, 2026-11-26: «el botón de play de la consola también cámbiale la tipografía») */
.console-feature .console-play { --pr: 8px; --g: 10px; --ico: 44px; font-family: var(--font-display); font-weight: 600; padding: 0 var(--pr) 0 calc(var(--pr) + var(--ico) + var(--g)); gap: var(--g); }
.console-feature .console-play .btn-play-ico { width: var(--ico); height: var(--ico); }
@media (max-width: 900px) { .console-feature .console-play { --pr: 6px; --g: 8px; --ico: 38px; } }
/* (a smaller Play with a bigger, centred word: the user, 2026-11-26, «que sea más chico, el texto de play más grande y centrado») */
.console-feature .console-play { flex: 0 1 240px; min-height: 52px; font-size: 22px; --ico: 40px; --pr: 6px; --g: 10px; }
@media (max-width: 900px) { .console-feature .console-play { flex-basis: 200px; min-height: 46px; font-size: 19px; --ico: 34px; } }
/* (the Party Room's header buttons as pills, and the avatar with no box: the user, 2026-11-26, «esos botones son redondos y el
   avatar vamos a dejarlo sin container») */
.console-header-social button, .console-top .party-btn { border-radius: 999px; }
.console-top .pab-chipme, .console-page .console-top .pab-chipme { background: transparent; border-color: transparent; box-shadow: none; }
/* (the library covers' names centred under them: the user, 2026-11-26, «centra los nombres de los textos») */
.console-cartridge span, .console-carousel > button > span { text-align: center; }
/* (the search sits 8 px in from the column's edge so its focus ring shows whole instead of hiding behind the next box: the user,
   2026-11-26, «cuando marco el search el marco verde se pierde detrás del container, puedes correr el search a la izquierda») */
.console-search { margin-right: 8px; }

/* The way out is the console's power button (the user, 2026-11-26: «haz aquí más bien un botón de encendido estilo consola, y cuando
   lo apagues hazle unos parpadeos mientras se hace la animación de cierre de la consola»): a round button with the power sign lit in
   lime and its little light beside it; pressed, it blinks a few times and goes dark while the room flies off (console-intro.js). */
.console-top .console-home.console-power { position: relative; width: 48px; height: 48px; padding: 0; gap: 0; border-radius: 50%; color: var(--lime);
  border: 2px solid rgba(250,247,242,.14); background: radial-gradient(circle at 50% 32%, #2C2C3C, #15151E 70%);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.4), inset 0 1px 0 rgba(250,247,242,.08), 0 0 0 4px rgba(250,247,242,.03); transition: border-color .16s, transform .12s, box-shadow .16s; }
.console-power svg { width: 22px; height: 22px; filter: drop-shadow(0 0 5px rgba(210,255,77,.6)); }
.console-power:hover { border-color: rgba(210,255,77,.55); background: radial-gradient(circle at 50% 32%, #2C2C3C, #15151E 70%); }
.console-power:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.4), inset 0 2px 4px rgba(0,0,0,.45), 0 0 0 4px rgba(250,247,242,.03); }
.console-power-led { position: absolute; right: 1px; bottom: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px 1px rgba(210,255,77,.75); border: 1.5px solid #15151E; }
.console-power.is-off { color: rgba(250,247,242,.28); }
.console-power.is-off svg { filter: none; animation: console-power-blink .66s steps(1) both; }
.console-power.is-off .console-power-led { animation: console-power-led .66s steps(1) both; }
@keyframes console-power-blink { 0%, 30%, 60% { color: var(--lime); filter: drop-shadow(0 0 6px rgba(210,255,77,.7)); } 15%, 45%, 75%, 100% { color: rgba(250,247,242,.28); filter: none; } }
@keyframes console-power-led { 0%, 30%, 60% { background: var(--lime); box-shadow: 0 0 8px 1px rgba(210,255,77,.75); } 15%, 45%, 75% { background: #FF5FC8; box-shadow: 0 0 8px 1px rgba(255,95,200,.7); } 100% { background: #3A3A4A; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .console-power.is-off svg, .console-power.is-off .console-power-led { animation: none; } .console-power.is-off .console-power-led { background: #3A3A4A; box-shadow: none; } }
/* The party card's buttons pop on hover (the user, 2026-11-26: «que estos botones hagan un pop con el hover»): a springy grow, a press
   back down; on the scale / translate properties, so the console's own press motion (console-motion.js, transform) still adds on top. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .console-idle-copy :is(.console-idle-actions > button, .console-join) { transition: scale .26s cubic-bezier(.2,1.9,.4,1), translate .26s cubic-bezier(.2,1.9,.4,1), border-color .16s, background-color .16s, box-shadow .2s; }
  .console-idle-copy :is(.console-idle-actions > button, .console-join):hover { scale: 1.06; translate: 0 -2px; }
  .console-idle-copy .console-action:hover { box-shadow: 0 10px 26px rgba(210,255,77,.28); }
  .console-idle-copy .console-join:hover { box-shadow: 0 10px 26px rgba(164,123,255,.32); }
  .console-idle-copy :is(.console-idle-actions > button, .console-join):active { scale: .97; translate: 0 0; transition-duration: .08s; }
}
.console-idle-copy p strong { color: var(--ivory); font-weight: 700; }   /* (the key words of the party card's line) */

/* a cartridge without a landscape cover: its thumb whole, over a blurred copy of it filling the 16:9 frame (console.js gameButton, .is-fit) */
.console-carousel > .console-cartridge.is-fit img { position: relative; z-index: 1; object-fit: contain; background: transparent; }
.console-carousel > .console-cartridge.is-fit::before { content: ''; position: absolute; z-index: 0; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: var(--art) center / cover no-repeat; filter: blur(9px) saturate(1.15) brightness(.6); transform: translateZ(0); pointer-events: none; }
.console-carousel > .console-cartridge.is-fit[aria-pressed="true"]::before { filter: blur(9px) saturate(1.2) brightness(.75); }
/* the hero's gameplay video (console.js updateVideo): over the still cover once it plays; upright, whole in the middle over the cover blurred */
.console-cover-wrap .console-cover-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.console-cover-wrap.has-video .console-cover-video.is-on { opacity: 1; }
.console-cover-wrap .console-cover-back { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(28px) saturate(1.2) brightness(.62); opacity: 0; transition: opacity .35s ease; }
.console-cover-wrap.is-upright .console-cover-video { object-fit: contain; }
.console-cover-wrap.is-upright.has-video .console-cover-back { opacity: 1; }
.console-cover-wrap.has-video.is-upright #console-cover { opacity: 0; }
/* The header's buttons pop on hover too (the user, 2026-11-26: «pop a todos estos botones»): Friends, Invite your friends, the inbox,
   the account, the power button — the same springy grow as the party card's, on scale / translate */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .console-top :is(button, a) { transition: scale .26s cubic-bezier(.2,1.9,.4,1), translate .26s cubic-bezier(.2,1.9,.4,1), border-color .16s, background-color .16s, box-shadow .2s, color .16s; }
  .console-top :is(button, a):hover { scale: 1.07; translate: 0 -2px; }
  .console-top :is(button, a):active { scale: .96; translate: 0 0; transition-duration: .08s; }
}
/* …and the room's round buttons (the user, 2026-11-26: «pop a esos botones»): Share and the star on the game's card, the carousel's
   arrows, the filters, the lobby music's speaker */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .console-page :is(.console-share, .console-favorite, .console-carousel-arrow, .console-music) { transition: scale .26s cubic-bezier(.2,1.9,.4,1), translate .26s cubic-bezier(.2,1.9,.4,1), border-color .16s, background-color .16s, box-shadow .2s, color .16s; }
  .console-page :is(.console-share, .console-favorite, .console-carousel-arrow, .console-music):not(:disabled):hover { scale: 1.1; translate: 0 -2px; }
  .console-page :is(.console-share, .console-favorite, .console-carousel-arrow, .console-music):not(:disabled):active { scale: .94; translate: 0 0; transition-duration: .08s; }
}
/* the player's profile background behind the room (console.js paintBanner), dimmed; hidden while a game plays */
.console-page { isolation: isolate; }
.console-banner { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--pv-bg); pointer-events: none; }
.console-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,19,27,.5), rgba(19,19,27,.72) 55%, rgba(19,19,27,.86)); }
.console-banner .pv-fx { border-radius: 0; }
.console-page.is-console-playing .console-banner, .console-page.has-console-mirror .console-banner { display: none; }
/* The room's content in boxes, like the party card under it (the user, 2026-11-26: «mete mejor el contenido así en cajas y deja el botón
   para moverlas solo, sin la línea de los extremos»): the dance floor in its own rounded box; the dividers keep only their handle. */
.console-page .pr-left { position: relative; overflow: hidden; border: 1px solid var(--console-edge); border-radius: 22px; background: rgba(27,27,38,.55); }
.console-page .console-column-resizer::before, .console-page .console-row-resizer::before { display: none; }
/* the party card never smaller than its words and buttons, whatever the divider says: the dance floor gives way (no scroll inside it) */
#console-social .pr-main .pr-chat.console-idle-chat { min-height: fit-content; }
/* (the games column holds the leaving card of a game change and clips it: console.js slideFeature) */
.console-games { position: relative; }
/* the number of favourites on its filter (console.js renderShelf) */
.console-filter { display: inline-flex; align-items: center; gap: 8px; }
.console-filter-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--lime); color: var(--night); font: 700 12px/1 var(--font); font-variant-numeric: tabular-nums; }
/* icons on Friends and Invite your friends (the user, 2026-11-26: «agrégale iconos a esos botones») */
.console-btn-ico { width: 19px; height: 19px; flex: none; }
#console-invite { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
/* the carousel's arrows grow on hover and wear a 3 px focus ring: the column lets 10 px past its edge show, so neither is cut */
.console-games { overflow-clip-margin: 10px; }
/* The library's filters in the home's style (the user, 2026-11-26: «trae a los botones de la librería … el mismo estilo» as the home's
   Most played / All games / With friends / Favorites, arcade.css .arcade-filter): outlined pills, the picked one ivory; on hover a violet
   sticker that lifts and tilts over a lime shadow (the picked one lime over violet), pressed it squashes. */
.console-filter { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-1); color: var(--tx-mid); font: 650 13px/1.2 var(--font);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease-out, background .15s, color .15s, border-color .15s;   /* smooth, no overshoot: the user, 2026-11-26: «al final de la animación hace un brinquito que no me gusta, se tiene que animar más smooth» */ }
.console-filter[aria-pressed="true"] { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.console-filter[aria-pressed="true"] .console-filter-count { background: var(--night); color: var(--lime); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .console-filter:hover { border-color: var(--night); background: var(--violet); color: var(--night); box-shadow: 0 0 0 2px var(--night), 3px 5px 0 2px var(--lime); transform: translate(-2px, -4px) rotate(-3deg) scale(1.04); }
  .console-filter:nth-child(even):hover { transform: translate(-2px, -4px) rotate(3deg) scale(1.04); }
  .console-filter[aria-pressed="true"]:hover { background: var(--lime); color: var(--night); box-shadow: 0 0 0 2px var(--night), 3px 5px 0 2px var(--violet); }
  .console-filter:active { transform: translate(1px, 2px) scale(.96, .92); box-shadow: 0 0 0 2px var(--night), 0 0 0 2px var(--lime); transition-duration: .06s; }
}
/* (room for the lifted, tilted sticker, its ring and its shadow inside the row that scrolls sideways — it clips them otherwise; the same
   room taken back with a negative margin, so nothing moves: the user, 2026-11-26, «que no se corten») */
.console-library-filters { padding: 12px 14px 14px 8px; margin: -10px -14px -10px -8px; gap: 8px; }
/* «In your party room» lives in the line over the game's name, lime dot first, never floating over the video (console.js select) */
.console-feature-label { display: none; }
.console-game-meta { display: inline-flex; align-items: center; gap: 8px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.console-game-meta::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 8px rgba(210,255,77,.7); flex: none; }
/* The preloader: no tiles under it, and its ring beats exactly like the site's Play button (site.css .btn-play::after btn-beat: a
   strong pulse then a softer one every 2 s, out from its edge) — the user, 2026-11-26: «quítale esos palitos de abajo y haz que el
   anillo pulse como los anillos del botón nuevo de play» */
.console-boot-tiles { display: none; }
.console-loader::after { display: none; }
.console-loader::before { inset: -6px; border: 3px solid var(--lime); opacity: 0; animation: btn-beat 2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .console-loader::before { animation: none; display: none; } }
/* the ring and its beat in the Play button's gradient colours (site.css .btn-play:hover: lime, mint, violet, pink) — the user,
   2026-11-26: «haz que ese anillo sea de los colores del gradiente del botón de play»; a conic gradient cut to a ring by a mask, so it
   turns with the ring */
.console-loader-ring { border: 0; background: conic-gradient(from 0deg, #D2FF4D, #8FF5C8, #A47BFF, #FF7AD9, #D2FF4D);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); }
.console-loader.is-small .console-loader-ring { -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); }
.console-loader::before { border: 0; background: conic-gradient(from 90deg, #D2FF4D, #8FF5C8, #A47BFF, #FF7AD9, #D2FF4D);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); }
/* both rings squash and stretch on the beat like the Play button (the user, 2026-11-26: «el anillo se tiene que deformar y tiene que
   pulsar, el que da vueltas también»): the turning ring kicks wide and short on every beat (the scale property, so it adds to its
   turn), the pulse ring leaves it stretched tall as the button's does (btn-beat) */
.console-loader-ring { animation: console-spin .9s linear infinite, console-ring-kick 1s linear infinite; }
@keyframes console-ring-kick { 0% { scale: 1.14 .86; animation-timing-function: cubic-bezier(.2,.8,.3,1); } 22% { scale: .96 1.05; } 45%, 100% { scale: 1 1; } }
.console-loader::before { animation: btn-beat 2s linear infinite; }   /* (its two pulses, strong and soft, land with the ring's kicks: one a second) */
@media (prefers-reduced-motion: reduce) { .console-loader-ring { animation: console-spin 2.4s linear infinite; } }
/* the preloader's one title, changing: out it slides up and fades, in it drops from below with a bounce (console.js bootSay) */
.console-boot .console-boot-title { min-height: 1.3em; animation: none; }
.console-boot .console-boot-title.is-in { animation: console-boot-title-in .5s cubic-bezier(.2,1.6,.4,1) both; }
.console-boot .console-boot-title.is-out { animation: console-boot-title-out .23s cubic-bezier(.5,0,.8,.4) both; }
@keyframes console-boot-title-in { from { opacity: 0; transform: translateY(18px) scale(.92) rotate(-2deg); } }
@keyframes console-boot-title-out { to { opacity: 0; transform: translateY(-14px) scale(.96) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .console-boot .console-boot-title.is-in, .console-boot .console-boot-title.is-out { animation: none; } }
/* the ring that leaves stretches more and lasts half a second longer (the user, 2026-11-26: «haz que el anillo del pulso se deforme
   más, el del botón de play es perfecto ejemplo, y haz que el anillo que se desprende se quede 0.5 segundos más»): the Play button's
   two kicks a bar (strong, then soft), each pulling the ring wide and much taller, each fading over ~0.9 s instead of ~0.4 */
.console-loader::before { animation: console-loader-pulse 2s linear infinite; }
@keyframes console-loader-pulse {
  0% { opacity: .95; transform: scale(1); animation-timing-function: cubic-bezier(.1,.7,.3,1); }
  45% { opacity: 0; transform: scale(1.22, 1.6); }
  49.9% { opacity: 0; transform: scale(1); }
  50% { opacity: .55; transform: scale(1); animation-timing-function: cubic-bezier(.1,.7,.3,1); }
  95% { opacity: 0; transform: scale(1.14, 1.4); }
  100% { opacity: 0; }
}
/* On a phone the party's button («Vote for this game», «Play with friends») takes its own full row under Play and Share, its icon
   back, instead of squeezing its words into a circle beside them (tools/console-check.mjs, iPhone 14 in a party, 2026-11-26) */
@media (max-width: 600px) {
  .console-feature-actions { flex-wrap: wrap; }
  .console-feature-actions .console-play-party:not([hidden]) { flex: 1 1 100%; order: 3; padding: 8px 14px; }
  .console-feature-actions .console-play-party svg { display: block; }
}
/* the loader's avatar thumps on every beat of 120 BPM: squashed on the beat, a stretch back, still (its arm ticks on the same beat) */
.console-loader img, .console-loader .pab-av { animation: console-loader-thump .5s linear infinite; transform-origin: 50% 90%; }
@keyframes console-loader-thump { 0% { transform: scale(1.12, .86); animation-timing-function: cubic-bezier(.2,.8,.3,1); } 30% { transform: scale(.95, 1.07) translateY(-3px); } 60%, 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .console-loader img, .console-loader .pab-av { animation: none; } }
/* the preloader's progress bar: a violet fill under the line, running to 88 % while it loads, full when it is in (console.js) */
.console-boot-bar { width: min(240px, 60vw); height: 8px; margin-top: 2px; border-radius: 999px; background: rgba(164,123,255,.18); overflow: hidden; }
.console-boot-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8B5CF6, #A47BFF 60%, #C9B2FF);
  box-shadow: 0 0 12px rgba(164,123,255,.6); transform: scaleX(0); transform-origin: left center; }
.console-boot-bar i.is-going { transform: scaleX(.88); transition: transform 1.7s cubic-bezier(.2,.7,.2,1); }
.console-boot-bar i.is-full { transform: scaleX(1); transition: transform .25s ease-out; }
/* the console's preloader keeps only the avatar on the beat, the changing line and the violet bar: no ring, no pulse (the user,
   2026-11-26: «quita el anillo que da vueltas, deja solo las frases, el avatar y la barra de progreso») */
.console-boot .console-loader-ring, .console-boot .console-loader::before, .console-boot .console-loader::after { display: none; }
.console-boot .console-loader.is-big { width: 120px; height: 120px; }
.console-boot .console-loader.is-big .pab-av, .console-boot .console-loader.is-big img { width: 104px !important; height: auto; }
/* the avatar sits as close over the line as the line sits over the bar (the user, 2026-11-26: «baja un poco el avatar para que tenga el
   mismo margen que tiene el texto con respecto al loading bar»): ~20 px less under it */
.console-boot .console-loader.is-big { margin-bottom: -20px; }
/* the preloader's waveform (console.js): pills of different heights, dim until filled; a filled one turns violet and dances in its band,
   like a song's spectrum at 120 BPM — low on the beat (.5 s), mid on eighths, high on sixteenths, each a little out of step */
.console-boot-wave { display: flex; align-items: center; justify-content: center; gap: 5px; width: min(300px, 72vw); height: 46px; margin-top: 2px; }
.console-boot-wave i { flex: 1 1 0; max-width: 7px; height: var(--h); min-height: 6px; border-radius: 999px; background: rgba(164,123,255,.2); transform-origin: 50% 50%; transition: background-color .2s; }
.console-boot-wave i.is-on { background: linear-gradient(180deg, #C9B2FF, #A47BFF 55%, #8B5CF6); box-shadow: 0 0 10px rgba(164,123,255,.55); }
.console-boot-wave i.is-on.is-low { animation: console-wave-low .5s cubic-bezier(.2,.8,.3,1) var(--d) infinite; }
.console-boot-wave i.is-on.is-mid { animation: console-wave-mid .25s ease-in-out var(--d) infinite alternate; }
.console-boot-wave i.is-on.is-high { animation: console-wave-high .125s ease-in-out var(--d) infinite alternate; }
@keyframes console-wave-low { 0% { transform: scaleY(1.25); } 60% { transform: scaleY(.55); } 100% { transform: scaleY(.7); } }
@keyframes console-wave-mid { from { transform: scaleY(.6); } to { transform: scaleY(1.12); } }
@keyframes console-wave-high { from { transform: scaleY(.75); } to { transform: scaleY(1.04); } }
@media (prefers-reduced-motion: reduce) { .console-boot-wave i.is-on { animation: none !important; } }
/* a pill not filled yet is only its outline (the user, 2026-11-26: «las barras que no se han llenado represéntalas con un outline») */
.console-boot-wave i { box-sizing: border-box; background: transparent; border: 1.5px solid rgba(164,123,255,.5); }
.console-boot-wave i.is-on { border-color: transparent; }
/* the shelf keeps the height of its biggest cartridge (the picked one, 1.5× its 16:9 picture, plus its name), whatever the filter shows —
   one favourite, a list without the picked game, none — so the library never jumps between tabs (the user, 2026-11-26) */
.console-carousel { min-height: calc(var(--cart-img) * 1.5 + 41px); }
.console-carousel-bar { min-height: calc(var(--cart-img) * 1.5 + 41px); }
/* the search pops too on hover, and stays lifted with a violet ring while typing (the user, 2026-11-26: «hazle un pop también cuando me
   pare sobre el search») */
.console-search { transition: scale .26s cubic-bezier(.2,1.9,.4,1), translate .26s cubic-bezier(.2,1.9,.4,1), border-color .16s, box-shadow .2s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .console-search:hover { scale: 1.04; translate: 0 -2px; border-color: rgba(164,123,255,.6); box-shadow: 0 8px 22px rgba(164,123,255,.2); }
}
.console-search:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(164,123,255,.22); }
/* One spacing everywhere (the user, 2026-11-26: «¿cómo podemos mejorar todos los espaciados para que sean iguales?»): 16 px around the
   room, 16 px between every box (the game card, the library, the dance floor, the party card) and 16 px for the dividers' strip, their
   handles in the middle of it; the library in its own box like the others, no line over it. */
@media (min-width: 1100px) {
  .console-layout, .console-layout { --console-divider-width: 16px; padding: 16px 16px max(16px, env(safe-area-inset-bottom)); }
  .console-games { padding-right: 0; }
  .console-social { padding-left: 0; }
  .console-library-section { margin-top: 16px; padding: 12px 16px 6px; border: 1px solid var(--console-edge); border-radius: 22px; background: rgba(27,27,38,.55); }
  .console-page .pr-main { gap: 16px; }
}
@media (min-width: 1100px) { .console-top.site-top { padding-inline: 16px; } }   /* (the header lines up with the boxes under it: the same 16 px) */
/* the card's listen button (console.js startListen): round, in the card's bottom-right corner; playing, it turns lime and its notes
   become four bars dancing at 120 BPM */
.console-listen { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(250,247,242,.28); background: rgba(19,19,27,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ivory);
  transition: scale .26s cubic-bezier(.2,1.9,.4,1), translate .26s cubic-bezier(.2,1.9,.4,1), background-color .16s, color .16s, border-color .16s; }
.console-listen[hidden] { display: none; }
.console-listen svg { width: 24px; height: 24px; }
.console-listen-eq { display: none; align-items: flex-end; gap: 3px; height: 20px; }
.console-listen-eq i { width: 4px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: 50% 100%; animation: console-listen-eq .5s ease-in-out infinite alternate; }
.console-listen-eq i:nth-child(2) { animation-duration: .25s; } .console-listen-eq i:nth-child(3) { animation-duration: .375s; animation-delay: -.1s; } .console-listen-eq i:nth-child(4) { animation-duration: .25s; animation-delay: -.12s; }
@keyframes console-listen-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.console-listen.is-on { background: var(--lime); color: var(--night); border-color: var(--lime); box-shadow: 0 0 22px rgba(210,255,77,.45); }
.console-listen .console-listen-on, .console-listen.is-on .console-listen-off { display: none; }
.console-listen.is-on .console-listen-on { display: block; }
.console-listen.is-on .console-listen-on :is(.w1, .w2) { animation: console-listen-wave .5s ease-out infinite; }
.console-listen.is-on .console-listen-on .w2 { animation-delay: .08s; }
@keyframes console-listen-wave { 0% { opacity: 1; } 70%, 100% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .console-listen.is-on .console-listen-on :is(.w1, .w2) { animation: none; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .console-listen:hover { scale: 1.1; translate: 0 -2px; border-color: var(--lime); } }
@media (prefers-reduced-motion: reduce) { .console-listen-eq i { animation: none; transform: scaleY(.7); } }
@media (max-width: 600px) { .console-listen { width: 48px; height: 48px; right: 12px; bottom: auto; top: 12px; } }
/* the row handle in the middle of the 16 px between the floor's box and the party card (console-resize.js puts it there) */
.console-page .pr-main > .console-row-resizer { height: 0; min-height: 0; margin: -8px 0; align-self: stretch; z-index: 5; overflow: visible; }
.console-page .pr-main > .console-row-resizer::after { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 24px; }   /* (a hand-sized place to grab it) */
/* 10 px more air everywhere (the user, 2026-11-26: «separa todo 10 px más»): 26 px around the room, between every box and for the
   dividers' strip, the row handle in the middle of its gap */
@media (min-width: 1100px) {
  .console-layout { --console-divider-width: 26px; padding: 26px 26px max(26px, env(safe-area-inset-bottom)); }
  .console-top.site-top { padding-inline: 26px; }
  .console-library-section { margin-top: 26px; }
  .console-page .pr-main { gap: 26px; }
  .console-page .pr-main > .console-row-resizer { margin: -13px 0; }
}
@media (min-width: 1100px) { .console-page .pr-main > .console-row-resizer { margin: -19px 0 -7px; } }   /* (its handle sat 6 px low in a 0-tall row: centred) */
.console-top.site-top { border-bottom: 0; box-shadow: none; }   /* (no line under the header: the boxes carry the structure — the user, 2026-11-26, «quita esa línea») */
.console-top.site-top::after { display: none; }
.console-boot { z-index: 900; }   /* (under the site's modals, z 1000: a party's join card shows over the preloader and can be pressed) */
/* every margin the same 26 px, the header's too (the user, 2026-11-26: «que todos los márgenes sean iguales»): its buttons 26 px from
   the top of the screen, the boxes 26 px under them — the header's own height no longer adds its centring room on top */
@media (min-width: 1100px) {
  .console-top.site-top { flex: 0 0 auto; height: auto; padding: 26px 26px 0; }
  .console-layout { padding-top: 26px; }
}
/* Pick a Beat's volume in the header, right of the power button (console.js mountVolume): the speaker mutes, the bar fills lime */
.console-top .console-home.console-power { margin-right: 0; }
.console-volume { display: flex; align-items: center; gap: 4px; margin: 0 auto 0 14px; height: 48px; padding: 0 14px 0 4px; border: 1px solid var(--console-edge); border-radius: 999px; background: rgba(19,19,27,.72); --v: 100%; }
.console-volume-mute { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ivory); cursor: pointer; transition: background-color .16s, color .16s, scale .26s cubic-bezier(.2,1.9,.4,1); }
.console-volume-mute svg { width: 22px; height: 22px; }
.console-volume-mute .is-off, .console-volume.is-muted .console-volume-mute .is-loud { display: none; }
.console-volume.is-muted .console-volume-mute .is-off { display: block; }
.console-volume.is-muted .console-volume-mute { color: #FF7FD3; }
.console-volume-mute:hover { background: rgba(250,247,242,.1); }
.console-volume-mute:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.console-volume input { width: 120px; height: 28px; margin: 0; padding: 0; cursor: pointer; appearance: none; -webkit-appearance: none; background: none; }
.console-volume input:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 999px; }
.console-volume input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--lime) var(--v), rgba(250,247,242,.2) var(--v)); }
.console-volume input::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--lime) var(--v), rgba(250,247,242,.2) var(--v)); }
.console-volume input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border: 0; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 4px rgba(210,255,77,.25), 0 2px 6px rgba(0,0,0,.45); transition: scale .2s cubic-bezier(.2,1.9,.4,1); }
.console-volume input::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 4px rgba(210,255,77,.25), 0 2px 6px rgba(0,0,0,.45); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .console-volume input:hover::-webkit-slider-thumb { scale: 1.2; } .console-volume-mute:hover { scale: 1.1; } }
@media (max-width: 600px) { .console-volume { margin-left: 8px; padding-right: 10px; } .console-volume input { width: 72px; } }
/* the search, focused: one ring, lime, right on its edge — not a violet border, a violet halo and a lime outline with a gap (the user,
   2026-11-26: «aquí se ve muy apretado el search»); the heading row keeps air above and below it */
.console-page .console-search:focus-within { outline: 0; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(210,255,77,.4); scale: 1; translate: 0 0; }
.console-library-heading { padding-block: 6px; }
/* the picked filter is the lime sticker everywhere — phone, tablet and computer, no hover needed (the user, 2026-11-26: «me gusta más ese
   para cuando queda seleccionado el tab, cámbialo incluso para mobile y tablet»): lime, a night ring, a violet shadow, lifted and tilted */
.console-page .console-filter[aria-pressed="true"] { border-color: var(--night); background: var(--lime); color: var(--night); box-shadow: 0 0 0 2px var(--night), 3px 5px 0 2px var(--violet); transform: translate(-2px, -3px) rotate(-3deg); }
.console-page .console-filter[aria-pressed="true"]:nth-child(even) { transform: translate(-2px, -3px) rotate(3deg); }
@media (prefers-reduced-motion: reduce) { .console-page .console-filter[aria-pressed="true"], .console-page .console-filter[aria-pressed="true"]:nth-child(even) { transform: none; } }
/* a game docked: its turn and full-screen buttons round (stage.js), and its controls' button up here in the header, the same round
   button as the inbox beside it, with the same hover pop (the user, 2026-11-26) */
.console-page .stage.is-docked .stage-corner .stage-btn { border-radius: 50%; }
.console-page .console-top .console-stage-ctl { position: relative; flex: none; width: 48px; height: 48px; margin: 0 0 0 auto; border: 1px solid rgba(250,247,242,.16); border-radius: 999px; background: rgba(250,247,242,.04); color: var(--ivory);
  transition: transform .22s cubic-bezier(.34, 1.8, .5, 1), border-color .15s, color .15s; }
.console-page .console-top .console-stage-ctl:hover { border-color: var(--lime); color: var(--lime); }
.console-page .console-top .console-stage-ctl:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .console-page .console-top .console-stage-ctl:hover { transform: translateY(-3px) scale(1.12) rotate(-4deg); } }
.console-page .console-top .console-stage-ctl:active { transform: translateY(1px) scale(.92, .88); transition-duration: .06s; }
.console-page .console-top:has(.console-stage-ctl) .console-volume { margin-right: 0; }
/* the card's share button the size of its listen button and against the card's right edge with the same inset (the user,
   2026-11-26: «este botón más pegado, como por ejemplo el de volumen, y que sea del mismo size del de volumen»): 48 px on a phone
   (the listen button's 48 at 12 px from the corner), 56 px elsewhere */
.console-page .console-feature-actions .console-share { width: 56px; height: 56px; min-width: 56px; margin-left: auto; }
@media (max-width: 600px) { .console-page .console-feature-actions .console-share { width: 48px; height: 48px; min-width: 48px; margin-right: -4px; } }
/* the listen button in the card's top-right corner on every screen, as on a phone, and the share button in the bottom-right one
   (docs/DEVICE-PARITY.md: one layout of the card; the two met in the same corner on a computer) */
.console-page .console-listen { top: 18px; bottom: auto; right: 18px; }
@media (max-width: 600px) { .console-page .console-listen { top: 12px; right: 12px; } }
.console-page .console-feature-actions .console-share { margin-right: -3px; }
/* the Games / Hangout tabs in the header on a phone or a tablet, in the volume's place (console.js mount; the phone's own volume
   buttons do the volume there): two pills, no row of their own; on a touch screen the volume bar is never shown */
@media (pointer: coarse) { .console-page .console-top .console-volume { display: none; } }
@media (max-width: 1099px) {
  .console-page .console-top .console-volume { display: none; }
  .console-page .console-top .console-mobile-tabs { display: flex; flex: 0 1 auto; gap: 4px; min-height: 48px; margin: 0 auto 0 0; padding: 0; background: none; border: 0; }
  .console-page .console-top .console-mobile-tab { flex: none; padding: 8px 16px; }
}
@media (max-width: 420px) {
  .console-page .console-top.site-top { gap: 6px; }
  .console-page .console-top .console-mobile-tab { padding: 8px 12px; font-size: 14px; }
  .console-page .console-top .console-mobile-tab svg { display: none; }
}
/* a game docked without a party, on every screen: its turn and full-screen buttons and the controls' button in the header in the
   party toolbar's look (console-mirror.css): the dark round button with its soft lip, the icons in colour — full screen lime,
   turn violet, the controls two little switches (stage.js) */
.console-page .stage.is-docked .stage-corner .stage-btn, .console-page .console-top .console-stage-ctl {
  border: 1px solid var(--console-edge); background: var(--bg-2); box-shadow: inset 0 -3px 0 rgba(0,0,0,.38), inset 0 1px 0 rgba(250,247,242,.08); }
.console-page .stage.is-docked .stage-corner .stage-btn:active, .console-page .console-top .console-stage-ctl:active { box-shadow: inset 0 1px 0 rgba(0,0,0,.4); }
.console-page .stage.is-docked .stage-corner .stage-btn:not(.stage-turn-btn) { color: var(--lime); }
.console-page .stage.is-docked .stage-corner .stage-turn-btn { color: var(--violet); }
.console-page .stage.is-docked .stage-corner .stage-btn svg { stroke-width: 2.4; }
.console-page .console-top .console-stage-ctl .console-switches { display: grid; place-items: center; }
.console-page .console-top .console-stage-ctl .console-switches svg { width: 24px; height: 24px; }
/* the narrowest phones (≤ 340 px): the header's power, two tabs, inbox and avatar a little closer, never past the screen's edge */
@media (max-width: 340px) {
  .console-page .console-top.site-top { padding-inline: 8px; gap: 4px; }
  .console-page .console-top .console-mobile-tab { padding: 8px 10px; font-size: 13px; }
}
/* the header's Games / Hangout tabs in the party toolbar's look (the user, 2026-11-26: «¿por qué a veces se ven los botones viejos?»):
   dark buttons with the soft lip, the two-tone gamepad and team (console.html), the picked tab ringed in lime — never the old ivory
   pill; a narrow phone shows them round, icon only, as the toolbar does */
@media (max-width: 1099px) {
  .console-page .console-top .console-mobile-tab { gap: 8px; min-height: 48px; border: 1px solid var(--console-edge); background: var(--bg-2); color: var(--ivory);
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.38), inset 0 1px 0 rgba(250,247,242,.08); font-weight: 700; }
  .console-page .console-top .console-mobile-tab svg { display: block; width: 24px; height: 24px; flex: none; }
  .console-page .console-top .console-mobile-tab[aria-selected="true"] { color: var(--ivory); background: var(--bg-2); border-color: var(--lime); box-shadow: 0 0 0 2px rgba(210,255,77,.35), inset 0 -3px 0 rgba(0,0,0,.38); }
  .console-page .console-top .console-mobile-tab:active { box-shadow: inset 0 1px 0 rgba(0,0,0,.4); }
}
@media (max-width: 420px) {
  .console-page .console-top .console-mobile-tab { width: 48px; padding: 0; justify-content: center; font-size: 0; }
  .console-page .console-top .console-mobile-tab span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .console-page .console-top .console-mobile-tab svg { display: block; }
}
/* the header's inbox in the same look as its neighbours (the tabs, the power, the party toolbar): dark, the soft lip */
.console-page .console-top .pab-inbox-btn { background: var(--bg-2); border-color: var(--console-edge); box-shadow: inset 0 -3px 0 rgba(0,0,0,.38), inset 0 1px 0 rgba(250,247,242,.08); }
/* the Hangout tab's unread count (console.js paintUnread): a lime badge on the tab's corner that bumps with each new message */
.console-mobile-tab { position: relative; }
.console-tab-unread { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; border: 2px solid var(--night);
  background: var(--lime); color: var(--night); font: 700 12px/1 var(--font); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) { .console-tab-unread.is-bump { animation: console-badge-bump .42s cubic-bezier(.2,1.8,.4,1); } }
@keyframes console-badge-bump { 0% { scale: .4; } 60% { scale: 1.25; } 100% { scale: 1; } }
/* a friend's message as a phone's own notification (console.js roomNotice): a frosted card dropping from the top, their avatar,
   their name and «Hangout», the message under; it follows a finger, a flick upwards puts it away, a tap opens the Hangout */
.console-notice { position: fixed; z-index: 950; top: calc(8px + env(safe-area-inset-top, 0px)); left: 50%; translate: 0 0; width: min(420px, calc(100% - 16px)); margin-left: max(-210px, calc(-50% + 8px));
  display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 1px solid rgba(250,247,242,.12); border-radius: 22px; text-align: left; color: var(--ivory); cursor: pointer; touch-action: none;
  background: rgba(36,36,50,.78); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 12px 34px rgba(0,0,0,.45);
  animation: console-notice-in .5s cubic-bezier(.2,1.25,.35,1) both; transition: translate .22s cubic-bezier(.2,1.2,.4,1), opacity .25s; }
.console-notice.is-dragging { transition: none; }
.console-notice.is-gone-up { translate: 0 -140% !important; opacity: 0; transition: translate .3s cubic-bezier(.5,0,.8,.4), opacity .3s; }
.console-notice.is-gone { opacity: 0; scale: .96; transition: opacity .2s, scale .2s; }
.console-notice:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.console-notice-av { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(250,247,242,.08); overflow: hidden; }
.console-notice-copy { min-width: 0; flex: 1; display: grid; gap: 2px; }
.console-notice-top { display: flex; align-items: baseline; gap: 8px; }
.console-notice-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 15px/1.2 var(--font); }
.console-notice-top small { flex: none; margin-left: auto; color: var(--tx-lo); font: 600 12px/1 var(--font); }
.console-notice-msg { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: rgba(250,247,242,.88); font: 500 14px/1.3 var(--font); }
.console-notice-emote svg { width: 28px; height: 28px; display: block; }
@keyframes console-notice-in { 0% { translate: 0 -130%; opacity: 0; } 60% { translate: 0 6px; opacity: 1; } 100% { translate: 0 0; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .console-notice { animation: none; transition: opacity .2s; } .console-notice.is-gone-up { translate: 0 0 !important; } }
/* A phone's and a tablet's Hangout: the lobby and its chat together, the handle between them (console-resize.js), no Lobby / Chat
   tabs — Friends and Invite stay (the user, 2026-11-26). The handle's pill is 10 px, its touch area 44 px (the same 20 px of
   room between the two: the margins overlap them; the console check, 2026-11-26) */
@media (max-width: 1099px) {
  .console-page .console-social-nav :is([data-console-social="room"], [data-console-social="chat"]) { display: none !important; }
  .console-page .console-social-nav { display: flex; }
  .console-page .console-social-nav [data-console-social="friends"] { flex: 1 1 auto; }
  .console-page:not(.has-console-mirror) .console-row-resizer { position: relative; z-index: 4; display: grid; place-items: center; flex: none; width: 100%; height: 44px; margin: -12px 0; touch-action: none; user-select: none; cursor: row-resize; outline: none; }
  .console-page:not(.has-console-mirror) .console-row-resizer > span { width: 56px; height: 10px; border: 1px solid rgba(164,123,255,.45); border-radius: 999px;
    background: repeating-linear-gradient(90deg, transparent 0 5px, var(--violet-soft) 5px 7px, transparent 7px 12px) center/36px 4px no-repeat, rgba(19,19,27,.9); }
  .console-page:not(.has-console-mirror) .console-row-resizer:is(:focus-visible, :active) > span { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(210,255,77,.15); }
  .console-page:not(.has-console-mirror) #console-social .pr-main .pr-chat { flex: 0 0 var(--console-chat-height, 60%); min-height: 0; max-height: none; }   /* (the chat the larger part by default: «deja el Hangout y el chat más o menos así de distancia, que sea más grande el chat») */
  .console-page:not(.has-console-mirror) #console-social .pr-main .pr-left { flex: 1 1 0; min-height: 120px; }
}
/* the header's Games / Hangout in the middle, with their names (the user, 2026-11-26: «arriba el botón de Games y chat colócalos en
   el centro y con sus nombres»): between the power and the avatar, icon and word; the narrowest phones (≤ 360 px) the word alone */
@media (max-width: 1099px) {
  .console-page .console-top .console-mobile-tabs { margin: 0 auto; }
}
@media (max-width: 420px) {
  .console-page .console-top .console-mobile-tab { width: auto; padding: 8px 14px 8px 12px; gap: 6px; font-size: 14px; }
  .console-page .console-top .console-mobile-tab span { position: static; width: auto; height: auto; clip-path: none; overflow: visible; }
  .console-page .console-top .console-mobile-tab svg { display: block; width: 22px; height: 22px; }
}
@media (max-width: 360px) {
  .console-page .console-top .console-mobile-tab { padding: 8px 12px; font-size: 13px; }
  .console-page .console-top .console-mobile-tab svg { display: none; }
}
/* a phone's or a tablet's Hangout before a party: no Friends / Invite row over the lobby — the card under it has both (the user,
   2026-11-26: «estos botones quítalos porque ya están abajo»); in a party, where that card is gone, the row stays */
@media (max-width: 1099px) {
  .console-page #console-social:has(.pr-main.console-idle) .console-social-nav { display: none !important; }
}
/* the tab's party count (console.js mountRoom, #console-social-badge) inside the pill beside its word; the unread messages on its corner */
.console-page .console-mobile-tab #console-social-badge { position: static; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: rgba(164,123,255,.3); color: var(--ivory); font: 700 11px/1 var(--font); }
.console-page .console-mobile-tab #console-social-badge[hidden] { display: none; }
/* the banners as a stack (console.js roomNotice): the host carries the drag, the flick and the tap; the newest card in front, the
   ones before it peeking 10 px under it each, a little narrower and dimmer, «+N» on the front one when more came */
.console-notices { position: fixed; z-index: 950; top: calc(8px + env(safe-area-inset-top, 0px)); left: 50%; width: min(420px, calc(100% - 16px)); margin-left: max(-210px, calc(-50% + 8px));
  display: grid; cursor: pointer; touch-action: none; transition: translate .22s cubic-bezier(.2,1.2,.4,1), opacity .25s; }
.console-notices.is-dragging { transition: none; }
.console-notices.is-gone-up { translate: 0 -150% !important; opacity: 0; transition: translate .3s cubic-bezier(.5,0,.8,.4), opacity .3s; }
.console-notices.is-gone { opacity: 0; scale: .96; transition: opacity .2s, scale .2s; }
.console-notices .console-notice { position: relative; top: auto; left: auto; width: auto; margin: 0; grid-area: 1 / 1; z-index: calc(10 - var(--depth, 0));
  translate: 0 calc(var(--depth, 0) * 10px); scale: calc(1 - var(--depth, 0) * .05); opacity: calc(1 - var(--depth, 0) * .28); transform-origin: 50% 100%;
  transition: translate .35s cubic-bezier(.2,1.3,.4,1), scale .35s cubic-bezier(.2,1.3,.4,1), opacity .3s; pointer-events: none; }
.console-notices .console-notice:not(.is-front) .console-notice-copy, .console-notices .console-notice:not(.is-front) .console-notice-av { visibility: hidden; }
.console-notice-more { flex: none; display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 7px; border-radius: 999px; background: rgba(164,123,255,.32); color: var(--ivory); font: 700 11px/1 var(--font); }
/* the unread count pops with every new message (the user, 2026-11-26: «hazle un pop al número por cada mensaje nuevo») */
@keyframes console-badge-bump { 0% { scale: .3; rotate: -14deg; } 45% { scale: 1.45; rotate: 8deg; } 70% { scale: .9; rotate: -3deg; } 100% { scale: 1; rotate: 0deg; } }
@media (prefers-reduced-motion: no-preference) { .console-tab-unread.is-bump { animation: console-badge-bump .55s cubic-bezier(.2,1.6,.4,1); } }
/* the two-tone icons (console.html) at their size; the search's lens and the speakers' waves read on every state */
.console-page .console-search svg { width: 22px; height: 22px; color: inherit; }
.console-page .console-play-party svg { width: 24px; height: 24px; }
.console-page .console-share svg { width: 26px; height: 26px; }
/* the lobby box without its vote row — «Pick a game · Start now · Surprise us»: in the console the game is picked from the library
   (the user, 2026-11-26: «quita eso») */
.console-page .pr-left > :is(.pr-status, .pr-bar) { display: none !important; }
/* the chat's field a plain pill (the user, 2026-11-26: «en el chat haz ese campo de texto más común pill y que no se monte el borde
   sobre los botones»): its own dark fill and line, round ends, a gap from the buttons beside it; in focus the line turns lime inside the
   pill (no outline spilling over the emoji or send buttons) */
.console-page .pr-composer .pr-type { gap: 8px; }
.console-page .pr-composer .pr-type input { box-sizing: border-box; height: 44px; min-height: 44px; margin-inline: 2px 0; padding-inline: 16px; border: 1px solid rgba(250,247,242,.14);
  border-radius: 999px; background: rgba(14,14,20,.85); outline: none; transition: border-color .15s, box-shadow .15s; }
.console-page .pr-composer .pr-type input:focus, .console-page .pr-composer .pr-type input:focus-visible { outline: none; border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }

/* the header's tabs when they would not fit beside the power and the account (console.js fitTabs, measured in every language): the
   words without their icons, then the icons alone with the words for screen readers */
@media (max-width: 1099px) {
  .console-page .console-top.is-tabs-tight .console-mobile-tab { padding: 8px 12px; gap: 6px; }
  .console-page .console-top.is-tabs-tight .console-mobile-tab svg { display: none; }
  .console-page .console-top.is-tabs-icons .console-mobile-tab { width: 48px; padding: 0; gap: 0; justify-content: center; }
  .console-page .console-top.is-tabs-icons .console-mobile-tab span:not(#console-social-badge, .console-tab-unread) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .console-page .console-top.is-tabs-icons .console-mobile-tab svg { display: block; }
}

/* the game's video takes a sideways swipe (console.js): the page still scrolls up and down under a finger */
.console-feature { touch-action: pan-y; }

/* the favourite: the star alone, no dark circle behind it (the user, 2026-11-26: «deja la estrella sin el container negro»); a soft
   shadow keeps it readable over any clip, the 48 px tap area stays */
.console-page .console-favorite { border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.console-page .console-favorite svg { width: 30px; height: 30px; stroke-width: 2; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.7)) drop-shadow(0 2px 8px rgba(0,0,0,.45)); }
.console-page .console-favorite:hover { background: none; }
/* the star: a white outline, its body black at 50 % (the user, 2026-11-26) */
.console-page .console-favorite svg { width: 30px; height: 30px; fill: rgba(19,19,27,.5); stroke: #FAF7F2; stroke-width: 1.8; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.console-page .console-favorite[aria-pressed="true"] svg { fill: var(--lime, #D2FF4D); stroke: #FAF7F2; }

/* a game's clip framed on its focus (game.json media.focus, the catalog's clipFocus) where a phone's upright box crops a wide clip (console.js updateVideo) */
@media (max-width: 767px) { .console-cover-wrap .console-cover-video { object-position: var(--clip-focus, 50% 50%); } }

/* the card's picture, backdrop and clip fade in (console.js updateCover / updateVideo): never a pop over the slide (the user, 2026-11-27) */
.console-cover-wrap #console-cover { transition: opacity .45s ease; }
.console-cover-wrap img.is-loading { opacity: 0 !important; }
.console-cover-wrap .console-cover-video { transition: opacity .55s ease; }
.console-cover-wrap .console-cover-back { transition: opacity .55s ease; }
/* (a game got ready ahead comes in whole while the card slides: no fade between its layers — console.js prepare) */
.console-cover-wrap.is-swap :is(#console-cover, .console-cover-video, .console-cover-back) { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .console-cover-wrap #console-cover, .console-cover-wrap .console-cover-video, .console-cover-wrap .console-cover-back { transition: none; } }
/* a phone: the shelf and its arrows up off the bottom edge, where a thumb reaches them (the user, 2026-11-27: «el carrusel abajo es difícil
   darle a las flechas porque están muy pegadas a los bordes, hay que subir un poco más toda esa parte») */
@media (max-width: 767px) { .console-carousel-bar { margin-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); } }

/* the games popup over an open game (console.js openGamesSheet): the shelf's search and filters, every game as a card, the one playing ringed */
.cg-sheet { box-sizing: border-box; width: min(560px, calc(100vw - 24px)); max-height: min(86dvh, 760px); margin: auto; padding: 16px; border: 1px solid var(--console-edge, rgba(250,247,242,.12));
  border-radius: 28px; background: #1C1C28; color: var(--ivory); box-shadow: 0 18px 48px rgba(0,0,0,.55); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.cg-sheet:not([open]) { display: none; }
.cg-sheet::backdrop { background: rgba(8,8,14,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cg-head { display: flex; align-items: center; gap: 12px; }
.cg-head h2 { flex: 1; margin: 0; font: 600 22px/1.2 var(--font-display, 'DynaPuff', system-ui); }
.cg-close { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(250,247,242,.14); background: #232331; color: var(--ivory); display: grid; place-items: center; cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.38), inset 0 1px 0 rgba(250,247,242,.08); }
.cg-close svg { width: 20px; height: 20px; }
.cg-sheet .cg-search-wrap { flex: none; width: 100%; max-width: none; box-sizing: border-box; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 999px; background: #13131B; border: 1px solid rgba(250,247,242,.12); }
.cg-search-wrap svg { width: 22px; height: 22px; display: block; }
.cg-search { flex: 1; min-width: 0; border: 0; background: none; color: var(--ivory); font: 500 16px var(--font, Outfit), system-ui; outline: none; }
.cg-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: none; }
.cg-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; overflow-y: auto; overscroll-behavior: contain; padding: 4px 2px 2px; }
.cg-game { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 18px; border: 1px solid rgba(250,247,242,.1); background: #232331; color: var(--ivory); text-align: left; cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.32); transition: scale .18s cubic-bezier(.2,1.8,.4,1), border-color .15s; }
.cg-game img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 13px; display: block; background: #13131B; }
.cg-game b { padding: 0 4px 4px; font: 700 14px/1.25 var(--font, Outfit), system-ui; overflow-wrap: anywhere; }
.cg-game.is-on { border-color: var(--lime); box-shadow: 0 0 0 2px rgba(210,255,77,.35), inset 0 -3px 0 rgba(0,0,0,.32); }
.cg-game:active { scale: .97; }
.cg-game:focus-visible, .cg-close:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.cg-empty { grid-column: 1 / -1; margin: 12px 0; color: var(--tx-lo); text-align: center; }
@media (max-width: 600px) { .cg-list { grid-template-columns: 1fr 1fr; } }
