/* Fans254 V1282: three UI features, only Spaces phone/tablet (<1200px).
   No new markup, handlers, audio, payments, data fetching, or app-wide selectors.
   The V1281 sticky CTA and its stacking rules remain authoritative. */
@media (max-width:1199px) {
 /* Feature 1 — audience and scheduling in the existing Create Space form. */
 .fsp-create-page .fsp-create-main, .fsp-create-page .fsp-form {min-width:0}
 .fsp-create-page .fsp-audience-grid {align-items:stretch}
 .fsp-create-page .fsp-audience {display:block;min-width:0;padding:0!important;
    border-radius:16px!important;overflow:visible;isolation:auto}
 .fsp-create-page .fsp-audience-body {min-width:0;position:relative;
    border-radius:16px;transition:border-color .12s ease,background-color .12s ease;
    word-break:normal;overflow-wrap:break-word}
 .fsp-create-page .fsp-audience input:checked + .fsp-audience-body {
    border-color:#ad46e7;box-shadow:inset 0 0 0 1px #b44de7;}
 .fsp-create-page .fsp-audience input:checked + .fsp-audience-body::after {
    content:"";position:absolute;right:9px;top:9px;width:9px;height:9px;
    border-radius:50%;background:#a334df;box-shadow:0 0 0 3px var(--fsp-surface,#fff);}
 .fsp-create-page .fsp-schedule-panel {min-width:0}
 .fsp-create-page .fsp-schedule-row {min-width:0;gap:10px}
 .fsp-create-page .fsp-schedule-copy {min-width:0}
 .fsp-create-page .fsp-schedule-copy :is(strong,small) {overflow-wrap:anywhere}
 .fsp-create-page .fsp-schedule-panel:has([data-spaces-schedule-toggle]:checked) {
    border-color:#c8a4ee;background:var(--fsp-surface,var(--social-surface,#fff));}
 .fsp-create-page .fsp-switch {min-width:46px}
 .fsp-create-page .fsp-date-row {min-width:0}
 .fsp-create-page .fsp-date-row:not([hidden]) {display:block}
 .fsp-create-page .fsp-date-row .fsp-field {min-width:0;margin-top:6px}
 .fsp-create-page .fsp-date-row input[type=datetime-local] {
    display:block;width:100%;min-width:0;max-width:100%;font-variant-numeric:tabular-nums;
    padding:10px 11px;border-radius:14px;min-height:46px;box-sizing:border-box;}
 .fsp-create-page .fsp-field-under {flex-wrap:wrap}
 .fsp-create-page :is(input,select,textarea):focus-visible {outline:2px solid #a34ce5;outline-offset:2px}
 /* Feature 2 — actual participant directory and host moderation controls. */
 .fsx-page[data-space-extra="people"] {min-width:0}
 .fsx-page[data-space-extra="people"] :is(.fsx-panel,.fsx-people-list,.fsx-tools) {min-width:0}
 .fsx-page[data-space-extra="people"] .fsx-tabs {min-width:0;max-width:100%;scroll-snap-type:x proximity;
    overscroll-behavior-x:contain;padding:2px 0 5px}
 .fsx-page[data-space-extra="people"] .fsx-tabs button {min-height:42px;white-space:nowrap;
    border-radius:50px!important;scroll-snap-align:start;padding:9px 15px}
 .fsx-page[data-space-extra="people"] .fsx-search {min-width:0;max-width:100%;height:44px;
    border-radius:50px;background:var(--fsx-card,var(--social-surface,#fff))}
 .fsx-page[data-space-extra="people"] .fsx-person-name,
 .fsx-page[data-space-extra="people"] .fsx-person-actions {min-width:0}
 .fsx-page[data-space-extra="people"] .fsx-person-actions button {
    border-radius:50px!important;min-height:40px;white-space:nowrap;
    touch-action:manipulation;}
 .fsx-page[data-space-extra="people"] :is(.fsx-outline,.fsx-load-more,.fsx-foot-links a) {
    border-radius:50px!important;min-height:42px;}
 .fsx-page[data-space-extra="people"] :is(button,a,input):focus-visible {
    outline:2px solid #a53bed;outline-offset:2px;}
 /* Feature 3 — real analytics values, bars and session details without false data. */
 .fsx-page[data-space-extra="insights"] :is(.fsx-insights-grid,.fsx-chart-panel,.fsx-details) {min-width:0}
 .fsx-page[data-space-extra="insights"] .fsx-stats>div {min-width:0}
 .fsx-page[data-space-extra="insights"] .fsx-stats small {white-space:normal;line-height:1.25;overflow-wrap:anywhere}
 .fsx-page[data-space-extra="insights"] .fsx-stats strong {min-width:0;overflow-wrap:anywhere}
 .fsx-page[data-space-extra="insights"] .fsx-chart {
    min-width:0;min-height:184px;max-width:100%;overflow-x:auto;overflow-y:hidden;
    overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#bd98ee transparent;}
 .fsx-page[data-space-extra="insights"] .fsx-chart-col {
    flex:1 0 24px;min-width:24px;max-width:70px;}
 .fsx-page[data-space-extra="insights"] .fsx-chart-bar {max-width:100%;}
 .fsx-page[data-space-extra="insights"] .fsx-chart-label {font-size:10px;text-align:center;}
 .fsx-page[data-space-extra="insights"] .fsx-detail-row {min-width:0}
 .fsx-page[data-space-extra="insights"] .fsx-detail-row span {min-width:0;flex:1 1 55%;
    overflow-wrap:anywhere;line-height:1.35;}
 .fsx-page[data-space-extra="insights"] .fsx-detail-row strong {min-width:0;flex:0 1 45%;
    text-align:right;font-variant-numeric:tabular-nums;}
 .fsx-page[data-space-extra="insights"] :is(.fsx-outline,.fsx-foot-links a) {
    border-radius:50px!important;min-height:42px;}
}
@media (max-width:767px) {
 /* Scheduling: no multi-column form on phones; fields are friendly to virtual keyboards. */
 .fsp-create-page .fsp-audience-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .fsp-create-page .fsp-audience-body {min-height:108px;padding:13px 5px 11px!important}
 .fsp-create-page .fsp-audience input:checked + .fsp-audience-body::after {width:7px;height:7px;right:6px;top:6px}
 .fsp-create-page .fsp-schedule-panel {padding:13px!important}
 .fsp-create-page .fsp-date-row {padding:13px 0 0;margin-top:12px}
 .fsp-create-page input[type=datetime-local] {font-size:14px!important}
 /* Participant filters/search, informative role tags and real moderation buttons. */
 .fsx-page[data-space-extra="people"] .fsx-intro {flex-wrap:wrap}
 .fsx-page[data-space-extra="people"] .fsx-intro > div {min-width:0;flex:1 1 190px}
 .fsx-page[data-space-extra="people"] .fsx-tools {display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .fsx-page[data-space-extra="people"] .fsx-tabs {width:100%;}
 .fsx-page[data-space-extra="people"] .fsx-search {width:100%;}
 .fsx-page[data-space-extra="people"] .fsx-people-stats {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .fsx-page[data-space-extra="people"] .fsx-person {display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;gap:8px 10px;align-items:center;padding:12px 1px}
 .fsx-page[data-space-extra="people"] .fsx-avatar {width:42px;height:42px;grid-column:1;grid-row:1}
 .fsx-page[data-space-extra="people"] .fsx-person-name {grid-column:2;grid-row:1}
 .fsx-page[data-space-extra="people"] .fsx-person-tag {display:inline-flex;grid-column:3;grid-row:1;
    font-size:9px;padding:5px 7px;max-width:76px;overflow:hidden;text-overflow:ellipsis;}
 .fsx-page[data-space-extra="people"] .fsx-person-actions {display:grid;grid-column:1/-1;grid-row:2;
    width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;justify-content:stretch;max-width:none}
 .fsx-page[data-space-extra="people"] .fsx-person-actions button {width:100%;min-width:0;
    font-size:11px;overflow:hidden;text-overflow:ellipsis;padding:9px 7px;}
 .fsx-page[data-space-extra="people"] .fsx-panel-head {gap:8px}
 .fsx-page[data-space-extra="people"] .fsx-panel-head p {line-height:1.4}
 .fsx-page[data-space-extra="people"] .fsx-panel-head .fsx-pill {white-space:normal;text-align:center}
 .fsx-page[data-space-extra="people"] .fsx-foot-links {display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .fsx-page[data-space-extra="people"] .fsx-foot-links a {justify-content:center;text-align:center;white-space:normal}
 /* Analytics: readable counters and compact full-width scrollable histogram. */
 .fsx-page[data-space-extra="insights"] .fsx-intro {flex-wrap:wrap}
 .fsx-page[data-space-extra="insights"] .fsx-intro > div {min-width:0;flex:1 1 190px}
 .fsx-page[data-space-extra="insights"] .fsx-stats {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .fsx-page[data-space-extra="insights"] .fsx-stats > div {grid-template-columns:34px minmax(0,1fr);gap:2px 7px;padding:11px 8px}
 .fsx-page[data-space-extra="insights"] .fsx-stat-icon {width:33px;height:33px}
 .fsx-page[data-space-extra="insights"] .fsx-chart {min-height:166px;padding-top:10px}
 .fsx-page[data-space-extra="insights"] .fsx-chart-col {flex-basis:25px;min-width:25px}
 .fsx-page[data-space-extra="insights"] .fsx-details .fsx-detail-row {padding:12px 0}
 .fsx-page[data-space-extra="insights"] .fsx-foot-links {display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .fsx-page[data-space-extra="insights"] .fsx-foot-links a {justify-content:center;text-align:center;white-space:normal}
}
@media (min-width:768px) and (max-width:899px) {
 .fsx-page[data-space-extra="insights"] .fsx-stats,
 .fsx-page[data-space-extra="people"] .fsx-people-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:768px) and (max-width:1199px) {
 .fsx-page[data-space-extra="people"] .fsx-tools {display:flex;flex-wrap:wrap}
 .fsx-page[data-space-extra="people"] .fsx-tabs {flex:1 1 300px}
 .fsx-page[data-space-extra="people"] .fsx-search {flex:1 1 190px}
 .fsx-page[data-space-extra="people"] .fsx-person-actions {flex:1 1 190px}
 .fsx-page[data-space-extra="insights"] .fsx-insights-grid {grid-template-columns:minmax(0,1fr)}
}
@media (max-width:359px) {
 .fsp-create-page .fsp-audience-body strong {font-size:10px!important}
 .fsx-page[data-space-extra="people"] .fsx-person-tag {max-width:55px;font-size:8px;padding:4px 5px}
 .fsx-page[data-space-extra="people"] .fsx-foot-links,
 .fsx-page[data-space-extra="insights"] .fsx-foot-links {grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce) {
 .fsp-create-page .fsp-audience-body {transition:none!important}
}
