/* Matchmaking overlay (Szukaj gracza). */
.rq-backdrop { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 18px; background: rgba(6, 12, 26, .78); backdrop-filter: blur(4px); animation: rq-fade .25s ease-out; }
@keyframes rq-fade { from { opacity: 0; } }
@keyframes rq-pulse { 0% { scale: .6; opacity: .8; } 100% { scale: 1.6; opacity: 0; } }
@keyframes rq-spin { to { rotate: 360deg; } }
@keyframes rq-pop { 0% { scale: .6; } 60% { scale: 1.15; } 100% { scale: 1; } }
.rq-dialog { width: min(420px, 100%); padding: 30px 28px 26px; text-align: center; background: #fff9ed; color: #142b43; border: 1px solid #cfbc96; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); animation: rq-fade .3s ease-out; }
.rq-eyebrow { color: #927037; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; }
.rq-orb { position: relative; width: 120px; height: 120px; margin: 22px auto 14px; display: grid; place-items: center; }
.rq-orb i { position: absolute; inset: 0; border: 2px solid #e0a92e; border-radius: 50%; animation: rq-pulse 2.4s ease-out infinite; }
.rq-orb i:nth-child(2) { animation-delay: .8s; } .rq-orb i:nth-child(3) { animation-delay: 1.6s; }
.rq-orb b { position: relative; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2b5f94, #163958); color: #ffe1a0; font-size: 34px; animation: rq-spin 6s linear infinite; }
.rq-orb.found b { animation: rq-pop .5s ease-out; background: radial-gradient(circle at 35% 30%, #3fa56b, #1f6b44); }
.rq-orb.found i { border-color: #3fa56b; }
.rq-dialog h2 { margin: 0 0 6px; font: 800 28px 'Fraunces', Georgia, serif; }
.rq-mode { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: #275f9b; }
.rq-text { margin: 0 0 18px; font-size: 12.5px; line-height: 1.6; color: #6a6258; }
.rq-stats { display: flex; justify-content: center; gap: 14px; margin-bottom: 18px; }
.rq-stats span { min-width: 110px; padding: 9px 12px; background: #fff; border: 1px solid #e1d3b3; }
.rq-stats small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #927037; }
.rq-stats b { font: 800 22px 'Fraunces', Georgia, serif; }
.rq-cancel { width: 100%; min-height: 44px; background: #e9dcc5; color: #4a3d28; border: 1px solid #c6ad80; font-weight: 800; font-size: 13px; cursor: pointer; }
.rq-cancel:hover { background: #f1e6cf; }
body.rq-open { overflow: hidden; }
.dh-premium .dh-actions .dh-queue { --action-surface: linear-gradient(165deg, #3a6fa6, #163958 72%); --action-text: #fff7e4; }
@media (prefers-reduced-motion: reduce) { .rq-orb i, .rq-orb b, .rq-backdrop, .rq-dialog { animation: none; } }

.rq-modes { display: grid; gap: 10px; margin: 16px 0; text-align: left; }
.rq-mode-choice { display: grid; gap: 3px; padding: 13px 16px; background: #fff; border: 2px solid #e1d3b3; color: inherit; cursor: pointer; transition: border-color .2s, translate .2s cubic-bezier(.2, .8, .3, 1); }
.rq-mode-choice strong { font-size: 15px; }
.rq-mode-choice small { font-size: 12px; color: #756f62; }
.rq-mode-choice:hover { translate: 0 -2px; border-color: #b9944e; }
.rq-mode-choice.selected { border-color: #163958; box-shadow: 0 0 0 3px #ffd35a88; background: #fffdf5; }
.rq-go { width: 100%; min-height: 46px; margin-bottom: 10px; background: #163958; color: #ffe1a0; border: 0; font-size: 14px; font-weight: 800; cursor: pointer; }
.rq-go:hover { background: #1d4a73; }
.rq-stats .rq-est b { font-size: 15px; line-height: 1.7; }

/* "Graj" step 1: public / private / bot, and the settings of the last two. */
.rq-dialog.rq-wide { width: min(580px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto; position: relative; }
.rq-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 18px; text-align: center; }
.rq-kind { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 18px 12px 16px; background: #fff; border: 2px solid #e1d3b3; color: inherit; cursor: pointer; transition: border-color .2s, translate .2s cubic-bezier(.2, .8, .3, 1), box-shadow .2s; }
.rq-kind i { font-style: normal; font-size: 34px; line-height: 1; }
.rq-kind strong { font: 800 18px 'Fraunces', Georgia, serif; }
.rq-kind small { font-size: 11.5px; line-height: 1.5; color: #6f685b; }
.rq-kind em { position: absolute; top: -9px; right: 8px; padding: 2px 8px; background: #163958; color: #ffe1a0; font-size: 9.5px; font-weight: 800; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.rq-kind:hover, .rq-kind:focus-visible { translate: 0 -3px; border-color: #b9944e; box-shadow: 0 10px 22px rgba(20, 43, 67, .16); outline: none; }
.rq-back { position: absolute; top: 14px; left: 16px; padding: 4px 8px; background: none; border: 0; color: #275f9b; font-size: 12px; font-weight: 800; cursor: pointer; }
.rq-back:hover { text-decoration: underline; }
.rq-field { display: grid; gap: 6px; margin: 0 0 12px; text-align: left; }
.rq-field > b { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #927037; }
.rq-field > div { display: flex; flex-wrap: wrap; gap: 6px; }
.rq-chip { padding: 8px 12px; background: #fff; border: 2px solid #e1d3b3; color: #142b43; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.rq-chip:hover:not(:disabled) { border-color: #b9944e; }
.rq-chip.on { border-color: #163958; background: #fffdf5; box-shadow: 0 0 0 3px #ffd35a88; }
.rq-chip:disabled { opacity: .45; cursor: not-allowed; }
.rq-levels { display: grid !important; grid-template-columns: repeat(3, 1fr); }
.rq-levels .rq-chip { display: grid; gap: 2px; text-align: left; }
.rq-levels .rq-chip small { font-size: 11px; font-weight: 500; color: #756f62; }
.rq-note { margin: 4px 0 14px; padding: 8px 10px; background: #f6ecd2; border-left: 3px solid #e0a92e; text-align: left; font-size: 12px; line-height: 1.5; color: #5b4c2c; }
.rq-link { display: block; width: 100%; margin: -2px 0 10px; padding: 8px; background: none; border: 0; color: #275f9b; font-size: 12.5px; font-weight: 700; text-decoration: underline; cursor: pointer; }
@media (max-width: 560px) { .rq-kinds { grid-template-columns: 1fr; } .rq-kind { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 12px; } .rq-kind i { grid-row: span 2; align-self: center; } .rq-levels { grid-template-columns: 1fr; } .rq-back { position: static; display: block; margin: -8px 0 6px -8px; } }
.rq-nick input { padding: 11px 12px; font: inherit; font-weight: 700; color: #17334c; background: #fffdf5; border: 1px solid #ccbd9d; border-radius: 2px; }
.rq-nick input:focus { outline: 2px solid #e0a92e; outline-offset: 1px; }
.rq-nick input.bad { border-color: #b3202a; background: #fff1ef; }
