body {
    background: #f4f4f4;
    font-family: 'Segoe UI', sans-serif;
    margin: 10;
    padding: 0;
	font-family: 'Inter', sans-serif;
}

.cup-anker h3 {
    position: sticky;
    top: 0;
    background: #f4f4f4;
    padding: 10px;
    z-index: 10;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.laglogo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 5px;
    vertical-align: middle;
}

.kampkort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    background: #f9f9f9;
}

.vinner-hjemme {
    border-color: green;
    background: #e6ffe6;
}

.vinner-borte {
    border-color: green;
    background: #e6ffe6;
}

.kampcontainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.runde-kolonne {
    position: relative;
    min-width: 250px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.runde-container {
	display: flex;
	gap: 100px;
	overflow-x: auto;
	padding: 10px 0;
	position: relative;
}


.kamp-par {
	border: 2px solid #aaa;
	padding: 10px;
	border-radius: 10px;
	background: #fff;
	margin-bottom: 20px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
	cursor: pointer;
}
.kamp-par:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.kampkort-vertikal {
    border: 2px solid #888;
    padding: 10px;
    width: 180px;
    min-height: 60px;
    border-radius: 8px;
    background: #f9f9f9;
    text-align: center;
}

.kampkort-vertikal.vinner {
    border-left: 6px solid #28a745;
    background-color: #e6ffe6;
}

.kampkort-vertikal.taper {
    box-shadow: inset 0 0 0 3px rgba(255, 0, 0, 0.3);
    border-color: #c00;
}

.kamp-blokk {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.kamp-blokk:last-child {
    margin-bottom: 0;
}
.hjemmebane-kol {
    width: 24px;
    text-align: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cup-anker {
    position: relative;
}
.koblingslinje {
    position: absolute;
    background: #999;
    z-index: 0;
}

.kampkort-vertikal.lucky-loser {
    border: 2px solid #ffcc00;
    background-color: #fff8d1;
    box-shadow: inset 0 0 6px rgba(255, 204, 0, 0.5);
    position: relative;
}
.kampkort-vertikal.lucky-loser::after {
    position: absolute;
    bottom: 4px;
    right: 6px;
    font-size: 0.75em;
    color: #cc9900;
    font-weight: bold;
}
.kampkort-finale {
    border: 3px solid gold;
    padding: 15px;
    background: #fff8dc;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 0 10px #aaa;
}

.lag-vs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.lag-blokk {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lag-blokk img.laglogo {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.versus {
    font-weight: bold;
    font-size: 20px;
}

.vinner-visning {
    font-size: 1.1em;
    color: green;
    font-weight: bold;
    margin-top: 10px;
}

.logo-bakgrunn {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    pointer-events: none;
}

.aar-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 20px 0;
}

.aar-link {
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    background: #e0e0e0;
    color: #333;
    font-weight: 500;
    transition: background 0.2s;
}

.aar-link:hover {
    background: #0066cc;
    color: white;
}

.aar-link.aktiv {
    background: #0066cc;
    color: white;
    cursor: default;
}
