/* ForgeCollab — layout page (coque = fs-config-shell) */

.fc-page-header {
    margin-bottom: 1.25rem;
}

.fc-back-link {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 1rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.fc-back-link:hover { color: #fff; }

.fc-page-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.fc-page-header__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.fc-page-header__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.fc-page-header__sub {
    color: #9ca3af;
    font-size: 0.95rem;
    margin: 0.15rem 0 0;
}

.fc-page-header__stat {
    min-width: 6.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.fc-page-header__stat strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fdba74;
    line-height: 1;
}

.fc-page-header__stat span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fc-profile-me {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fc-profile-me img {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(249, 115, 22, 0.4);
    background: #111;
}

.fc-profile-me strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.fc-profile-me span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.fc-panel {
    padding: 1.5rem 1.75rem;
}

.fc-panel .section-title {
    margin-bottom: 0.85rem;
}

.fc-panel[hidden] {
    display: none !important;
}

.fc-panel--narrow {
    max-width: 38rem;
}

.fc-search-head {
    margin-bottom: 1rem;
}

.fc-search-lead {
    margin: -0.25rem 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    max-width: 42rem;
}

.fc-search-lead strong {
    color: #fdba74;
    font-weight: 700;
}

.fc-subtabs {
    margin: 0 0 1rem;
}

.fc-form-row {
    margin-bottom: 1.1rem;
}

.fc-form-row label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.fc-form-row textarea.input-field {
    min-height: 5.5rem;
    resize: vertical;
    line-height: 1.45;
}

.fc-switch {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.15rem;
    cursor: pointer;
}

.fc-switch input,
.fc-check input {
    accent-color: #f97316;
}

.fc-check {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    padding-bottom: 0.35rem;
}

.fc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    align-items: flex-end;
    margin-bottom: 0.85rem;
}

.fc-filters .fc-form-row {
    margin: 0;
    flex: 1 1 160px;
    min-width: 140px;
}

.fc-filters__creator {
    flex: 1.2 1 200px;
}

.fc-hot {
    margin-bottom: 1.1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.fc-hot__label,
.fc-detected__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.55rem;
}

.fc-detected__label i,
.fc-hot__label i {
    color: #fb923c;
    margin-right: 0.25rem;
}

.fc-hot__chips,
.fc-detected__chips,
.fc-games-picked {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.fc-detected {
    margin: 0 0 1.15rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px dashed rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.06);
}

.fc-chip {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.1);
    color: #ffedd5;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s, border-color 0.15s, background 0.15s;
}

.fc-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(251, 146, 60, 0.65);
    background: rgba(249, 115, 22, 0.18);
}

.fc-chip img {
    width: 18px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
}

.fc-chip small {
    opacity: 0.65;
    font-weight: 600;
}

.fc-chip--ghost {
    border-style: dashed;
    background: transparent;
}

.fc-active-filter {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.fc-chip-clear {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
}

.fc-salles-head {
    margin-bottom: 1.1rem;
}

.fc-room-create {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
    padding: 1rem 1.1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.fc-room-create .fc-form-row { margin: 0; }

.fc-room-create .btn-primary {
    justify-self: start;
}

.fc-room-hint {
    margin: 0.45rem 0 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.fc-guest-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
    min-height: 2.1rem;
}

.fc-guest-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.55rem 0.25rem 0.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.fc-guest-chip img {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(249, 115, 22, 0.35);
}

.fc-guest-chip small {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fdba74;
}

.fc-guest-chip--host {
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(249, 115, 22, 0.1);
}

.fc-guest-chip button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #f87171;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.1rem;
}

.fc-dot-live {
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    background: #ef4444;
    border-radius: 999px;
    padding: 0.08rem 0.32rem;
}

.fc-session-list {
    display: grid;
    gap: 1rem;
}

.fc-session-card {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.fc-session-card:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.fc-session-card.is-live {
    border-color: rgba(239, 68, 68, 0.4);
}

.fc-session-card.is-ended {
    opacity: 0.72;
}

.fc-session-mosaic {
    position: relative;
    min-height: 140px;
    background: #0a0a0c;
    display: grid;
    gap: 2px;
}

.fc-session-mosaic--1 { grid-template-columns: 1fr; }
.fc-session-mosaic--2 { grid-template-columns: 1fr 1fr; }

.fc-session-mosaic--idle {
    grid-template-columns: 1fr 1fr;
    align-content: stretch;
    background:
        radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.22), transparent 55%),
        #0a0a0c;
}

.fc-session-mosaic--idle.fc-session-mosaic--1 {
    grid-template-columns: 1fr;
}

.fc-session-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 140px;
    display: block;
}

.fc-session-mosaic--idle img {
    min-height: 70px;
}

.fc-session-overlay {
    position: absolute;
    left: 0.55rem;
    bottom: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    z-index: 1;
}

.fc-live-pill,
.fc-viewer-pill {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.18rem 0.42rem;
    border-radius: 999px;
    color: #fff;
}

.fc-live-pill { background: #ef4444; }

.fc-viewer-pill {
    background: rgba(0, 0, 0, 0.72);
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.fc-session-card__body {
    padding: 1rem 1.1rem 1.05rem;
    min-width: 0;
}

.fc-session-card__top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.fc-session-avas {
    display: flex;
    flex-shrink: 0;
}

.fc-session-ava {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    position: relative;
    margin-left: -10px;
    border: 2px solid #16161a;
    overflow: visible;
}

.fc-session-ava:first-child { margin-left: 0; }

.fc-session-ava img {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    background: #111;
}

.fc-session-ava.is-host {
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.55);
}

.fc-ava-live {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ef4444;
    border: 2px solid #16161a;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
}

.fc-session-titles h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.fc-session-titles p {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.fc-session-status {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
}

.fc-session-status--live {
    background: #ef4444;
    color: #fff;
}

.fc-session-status--draft {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.fc-session-status--ended {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.45);
}

.fc-session-people {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.fc-session-person {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.fc-session-person img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.fc-session-person strong {
    display: block;
    font-size: 0.85rem;
    color: #fff;
}

.fc-session-person span {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
}

.fc-session-card__actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 800px) {
    .fc-room-create { grid-template-columns: 1fr; }
    .fc-session-card {
        grid-template-columns: 1fr;
    }
    .fc-session-mosaic img { min-height: 110px; }
}

.fc-game-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: #fdba74;
    font-size: 0.78rem;
    font-weight: 600;
}

.fc-game-chip button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #f87171;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1;
    padding: 0;
}

.fc-suggest { position: relative; }

.fc-suggest-list {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    background: rgba(18, 20, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    max-height: 260px;
    overflow: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.fc-suggest-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.7rem;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
}

.fc-suggest-item:hover { background: rgba(249, 115, 22, 0.15); }

.fc-suggest-item img {
    width: 28px;
    height: 38px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.fc-suggest-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(249, 115, 22, 0.35);
}

.fc-suggest-item span {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.fc-suggest-item small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
}

.fc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}

.fc-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.fc-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.fc-card.is-live {
    border-color: rgba(239, 68, 68, 0.45);
}

.fc-card.is-open::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.75), transparent);
}

.fc-card__thumb {
    aspect-ratio: 16 / 9;
    background: #0a0a0c;
    overflow: hidden;
}

.fc-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fc-card__body {
    padding: 1rem 1rem 1.05rem;
    text-align: center;
}

.fc-avatar {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(249, 115, 22, 0.45);
    margin: -2.1rem auto 0.55rem;
    display: block;
    background: #111;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.fc-card:not(:has(.fc-card__thumb)) .fc-avatar {
    margin-top: 0.15rem;
}

.fc-name {
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #fff;
}

.fc-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.45rem;
    min-height: 1.1em;
}

.fc-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
    margin-bottom: 0.45rem;
}

.fc-reason {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.fc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
    margin-bottom: 0.7rem;
    min-height: 1.4rem;
}

.fc-tag {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #fdba74;
}

.fc-live-pill {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 800;
    background: #ef4444;
    color: #fff;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

.fc-actions {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fc-actions--start {
    justify-content: flex-start;
    margin-top: 0.45rem;
}

.fc-req {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
}

.fc-req-ava {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.fc-req-ava img {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
}

.fc-req-ava.is-live::after {
    content: '';
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ef4444;
    border: 2px solid #16161a;
}

.fc-req-body {
    flex: 1;
    min-width: 0;
}

.fc-empty {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    padding: 0.75rem 0;
}

