html, body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #12121a;
    color: #eee;
    overscroll-behavior: none;
    touch-action: manipulation;
}

h1, h2, h3 { text-align: center; }

.trees {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding-bottom: 80px;
}

.tree {
    background: #1e1e2c;
    padding: 12px;
    border-radius: 10px;
}

.tree-wrapper { position: relative; }

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    position: relative;
    z-index: 2;
}

.lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.talent {
    position: relative;
    text-align: center;
}

.talent a {
    display: inline-block;
}

.locked {
    opacity: 0.4;
    pointer-events: none;
}

.points {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 0.75em;
    color: #7dff7d;
    z-index: 10;
}

/* Linien */
.line {
    stroke-width: 3;
    fill: none;
}
.line.locked { stroke: #555; }
.line.active {
    stroke: #7aa2ff;
    filter: drop-shadow(0 0 4px #7aa2ff);
}

/* Fullscreen */
.fullscreen-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    padding: 14px 18px;
    border-radius: 50px;
    border: none;
    background: #7aa2ff;
    font-weight: bold;
}

/* Mobile */
@media (max-width: 900px) {
    .trees { flex-direction: column; align-items: center; }
    .tree { width: 100%; max-width: 420px; }
    .fullscreen-btn { display: block; }
}

body.fullscreen {
    height: 100dvh;
    overflow: hidden;
}
/* Wowhead Icons größer machen */
a[data-wowhead] {
    width: 56px !important;
    height: 56px !important;
    background-size: cover !important;
    border-radius: 6px;
    border: 2px solid #555;
}

/* Mobile noch größer */
@media (max-width: 900px) {
    a[data-wowhead] {
        width: 64px !important;
        height: 64px !important;
    }
}
.talent-icon {
    display: inline-block;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    border: 2px solid #555;
}

/* Text niemals anzeigen */
.talent-icon {
    font-size: 0;
}

