/* STEP909: the approved Concept B at real desktop viewport. QA Lobby only. */
@media (min-width:1051px) {
  body.sb-photo892 .topbar {
    height:62px!important; min-height:62px!important;
    padding-inline:clamp(12px,2.2vw,34px)!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px!important;
  }
  body.sb-photo892 .topbar .topbar-page-links {
    position:absolute!important; left:50%!important; top:50%!important;
    transform:translate(-50%,-50%)!important; z-index:1;
    display:flex!important; gap:8px!important; margin:0!important;
  }
  body.sb-photo892 .topbar .profile-menu {justify-self:end!important;gap:7px!important;}
}
body.sb-photo892 .topbar .topbar-page-link,
body.sb-photo892 .topbar .sb-global-page-link,
body.sb-photo892 .topbar .sb-global-menu-toggle {
  height:37px!important;min-height:37px!important;padding:0 13px!important;
  font-size:.76rem!important;font-weight:650!important;
}
body.sb-photo892 .topbar .topbar-private-chat-button,
body.sb-photo892 .topbar .topbar-notification-button {height:35px!important;min-height:35px!important;width:35px!important;min-width:35px!important;}
body.sb-photo892 .topbar .profile-button {min-height:38px!important;max-height:38px!important;padding:3px 10px 3px 4px!important;}
body.sb-photo892 .topbar .profile-button .avatar {width:31px!important;height:31px!important;}
body.sb-photo892 .topbar .brand-placeholder {width:37px!important;min-width:37px!important;height:37px!important;font-size:2.25rem!important;}
body.sb-photo892 .topbar .brand-name {font-size:clamp(1.22rem,1.65vw,1.7rem)!important;font-weight:700!important;}
body.sb-photo892 .app-shell .lobby-grid {margin-top:11px!important;}
body.sb-photo892 .sb892-concept {min-height:29px!important;padding:0 11px!important;margin-bottom:8px!important;border-radius:9px!important;font-size:.7rem!important;}
body.sb-photo892 .tables-panel>.panel-heading {min-height:70px!important;margin-bottom:11px!important;}
body.sb-photo892 .tables-panel>.panel-heading>div:first-child {padding-left:74px!important;}
body.sb-photo892 .tables-panel>.panel-heading>div:first-child::before {width:55px!important;height:52px!important;top:2px!important;font-size:2rem!important;border-width:5px!important;}
body.sb-photo892 .tables-panel>.panel-heading h2 {font-size:clamp(1.72rem,2.15vw,2.18rem)!important;line-height:1.06!important;letter-spacing:-.025em!important;margin:0 0 4px!important;}
body.sb-photo892 .tables-panel .sb-b-heading-copy {font-size:.75rem!important;line-height:1.35!important;}
body.sb-photo892 .table-heading-actions>#open-create-table,
body.sb-photo892 .table-heading-actions>#my-current-game:not(:disabled) {height:42px!important;min-height:42px!important;}
body.sb-photo892 .premium-table-toolbar {margin-bottom:12px!important;gap:10px!important;}
body.sb-photo892 .premium-table-search {height:40px!important;}
body.sb-photo892 .premium-table-filters button,
body.sb-photo892 .premium-table-filters .sb892-level-menu>summary {height:38px!important;min-height:38px!important;font-size:.72rem!important;padding-inline:11px!important;}
body.sb-photo892 .premium-tables-grid {gap:11px!important;}
body.sb-photo892 .sb892-card {height:174px!important;min-height:174px!important;max-height:174px!important;padding:11px!important;border-radius:13px!important;}
body.sb-photo892 .sb892-card .sb892-oval {height:136px!important;}
body.sb-photo892 .sb892-seat {height:35px!important;width:35px!important;}
body.sb-photo892 .sb892-enter {height:44px!important;min-height:44px!important;}
body.sb-photo892 .right-column {top:72px!important;}
body.sb-photo892 .right-column .chat-panel.sb-trio-lobby {
  height:calc(100dvh - 85px)!important;min-height:0!important;max-height:none!important;
  padding:11px 13px 12px!important;grid-template-rows:62px 43px minmax(0,1fr)!important;
  border-radius:15px!important;
}
body.sb-photo892 .sb892-social-header {padding:4px 0 8px!important;}
body.sb-photo892 .sb892-chat-icon {width:35px!important;height:35px!important;min-width:35px!important;}
body.sb-photo892 .sb892-social-header strong {font-size:1.12rem!important;}
body.sb-photo892 .sb892-social-header small {font-size:.73rem!important;}
body.sb-photo892 .sb-trio-lobby>.sb-trio-tabs .sb-trio-tab {height:35px!important;min-height:35px!important;font-size:.73rem!important;}
body.sb-photo892 .sb-trio-lobby>.sb-trio-stage:not([hidden]) {height:100%!important;min-height:0!important;overflow:hidden!important;}
body.sb-photo892 .sb-trio-lobby>.sb-trio-stage-lobby:not([hidden]) {display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;}
body.sb-photo892 .sb-trio-lobby .chat-filters {margin:10px 0!important;gap:5px!important;}
body.sb-photo892 .sb-trio-lobby .chat-filters>button,
body.sb-photo892 .sb-trio-lobby .chat-filters>.chat-filter-nickname {height:34px!important;min-height:34px!important;max-height:34px!important;font-size:.64rem!important;}
body.sb-photo892 .sb-trio-lobby .chat-list {min-height:0!important;overflow-y:auto!important;}
body.sb-photo892 .sb-trio-lobby .chat-form {align-self:end!important;padding-top:8px!important;grid-template-columns:minmax(0,1fr) 94px!important;gap:9px!important;}
body.sb-photo892 .sb-trio-lobby .chat-form textarea,
body.sb-photo892 .sb-trio-lobby .chat-form-footer button {height:44px!important;min-height:44px!important;max-height:44px!important;}
body.sb-photo892 .sb-trio-lobby .chat-form textarea {padding:11px 43px 8px 11px!important;font-size:.77rem!important;}
body.sb-photo892 .sb-trio-lobby .chat-form-footer button {font-size:.78rem!important;}
body.sb-photo892 .sb-trio-lobby .sb892-emoji-button {top:5px!important;right:4px!important;width:33px!important;height:33px!important;}
@media (max-width:1160px) {
 body.sb-photo892 .right-column .chat-panel.sb-trio-lobby {height:590px!important;min-height:0!important;}
}
@media (max-width:780px) {
 body.sb-photo892 .topbar {height:60px!important;min-height:60px!important;}
 body.sb-photo892 .tables-panel>.panel-heading h2 {font-size:1.7rem!important;}
 body.sb-photo892 .app-shell .lobby-grid {width:calc(100% - 22px)!important;}
}
/* The emoji picker is a UI helper, not a replacement for the existing send logic. */
.sb909-field {position:relative;min-width:0;}
.sb909-emoji-toggle {position:absolute;right:7px;top:50%;transform:translateY(-50%);width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#f0d293;font-size:1.25rem;cursor:pointer;}
.sb909-emoji-toggle:focus-visible {outline:2px solid #edc983;}
.sb909-picker,.sb892-emoji-popover.sb909-picker {position:absolute!important;z-index:500!important;bottom:calc(100% + 9px)!important;right:0!important;width:min(320px,calc(100vw - 28px))!important;max-height:min(330px,57dvh)!important;padding:10px!important;display:flex!important;flex-direction:column!important;gap:8px!important;overflow:hidden!important;border:1px solid #b8965f!important;border-radius:13px!important;background:#12281c!important;box-shadow:0 12px 30px #0009!important;grid-template-columns:none!important;}
.sb909-picker[hidden],.sb892-emoji-popover.sb909-picker[hidden] {display:none!important;}
.sb909-picker-search {width:100%;height:34px;padding:0 10px;border:1px solid #6e765c;border-radius:8px;background:#0b1c13;color:#f2e8d4;font-size:13px;}
.sb909-picker-scroll {min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;}
.sb909-picker-section {margin-bottom:8px;}
.sb909-picker-heading {font-size:11px;font-weight:700;color:#d4b776;margin:5px 0;}
.sb909-picker-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;}
.sb909-picker .sb909-picker-grid button {width:100%!important;height:34px!important;min-height:34px!important;padding:0!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;font-size:20px!important;cursor:pointer;}
.sb909-picker .sb909-picker-grid button:hover {background:#37513a!important;border-color:#b8965f!important;}
.sb909-picker .sb909-picker-grid button[hidden] {display:none!important;}
/* Table-only embedded chat in the Lobby: no Lobby filters; send field truly docked. */
body.sb-trio-embedded-page {height:100dvh!important;min-height:0!important;overflow:hidden!important;}
body.sb-trio-embedded-page .sb-trio-embedded[data-chat-channel="table"] {
 box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:auto minmax(0,1fr) auto!important;gap:0!important;
 width:100%!important;height:100dvh!important;min-height:0!important;padding:10px!important;
}
body.sb-trio-embedded-page .sb-trio-embedded[data-chat-channel="table"]>.chat-filters,
body.sb-trio-embedded-page .sb-trio-embedded[data-chat-channel="table"]>.chat-status {display:none!important;}
body.sb-trio-embedded-page .sb-trio-embedded[data-chat-channel="table"]>.chat-heading {grid-row:1!important;padding:2px 0 8px!important;margin:0!important;}
body.sb-trio-embedded-page .sb-trio-embedded[data-chat-channel="table"]>.chat-list {grid-row:2!important;min-height:0!important;overflow-y:auto!important;padding:4px 0!important;}
body.sb-trio-embedded-page .sb-trio-embedded[data-chat-channel="table"]>.chat-form {
 grid-row:3!important;align-self:end!important;display:grid!important;
 grid-template-columns:minmax(0,1fr) 83px!important;align-items:end!important;gap:6px!important;
 margin:0!important;padding:7px 0 0!important;min-height:0!important;
}
body.sb-trio-embedded-page .sb-trio-embedded[data-chat-channel="table"] .sb909-field>textarea {
 box-sizing:border-box!important;width:100%!important;height:44px!important;min-height:44px!important;max-height:44px!important;
 resize:none!important;padding:10px 43px 8px 10px!important;font-size:12px!important;line-height:1.35!important;
}
body.sb-trio-embedded-page .sb-trio-embedded[data-chat-channel="table"] .chat-form-footer {margin:0!important;padding:0!important;display:block!important;}
body.sb-trio-embedded-page .sb-trio-embedded[data-chat-channel="table"] .chat-form-footer small {display:none!important;}
body.sb-trio-embedded-page .sb-trio-embedded[data-chat-channel="table"] .chat-form-footer button {width:100%!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0 8px!important;}
