/* ================================================================
   XenoRO — Main Stylesheet
   ================================================================ */

/* Google Fonts are loaded in the layout head */

:root {
    --bg-base:        #0a0e1a;
    --bg-sidebar:     #070b14;
    --bg-card:        #0d1220;
    --bg-accent:      #111828;
    --border:         #1e2a42;
    --border-light:   #253348;
    --gold:           #c8922a;
    --gold-bright:    #e8b84b;
    --gold-dim:       #7a5518;
    --text-primary:   #d4c8a8;
    --text-secondary: #8899bb;
    --text-dim:       #3a4a62;
    --blue-bright:    #4a8fd4;
    --green:          #4ade80;
    --red:            #ef4444;
    --sidebar-width:  190px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--text-secondary);
    text-decoration: none;
}

a:hover {
    color: var(--gold-bright);
}

ul {
    list-style: none;
}

/* ================================================================
   STATUS BAR
   ================================================================ */

.xr-statusbar {
    background: #060910;
    border-bottom: 1px solid var(--border);
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-shrink: 0;
}

.xr-statusbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.xr-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Exo 2', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.xr-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.xr-dot--online  { background: var(--green); }
.xr-dot--offline { background: var(--red); }

.xr-sep {
    color: var(--border-light);
    font-size: 14px;
}

.xr-statusbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.xr-statusbar-link,
.xr-statusbar-user {
    font-family: 'Exo 2', sans-serif;
    font-size: 11px;
    color: var(--gold-dim);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.xr-statusbar-link:hover {
    color: var(--gold-bright);
}

.xr-statusbar-user {
    color: var(--text-secondary);
    cursor: default;
}

/* ================================================================
   BANNER
   ================================================================ */

.xr-banner {
    background: #0c1220;
    height: 180px;
    border-bottom: 2px solid var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.xr-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 40px,
        #ffffff03 40px,
        #ffffff03 41px
    );
    pointer-events: none;
}

.xr-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.xr-banner-placeholder {
    text-align: center;
    position: relative;
}

.xr-banner-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold-dim);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.xr-banner-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 5px;
    text-shadow: 0 0 30px #c8922a44;
}

.xr-banner-sub {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: 4px;
}

.xr-banner-corner {
    position: absolute;
    width: 22px;
    height: 22px;
}

.xr-banner-corner--tl {
    top: 8px;
    left: 8px;
    border-top: 1px solid var(--gold-dim);
    border-left: 1px solid var(--gold-dim);
}

.xr-banner-corner--br {
    bottom: 8px;
    right: 8px;
    border-bottom: 1px solid var(--gold-dim);
    border-right: 1px solid var(--gold-dim);
}

/* ================================================================
   LAYOUT — sidebar + main
   ================================================================ */

.xr-layout {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* ================================================================
   SIDEBAR
   ================================================================ */

.xr-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    padding: 10px 0;
    overflow-y: auto;
}

.xr-nav-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold-dim);
    text-transform: uppercase;
    padding: 8px 16px 4px;
    margin-top: 2px;
}

.xr-nav-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-secondary);
    transition: color 0.15s, background 0.15s;
    border-right: 2px solid transparent;
    width: 100%;
    text-align: left;
}

.xr-nav-item:hover {
    color: var(--gold-bright);
    background: #0d1525;
}

.xr-nav-item.active {
    color: var(--gold-bright);
    background: #0d1525;
    border-right-color: var(--gold);
}

.xr-nav-item i {
    font-size: 14px;
    flex-shrink: 0;
}

.xr-nav-item--button {
    background: none;
    border: none;
    border-right: 2px solid transparent;
    font-family: 'Raleway', sans-serif;
}

.xr-nav-divider {
    height: 1px;
    background: var(--border);
    margin: 5px 0;
}

.xr-nav-section--account {
    background: #090e18;
}

.xr-nav-section--account .xr-nav-label {
    color: #3a5a3a;
}

.xr-nav-section--account .xr-nav-item {
    color: #4a7a5a;
}

.xr-nav-section--account .xr-nav-item:hover {
    color: #7acc90;
    background: #0a1210;
}

.xr-nav-section--admin {
    background: #120a0a;
}

.xr-nav-section--admin .xr-nav-label {
    color: #6a3020;
}

.xr-nav-section--admin .xr-nav-item {
    color: #8a4030;
}

.xr-nav-section--admin .xr-nav-item:hover {
    color: #e07050;
    background: #180c08;
}

/* ================================================================
   MAIN CONTENT
   ================================================================ */

.xr-main {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    min-width: 0;
}

/* ================================================================
   CARDS
   ================================================================ */

.xr-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-top: 2px solid var(--gold-dim);
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.xr-card h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.xr-card h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold-dim);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.xr-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* ================================================================
   BUTTONS
   ================================================================ */

.xr-btn {
    font-family: 'Exo 2', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid;
    transition: all 0.15s;
    display: inline-block;
}

.xr-btn--primary {
    background: var(--gold);
    border-color: var(--gold);
    color: #0a0e1a;
}

.xr-btn--primary:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    color: #0a0e1a;
}

.xr-btn--secondary {
    background: transparent;
    border-color: var(--border-light);
    color: var(--text-secondary);
}

.xr-btn--secondary:hover {
    border-color: var(--gold-dim);
    color: var(--gold-bright);
}

.xr-btn--danger {
    background: transparent;
    border-color: var(--red);
    color: var(--red);
}

.xr-btn--danger:hover {
    background: var(--red);
    color: #fff;
}

.xr-btn-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* ================================================================
   FORMS
   ================================================================ */

.xr-form-group {
    margin-bottom: 14px;
}

.xr-form-group label {
    display: block;
    font-family: 'Exo 2', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 5px;
}

.xr-form-group input,
.xr-form-group textarea,
.xr-form-group select {
    width: 100%;
    background: #070b14;
    border: 1px solid var(--border-light);
    border-radius: 3px;
    padding: 8px 12px;
    color: var(--text-primary);
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    transition: border-color 0.15s;
}

.xr-form-group input:focus,
.xr-form-group textarea:focus,
.xr-form-group select:focus {
    outline: none;
    border-color: var(--gold-dim);
}

.xr-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* ================================================================
   ALERTS / FLASH MESSAGES
   ================================================================ */

.xr-alert {
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 13px;
    border: 1px solid;
}

.xr-alert--success {
    background: #0a1a0a;
    border-color: #2a5a2a;
    color: #7acc90;
}

.xr-alert--error {
    background: #1a0a0a;
    border-color: #5a2a2a;
    color: #cc7070;
}

.xr-alert ul {
    list-style: disc;
    padding-left: 16px;
}

/* ================================================================
   NEWS ITEMS
   ================================================================ */

.xr-news-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.xr-news-item:last-child {
    border-bottom: none;
}

.xr-news-tag {
    display: inline-block;
    font-family: 'Exo 2', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 2px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.xr-news-tag--general     { background: #1a1e30; color: #6088c0; }
.xr-news-tag--update      { background: #1a1e30; color: #6088c0; }
.xr-news-tag--event       { background: #1e1a30; color: #8870c0; }
.xr-news-tag--woe         { background: #2a1010; color: #c85050; }
.xr-news-tag--maintenance { background: #1a1a10; color: #a0a040; }

.xr-news-title {
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.xr-news-date {
    font-size: 11px;
    color: var(--text-dim);
}

/* ================================================================
   TABLES
   ================================================================ */

.xr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.xr-table th {
    font-family: 'Exo 2', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-dim);
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.xr-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.xr-table tr:hover td {
    background: #0d1525;
    color: var(--text-primary);
}

/* ================================================================
   FOOTER
   ================================================================ */

.xr-footer {
    background: #060910;
    border-top: 1px solid var(--border);
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.xr-footer span {
    font-size: 11px;
    color: var(--text-dim);
}

.xr-footer a {
    font-size: 11px;
    color: var(--text-dim);
}

.xr-footer a:hover {
    color: var(--gold-bright);
}

/* ================================================================
   PAGE TITLE
   ================================================================ */

.xr-page-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-bright);
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

/* ================================================================
   ADDITIONS FOR FULL SITE
   ================================================================ */

.xr-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.xr-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.xr-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) {
    .xr-grid-2, .xr-grid-3, .xr-grid-4 { grid-template-columns: 1fr; }
}

/* Stat boxes */
.xr-stat-box {
    background: #0e0c16;
    border: 1px solid var(--border-light);
    border-top: 2px solid var(--gold-dim);
    border-radius: 6px;
    padding: 16px;
    text-align: center;
}
.xr-stat-box .val {
    font-family: 'Exo 2', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--gold-bright);
}
.xr-stat-box .lbl {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Search bar */
.xr-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.xr-toolbar input[type="text"],
.xr-toolbar select {
    background: #070b14;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 8px 12px;
    color: var(--text-primary);
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
}
.xr-toolbar input[type="text"] { flex: 1; min-width: 200px; }

/* Pagination */
.xr-pagination {
    display: flex;
    gap: 4px;
    margin-top: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.xr-pagination a, .xr-pagination span {
    padding: 6px 11px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.xr-pagination a:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.xr-pagination .active span,
.xr-pagination span[aria-current] {
    background: var(--gold);
    border-color: var(--gold);
    color: #0a0e1a;
}

/* Links in tables */
.xr-table a { color: var(--blue-bright); }
.xr-table a:hover { color: var(--gold-bright); }
.xr-table th a { color: var(--gold-dim); }

/* Status badges */
.xr-badge {
    display: inline-block;
    font-family: 'Exo 2', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
}
.xr-badge--open        { background: #1a2a14; color: #6aac50; }
.xr-badge--progress    { background: #1a1e30; color: #6088c0; }
.xr-badge--closed      { background: #2a2a2a; color: #888; }
.xr-badge--resolved    { background: #1a2a14; color: #6aac50; }
.xr-badge--banned      { background: #2a1010; color: #c85050; }
.xr-badge--suspended   { background: #2a2010; color: #c8a050; }
.xr-badge--active      { background: #1a2a14; color: #6aac50; }
.xr-badge--admin       { background: #2a1020; color: #c860a0; }

/* Map grid */
.xr-map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}
.xr-map-cell {
    background: #0e0c16;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    padding: 10px 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.15s;
}
.xr-map-cell:hover {
    border-color: var(--gold-dim);
    background: #13101a;
}
.xr-map-cell .map-name {
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    color: var(--gold-bright);
}
.xr-map-cell .map-count {
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 2px;
}
.xr-map-tooltip {
    display: none;
    position: absolute;
    z-index: 200;
    left: 0; top: 100%;
    background: #08080b;
    border: 1px solid var(--gold-dim);
    border-radius: 5px;
    padding: 8px 10px;
    min-width: 200px;
    font-size: 11px;
    color: var(--text-secondary);
    box-shadow: 0 4px 20px #000a;
}
.xr-map-cell:hover .xr-map-tooltip,
.xr-maptile:hover .xr-map-tooltip { display: block; }
.xr-map-tooltip li { padding: 1px 0; }
.xr-map-tooltip ul { list-style: none; padding: 0; margin: 0; }

/* Dungeon group */
.xr-dungeon-group { margin-bottom: 18px; }
.xr-dungeon-group h4 {
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    color: var(--gold-bright);
    letter-spacing: 1px;
    text-transform: capitalize;
    margin-bottom: 8px;
}

/* Shop cards */
.xr-shop-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-top: 2px solid var(--gold-dim);
    border-radius: 6px;
    padding: 14px;
    display: flex;
    flex-direction: column;
}
.xr-shop-card .name {
    font-family: 'Exo 2', sans-serif;
    color: var(--gold-bright);
    font-size: 14px;
    margin-bottom: 4px;
}
.xr-shop-card .desc { font-size: 12px; color: var(--text-secondary); flex: 1; margin-bottom: 10px; }
.xr-shop-card .price { font-family: 'Exo 2', sans-serif; color: var(--gold); font-weight: 700; margin-bottom: 8px; }

/* Content body (rich text pages) */
.xr-content-body { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.xr-content-body h3 {
    font-family: 'Exo 2', sans-serif; color: var(--gold-bright);
    font-size: 15px; margin: 16px 0 8px; letter-spacing: 0.5px;
}
.xr-content-body ul, .xr-content-body ol { padding-left: 22px; margin-bottom: 10px; }
.xr-content-body ul { list-style: disc; }
.xr-content-body ol { list-style: decimal; }
.xr-content-body li { margin-bottom: 3px; }
.xr-content-body p { margin-bottom: 10px; }
.xr-content-body a { color: var(--blue-bright); }

/* Detail rows */
.xr-detail-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.xr-detail-row .k { color: var(--text-dim); }
.xr-detail-row .v { color: var(--text-primary); }

/* Chat/ticket bubbles */
.xr-bubble { border-radius: 6px; padding: 10px 14px; margin-bottom: 8px; font-size: 13px; }
.xr-bubble--user  { background: #0e1525; border: 1px solid var(--border-light); }
.xr-bubble--staff { background: #13101a; border: 1px solid var(--gold-dim); }
.xr-bubble .meta { font-size: 10px; color: var(--text-dim); margin-bottom: 4px; }

/* Tab nav */
.xr-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.xr-tabs a {
    padding: 6px 14px; border-radius: 4px; font-size: 12px;
    font-family: 'Exo 2', sans-serif; border: 1px solid var(--border);
    color: var(--text-secondary);
}
.xr-tabs a.active { background: var(--gold); border-color: var(--gold); color: #0a0e1a; }

/* Inline form helpers */
.xr-inline-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.xr-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.xr-muted { color: var(--text-dim); font-size: 12px; }

/* Bootstrap-five paginator styling to match XenoRO theme */
.xr-pagination .pagination {
    display: flex; gap: 4px; list-style: none; padding: 0; margin: 0;
    flex-wrap: wrap; align-items: center; justify-content: center;
}
.xr-pagination .page-item .page-link {
    display: block; padding: 6px 11px; border-radius: 4px; font-size: 12px;
    border: 1px solid var(--border); color: var(--text-secondary);
    background: transparent; text-decoration: none;
}
.xr-pagination .page-item .page-link:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.xr-pagination .page-item.active .page-link {
    background: var(--gold); border-color: var(--gold); color: #0a0e1a;
}
.xr-pagination .page-item.disabled .page-link { opacity: 0.4; }
.xr-pagination svg { width: 14px; height: 14px; vertical-align: middle; }

/* ================================================================
   MAP TILES (world map image-1 style, dungeon image-2 style)
   ================================================================ */
.xr-maptile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
}
.xr-maptile-grid--dungeon {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
}
.xr-maptile {
    position: relative;
    display: block;
    background: #0e0c16;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    padding: 4px;
    text-align: center;
    transition: all 0.15s;
}
.xr-maptile:hover {
    border-color: var(--gold);
    background: #15111f;
    z-index: 100;
}
.xr-maptile img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}
.xr-maptile-ph {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #11151f, #0a0e16);
    border-radius: 3px;
    color: var(--text-dim);
    font-size: 22px;
}
.xr-maptile-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.xr-maptile:hover .xr-maptile-label { color: var(--gold-bright); }

/* Dungeon block (image-2 style: titled section + tile row) */
.xr-dungeon-block {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    margin-bottom: 12px;
    position: relative;
}
/* Lift a block above following blocks while hovering a tile inside it,
   so its tooltips are never covered by the next dungeon block. */
.xr-dungeon-block:hover {
    z-index: 60;
}
.xr-dungeon-header {
    background: #11161f;
    border-bottom: 1px solid var(--gold-dim);
    border-radius: 6px 6px 0 0;
    padding: 8px 14px;
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--gold-bright);
    text-transform: capitalize;
    text-align: center;
}
.xr-dungeon-block .xr-maptile-grid { padding: 12px; }

/* ================================================================
   ITEM / MOB IMAGES
   ================================================================ */
.xr-icon-img {
    image-rendering: pixelated;
    vertical-align: middle;
}
.xr-icon-cell { width: 28px; }
.xr-detail-sprite {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0e16;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 18px;
    min-height: 140px;
}
.xr-detail-sprite img {
    image-rendering: pixelated;
    max-width: 100%;
    max-height: 320px;
    height: auto;
    width: auto;
    object-fit: contain;
}
.xr-detail-sprite .ph { color: var(--text-dim); font-size: 36px; }

/* Item description block (from imported Lua descriptions) */
.xr-item-desc {
    white-space: normal;
    line-height: 1.7;
    font-size: 13px;
}
.xr-item-desc span { /* inline color spans from import */ }

/* Spawn tier colors in map tooltips and tables */
.xr-mob-mvp      { color: #e8534e; font-weight: 600; }   /* red - MVP */
.xr-mob-miniboss { color: #b98cff; font-weight: 600; }   /* violet - mini-boss */
.xr-mob-normal   { color: var(--text-secondary); }       /* default */
.xr-tier-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0 4px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
}
.xr-tier-tag--mvp      { background: #3a1411; color: #e8534e; }
.xr-tier-tag--miniboss { background: #241a3d; color: #b98cff; }
