/* ===================================================================
   Asset Components — shared styles for asset browser + chargen
   ===================================================================
   Included in base.html BEFORE custom.css so project overrides
   still win.  Keep this file focused on reusable asset UI pieces.
   =================================================================== */

/* --- Tier dots (CSS circles) ---------------------------------------- */
.tier-dots-large {
    font-size: 2em;
    line-height: 1;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    display: inline-block;
}

.tier-dot {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background-color: currentColor;
    margin: 0 0.15em 0 0;
    padding: 0;
    vertical-align: middle;
}

.tier-dot:last-child {
    margin-right: 0;
}

/* --- Book badges ---------------------------------------------------- */
.book-badge {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: var(--border-radius-sm);
    vertical-align: middle;
}

.book-badge.badge-sm {
    font-size: 0.65rem;
    padding: 1px 5px;
}

/* --- Effects summary (chargen info panel) --------------------------- */
.effects-summary {
    font-size: 0.8rem;
    margin-top: 8px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    border-left: 2px solid #444;
}

.effects-label {
    font-weight: 600;
    color: #aaa;
    margin-right: 4px;
}

.effects-group {
    margin-bottom: 3px;
    line-height: 1.4;
    color: #bbb;
}

.effects-group:last-child {
    margin-bottom: 0;
}

/* Multi-tier accordion */
.effects-tier {
    margin-bottom: 2px;
}

.effects-tier>summary {
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    color: #999;
    padding: 2px 0;
    user-select: none;
}

.effects-tier>summary:hover {
    color: #ccc;
}

.effects-tier-body {
    padding: 4px 0 4px 12px;
}

/* --- Utility: fixed-layout tables ---------------------------------- */
.table-fixed {
    table-layout: fixed;
    width: 100%;
}