/* ============================================================================
   RPG Szenentracker - Stylesheet
   LA Midnight Brutalist Theme
   Author: Rogue RPG BB
   ============================================================================ */

/* ============================================================================
   1. SZENEN-FELDER (Newthread/Editpost)
   ============================================================================ */

.scene-fields {
    margin: 1.5rem 0;
    padding: 1.5rem 0 0 0;
    background: transparent;
    border-top: 1px solid var(--text-dark);
}

.scene-fields__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.scene-fields__header i {
    color: var(--text-dark);
    font-size: 0.7rem;
}

.scene-fields__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.scene-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.scene-field--full {
    grid-column: 1 / -1;
}

.scene-field__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.scene-field__label i {
    width: 12px;
    text-align: center;
    color: var(--text-dark);
    font-size: 0.6rem;
}

.scene-field__input,
.scene-field__select,
.scene-field__textarea {
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-dark);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.scene-field__input:focus,
.scene-field__select:focus,
.scene-field__textarea:focus {
    border-bottom-color: var(--accent);
    outline: none;
}

.scene-field__input::placeholder,
.scene-field__textarea::placeholder {
    color: var(--text-dark);
}

.scene-field__hint {
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    color: var(--text-dark);
}

.scene-field__textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.7;
}

.scene-field__select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23808080' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.scene-field__input--warning {
    border-bottom-color: var(--error);
}

/* Autocomplete Dropdown */
.scene-autocomplete {
    display: none;
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: var(--bg);
    border: 1px solid var(--text-dark);
    top: 100%;
    left: 0;
}

.scene-autocomplete__item {
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--text-dark);
    transition: all 0.2s;
}

.scene-autocomplete__item:last-child {
    border-bottom: none;
}

.scene-autocomplete__item:hover {
    background: var(--accent);
    color: var(--bg);
}

/* Partner Tags */
.scene-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    min-height: 28px;
}

.scene-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scene-tag__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    cursor: pointer;
    font-size: 0.7rem;
    line-height: 1;
    opacity: 0.7;
}

.scene-tag__remove:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .scene-fields__grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================================
   2. SZENEN-HEADER (Thread-Ansicht)
   ============================================================================ */

.scene-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0 0 1.5rem 0;
    margin-bottom: 1.5rem;
    background: transparent;
    border-bottom: 1px solid var(--text-dark);
}

.scene-header__status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scene-header__status--open { color: var(--success); }
.scene-header__status--closed { color: var(--text-dark); }
.scene-header__status--paused { color: var(--warning); }
.scene-header__status--archived { color: var(--text-dark); opacity: 0.5; }

.scene-header__content {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scene-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.scene-header__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.scene-header__item i {
    color: var(--text-dark);
    font-size: 0.55rem;
}

.scene-header__item span {
    color: var(--text-dim);
}

.scene-header__trigger {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0 0.75rem 1rem;
    border-left: 2px solid var(--error);
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.scene-header__trigger strong {
    color: var(--error);
    font-weight: 500;
}

.scene-header__description {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.scene-header__participants {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.scene-header__participants-label {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.scene-header__participants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.scene-header__action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.scene-header__action:hover {
    color: var(--text);
}

.scene-header__action--join {
    color: var(--success);
}

.scene-header__action--join:hover {
    color: var(--accent);
}


/* ============================================================================
   3. TEILNEHMER-BADGE
   ============================================================================ */

.scene-participant {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.scene-participant:hover {
    opacity: 0.8;
}

.scene-participant__avatar {
    width: 24px;
    height: 24px;
    object-fit: cover;
    filter: grayscale(30%);
}

.scene-participant:hover .scene-participant__avatar {
    filter: grayscale(0%);
}

.scene-participant__name {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.scene-participant:hover .scene-participant__name {
    color: var(--text);
}

.scene-participant__posts {
    font-family: var(--font-mono);
    font-size: 0.45rem;
    color: var(--text-dark);
}


/* ============================================================================
   4. POSTBIT-INFO
   ============================================================================ */

.scene-postbit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid var(--text-dark);
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.scene-postbit__item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.scene-postbit__status--open { color: var(--success); }
.scene-postbit__status--closed { color: var(--text-dark); }
.scene-postbit__status--paused { color: var(--warning); }


/* ============================================================================
   5. FORUMDISPLAY-ICON
   ============================================================================ */

.scene-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    font-size: 0.7rem;
}

.scene-icon--open { color: var(--success); }
.scene-icon--closed { color: var(--text-dark); }
.scene-icon--paused { color: var(--warning); }
.scene-icon--archived { color: var(--text-dark); opacity: 0.5; }


/* ============================================================================
   6. FORUMDISPLAY THREAD-META
   ============================================================================ */

.scene-thread-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.scene-meta__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.scene-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.scene-meta__item i {
    font-size: 0.5rem;
    opacity: 0.7;
}

.scene-meta__characters {
    color: var(--text-dim);
}

.scene-meta__characters a {
    color: var(--text-dim);
    text-decoration: none;
}

.scene-meta__characters a:hover {
    color: var(--accent);
}

.scene-meta__separator {
    color: var(--text-dark);
    margin: 0 2px;
}

.scene-meta__date,
.scene-meta__location {
    color: var(--text-dark);
}

/* Partner/Charaktere in Threadliste */
.scene-partners {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.scene-partners:empty {
    display: none;
}

.scene-partners a {
    color: var(--text-dim);
    text-decoration: none;
}

.scene-partners a:hover {
    color: var(--accent);
}

/* Meta-Zeile in Threadliste */
.thread-row__scene-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-top: 0.25rem;
}

.thread-row__scene-meta:empty {
    display: none;
}

/* Beschreibung in Threadliste */
.scene-description {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0.25rem;
}

.scene-description:empty {
    display: none;
}

/* Trigger Warnings */
.scene-triggers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.scene-triggers:empty {
    display: none;
}

.scene-trigger-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--error);
}

.scene-trigger-badge i {
    font-size: 0.5rem;
}

/* Badge für Public/Private */
.scene-badge--open {
    color: var(--success);
}

.scene-badge--closed {
    color: var(--text-dark);
}


/* ============================================================================
   7. MEINE SZENEN SEITE (misc.php?action=scenes)
   ============================================================================ */

.scene-profile {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Controls & Stats */
.scene-profile__controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--text-dark);
}

.scene-profile__filters,
.scene-profile__sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.scene-profile__sort label {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.scene-profile__select {
    padding: 0.4rem 1.5rem 0.4rem 0.5rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-dark);
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='%23808080' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.scene-profile__select:hover,
.scene-profile__select:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.scene-profile__summary {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
    padding: 0.5rem 0;
}

.scene-profile__summary-myturn {
    color: var(--accent);
    font-weight: 600;
}

.scene-profile__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Charakter-Sektion */
.scene-character-section {
    background: transparent;
    margin-bottom: 2rem;
}

.scene-character-section:last-child {
    margin-bottom: 0;
}

.scene-character-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--text-dark);
}

.scene-character-header__avatar {
    width: 60px;
    height: 75px;
    object-fit: cover;
    filter: grayscale(30%);
    flex-shrink: 0;
}

.scene-character-header__avatar:hover {
    filter: grayscale(0%);
}

.scene-character-header__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.scene-character-header__name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
}

.scene-character-header__name a {
    color: var(--text);
    text-decoration: none;
}

.scene-character-header__name a:hover {
    color: var(--accent);
}

.scene-character-header__stats {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

/* Szenen-Liste */
.scene-character-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Einzelne Szene */
.scene-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--text-dark);
}

.scene-item:last-child {
    border-bottom: none;
}

.scene-item__status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    font-size: 0.7rem;
    color: var(--text-dark);
}

.scene-item--open .scene-item__status {
    color: var(--success);
}

.scene-item--closed .scene-item__status {
    color: var(--text-dark);
}

.scene-item__info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.scene-item__title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scene-item__title:hover {
    color: var(--accent);
}

.scene-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.scene-item__date,
.scene-item__location {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.scene-item__date i,
.scene-item__location i {
    font-size: 0.5rem;
    opacity: 0.7;
}

.scene-item__with {
    color: var(--text-dark);
}

.scene-item__with-user {
    color: var(--text-dim);
    text-decoration: none;
}

.scene-item__with-user:hover {
    color: var(--text);
}

.scene-item__with-user--next {
    color: var(--accent);
    font-weight: 500;
}

.scene-item__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

/* Badges */
.scene-badge {
    display: inline-flex;
    align-items: center;
    padding: 0;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    background: transparent;
    border: none;
}

.scene-badge--myturn {
    color: var(--accent);
}

.scene-badge--waiting {
    color: var(--text-dark);
    font-weight: 400;
}

.scene-item__lastpost {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    white-space: nowrap;
}

.scene-item__lastpost-user a {
    color: var(--text-dim);
    text-decoration: none;
}

.scene-item__lastpost-user a:hover {
    color: var(--text);
}

/* Empty State */
.scene-profile__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 1rem;
    color: var(--text-dark);
    text-align: center;
}

.scene-profile__empty i {
    font-size: 2rem;
    opacity: 0.3;
}

.scene-profile__empty p {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* ============================================================================
   7b. PROFIL-TAB SZENEN (member_profile)
   ============================================================================ */

.scene-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 350px;
    overflow-y: auto;
}

.scene-list::-webkit-scrollbar { width: 4px; }
.scene-list::-webkit-scrollbar-track { background: transparent; }
.scene-list::-webkit-scrollbar-thumb { background: var(--text-dark); }

.scene-entry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--text-dark);
}

.scene-entry:last-child {
    border-bottom: none;
}

.scene-entry__left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.scene-entry__right {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
    min-width: 0;
}

.scene-entry__header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.scene-entry__date {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-dark);
    flex-shrink: 0;
}

.scene-entry__title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scene-entry__title:hover {
    color: var(--accent);
}

.scene-entry__meta {
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.scene-entry__trigger {
    color: var(--error);
    margin-left: 0.5rem;
}

.scene-entry__description {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-dim);
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scene-entry__participants {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-dark);
}

.scene-entry__participant {
    color: var(--text-dim);
    text-decoration: none;
}

.scene-entry__participant:hover {
    color: var(--text);
}

.scene-entry__participant--self {
    color: var(--accent);
}

.scene-list__empty {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
    padding: 2rem 0;
}

@media (max-width: 600px) {
    .scene-entry {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .scene-entry__right {
        text-align: left;
    }
}


/* ============================================================================
   8. HEADER-STATS (Icon mit Badge)
   ============================================================================ */

.scene-header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.scene-header-icon--active {
    color: var(--success);
}

.scene-header-icon--active:hover {
    color: var(--accent);
}

.scene-header-icon--inactive {
    color: var(--text-dark);
}

.scene-header-icon--inactive:hover {
    color: var(--text-dim);
}

.scene-header-icon__badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 600;
    line-height: 14px;
    text-align: center;
}

.scene-global-stats {
    display: flex;
    gap: 1rem;
}

.scene-global-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scene-global-stats__value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text);
}

.scene-global-stats__label {
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}


/* ============================================================================
   9. MISC-SEITEN (Bearbeiten, Beitreten)
   ============================================================================ */

.scene-overview,
.scene-edit,
.scene-join {
    padding: 1.5rem 0;
    max-width: 1000px;
}

.scene-overview__header,
.scene-edit__header,
.scene-join__header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--text-dark);
}

.scene-overview__header h1,
.scene-edit__header h1,
.scene-join__header h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.scene-overview__header p,
.scene-edit__header p,
.scene-join__header p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0;
}

.scene-overview__header p a,
.scene-edit__header p a,
.scene-join__header p a {
    color: var(--text);
    text-decoration: none;
}

.scene-overview__header p a:hover,
.scene-edit__header p a:hover,
.scene-join__header p a:hover {
    color: var(--accent);
}

.scene-join__info {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--text-dark);
}

.scene-join__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.scene-join__participants {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--text-dark);
}

.scene-join__participants strong {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.scene-edit__actions,
.scene-join__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--text-dark);
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--accent);
    color: var(--bg);
}

.button:hover {
    background: var(--accent-hover);
}

.button i {
    font-size: 0.6rem;
}

.button--secondary {
    background: transparent;
    color: var(--text-dark);
}

.button--secondary:hover {
    color: var(--text);
}


/* ============================================================================
   10. PROFIL-TAB STATS
   ============================================================================ */

.scene-profile__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--text-dark);
}

.scene-profile__stat {
    text-align: center;
}

.scene-profile__stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.scene-profile__stat-label {
    font-family: var(--font-mono);
    font-size: 0.45rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.scene-profile__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}


/* ============================================================================
   11. RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .scene-profile__controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .scene-profile__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scene-item {
        grid-template-columns: auto 1fr;
        gap: 0.75rem;
    }
    
    .scene-item__right {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.5rem;
        border-top: 1px solid var(--text-dark);
    }
    
    .scene-header {
        flex-direction: column;
    }
    
    .scene-character-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .scene-profile__stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .scene-profile__stat-value {
        font-size: 1.5rem;
    }
}