.osrs-container {
    max-width: 1200px;
    margin: 0 auto;
    color: #2a1f1f;
}

.osrs-title {
    color: #c9a227;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.osrs-subtitle {
    color: #2a1f1f;
    font-weight: 500;
}

/* Readable on the pink gradient (outside cards) */
.osrs-container > .text-muted,
.osrs-container > .text-center.text-muted,
.osrs-container > .row > .col-12 > .text-muted {
    color: #2a1f1f !important;
}

.osrs-container .btn-outline-secondary {
    color: #2a1f1f;
    border-color: #2a1f1f;
    background-color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.osrs-container .btn-outline-secondary:hover,
.osrs-container .btn-outline-secondary:focus {
    color: #2a1f1f;
    border-color: #c9a227;
    background-color: #fff;
}

.osrs-container .card {
    background: #fff;
    color: #2a1f1f;
}

.osrs-container .card .text-muted {
    color: #4a4040 !important;
}

.osrs-stat-card {
    border-left: 4px solid #c9a227;
    background: #fff;
}

.osrs-stat-card .display-6 {
    font-size: 1.75rem;
    color: #333;
}

.osrs-boss-badge {
    font-size: 0.75rem;
    max-width: 100%;
    white-space: normal;
    text-align: left;
}

.osrs-kc-table th {
    font-size: 0.75rem;
    vertical-align: bottom;
}

.osrs-kc-table td {
    text-align: center;
    font-size: 0.85rem;
}

.osrs-kc-table td:first-child,
.osrs-kc-table th:first-child {
    text-align: left;
}

.osrs-filters input {
    margin-left: 0.5rem;
}

.osrs-section-header {
    background-color: #f0f0f0;
    font-weight: 600;
}

.osrs-form-card {
    border-left: 4px solid #c9a227;
    background: #fff;
}

.osrs-btn-primary {
    background-color: #c9a227;
    border-color: #c9a227;
    color: #1a1a1a;
    font-weight: 600;
}

.osrs-btn-primary:hover {
    background-color: #b8922a;
    border-color: #b8922a;
    color: #1a1a1a;
}

.font-monospace {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
}

.osrs-group-card {
    border-left: 4px solid #c9a227;
    background: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.osrs-group-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.osrs-group-name {
    color: #c9a227;
    font-weight: 700;
}

.osrs-back-link {
    color: #2a1f1f;
    font-weight: 600;
    text-decoration: none;
}

.osrs-back-link:hover {
    color: #c9a227;
}

.osrs-timeline {
    min-height: 80px;
}

.osrs-section-heading {
    color: #2a1f1f;
    font-weight: 600;
}

.osrs-timeline-empty {
    margin: 1rem 0;
    text-align: center;
    color: #4a4040;
}

.osrs-timeline-truncated {
    font-size: 0.8rem;
    color: #856404;
    margin-bottom: 0.5rem;
}

.osrs-timeline-scroll {
    overflow-x: auto;
}

.osrs-timeline-svg {
    display: block;
    max-width: 100%;
}

.osrs-timeline-grid {
    stroke: #eee;
    stroke-width: 1;
}

.osrs-timeline-lane {
    stroke: #ddd;
    stroke-width: 1;
}

.osrs-timeline-player-label {
    font-size: 12px;
    font-weight: 600;
    fill: #333;
}

.osrs-timeline-axis-label {
    font-size: 11px;
    fill: #888;
}

.osrs-kill-dot {
    cursor: pointer;
    stroke: #fff;
    stroke-width: 1.5;
    transition: r 0.1s ease;
}

.osrs-kill-dot-active {
    stroke: #333;
    stroke-width: 2;
}

.osrs-kill-tooltip {
    position: fixed;
    z-index: 1050;
    background: #222;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.4;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    max-width: 280px;
}

.osrs-tooltip-time {
    color: #aaa;
    font-size: 0.8rem;
}

.osrs-tooltip-since {
    color: #c9a227;
    font-size: 0.8rem;
}

.osrs-range-group .osrs-range-btn {
    color: #2a1f1f;
    border-color: #6c757d;
    background-color: #fff;
}

.osrs-range-group .osrs-range-btn:hover {
    background-color: #f8f4e8;
    border-color: #c9a227;
    color: #2a1f1f;
}

.osrs-range-group .osrs-range-btn.active {
    background-color: #c9a227;
    border-color: #c9a227;
    color: #1a1a1a;
}
