.match-room { display:grid;gap:24px; }
.match-room-header { position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;min-height:240px;padding:28px 30px;border:1px solid #475565;border-radius:16px;background:#18232d; }
.match-room-art { position:absolute;inset:0 0 0 28%;width:72%;height:100%;object-fit:cover;z-index:-2;opacity:.72; }
.match-room-header::after { content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#14212cf5 6%,#14212ce8 35%,#14212c66 77%,#14212c55); }
.match-room-heading { min-width:0;max-width:620px; }
.match-room-back { display:inline-flex;align-items:center;gap:8px;color:#b7c6d6;font-size:11px;min-height:32px;margin-bottom:16px; }
.match-room-back .icon { width:14px;height:14px; }
.match-room-back:hover { color:var(--amber); }
.match-room-heading-line { display:flex;align-items:center;gap:16px;flex-wrap:wrap; }
.match-room-heading h1 { font-size:34px; }
.match-room-format { font-family:var(--display);font-size:16px;background:#f2b84b;color:#171d24;padding:5px 11px;border-radius:6px; }
.match-room-heading>p { max-width:63ch;color:#c3d0dc;margin:13px 0 19px;font-size:12px;line-height:1.85; }
.match-room-header-meta { display:flex;align-items:center;gap:15px;flex-wrap:wrap; }
.match-room-header-meta .pill>.icon { width:14px;height:14px; }
.match-room-number { font-size:10px;color:#b4c3d0; }
.match-room-header-actions { display:grid;gap:8px;flex:none; }
.match-room-header-actions>.button { background:#1b2735d9;border-color:#647083;color:#e0e8ef; }
.match-room-header-actions>.button:hover { background:#314154; }
.match-room-header.is-cancelled .match-room-art { filter:grayscale(.65);opacity:.4; }
.match-room-teams { display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);gap:16px;align-items:center; }
.match-room-team { min-width:0;align-self:stretch;border:1px solid #3b4b5e;border-radius:12px;background:#18232e;overflow:hidden; }
.match-room-team.is-own { border-color:#6b5838;background:#24251f; }
.match-room-team>header { display:flex;align-items:center;gap:13px;padding:18px 20px;border-bottom:1px solid #364455;background:#202e3d; }
.match-room-team.is-own>header { border-color:#4b4434;background:#302e24; }
.match-room-team-symbol { display:grid;place-items:center;width:38px;height:44px;color:#b7d1ec;flex:none; }
.match-room-team-symbol>.icon { width:32px;height:32px; }
.match-room-team.is-own .match-room-team-symbol { color:#f5c66d; }
.match-room-team>header>div { min-width:0; }
.match-room-team>header small { color:#b8c6d6;font-size:10px; }
.match-room-team.is-own>header small { color:#d6c396; }
.match-room-team h2 { font-size:16px;margin-top:5px;overflow-wrap:anywhere; }
.match-room-roster-count { margin-left:auto;color:#aabaca;font-size:12px;font-weight:800; }
.match-room-roster { list-style:none;margin:0;padding:5px 18px; }
.match-room-roster>li { display:flex;align-items:center;gap:11px;padding:15px 0;min-height:78px; }
.match-room-roster>li+li { border-top:1px solid #ffffff0a; }
.match-room-roster .avatar { width:43px;height:43px;border-radius:50%;font-size:16px; }
.match-room-team.is-opponent .avatar { background:#2b3b50;border-color:#516d8a;color:#c2daf5; }
.match-room-player-name { min-width:0; }
.match-room-player-name>a { display:block;font-size:12px;font-weight:800;overflow-wrap:anywhere; }
.match-room-player-name>a:hover { color:var(--amber); }
.match-room-player-name>span { display:block;font-size:9px;color:#a6b2c1;margin-top:4px;overflow-wrap:anywhere; }
.match-room-player-facts { display:flex;align-items:center;gap:10px;margin-left:auto;flex:none; }
.match-room-player-elo { display:grid;text-align:right;font-size:12px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums; }
.match-room-player-elo>small { font-size:9px;font-weight:400;color:#a9b6c4; }
.match-room-captain { color:#f2c168; }
.match-room-captain>.icon,.match-room-confirmed>.icon { width:16px;height:16px; }
.match-room-confirmed { color:var(--green); }
.match-room-versus { justify-self:center;color:#889db2;font-family:var(--display);font-size:13px; }
.match-room-workspace { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;align-items:start; }
.match-room-main,.match-room-aside { display:grid;gap:24px;min-width:0; }
.match-room-preparation { padding:24px;border:1px solid #3c4c5e;border-radius:12px;background:#18232e; }
.match-room-preparation>header { display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px; }
.match-room-preparation h2,.match-room-history h2,.match-room-chat h2 { font-size:17px;line-height:1.35; }
.match-room-wait-indicator { color:var(--amber); }
.match-room-wait-indicator>.icon { animation:match-room-wait 2.8s linear infinite;width:22px;height:22px; }
.match-room-steps { list-style:none;display:grid;gap:0;padding:0;margin:0; }
.match-room-steps>li { position:relative;display:flex;gap:13px;align-items:center;min-height:52px;color:#7e8fa1;font-size:12px; }
.match-room-steps>li+li::before { content:'';position:absolute;left:14px;top:-11px;height:24px;width:1px;background:#384654; }
.match-room-step-icon { display:grid;place-items:center;width:30px;height:30px;border:1px solid #3c4a58;border-radius:50%;background:#18232e;flex:none; }
.match-room-step-icon>.icon { width:14px;height:14px; }
.match-room-steps>.is-complete { color:#c9d7e4; }
.match-room-steps>.is-complete .match-room-step-icon { border-color:#436955;color:#a0dab7;background:#21372d; }
.match-room-steps>.is-current { color:#f3d18b;font-weight:800; }
.match-room-steps>.is-current .match-room-step-icon { border-color:#a57e39;color:#ffd783;background:#3f3422;box-shadow:0 0 0 4px #f2b84b08; }
.match-room-steps>.is-blocked { color:#a4979b; }
.match-room-blockers { display:grid;gap:10px;padding:16px;margin-top:20px;border:1px solid #596175;border-radius:8px;background:#25303f; }
.match-room-blockers>p { display:flex;gap:10px;color:#c5d0df;font-size:11px;line-height:1.85; }
.match-room-blockers .icon { width:16px;height:16px;color:#c3a56b;margin-top:3px; }
.match-room-rating-note { display:flex;gap:8px;color:#8c9eaf;font-size:10px;line-height:1.8;margin-top:18px; }
.match-room-rating-note>.icon { width:14px;height:14px;margin-top:2px; }
.match-room-accept-count { font-size:11px;color:#aebfce; }
.match-room-preparation>.button-row { margin-top:20px; }
.match-room-connection { display:grid;gap:8px;margin-top:20px; }
.match-room-connection>label { font-size:11px;font-weight:700; }
.match-room-connection>div { display:flex;gap:8px; }
.match-room-connection input { min-width:0; }
.match-room-selection { padding:24px;border:1px solid #625438;border-radius:12px;background:#23251f; }
.match-room-selection .section-heading { margin:0 0 10px;gap:12px; }
.match-room-selection .section-heading h2 { font-size:17px; }
.match-room-selection .section-heading>span { color:#f1c873;white-space:nowrap;font-size:10px; }
.match-room-selection>p { font-size:11px;line-height:1.8; }
.match-room-veto-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:20px; }
.match-room-veto-card { position:relative;isolation:isolate;overflow:hidden;border:1px solid #4d554d;border-radius:8px;background:#25322c;min-height:168px; }
.match-room-veto-card>img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2; }
.match-room-veto-card:has(>img)::after { content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#14201ff5,#14201f45); }
.match-room-veto-card>div { display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:9px;padding:16px;min-height:168px; }
.match-room-veto-card strong { font-size:13px;overflow-wrap:anywhere; }
.match-room-veto-card small { color:#c3d0cc;font-size:10px; }
.match-room-veto-card.is-banned { opacity:.45;filter:grayscale(1); }
.match-room-veto-card.is-banned strong { text-decoration:line-through; }
.match-room-veto-card .pill>.icon { width:12px;height:12px; }
.match-room-pack { border:1px solid #455161;border-radius:12px;overflow:hidden;background:#1c2835; }
.match-room-pack-art { position:relative;height:155px;overflow:hidden; }
.match-room-pack-art>img { width:100%;height:100%;object-fit:cover; }
.match-room-pack-art::after { content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1c2835,transparent 70%); }
.match-room-pack-art>.icon { position:absolute;left:22px;bottom:10px;color:#f7cd79;width:25px;height:25px;z-index:1; }
.match-room-pack-body { padding:12px 22px 22px; }
.match-room-pack-body>small { font-size:10px;color:#c0aa79; }
.match-room-pack h2 { margin-top:8px;font-size:19px;line-height:1.4;overflow-wrap:anywhere; }
.match-room-pack dl { display:grid;gap:12px;margin:21px 0; }
.match-room-pack dl>div { display:flex;align-items:baseline;justify-content:space-between;gap:14px;font-size:11px;border-bottom:1px solid #3b475633;padding-bottom:10px; }
.match-room-pack dt { color:#9faec0; }
.match-room-pack dd { margin:0;text-align:right;overflow-wrap:anywhere;max-width:60%;font-weight:700; }
.match-room-pack-actions { display:grid;justify-items:center;gap:5px; }
.match-room-pack-actions>.button { width:100%; }
.match-room-pack-body>p { font-size:10px;line-height:1.85;color:#9dabbc;margin-top:14px; }
.match-room-history { padding:23px 24px;border:1px solid #344353;border-radius:12px;background:#17212c; }
.match-room-history ol { list-style:none;padding:0;margin:21px 0 0; }
.match-room-history li { display:flex;align-items:flex-start;gap:11px;padding:12px 0; }
.match-room-history li+li { border-top:1px solid #ffffff09; }
.match-room-event-icon>.icon { color:#8da48f;width:15px;height:15px;margin-top:3px; }
.match-room-history li strong { font-size:11px;display:block; }
.match-room-history li p { font-size:10px;margin-top:4px; }
.match-room-history time { margin-left:auto;color:#91a0b2;font-size:9px;text-align:right;flex:none; }
.match-room-chat { padding:22px;border:1px solid #344353;border-radius:12px;background:#17212c; }
.match-room-chat>header { display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px; }
.match-room-chat>header>.icon { width:18px;height:18px;color:#9fb2c7; }
.match-room-chat .chat-list { min-height:115px;max-height:250px; }
.match-room-chat-empty,.match-room-chat-closed { font-size:11px;line-height:1.9; }
.match-room-chat .chat-form { gap:7px; }
.match-room-chat .chat-form input { font-size:11px; }
.match-room-chat .form-error { margin-top:13px;margin-bottom:0; }
@keyframes match-room-wait { to { transform:rotate(360deg); } }
@media(min-width:1500px) { .match-room-header { min-height:265px;padding:32px 36px; }.match-room-heading h1 { font-size:39px; } }
@media(max-width:1120px) { .match-room-workspace { grid-template-columns:minmax(0,1.35fr) minmax(255px,1fr);gap:18px; }.match-room-header { padding:25px; }.match-room-header-actions { max-width:180px; }.match-room-team>header { padding:16px; }.match-room-roster { padding:4px 15px; }.match-room-player-facts { gap:7px; }.match-room-captain { display:none; }.match-room-teams { gap:9px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr); } }
@media(max-width:920px) { .match-room-workspace { grid-template-columns:1fr; }.match-room-aside { grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start; }.match-room-header { align-items:flex-start;flex-direction:column;gap:18px; }.match-room-header-actions { display:flex;flex-wrap:wrap;max-width:none; }.match-room-header-art { left:10%;width:90%; }.match-room-player-facts { flex-direction:column;gap:5px; }.match-room-confirmed { display:none; } }
@media(max-width:760px) { .match-room { gap:20px; }.match-room-header { padding:22px;border-radius:12px;min-height:270px; }.match-room-heading h1 { font-size:30px; }.match-room-heading>p { font-size:11px;max-width:50ch; }.match-room-header::after { background:linear-gradient(90deg,#14212cf5,#14212c99); }.match-room-art { inset:0;width:100%; }.match-room-team h2 { font-size:14px; }.match-room-team-symbol { width:28px;height:34px; }.match-room-team-symbol>.icon { width:26px;height:26px; }.match-room-roster .avatar { width:36px;height:36px;font-size:13px; }.match-room-player-name>a { font-size:11px; }.match-room-player-elo { font-size:10px; }.match-room-player-elo>small { font-size:8px; }.match-room-preparation,.match-room-selection,.match-room-history { padding:22px; }.match-room-aside { gap:18px; }.match-room-pack-body,.match-room-chat { padding:20px; } }
@media(max-width:570px) { .match-room-teams { grid-template-columns:1fr;gap:9px; }.match-room-versus { line-height:1.2; }.match-room-team>header { padding:15px 17px; }.match-room-team h2 { font-size:15px; }.match-room-roster { padding:3px 17px; }.match-room-roster>li { min-height:70px;padding:12px 0; }.match-room-roster .avatar { width:40px;height:40px;font-size:15px; }.match-room-player-name>a { font-size:12px; }.match-room-player-name>span { font-size:9px; }.match-room-player-facts { flex-direction:row;gap:10px; }.match-room-player-elo { font-size:12px; }.match-room-captain,.match-room-confirmed { display:inline-flex; }.match-room-aside { grid-template-columns:1fr; }.match-room-heading h1 { font-size:27px; }.match-room-heading-line { gap:11px; }.match-room-format { font-size:14px; }.match-room-header-actions>.button { font-size:10px;min-height:40px; }.match-room-header { padding:21px 18px; }.match-room-preparation h2,.match-room-history h2,.match-room-chat h2 { font-size:16px; }.match-room-preparation,.match-room-selection,.match-room-history { padding:20px 18px; }.match-room-steps>li { font-size:11px; }.match-room-blockers { padding:13px; }.match-room-blockers>p { font-size:10px; }.match-room-history time { max-width:75px;line-height:1.8; }.match-room-veto-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }.match-room-veto-card>div { padding:12px; }.match-room-veto-card strong { font-size:11px; }.match-room-veto-card .button { padding:7px 10px;font-size:10px; }.match-room-selection .section-heading { flex-wrap:wrap; } }
@media(max-width:350px) { .match-room-heading h1 { font-size:24px; }.match-room-player-facts { gap:6px; }.match-room-captain { display:none; }.match-room-veto-grid { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .match-room-wait-indicator>.icon { animation:none; } }
html[data-motion="reduce"] .match-room-wait-indicator>.icon { animation:none; }
