.erm-promo-list {
    display: grid;
    gap: 14px;
}

.erm-promo-list-item {
    display: flex;
    align-items: stretch;
    gap: 14px;
    padding: 12px;
    border: 1px solid #333;
    background: #222;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.erm-promo-list-item:hover {
    opacity: 0.95;
}

.erm-promo-list-thumb-wrap {
    flex: 0 0 90px;
    width: 90px;
}

.erm-promo-list-thumb {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.erm-promo-list-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.erm-promo-list-title-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.erm-promo-list-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.erm-promo-list-date {
    font-size: 0.95rem;
    opacity: 0.9;
}

.erm-promo-list-meta {
    font-size: 1.05rem;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .erm-promo-list-item {
        gap: 10px;
        padding: 10px;
    }

    .erm-promo-list-thumb-wrap {
        flex-basis: 70px;
        width: 70px;
    }

    .erm-promo-list-thumb {
        width: 70px;
        height: 70px;
    }

    .erm-promo-list-title {
        font-size: 1.05rem;
    }

    .erm-promo-list-date,
    .erm-promo-list-meta {
        font-size: 0.95rem;
    }
}

.layer.bg { z-index: 1; }
.layer.char { z-index: 2; }
.layer.fg { z-index: 3; }

.erm-character-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.erm-character-header {
    margin-bottom: 24px;
}

.erm-character-name {
    margin: 0;
}

.erm-character-section {
    margin-bottom: 32px;
}

.erm-character-section-title {
    margin: 0 0 16px;
}

.erm-character-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.erm-character-field {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.erm-character-field-label {
    font-weight: 700;
    margin-bottom: 6px;
}

.erm-character-field-value {
    line-height: 1.5;
}

.erm-character-bios,
.erm-character-themes {
    display: grid;
    gap: 18px;
}

.erm-character-bio,
.erm-character-theme {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.erm-character-bio-title,
.erm-character-theme-name {
    margin: 0 0 10px;
}

.erm-character-bio-content {
    line-height: 1.6;
}

.erm-character-empty {
    opacity: 0.75;
}

.erm-character-move-list {
    display: grid;
    gap: 18px;
}

.erm-character-move-section {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.erm-character-move-title {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.erm-character-move-value {
    line-height: 1.6;
    white-space: normal;
}

.erm-character-move-value br {
    content: "";
}

.erm-character-move-section--basic_moves {}
.erm-character-move-section--signature_moves {}
.erm-character-move-section--submission_moves {}
.erm-character-move-section--finishing_moves {}
.erm-character-move-section--super_finisher {}

.erm-promo-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.erm-promo-single {
    display: block;
}

.erm-promo-single-header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.erm-promo-single-media {
    flex: 0 0 140px;
    width: 140px;
}

.erm-promo-single-thumb {
    display: block;
    width: 140px;
    height: 140px;
    object-fit: cover;
}

.erm-promo-single-heading {
    flex: 1;
    min-width: 0;
}

.erm-promo-single-title {
    margin: 0 0 10px;
    line-height: 1.2;
}

.erm-promo-single-date {
    margin-bottom: 8px;
    opacity: 0.85;
}

.erm-promo-single-byline {
    font-size: 1.05rem;
    line-height: 1.4;
}

.erm-promo-single-character {
    text-decoration: none;
    font-weight: 600;
}

.erm-promo-single-body {
    line-height: 1.8;
}

.erm-promo-single-body p:first-child {
    margin-top: 0;
}

@media (max-width: 640px) {
    .erm-promo-single-header {
        gap: 12px;
    }

    .erm-promo-single-media {
        flex-basis: 90px;
        width: 90px;
    }

    .erm-promo-single-thumb {
        width: 90px;
        height: 90px;
    }
}

.roster-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.roster-search-form input,
.roster-search-form select,
.roster-search-form button {
    padding: 8px 10px;
    font: inherit;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

@media (min-width: 641px) {
    .roster-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 980px) {
    .roster-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
}

.roster-card {
    box-sizing: border-box;
    min-width: 0;
}

.roster-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.roster-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #111;
}

.roster-card-name {
    margin: 10px 0 0;
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
}

.roster-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.roster-layered {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.roster-layered .layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.roster-layered .bg,
.roster-layered .fg,
.roster-layered .char {
    object-fit: cover;
}

.erm-promo-single-body p {
    margin: 0 0 1.25rem 0;
}

.erm-promo-single-body p:last-child {
    margin-bottom: 0;
}

.erm-promo-single-body strong {
    display: inline-block;
    margin-bottom: 0.15rem;
}

.erm-promo-single-body strong + br {
    display: block;
    content: "";
    margin-bottom: 0.6rem;
}

.erm-promo-single,
.erm-promo-single-heading,
.erm-promo-single-body {
    text-align: left;
}