/* FlatcastX V3.4.0 - public-site-only adjustments; no admin/dj/mixer/theme stage modifications. */
/* Hide the earlier automatically inserted top back control on every public subview. */
.page .section-bar .fx-v2-back-lobby,
.page .section-bar a.fx-v2-back-lobby{display:none!important;visibility:hidden!important}
/* Page numbers sit immediately to the LEFT of the language chooser, rather than floating in the center. */
.page .section-bar{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important}
.page .section-bar .section-header{order:0!important;flex:1 1 auto!important;min-width:0!important}
.page .section-bar .top-pagination{order:1!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0 4px 0 auto!important;justify-content:flex-end!important;gap:6px!important}
.page .section-bar .lang-select-form{order:2!important;flex:0 0 auto!important;margin:0!important;width:auto!important}
/* Last registered member should be white in the dark public appearance. */
html[data-fx-site-theme="dark"] .page .fx-last-member-line,
html[data-fx-site-theme="dark"] .page .fx-last-member-line :is(b,span){color:#fff!important;opacity:1!important;text-shadow:none!important}
/* Continuous radio tables: force native table layout on the actual six columns, and suppress
   the inline AJAX style's separate border-spacing and 1120px min-width. */
html body .page #lobby-stream-list .fx-admin-reference-wrap,
html body .page #lobby-stream-list .fx-my-radios-table-wrap{width:100%!important;min-width:0!important;max-width:100%!important;padding:0!important;margin:0!important;border:1px solid var(--fx34-line,#bcd1e2)!important;border-radius:8px!important;overflow-x:auto!important;overflow-y:visible!important;box-sizing:border-box!important;background:var(--fx34-body,#fff)!important}
html body .page #lobby-stream-list table.fx-admin-reference-table,
html body .page #lobby-stream-list table.fx-my-radios-table{display:table!important;min-width:0!important;width:100%!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;border-spacing:0!important;border-radius:0!important;background:var(--fx34-body,#fff)!important;box-shadow:none!important;padding:0!important;margin:0!important}
html body .page #lobby-stream-list table.fx-admin-reference-table col:nth-child(1),
html body .page #lobby-stream-list table.fx-my-radios-table col:nth-child(1){width:21%!important}
html body .page #lobby-stream-list table.fx-admin-reference-table col:nth-child(2),
html body .page #lobby-stream-list table.fx-my-radios-table col:nth-child(2){width:12%!important}
html body .page #lobby-stream-list table.fx-admin-reference-table col:nth-child(3),
html body .page #lobby-stream-list table.fx-my-radios-table col:nth-child(3){width:11%!important}
html body .page #lobby-stream-list table.fx-admin-reference-table col:nth-child(4),
html body .page #lobby-stream-list table.fx-my-radios-table col:nth-child(4){width:17%!important}
html body .page #lobby-stream-list table.fx-admin-reference-table col:nth-child(5),
html body .page #lobby-stream-list table.fx-my-radios-table col:nth-child(5){width:12%!important}
html body .page #lobby-stream-list table.fx-admin-reference-table col:nth-child(6),
html body .page #lobby-stream-list table.fx-my-radios-table col:nth-child(6){width:27%!important}
html body .page #lobby-stream-list table.fx-admin-reference-table :is(thead,tbody,tr),
html body .page #lobby-stream-list table.fx-my-radios-table :is(thead,tbody,tr){width:auto!important;margin:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
html body .page #lobby-stream-list table.fx-admin-reference-table thead,
html body .page #lobby-stream-list table.fx-my-radios-table thead{display:table-header-group!important}
html body .page #lobby-stream-list table.fx-admin-reference-table tbody,
html body .page #lobby-stream-list table.fx-my-radios-table tbody{display:table-row-group!important;background:transparent!important}
html body .page #lobby-stream-list table.fx-admin-reference-table tr,
html body .page #lobby-stream-list table.fx-my-radios-table tr{display:table-row!important;transform:none!important}
html body .page #lobby-stream-list table.fx-admin-reference-table :is(th,td),
html body .page #lobby-stream-list table.fx-my-radios-table :is(th,td){display:table-cell!important;vertical-align:middle!important;width:auto!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;line-height:1.35!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:9px 7px!important;border:0!important;border-radius:0!important;box-shadow:none!important;border-bottom:1px solid var(--fx34-line,#d4e3ec)!important;border-right:1px solid var(--fx34-line,#d4e3ec)!important;background:var(--fx34-body,#fff)!important;color:var(--fx34-text,#193b55)!important}
html body .page #lobby-stream-list table.fx-admin-reference-table th,
html body .page #lobby-stream-list table.fx-my-radios-table th{height:40px!important;background:var(--fx34-th,#115887)!important;color:#fff!important;font-size:12px!important}
html body .page #lobby-stream-list table.fx-admin-reference-table :is(th,td):last-child,
html body .page #lobby-stream-list table.fx-my-radios-table :is(th,td):last-child{border-right:0!important}
html body .page #lobby-stream-list table.fx-admin-reference-table tbody:last-child tr:last-child td,
html body .page #lobby-stream-list table.fx-my-radios-table tbody:last-child tr:last-child td{border-bottom:0!important}
html body .page #lobby-stream-list table.fx-admin-reference-table tr:hover td,
html body .page #lobby-stream-list table.fx-my-radios-table tr:hover td{background:var(--fx34-hover,#edf7ff)!important}
html body .page #lobby-stream-list table.fx-admin-reference-table .fx-room-name,
html body .page #lobby-stream-list table.fx-my-radios-table .fx-room-name{min-width:0!important;overflow:hidden!important}
html body .page #lobby-stream-list table.fx-admin-reference-table .fx-room-name b,
html body .page #lobby-stream-list table.fx-my-radios-table .fx-room-name b{color:var(--fx34-text,#193b55)!important}
html body .page #lobby-stream-list table.fx-admin-reference-table .fx-mini-muted,
html body .page #lobby-stream-list table.fx-my-radios-table .fx-mini-muted{color:var(--fx34-muted,#526b80)!important}
html body .page #lobby-stream-list table.fx-admin-reference-table .fx-admin-actions-inline-cell{overflow:visible!important;white-space:nowrap!important;text-align:center!important}
html body .page #lobby-stream-list table.fx-admin-reference-table .fx-admin-server-menu-wrap{max-width:100%!important;min-width:0!important}
html body .page #lobby-stream-list table.fx-admin-reference-table .fx-admin-action-menu-toggle{max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:7px 5px!important;font-size:11px!important;white-space:nowrap!important}
html body .page #lobby-stream-list table.fx-admin-reference-table .fx-pass-toggle{min-width:0!important;width:100%!important;max-width:100%!important;padding:0 4px!important}
html body .page #lobby-stream-list table.fx-admin-reference-table .fx-sid-badge{min-width:0!important;width:100%!important;padding:0 2px!important}
/* Keep native lightweight page in light mode and matching navy palette in dark mode. */
html[data-fx-site-theme="dark"] body .page #lobby-stream-list{--fx34-line:#4d6c86;--fx34-body:#263f59;--fx34-th:#1c4262;--fx34-text:#e9f4ff;--fx34-muted:#bcd2e5;--fx34-hover:#31516e}
html[data-fx-site-theme="light"] body .page #lobby-stream-list{--fx34-line:#c7d9e7;--fx34-body:#f8fbff;--fx34-th:#075e96;--fx34-text:#17446c;--fx34-muted:#577188;--fx34-hover:#e9f5ff}
/* Restore theme-specific inputs/badges and preserve existing status colors and action dropdown behavior. */
html[data-fx-site-theme="dark"] body .page #lobby-stream-list .fx-admin-reference-table :is(.fx-pass-toggle,.fx-sid-badge){background:#17314b!important;color:#eaf8ff!important;border:1px solid #6686a2!important}
html[data-fx-site-theme="dark"] body .page #lobby-stream-list .fx-admin-reference-table .fx-web-link-wide{background:#193c5a!important;color:#bce8ff!important;border:1px solid #557f9f!important}
/* Updated radio-list navigation button at the BOTTOM of the relevant AJAX panels. */
.page #lobby-stream-list .fx-v32-panel-back,.page #lobby-stream-list .fx-v34-radio-list-link{display:inline-flex!important;justify-content:center!important;align-items:center!important;margin:14px 0 0!important;padding:10px 15px!important;border-radius:7px!important;text-decoration:none!important;font-weight:800!important;background:#226b9c!important;color:#fff!important;border:1px solid #5195c5!important;cursor:pointer}
.page #lobby-stream-list .fx-v32-panel-back:hover,.page #lobby-stream-list .fx-v34-radio-list-link:hover{background:#1483bb!important;color:#fff!important}
/* Registration is a generated AJAX form with inline white styling. Scope to just this card. */
html[data-fx-site-theme="dark"] body .page #lobby-stream-list .fx-v34-register-card{background:#203750!important;color:#ecf6ff!important;border:1px solid #567b98!important;box-shadow:none!important}
html[data-fx-site-theme="dark"] body .page #lobby-stream-list .fx-v34-register-card>div:first-child{color:#d8edff!important;border-bottom-color:#54728d!important}
html[data-fx-site-theme="dark"] body .page #lobby-stream-list .fx-v34-register-card :is(.m-label,.m-label span){color:#d9ecff!important;opacity:1!important}
html[data-fx-site-theme="dark"] body .page #lobby-stream-list .fx-v34-register-card :is(input:not([type="color"]),select){background:#142a42!important;color:#f6fbff!important;border:1px solid #6484a3!important;box-shadow:none!important}
html[data-fx-site-theme="dark"] body .page #lobby-stream-list .fx-v34-register-card input::placeholder{color:#afc8dd!important}
html[data-fx-site-theme="dark"] body .page #lobby-stream-list .fx-v34-register-card select option{background:#17334b!important;color:#fff!important}
html[data-fx-site-theme="dark"] body .page #lobby-stream-list .fx-v34-register-card input[type="color"]{background:#162b43!important;border:1px solid #6b87a2!important;border-radius:6px!important;min-height:35px!important}
/* iframe modal is a BODY-level sibling, NOT under .page. Override its dynamically injected white card. */
html[data-fx-site-theme="dark"] body #modalIframe .modal-content{background:#1c314b!important;color:#f1f8ff!important;border:1px solid #6687a4!important;box-shadow:0 24px 60px #0009!important}
html[data-fx-site-theme="dark"] body #modalIframe .modal-content>h3{color:#dcefff!important;border-bottom:1px solid #587894!important}
html[data-fx-site-theme="dark"] body #modalIframe .modal-close{color:#c7e7ff!important}
html[data-fx-site-theme="dark"] body #iframe-loader-area>div{background:#263f5b!important;color:#eef8ff!important;border:1px solid #597d99!important;box-shadow:none!important}
html[data-fx-site-theme="dark"] body #iframe-loader-area>div>b,
html[data-fx-site-theme="dark"] body #iframe-loader-area>div>b>span{color:#eaf7ff!important}
html[data-fx-site-theme="dark"] body #iframe-loader-area>div>textarea{display:block!important;background:#12283f!important;color:#eff8ff!important;border:1px solid #6588a4!important;max-width:100%!important;box-sizing:border-box!important}
html[data-fx-site-theme="dark"] body #iframe-loader-area>p{color:#dbebfc!important}
@media(max-width:740px){.page .section-bar .top-pagination{margin-left:auto!important}.page .section-bar .lang-select-form{margin-left:0!important}}
