/* STEP892 QA-only. Faithful desktop composition of the approved Concept B image.
   Deliberately scoped to body.sb-photo892 in app.html; never table.html/chat-pane.html. */
body.sb-photo892 { --sb892-gold:#e5c282; --sb892-line:rgba(195,174,119,.20); --sb892-muted:#aab3ab;
 background:radial-gradient(ellipse at 44% -12%,#123121 0%,transparent 54%),linear-gradient(125deg,#07140f,#081811 74%,#09160f); color:#f1efe8; }
body.sb-photo892 .topbar { height:74px;z-index:60;grid-template-columns:minmax(270px,1fr) auto;gap:16px;padding:0 clamp(15px,2vw,32px);background:#08140edc;border-bottom:1px solid rgba(176,151,98,.16); }
body.sb-photo892 .brand {gap:10px;}
body.sb-photo892 .brand-placeholder {min-width:42px;width:42px;height:42px;padding:0;border:none;border-radius:0;background:none;color:#efd395;font-size:2.7rem;line-height:1;letter-spacing:0;}
body.sb-photo892 .brand-name {color:#f4dfb4;font-family:Georgia,serif;font-size:clamp(1.4rem,2vw,1.9rem);font-weight:700;letter-spacing:-.038em;white-space:nowrap;}
body.sb-photo892 .live-summary {display:none!important;}
body.sb-photo892 .profile-menu {gap:10px;min-width:0;}
body.sb-photo892 .topbar-page-links {display:flex;gap:8px;}
body.sb-photo892 .topbar-page-link,body.sb-photo892 .sb-global-page-link,body.sb-photo892 .sb-global-menu-toggle {height:43px!important;min-height:43px!important;padding:0 17px!important;border:1px solid rgba(222,189,114,.20);border-radius:999px!important;background:rgba(2,15,9,.22);color:#e7e8df;font-size:.89rem;font-weight:800;white-space:nowrap;}
body.sb-photo892 .topbar-page-link[href="/social.html"] {background:linear-gradient(120deg,#e6c788,#9d854a);border-color:#dbb66d;color:#1d1a13;box-shadow:inset 0 0 0 2px rgba(9,17,11,.45),0 0 0 2px rgba(212,180,114,.12);}
body.sb-photo892 .topbar-private-chat-button,body.sb-photo892 .topbar-notification-button {height:40px;min-height:40px;width:40px;min-width:40px;border-radius:50%;border:1px solid rgba(211,188,132,.16);background:rgba(13,26,19,.65);}
body.sb-photo892 .profile-button {border:1px solid rgba(214,176,110,.19);border-radius:999px;padding:4px 12px 4px 5px;gap:8px;min-height:44px;}
body.sb-photo892 .profile-copy strong {font-size:.85rem;}
body.sb-photo892 .profile-copy small {display:none;}
body.sb-photo892 .profile-button .avatar {width:34px;height:34px;border:2px solid #bdad7c;}
body.sb-photo892 .icon-button#logout-button {width:1px;height:1px;overflow:hidden;border:0;opacity:0;padding:0;position:absolute;top:-9999px;left:-9999px;}
/* Target: two wide columns of cards at left; stable chat column at right. */
body.sb-photo892 .app-shell .lobby-grid {width:min(1630px,calc(100% - 62px));margin:13px auto 32px;display:grid!important;grid-template-columns:minmax(0,1fr) clamp(395px,27.5vw,460px)!important;gap:15px!important;align-items:start;}
body.sb-photo892 .app-shell .lobby-left-hidden {display:none!important;}
body.sb-photo892 .app-shell .center-column {grid-column:1!important;min-width:0;}
body.sb-photo892 .app-shell .right-column {grid-column:2!important;min-width:0;width:100%;position:sticky;top:86px;display:block;}
body.sb-photo892 .center-column>.hero-strip {display:none!important;}
body.sb-photo892 .right-column>.notifications-panel,body.sb-photo892 .right-column>.quick-panel {display:none!important;}
body.sb-photo892 .tables-panel {position:relative;overflow:visible;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;}
body.sb-photo892 .tables-panel::before {display:none!important;}
body.sb-photo892 .sb892-concept {display:inline-flex;align-items:center;min-height:37px;padding:0 14px;border-radius:12px;border:1px solid #2d6c4f;background:#071c13;color:#d5e9dd;font-size:.83rem;box-shadow:0 3px 7px rgba(0,0,0,.17);margin-bottom:12px;}
body.sb-photo892 .tables-panel>.panel-heading {position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 12px;align-items:start;margin:0 0 17px!important;min-height:84px;}
body.sb-photo892 .tables-panel>.panel-heading>div:first-child {padding-left:88px;min-width:0;position:relative;}
body.sb-photo892 .tables-panel>.panel-heading>div:first-child::before {content:"♠";position:absolute;left:0;top:5px;font-size:2.5rem;color:#061a10;display:grid;place-items:center;width:65px;height:60px;transform:rotate(-9deg);border:6px solid #c2a767;border-radius:7px;background:linear-gradient(140deg,#f1d28d,#ae9151);box-shadow:-8px 0 0 -1px #e2bd75, -14px -6px 0 -3px #77663f;}
body.sb-photo892 .tables-panel .eyebrow {display:none!important;}
body.sb-photo892 .tables-panel>.panel-heading h2 {font-family:Georgia,serif;font-size:clamp(2rem,2.9vw,2.55rem);line-height:1.1;letter-spacing:-.025em;color:#f3efe8;margin:0 0 4px;}
body.sb-photo892 .tables-panel .sb-b-heading-copy {font-size:.88rem;line-height:1.42;color:#c7cfc7;margin:0;}
body.sb-photo892 .tables-panel .table-heading-actions {grid-column:2;grid-row:1;align-self:start;gap:9px;}
body.sb-photo892 .table-heading-actions>#open-create-table {min-width:170px;min-height:51px;border-radius:11px;border:1px solid #d8af67;background:linear-gradient(115deg,#f4d28c,#c6a25e);color:#211909;font-size:.89rem;font-weight:900;box-shadow:0 7px 22px rgba(0,0,0,.18);}
body.sb-photo892 #open-create-table::before {content:"✚  ";font-size:1.15rem;}
body.sb-photo892 .table-heading-actions>#my-current-game {position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;} /* existing game link still script-accessible */
body.sb-photo892 .tables-panel>.panel-heading .table-stats {grid-column:1/-1;grid-row:2;display:none;}
body.sb-photo892 .premium-table-toolbar {display:grid!important;grid-template-columns:minmax(260px,1fr) auto;gap:14px;align-items:center;margin:0 0 18px!important;}
body.sb-photo892 .premium-table-search {grid-column:1;grid-row:1;width:100%;height:47px;border-radius:11px;border:1px solid rgba(160,178,151,.26);background:rgba(4,13,8,.47);padding:0 14px;box-shadow:none;}
body.sb-photo892 .premium-table-search input {color:#e5eae6;font-size:.88rem;}
body.sb-photo892 .premium-table-filters {grid-column:2;grid-row:1;display:flex;gap:9px;align-items:center;justify-content:end;flex-wrap:wrap;}
body.sb-photo892 .premium-table-filters button {min-height:43px;height:43px;padding:0 17px;border-radius:13px;border:1px solid rgba(198,189,141,.17);background:rgba(4,20,13,.48);color:#e3e7df;font-size:.79rem;font-weight:700;white-space:nowrap;}
body.sb-photo892 .premium-table-filters button.active {color:#20180d;background:linear-gradient(115deg,#efd397,#c5a261);border-color:#e1bd77;}
body.sb-photo892 .premium-table-filters .sb892-spectator-filter {position:absolute;left:-9999px;opacity:0;width:1px;height:1px;overflow:hidden;}
body.sb-photo892 .premium-tables-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important;align-items:start;min-width:0;min-height:0;}
body.sb-photo892 .sb892-card {min-width:0;position:relative;display:grid!important;grid-template-columns:minmax(0,44%) minmax(0,56%);grid-template-rows:1fr;padding:14px!important;height:200px!important;min-height:200px!important;max-height:200px!important;border-radius:15px!important;border:1px solid rgba(149,175,151,.26)!important;background:radial-gradient(circle at 25% 44%,rgba(27,89,50,.2),transparent 53%),linear-gradient(115deg,#0e1c14,#0b1913)!important;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(3,14,8,.1)!important;transform:none!important;}
body.sb-photo892 .sb892-card:hover {border-color:#ba9959!important;transform:translateY(-1px)!important;}
body.sb-photo892 .sb892-table-no {position:absolute;top:17px;left:17px;font-size:.75rem;color:#a8b7aa;z-index:2;}
body.sb-photo892 .sb892-card .table-state {position:absolute;top:16px;right:12px;z-index:4;background:#0d3121;border:0;border-radius:999px;padding:5px 10px 5px 7px;font-size:.65rem;font-weight:800;color:#6ada9d;}
body.sb-photo892 .sb892-card .table-state::before {content:"";display:inline-block;width:8px;height:8px;margin-right:6px;background:#43d598;border-radius:50%;}
body.sb-photo892 .sb892-card .sb892-oval {position:relative;align-self:center;width:100%;height:152px;margin-top:7px;min-width:0;}
body.sb-photo892 .sb892-card .sb892-felt {position:absolute;inset:14px 4px 10px;border-radius:50%;border:7px solid #653a21;box-shadow:0 0 0 2px #9d6235,0 0 0 4px rgba(14,21,13,.7),inset 0 0 0 2px #316d4e,inset 0 6px 24px rgba(0,0,0,.26),0 11px 19px rgba(0,0,0,.33);background:radial-gradient(ellipse at 50% 41%,#086038 0%,#06512f 56%,#093c26 88%);}
body.sb-photo892 .sb892-seats {position:absolute;inset:0;}
body.sb-photo892 .sb892-seat {position:absolute;display:grid;place-items:center;padding:0;border-radius:50%;width:39px;height:39px;border:2px solid #82af8c;background:rgba(4,36,21,.88);box-shadow:0 1px 5px rgba(0,0,0,.6);z-index:2;}
body.sb-photo892 .sb892-seat-1 {left:22%;top:20%;}
body.sb-photo892 .sb892-seat-2 {right:16%;top:20%;}
body.sb-photo892 .sb892-seat-3 {left:22%;bottom:16%;}
body.sb-photo892 .sb892-seat-4 {right:16%;bottom:16%;}
body.sb-photo892 .sb892-seats.sb892-two .sb892-seat-1 {left:20%;top:38%;}
body.sb-photo892 .sb892-seats.sb892-two .sb892-seat-2 {right:18%;top:38%;}
body.sb-photo892 .sb892-seat.filled {border-color:#edcd81;background:#162c20;cursor:default;}
body.sb-photo892 .sb892-seat.free {border:1px dashed rgba(204,225,212,.46);cursor:pointer;}
body.sb-photo892 .sb892-seat.free:hover:not(:disabled) {border:2px solid #e0bd75;transform:scale(1.09);}
body.sb-photo892 .sb892-seat:disabled {opacity:.43;cursor:default;}
body.sb-photo892 .sb892-seat-avatar {display:grid;place-items:center;width:100%;height:100%;min-width:0;border-radius:50%;overflow:hidden;color:#b5cfbc;font-size:1.35rem;}
body.sb-photo892 .sb892-seat-avatar img {width:100%;height:100%;object-fit:cover;}
body.sb-photo892 .sb892-felt-spade {position:absolute;top:calc(50% - 15px);left:calc(50% - 10px);color:#d0a34a;font-size:1.5rem;text-shadow:0 1px 2px #0b1e11;pointer-events:none;}
body.sb-photo892 .sb892-card-info {min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:0 0 0 7px;overflow:hidden;}
body.sb-photo892 .sb892-ownerline {display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:4px;padding-right:72px;}
body.sb-photo892 .sb892-owner-avatar {display:grid;place-items:center;width:47px;height:47px;min-width:47px;border:2px solid #e3bf7b;border-radius:50%;overflow:hidden;background:#1d3526;color:#e2d9a6;font-size:.72rem;font-weight:800;}
body.sb-photo892 .sb892-owner-avatar img {height:100%;width:100%;object-fit:cover;}
body.sb-photo892 .sb892-owner-name {min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;}
body.sb-photo892 .sb892-owner-name strong {color:#f1f0e8;font-size:.83rem;font-weight:850;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.sb-photo892 .sb892-owner-name small {flex-basis:100%;color:#9cad9f;font-size:.69rem;}
body.sb-photo892 .vip-label {padding:2px 8px;margin:0;border-radius:5px;background:#d8b06c;color:#1d160d;font-weight:850;letter-spacing:0;font-size:.68rem;}
body.sb-photo892 .sb892-stat {font-size:.75rem;display:flex;gap:9px;align-items:center;line-height:1.15;color:#d4dfd5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.sb-photo892 .sb892-stat>span {font-size:1.02rem;display:inline-grid;place-items:center;min-width:19px;color:#e2bb68;}
body.sb-photo892 .sb892-enter {position:absolute;right:14px;bottom:17px;min-width:95px;width:95px;height:50px;min-height:50px;border:1px solid #d7b06e;border-radius:10px;background:linear-gradient(135deg,#f5d391,#cba462);color:#17140c;font-size:.87rem;font-weight:900;z-index:4;}
body.sb-photo892 .sb892-card-info .sb892-stat:last-child {padding-right:95px;}
body.sb-photo892 .sb892-empty {grid-column:1/-1;min-height:230px;border:1px dashed rgba(210,186,129,.30);border-radius:15px;background:#081c13;display:grid;place-items:center;text-align:center;}
body.sb-photo892 .sb892-empty span {display:block;color:#e7c27d;font-size:2.4rem;}
body.sb-photo892 .sb892-empty strong {color:#f3e6c9;}
body.sb-photo892 .sb892-empty p {color:#afbeb1;}
/* The social panel is a single integrated module, not an independently stretched table drawer. */
body.sb-photo892 .right-column .chat-panel.sb-trio-lobby {position:relative;height:calc(100dvh - 112px)!important;min-height:600px!important;max-height:none!important;display:grid!important;grid-template-rows:74px 47px minmax(0,1fr)!important;gap:0;padding:14px 15px 15px!important;min-width:0;border:1px solid rgba(155,176,142,.17);border-radius:17px;background:linear-gradient(160deg,#0c1c14,#08160f);box-shadow:none!important;overflow:hidden!important;}
body.sb-photo892 .sb892-social-header {display:flex;align-items:center;gap:12px;min-width:0;align-self:start;padding:6px 0 12px;color:#f6f5ec;}
body.sb-photo892 .sb892-chat-icon {width:38px;height:38px;min-width:38px;display:grid;place-items:center;background:#eac784;color:#21180b;border-radius:50%;font-size:.65rem;letter-spacing:-.06em;}
body.sb-photo892 .sb892-social-header strong {display:block;font-size:1.38rem;font-weight:850;color:#f0f0e5;line-height:1.1;}
body.sb-photo892 .sb892-social-header small {display:block;color:#adbfb1;margin-top:4px;font-size:.84rem;}
body.sb-photo892 .sb-trio-lobby>.sb-trio-tabs {grid-row:2!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:start;gap:1px;margin:0 0 0!important;padding:3px;background:rgba(0,0,0,.17);border-radius:12px;border:1px solid rgba(185,175,137,.21);}
body.sb-photo892 .sb-trio-lobby>.sb-trio-tabs .sb-trio-tab {width:100%;height:40px;min-height:40px;font-size:.79rem;border-radius:9px;font-weight:800;}
body.sb-photo892 .sb-trio-lobby>.sb-trio-tabs .sb-trio-tab.active {border-color:#e2c17e;background:linear-gradient(120deg,#f0d298,#c49b5b);color:#221a11;}
body.sb-photo892 .sb-trio-lobby>.sb-trio-stage:not([hidden]) {grid-row:3;min-height:0;height:100%!important;}
body.sb-photo892 .sb-trio-lobby>.sb-trio-stage-lobby:not([hidden]) {display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto!important;gap:0;overflow:hidden;}
body.sb-photo892 .sb-trio-lobby .sb-trio-stage-lobby .panel-heading.chat-heading {display:none!important;} /* subtitle moved into persistent Social header */
body.sb-photo892 .sb-trio-lobby .sb-trio-stage-lobby .chat-status {position:absolute;width:1px;height:1px;left:-9999px;overflow:hidden;}
body.sb-photo892 .app-shell .chat-filters {display:grid!important;grid-template-columns:.74fr 1.1fr 1fr 1.04fr;align-items:center;gap:6px!important;margin:16px 0 12px!important;min-width:0;}
body.sb-photo892 .app-shell .chat-filters>button,body.sb-photo892 .app-shell .chat-filters>.chat-filter-nickname {min-width:0!important;width:100%!important;max-width:100%!important;grid-column:auto!important;height:39px!important;min-height:39px!important;max-height:39px!important;display:flex!important;align-items:center;justify-content:center;padding:0 7px!important;border:1px solid rgba(157,171,144,.21)!important;border-radius:11px!important;background:#0d1d14;color:#cfd5c8;font-size:.67rem!important;white-space:nowrap;letter-spacing:-.012em;}
body.sb-photo892 .app-shell .chat-filters>button.active {background:linear-gradient(120deg,#efd090,#b89154)!important;color:#251a0d!important;border-color:#d7b374!important;}
body.sb-photo892 .app-shell .chat-filters>.chat-filter-nickname {overflow:visible!important;}
body.sb-photo892 .app-shell .chat-filters>.chat-filter-nickname input {width:100%;min-width:0;padding:0 4px;height:33px!important;text-align:center;font-size:.65rem!important;}
body.sb-photo892 .app-shell .chat-filters>.chat-filter-nickname .chat-include-mine {margin-right:0;}
body.sb-photo892 .sb-trio-lobby .chat-list {height:auto!important;max-height:none!important;min-height:0!important;overflow-y:auto!important;scrollbar-width:thin;scrollbar-color:#45604b transparent;padding-right:4px;}
body.sb-photo892 .sb-trio-lobby .chat-message {border:0;border-bottom:1px solid rgba(149,171,150,.13);background:transparent;border-radius:0;margin:0;padding:13px 5px;}
body.sb-photo892 .sb-trio-lobby .chat-message-head strong {font-size:.86rem;color:#eeeae1;}
body.sb-photo892 .sb-trio-lobby .chat-message-head time {font-size:.67rem;color:#9eaa9d;}
body.sb-photo892 .sb-trio-lobby .chat-message p {font-size:.78rem;color:#d4d9d3;line-height:1.48;}
body.sb-photo892 .sb-trio-lobby .chat-form {align-self:end!important;display:grid!important;grid-template-columns:minmax(0,1fr) 102px!important;gap:11px!important;padding:12px 0 0;margin:0!important;min-width:0;}
body.sb-photo892 .sb-trio-lobby .chat-form textarea {height:57px!important;min-height:57px!important;max-height:57px!important;margin:0!important;resize:none;border:1px solid rgba(168,181,159,.21);border-radius:11px;background:#07160f;color:#f5f3e8;font-size:.82rem;padding:16px;}
body.sb-photo892 .sb-trio-lobby .chat-form-footer {display:block!important;margin:0!important;}
body.sb-photo892 .sb-trio-lobby .chat-form-footer small {display:none!important;}
body.sb-photo892 .sb-trio-lobby .chat-form-footer button {height:57px!important;min-height:57px!important;width:100%;padding:0!important;border-radius:11px;background:linear-gradient(130deg,#f5d695,#bf9959);border:1px solid #e6c582;color:#17140d;font-size:.87rem;font-weight:900;}
body.sb-photo892 .sb-trio-lobby>.sb-trio-stage-private:not([hidden]),body.sb-photo892 .sb-trio-lobby>.sb-trio-stage-table:not([hidden]) {height:100%!important;min-height:0;}
/* Real responsive breakpoints: never stretch the right module or lose controls. */
@media(max-width:1480px){body.sb-photo892 .app-shell .lobby-grid{grid-template-columns:minmax(0,1fr) 365px!important;gap:14px!important;}body.sb-photo892 .premium-table-filters button{padding:0 12px;}body.sb-photo892 .premium-table-toolbar{grid-template-columns:minmax(220px,1fr) auto;}body.sb-photo892 .sb892-card{grid-template-columns:minmax(0,42%) minmax(0,58%);}body.sb-photo892 .sb892-ownerline{gap:6px;padding-right:55px;}body.sb-photo892 .sb892-stat{font-size:.69rem;}}
@media(max-width:1160px){body.sb-photo892 .app-shell .lobby-grid{grid-template-columns:minmax(0,1fr)!important;width:calc(100% - 32px);}body.sb-photo892 .app-shell .center-column,body.sb-photo892 .app-shell .right-column{grid-column:1!important;position:static;}body.sb-photo892 .app-shell .right-column{max-width:560px;width:100%;margin:22px 0;}body.sb-photo892 .premium-tables-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body.sb-photo892 .right-column .chat-panel.sb-trio-lobby{height:640px!important;min-height:0!important;}}
@media(max-width:780px){body.sb-photo892 .topbar{grid-template-columns:minmax(0,1fr) auto;height:66px;padding:0 12px;}body.sb-photo892 .brand-name{font-size:1.25rem;}body.sb-photo892 .topbar-page-links{display:none;}body.sb-photo892 .profile-copy{display:none;}body.sb-photo892 .premium-table-toolbar{grid-template-columns:minmax(0,1fr)!important;}body.sb-photo892 .premium-table-filters{grid-row:2;grid-column:1;justify-content:flex-start;}body.sb-photo892 .premium-table-search{grid-row:1;grid-column:1;}body.sb-photo892 .premium-tables-grid{grid-template-columns:minmax(0,1fr)!important;}body.sb-photo892 .tables-panel>.panel-heading>div:first-child{padding-left:62px;}body.sb-photo892 .tables-panel>.panel-heading>div:first-child::before{transform:scale(.72) rotate(-9deg);transform-origin:top left;}body.sb-photo892 .tables-panel>.panel-heading h2{font-size:1.75rem;}body.sb-photo892 .tables-panel>.panel-heading{grid-template-columns:minmax(0,1fr)!important;}body.sb-photo892 .tables-panel .table-heading-actions{grid-column:1;grid-row:2;}body.sb-photo892 .premium-tables-grid{gap:12px!important;}}
@media(max-width:460px){body.sb-photo892 .app-shell .lobby-grid{width:calc(100% - 20px);}body.sb-photo892 .sb892-card{padding:10px!important;grid-template-columns:minmax(0,43%) minmax(0,57%);}body.sb-photo892 .sb892-oval{transform:scale(.92);transform-origin:left center;}body.sb-photo892 .sb892-owner-avatar{width:34px;height:34px;min-width:34px;}body.sb-photo892 .sb892-ownerline{padding-right:38px;}body.sb-photo892 .sb892-stat{font-size:.63rem;gap:3px;}body.sb-photo892 .sb892-enter{width:80px;min-width:80px;height:42px;min-height:42px;}body.sb-photo892 .premium-table-filters button{height:36px;min-height:36px;padding:0 9px;font-size:.69rem;}body.sb-photo892 .app-shell .chat-filters{grid-template-columns:repeat(2,minmax(0,1fr));}}
/* Final alignment against the 1672x941 approved reference, overriding r219's 1540px !important cap. */
body.sb-photo892 .app-shell .lobby-grid {width:calc(100% - 64px)!important;max-width:1740px!important;}
/* Real chat messages have one avatar, nickname, message and time. Avoid the legacy inline text wall. */
body.sb-photo892 .app-shell .sb-trio-lobby .chat-message {position:relative!important;padding:12px 4px!important;margin:0!important;border:0!important;border-bottom:1px solid rgba(168,182,161,.13)!important;border-radius:0!important;background:transparent!important;min-height:65px;}
body.sb-photo892 .app-shell .sb-trio-lobby .chat-message .chat-line {display:grid!important;grid-template-columns:44px minmax(0,1fr) 45px;grid-template-rows:21px auto;align-items:start;column-gap:9px;margin:0!important;font-size:.81rem!important;line-height:1.34!important;font-weight:450!important;}
body.sb-photo892 .app-shell .sb-trio-lobby .chat-line .chat-avatar-mini {grid-column:1;grid-row:1/3;width:43px!important;height:43px!important;min-width:43px!important;min-height:43px!important;padding:0!important;border:2px solid #98a59e!important;border-radius:50%!important;overflow:hidden;display:grid!important;place-items:center;color:#f1d291;}
body.sb-photo892 .app-shell .sb-trio-lobby .chat-line .chat-avatar-mini img {width:100%;height:100%;object-fit:cover;}
body.sb-photo892 .app-shell .sb-trio-lobby .chat-line time {grid-column:3;grid-row:1;display:block!important;width:auto!important;font-size:.69rem!important;color:#a2aca3!important;font-weight:400!important;text-align:right!important;line-height:1.4!important;margin:0!important;}
body.sb-photo892 .app-shell .sb-trio-lobby .chat-line>.chat-nickname-button,body.sb-photo892 .app-shell .sb-trio-lobby .chat-line>strong {grid-column:2;grid-row:1;width:auto!important;max-width:100%;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis;font-size:.83rem!important;font-weight:850!important;color:#f4f2ea!important;}
body.sb-photo892 .app-shell .sb-trio-lobby .chat-line>.chat-separator {display:none!important;}
body.sb-photo892 .app-shell .sb-trio-lobby .chat-line>.chat-text {grid-column:2/4;grid-row:2;display:block!important;font-size:.77rem!important;line-height:1.45!important;color:#c9d2ca!important;font-weight:450!important;overflow-wrap:anywhere;}
body.sb-photo892 .app-shell .sb-trio-lobby .chat-message-actions {position:static!important;display:flex;gap:8px;margin:5px 0 0 53px!important;}
/* Functional five-chip toolbar: Level dropdown retains the original Spectators filter. */
body.sb-photo892 .premium-table-filters .sb892-level-menu {position:relative;display:block;flex:0 0 auto;}
body.sb-photo892 .premium-table-filters .sb892-level-menu>summary {list-style:none;display:flex;align-items:center;justify-content:center;min-width:100px;height:43px;padding:0 16px;border:1px solid rgba(198,189,141,.17);border-radius:13px;background:rgba(4,20,13,.48);color:#e3e7df;font-size:.79rem;font-weight:700;cursor:pointer;white-space:nowrap;}
body.sb-photo892 .premium-table-filters .sb892-level-menu>summary::-webkit-details-marker {display:none;}
body.sb-photo892 .premium-table-filters .sb892-level-menu[open]>summary {border-color:#cdaa6c;}
body.sb-photo892 .sb892-level-options {position:absolute;right:0;top:calc(100% + 5px);width:184px;display:grid;gap:6px;padding:8px;border:1px solid #8d764c;border-radius:11px;background:#10231a;box-shadow:0 10px 30px rgba(0,0,0,.52);z-index:40;}
body.sb-photo892 .premium-table-filters .sb892-level-options button {width:100%!important;height:34px!important;min-height:34px!important;text-align:left;border-radius:8px;font-size:.76rem!important;}
body.sb-photo892 .premium-table-filters .sb892-spectator-filter {position:static;left:auto;opacity:1;width:100%;height:34px;overflow:visible;}
/* Return-to-game remains usable whenever the user actually has a table. */
body.sb-photo892 .table-heading-actions>#my-current-game:not(:disabled) {position:static!important;left:auto!important;display:inline-flex;align-items:center;width:auto!important;height:51px!important;min-height:51px;overflow:visible;padding:0 12px;border:1px solid rgba(195,160,95,.29);border-radius:11px;background:#10251a;color:#e8d5ad;font-size:.75rem;font-weight:800;}
/* Working emoji picker, scoped exclusively to the Lobby composer. */
body.sb-photo892 .sb-trio-lobby .chat-form .sb892-compose-field {position:relative;min-width:0;}
body.sb-photo892 .sb-trio-lobby .chat-form .sb892-compose-field textarea {padding-right:46px!important;}
body.sb-photo892 .sb-trio-lobby .sb892-emoji-button {position:absolute;right:7px;top:9px;width:35px;height:35px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:#c1bca0;font-size:1.45rem;cursor:pointer;}
body.sb-photo892 .sb-trio-lobby .sb892-emoji-button:hover,body.sb-photo892 .sb-trio-lobby .sb892-emoji-button:focus-visible {color:#f5d594;}
body.sb-photo892 .sb-trio-lobby .sb892-emoji-popover {position:absolute;right:0;bottom:calc(100% + 8px);display:grid;grid-template-columns:repeat(4,38px);gap:5px;padding:9px;border:1px solid #ad9061;border-radius:12px;background:#12291c;box-shadow:0 10px 30px rgba(0,0,0,.5);z-index:45;}
body.sb-photo892 .sb-trio-lobby .sb892-emoji-popover[hidden] {display:none!important;}
body.sb-photo892 .sb-trio-lobby .sb892-emoji-popover button {display:grid;place-items:center;height:38px;width:38px;padding:0;border:1px solid transparent;border-radius:8px;background:#233729;font-size:1.25rem;cursor:pointer;}
body.sb-photo892 .sb-trio-lobby .sb892-emoji-popover button:hover {background:#3b573d;border-color:#ddc185;}

/* STEP937 - Restore visible "La mia partita" button even without an active game. */
body.sb-photo892 .table-heading-actions > #my-current-game {
  position: static !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: 51px !important;
  min-height: 51px !important;
  overflow: visible !important;
  padding: 0 12px;
  border: 1px solid rgba(195,160,95,.29);
  border-radius: 11px;
  background: #10251a;
  color: #e8d5ad;
  font-size: .75rem;
  font-weight: 800;
}
