/* =========================================================
   WoW native integration inside main site
   ========================================================= */
body.wow-shell-page {
    --wow-bg: #05080b;
    --wow-panel: rgba(18, 22, 27, .94);
    --wow-panel-2: rgba(26, 31, 38, .96);
    --wow-border: rgba(243, 184, 70, .22);
    --wow-border-soft: rgba(255, 255, 255, .12);
    --wow-text: #eef2f5;
    --wow-muted: #aeb7bf;
    --wow-gold: #f3b846;
    --wow-gold-dark: #7a5418;
    --wow-red: #ee4e4e;
    --wow-green: #55dd62;
    --wow-blue: #53a8ff;
    --wow-purple: #d97cff;
}

body.wow-shell-page #content,
body.general-home-page #content {
    margin-left: 0 !important;
    width: 100% !important;
}

body.wow-shell-page #content-area {
    max-width: none;
}

.wow-native-page {
    min-height: calc(100dvh - var(--global-nav-height, 68px) - var(--log-height, 0px) - 42px);
    padding: 28px;
    color: var(--wow-text);
    background:
        radial-gradient(circle at 15% 10%, rgba(243, 184, 70, .16), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(83, 168, 255, .09), transparent 28%),
        linear-gradient(135deg, #05080b 0%, #070b0f 48%, #0c1116 100%);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
    overflow: hidden;
}

.wow-native-header {
    max-width: 1780px;
    margin: 0 auto 22px;
}

.wow-native-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(28, 33, 38, .92), rgba(12, 15, 18, .94));
    border: 1px solid var(--wow-border);
    border-radius: 22px;
}

.wow-native-brand img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    flex: 0 0 auto;
}

.wow-native-brand p {
    margin: 0 0 4px;
    color: var(--wow-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.wow-native-brand h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 58px);
    line-height: 1;
    color: var(--wow-text);
}

.wow-native-brand span {
    display: block;
    margin-top: 8px;
    color: var(--wow-muted);
    font-size: 15px;
}

.wow-native-content {
    max-width: 1780px;
    margin: 0 auto;
}

.wow-native-page *,
.wow-native-page *::before,
.wow-native-page *::after {
    box-sizing: border-box;
}

.wow-native-page button,
.wow-native-page input,
.wow-native-page select,
.wow-native-page textarea {
    font: inherit;
}

.wow-native-page input,
.wow-native-page select,
.wow-native-page textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    color: var(--wow-text);
    background: rgba(0, 0, 0, .24);
    border: 1px solid var(--wow-border-soft);
    border-radius: 12px;
    outline: none;
}

.wow-native-page textarea {
    min-height: 110px;
    resize: vertical;
}

.wow-native-page input:focus,
.wow-native-page select:focus,
.wow-native-page textarea:focus {
    border-color: rgba(243, 184, 70, .7);
    box-shadow: 0 0 0 3px rgba(243, 184, 70, .14);
}

.wow-native-page button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--wow-gold), #d89a20);
    color: #120f08;
    font-weight: 900;
    cursor: pointer;
}

.wow-native-page button:hover {
    filter: brightness(1.08);
}

.wow-native-page button.secondary {
    background: rgba(255, 255, 255, .09);
    color: var(--wow-text);
    border: 1px solid var(--wow-border-soft);
}

.wow-native-page button.danger {
    background: rgba(238, 78, 78, .18);
    color: #ffd7d7;
    border: 1px solid rgba(238, 78, 78, .45);
}

.wow-native-page button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.wow-native-page .page-header,
.wow-native-page .members-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.wow-native-page .page-header h1,
.wow-native-page .members-header h1 {
    margin: 0 0 6px;
    font-size: clamp(28px, 3vw, 44px);
}

.wow-native-page .page-header p,
.wow-native-page .members-header p {
    margin: 0;
    color: var(--wow-muted);
}

.wow-native-page .panel,
.wow-native-page .brand-card,
.wow-native-page .summary-panel,
.wow-native-page .group-card,
.wow-native-page .stats-card,
.wow-native-page .members-list-card,
.wow-native-page .members-form-card,
.wow-native-page .member-modal-panel,
.wow-native-page .loot-filter-card,
.wow-native-page .loot-content-card,
.wow-native-page .dkp-card,
.wow-native-page .event-card,
.wow-native-page .landing-card,
.wow-native-page .home-calendar-card,
.wow-native-page .landing-hero {
    background: linear-gradient(180deg, rgba(28, 33, 38, .94), rgba(12, 15, 18, .96));
    border: 1px solid var(--wow-border-soft);
    border-radius: 20px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .24);
}

/* WoW start */
.wow-native-page .landing-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 26px;
    align-items: center;
    padding: 28px;
    margin-bottom: 22px;
}

.wow-native-page .landing-logo-panel {
    display: grid;
    place-items: center;
}

.wow-native-page .landing-logo-panel img {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.wow-native-page .landing-kicker {
    margin: 0 0 10px;
    color: var(--wow-gold);
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wow-native-page .landing-hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 84px);
    line-height: .95;
}

.wow-native-page .landing-subtitle {
    max-width: 760px;
    color: var(--wow-muted);
    font-size: 18px;
}

.wow-native-page .landing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.wow-native-page .landing-card {
    padding: 22px;
    cursor: pointer;
}

.wow-native-page .landing-card h2 {
    margin: 0 0 8px;
}

.wow-native-page .landing-card p {
    margin: 0;
    color: var(--wow-muted);
}

.wow-native-page .home-calendar-card {
    padding: 22px;
}

.wow-native-page .home-calendar-head,
.wow-native-page .home-calendar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.wow-native-page .home-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.wow-native-page .home-calendar-weekday,
.wow-native-page .home-calendar-day {
    min-height: 54px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .08);
}

.wow-native-page .home-calendar-weekday {
    min-height: 0;
    color: var(--wow-gold);
    font-weight: 900;
    text-align: center;
}

.wow-native-page .home-calendar-day.today {
    border-color: rgba(243, 184, 70, .7);
}

.wow-native-page .home-calendar-entry {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--wow-text);
}

.wow-native-page .home-upcoming-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

/* Raidplanner */
.wow-native-page .page-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr) 340px;
    gap: 16px;
    align-items: start;
}

.wow-native-page .sidebar,
.wow-native-page .summary-sidebar {
    display: grid;
    gap: 16px;
}

.wow-native-page .brand-card,
.wow-native-page .panel,
.wow-native-page .summary-panel {
    padding: 16px;
}

.wow-native-page .raid-edit,
.wow-native-page form {
    display: grid;
    gap: 12px;
}

.wow-native-page label {
    display: grid;
    gap: 6px;
    color: var(--wow-muted);
    font-size: 13px;
    font-weight: 700;
}

.wow-native-page .main-content {
    min-width: 0;
}

.wow-native-page .group-grid,
.wow-native-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.wow-native-page .group-card,
.wow-native-page .stats-card {
    padding: 14px;
}

.wow-native-page .slot {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 8px;
    align-items: center;
    padding: 8px;
    margin-top: 8px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .08);
}

.wow-native-page .slot-fields {
    display: grid;
    gap: 6px;
}

.wow-native-page .summary-list,
.wow-native-page .raid-list,
.wow-native-page .raid-warnings-panel {
    display: grid;
    gap: 8px;
}

.wow-native-page .summary-block {
    margin-top: 14px;
}

.wow-native-page .summary-block-head,
.wow-native-page .panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Members / lists */
.wow-native-page .members-layout,
.wow-native-page .loot-layout,
.wow-native-page .dkp-layout,
.wow-native-page .events-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.wow-native-page .members-list-card,
.wow-native-page .members-form-card,
.wow-native-page .loot-filter-card,
.wow-native-page .loot-content-card,
.wow-native-page .dkp-card,
.wow-native-page .event-card {
    padding: 18px;
}

.wow-native-page .members-toolbar,
.wow-native-page .dkp-toolbar,
.wow-native-page .loot-content-head,
.wow-native-page .dkp-header-actions,
.wow-native-page .form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.wow-native-page .members-table-wrapper,
.wow-native-page .table-wrapper {
    overflow: auto;
    margin-top: 14px;
}

.wow-native-page .data-table,
.wow-native-page table {
    width: 100%;
    border-collapse: collapse;
}

.wow-native-page th,
.wow-native-page td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    text-align: left;
}

.wow-native-page th {
    color: var(--wow-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.wow-native-page .members-stats,
.wow-native-page .dkp-ranking,
.wow-native-page .guild-events-list,
.wow-native-page .loot-boss-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.wow-native-page .loot-filter-card {
    position: sticky;
    top: calc(var(--global-nav-height, 68px) + 16px);
}

.wow-native-page .loot-filter-card h2,
.wow-native-page .loot-content-card h2,
.wow-native-page .dkp-card h2,
.wow-native-page .event-card h2 {
    margin-top: 0;
}

.wow-native-page .loot-item,
.wow-native-page .loot-boss-card,
.wow-native-page .guild-event-card,
.wow-native-page .dkp-player-row,
.wow-native-page .member-card {
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 12px;
}

.wow-native-page .member-modal.hidden,
.wow-native-page .hidden {
    display: none !important;
}

.wow-native-page .member-modal,
.wow-native-page .raid-modal,
.wow-native-page .modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 420900;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .72);
    padding: 20px;
}

.wow-native-page .member-modal-panel,
.wow-native-page .raid-modal-panel,
.wow-native-page .modal-panel {
    width: min(760px, 96vw);
    max-height: 88dvh;
    overflow: auto;
    padding: 20px;
}

.wow-native-page .member-modal-head,
.wow-native-page .raid-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (max-width: 1180px) {
    .wow-native-page {
        padding: 18px;
        border-radius: 18px;
    }

    .wow-native-page .page-shell,
    .wow-native-page .members-layout,
    .wow-native-page .loot-layout,
    .wow-native-page .dkp-layout,
    .wow-native-page .events-layout {
        grid-template-columns: 1fr;
    }

    .wow-native-page .summary-sidebar,
    .wow-native-page .loot-filter-card {
        position: static;
    }

    .wow-native-page .landing-hero {
        grid-template-columns: 1fr;
    }

    .wow-native-page .landing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .wow-native-page {
        padding: 12px;
        border-radius: 0;
        margin: -1rem;
    }

    .wow-native-brand {
        align-items: flex-start;
        padding: 16px;
    }

    .wow-native-brand img {
        width: 58px;
        height: 58px;
    }

    .wow-native-page .home-calendar-grid {
        gap: 4px;
    }

    .wow-native-page .home-calendar-day {
        min-height: 44px;
        padding: 5px;
        font-size: 12px;
    }
}

/* =========================================================
   WoW Raidplanner native rebuild
   ========================================================= */
body.wow-shell-page #content {
    background: #151718;
}

.wow-raidplanner-page {
    min-height: calc(100dvh - var(--global-nav-height, 68px) - var(--log-height, 0px));
    padding: 12px;
    color: #e8eef4;
    background: radial-gradient(circle at 20% 0%, rgba(243, 184, 70, .08), transparent 28%), #111415;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.wow-raid-shell {
    display: grid;
    grid-template-columns: 320px minmax(820px, 1fr) 360px;
    gap: 16px;
    align-items: start;
    width: 100%;
    max-width: 1840px;
    margin: 0 auto;
}

.wow-raid-left,
.wow-raid-summary-sidebar {
    display: grid;
    gap: 14px;
}

.wow-raid-main {
    min-width: 0;
}

.wow-raid-brand-card,
.wow-raid-panel,
.wow-summary-panel,
.wow-group-card,
.wow-stats-card,
.wow-warning-box {
    background: linear-gradient(180deg, rgba(31, 37, 43, .96), rgba(13, 17, 20, .96));
    border: 1px solid rgba(143, 165, 185, .24);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
    border-radius: 6px;
}

.wow-raid-brand-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    min-height: 96px;
}

.wow-raid-brand-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 3px solid #f0b33d;
    border-radius: 50%;
    color: #f0b33d;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    flex: 0 0 auto;
}

.wow-raid-brand-card h1,
.wow-raid-panel h2,
.wow-summary-panel h2,
.wow-group-card h2,
.wow-panel-head h2 {
    margin: 0;
    color: #f3b846;
    font-weight: 900;
    line-height: 1.1;
}

.wow-raid-brand-card h1 {
    font-size: 23px;
}

.wow-raid-brand-card p,
.wow-summary-panel p {
    margin: 4px 0 0;
    color: #b6c0ca;
}

.wow-raid-panel,
.wow-summary-panel {
    padding: 14px;
}

.wow-raid-edit,
.wow-raid-form {
    display: grid;
    gap: 7px;
}

.wow-raid-edit label,
.wow-raid-form label {
    display: grid;
    gap: 3px;
    color: #b8c4cf;
    font-size: 13px;
    font-weight: 800;
}

.wow-raidplanner-page input,
.wow-raidplanner-page select,
.wow-raidplanner-page textarea {
    min-height: 32px;
    width: 100%;
    padding: 6px 8px;
    color: #eaf3ff;
    background: #11191f;
    border: 1px solid #3b4a55;
    border-radius: 5px;
    outline: none;
}

.wow-raidplanner-page textarea {
    min-height: 64px;
    resize: vertical;
}

.wow-raidplanner-page input:focus,
.wow-raidplanner-page select:focus,
.wow-raidplanner-page textarea:focus {
    border-color: #f3b846;
    box-shadow: 0 0 0 2px rgba(243, 184, 70, .2);
}

.wow-raid-actions,
.wow-raid-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 10px;
}

.wow-raid-btn {
    min-height: 32px;
    padding: 7px 10px;
    color: #17110a;
    background: linear-gradient(180deg, #f1ba4d, #7b4d0a);
    border: 1px solid rgba(247, 196, 83, .75);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.wow-raid-btn.full {
    width: 100%;
    margin-top: 10px;
}

.wow-raid-btn.secondary {
    color: #ffd76f;
    background: linear-gradient(180deg, rgba(74, 52, 20, .9), rgba(25, 18, 10, .94));
}

.wow-raid-btn.danger {
    color: #ff8a8a;
    background: rgba(70, 17, 20, .65);
    border-color: rgba(221, 62, 74, .75);
}

.wow-raid-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.wow-raid-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.wow-raid-card {
    display: grid;
    grid-template-columns: 14px 1fr 18px;
    gap: 8px;
    align-items: start;
    width: 100%;
    padding: 10px;
    color: #dce8f2;
    text-align: left;
    background: rgba(10, 15, 18, .72);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 4px;
    cursor: pointer;
}

.wow-raid-card.active {
    border-color: #dba63a;
    background: linear-gradient(180deg, rgba(85, 61, 19, .5), rgba(10, 15, 18, .9));
}

.wow-raid-dot {
    width: 10px;
    height: 10px;
    margin-top: 3px;
    background: #65ef75;
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(101, 239, 117, .55);
}

.wow-raid-card-body {
    display: grid;
    gap: 2px;
}

.wow-raid-card-body strong {
    color: #ffffff;
    font-size: 14px;
}

.wow-raid-card-body span {
    color: #b6c0ca;
    font-size: 13px;
}

.wow-raid-card-icon {
    color: #d7e1ea;
    font-size: 14px;
}

.wow-group-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(210px, 1fr));
    gap: 10px;
}

.wow-group-card {
    overflow: hidden;
    padding: 0;
}

.wow-group-card h2 {
    padding: 9px 12px;
    text-align: center;
    font-size: 18px;
    background: linear-gradient(180deg, rgba(49, 58, 66, .96), rgba(31, 37, 43, .96));
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.wow-slot {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    gap: 8px;
    align-items: center;
    min-height: 64px;
    padding: 5px 8px;
    background: rgba(10, 15, 18, .92);
    border-top: 1px solid rgba(255, 255, 255, .08);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.wow-slot.filled {
    background: var(--slot-class-color);
    color: var(--slot-text-color);
}

.wow-slot.drag-over {
    box-shadow: inset 0 0 0 3px #f3b846;
}

.wow-slot-number {
    display: grid;
    place-items: center;
    color: inherit;
    font-weight: 900;
    min-width: 0;
}

.wow-slot-fields {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.wow-slot .wow-slot-username,
.wow-slot .wow-slot-spec {
    min-height: 29px;
    padding: 5px 8px;
    color: #f2f8ff;
    background: #071016;
    border-color: rgba(180, 204, 222, .44);
    border-radius: 5px;
    font-size: 13px;
}

.wow-slot.filled .wow-slot-username,
.wow-slot.filled .wow-slot-spec {
    border-color: rgba(255, 255, 255, .65);
}

.wow-drag-handle {
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
    cursor: grab;
    user-select: none;
}

.wow-drag-handle.disabled {
    opacity: .25;
    cursor: default;
}

.wow-drag-handle.dragging {
    opacity: .3;
}

.wow-spec-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    border-radius: 3px;
}

.wow-spec-icon.slot-icon {
    width: 23px;
    height: 23px;
}

.wow-spec-icon.summary-provider-icon {
    width: 18px;
    height: 18px;
}

.wow-spec-icon.fallback {
    display: inline-grid;
    place-items: center;
    font-size: 14px;
}

.wow-drag-hint {
    margin: 12px 0 12px;
    color: #bdc8d2;
    font-size: 14px;
}

.wow-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(143, 165, 185, .18);
    border-radius: 6px;
    background: rgba(20, 26, 31, .72);
}

.wow-stats-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px;
}

.wow-stats-icon {
    font-size: 30px;
    line-height: 1;
}

.wow-stats-text {
    display: grid;
    gap: 4px;
}

.wow-stats-text span {
    color: #cbd5df;
    font-size: 13px;
}

.wow-stats-text strong {
    color: #5dff7c;
    font-size: 24px;
    line-height: 1;
}

.wow-summary-panel {
    position: sticky;
    top: calc(var(--global-nav-height, 68px) + 12px);
}

.wow-summary-panel h2 {
    font-size: 22px;
}

.wow-summary-block {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
    background: rgba(6, 10, 12, .38);
}

.wow-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
}

.wow-summary-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 900;
}

.wow-summary-head span {
    color: #dbe8ff;
    font-size: 12px;
    font-weight: 900;
}

.wow-summary-buffs .wow-summary-head {
    background: rgba(35, 98, 55, .28);
}

.wow-summary-buffs .wow-summary-head h3 {
    color: #61ff81;
}

.wow-summary-debuffs .wow-summary-head {
    background: rgba(109, 40, 45, .35);
}

.wow-summary-debuffs .wow-summary-head h3 {
    color: #ff7676;
}

.wow-summary-tokens .wow-summary-head {
    background: rgba(33, 92, 143, .33);
}

.wow-summary-tokens .wow-summary-head h3 {
    color: #5fb6ff;
}

.wow-summary-misc .wow-summary-head {
    background: rgba(107, 48, 138, .34);
}

.wow-summary-misc .wow-summary-head h3 {
    color: #de7cff;
}

.wow-summary-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 10px;
    padding: 10px;
}

.wow-summary-list.compact {
    grid-template-columns: 1fr;
}

.wow-summary-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 6px;
    min-height: 25px;
    color: #dce6ee;
    font-size: 12px;
}

.wow-summary-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wow-summary-count {
    color: #5dff7c;
    text-align: right;
    font-weight: 900;
}

.wow-summary-item.missing .wow-summary-count {
    color: #ff6d6d;
}

.wow-provider-fallback {
    color: #8d98a2;
}

.wow-summary-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, .05);
    border-radius: 4px;
    color: #d6dee6;
}

.ok-dot {
    color: #5dff7c;
}

.bad-dot {
    color: #ff6d6d;
}

.wow-warning-box {
    margin-top: 12px;
    padding: 12px;
    border-color: rgba(255, 193, 7, .35);
}

.wow-warning-box strong {
    color: #f3b846;
}

.wow-warning-box ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: #e7d7b1;
}

.wow-raid-modal.hidden {
    display: none !important;
}

.wow-raid-modal {
    position: fixed;
    inset: 0;
    z-index: 420900;
    display: grid;
    place-items: center;
    padding: 20px;
}

.wow-raid-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
}

.wow-raid-modal-card {
    position: relative;
    width: min(760px, 96vw);
    max-height: 90dvh;
    overflow: auto;
    padding: 16px;
    background: linear-gradient(180deg, rgba(31, 37, 43, .98), rgba(13, 17, 20, .98));
    border: 1px solid rgba(243, 184, 70, .38);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.wow-raid-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.wow-raid-modal-head h2 {
    margin: 0;
    color: #f3b846;
}

.wow-icon-button {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 4px;
    font-size: 24px;
    cursor: pointer;
}

.wow-raid-modal-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 1540px) {
    .wow-raid-shell {
        grid-template-columns: 300px minmax(720px, 1fr) 340px;
    }

    .wow-group-grid {
        grid-template-columns: repeat(3, minmax(210px, 1fr));
    }
}

@media (max-width: 1260px) {
    .wow-raid-shell {
        grid-template-columns: 1fr;
    }

    .wow-raid-left,
    .wow-raid-summary-sidebar {
        position: static;
    }

    .wow-summary-panel {
        position: static;
    }

    .wow-group-grid {
        grid-template-columns: repeat(2, minmax(210px, 1fr));
    }
}

@media (max-width: 720px) {
    .wow-raidplanner-page {
        padding: 8px;
        margin: -1rem;
    }

    .wow-group-grid,
    .wow-stats-grid,
    .wow-summary-list,
    .wow-raid-modal-row {
        grid-template-columns: 1fr;
    }

    .wow-raid-actions,
    .wow-raid-modal-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   WoW Raidplanner polish pass - closer to compact reference
   ========================================================= */
body.wow-shell-page #content {
    background: #111415;
}

.wow-raidplanner-page {
    padding: 18px 20px 34px;
    background:
        radial-gradient(circle at 18% 0%, rgba(243, 184, 70, .055), transparent 25%),
        linear-gradient(180deg, #151819 0%, #0f1213 100%);
    font-size: 14px;
}

.wow-raid-shell {
    grid-template-columns: 330px minmax(920px, 1fr) 370px;
    gap: 16px;
    max-width: 1860px;
}

.wow-raid-brand-card,
.wow-raid-panel,
.wow-summary-panel,
.wow-group-card,
.wow-stats-card,
.wow-warning-box {
    background: linear-gradient(180deg, rgba(31, 38, 45, .98), rgba(12, 17, 21, .98));
    border-color: rgba(132, 155, 174, .26);
    border-radius: 7px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
}

.wow-raid-brand-card {
    min-height: 72px;
    padding: 12px 14px;
}

.wow-raid-brand-icon {
    width: 46px;
    height: 46px;
    font-size: 26px;
    border-width: 3px;
}

.wow-raid-brand-card h1 {
    font-size: 22px;
    line-height: .95;
}

.wow-raid-brand-card p {
    font-size: 13px;
    line-height: 1.2;
}

.wow-raid-panel,
.wow-summary-panel {
    padding: 12px;
}

.wow-raid-panel h2,
.wow-panel-head h2,
.wow-summary-panel h2 {
    font-size: 22px;
}

.wow-raid-info-panel h2,
.wow-raid-list-panel h2 {
    text-align: center;
}

.wow-raid-edit,
.wow-raid-form {
    gap: 7px;
}

.wow-raid-edit label,
.wow-raid-form label {
    gap: 2px;
    font-size: 12px;
    line-height: 1.15;
}

.wow-raidplanner-page input,
.wow-raidplanner-page select,
.wow-raidplanner-page textarea {
    min-height: 29px;
    padding: 5px 7px;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.2;
}

.wow-raidplanner-page textarea {
    min-height: 58px;
}

.wow-raid-actions,
.wow-raid-modal-actions {
    gap: 7px;
    margin-top: 9px;
}

.wow-raid-btn {
    min-height: 31px;
    padding: 6px 9px;
    border-radius: 5px;
    font-size: 13px;
}

.wow-raid-list {
    gap: 8px;
    margin-top: 10px;
}

.wow-raid-card {
    grid-template-columns: 12px 1fr 16px;
    gap: 8px;
    padding: 9px;
    border-radius: 5px;
    background: rgba(9, 14, 17, .74);
}

.wow-raid-card.active {
    background: rgba(10, 15, 18, .74);
    border-color: #dba63a;
    box-shadow: inset 0 0 0 1px rgba(219, 166, 58, .32);
}

.wow-raid-card.active .wow-raid-card-body strong {
    color: #ffffff;
}

.wow-raid-card-body strong {
    font-size: 13px;
}

.wow-raid-card-body span {
    font-size: 12px;
}

.wow-group-grid {
    grid-template-columns: repeat(4, minmax(205px, 1fr));
    gap: 10px 12px;
}

.wow-group-card h2 {
    padding: 8px 10px;
    font-size: 18px;
    background: linear-gradient(180deg, rgba(48, 58, 66, .98), rgba(29, 36, 42, .98));
}

.wow-slot {
    grid-template-columns: 24px minmax(0, 1fr) 18px;
    gap: 7px;
    min-height: 57px;
    padding: 4px 8px;
}

.wow-slot:not(.filled) {
    background: rgba(10, 15, 18, .86);
}

.wow-slot-number {
    font-size: 13px;
}

.wow-slot-fields {
    gap: 4px;
}

.wow-slot .wow-slot-username,
.wow-slot .wow-slot-spec {
    min-height: 26px;
    padding: 4px 7px;
    border-radius: 4px;
    font-size: 12px;
}

.wow-slot .wow-slot-username::placeholder {
    color: rgba(210, 220, 230, .58);
}

.wow-slot.filled .wow-slot-username,
.wow-slot.filled .wow-slot-spec {
    background: #081016;
    color: #f4f8ff;
    border-color: rgba(255, 255, 255, .45);
}

.wow-slot.filled .wow-slot-username::placeholder {
    color: rgba(255, 255, 255, .55);
}

.wow-drag-handle {
    font-size: 17px;
    line-height: 1;
}

.wow-spec-icon.slot-icon {
    width: 22px;
    height: 22px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
}

.wow-drag-hint {
    margin: 10px 0;
    font-size: 13px;
}

.wow-stats-grid {
    gap: 8px;
    padding: 9px;
}

.wow-stats-card {
    gap: 10px;
    padding: 9px 12px;
    min-height: 68px;
}

.wow-stats-icon {
    font-size: 28px;
}

.wow-stats-text span {
    font-size: 12px;
}

.wow-stats-text strong {
    font-size: 22px;
}

.wow-summary-panel {
    top: calc(var(--global-nav-height, 68px) + 10px);
}

.wow-summary-panel h2 {
    font-size: 21px;
}

.wow-summary-panel p {
    font-size: 13px;
    line-height: 1.35;
}

.wow-summary-block {
    margin-top: 12px;
}

.wow-summary-head {
    padding: 8px 10px;
}

.wow-summary-head h3 {
    font-size: 16px;
}

.wow-summary-list {
    gap: 2px 9px;
    padding: 8px 9px;
}

.wow-summary-item {
    grid-template-columns: 20px minmax(0, 1fr) 22px;
    gap: 5px;
    min-height: 23px;
    font-size: 11px;
}

.wow-spec-icon.summary-provider-icon {
    width: 16px;
    height: 16px;
}

.wow-summary-legend {
    margin-top: 10px;
    padding: 9px;
    font-size: 13px;
}

/* Light mode: keep the Warcraft colors, but make panels and empty slots readable. */
body.light-mode.wow-shell-page #content {
    background: #eef0f2;
}

body.light-mode .wow-raidplanner-page {
    color: #17202a;
    background:
        radial-gradient(circle at 18% 0%, rgba(243, 184, 70, .20), transparent 25%),
        linear-gradient(180deg, #f1f3f5 0%, #e4e8ec 100%);
}

body.light-mode .wow-raid-brand-card,
body.light-mode .wow-raid-panel,
body.light-mode .wow-summary-panel,
body.light-mode .wow-group-card,
body.light-mode .wow-stats-card,
body.light-mode .wow-warning-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(235, 240, 244, .98));
    border-color: rgba(22, 32, 42, .16);
    box-shadow: 0 16px 34px rgba(20, 30, 40, .12);
}

body.light-mode .wow-group-card h2 {
    background: linear-gradient(180deg, #dce4ea, #cfd8df);
    border-bottom-color: rgba(20, 30, 40, .12);
}

body.light-mode .wow-raid-brand-card p,
body.light-mode .wow-summary-panel p,
body.light-mode .wow-raid-card-body span,
body.light-mode .wow-drag-hint,
body.light-mode .wow-raid-edit label,
body.light-mode .wow-raid-form label,
body.light-mode .wow-stats-text span {
    color: #4e5b66;
}

body.light-mode .wow-raidplanner-page input,
body.light-mode .wow-raidplanner-page select,
body.light-mode .wow-raidplanner-page textarea {
    color: #121820;
    background: #ffffff;
    border-color: rgba(30, 43, 56, .28);
}

body.light-mode .wow-raidplanner-page input:disabled,
body.light-mode .wow-raidplanner-page select:disabled,
body.light-mode .wow-raidplanner-page textarea:disabled {
    color: #1b2630;
    background: #e9eef2;
    opacity: 1;
}

body.light-mode .wow-slot:not(.filled) {
    background: #e8edf1;
    border-top-color: rgba(20, 30, 40, .12);
}

body.light-mode .wow-slot:not(.filled) .wow-slot-number,
body.light-mode .wow-slot:not(.filled) .wow-drag-handle {
    color: #2f3b46;
}

body.light-mode .wow-slot:not(.filled) .wow-slot-username,
body.light-mode .wow-slot:not(.filled) .wow-slot-spec {
    color: #17202a;
    background: #ffffff;
    border-color: rgba(30, 43, 56, .32);
}

body.light-mode .wow-slot.filled .wow-slot-username,
body.light-mode .wow-slot.filled .wow-slot-spec {
    background: #101820;
    color: #f7fbff;
}

body.light-mode .wow-raid-card {
    color: #17202a;
    background: #f6f8fa;
    border-color: rgba(30, 43, 56, .18);
}

body.light-mode .wow-raid-card.active {
    background: #fff7df;
    border-color: #dba63a;
}

body.light-mode .wow-raid-card-body strong,
body.light-mode .wow-summary-name,
body.light-mode .wow-summary-legend {
    color: #17202a;
}

body.light-mode .wow-summary-block {
    background: rgba(255, 255, 255, .72);
    border-color: rgba(20, 30, 40, .12);
}

body.light-mode .wow-summary-list {
    background: rgba(255, 255, 255, .18);
}

body.light-mode .wow-summary-item {
    color: #17202a;
}

body.light-mode .wow-stats-grid {
    background: rgba(255, 255, 255, .62);
    border-color: rgba(20, 30, 40, .12);
}

body.light-mode .wow-raid-modal-card {
    background: linear-gradient(180deg, #ffffff, #edf2f6);
    color: #17202a;
}

@media (max-width: 1700px) {
    .wow-raid-shell {
        grid-template-columns: 305px minmax(820px, 1fr) 345px;
    }

    .wow-group-grid {
        grid-template-columns: repeat(4, minmax(185px, 1fr));
    }

    .wow-summary-item {
        font-size: 10.5px;
    }
}

@media (max-width: 1540px) {
    .wow-raid-shell {
        grid-template-columns: 300px minmax(720px, 1fr) 340px;
    }

    .wow-group-grid {
        grid-template-columns: repeat(3, minmax(205px, 1fr));
    }
}

@media (max-width: 1260px) {
    .wow-raid-shell {
        grid-template-columns: 1fr;
    }

    .wow-group-grid {
        grid-template-columns: repeat(2, minmax(230px, 1fr));
    }
}

@media (max-width: 720px) {
    .wow-raidplanner-page {
        padding: 10px;
        margin: -1rem;
    }

    .wow-group-grid,
    .wow-stats-grid,
    .wow-summary-list,
    .wow-raid-modal-row {
        grid-template-columns: 1fr;
    }

    .wow-slot {
        min-height: 60px;
    }
}


/* =========================================================
   WoW Raidplanner hard isolation patch
   Zweck: Shop-/Bootstrap-Regeln dürfen den Raidplaner nicht mehr verändern.
   Muss ganz am Ende der Datei bleiben.
   ========================================================= */

body.wow-shell-page footer {
    display: none !important;
}

body.wow-shell-page #app-container,
body.wow-shell-page #content,
body.wow-shell-page #content-area {
    max-width: none !important;
}

body.wow-shell-page #content {
    padding: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    overflow: auto !important;
    background: #111415 !important;
}

body.wow-shell-page #content-area {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible;
}

body.wow-shell-page .wow-raidplanner-page,
body.wow-shell-page .wow-raidplanner-page * {
    box-sizing: border-box !important;
}

body.wow-shell-page .wow-raidplanner-page {
    display: block !important;
    width: 100% !important;
    min-height: calc(100dvh - var(--global-nav-height, 68px) - var(--log-height, 0px)) !important;
    margin: 0 !important;
    padding: 16px 18px 28px !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #e8eef4 !important;
    background: linear-gradient(180deg, #151819 0%, #0f1213 100%) !important;
    box-shadow: none !important;
    overflow: visible !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
}

body.wow-shell-page .wow-raid-shell {
    display: grid !important;
    grid-template-columns: 320px minmax(880px, 1fr) 360px !important;
    gap: 14px !important;
    align-items: start !important;
    width: min(100%, 1810px) !important;
    max-width: 1810px !important;
    margin: 0 auto !important;
}

body.wow-shell-page .wow-raid-left,
body.wow-shell-page .wow-raid-summary-sidebar {
    display: grid !important;
    gap: 12px !important;
    min-width: 0 !important;
}

body.wow-shell-page .wow-raid-main {
    min-width: 0 !important;
}

body.wow-shell-page .wow-raid-brand-card,
body.wow-shell-page .wow-raid-panel,
body.wow-shell-page .wow-summary-panel,
body.wow-shell-page .wow-group-card,
body.wow-shell-page .wow-stats-card,
body.wow-shell-page .wow-warning-box {
    background: linear-gradient(180deg, rgba(31, 38, 45, .98), rgba(12, 17, 21, .98)) !important;
    border: 1px solid rgba(132, 155, 174, .26) !important;
    border-radius: 7px !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .28) !important;
}

body.wow-shell-page .wow-raid-brand-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 72px !important;
    padding: 12px 14px !important;
}

body.wow-shell-page .wow-raid-brand-icon {
    display: grid !important;
    place-items: center !important;
    width: 46px !important;
    height: 46px !important;
    border: 3px solid #f0b33d !important;
    border-radius: 50% !important;
    color: #f0b33d !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
}

body.wow-shell-page .wow-raid-brand-card h1,
body.wow-shell-page .wow-raid-panel h2,
body.wow-shell-page .wow-summary-panel h2,
body.wow-shell-page .wow-group-card h2,
body.wow-shell-page .wow-panel-head h2 {
    margin: 0 !important;
    color: #f3b846 !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    text-shadow: none !important;
}

body.wow-shell-page .wow-raid-brand-card h1 {
    font-size: 22px !important;
}

body.wow-shell-page .wow-raid-brand-card p,
body.wow-shell-page .wow-summary-panel p {
    margin: 4px 0 0 !important;
    color: #b6c0ca !important;
    font-size: 13px !important;
}

body.wow-shell-page .wow-raid-panel,
body.wow-shell-page .wow-summary-panel {
    padding: 12px !important;
}

body.wow-shell-page .wow-raid-info-panel h2,
body.wow-shell-page .wow-raid-list-panel h2 {
    text-align: center !important;
    font-size: 22px !important;
}

body.wow-shell-page .wow-raid-edit,
body.wow-shell-page .wow-raid-form {
    display: grid !important;
    gap: 7px !important;
}

body.wow-shell-page .wow-raid-edit label,
body.wow-shell-page .wow-raid-form label {
    display: grid !important;
    gap: 2px !important;
    margin: 0 !important;
    color: #b8c4cf !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
}

body.wow-shell-page .wow-raidplanner-page input,
body.wow-shell-page .wow-raidplanner-page select,
body.wow-shell-page .wow-raidplanner-page textarea {
    display: block !important;
    width: 100% !important;
    min-height: 29px !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    color: #eaf3ff !important;
    background: #11191f !important;
    border: 1px solid #3b4a55 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    outline: none !important;
    font: inherit !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
}

body.wow-shell-page .wow-raidplanner-page textarea {
    min-height: 58px !important;
    resize: vertical !important;
}

body.wow-shell-page .wow-raidplanner-page input:focus,
body.wow-shell-page .wow-raidplanner-page select:focus,
body.wow-shell-page .wow-raidplanner-page textarea:focus {
    border-color: #f3b846 !important;
    box-shadow: 0 0 0 2px rgba(243, 184, 70, .2) !important;
}

body.wow-shell-page .wow-raid-actions,
body.wow-shell-page .wow-raid-modal-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    margin-top: 9px !important;
}

body.wow-shell-page .wow-raidplanner-page button,
body.wow-shell-page .wow-raid-btn {
    min-height: 31px !important;
    margin: 0 !important;
    padding: 6px 9px !important;
    color: #17110a !important;
    background: linear-gradient(180deg, #f1ba4d, #7b4d0a) !important;
    border: 1px solid rgba(247, 196, 83, .75) !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    appearance: none !important;
}

body.wow-shell-page .wow-raid-btn.secondary {
    color: #ffd76f !important;
    background: linear-gradient(180deg, rgba(74, 52, 20, .9), rgba(25, 18, 10, .94)) !important;
}

body.wow-shell-page .wow-raid-btn.danger {
    color: #ff8a8a !important;
    background: rgba(70, 17, 20, .65) !important;
    border-color: rgba(221, 62, 74, .75) !important;
}

body.wow-shell-page .wow-raid-btn.full {
    width: 100% !important;
    margin-top: 10px !important;
}

body.wow-shell-page .wow-group-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(205px, 1fr)) !important;
    gap: 10px 12px !important;
}

body.wow-shell-page .wow-group-card {
    overflow: hidden !important;
    padding: 0 !important;
}

body.wow-shell-page .wow-group-card h2 {
    padding: 8px 10px !important;
    text-align: center !important;
    font-size: 18px !important;
    background: linear-gradient(180deg, rgba(48, 58, 66, .98), rgba(29, 36, 42, .98)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
}

body.wow-shell-page .wow-slot {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) 18px !important;
    gap: 7px !important;
    align-items: center !important;
    min-height: 57px !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    background: rgba(10, 15, 18, .86) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 0 !important;
    color: #e8eef4 !important;
}

body.wow-shell-page .wow-slot.filled {
    background: var(--slot-class-color) !important;
    color: var(--slot-text-color) !important;
}

body.wow-shell-page .wow-slot-number {
    display: grid !important;
    place-items: center !important;
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    min-width: 0 !important;
}

body.wow-shell-page .wow-slot-fields {
    display: grid !important;
    gap: 4px !important;
    min-width: 0 !important;
}

body.wow-shell-page .wow-slot .wow-slot-username,
body.wow-shell-page .wow-slot .wow-slot-spec {
    min-height: 26px !important;
    padding: 4px 7px !important;
    color: #f2f8ff !important;
    background: #071016 !important;
    border: 1px solid rgba(180, 204, 222, .44) !important;
    border-radius: 4px !important;
    font-size: 12px !important;
}

body.wow-shell-page .wow-slot.filled .wow-slot-username,
body.wow-shell-page .wow-slot.filled .wow-slot-spec {
    background: #081016 !important;
    color: #f4f8ff !important;
    border-color: rgba(255, 255, 255, .45) !important;
}

body.wow-shell-page .wow-drag-handle {
    color: rgba(255, 255, 255, .86) !important;
    font-size: 17px !important;
    line-height: 1 !important;
    cursor: grab !important;
    user-select: none !important;
}

body.wow-shell-page .wow-spec-icon.slot-icon {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    display: inline-block !important;
    border-radius: 3px !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .35) !important;
}

body.wow-shell-page .wow-drag-hint {
    margin: 10px 0 !important;
    color: #bdc8d2 !important;
    font-size: 13px !important;
}

body.wow-shell-page .wow-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 9px !important;
    border: 1px solid rgba(143, 165, 185, .18) !important;
    border-radius: 6px !important;
    background: rgba(20, 26, 31, .72) !important;
}

body.wow-shell-page .wow-stats-card {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 68px !important;
    padding: 9px 12px !important;
}

body.wow-shell-page .wow-stats-icon {
    font-size: 28px !important;
    line-height: 1 !important;
}

body.wow-shell-page .wow-stats-text {
    display: grid !important;
    gap: 4px !important;
}

body.wow-shell-page .wow-stats-text span {
    color: #cbd5df !important;
    font-size: 12px !important;
}

body.wow-shell-page .wow-stats-text strong {
    color: #5dff7c !important;
    font-size: 22px !important;
    line-height: 1 !important;
}

body.wow-shell-page .wow-summary-panel {
    position: sticky !important;
    top: calc(var(--global-nav-height, 68px) + 10px) !important;
}

body.wow-shell-page .wow-summary-panel h2 {
    font-size: 21px !important;
}

body.wow-shell-page .wow-summary-panel p {
    color: #b6c0ca !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

body.wow-shell-page .wow-summary-block {
    margin-top: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 4px !important;
    background: rgba(6, 10, 12, .38) !important;
}

body.wow-shell-page .wow-summary-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 8px 10px !important;
}

body.wow-shell-page .wow-summary-head h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

body.wow-shell-page .wow-summary-head span {
    color: #dbe8ff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

body.wow-shell-page .wow-summary-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2px 9px !important;
    padding: 8px 9px !important;
}

body.wow-shell-page .wow-summary-list.compact {
    grid-template-columns: 1fr !important;
}

body.wow-shell-page .wow-summary-item {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) 22px !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 23px !important;
    color: #dce6ee !important;
    font-size: 11px !important;
}

body.wow-shell-page .wow-summary-name {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.wow-shell-page .wow-summary-count {
    color: #5dff7c !important;
    text-align: right !important;
    font-weight: 900 !important;
}

body.wow-shell-page .wow-summary-item.missing .wow-summary-count {
    color: #ff6d6d !important;
}

body.wow-shell-page .wow-summary-legend {
    display: flex !important;
    gap: 16px !important;
    margin-top: 10px !important;
    padding: 9px !important;
    background: rgba(255, 255, 255, .05) !important;
    border-radius: 4px !important;
    color: #d6dee6 !important;
    font-size: 13px !important;
}

body.light-mode.wow-shell-page #content {
    background: #eef0f2 !important;
}

body.light-mode.wow-shell-page .wow-raidplanner-page {
    color: #17202a !important;
    background: linear-gradient(180deg, #f1f3f5 0%, #e4e8ec 100%) !important;
}

body.light-mode.wow-shell-page .wow-raid-brand-card,
body.light-mode.wow-shell-page .wow-raid-panel,
body.light-mode.wow-shell-page .wow-summary-panel,
body.light-mode.wow-shell-page .wow-group-card,
body.light-mode.wow-shell-page .wow-stats-card,
body.light-mode.wow-shell-page .wow-warning-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(235, 240, 244, .98)) !important;
    border-color: rgba(22, 32, 42, .16) !important;
    box-shadow: 0 16px 34px rgba(20, 30, 40, .12) !important;
}

body.light-mode.wow-shell-page .wow-group-card h2 {
    background: linear-gradient(180deg, #dce4ea, #cfd8df) !important;
    border-bottom-color: rgba(20, 30, 40, .12) !important;
}

body.light-mode.wow-shell-page .wow-raid-edit label,
body.light-mode.wow-shell-page .wow-raid-form label,
body.light-mode.wow-shell-page .wow-raid-brand-card p,
body.light-mode.wow-shell-page .wow-summary-panel p,
body.light-mode.wow-shell-page .wow-drag-hint,
body.light-mode.wow-shell-page .wow-stats-text span {
    color: #4e5b66 !important;
}

body.light-mode.wow-shell-page .wow-raidplanner-page input,
body.light-mode.wow-shell-page .wow-raidplanner-page select,
body.light-mode.wow-shell-page .wow-raidplanner-page textarea {
    color: #121820 !important;
    background: #ffffff !important;
    border-color: rgba(30, 43, 56, .28) !important;
}

body.light-mode.wow-shell-page .wow-raidplanner-page input:disabled,
body.light-mode.wow-shell-page .wow-raidplanner-page select:disabled,
body.light-mode.wow-shell-page .wow-raidplanner-page textarea:disabled {
    color: #1b2630 !important;
    background: #e9eef2 !important;
    opacity: 1 !important;
}

body.light-mode.wow-shell-page .wow-slot:not(.filled) {
    background: #e8edf1 !important;
    border-top-color: rgba(20, 30, 40, .12) !important;
    color: #17202a !important;
}

body.light-mode.wow-shell-page .wow-slot:not(.filled) .wow-slot-number,
body.light-mode.wow-shell-page .wow-slot:not(.filled) .wow-drag-handle {
    color: #2f3b46 !important;
}

body.light-mode.wow-shell-page .wow-slot:not(.filled) .wow-slot-username,
body.light-mode.wow-shell-page .wow-slot:not(.filled) .wow-slot-spec {
    color: #17202a !important;
    background: #ffffff !important;
    border-color: rgba(30, 43, 56, .32) !important;
}

body.light-mode.wow-shell-page .wow-slot.filled .wow-slot-username,
body.light-mode.wow-shell-page .wow-slot.filled .wow-slot-spec {
    background: #101820 !important;
    color: #f7fbff !important;
}

body.light-mode.wow-shell-page .wow-summary-block {
    background: rgba(255, 255, 255, .72) !important;
    border-color: rgba(20, 30, 40, .12) !important;
}

body.light-mode.wow-shell-page .wow-summary-item,
body.light-mode.wow-shell-page .wow-summary-name,
body.light-mode.wow-shell-page .wow-summary-legend {
    color: #17202a !important;
}

body.light-mode.wow-shell-page .wow-stats-grid {
    background: rgba(255, 255, 255, .62) !important;
    border-color: rgba(20, 30, 40, .12) !important;
}

@media (max-width: 1700px) {
    body.wow-shell-page .wow-raid-shell {
        grid-template-columns: 305px minmax(820px, 1fr) 345px !important;
    }

    body.wow-shell-page .wow-group-grid {
        grid-template-columns: repeat(4, minmax(185px, 1fr)) !important;
    }
}

@media (max-width: 1540px) {
    body.wow-shell-page .wow-raid-shell {
        grid-template-columns: 300px minmax(720px, 1fr) 340px !important;
    }

    body.wow-shell-page .wow-group-grid {
        grid-template-columns: repeat(3, minmax(205px, 1fr)) !important;
    }
}

@media (max-width: 1260px) {
    body.wow-shell-page .wow-raid-shell {
        grid-template-columns: 1fr !important;
    }

    body.wow-shell-page .wow-summary-panel {
        position: static !important;
    }

    body.wow-shell-page .wow-group-grid {
        grid-template-columns: repeat(2, minmax(230px, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    body.wow-shell-page .wow-raidplanner-page {
        padding: 10px !important;
        margin: 0 !important;
    }

    body.wow-shell-page .wow-group-grid,
    body.wow-shell-page .wow-stats-grid,
    body.wow-shell-page .wow-summary-list,
    body.wow-shell-page .wow-raid-modal-row,
    body.wow-shell-page .wow-raid-actions,
    body.wow-shell-page .wow-raid-modal-actions {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   WoW Raidplanner: Schrift + Spec-Icons leicht größer
   ========================================================= */

body.wow-shell-page .wow-raidplanner-page {
    font-size: 15px;
}

/* Panel-Überschriften */
body.wow-shell-page .wow-raidplanner-page .wrp-card-title,
body.wow-shell-page .wow-raidplanner-page .wrp-group-title,
body.wow-shell-page .wow-raidplanner-page .wrp-eval-title,
body.wow-shell-page .wow-raidplanner-page .wrp-events-title {
    font-size: 1.15rem;
}

/* normale Labels / Beschreibungen */
body.wow-shell-page .wow-raidplanner-page label,
body.wow-shell-page .wow-raidplanner-page .wrp-label,
body.wow-shell-page .wow-raidplanner-page .wrp-muted,
body.wow-shell-page .wow-raidplanner-page .wrp-help,
body.wow-shell-page .wow-raidplanner-page .wrp-event-meta,
body.wow-shell-page .wow-raidplanner-page .wrp-eval-desc {
    font-size: 0.95rem;
}

/* Inputs und Selects */
body.wow-shell-page .wow-raidplanner-page input,
body.wow-shell-page .wow-raidplanner-page select,
body.wow-shell-page .wow-raidplanner-page textarea,
body.wow-shell-page .wow-raidplanner-page button {
    font-size: 0.95rem;
}

/* Spielername + Spec-Auswahl in den Slots */
body.wow-shell-page .wow-raidplanner-page .wrp-slot input,
body.wow-shell-page .wow-raidplanner-page .wrp-slot select {
    font-size: 0.95rem;
    min-height: 32px;
}

/* Slotnummern */
body.wow-shell-page .wow-raidplanner-page .wrp-slot-index {
    font-size: 1rem;
    font-weight: 800;
}

/* Drag-Symbol */
body.wow-shell-page .wow-raidplanner-page .wrp-slot-drag {
    font-size: 1.35rem;
}

/* Spec-/Klassenicons im Slot */
body.wow-shell-page .wow-raidplanner-page .wrp-spec-icon,
body.wow-shell-page .wow-raidplanner-page .wrp-slot-icon,
body.wow-shell-page .wow-raidplanner-page img.wrp-spec-icon,
body.wow-shell-page .wow-raidplanner-page img.wrp-slot-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    object-fit: contain;
    image-rendering: auto;
}

/* Icons in der Raid-Auswertung */
body.wow-shell-page .wow-raidplanner-page .wrp-eval-icon,
body.wow-shell-page .wow-raidplanner-page .wrp-stat-icon,
body.wow-shell-page .wow-raidplanner-page img.wrp-eval-icon,
body.wow-shell-page .wow-raidplanner-page img.wrp-stat-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    object-fit: contain;
}

/* Auswertungstexte */
body.wow-shell-page .wow-raidplanner-page .wrp-eval-item,
body.wow-shell-page .wow-raidplanner-page .wrp-eval-row,
body.wow-shell-page .wow-raidplanner-page .wrp-eval-name,
body.wow-shell-page .wow-raidplanner-page .wrp-eval-count {
    font-size: 0.9rem;
}

/* Rollenstatistik unten */
body.wow-shell-page .wow-raidplanner-page .wrp-role-stat {
    font-size: 0.95rem;
}

body.wow-shell-page .wow-raidplanner-page .wrp-role-stat strong,
body.wow-shell-page .wow-raidplanner-page .wrp-role-value {
    font-size: 1.25rem;
}

/* Terminliste */
body.wow-shell-page .wow-raidplanner-page .wrp-event-title {
    font-size: 1rem;
}

body.wow-shell-page .wow-raidplanner-page .wrp-event-sub {
    font-size: 0.9rem;
}