/* TavernWall v6.3.94 Tavern Bell Wording & Polish */

.bell-center {
    display: grid;
    gap: 16px;
}

.bell-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
    gap: 16px;
    align-items: center;
}

.bell-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.bell-metric-grid div {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 217, 85, .22);
    border-radius: 14px;
    padding: 10px;
    background: rgba(0,0,0,.14);
}

.bell-metric-grid span {
    color: var(--muted);
    font-size: 12px;
}

.bell-metric-grid strong {
    color: var(--gold);
    font-size: 26px;
    line-height: 1;
}

.bell-toolbar-card {
    display: grid;
    gap: 12px;
}

.bell-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bell-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    border: 1px solid rgba(255, 217, 85, .22);
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--paper);
    background: rgba(0,0,0,.12);
}

.bell-tabs a.active {
    color: #1b1108;
    background: var(--gold);
    border-color: var(--gold);
    font-weight: 900;
}

.bell-tabs b {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    padding: 0 6px;
    background: rgba(0,0,0,.22);
    color: inherit;
    font-size: 12px;
}

.bell-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bell-actions form,
.bell-notice-actions form {
    margin: 0;
}

.bell-list {
    display: grid;
    gap: 10px;
}

.bell-notice-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-left: 5px solid rgba(255, 217, 85, .25);
}

.bell-notice-card.unread {
    box-shadow: 0 0 0 1px rgba(255, 217, 85, .08), 0 10px 24px rgba(0,0,0,.22);
}

.bell-type-messages { border-left-color: #8ab4ff; }
.bell-type-friends { border-left-color: #82d67d; }
.bell-type-battles { border-left-color: #ff8a80; }
.bell-type-guilds { border-left-color: #ffd955; }
.bell-type-mentions { border-left-color: #d49cff; }
.bell-type-admin { border-left-color: #ffb86b; }

.bell-notice-main {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.bell-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 217, 85, .24);
    background: rgba(0,0,0,.16);
    color: var(--gold);
    font-weight: 1000;
}

.bell-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.bell-copy strong {
    color: var(--gold);
    font-size: 17px;
}

.bell-copy em,
.bell-copy small {
    color: var(--muted);
    font-size: 12px;
}

.bell-copy span {
    color: var(--paper);
    line-height: 1.35;
}

.bell-notice-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.bell-notice-card.read {
    opacity: .75;
}

.bell-empty-card {
    text-align: center;
}

@media (max-width: 900px) {
    .bell-hero-card {
        grid-template-columns: 1fr;
    }

    .bell-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bell-notice-card {
        grid-template-columns: 1fr;
    }

    .bell-notice-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .bell-metric-grid {
        grid-template-columns: 1fr;
    }

    .bell-notice-main {
        grid-template-columns: 1fr;
    }

    .bell-tabs a,
    .bell-actions button,
    .bell-notice-actions button {
        width: 100%;
        justify-content: center;
    }
}
