:root{
  --bg:#f5f7fb;
  --card:rgba(255,255,255,.86);
  --card2:#fff;
  --text:#0b1020;
  --muted:#64748b;
  --line:rgba(15,23,42,.11);
  --line2:rgba(15,23,42,.18);
  --blue:#1d72f3;
  --violet:#704dff;
  --green:#16a34a;
  --orange:#ff8a4c;
  --red:#dc2626;
  --shadow:0 28px 80px rgba(15,23,42,.12);
  --shadow2:0 12px 32px rgba(15,23,42,.08);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);background:radial-gradient(circle at 15% 4%,rgba(29,114,243,.16),transparent 31%),radial-gradient(circle at 85% 22%,rgba(112,77,255,.12),transparent 32%),radial-gradient(circle at 50% 110%,rgba(255,138,76,.14),transparent 38%),var(--bg);-webkit-font-smoothing:antialiased}
body{min-height:100dvh;padding:18px;overflow-x:hidden}
button,input{font:inherit}
.hidden{display:none!important}
.lobby-shell{width:min(1320px,100%);margin:0 auto;display:grid;gap:16px;min-height:calc(100dvh - 36px)}
.lobby-topbar,.panel{background:var(--card);border:1px solid rgba(255,255,255,.75);border-radius:28px;box-shadow:var(--shadow2);backdrop-filter:blur(16px)}
.lobby-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;position:relative;z-index:5}
.lobby-brand{display:flex;align-items:center;gap:12px;min-width:0}
.lobby-brand img{width:46px;height:46px;object-fit:cover;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:0 14px 32px rgba(29,114,243,.16);flex:0 0 auto}
.lobby-brand strong{display:block;font-size:23px;letter-spacing:-.05em;line-height:1}
.lobby-brand span{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:800;line-height:1.25}
.lobby-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.top-link,.btn{border:1px solid var(--line2);background:#fff;color:var(--text);min-height:42px;padding:10px 14px;border-radius:14px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:900;cursor:pointer;box-shadow:0 8px 22px rgba(15,23,42,.06)}
.btn.primary{background:linear-gradient(135deg,var(--blue),var(--violet));border-color:transparent;color:#fff;box-shadow:0 14px 30px rgba(29,114,243,.22)}
.btn.soft{background:rgba(255,255,255,.72)}
.btn.danger{background:#fff1f2;color:#991b1b;border-color:rgba(220,38,38,.22)}
.btn:disabled{opacity:.5;cursor:not-allowed}
.pill{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;font-size:12px;font-weight:950;border:1px solid var(--line);background:#f8fafc;color:#475569;white-space:nowrap}
.pill::before{content:"";width:8px;height:8px;border-radius:999px;background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.12)}
.pill.online{background:#ecfdf5;color:#166534;border-color:rgba(22,163,74,.25)}
.pill.online::before{background:var(--green);box-shadow:0 0 0 4px rgba(22,163,74,.13)}
.pill.offline{background:#fff1f2;color:#991b1b;border-color:rgba(220,38,38,.25)}
.pill.offline::before{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.13)}
.lobby-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:16px;min-height:0}
.panel{padding:16px;min-height:0}
.lobby-panel-main{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:16px;box-shadow:var(--shadow)}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
h1{margin:0;font-size:38px;line-height:1;letter-spacing:-.065em}
.panel-head p{margin:7px 0 0;color:var(--muted);font-size:13px;font-weight:750;line-height:1.45;max-width:760px}
.section-title,.section-title-row{font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;color:#334155}
.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;text-transform:none;letter-spacing:0;color:var(--muted)}
.section-title-row .section-title{text-transform:uppercase;letter-spacing:.08em;color:#334155}
.small{color:var(--muted);font-size:12px;font-weight:800;line-height:1.35}
.games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}
.game-card{position:relative;text-align:left;border:1px solid var(--line);background:#fff;border-radius:22px;padding:14px;cursor:pointer;display:grid;gap:10px;min-height:142px;box-shadow:var(--shadow2);transition:transform .14s ease,box-shadow .18s ease,border-color .18s ease}
.game-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(15,23,42,.11)}
.game-card.active{border-color:rgba(29,114,243,.42);box-shadow:0 0 0 4px rgba(29,114,243,.10),var(--shadow2)}
.game-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-size:24px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--violet));box-shadow:0 14px 30px rgba(29,114,243,.18)}
.game-card.orange .game-icon{background:linear-gradient(135deg,#ff8a4c,#f97316)}
.game-card.green .game-icon{background:linear-gradient(135deg,#16a34a,#22c55e)}
.game-card.violet .game-icon{background:linear-gradient(135deg,#704dff,#a855f7)}
.game-title{font-size:15px;font-weight:950;letter-spacing:-.035em;line-height:1.1}
.game-sub{margin-top:4px;color:var(--muted);font-size:12px;font-weight:750;line-height:1.35}
.game-status{width:max-content;max-width:100%;padding:5px 8px;border-radius:999px;background:#f1f5f9;color:#475569;border:1px solid var(--line);font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.game-status.active{background:#ecfdf5;color:#166534;border-color:rgba(22,163,74,.25)}
.players-list{display:grid;gap:9px;margin-top:10px;overflow:auto;max-height:calc(100dvh - 430px);padding-right:4px}
.players-list::-webkit-scrollbar,.chat-messages::-webkit-scrollbar{width:8px}.players-list::-webkit-scrollbar-thumb,.chat-messages::-webkit-scrollbar-thumb{background:rgba(15,23,42,.16);border-radius:999px}
.player-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--line);background:rgba(255,255,255,.82);border-radius:18px;padding:10px;box-shadow:0 8px 22px rgba(15,23,42,.05)}
.avatar{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,var(--blue),var(--violet));color:#fff;font-weight:950;position:relative;flex:0 0 auto;box-shadow:0 10px 22px rgba(29,114,243,.15)}
.avatar.big{width:58px;height:58px;border-radius:20px;font-size:20px}
.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.player-main{min-width:0}.player-name{font-size:14px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.025em}.player-meta{margin-top:3px;color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.mini-status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#ecfdf5;color:#166534;border:1px solid rgba(22,163,74,.20);font-size:11px;font-weight:950;white-space:nowrap}.mini-status.busy{background:#fff7ed;color:#9a3412;border-color:rgba(234,88,12,.22)}.invite-btn{min-height:34px;border-radius:12px;padding:8px 10px;font-size:12px;box-shadow:none}.side-stack{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;min-height:0}.me-row{display:flex;align-items:center;gap:12px;margin-top:12px}.me-info{min-width:0}.me-info strong{display:block;font-size:18px;letter-spacing:-.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.me-info span{display:block;margin-top:3px;color:var(--muted);font-size:12px;font-weight:850}.status-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.status-choice{border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px 12px;font-size:13px;font-weight:950;cursor:pointer;color:#475569}.status-choice.active{background:linear-gradient(135deg,var(--blue),var(--violet));border-color:transparent;color:#fff;box-shadow:0 10px 26px rgba(29,114,243,.22)}.chat-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;min-height:0}.chat-messages{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:6px 4px 6px 0}.chat-msg{max-width:92%;width:fit-content;padding:10px 12px;border-radius:16px 16px 16px 5px;border:1px solid var(--line);background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.05);align-self:flex-start}.chat-msg.mine{align-self:flex-end;border-radius:16px 16px 5px 16px;background:linear-gradient(135deg,rgba(29,114,243,.10),rgba(112,77,255,.08));border-color:rgba(29,114,243,.22)}.chat-msg .meta{color:var(--muted);font-size:11px;font-weight:950;margin-bottom:4px;text-transform:uppercase;letter-spacing:.04em}.chat-msg .body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.42;font-size:14px;font-weight:650}.chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border-top:1px solid var(--line);padding-top:10px}.chat-form input{width:100%;height:44px;border:1px solid var(--line2);background:#fff;border-radius:15px;padding:0 13px;outline:none;font-weight:700}.chat-form input:focus{border-color:rgba(29,114,243,.72);box-shadow:0 0 0 4px rgba(29,114,243,.10)}.empty{padding:22px;border:1px dashed var(--line2);border-radius:18px;color:var(--muted);background:rgba(255,255,255,.62);font-size:13px;font-weight:800;line-height:1.4;text-align:center}.modal-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(15,23,42,.42);display:grid;place-items:center;padding:16px;backdrop-filter:blur(10px)}.modal-box{width:min(460px,100%);background:#fff;border:1px solid rgba(255,255,255,.72);border-radius:28px;box-shadow:0 30px 90px rgba(15,23,42,.32);padding:22px;text-align:center}.modal-icon{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;margin:0 auto 12px;background:linear-gradient(135deg,var(--blue),var(--violet));color:#fff;font-size:28px;box-shadow:0 16px 34px rgba(29,114,243,.22)}.modal-box h2{margin:0 0 8px;font-size:26px;letter-spacing:-.055em}.modal-box p{margin:0;color:var(--muted);font-size:14px;line-height:1.5;font-weight:750}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.toast{position:fixed;left:50%;bottom:20px;z-index:1100;transform:translateX(-50%);max-width:min(520px,calc(100vw - 24px));padding:12px 15px;border-radius:16px;background:#0b1020;color:#fff;box-shadow:0 20px 60px rgba(15,23,42,.35);font-size:13px;font-weight:850;line-height:1.35}.toast.ok{background:#14532d}.toast.bad{background:#7f1d1d}
@media(max-width:980px){body{padding:10px}.lobby-shell{min-height:calc(100dvh - 20px)}.lobby-topbar{display:grid}.lobby-top-actions{justify-content:stretch}.top-link,.lobby-top-actions .pill{flex:1}.lobby-grid{grid-template-columns:1fr}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.players-list{max-height:none}.side-stack{grid-template-rows:auto minmax(460px,56dvh)}.panel-head{display:grid}h1{font-size:32px}.chat-form{grid-template-columns:1fr}.chat-form .btn{width:100%}}
@media(max-width:520px){.lobby-brand span{display:none}.lobby-brand strong{font-size:20px}.games-grid{grid-template-columns:1fr}.player-card{grid-template-columns:44px minmax(0,1fr)}.player-actions{grid-column:1 / -1;justify-content:stretch}.player-actions .btn{flex:1}.modal-actions{grid-template-columns:1fr}.status-row{grid-template-columns:1fr}}

/* MUNIT_LOBBY_PAPER_SOCCER_V1_START */
.match-panel{grid-column:1 / -1;display:grid;gap:14px;box-shadow:var(--shadow)}
.match-panel.hidden{display:none!important}
.match-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.match-top h2{margin:4px 0 4px;font-size:32px;letter-spacing:-.06em;line-height:1}
.match-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.match-players{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
.match-player{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:18px;padding:10px;min-width:0;box-shadow:0 8px 22px rgba(15,23,42,.05)}
.match-player.right{justify-content:flex-end;text-align:right}
.match-player.active{border-color:rgba(29,114,243,.35);box-shadow:0 0 0 4px rgba(29,114,243,.10),0 8px 22px rgba(15,23,42,.05)}
.match-player-name{font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.025em}.match-player-sub{color:var(--muted);font-size:12px;font-weight:850;margin-top:3px}.turn-label{white-space:nowrap;border-radius:999px;padding:10px 13px;background:#0b1020;color:#fff;font-size:13px;font-weight:950;box-shadow:0 12px 26px rgba(15,23,42,.18)}
.paper-soccer-wrap{display:grid;gap:10px}.paper-soccer-meta{font-weight:900;color:#334155}.paper-soccer-board-shell{position:relative;width:min(100%,560px);aspect-ratio:9/13;margin:0 auto;border-radius:28px;overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.18),transparent 42%),linear-gradient(180deg,#1d7a42,#0d5d31);border:1px solid rgba(15,23,42,.16);box-shadow:0 26px 70px rgba(15,23,42,.26),inset 0 0 0 1px rgba(255,255,255,.10)}
.paper-soccer-svg{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:manipulation}.paper-soccer-grid{position:absolute;inset:0;pointer-events:none}.paper-move-ring{animation:paperMovePulse 1s ease-in-out infinite}@keyframes paperMovePulse{0%,100%{opacity:1}50%{opacity:.45}}
.paper-goal-keeper{position:absolute;left:50%;transform:translateX(-50%);width:54px;height:54px;border-radius:20px;background:rgba(255,255,255,.92);display:grid;place-items:center;border:2px solid rgba(255,255,255,.86);box-shadow:0 12px 30px rgba(0,0,0,.25);overflow:hidden}.paper-goal-keeper.top{top:10px}.paper-goal-keeper.bottom{bottom:10px}.paper-goal-keeper.active{outline:4px solid rgba(255,184,77,.55)}.paper-goal-keeper .avatar{width:100%;height:100%;border-radius:18px;box-shadow:none}
@media(max-width:980px){.match-top{display:grid}.match-actions{display:grid;grid-template-columns:1fr 1fr}.match-actions .btn{width:100%}.match-players{grid-template-columns:1fr}.turn-label{text-align:center}.match-player.right{justify-content:flex-start;text-align:left}.paper-soccer-board-shell{width:min(100%,430px)}}
@media(max-width:520px){.match-panel{padding:12px}.match-top h2{font-size:25px}.match-actions{grid-template-columns:1fr}.paper-soccer-board-shell{border-radius:22px;width:min(100%,360px)}}
/* MUNIT_LOBBY_PAPER_SOCCER_V1_END */

/* MUNIT_LOBBY_PAPER_SOCCER_FIELD_BG_V3_START */
.paper-soccer-board-shell{
  background:
    linear-gradient(rgba(6, 18, 9, .20), rgba(6, 18, 9, .20)),
    url('/lobby/assets/game-files/paper-soccer/images/boisko.jpg') center / cover no-repeat,
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.18), transparent 42%),
    linear-gradient(180deg,#1d7a42,#0d5d31) !important;
  background-color:#0d5d31 !important;
}
.paper-soccer-svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.22));}
.paper-goal-keeper{z-index:4;}
/* MUNIT_LOBBY_PAPER_SOCCER_FIELD_BG_V3_END */


/* MUNIT_LOBBY_PAPER_SOCCER_PAGE_V6_CSS_START */
/* Osobna strona meczu Piłka na kartce. Lobby zostaje lobby, gra ma swój ekran. */
body.munit-game-page{
  overflow:hidden;
}
body.munit-game-page .game-shell{
  max-width:1320px;
  min-height:calc(100dvh - 36px);
  grid-template-rows:auto minmax(0,1fr);
}
body.munit-game-page .game-page-grid{
  min-height:0;
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:12px;
  align-items:stretch;
}
body.munit-game-page .game-me-panel{
  align-self:start;
}
body.munit-game-page .match-panel{
  grid-column:auto!important;
  height:100%;
  min-height:0;
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr);
  gap:8px!important;
  padding:12px!important;
  overflow:hidden;
}
body.munit-game-page .match-panel.hidden{
  display:none!important;
}
body.munit-game-page .match-top{
  padding-bottom:7px!important;
}
body.munit-game-page .match-top h2{
  font-size:26px!important;
  margin:2px 0!important;
}
body.munit-game-page #matchMeta{
  margin:0!important;
}
body.munit-game-page .match-players{
  gap:8px!important;
}
body.munit-game-page .paper-soccer-wrap{
  min-height:0!important;
  align-content:start!important;
  justify-items:center!important;
  overflow:hidden!important;
}
body.munit-game-page .paper-soccer-board-shell{
  width:min(100%,620px,calc((100dvh - 190px) * 9 / 13))!important;
  max-height:calc(100dvh - 190px)!important;
}
body.munit-game-page .game-no-match{
  align-self:start;
  display:grid;
  gap:10px;
}
body.munit-game-page .game-no-match.hidden{
  display:none!important;
}

@media(max-width:980px){
  body.munit-game-page{
    padding:8px!important;
  }
  body.munit-game-page .game-page-grid{
    grid-template-columns:1fr;
  }
  body.munit-game-page .game-me-panel{
    display:none!important;
  }
  body.munit-game-page .game-topbar{
    display:flex!important;
    padding:8px!important;
  }
  body.munit-game-page .lobby-brand span{
    display:none!important;
  }
  body.munit-game-page .lobby-top-actions{
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
  }
  body.munit-game-page .top-link,
  body.munit-game-page .lobby-top-actions .pill{
    flex:0 0 auto!important;
  }
  body.munit-game-page .match-panel{
    padding:9px!important;
  }
  body.munit-game-page .match-top{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  body.munit-game-page .match-actions{
    grid-template-columns:1fr 1fr 1fr!important;
    display:grid!important;
  }
  body.munit-game-page .match-actions .btn{
    min-height:32px!important;
    font-size:11px!important;
    padding:6px!important;
  }
  body.munit-game-page .paper-soccer-board-shell{
    width:min(100%,460px,calc((100dvh - 178px) * 9 / 13))!important;
    max-height:calc(100dvh - 178px)!important;
  }
}

@media(max-width:520px){
  body.munit-game-page .game-shell{
    gap:6px!important;
  }
  body.munit-game-page .lobby-brand img{
    width:36px!important;
    height:36px!important;
    border-radius:12px!important;
  }
  body.munit-game-page .lobby-brand strong{
    font-size:17px!important;
  }
  body.munit-game-page .pill{
    display:none!important;
  }
  body.munit-game-page .match-top .section-title,
  body.munit-game-page #matchMeta{
    display:none!important;
  }
  body.munit-game-page .match-top h2{
    font-size:22px!important;
  }
  body.munit-game-page .match-players{
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  }
  body.munit-game-page .match-player{
    padding:5px!important;
    border-radius:13px!important;
  }
  body.munit-game-page .match-player-name{
    max-width:86px!important;
    font-size:11px!important;
  }
  body.munit-game-page .turn-label{
    font-size:10px!important;
    padding:6px 7px!important;
    max-width:84px!important;
    white-space:normal!important;
  }
  body.munit-game-page .paper-soccer-meta{
    font-size:10px!important;
  }
  body.munit-game-page .paper-soccer-board-shell{
    width:min(100%,calc((100dvh - 158px) * 9 / 13))!important;
    max-height:calc(100dvh - 158px)!important;
    min-width:0!important;
  }
}
/* MUNIT_LOBBY_PAPER_SOCCER_PAGE_V6_CSS_END */


/* MUNIT_LOBBY_PAPER_SOCCER_FULLFIT_V7_CSS_START */
/* Pełne dopasowanie osobnej strony Piłki na kartce do ekranu: laptop, tablet, telefon. */
body.munit-game-page.munit-ps-fit-v7{
  height:100dvh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  overflow:hidden!important;
  padding:6px!important;
}

body.munit-game-page.munit-ps-fit-v7 .game-shell{
  width:100%!important;
  max-width:1500px!important;
  height:calc(100dvh - 12px)!important;
  min-height:0!important;
  max-height:calc(100dvh - 12px)!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  gap:6px!important;
  overflow:hidden!important;
}

body.munit-game-page.munit-ps-fit-v7 .game-topbar{
  min-height:0!important;
  padding:6px 8px!important;
  border-radius:18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  flex:0 0 auto!important;
}

body.munit-game-page.munit-ps-fit-v7 .lobby-brand{
  min-width:0!important;
  gap:8px!important;
}

body.munit-game-page.munit-ps-fit-v7 .lobby-brand img{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:12px!important;
}

body.munit-game-page.munit-ps-fit-v7 .lobby-brand strong{
  font-size:18px!important;
  line-height:1!important;
  white-space:nowrap!important;
}

body.munit-game-page.munit-ps-fit-v7 .lobby-brand span{
  display:none!important;
}

body.munit-game-page.munit-ps-fit-v7 .lobby-top-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex-wrap:nowrap!important;
}

body.munit-game-page.munit-ps-fit-v7 .lobby-top-actions .pill,
body.munit-game-page.munit-ps-fit-v7 .top-link{
  min-height:30px!important;
  height:30px!important;
  padding:6px 9px!important;
  font-size:11px!important;
  white-space:nowrap!important;
  border-radius:999px!important;
  flex:0 0 auto!important;
}

body.munit-game-page.munit-ps-fit-v7 .game-page-grid{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  align-items:stretch!important;
}

body.munit-game-page.munit-ps-fit-v7 .game-me-panel,
body.munit-game-page.munit-ps-fit-v7 #noMatchPanel.hidden{
  display:none!important;
}

body.munit-game-page.munit-ps-fit-v7 #noMatchPanel:not(.hidden){
  overflow:auto!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-panel{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:auto auto minmax(0,1fr)!important;
  gap:5px!important;
  padding:7px!important;
  border-radius:20px!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-panel.hidden{
  display:none!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-top{
  min-height:0!important;
  padding:0 0 4px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  border-bottom:1px solid rgba(15,23,42,.08)!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-top .section-title,
body.munit-game-page.munit-ps-fit-v7 #matchMeta{
  display:none!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-top h2{
  margin:0!important;
  font-size:20px!important;
  line-height:1!important;
  white-space:nowrap!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  flex-wrap:nowrap!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-actions .btn{
  min-height:29px!important;
  height:29px!important;
  padding:5px 8px!important;
  font-size:10px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-players{
  min-height:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  gap:6px!important;
  align-items:center!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-player{
  min-height:0!important;
  padding:5px 7px!important;
  border-radius:14px!important;
  gap:6px!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-player .avatar{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  border-radius:10px!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-player-name{
  max-width:140px!important;
  font-size:12px!important;
  line-height:1.05!important;
}

body.munit-game-page.munit-ps-fit-v7 .match-player-sub{
  font-size:9px!important;
  line-height:1!important;
  margin-top:1px!important;
}

body.munit-game-page.munit-ps-fit-v7 .turn-label{
  padding:6px 8px!important;
  font-size:10px!important;
  line-height:1.1!important;
  max-width:110px!important;
  white-space:normal!important;
  text-align:center!important;
}

body.munit-game-page.munit-ps-fit-v7 .paper-soccer-wrap{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  gap:3px!important;
  align-content:start!important;
  justify-items:center!important;
  touch-action:none!important;
}

body.munit-game-page.munit-ps-fit-v7 .paper-soccer-meta{
  margin:0!important;
  padding:0!important;
  min-height:13px!important;
  line-height:1.1!important;
  font-size:10px!important;
  font-weight:900!important;
  text-align:center!important;
  color:#334155!important;
}

body.munit-game-page.munit-ps-fit-v7 .paper-soccer-board-shell{
  position:relative!important;
  width:var(--munit-ps-v7-board-w, min(100%, 420px))!important;
  max-width:100%!important;
  aspect-ratio:9 / 13!important;
  height:auto!important;
  max-height:100%!important;
  margin:0 auto!important;
  border-radius:18px!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
  align-self:start!important;
  touch-action:none!important;
}

body.munit-game-page.munit-ps-fit-v7 .paper-soccer-svg,
body.munit-game-page.munit-ps-fit-v7 .paper-soccer-grid{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
}

body.munit-game-page.munit-ps-fit-v7 .paper-soccer-svg{
  touch-action:none!important;
}

body.munit-game-page.munit-ps-fit-v7 .paper-goal-keeper{
  width:38px!important;
  height:38px!important;
  border-radius:14px!important;
}

body.munit-game-page.munit-ps-fit-v7 .paper-goal-keeper.top{top:6px!important;}
body.munit-game-page.munit-ps-fit-v7 .paper-goal-keeper.bottom{bottom:6px!important;}
body.munit-game-page.munit-ps-fit-v7 .paper-goal-keeper .avatar{border-radius:12px!important;}

@media(max-width:760px){
  body.munit-game-page.munit-ps-fit-v7{padding:4px!important;}
  body.munit-game-page.munit-ps-fit-v7 .game-shell{
    height:calc(100dvh - 8px)!important;
    max-height:calc(100dvh - 8px)!important;
    gap:4px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .game-topbar{
    padding:5px 6px!important;
    border-radius:16px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .lobby-brand img{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .lobby-brand strong{font-size:15px!important;}
  body.munit-game-page.munit-ps-fit-v7 .lobby-top-actions .pill{display:none!important;}
  body.munit-game-page.munit-ps-fit-v7 .top-link{
    height:28px!important;
    min-height:28px!important;
    padding:4px 8px!important;
    font-size:10px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .match-panel{
    padding:5px!important;
    gap:4px!important;
    border-radius:17px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .match-top h2{font-size:15px!important;}
  body.munit-game-page.munit-ps-fit-v7 .match-actions .btn{
    height:25px!important;
    min-height:25px!important;
    padding:4px 6px!important;
    font-size:9px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .match-player{
    padding:4px!important;
    gap:4px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .match-player .avatar{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    border-radius:9px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .match-player-name{
    max-width:82px!important;
    font-size:10px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .match-player-sub{display:none!important;}
  body.munit-game-page.munit-ps-fit-v7 .turn-label{
    padding:5px 6px!important;
    font-size:9px!important;
    max-width:80px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .paper-soccer-meta{
    font-size:9px!important;
    min-height:10px!important;
  }
  body.munit-game-page.munit-ps-fit-v7 .paper-goal-keeper{
    width:30px!important;
    height:30px!important;
    border-radius:11px!important;
  }
}

@media(max-width:380px){
  body.munit-game-page.munit-ps-fit-v7 .match-top h2{display:none!important;}
  body.munit-game-page.munit-ps-fit-v7 .match-actions{width:100%!important;}
  body.munit-game-page.munit-ps-fit-v7 .match-actions .btn{flex:1 1 auto!important;}
  body.munit-game-page.munit-ps-fit-v7 .paper-soccer-meta{display:none!important;}
}
/* MUNIT_LOBBY_PAPER_SOCCER_FULLFIT_V7_CSS_END */


/* MUNIT_LOBBY_TICTACTOE_V1_CSS_START */
.tic-tac-toe-wrap{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  justify-items:center;
  align-content:start;
  gap:12px;
  min-height:0;
  padding:8px 0;
}
.tic-tac-toe-wrap.hidden{display:none!important;}
.tic-tac-toe-meta{
  text-align:center;
  font-weight:900;
  color:#334155;
}
.tic-tac-toe-board{
  width:min(100%,520px,calc(100dvh - 245px));
  aspect-ratio:1/1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:repeat(3,1fr);
  gap:10px;
  padding:12px;
  border-radius:28px;
  background:linear-gradient(135deg,rgba(29,114,243,.10),rgba(112,77,255,.08));
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 24px 70px rgba(15,23,42,.14);
}
.ttt-cell{
  border:1px solid rgba(15,23,42,.12);
  border-radius:22px;
  background:#fff;
  color:#0b1020;
  font-size:clamp(42px,9vw,88px);
  font-weight:950;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(15,23,42,.07);
  transition:transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.ttt-cell:hover:not(:disabled){
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(15,23,42,.12);
  background:#f8fafc;
}
.ttt-cell:disabled{cursor:default;opacity:1;}
.ttt-cell.x{color:#1d72f3;}
.ttt-cell.o{color:#704dff;}
body.munit-game-page.munit-tictactoe-page{
  height:100dvh!important;
  min-height:100dvh!important;
  overflow:hidden!important;
  padding:8px!important;
}
body.munit-game-page.munit-tictactoe-page .game-shell{
  width:100%!important;
  max-width:1180px!important;
  height:calc(100dvh - 16px)!important;
  min-height:0!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  gap:8px!important;
  overflow:hidden!important;
}
body.munit-game-page.munit-tictactoe-page .game-page-grid{
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  overflow:hidden!important;
}
body.munit-game-page.munit-tictactoe-page .game-me-panel{display:none!important;}
body.munit-game-page.munit-tictactoe-page .match-panel{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:auto auto minmax(0,1fr)!important;
  gap:8px!important;
  padding:10px!important;
  border-radius:22px!important;
}
body.munit-game-page.munit-tictactoe-page .match-panel.hidden{display:none!important;}
body.munit-game-page.munit-tictactoe-page .game-no-match.hidden{display:none!important;}
body.munit-game-page.munit-tictactoe-page .match-top{
  min-height:0!important;
  padding-bottom:6px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
body.munit-game-page.munit-tictactoe-page .match-top .section-title,
body.munit-game-page.munit-tictactoe-page #matchMeta{display:none!important;}
body.munit-game-page.munit-tictactoe-page .match-top h2{
  margin:0!important;
  font-size:22px!important;
  line-height:1!important;
}
body.munit-game-page.munit-tictactoe-page .match-actions{
  display:flex!important;
  gap:6px!important;
  flex-wrap:nowrap!important;
}
body.munit-game-page.munit-tictactoe-page .match-actions .btn{
  min-height:30px!important;
  height:30px!important;
  padding:5px 8px!important;
  font-size:10px!important;
  border-radius:999px!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
body.munit-game-page.munit-tictactoe-page .match-player .avatar{
  width:30px!important;height:30px!important;min-width:30px!important;border-radius:10px!important;
}
body.munit-game-page.munit-tictactoe-page .tic-tac-toe-board{
  width:min(100%,560px,calc(100dvh - 185px))!important;
  max-height:calc(100dvh - 185px)!important;
}
@media(max-width:760px){
  body.munit-game-page.munit-tictactoe-page{padding:5px!important;}
  body.munit-game-page.munit-tictactoe-page .game-shell{height:calc(100dvh - 10px)!important;gap:5px!important;}
  body.munit-game-page.munit-tictactoe-page .lobby-brand img{width:30px!important;height:30px!important;min-width:30px!important;border-radius:11px!important;}
  body.munit-game-page.munit-tictactoe-page .lobby-brand strong{font-size:15px!important;}
  body.munit-game-page.munit-tictactoe-page .lobby-brand span,
  body.munit-game-page.munit-tictactoe-page .lobby-top-actions .pill{display:none!important;}
  body.munit-game-page.munit-tictactoe-page .top-link{min-height:28px!important;height:28px!important;padding:4px 8px!important;font-size:10px!important;}
  body.munit-game-page.munit-tictactoe-page .match-panel{padding:6px!important;gap:5px!important;}
  body.munit-game-page.munit-tictactoe-page .match-top h2{font-size:16px!important;}
  body.munit-game-page.munit-tictactoe-page .match-actions .btn{height:25px!important;min-height:25px!important;padding:4px 6px!important;font-size:9px!important;}
  body.munit-game-page.munit-tictactoe-page .match-player{padding:4px!important;gap:4px!important;}
  body.munit-game-page.munit-tictactoe-page .match-player .avatar{width:24px!important;height:24px!important;min-width:24px!important;border-radius:9px!important;}
  body.munit-game-page.munit-tictactoe-page .match-player-name{max-width:82px!important;font-size:10px!important;}
  body.munit-game-page.munit-tictactoe-page .match-player-sub{display:none!important;}
  body.munit-game-page.munit-tictactoe-page .turn-label{padding:5px 6px!important;font-size:9px!important;max-width:80px!important;white-space:normal!important;text-align:center!important;}
  body.munit-game-page.munit-tictactoe-page .tic-tac-toe-meta{font-size:10px!important;}
  body.munit-game-page.munit-tictactoe-page .tic-tac-toe-board{width:min(100%,calc(100dvh - 152px))!important;max-height:calc(100dvh - 152px)!important;gap:7px;padding:8px;border-radius:20px;}
  .ttt-cell{border-radius:16px;}
}
@media(max-width:380px){
  body.munit-game-page.munit-tictactoe-page .match-top h2{display:none!important;}
  body.munit-game-page.munit-tictactoe-page .match-actions{width:100%!important;}
  body.munit-game-page.munit-tictactoe-page .match-actions .btn{flex:1 1 auto!important;}
  body.munit-game-page.munit-tictactoe-page .tic-tac-toe-meta{display:none!important;}
  body.munit-game-page.munit-tictactoe-page .tic-tac-toe-board{width:min(100%,calc(100dvh - 128px))!important;max-height:calc(100dvh - 128px)!important;}
}
/* MUNIT_LOBBY_TICTACTOE_V1_CSS_END */

/* MUNIT_LOBBY_TICTACTOE_FULLFIT_V2_CSS_START */
html:has(body.munit-tictactoe-page),
body.munit-game-page.munit-tictactoe-page{
  width:100%!important;
  height:100dvh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  padding:6px!important;
  background:
    radial-gradient(circle at 10% 0%, rgba(29,114,243,.14), transparent 26%),
    radial-gradient(circle at 90% 8%, rgba(112,77,255,.12), transparent 30%),
    #f5f7fb!important;
}

body.munit-game-page.munit-tictactoe-page .game-shell{
  width:100%!important;
  max-width:none!important;
  height:calc(100dvh - 12px)!important;
  min-height:0!important;
  max-height:calc(100dvh - 12px)!important;
  margin:0!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  gap:6px!important;
  overflow:hidden!important;
}

body.munit-game-page.munit-tictactoe-page .game-topbar{
  min-height:38px!important;
  height:auto!important;
  padding:5px 7px!important;
  border-radius:16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  flex:0 0 auto!important;
}

body.munit-game-page.munit-tictactoe-page .lobby-brand{
  min-width:0!important;
  gap:7px!important;
}

body.munit-game-page.munit-tictactoe-page .lobby-brand img{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  border-radius:10px!important;
}

body.munit-game-page.munit-tictactoe-page .lobby-brand strong{
  font-size:15px!important;
  line-height:1!important;
  white-space:nowrap!important;
}

body.munit-game-page.munit-tictactoe-page .lobby-brand span,
body.munit-game-page.munit-tictactoe-page .lobby-top-actions .pill{
  display:none!important;
}

body.munit-game-page.munit-tictactoe-page .top-link{
  min-height:28px!important;
  height:28px!important;
  padding:4px 9px!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:1!important;
  white-space:nowrap!important;
}

body.munit-game-page.munit-tictactoe-page .game-page-grid{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:minmax(0,1fr)!important;
  overflow:hidden!important;
}

body.munit-game-page.munit-tictactoe-page .game-me-panel,
body.munit-game-page.munit-tictactoe-page #noMatchPanel.hidden{
  display:none!important;
}

body.munit-game-page.munit-tictactoe-page .match-panel{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:auto auto minmax(0,1fr)!important;
  gap:5px!important;
  padding:7px!important;
  border-radius:18px!important;
}

body.munit-game-page.munit-tictactoe-page .match-panel.hidden{
  display:none!important;
}

body.munit-game-page.munit-tictactoe-page .match-top{
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:6px!important;
  flex:0 0 auto!important;
}

body.munit-game-page.munit-tictactoe-page .match-top .section-title,
body.munit-game-page.munit-tictactoe-page #matchMeta,
body.munit-game-page.munit-tictactoe-page .match-top h2{
  display:none!important;
}

body.munit-game-page.munit-tictactoe-page .match-actions{
  width:100%!important;
  display:flex!important;
  gap:5px!important;
  flex-wrap:nowrap!important;
  justify-content:flex-end!important;
}

body.munit-game-page.munit-tictactoe-page .match-actions .btn{
  flex:0 1 auto!important;
  min-height:26px!important;
  height:26px!important;
  padding:4px 7px!important;
  font-size:9px!important;
  border-radius:999px!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}

body.munit-game-page.munit-tictactoe-page .match-players{
  min-height:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
  flex:0 0 auto!important;
}

body.munit-game-page.munit-tictactoe-page .match-player{
  min-width:0!important;
  padding:5px 7px!important;
  gap:6px!important;
  border-radius:14px!important;
}

body.munit-game-page.munit-tictactoe-page .match-player.right{
  justify-content:flex-end!important;
}

body.munit-game-page.munit-tictactoe-page .match-player .avatar{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  max-width:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  border-radius:8px!important;
}

body.munit-game-page.munit-tictactoe-page .match-player-name{
  max-width:150px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:11px!important;
  line-height:1.05!important;
}

body.munit-game-page.munit-tictactoe-page .match-player-sub{
  display:none!important;
}

body.munit-game-page.munit-tictactoe-page .turn-label{
  max-width:116px!important;
  min-height:26px!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:1.05!important;
  text-align:center!important;
  white-space:normal!important;
}

body.munit-game-page.munit-tictactoe-page .tic-tac-toe-wrap{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:0 minmax(0,1fr)!important;
  place-items:center!important;
  align-content:center!important;
  justify-content:center!important;
  gap:0!important;
  padding:0!important;
  overflow:hidden!important;
  touch-action:manipulation!important;
}

body.munit-game-page.munit-tictactoe-page .tic-tac-toe-meta{
  display:none!important;
}

body.munit-game-page.munit-tictactoe-page .tic-tac-toe-board{
  --ttt-board-size: min(96vw, 96dvh);
  width:min(var(--ttt-board-size), 100%)!important;
  height:min(var(--ttt-board-size), 100%)!important;
  max-width:100%!important;
  max-height:100%!important;
  aspect-ratio:1/1!important;
  gap:clamp(5px,1.1vmin,10px)!important;
  padding:clamp(6px,1.35vmin,12px)!important;
  border-radius:clamp(16px,3vmin,28px)!important;
  align-self:center!important;
  justify-self:center!important;
  overflow:hidden!important;
}

body.munit-game-page.munit-tictactoe-page .ttt-cell{
  border-radius:clamp(12px,2.2vmin,22px)!important;
  font-size:clamp(36px, min(14vmin, 12vw), 88px)!important;
  line-height:1!important;
  touch-action:manipulation!important;
}

@media(max-width:760px){
  body.munit-game-page.munit-tictactoe-page{padding:4px!important;}
  body.munit-game-page.munit-tictactoe-page .game-shell{height:calc(100dvh - 8px)!important;max-height:calc(100dvh - 8px)!important;gap:4px!important;}
  body.munit-game-page.munit-tictactoe-page .game-topbar{min-height:34px!important;padding:4px 6px!important;border-radius:14px!important;}
  body.munit-game-page.munit-tictactoe-page .lobby-brand img{width:26px!important;height:26px!important;min-width:26px!important;border-radius:9px!important;}
  body.munit-game-page.munit-tictactoe-page .lobby-brand strong{font-size:14px!important;}
  body.munit-game-page.munit-tictactoe-page .top-link{height:25px!important;min-height:25px!important;padding:4px 7px!important;font-size:9px!important;}
  body.munit-game-page.munit-tictactoe-page .match-panel{padding:5px!important;gap:4px!important;border-radius:16px!important;}
  body.munit-game-page.munit-tictactoe-page .match-actions .btn{height:24px!important;min-height:24px!important;padding:3px 5px!important;font-size:8.5px!important;}
  body.munit-game-page.munit-tictactoe-page .match-player{padding:4px 5px!important;gap:4px!important;}
  body.munit-game-page.munit-tictactoe-page .match-player .avatar{width:22px!important;height:22px!important;min-width:22px!important;border-radius:8px!important;}
  body.munit-game-page.munit-tictactoe-page .match-player-name{max-width:82px!important;font-size:9.5px!important;}
  body.munit-game-page.munit-tictactoe-page .turn-label{max-width:72px!important;min-height:23px!important;padding:4px 5px!important;font-size:8.5px!important;}
}

@media(max-height:520px){
  body.munit-game-page.munit-tictactoe-page .game-topbar{display:none!important;}
  body.munit-game-page.munit-tictactoe-page .game-shell{height:calc(100dvh - 8px)!important;grid-template-rows:minmax(0,1fr)!important;}
  body.munit-game-page.munit-tictactoe-page .match-actions .btn[href],
  body.munit-game-page.munit-tictactoe-page #syncMatchBtn{display:none!important;}
}
/* MUNIT_LOBBY_TICTACTOE_FULLFIT_V2_CSS_END */


/* MUNIT_LOBBY_PLAYER_SEARCH_V1_CSS_START */
.lobby-player-search-v1{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  margin:8px 0 10px;
  padding:8px 10px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.lobby-player-search-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#eff6ff;
  color:#155fc1;
  font-size:14px;
  flex:0 0 auto;
}
#lobbyPlayerSearch{
  width:100%;
  min-width:0;
  height:40px;
  border:0;
  outline:0;
  background:transparent;
  color:#0b1020;
  font:inherit;
  font-weight:850;
  font-size:14px;
}
#lobbyPlayerSearch::placeholder{
  color:#94a3b8;
  font-weight:750;
}
#lobbyPlayerSearchClear{
  width:34px;
  height:34px;
  min-height:34px;
  padding:0;
  border:1px solid rgba(15,23,42,.10);
  border-radius:12px;
  background:#fff;
  color:#64748b;
  font-size:22px;
  font-weight:950;
  line-height:1;
  cursor:pointer;
  box-shadow:none;
}
#lobbyPlayerSearchClear:hover{
  background:#fff1f2;
  color:#991b1b;
  border-color:rgba(220,38,38,.20);
}
.lobby-player-search-info{
  margin:-2px 0 10px;
  color:#64748b;
  font-size:12px;
  font-weight:850;
  line-height:1.35;
}
@media(max-width:760px){
  .lobby-player-search-v1{
    margin-top:10px;
    border-radius:16px;
  }
  #lobbyPlayerSearch{
    height:38px;
    font-size:13px;
  }
}
/* MUNIT_LOBBY_PLAYER_SEARCH_V1_CSS_END */



/* MUNIT_PM_ROOMS_SAFETY_V4_CSS_START */
.top-safety-btn{
  color:#991b1b!important;
  border-color:rgba(220,38,38,.22)!important;
  background:#fff1f2!important;
  cursor:pointer;
}
.pm-active-rooms-card{
  margin-top:12px;
  border:1px solid rgba(22,163,74,.22);
  background:linear-gradient(135deg,rgba(22,163,74,.075),rgba(255,255,255,.92));
  border-radius:22px;
  padding:13px;
  box-shadow:0 12px 30px rgba(15,23,42,.07);
}
.pm-active-rooms-card.hidden{display:none!important}
.pm-active-rooms-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  margin-bottom:10px;
}
.pm-active-rooms-head strong{display:block;font-size:15px;font-weight:950;color:#0f172a;letter-spacing:-.025em}
.pm-active-rooms-head span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:2px;line-height:1.35}
.small-btn{min-height:34px!important;padding:7px 10px!important;border-radius:12px!important;font-size:12px!important;box-shadow:none!important}
.pm-active-rooms-list{display:grid;gap:8px}
.pm-active-room-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:17px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(15,23,42,.09);
}
.pm-active-room-code{font-weight:950;color:#0f172a;letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.pm-active-room-meta{margin-top:2px;color:#64748b;font-size:12px;font-weight:800;line-height:1.35}
.pm-active-room-row .btn{min-height:34px;padding:7px 11px;border-radius:12px;font-size:12px;white-space:nowrap}
.pm-active-rooms-empty{color:#64748b;font-size:12px;font-weight:800;padding:6px 2px}
@media(max-width:700px){
  .pm-active-rooms-head,.pm-active-room-row{grid-template-columns:1fr;display:grid}
  .pm-active-room-row .btn{width:100%}
  .top-safety-btn{width:100%;text-align:center}
}
/* MUNIT_PM_ROOMS_SAFETY_V4_CSS_END */
