.kcc-card {
    background: #111;
    color: #fff;
    border: 2px solid #f6c800;
    border-radius: 16px;
    padding: 18px;
    margin: 18px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.kcc-card a { color: #f6c800; font-weight: 700; }
.kcc-button {
    background: #f6c800;
    color: #111;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 800;
    cursor: pointer;
}
.kcc-button:hover { filter: brightness(.95); }
.kcc-button-secondary { background: #fff; color: #111; }
.kcc-status { margin-top: 0; }
.kcc-status-ok { color: #f6c800; font-weight: 700; }
.kcc-stat-number { font-size: 42px; line-height: 1; font-weight: 900; color: #f6c800; }
.kcc-stat-label { margin-top: 6px; font-weight: 700; }
.kcc-form { display: grid; gap: 10px; max-width: 760px; }
.kcc-form h3 { margin: 0 0 8px; color: #f6c800; }
.kcc-form label { font-weight: 800; }
.kcc-form input[type="text"],
.kcc-form input[type="file"],
.kcc-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    color: #111;
}
.kcc-checkbox { display: flex; gap: 8px; align-items: center; }
.kcc-notice {
    background: #f6c800;
    color: #111;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 800;
    margin: 18px 0;
}
.kcc-error { border-color: #c00; }


.kcc-attendance-card {
    position: relative;
}
.kcc-attendance-card h4 {
    margin: 4px 0 8px;
    color: #f6c800;
    font-size: 20px;
    line-height: 1.2;
}
.kcc-attendance-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: #f6c800;
    color: #111;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.kcc-attendance-match {
    margin: 0 0 10px;
    font-weight: 800;
}
.kcc-attendance-count {
    margin: 10px 0 0;
    opacity: .85;
    font-size: 14px;
}
.kcc-attendance-auto {
    margin: 18px 0 20px;
}


/* v0.1.3: tydelig knapp/lenketekst i alle tema-tilstander */
.kcc-card .kcc-button,
.kcc-card a.kcc-button,
.kcc-card a.kcc-button:link,
.kcc-card a.kcc-button:visited,
.kcc-attendance-card .kcc-button,
.kcc-attendance-card a.kcc-button,
.kcc-attendance-card a.kcc-button:link,
.kcc-attendance-card a.kcc-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background: #f6c800 !important;
    color: #111 !important;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none !important;
    box-shadow: none;
}
.kcc-card .kcc-button:hover,
.kcc-card .kcc-button:focus,
.kcc-card a.kcc-button:hover,
.kcc-card a.kcc-button:focus,
.kcc-attendance-card .kcc-button:hover,
.kcc-attendance-card .kcc-button:focus,
.kcc-attendance-card a.kcc-button:hover,
.kcc-attendance-card a.kcc-button:focus {
    background: #ffdf28 !important;
    color: #111 !important;
    text-decoration: none !important;
    filter: none;
}
.kcc-card .kcc-button-secondary,
.kcc-card a.kcc-button-secondary,
.kcc-card a.kcc-button-secondary:visited {
    background: #fff !important;
    color: #111 !important;
}

.kcc-my-page h3 {
    margin: 8px 0 6px;
    color: #f6c800;
    font-size: 26px;
}
.kcc-my-intro {
    margin-top: 0;
    opacity: .9;
}
.kcc-my-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.kcc-my-stat {
    background: linear-gradient(180deg, #191919, #111);
    border: 1px solid rgba(246, 200, 0, .32);
    border-radius: 14px;
    padding: 14px;
}
.kcc-my-stat span {
    display: block;
    color: #f6c800;
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
}
.kcc-my-stat small {
    display: block;
    margin-top: 6px;
    color: #fff;
    opacity: .85;
    font-weight: 800;
}
.kcc-my-match-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.kcc-my-match-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    background: #151515;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 12px 14px;
}
.kcc-my-match-row strong,
.kcc-my-match-row span {
    display: block;
}
.kcc-my-match-row span {
    margin-top: 4px;
    opacity: .8;
    font-size: 14px;
}
.kcc-my-match-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.kcc-my-match-actions a {
    color: #f6c800 !important;
    font-weight: 900;
}
@media (max-width: 640px) {
    .kcc-my-match-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .kcc-my-match-actions {
        white-space: normal;
    }
}

/* v0.1.4: Min Kråkenytt-side – første/siste kamp og fjern-knapp */
.kcc-my-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}
.kcc-my-highlight {
    background: #151515;
    border: 1px solid rgba(246, 200, 0, .28);
    border-radius: 14px;
    padding: 12px 14px;
}
.kcc-my-highlight small,
.kcc-my-highlight strong {
    display: block;
}
.kcc-my-highlight small {
    color: #f6c800;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .04em;
    margin-bottom: 5px;
}
.kcc-my-highlight strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}
.kcc-my-remove-form {
    margin: 0;
}
.kcc-link-button {
    background: transparent;
    color: #f6c800 !important;
    border: 0;
    padding: 0;
    font-weight: 900;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.kcc-link-button:hover,
.kcc-link-button:focus {
    color: #ffdf28 !important;
}

/* v0.1.6: Hvem var på kampen */
.kcc-attendance-people {
    margin-top: 14px;
}
.kcc-attendance-people .kcc-attendance-count {
    margin: 0 0 8px;
    color: #fff;
    font-weight: 800;
}
.kcc-attendee-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.kcc-attendee-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(246, 200, 0, .14);
    border: 1px solid rgba(246, 200, 0, .35);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    padding: 8px 11px;
}
.kcc-attendee-more {
    position: relative;
    display: inline-block;
}
.kcc-attendee-more summary {
    list-style: none;
    cursor: pointer;
    background: #f6c800;
    color: #111 !important;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    padding: 8px 11px;
}
.kcc-attendee-more summary::-webkit-details-marker {
    display: none;
}
.kcc-attendee-more-list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    max-width: min(320px, 80vw);
    background: #111;
    border: 1px solid rgba(246, 200, 0, .6);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.45);
    padding: 10px;
}
.kcc-attendee-more-list span {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.kcc-attendee-more-list span:last-child {
    border-bottom: 0;
}

/* v0.1.6.1: Profil og identitet */
.kcc-profile-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 16px;
    align-items: start;
    background: #151515;
    border: 1px solid rgba(246, 200, 0, .34);
    border-radius: 16px;
    padding: 16px;
    margin: 18px 0;
}
.kcc-profile-kicker {
    color: #f6c800;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.kcc-profile-box h4 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 20px;
}
.kcc-profile-warning,
.kcc-profile-ok {
    margin: 0;
    line-height: 1.45;
}
.kcc-profile-warning {
    color: #f6c800;
    font-weight: 800;
}
.kcc-profile-form {
    display: grid;
    gap: 10px;
}
.kcc-profile-form label {
    display: grid;
    gap: 6px;
    color: #fff;
    font-weight: 800;
}
.kcc-profile-form input[type="text"] {
    width: 100%;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: #fff;
    color: #111;
    padding: 10px 12px;
}
.kcc-profile-notice {
    margin: 0 0 12px;
}
@media (max-width: 760px) {
    .kcc-profile-box {
        grid-template-columns: 1fr;
    }
}

/* v0.1.7: Supportertabell og engangsbekreftelse */
.kcc-notice-fade {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .5s ease, transform .5s ease;
}
.kcc-supporter-table h3 {
    margin: 8px 0 6px;
    color: #f6c800;
    font-size: 26px;
}
.kcc-supporter-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.kcc-supporter-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 88px 96px;
    gap: 12px;
    align-items: center;
    background: #151515;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 12px 14px;
}
.kcc-supporter-rank {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f6c800;
    color: #111;
    font-weight: 950;
}
.kcc-supporter-main strong,
.kcc-supporter-main span,
.kcc-supporter-total strong,
.kcc-supporter-total span,
.kcc-supporter-goals strong,
.kcc-supporter-goals span {
    display: block;
}
.kcc-supporter-main strong {
    color: #fff;
    font-size: 16px;
}
.kcc-supporter-main span {
    margin-top: 4px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 700;
}
.kcc-supporter-total,
.kcc-supporter-goals {
    text-align: right;
}
.kcc-supporter-total strong,
.kcc-supporter-goals strong {
    color: #f6c800;
    font-size: 25px;
    line-height: 1;
    font-weight: 950;
}
.kcc-supporter-total span,
.kcc-supporter-goals span {
    margin-top: 5px;
    color: rgba(255,255,255,.8);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}
@media (max-width: 700px) {
    .kcc-supporter-row {
        grid-template-columns: 38px minmax(0, 1fr);
    }
    .kcc-supporter-total,
    .kcc-supporter-goals {
        grid-column: 2;
        text-align: left;
        display: inline-block;
        margin-right: 18px;
    }
}


/* v0.1.7.3: Supporterprofil light */
.kcc-supporter-profile h3 {
    margin: 8px 0 6px;
    color: #f6c800;
    font-size: 28px;
}
.kcc-supporter-name-link,
.kcc-supporter-name-link:visited {
    color: #fff !important;
    text-decoration: none !important;
}
.kcc-supporter-name-link:hover,
.kcc-supporter-name-link:focus {
    color: #f6c800 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.kcc-supporter-back,
.kcc-supporter-back:visited {
    color: #f6c800 !important;
    font-weight: 900;
}


/* v0.1.7.4: Anchor positioning for supporter profile */
#kcc-supporter-profile,
#kcc-supporter-table {
    scroll-margin-top: 120px;
}


/* v0.1.8: Badges & milestones */
.kcc-section-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin: 22px 0 12px;
}
.kcc-section-title-row h3 {
    margin: 0;
    color: #f6c800;
    font-size: 22px;
}
.kcc-section-title-row span {
    color: #f6c800;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.kcc-muted {
    color: #ddd;
    opacity: .85;
}
.kcc-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}
.kcc-badge-card {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(246, 200, 0, .35);
    border-radius: 14px;
    padding: 13px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.12));
}
.kcc-badge-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #f6c800;
    color: #111;
    font-weight: 900;
    box-shadow: 0 0 0 3px rgba(246, 200, 0, .12);
}
.kcc-badge-card strong {
    display: block;
    color: #fff;
    font-size: 15px;
}
.kcc-badge-card small {
    display: block;
    color: #ddd;
    margin-top: 3px;
    line-height: 1.35;
}


/* v0.1.9: Visible locked badges and progress */
.kcc-badge-group-title {
    margin: 14px 0 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.kcc-badge-group-title-locked {
    margin-top: 22px;
    color: #f6c800;
}
.kcc-badge-locked {
    opacity: .78;
    border-color: rgba(255, 255, 255, .16);
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.16));
}
.kcc-badge-icon-locked {
    background: #222;
    color: #f6c800;
    border: 1px solid rgba(246, 200, 0, .35);
}
.kcc-badge-progress-label {
    margin-top: 7px;
    color: #f6c800;
    font-size: 12px;
    font-weight: 900;
}
.kcc-badge-progress {
    margin-top: 5px;
    height: 6px;
    width: 100%;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    overflow: hidden;
}
.kcc-badge-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #f6c800;
}


/* v0.1.10: Public supporter profile route */
.kcc-public-supporter-wrap {
    padding: 48px 18px;
}
.kcc-public-supporter-inner {
    max-width: 980px;
    margin: 0 auto;
}


/* v0.2.1: Expanded supporter profiles */
.kcc-profile-box-expanded {
    display: block;
}
.kcc-profile-top,
.kcc-supporter-profile-hero {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}
.kcc-avatar {
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #f6c800;
    color: #111;
    font-weight: 1000;
    font-size: 28px;
    box-shadow: 0 0 0 4px rgba(246,200,0,.15), 0 12px 28px rgba(0,0,0,.35);
}
.kcc-profile-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.kcc-profile-form-expanded input,
.kcc-profile-form-expanded textarea {
    width: 100%;
}
.kcc-profile-bio-label {
    display: block;
    margin-top: 14px;
}
.kcc-profile-bio-label textarea {
    resize: vertical;
}
.kcc-supporter-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.kcc-supporter-facts div,
.kcc-supporter-bio {
    border: 1px solid rgba(246,200,0,.28);
    border-radius: 14px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.12));
}
.kcc-supporter-facts small {
    display: block;
    color: #f6c800;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.kcc-supporter-facts strong {
    color: #fff;
    font-size: 16px;
}
.kcc-supporter-bio {
    color: #eee;
    line-height: 1.55;
}
.kcc-supporter-bio p {
    margin: 0;
}
@media (max-width: 700px) {
    .kcc-profile-field-grid,
    .kcc-supporter-facts {
        grid-template-columns: 1fr;
    }
    .kcc-profile-top,
    .kcc-supporter-profile-hero {
        align-items: flex-start;
    }
}


/* v0.2.2: Supporter table polish + museum frontend */
.kcc-supporter-row {
    grid-template-columns: auto auto 1fr auto auto auto;
}
.kcc-supporter-avatar-mini .kcc-avatar {
    font-size: 14px;
    box-shadow: 0 0 0 2px rgba(246,200,0,.12);
}
.kcc-museum-wrap h3 {
    margin: 8px 0 8px;
    color: #f6c800;
    font-size: 30px;
}
.kcc-museum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 20px;
}
.kcc-museum-card {
    border: 1px solid rgba(246,200,0,.28);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.18));
    box-shadow: 0 18px 38px rgba(0,0,0,.22);
}
.kcc-museum-image-wrap {
    aspect-ratio: 4 / 3;
    background: #050505;
    display: grid;
    place-items: center;
    border-bottom: 1px solid rgba(246,200,0,.22);
}
.kcc-museum-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.kcc-museum-placeholder {
    color: #f6c800;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.kcc-museum-content {
    padding: 16px;
}
.kcc-museum-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.kcc-museum-meta span {
    background: rgba(246,200,0,.12);
    border: 1px solid rgba(246,200,0,.35);
    color: #f6c800;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 900;
}
.kcc-museum-content h4 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 20px;
}
.kcc-museum-content p {
    color: #eee;
    margin: 0 0 10px;
    line-height: 1.45;
}
.kcc-museum-story {
    color: #ddd;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 12px;
    padding-top: 12px;
}
.kcc-museum-story p {
    margin: 0;
}
.kcc-museum-credit {
    margin-top: 14px;
    color: #f6c800;
    font-size: 13px;
    font-weight: 900;
}
.kcc-museum-empty {
    margin-top: 18px;
    border: 1px dashed rgba(246,200,0,.45);
    border-radius: 16px;
    padding: 18px;
}
@media (max-width: 700px) {
    .kcc-supporter-row {
        grid-template-columns: auto 1fr;
    }
    .kcc-supporter-avatar-mini,
    .kcc-supporter-metric {
        display: none;
    }
}


/* v0.2.4 safe scoped museum modal */
.kcc-museum-clickable {
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}
.kcc-museum-clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px rgba(0,0,0,.35);
}
.kcc-museum-readmore {
    margin-top: 14px;
    background: #f6c800;
    color: #000;
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
}
.kcc-museum-wrap .kcc-museum-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.82);
    z-index: 99999;
    padding: 40px 18px;
    overflow: auto;
}
.kcc-museum-wrap .kcc-museum-modal-inner {
    max-width: 900px;
    margin: 0 auto;
    background: #050505;
    border: 2px solid rgba(246,200,0,.35);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,.55);
}
.kcc-museum-wrap .kcc-museum-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #f6c800;
    color: #000;
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
    z-index: 2;
}
.kcc-museum-wrap .kcc-museum-modal-content .kcc-museum-card {
    border: 0;
    box-shadow: none;
    cursor: default;
}
.kcc-museum-wrap .kcc-museum-modal-content .kcc-museum-card:hover {
    transform: none;
}


/* v0.2.5 museum pro */
.kcc-museum-pro {
    overflow: visible;
}
.kcc-museum-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.kcc-museum-hero-stat {
    border: 1px solid rgba(246,200,0,.35);
    border-radius: 18px;
    padding: 16px 18px;
    min-width: 130px;
    text-align: center;
    background: linear-gradient(180deg, rgba(246,200,0,.10), rgba(0,0,0,.12));
}
.kcc-museum-hero-stat span {
    display: block;
    color: #f6c800;
    font-size: 34px;
    font-weight: 1000;
}
.kcc-museum-hero-stat small {
    color: #fff;
    font-weight: 800;
}
.kcc-museum-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
    margin: 18px 0 24px;
}
.kcc-museum-category-card {
    border: 1px solid rgba(246,200,0,.25);
    border-radius: 15px;
    padding: 13px;
    color: #fff !important;
    background: rgba(255,255,255,.035);
    text-decoration: none !important;
}
.kcc-museum-category-card:hover,
.kcc-museum-category-card.is-active {
    background: #f6c800;
    color: #111 !important;
}
.kcc-museum-category-card strong {
    display: block;
    font-size: 14px;
}
.kcc-museum-category-card span {
    display: block;
    font-size: 12px;
    opacity: .82;
    margin-top: 3px;
}
.kcc-museum-grid {
    align-items: start;
}
.kcc-museum-card {
    display: flex;
    flex-direction: column;
}
.kcc-museum-image-wrap {
    height: 260px;
    aspect-ratio: auto;
}
.kcc-museum-content {
    min-height: 260px;
}
.kcc-museum-story-preview {
    max-height: 86px;
    overflow: hidden;
    position: relative;
}
.kcc-museum-modal-inner {
    max-width: 980px !important;
}
.kcc-museum-modal-card {
    background: #050505;
}
.kcc-museum-modal-image-wrap {
    max-height: 70vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(246,200,0,.28);
}
.kcc-museum-modal-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
.kcc-museum-modal-body {
    padding: 26px;
}
.kcc-museum-modal-body h2 {
    color: #f6c800;
    margin: 10px 0;
    font-size: 32px;
}
.kcc-museum-modal-description {
    color: #fff;
    font-size: 17px;
    line-height: 1.55;
}
.kcc-museum-modal-story {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 18px;
    padding-top: 18px;
    color: #eee;
    font-size: 16px;
    line-height: 1.65;
}
@media (max-width: 700px) {
    .kcc-museum-hero {
        flex-direction: column;
    }
}


/* v0.2.6 museum refinements */
.kcc-museum-submit-cta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(246,200,0,.35);
    border-radius: 18px;
    padding: 18px;
    margin: 18px 0 22px;
    background: linear-gradient(135deg, rgba(246,200,0,.12), rgba(255,255,255,.035));
}
.kcc-museum-submit-cta strong {
    color: #f6c800;
    font-size: 20px;
}
.kcc-museum-submit-cta p {
    margin: 5px 0 0;
    color: #eee;
}
.kcc-museum-submit-hint {
    color: #f6c800;
    font-weight: 900;
}
.kcc-museum-year-filter {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 14px;
    margin: 0 0 22px;
    background: rgba(255,255,255,.025);
}
.kcc-museum-year-filter strong {
    display: block;
    color: #f6c800;
    margin-bottom: 10px;
}
.kcc-museum-year-filter div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.kcc-museum-year-filter a {
    color: #fff !important;
    border: 1px solid rgba(246,200,0,.25);
    border-radius: 999px;
    padding: 7px 11px;
    text-decoration: none !important;
    font-weight: 800;
}
.kcc-museum-year-filter a.is-active,
.kcc-museum-year-filter a:hover {
    background: #f6c800;
    color: #111 !important;
}
.kcc-museum-card .kcc-museum-image-wrap {
    height: 250px;
}
.kcc-museum-card .kcc-museum-content {
    background: #080808;
}
.kcc-museum-story-preview {
    color: #ddd;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 10px;
    margin-top: 10px;
}
@media (max-width: 700px) {
    .kcc-museum-submit-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* v0.3.0 Museum Experience */
.kcc-museum-experience{position:relative;background:radial-gradient(circle at 20% 0%,rgba(246,200,0,.10),transparent 34%),linear-gradient(180deg,#0b0b0b,#050505)!important}
.kcc-museum-hero-experience h3{font-size:clamp(34px,5vw,58px);line-height:.98;letter-spacing:-.04em;max-width:760px}
.kcc-museum-featured{display:grid;grid-template-columns:minmax(260px,44%) 1fr;border:1px solid rgba(246,200,0,.35);border-radius:24px;overflow:hidden;margin:24px 0;background:#070707;box-shadow:0 28px 60px rgba(0,0,0,.38)}
.kcc-museum-featured-image-wrap{min-height:330px;background:#000}.kcc-museum-featured-image{width:100%;height:100%;object-fit:cover;display:block}.kcc-museum-featured-content{padding:clamp(24px,4vw,42px);display:flex;flex-direction:column;justify-content:center}.kcc-museum-featured-label{color:#111;background:#f6c800;width:fit-content;border-radius:999px;padding:6px 12px;font-weight:1000;text-transform:uppercase;font-size:12px;margin-bottom:12px}.kcc-museum-featured-content h2{color:#f6c800;font-size:clamp(28px,4vw,44px);line-height:1.05;margin:0 0 12px}.kcc-museum-featured-content p{color:#eee;line-height:1.6;font-size:16px}.kcc-museum-featured-link,.kcc-museum-featured-link:visited{display:inline-block;width:fit-content;margin-top:14px;background:#f6c800;color:#111!important;border-radius:999px;padding:11px 16px;font-weight:1000;text-decoration:none!important}
.kcc-museum-masonry{column-count:2;column-gap:18px;margin-top:24px}.kcc-museum-object-card{display:inline-block;width:100%;margin:0 0 18px;break-inside:avoid;border-radius:22px;overflow:hidden;border:1px solid rgba(246,200,0,.28);background:#090909;box-shadow:0 20px 46px rgba(0,0,0,.30);position:relative}.kcc-museum-object-card:hover{transform:translateY(-5px);box-shadow:0 30px 66px rgba(0,0,0,.45),0 0 0 1px rgba(246,200,0,.45)}.kcc-museum-card-main,.kcc-museum-card-main:visited{color:inherit!important;text-decoration:none!important;display:block}.kcc-museum-object-card .kcc-museum-image-wrap{height:310px;background:#000;position:relative;border-bottom:1px solid rgba(246,200,0,.20)}.kcc-museum-object-card.is-large .kcc-museum-image-wrap{height:420px}.kcc-museum-object-card.is-tall .kcc-museum-image-wrap{height:380px}.kcc-museum-object-card .kcc-museum-image{width:100%;height:100%;object-fit:cover;transition:transform .28s ease,filter .28s ease}.kcc-museum-object-card:hover .kcc-museum-image{transform:scale(1.045);filter:saturate(1.08) contrast(1.04)}.kcc-museum-object-labels{position:absolute;top:14px;left:14px;right:14px;display:flex;gap:8px;flex-wrap:wrap;z-index:2}.kcc-museum-object-labels span,.kcc-museum-modal-body .kcc-museum-meta span,.kcc-museum-object-page .kcc-museum-meta span{background:rgba(246,200,0,.92);color:#111;border:0;box-shadow:0 6px 18px rgba(0,0,0,.25)}.kcc-museum-object-card .kcc-museum-content{padding:18px;min-height:0;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(0,0,0,.05))}.kcc-museum-object-card .kcc-museum-content h4{font-size:22px;line-height:1.15;color:#fff}.kcc-museum-object-card .kcc-museum-story-preview{max-height:none;border-top:1px solid rgba(255,255,255,.10)}.kcc-museum-object-card .kcc-museum-readmore{margin:0 18px 18px}
.kcc-public-museum-object-wrap{padding:48px 18px}.kcc-public-museum-object-inner{max-width:1180px;margin:0 auto}.kcc-museum-object-page h1{color:#f6c800;font-size:clamp(34px,5vw,60px);line-height:1;margin:8px 0 14px}.kcc-museum-object-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:22px}.kcc-museum-back-link,.kcc-museum-back-link:visited{color:#f6c800!important;font-weight:1000}.kcc-museum-object-layout{display:grid;grid-template-columns:minmax(300px,54%) 1fr;gap:24px;align-items:start}.kcc-museum-object-image-frame{background:#000;border:1px solid rgba(246,200,0,.30);border-radius:22px;overflow:hidden;box-shadow:0 26px 60px rgba(0,0,0,.36)}.kcc-museum-object-image{width:100%;height:auto;display:block}.kcc-museum-object-text{border:1px solid rgba(246,200,0,.22);border-radius:22px;padding:24px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(0,0,0,.10))}.kcc-museum-object-description{color:#fff;font-size:18px;line-height:1.55}.kcc-museum-object-story{color:#eee;border-top:1px solid rgba(255,255,255,.12);margin-top:18px;padding-top:18px;font-size:17px;line-height:1.7}
@media(max-width:900px){.kcc-museum-featured,.kcc-museum-object-layout{grid-template-columns:1fr}.kcc-museum-masonry{column-count:1}.kcc-museum-object-top{flex-direction:column}}


/* v0.3.1 Museum card polish */
.kcc-museum-object-card {
    display: inline-flex;
    flex-direction: column;
}
.kcc-museum-object-card .kcc-museum-card-main {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.kcc-museum-object-card .kcc-museum-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 14px;
}
.kcc-museum-object-card .kcc-museum-content h4 {
    margin-bottom: 8px;
}
.kcc-museum-object-card .kcc-museum-content p {
    margin-bottom: 8px;
}
.kcc-museum-object-card .kcc-museum-story-preview {
    max-height: 58px;
    overflow: hidden;
    position: relative;
    margin-top: 8px;
    padding-top: 8px;
}
.kcc-museum-object-card .kcc-museum-story-preview:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26px;
    background: linear-gradient(to bottom, rgba(8,8,8,0), #080808);
}
.kcc-museum-object-card .kcc-museum-credit {
    margin-top: auto;
    padding-top: 12px;
}
.kcc-museum-object-card .kcc-museum-readmore {
    width: fit-content;
    margin: 0 18px 18px;
}


/* v0.3.2 Museum object cards: text beside image, not below */
.kcc-museum-masonry {
    column-count: unset !important;
    column-gap: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
}
.kcc-museum-object-card,
.kcc-museum-object-card.is-large,
.kcc-museum-object-card.is-tall {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}
.kcc-museum-object-card .kcc-museum-card-main {
    display: grid !important;
    grid-template-columns: minmax(260px, 42%) 1fr !important;
    align-items: stretch !important;
    min-height: 300px;
}
.kcc-museum-object-card .kcc-museum-image-wrap,
.kcc-museum-object-card.is-large .kcc-museum-image-wrap,
.kcc-museum-object-card.is-tall .kcc-museum-image-wrap {
    height: 100% !important;
    min-height: 300px !important;
    border-bottom: 0 !important;
    border-right: 1px solid rgba(246,200,0,.22) !important;
}
.kcc-museum-object-card .kcc-museum-content {
    min-height: 300px !important;
    padding: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
.kcc-museum-object-card .kcc-museum-content h4 {
    font-size: clamp(24px, 3vw, 38px) !important;
    line-height: 1.05 !important;
    color: #f6c800 !important;
    margin-bottom: 12px !important;
}
.kcc-museum-object-card .kcc-museum-content p {
    font-size: 15px !important;
    line-height: 1.55 !important;
}
.kcc-museum-object-card .kcc-museum-story-preview {
    max-height: 70px !important;
}
.kcc-museum-object-card .kcc-museum-credit {
    margin-top: 16px !important;
}
.kcc-museum-object-card .kcc-museum-readmore {
    margin: -66px 22px 22px auto !important;
    position: relative !important;
    z-index: 3 !important;
}
@media (max-width: 800px) {
    .kcc-museum-object-card .kcc-museum-card-main {
        grid-template-columns: 1fr !important;
    }
    .kcc-museum-object-card .kcc-museum-image-wrap,
    .kcc-museum-object-card.is-large .kcc-museum-image-wrap,
    .kcc-museum-object-card.is-tall .kcc-museum-image-wrap {
        height: 320px !important;
        min-height: 320px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(246,200,0,.22) !important;
    }
    .kcc-museum-object-card .kcc-museum-content {
        min-height: 0 !important;
        justify-content: flex-start !important;
    }
    .kcc-museum-object-card .kcc-museum-readmore {
        margin: 0 22px 22px !important;
    }
}


/* v0.3.3 Museum structure */
.kcc-museum-most-viewed,
.kcc-museum-related {
    margin: 24px 0;
    border-top: 1px solid rgba(246,200,0,.18);
    padding-top: 20px;
}
.kcc-museum-most-viewed .kcc-section-title-row h3,
.kcc-museum-related .kcc-section-title-row h3 {
    color: #f6c800;
    margin: 0;
}
.kcc-museum-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.kcc-museum-mini-card,
.kcc-museum-mini-card:visited {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(246,200,0,.24);
    border-radius: 16px;
    padding: 10px;
    color: #fff !important;
    text-decoration: none !important;
    background: rgba(255,255,255,.035);
}
.kcc-museum-mini-card:hover {
    background: rgba(246,200,0,.10);
    border-color: rgba(246,200,0,.48);
}
.kcc-museum-mini-image-wrap {
    width: 76px;
    height: 66px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}
.kcc-museum-mini-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.kcc-museum-mini-card strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
}
.kcc-museum-mini-card span {
    display: block;
    color: #f6c800;
    font-size: 12px;
    font-weight: 900;
    margin-top: 4px;
}
.kcc-museum-credit a,
.kcc-museum-credit a:visited {
    color: #f6c800 !important;
    text-decoration: underline;
}


/* v0.3.4 Museum direct memory links */
.kcc-museum-direct-link,
.kcc-museum-direct-link:visited {
    display: inline-block;
    text-decoration: none !important;
    color: #111 !important;
}
.kcc-museum-object-card .kcc-museum-direct-link {
    margin: -66px 22px 22px auto !important;
    position: relative !important;
    z-index: 3 !important;
}
@media (max-width: 800px) {
    .kcc-museum-object-card .kcc-museum-direct-link {
        margin: 0 22px 22px !important;
    }
}


/* v0.3.5 supporter profile museum contributions */
.kcc-supporter-museum {
    margin: 24px 0;
    border-top: 1px solid rgba(246,200,0,.18);
    padding-top: 20px;
}
.kcc-supporter-museum .kcc-section-title-row h3 {
    color: #f6c800;
    margin: 0;
}
.kcc-supporter-museum-empty {
    border: 1px dashed rgba(246,200,0,.35);
    border-radius: 16px;
    padding: 16px;
    color: #eee;
    background: rgba(255,255,255,.025);
    margin-top: 12px;
}


/* v0.3.6 museum periods */
.kcc-museum-year-filter strong::after {
    content: "";
}
.kcc-museum-submit-cta + .kcc-museum-categories {
    margin-top: 18px;
}


/* v0.3.7 Museum collectors and stronger relations */
.kcc-museum-collectors {
    margin: 24px 0;
    border-top: 1px solid rgba(246,200,0,.18);
    padding-top: 20px;
}
.kcc-museum-collectors .kcc-section-title-row h3,
.kcc-museum-relation-group .kcc-section-title-row h3 {
    color: #f6c800;
    margin: 0;
}
.kcc-collector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.kcc-collector-card,
.kcc-collector-card:visited {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 12px;
    align-items: center;
    border: 1px solid rgba(246,200,0,.28);
    border-radius: 17px;
    padding: 12px;
    background: rgba(255,255,255,.035);
    color: #fff !important;
    text-decoration: none !important;
}
.kcc-collector-card:hover {
    background: rgba(246,200,0,.10);
    border-color: rgba(246,200,0,.55);
}
.kcc-collector-rank {
    position: absolute;
    top: -9px;
    left: -9px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f6c800;
    color: #111;
    font-weight: 1000;
    font-size: 13px;
}
.kcc-collector-card strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.15;
}
.kcc-collector-card small {
    grid-column: 2;
    color: #f6c800;
    font-weight: 900;
    font-size: 12px;
}
.kcc-view-pill {
    background: #f6c800 !important;
    color: #111 !important;
    font-weight: 1000 !important;
}
.kcc-supporter-row {
    grid-template-columns: auto auto 1fr auto auto auto auto;
}
@media (max-width: 700px) {
    .kcc-supporter-row {
        grid-template-columns: auto 1fr;
    }
}


/* v0.3.8 Kråkeportalen landingpage */
.kcc-portal-wrap {
    color: #fff;
}
.kcc-portal-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(246,200,0,.32);
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 0%, rgba(246,200,0,.22), transparent 34%),
        linear-gradient(135deg, #070707, #111 55%, #050505);
    box-shadow: 0 30px 70px rgba(0,0,0,.36);
    overflow: hidden;
}
.kcc-portal-hero:after {
    content: "KRÅKEPORTALEN";
    position: absolute;
    right: -26px;
    bottom: -16px;
    color: rgba(246,200,0,.055);
    font-size: clamp(54px, 10vw, 130px);
    font-weight: 1000;
    letter-spacing: -.08em;
    pointer-events: none;
}
.kcc-portal-hero h1 {
    color: #f6c800;
    font-size: clamp(46px, 8vw, 86px);
    line-height: .9;
    letter-spacing: -.06em;
    margin: 8px 0 16px;
}
.kcc-portal-hero p {
    max-width: 720px;
    color: #eee;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.45;
}
.kcc-portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.kcc-portal-ghost,
.kcc-portal-ghost:visited {
    color: #f6c800 !important;
    border: 1px solid rgba(246,200,0,.45);
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 1000;
    text-decoration: none !important;
}
.kcc-portal-stat-panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    align-self: center;
}
.kcc-portal-stat-panel div {
    border: 1px solid rgba(246,200,0,.28);
    border-radius: 18px;
    padding: 18px;
    background: rgba(0,0,0,.35);
}
.kcc-portal-stat-panel span {
    display: block;
    color: #f6c800;
    font-size: 34px;
    font-weight: 1000;
}
.kcc-portal-stat-panel small {
    color: #fff;
    font-weight: 900;
}
.kcc-portal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}
.kcc-portal-card,
.kcc-portal-card:visited {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(246,200,0,.25);
    border-radius: 22px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.14));
    color: #fff !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.kcc-portal-card:hover {
    transform: translateY(-4px);
    border-color: rgba(246,200,0,.60);
    background: linear-gradient(180deg, rgba(246,200,0,.12), rgba(0,0,0,.18));
}
.kcc-portal-card span {
    width: fit-content;
    background: rgba(246,200,0,.14);
    color: #f6c800;
    border: 1px solid rgba(246,200,0,.32);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 1000;
    text-transform: uppercase;
}
.kcc-portal-card h2 {
    color: #f6c800;
    font-size: 30px;
    line-height: 1;
    margin: 22px 0 4px;
}
.kcc-portal-card strong {
    color: #fff;
}
.kcc-portal-card p {
    color: #ddd;
    line-height: 1.45;
    margin-bottom: 0;
}
.kcc-portal-card.is-disabled {
    opacity: .65;
}
.kcc-portal-live {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 18px;
    margin-top: 22px;
}
.kcc-portal-live-block {
    border: 1px solid rgba(246,200,0,.22);
    border-radius: 22px;
    padding: 20px;
    background: rgba(255,255,255,.03);
}
.kcc-portal-live-block .kcc-section-title-row a,
.kcc-portal-live-block .kcc-section-title-row a:visited {
    color: #f6c800 !important;
    font-weight: 1000;
}
.kcc-portal-supporter-list {
    display: grid;
    gap: 10px;
}
.kcc-portal-supporter-row,
.kcc-portal-supporter-row:visited {
    display: grid;
    grid-template-columns: 28px auto 1fr auto;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(246,200,0,.18);
    border-radius: 15px;
    padding: 10px;
    color: #fff !important;
    text-decoration: none !important;
}
.kcc-portal-supporter-row:hover {
    background: rgba(246,200,0,.09);
}
.kcc-portal-supporter-row > span {
    background: #f6c800;
    color: #111;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 1000;
}
.kcc-portal-supporter-row small {
    color: #f6c800;
    font-weight: 900;
}
@media (max-width: 900px) {
    .kcc-portal-hero,
    .kcc-portal-live {
        grid-template-columns: 1fr;
    }
    .kcc-portal-grid {
        grid-template-columns: 1fr;
    }
}


/* v0.4.0 Kråkeportalen visual polish */
.kcc-portal-wrap,
.kcc-portal-wrap * {
    box-sizing: border-box;
}
.kcc-portal-wrap {
    color: #fff !important;
}
.kcc-portal-grid {
    align-items: stretch;
}
.kcc-portal-card,
.kcc-portal-card:visited {
    background:
        radial-gradient(circle at 20% 0%, rgba(246,200,0,.10), transparent 34%),
        linear-gradient(180deg, #121212, #070707) !important;
    color: #fff !important;
    border: 1px solid rgba(246,200,0,.35) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.22) !important;
}
.kcc-portal-card:hover {
    background:
        radial-gradient(circle at 20% 0%, rgba(246,200,0,.18), transparent 34%),
        linear-gradient(180deg, #171717, #080808) !important;
    border-color: rgba(246,200,0,.70) !important;
}
.kcc-portal-card h2 {
    color: #f6c800 !important;
    text-shadow: none !important;
}
.kcc-portal-card strong,
.kcc-portal-card p {
    color: #f2f2f2 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
.kcc-portal-card p {
    color: #d8d8d8 !important;
}
.kcc-portal-card span {
    background: rgba(246,200,0,.15) !important;
    color: #f6c800 !important;
    border-color: rgba(246,200,0,.42) !important;
}
.kcc-portal-live-block {
    background:
        radial-gradient(circle at 20% 0%, rgba(246,200,0,.08), transparent 30%),
        linear-gradient(180deg, #111, #070707) !important;
    border: 1px solid rgba(246,200,0,.32) !important;
    color: #fff !important;
}
.kcc-portal-live-block h3 {
    color: #f6c800 !important;
}
.kcc-portal-live-block .kcc-museum-mini-card,
.kcc-portal-supporter-row {
    background: rgba(255,255,255,.035) !important;
    border-color: rgba(246,200,0,.25) !important;
}
.kcc-portal-live-block .kcc-museum-mini-card strong,
.kcc-portal-supporter-row strong {
    color: #fff !important;
}
.kcc-portal-live-block .kcc-museum-mini-card span,
.kcc-portal-supporter-row small {
    color: #f6c800 !important;
}


/* v0.4.1 Kråkeportalen naming + submit form */
.kcc-portal-submit-memory {
    margin: 22px 0;
    border: 1px solid rgba(246,200,0,.32);
    border-radius: 24px;
    padding: 22px;
    background:
        radial-gradient(circle at 20% 0%, rgba(246,200,0,.10), transparent 34%),
        linear-gradient(180deg, #111, #070707);
    color: #fff;
}
.kcc-portal-submit-memory h3 {
    color: #f6c800 !important;
    margin: 0;
}
.kcc-portal-submit-memory > p {
    color: #ddd;
    margin: 8px 0 18px;
}
.kcc-portal-submit-memory .kcc-card {
    margin: 0;
    box-shadow: none;
}


/* v0.4.2 Kråkeportalen production links + upcoming cards */
.kcc-portal-card.is-disabled {
    opacity: .78 !important;
    background:
        radial-gradient(circle at 20% 0%, rgba(246,200,0,.13), transparent 34%),
        linear-gradient(180deg, #141414, #090909) !important;
}
.kcc-portal-card.is-disabled:hover {
    transform: none;
    border-color: rgba(246,200,0,.38) !important;
}


/* v0.4.3 Museum multi-image gallery */
.kcc-field-help {
    display: block;
    color: #cfcfcf;
    font-size: 12px;
    margin-top: 6px;
}
.kcc-museum-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    padding: 10px;
    border-top: 1px solid rgba(246,200,0,.22);
    background: rgba(0,0,0,.35);
}
.kcc-museum-gallery a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(246,200,0,.28);
}
.kcc-museum-gallery-thumb {
    width: 100%;
    height: 72px;
    object-fit: cover;
    display: block;
}
.kcc-admin-gallery-count {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #555;
}


/* v0.4.4 admin museum gallery */
.kcc-admin-museum-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 280px;
}
.kcc-admin-museum-gallery-item {
    display: block;
    width: 74px;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.kcc-admin-museum-gallery-item.is-main {
    border-color: #d6a800;
}
.kcc-admin-museum-gallery-item img {
    display: block;
    width: 74px;
    height: 74px;
    object-fit: cover;
}
.kcc-admin-museum-gallery-item span {
    display: block;
    font-size: 10px;
    line-height: 1.1;
    padding: 3px 4px;
    color: #111;
    background: #f6c800;
    font-weight: 700;
    text-align: center;
}
.kcc-admin-gallery-count {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #555;
}
.kcc-admin-wrap .kcc-admin-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-left: 6px solid #f6c800;
    padding: 18px;
    margin-top: 18px;
    max-width: 1180px;
}
.kcc-ok { color: #008a20; font-weight: 700; }
.kcc-muted { color: #666; }
.kcc-admin-card code { display: inline-block; margin: 4px 0; padding: 5px 8px; }


/* v0.2.5 museum admin edit */
.kcc-admin-museum-edit-form label {
    display: block;
    margin-top: 9px;
}
.kcc-admin-museum-edit-form input.regular-text,
.kcc-admin-museum-edit-form select,
.kcc-admin-museum-edit-form textarea {
    width: 100%;
    max-width: 720px;
}
.kcc-museum-admin-table td {
    vertical-align: top;
}


/* v0.2.6 museum categories */
.kcc-admin-category-box {
    background: #fff;
    border-left: 4px solid #f6c800;
    padding: 16px;
    margin: 18px 0;
    max-width: 900px;
}


/* v0.3.6 museum period select */
.kcc-admin-museum-edit-form select[name="year"] {
    width: 100%;
    max-width: 720px;
}


/* v0.4.4 admin museum gallery */
.kcc-admin-museum-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 280px;
}
.kcc-admin-museum-gallery-item {
    display: block;
    width: 74px;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.kcc-admin-museum-gallery-item.is-main {
    border-color: #d6a800;
}
.kcc-admin-museum-gallery-item img {
    display: block;
    width: 74px;
    height: 74px;
    object-fit: cover;
}
.kcc-admin-museum-gallery-item span {
    display: block;
    font-size: 10px;
    line-height: 1.1;
    padding: 3px 4px;
    color: #111;
    background: #f6c800;
    font-weight: 700;
    text-align: center;
}
.kcc-admin-gallery-count {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #555;
}


/* v0.4.5 admin museum controls */
.kcc-admin-museum-gallery-item label {
    display: block;
    background: #f6c800;
    color: #111;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    padding: 3px 4px;
}
.kcc-admin-museum-gallery-item label input {
    margin: 0 2px 0 0;
}
.kcc-delete-museum-button {
    margin-top: 8px !important;
    color: #b32d2e !important;
    border-color: #b32d2e !important;
}


/* v0.4.6 admin museum image order and delete */
.kcc-admin-museum-gallery {
    gap: 10px !important;
}
.kcc-admin-museum-gallery-item {
    width: 94px !important;
    border: 2px solid rgba(0,0,0,.12);
    border-radius: 8px;
    padding: 4px;
    background: #fff;
}
.kcc-admin-museum-gallery-item.is-main {
    border-color: #d6a800 !important;
    box-shadow: 0 0 0 2px rgba(246,200,0,.22);
}
.kcc-admin-museum-gallery-item a {
    display: block;
}
.kcc-admin-museum-gallery-item img {
    width: 84px !important;
    height: 84px !important;
    object-fit: cover;
}
.kcc-admin-main-radio,
.kcc-admin-image-order {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    margin-top: 4px;
}
.kcc-admin-image-order span {
    display: block;
    margin-bottom: 2px;
}
.kcc-admin-image-order select {
    width: 100%;
    font-size: 11px;
}
.kcc-admin-delete-museum-form {
    margin-top: 8px;
}
.kcc-delete-museum-button {
    color: #b32d2e !important;
    border-color: #b32d2e !important;
}


/* v0.4.7 admin nonce/form fix */
.kcc-delete-museum-button {
    display: inline-block;
    margin-top: 8px !important;
    color: #b32d2e !important;
    border-color: #b32d2e !important;
}
.kcc-admin-museum-gallery-item label input,
.kcc-admin-museum-gallery-item select {
    max-width: 100%;
}


/* v0.4.8 Professional museum gallery/lightbox */
.kcc-museum-main-image-button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    color: inherit;
}
.kcc-museum-main-image-button img {
    display: block;
    width: 100%;
}
.kcc-museum-main-image-button span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: #f6c800;
    color: #111;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.kcc-museum-gallery {
    display: flex;
    gap: 10px;
    padding: 12px;
    overflow-x: auto;
    border-top: 1px solid rgba(246,200,0,.22);
    background: rgba(0,0,0,.46);
}
.kcc-museum-gallery-thumb-button {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    padding: 0;
    border: 2px solid rgba(246,200,0,.22);
    border-radius: 12px;
    background: #090909;
    overflow: hidden;
    cursor: pointer;
    opacity: .78;
}
.kcc-museum-gallery-thumb-button:hover,
.kcc-museum-gallery-thumb-button.is-active {
    opacity: 1;
    border-color: #f6c800;
}
.kcc-museum-gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.kcc-lightbox-open {
    overflow: hidden;
}
.kcc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}
.kcc-lightbox.is-open {
    display: block;
}
.kcc-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.86);
    backdrop-filter: blur(5px);
}
.kcc-lightbox-dialog {
    position: absolute;
    inset: 24px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    border: 1px solid rgba(246,200,0,.42);
    border-radius: 22px;
    background: #050505;
    box-shadow: 0 30px 90px rgba(0,0,0,.7);
    overflow: hidden;
}
.kcc-lightbox-stage {
    min-height: 0;
    display: grid;
    place-items: center;
    padding: 26px 76px 18px;
}
.kcc-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 70px rgba(0,0,0,.45);
}
.kcc-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #f6c800;
    color: #111;
    font-size: 32px;
    line-height: 1;
    font-weight: 1000;
    cursor: pointer;
    z-index: 3;
}
.kcc-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 74px;
    border: 1px solid rgba(246,200,0,.38);
    border-radius: 999px;
    background: rgba(0,0,0,.68);
    color: #f6c800;
    font-size: 56px;
    line-height: .8;
    cursor: pointer;
    z-index: 3;
}
.kcc-lightbox-arrow:hover {
    background: #f6c800;
    color: #111;
}
.kcc-lightbox-prev { left: 18px; }
.kcc-lightbox-next { right: 18px; }
.kcc-lightbox-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 22px;
    border-top: 1px solid rgba(246,200,0,.18);
    color: #fff;
}
.kcc-lightbox-title {
    display: block;
    color: #f6c800;
    font-size: 18px;
    line-height: 1.2;
}
.kcc-lightbox-caption {
    display: block;
    color: #ddd;
    margin-top: 3px;
}
.kcc-lightbox-count {
    color: #f6c800;
    font-weight: 1000;
    white-space: nowrap;
}
.kcc-lightbox-thumbs {
    display: flex;
    gap: 8px;
    padding: 0 22px 18px;
    overflow-x: auto;
}
.kcc-lightbox-thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border: 2px solid rgba(246,200,0,.22);
    border-radius: 10px;
    padding: 0;
    background: #111;
    overflow: hidden;
    cursor: pointer;
    opacity: .72;
}
.kcc-lightbox-thumb.is-active,
.kcc-lightbox-thumb:hover {
    opacity: 1;
    border-color: #f6c800;
}
.kcc-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 760px) {
    .kcc-lightbox-dialog {
        inset: 8px;
        border-radius: 16px;
    }
    .kcc-lightbox-stage {
        padding: 70px 12px 12px;
    }
    .kcc-lightbox-arrow {
        top: auto;
        bottom: 104px;
        transform: none;
        width: 48px;
        height: 48px;
        font-size: 42px;
    }
    .kcc-lightbox-prev { left: 14px; }
    .kcc-lightbox-next { right: 14px; }
    .kcc-lightbox-footer {
        display: block;
        padding: 12px 14px;
    }
}


/* v0.4.9 Museum lightbox polish/fix */
.kcc-lightbox-dialog {
    inset: 5vh 5vw !important;
    max-width: 1320px !important;
    max-height: 90vh !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto auto !important;
    overflow: hidden !important;
}
.kcc-lightbox-stage {
    min-height: 0 !important;
    height: auto !important;
    padding: 24px 78px 14px !important;
    overflow: hidden !important;
}
.kcc-lightbox-image {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: calc(90vh - 185px) !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}
.kcc-lightbox-footer {
    min-height: 72px !important;
    padding: 13px 18px !important;
    background: rgba(0,0,0,.72) !important;
}
.kcc-lightbox-title {
    font-size: 16px !important;
}
.kcc-lightbox-caption {
    font-size: 13px !important;
    max-width: 820px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.kcc-lightbox-thumbs {
    height: 82px !important;
    padding: 10px 18px 14px !important;
    background: rgba(0,0,0,.72) !important;
    border-top: 1px solid rgba(246,200,0,.14) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
}
.kcc-lightbox-thumbs::-webkit-scrollbar,
.kcc-museum-gallery::-webkit-scrollbar {
    height: 6px !important;
}
.kcc-lightbox-thumbs::-webkit-scrollbar-track,
.kcc-museum-gallery::-webkit-scrollbar-track {
    background: rgba(255,255,255,.08) !important;
    border-radius: 999px !important;
}
.kcc-lightbox-thumbs::-webkit-scrollbar-thumb,
.kcc-museum-gallery::-webkit-scrollbar-thumb {
    background: rgba(246,200,0,.75) !important;
    border-radius: 999px !important;
}
.kcc-lightbox-thumb {
    width: 54px !important;
    height: 54px !important;
    flex-basis: 54px !important;
    border-radius: 8px !important;
}
.kcc-lightbox-arrow {
    width: 44px !important;
    height: 60px !important;
    font-size: 42px !important;
    background: rgba(0,0,0,.44) !important;
}
.kcc-lightbox-prev {
    left: 16px !important;
}
.kcc-lightbox-next {
    right: 16px !important;
}
.kcc-lightbox-close {
    top: 12px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 27px !important;
}
.kcc-museum-gallery {
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
}
.kcc-museum-gallery-thumb-button {
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px !important;
}
@media (max-width: 760px) {
    .kcc-lightbox-dialog {
        inset: 8px !important;
        max-height: calc(100vh - 16px) !important;
    }
    .kcc-lightbox-stage {
        padding: 58px 10px 10px !important;
    }
    .kcc-lightbox-image {
        max-height: calc(100vh - 210px) !important;
    }
    .kcc-lightbox-footer {
        min-height: 64px !important;
        padding: 10px 12px !important;
    }
    .kcc-lightbox-caption {
        white-space: nowrap !important;
    }
    .kcc-lightbox-thumbs {
        height: 74px !important;
        padding: 8px 12px 12px !important;
    }
    .kcc-lightbox-thumb {
        width: 48px !important;
        height: 48px !important;
        flex-basis: 48px !important;
    }
    .kcc-lightbox-arrow {
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        width: 38px !important;
        height: 50px !important;
        font-size: 36px !important;
    }
}


/* v0.5.0 Gallery: inline controls + no jalla scrollbar + thumbnail card fix */
.kcc-museum-main-gallery-stage {
    position: relative;
    width: 100%;
    background: #050505;
    overflow: hidden;
}
.kcc-museum-inline-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 58px;
    border: 1px solid rgba(246,200,0,.45);
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    color: #f6c800;
    font-size: 42px;
    line-height: .8;
    font-weight: 900;
    cursor: pointer;
    z-index: 4;
}
.kcc-museum-inline-arrow:hover {
    background: #f6c800;
    color: #111;
}
.kcc-museum-inline-prev {
    left: 14px;
}
.kcc-museum-inline-next {
    right: 14px;
}
.kcc-museum-inline-count {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 4;
    background: rgba(0,0,0,.68);
    color: #f6c800;
    border: 1px solid rgba(246,200,0,.35);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 1000;
}
.kcc-museum-main-image-button span {
    left: 14px !important;
    right: auto !important;
}
.kcc-museum-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 12px !important;
    overflow: visible !important;
    border-top: 1px solid rgba(246,200,0,.22) !important;
    background: rgba(0,0,0,.50) !important;
}
.kcc-museum-gallery-thumb-button {
    width: 64px !important;
    height: 64px !important;
    flex: 0 0 64px !important;
    border-radius: 10px !important;
}
.kcc-museum-object-image-frame,
.kcc-museum-object-image-frame * {
    scrollbar-width: none !important;
}
.kcc-museum-object-image-frame::-webkit-scrollbar,
.kcc-museum-object-image-frame *::-webkit-scrollbar {
    display: none !important;
}

/* Fix yellow blob covering thumbnails in mini/related/popular cards */
.kcc-museum-mini-card,
.kcc-museum-related-card,
.kcc-museum-popular-card,
.kcc-museum-collector-card {
    overflow: hidden !important;
}
.kcc-museum-mini-card img,
.kcc-museum-related-card img,
.kcc-museum-popular-card img,
.kcc-museum-collector-card img {
    position: relative !important;
    z-index: 2 !important;
    width: 74px !important;
    height: 74px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}
.kcc-museum-mini-card:before,
.kcc-museum-mini-card:after,
.kcc-museum-related-card:before,
.kcc-museum-related-card:after,
.kcc-museum-popular-card:before,
.kcc-museum-popular-card:after,
.kcc-museum-collector-card:before,
.kcc-museum-collector-card:after {
    pointer-events: none !important;
    z-index: 0 !important;
}
.kcc-museum-mini-card > *,
.kcc-museum-related-card > *,
.kcc-museum-popular-card > *,
.kcc-museum-collector-card > * {
    position: relative !important;
    z-index: 1 !important;
}
@media (max-width: 760px) {
    .kcc-museum-inline-arrow {
        width: 36px;
        height: 48px;
        font-size: 34px;
    }
    .kcc-museum-inline-prev {
        left: 8px;
    }
    .kcc-museum-inline-next {
        right: 8px;
    }
    .kcc-museum-gallery-thumb-button {
        width: 56px !important;
        height: 56px !important;
        flex-basis: 56px !important;
    }
}


/* v0.5.1 Gallery click fix + clean museum thumbnails */
.kcc-museum-gallery-thumb-button {
    position: relative !important;
    z-index: 3 !important;
    pointer-events: auto !important;
}
.kcc-museum-gallery-thumb-button img {
    pointer-events: none !important;
}
.kcc-museum-main-gallery-stage {
    overflow: hidden !important;
}
.kcc-museum-main-gallery-stage .kcc-museum-main-image-button img {
    transition: opacity .15s ease;
}

/* Remove yellow overlay blobs from compact museum cards */
.kcc-museum-mini-card::before,
.kcc-museum-mini-card::after,
.kcc-museum-related-card::before,
.kcc-museum-related-card::after,
.kcc-museum-popular-card::before,
.kcc-museum-popular-card::after,
.kcc-museum-card-mini::before,
.kcc-museum-card-mini::after,
.kcc-museum-object-mini::before,
.kcc-museum-object-mini::after,
.kcc-museum-memory-mini::before,
.kcc-museum-memory-mini::after,
.kcc-museum-list-item::before,
.kcc-museum-list-item::after {
    display: none !important;
    content: none !important;
}
.kcc-museum-mini-card img,
.kcc-museum-related-card img,
.kcc-museum-popular-card img,
.kcc-museum-card-mini img,
.kcc-museum-object-mini img,
.kcc-museum-memory-mini img,
.kcc-museum-list-item img {
    display: block !important;
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    position: relative !important;
    z-index: 5 !important;
}
.kcc-museum-mini-card .kcc-museum-mini-image,
.kcc-museum-related-card .kcc-museum-mini-image,
.kcc-museum-popular-card .kcc-museum-mini-image,
.kcc-museum-card-mini .kcc-museum-mini-image,
.kcc-museum-object-mini .kcc-museum-mini-image,
.kcc-museum-memory-mini .kcc-museum-mini-image,
.kcc-museum-list-item .kcc-museum-mini-image {
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #111 !important;
}


/* v0.5.2 Direct gallery navigation fix */
.kcc-museum-object-image-frame {
    position: relative !important;
}
.kcc-museum-main-gallery-stage,
.kcc-museum-object-image-frame {
    position: relative !important;
}
.kcc-museum-inline-arrow {
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 58px !important;
    border: 1px solid rgba(246,200,0,.55) !important;
    border-radius: 999px !important;
    background: rgba(0,0,0,.58) !important;
    color: #f6c800 !important;
    font-size: 42px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    z-index: 30 !important;
}
.kcc-museum-inline-arrow:hover {
    background: #f6c800 !important;
    color: #111 !important;
}
.kcc-museum-inline-prev {
    left: 14px !important;
}
.kcc-museum-inline-next {
    right: 14px !important;
}
.kcc-museum-inline-count {
    display: block !important;
    position: absolute !important;
    right: 14px !important;
    top: 14px !important;
    z-index: 30 !important;
    background: rgba(0,0,0,.70) !important;
    color: #f6c800 !important;
    border: 1px solid rgba(246,200,0,.38) !important;
    border-radius: 999px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 1000 !important;
}
.kcc-museum-gallery,
.kcc-museum-gallery * {
    pointer-events: auto !important;
}
.kcc-museum-gallery-thumb-button {
    cursor: pointer !important;
    position: relative !important;
    z-index: 20 !important;
}
.kcc-museum-gallery-thumb-button img {
    pointer-events: none !important;
}
.kcc-museum-main-image-button img {
    transition: opacity .15s ease !important;
}


/* v0.5.3 Fix yellow arrow overlay on compact museum thumbnails */
.kcc-museum-popular img,
.kcc-museum-popular-card img,
.kcc-museum-related img,
.kcc-museum-related-card img,
.kcc-museum-mini img,
.kcc-museum-mini-card img,
.kcc-museum-object-mini img,
.kcc-museum-memory-mini img,
.kcc-museum-list-item img,
.kcc-museum-memory-row img {
    position: relative !important;
    z-index: 20 !important;
    display: block !important;
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    background: #111 !important;
}

.kcc-museum-popular a::before,
.kcc-museum-popular a::after,
.kcc-museum-popular-card a::before,
.kcc-museum-popular-card a::after,
.kcc-museum-related a::before,
.kcc-museum-related a::after,
.kcc-museum-related-card a::before,
.kcc-museum-related-card a::after,
.kcc-museum-mini a::before,
.kcc-museum-mini a::after,
.kcc-museum-mini-card a::before,
.kcc-museum-mini-card a::after,
.kcc-museum-object-mini a::before,
.kcc-museum-object-mini a::after,
.kcc-museum-memory-mini a::before,
.kcc-museum-memory-mini a::after,
.kcc-museum-list-item a::before,
.kcc-museum-list-item a::after,
.kcc-museum-memory-row a::before,
.kcc-museum-memory-row a::after {
    display: none !important;
    content: none !important;
}

.kcc-museum-popular .kcc-museum-thumb,
.kcc-museum-popular-card .kcc-museum-thumb,
.kcc-museum-related .kcc-museum-thumb,
.kcc-museum-related-card .kcc-museum-thumb,
.kcc-museum-mini .kcc-museum-thumb,
.kcc-museum-mini-card .kcc-museum-thumb,
.kcc-museum-object-mini .kcc-museum-thumb,
.kcc-museum-memory-mini .kcc-museum-thumb,
.kcc-museum-list-item .kcc-museum-thumb,
.kcc-museum-memory-row .kcc-museum-thumb,
.kcc-museum-mini-image,
.kcc-museum-popular-image,
.kcc-museum-related-image {
    position: relative !important;
    z-index: 10 !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #111 !important;
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
}

/* Hide decorative yellow arrow plates only inside compact museum thumbnail blocks */
.kcc-museum-popular .kcc-arrow,
.kcc-museum-popular-card .kcc-arrow,
.kcc-museum-related .kcc-arrow,
.kcc-museum-related-card .kcc-arrow,
.kcc-museum-mini .kcc-arrow,
.kcc-museum-mini-card .kcc-arrow,
.kcc-museum-object-mini .kcc-arrow,
.kcc-museum-memory-mini .kcc-arrow,
.kcc-museum-list-item .kcc-arrow,
.kcc-museum-memory-row .kcc-arrow,
.kcc-museum-popular .kcc-card-arrow,
.kcc-museum-popular-card .kcc-card-arrow,
.kcc-museum-related .kcc-card-arrow,
.kcc-museum-related-card .kcc-card-arrow,
.kcc-museum-mini .kcc-card-arrow,
.kcc-museum-mini-card .kcc-card-arrow,
.kcc-museum-object-mini .kcc-card-arrow,
.kcc-museum-memory-mini .kcc-card-arrow,
.kcc-museum-list-item .kcc-card-arrow,
.kcc-museum-memory-row .kcc-card-arrow {
    display: none !important;
}


/* v0.5.4 Hard fix: remove yellow arrow overlay from museum mini thumbnails */
.kcc-museum-root [class*="mini"] a,
.kcc-museum-root [class*="popular"] a,
.kcc-museum-root [class*="related"] a,
.kcc-museum-root [class*="memory"] a,
.kcc-museum-root [class*="object"] a,
.kcc-museum-root [class*="minne"] a,
.kcc-museum [class*="mini"] a,
.kcc-museum [class*="popular"] a,
.kcc-museum [class*="related"] a,
.kcc-museum [class*="memory"] a,
.kcc-museum [class*="object"] a,
.kcc-museum [class*="minne"] a,
.kcc-museum-section [class*="mini"] a,
.kcc-museum-section [class*="popular"] a,
.kcc-museum-section [class*="related"] a,
.kcc-museum-section [class*="memory"] a,
.kcc-museum-section [class*="object"] a,
.kcc-museum-section [class*="minne"] a {
    background-image: none !important;
}

.kcc-museum-root [class*="mini"] a::before,
.kcc-museum-root [class*="mini"] a::after,
.kcc-museum-root [class*="popular"] a::before,
.kcc-museum-root [class*="popular"] a::after,
.kcc-museum-root [class*="related"] a::before,
.kcc-museum-root [class*="related"] a::after,
.kcc-museum-root [class*="memory"] a::before,
.kcc-museum-root [class*="memory"] a::after,
.kcc-museum-root [class*="object"] a::before,
.kcc-museum-root [class*="object"] a::after,
.kcc-museum-root [class*="minne"] a::before,
.kcc-museum-root [class*="minne"] a::after,
.kcc-museum [class*="mini"] a::before,
.kcc-museum [class*="mini"] a::after,
.kcc-museum [class*="popular"] a::before,
.kcc-museum [class*="popular"] a::after,
.kcc-museum [class*="related"] a::before,
.kcc-museum [class*="related"] a::after,
.kcc-museum [class*="memory"] a::before,
.kcc-museum [class*="memory"] a::after,
.kcc-museum [class*="object"] a::before,
.kcc-museum [class*="object"] a::after,
.kcc-museum [class*="minne"] a::before,
.kcc-museum [class*="minne"] a::after,
.kcc-museum-section [class*="mini"] a::before,
.kcc-museum-section [class*="mini"] a::after,
.kcc-museum-section [class*="popular"] a::before,
.kcc-museum-section [class*="popular"] a::after,
.kcc-museum-section [class*="related"] a::before,
.kcc-museum-section [class*="related"] a::after,
.kcc-museum-section [class*="memory"] a::before,
.kcc-museum-section [class*="memory"] a::after,
.kcc-museum-section [class*="object"] a::before,
.kcc-museum-section [class*="object"] a::after,
.kcc-museum-section [class*="minne"] a::before,
.kcc-museum-section [class*="minne"] a::after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Directly neutralize the small yellow circular/arrow overlay commonly used in Kråkenytt cards, but only inside museum compact lists */
.kcc-museum-root .kcc-museum-mini-card [class*="arrow"],
.kcc-museum-root .kcc-museum-popular-card [class*="arrow"],
.kcc-museum-root .kcc-museum-related-card [class*="arrow"],
.kcc-museum-root .kcc-museum-memory-row [class*="arrow"],
.kcc-museum-root .kcc-museum-list-item [class*="arrow"],
.kcc-museum .kcc-museum-mini-card [class*="arrow"],
.kcc-museum .kcc-museum-popular-card [class*="arrow"],
.kcc-museum .kcc-museum-related-card [class*="arrow"],
.kcc-museum .kcc-museum-memory-row [class*="arrow"],
.kcc-museum .kcc-museum-list-item [class*="arrow"],
.kcc-museum-section .kcc-museum-mini-card [class*="arrow"],
.kcc-museum-section .kcc-museum-popular-card [class*="arrow"],
.kcc-museum-section .kcc-museum-related-card [class*="arrow"],
.kcc-museum-section .kcc-museum-memory-row [class*="arrow"],
.kcc-museum-section .kcc-museum-list-item [class*="arrow"] {
    display: none !important;
}

/* Keep images above every decorative layer */
.kcc-museum-root [class*="mini"] img,
.kcc-museum-root [class*="popular"] img,
.kcc-museum-root [class*="related"] img,
.kcc-museum-root [class*="memory"] img,
.kcc-museum-root [class*="object"] img,
.kcc-museum-root [class*="minne"] img,
.kcc-museum [class*="mini"] img,
.kcc-museum [class*="popular"] img,
.kcc-museum [class*="related"] img,
.kcc-museum [class*="memory"] img,
.kcc-museum [class*="object"] img,
.kcc-museum [class*="minne"] img,
.kcc-museum-section [class*="mini"] img,
.kcc-museum-section [class*="popular"] img,
.kcc-museum-section [class*="related"] img,
.kcc-museum-section [class*="memory"] img,
.kcc-museum-section [class*="object"] img,
.kcc-museum-section [class*="minne"] img {
    position: relative !important;
    z-index: 50 !important;
    display: block !important;
}

/* If the overlay is from global theme link decoration, kill it on any museum card containing an image */
.kcc-museum-root a:has(img)::before,
.kcc-museum-root a:has(img)::after,
.kcc-museum a:has(img)::before,
.kcc-museum a:has(img)::after,
.kcc-museum-section a:has(img)::before,
.kcc-museum-section a:has(img)::after {
    display: none !important;
    content: none !important;
}


/* v0.5.5 Clean mini-card museum thumbnails */
.kcc-museum-mini-card .kcc-museum-main-gallery-stage,
.kcc-museum-mini-card .kcc-museum-main-image-button,
.kcc-museum-mini-card .kcc-museum-inline-arrow,
.kcc-museum-mini-card .kcc-museum-inline-count,
.kcc-museum-mini-card [data-kcc-open-gallery],
.kcc-museum-mini-card [data-kcc-inline-prev],
.kcc-museum-mini-card [data-kcc-inline-next] {
    display: none !important;
}

.kcc-museum-mini-card {
    grid-template-columns: 76px 1fr !important;
}

.kcc-museum-mini-card .kcc-museum-mini-image-wrap {
    display: block !important;
    width: 76px !important;
    height: 66px !important;
    min-width: 76px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #000 !important;
    position: relative !important;
}

.kcc-museum-mini-card .kcc-museum-mini-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

.kcc-museum-mini-card .kcc-museum-mini-content {
    display: block !important;
    min-width: 0 !important;
}


/* v0.5.6 Museum comments */
.kcc-museum-comments {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(246,200,0,.28);
}
.kcc-museum-comments-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.kcc-museum-comments-head h2 {
    margin: 10px 0 6px;
    color: #f6c800;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.05;
}
.kcc-museum-comments-head p {
    margin: 0;
    color: rgba(255,255,255,.78);
    max-width: 720px;
}
.kcc-museum-comments-head > strong {
    color: #f6c800;
    white-space: nowrap;
    font-size: 13px;
    text-transform: uppercase;
}
.kcc-museum-comment-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 12px;
}
.kcc-museum-comment {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(246,200,0,.22);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
}
.kcc-museum-comment-avatar img {
    border-radius: 50%;
}
.kcc-museum-comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 6px;
}
.kcc-museum-comment-meta strong {
    color: #fff;
}
.kcc-museum-comment-meta span {
    color: #f6c800;
    font-size: 12px;
    font-weight: 800;
}
.kcc-museum-comment-text {
    color: rgba(255,255,255,.84);
}
.kcc-museum-comment-text p:last-child {
    margin-bottom: 0;
}
.kcc-museum-no-comments {
    padding: 16px;
    border: 1px dashed rgba(246,200,0,.32);
    border-radius: 16px;
    color: rgba(255,255,255,.76);
    margin-bottom: 22px;
}
.kcc-museum-comment-form-wrap {
    padding: 18px;
    border: 1px solid rgba(246,200,0,.28);
    border-radius: 18px;
    background: rgba(0,0,0,.28);
}
.kcc-museum-comment-title {
    margin: 0 0 14px;
    color: #f6c800;
}
.kcc-museum-comment-form-wrap label {
    display: block;
    color: #f6c800;
    font-weight: 900;
    margin-bottom: 6px;
}
.kcc-museum-comment-form-wrap textarea,
.kcc-museum-comment-form-wrap input[type="text"],
.kcc-museum-comment-form-wrap input[type="email"] {
    width: 100%;
    border: 1px solid rgba(246,200,0,.28);
    border-radius: 12px;
    background: #fff;
    color: #111;
    padding: 11px 12px;
}
.kcc-museum-comment-form-wrap .form-submit {
    margin-bottom: 0;
}
.kcc-comment-submit {
    border: 0;
    cursor: pointer;
}
@media (max-width: 760px) {
    .kcc-museum-comments-head {
        display: block;
    }
    .kcc-museum-comments-head > strong {
        display: inline-block;
        margin-top: 12px;
    }
}


/* v0.5.7 Museum comments + reactions polish */
.kcc-museum-reactions {
    margin-top: 30px;
    padding: 18px;
    border: 1px solid rgba(246,200,0,.28);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(246,200,0,.08), rgba(255,255,255,.025));
}
.kcc-museum-reactions-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.kcc-museum-reactions-title strong {
    color: #f6c800;
    font-size: 18px;
}
.kcc-museum-reaction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.kcc-museum-reaction {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(246,200,0,.32);
    border-radius: 999px;
    background: rgba(0,0,0,.42);
    color: #fff;
    padding: 9px 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.kcc-museum-reaction:hover,
.kcc-museum-reaction.is-active {
    background: #f6c800;
    color: #111;
    border-color: #f6c800;
    transform: translateY(-1px);
}
.kcc-museum-reaction.is-loading {
    opacity: .65;
    pointer-events: none;
}
.kcc-reaction-count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    font-size: 12px;
}
.kcc-museum-reaction.is-active .kcc-reaction-count,
.kcc-museum-reaction:hover .kcc-reaction-count {
    background: rgba(0,0,0,.14);
}
.kcc-museum-comments {
    margin-top: 24px !important;
}
.kcc-museum-comments-head h2 {
    font-size: clamp(25px, 3vw, 34px) !important;
}
.kcc-museum-comment {
    grid-template-columns: 54px 1fr !important;
    padding: 16px !important;
    background: linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.018)) !important;
}
.kcc-museum-comment-avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f6c800;
    color: #111;
    font-size: 17px;
    font-weight: 1000;
    box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.kcc-museum-comment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: -2px 0 8px;
}
.kcc-museum-comment-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(246,200,0,.32);
    border-radius: 999px;
    padding: 3px 7px;
    color: #f6c800;
    background: rgba(246,200,0,.07);
    font-size: 10px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.kcc-museum-comment-form-wrap {
    padding: 16px !important;
    background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015)) !important;
}
.kcc-museum-comment-form-wrap textarea,
.kcc-museum-comment-form-wrap input[type="text"],
.kcc-museum-comment-form-wrap input[type="email"] {
    background: #101010 !important;
    color: #fff !important;
    border: 1px solid rgba(246,200,0,.28) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.kcc-museum-comment-form-wrap textarea {
    min-height: 118px !important;
    max-height: 190px !important;
}
.kcc-museum-comment-form-wrap textarea:focus,
.kcc-museum-comment-form-wrap input:focus {
    outline: none !important;
    border-color: #f6c800 !important;
    box-shadow: 0 0 0 3px rgba(246,200,0,.15) !important;
}
.kcc-museum-comment-form-wrap .logged-in-as,
.kcc-museum-comment-form-wrap .comment-notes {
    color: rgba(255,255,255,.62);
    font-size: 12px;
}
.kcc-museum-comment-form-wrap .logged-in-as a {
    color: #f6c800;
}
@media (max-width: 760px) {
    .kcc-museum-reactions-title {
        display: block;
    }
    .kcc-museum-reactions-title strong {
        display: block;
        margin-top: 10px;
    }
    .kcc-museum-reaction {
        width: 100%;
        justify-content: space-between;
    }
}

/* KCC v0.6.1 community foundation */
.kcc-follow-button,
.kcc-follow-mini {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.55);
    background: #111;
    color: #FFD700;
    padding: 9px 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.kcc-follow-button { cursor: pointer; }
.kcc-follow-button small,
.kcc-follow-mini span,
.kcc-follow-mini a { color: rgba(255,255,255,.78); font-size: 12px; text-decoration: none; }
.kcc-follow-button.is-following { background: #FFD700; color: #111; }
.kcc-follow-button.is-following small { color: rgba(0,0,0,.72); }
.kcc-follow-button.is-loading { opacity: .65; pointer-events: none; }
.kcc-notifications,
.kcc-community-leaderboard { margin: 22px 0; }
.kcc-notification-list,
.kcc-community-board-list { display: grid; gap: 10px; }
.kcc-notification-row,
.kcc-community-board-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    background: rgba(0,0,0,.18);
    color: inherit;
    text-decoration: none;
}
.kcc-notification-row.is-unread { border-color: rgba(255,215,0,.62); background: rgba(255,215,0,.08); }
.kcc-notification-row small,
.kcc-community-board-row small { color: rgba(255,255,255,.65); }
.kcc-community-board-row { grid-template-columns: 34px auto 1fr auto auto; }
.kcc-community-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFD700;
    color: #111;
    font-weight: 900;
}
.kcc-community-board-row b { color: #FFD700; white-space: nowrap; }
@media (max-width: 640px) {
    .kcc-community-board-row { grid-template-columns: 30px auto 1fr; }
    .kcc-community-board-row small,
    .kcc-community-board-row b { grid-column: 3; }
    .kcc-notification-row { grid-template-columns: 1fr; }
}


/* KCC v0.6.2 Kråkeportalen profiles */
.kcc-avatar.kcc-avatar-has-image {
    padding: 0;
    overflow: hidden;
    background: #111;
    border: 2px solid rgba(255, 215, 0, .75);
}
.kcc-avatar-img {
    display: block;
    object-fit: cover;
    border-radius: 999px;
}
.kcc-field-help {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.62);
    font-size: 12px;
    line-height: 1.35;
}
.kcc-profile-form-expanded input[type="file"] {
    width: 100%;
    border: 1px dashed rgba(255, 215, 0, .45);
    border-radius: 14px;
    padding: 10px;
    background: rgba(0,0,0,.25);
    color: rgba(255,255,255,.82);
}

/* v0.6.3: Kråkeportalen profilpuss */
.kcc-profile-actions {
    margin: 12px 0 0;
}
.kcc-button-small {
    padding: 9px 13px;
    font-size: 12px;
}
.kcc-supporter-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
}
.kcc-supporter-back::before {
    content: "←";
}
@media (max-width: 640px) {
    .kcc-public-supporter-wrap {
        padding: 24px 10px;
    }
    .kcc-supporter-profile-expanded {
        border-radius: 16px;
        padding: 16px !important;
    }
    .kcc-supporter-profile-hero {
        flex-direction: column;
        gap: 12px;
    }
    .kcc-supporter-profile h3 {
        font-size: 23px;
    }
    .kcc-my-stats-grid,
    .kcc-my-highlight-grid,
    .kcc-badges-grid,
    .kcc-museum-mini-grid {
        grid-template-columns: 1fr !important;
    }
    .kcc-section-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

/* KCC v0.6.5.1: Kamptracking polish + Kråkeportalen topplister */
.kcc-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 5px;
    border-radius: 999px;
    border: 1px solid rgba(255,215,0,.6);
    background: rgba(255,215,0,.08);
    color: #FFD700;
    font-size: 10px;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
    opacity: .95;
    outline: none;
}
.kcc-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    z-index: 50;
    width: max-content;
    max-width: 260px;
    padding: 8px 10px;
    border: 1px solid rgba(255,215,0,.55);
    border-radius: 10px;
    background: #050505;
    color: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.45);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
}
.kcc-tooltip::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: rgba(255,215,0,.55) transparent transparent transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}
.kcc-tooltip:hover::after,
.kcc-tooltip:focus::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}
.kcc-tooltip:hover::before,
.kcc-tooltip:focus::before {
    opacity: 1;
}
.kcc-kraakeportalen-topplister {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin: 24px 0;
}
.kcc-kraakeportalen-topplister .kcc-topplister-heading {
    grid-column: 1 / -1;
    margin-bottom: -4px;
}
.kcc-kraakeportalen-topplister .kcc-community-leaderboard {
    margin: 0;
}
.kcc-kraakeportalen-topplister .kcc-community-board-row {
    grid-template-columns: 34px auto 1fr;
}
.kcc-kraakeportalen-topplister .kcc-community-board-row small,
.kcc-kraakeportalen-topplister .kcc-community-board-row b {
    grid-column: 3;
}
@media (max-width: 640px) {
    .kcc-kraakeportalen-topplister {
        grid-template-columns: 1fr;
    }
}

.kcc-supporter-table + .kcc-kraakeportalen-topplister {
    margin-top: 26px;
}
@media (max-width: 600px) {
    .kcc-tooltip::after {
        left: auto;
        right: -18px;
        transform: none;
        max-width: 220px;
    }
    .kcc-tooltip:hover::after,
    .kcc-tooltip:focus::after {
        transform: translateY(-2px);
    }
}


/* KCC v0.6.5.2: Robust tooltip fallback for streak explanations */
.kcc-tooltip .kcc-tooltip-bubble {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    z-index: 99999;
    width: max-content;
    max-width: 280px;
    padding: 8px 10px;
    border: 1px solid rgba(255,215,0,.65);
    border-radius: 10px;
    background: #050505;
    color: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.55);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
}
.kcc-tooltip:hover .kcc-tooltip-bubble,
.kcc-tooltip:focus .kcc-tooltip-bubble,
.kcc-tooltip.is-open .kcc-tooltip-bubble {
    display: block;
}
.kcc-my-highlight, .kcc-my-highlight small {
    overflow: visible;
}


/* KCC v0.6.5.3: robust native streak help + visible topplister */
.kcc-help {
    display: inline-block;
    position: relative;
    margin-left: 5px;
    vertical-align: middle;
}
.kcc-help summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    border: 1px solid rgba(255,215,0,.8);
    background: rgba(255,215,0,.14);
    color: #FFD700;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}
.kcc-help summary::-webkit-details-marker { display: none; }
.kcc-help span {
    display: none;
    position: absolute;
    z-index: 99999;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    width: max-content;
    max-width: 260px;
    padding: 9px 11px;
    border: 1px solid rgba(255,215,0,.75);
    border-radius: 10px;
    background: #080808;
    color: #fff;
    box-shadow: 0 12px 35px rgba(0,0,0,.45);
    text-transform: none;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}
.kcc-help[open] span,
.kcc-help:hover span,
.kcc-help:focus-within span {
    display: block;
}
.kcc-supporter-topplister-wrap,
.kcc-kraakeportalen-topplister {
    display: block !important;
    clear: both;
    width: 100%;
    margin-top: 24px;
}
.kcc-supporter-topplister-wrap {
    max-width: 100%;
}
.kcc-kraakeportalen-topplister .kcc-section-title-row h2 {
    color: #FFD700;
}

/* KCC v0.6.5.4: force visible topplister and streak help */
.kcc-streak-stat em {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.72);
    font-style: normal;
    font-size: 11px;
    line-height: 1.35;
}
.kcc-inline-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 5px;
    border: 1px solid rgba(255,215,0,.65);
    border-radius: 999px;
    color: #FFD700;
    font-size: 11px;
    font-weight: 900;
    cursor: help;
}
.kcc-supporter-topplister-inline {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,215,0,.28);
}
.kcc-inline-topplister-proof {
    display: block !important;
    color: #fff;
}
.kcc-inline-topplister-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}
.kcc-inline-topplist-box {
    background: linear-gradient(135deg, rgba(255,215,0,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(255,215,0,.35);
    border-radius: 14px;
    padding: 14px;
}
.kcc-inline-topplist-box h4 {
    margin: 0 0 10px;
    color: #FFD700;
    font-size: 15px;
}
.kcc-inline-topplist-box ol {
    margin: 0;
    padding-left: 22px;
}
.kcc-inline-topplist-box li {
    margin: 7px 0;
    color: rgba(255,255,255,.8);
}
.kcc-inline-topplist-box li a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}
.kcc-inline-topplist-box li strong {
    color: #FFD700;
    margin-left: 6px;
}
.kcc-inline-topplist-box li span {
    font-size: 11px;
    color: rgba(255,255,255,.62);
    margin-left: 4px;
}
@media (max-width: 720px) {
    .kcc-inline-topplister-grid { grid-template-columns: 1fr; }
}

/* KCC v0.6.7: Kråketoppen – topplister 2.0 */
.kcc-kraaketoppen {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(255,215,0,.18), transparent 28%),
        linear-gradient(180deg, #0b0b0b, #050505);
    border: 2px solid #FFD700;
    border-radius: 22px;
    padding: clamp(18px, 3vw, 30px);
    margin: 24px 0;
    color: #fff;
    box-shadow: 0 22px 55px rgba(0,0,0,.28);
}
.kcc-kraaketoppen::before {
    content: 'KRÅKETOPPEN';
    position: absolute;
    right: -24px;
    top: 12px;
    color: rgba(255,215,0,.045);
    font-size: clamp(52px, 10vw, 124px);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -.06em;
    pointer-events: none;
}
.kcc-kraaketoppen-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}
.kcc-kraaketoppen-kicker,
.kcc-kraaketoppen-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: #FFD700;
    color: #111;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.kcc-kraaketoppen-hero h2 {
    margin: 10px 0 8px;
    color: #FFD700;
    font-size: clamp(34px, 5vw, 58px);
    line-height: .95;
    letter-spacing: -.045em;
}
.kcc-kraaketoppen-hero p {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 16px;
    line-height: 1.55;
}
.kcc-kraaketoppen-podium {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
    margin: 24px 0;
}
.kcc-kraaketoppen-podium-card,
.kcc-kraaketoppen-podium-card:visited {
    position: relative;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,215,0,.42);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,215,0,.12), rgba(255,255,255,.035));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px rgba(0,0,0,.24);
    padding: 18px;
    transition: transform .16s ease, border-color .16s ease;
}
.kcc-kraaketoppen-podium-card:hover,
.kcc-kraaketoppen-podium-card:focus {
    transform: translateY(-4px);
    border-color: #FFD700;
}
.kcc-kraaketoppen-podium-card.kcc-podium-1 {
    min-height: 250px;
    border-width: 2px;
    background: radial-gradient(circle at 50% 0%, rgba(255,215,0,.28), transparent 52%), linear-gradient(180deg, rgba(255,215,0,.14), rgba(255,255,255,.035));
}
.kcc-podium-medal {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 26px;
}
.kcc-kraaketoppen-podium-card .kcc-avatar {
    margin-bottom: 4px;
}
.kcc-kraaketoppen-podium-card strong {
    display: block;
    color: #fff;
    font-size: 17px;
    line-height: 1.15;
}
.kcc-kraaketoppen-podium-card em {
    color: #FFD700;
    font-style: normal;
    font-weight: 1000;
}
.kcc-kraaketoppen-podium-card small {
    color: rgba(255,255,255,.72);
    font-weight: 800;
}
.kcc-kraaketoppen-tabs {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}
.kcc-kraaketoppen-tabs a,
.kcc-kraaketoppen-tabs a:visited {
    border: 1px solid rgba(255,215,0,.42);
    border-radius: 999px;
    color: #FFD700 !important;
    background: rgba(255,255,255,.035);
    padding: 8px 12px;
    font-weight: 950;
    font-size: 13px;
    text-decoration: none !important;
}
.kcc-kraaketoppen-tabs a:hover,
.kcc-kraaketoppen-tabs a:focus {
    background: #FFD700;
    color: #111 !important;
}
.kcc-kraaketoppen-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.kcc-kraaketoppen-panel {
    border: 1px solid rgba(255,215,0,.28);
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    padding: 14px;
}
.kcc-kraaketoppen-panel:target {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255,215,0,.08);
}
.kcc-kraaketoppen-panel-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.kcc-kraaketoppen-panel-head > span {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #FFD700;
    color: #111;
    font-weight: 1000;
}
.kcc-kraaketoppen-panel h3 {
    margin: 0;
    color: #FFD700;
    font-size: 20px;
    line-height: 1.1;
}
.kcc-kraaketoppen-panel small {
    color: rgba(255,255,255,.68);
    font-weight: 800;
}
.kcc-kraaketoppen-list {
    display: grid;
    gap: 8px;
}
.kcc-kraaketoppen-row,
.kcc-kraaketoppen-row:visited {
    display: grid;
    grid-template-columns: 30px 38px minmax(0, 1fr) auto;
    grid-template-areas:
        'rank avatar name score'
        'rank avatar name label';
    align-items: center;
    column-gap: 10px;
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(0,0,0,.22);
    padding: 9px 10px;
    transition: background .16s ease, border-color .16s ease;
}
.kcc-kraaketoppen-row:hover,
.kcc-kraaketoppen-row:focus {
    border-color: rgba(255,215,0,.58);
    background: rgba(255,215,0,.07);
}
.kcc-kraaketoppen-rank {
    grid-area: rank;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #FFD700;
    color: #111;
    font-weight: 1000;
    font-size: 13px;
}
.kcc-kraaketoppen-row .kcc-avatar { grid-area: avatar; font-size: 13px; box-shadow: 0 0 0 2px rgba(255,215,0,.12); }
.kcc-kraaketoppen-name {
    grid-area: name;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 950;
}
.kcc-kraaketoppen-row strong {
    grid-area: score;
    color: #FFD700;
    font-size: 20px;
    line-height: 1;
    font-weight: 1000;
    text-align: right;
}
.kcc-kraaketoppen-row small {
    grid-area: label;
    text-align: right;
    font-size: 11px;
    text-transform: uppercase;
}
@media (max-width: 860px) {
    .kcc-kraaketoppen-podium,
    .kcc-kraaketoppen-grid { grid-template-columns: 1fr; }
    .kcc-kraaketoppen-podium-card,
    .kcc-kraaketoppen-podium-card.kcc-podium-1 { min-height: 0; }
    .kcc-kraaketoppen-hero { flex-direction: column; }
}
@media (max-width: 520px) {
    .kcc-kraaketoppen-row {
        grid-template-columns: 28px 34px minmax(0, 1fr);
        grid-template-areas:
            'rank avatar name'
            'rank avatar score'
            'rank avatar label';
    }
    .kcc-kraaketoppen-row strong,
    .kcc-kraaketoppen-row small { text-align: left; }
}

/* KCC v0.6.8 sosial layer */
.kcc-portal-social { margin: 22px 0; }
.kcc-activity-feed { margin: 22px 0; }
.kcc-activity-list { display: grid; gap: 10px; }
.kcc-activity-row {
    display: grid;
    grid-template-columns: 34px 44px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255,215,0,.24);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,215,0,.07), rgba(0,0,0,.18));
    color: inherit;
    text-decoration: none;
}
.kcc-activity-row:hover,
.kcc-activity-row:focus,
.kcc-activity-row:active {
    border-color: rgba(255,215,0,.72) !important;
    background: linear-gradient(135deg, rgba(255,215,0,.14), rgba(15,15,15,.96)) !important;
    color: #fff !important;
    transform: translateY(-1px);
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.26), 0 0 0 1px rgba(255,215,0,.12) inset;
}
.kcc-activity-row:hover .kcc-activity-text,
.kcc-activity-row:focus .kcc-activity-text,
.kcc-activity-row:active .kcc-activity-text,
.kcc-activity-row:hover .kcc-activity-text strong,
.kcc-activity-row:focus .kcc-activity-text strong,
.kcc-activity-row:active .kcc-activity-text strong {
    color: #FFD700 !important;
}
.kcc-activity-row:hover .kcc-activity-text small,
.kcc-activity-row:focus .kcc-activity-text small,
.kcc-activity-row:active .kcc-activity-text small {
    color: rgba(255,255,255,.78) !important;
}
.kcc-activity-row:hover .kcc-activity-icon,
.kcc-activity-row:focus .kcc-activity-icon,
.kcc-activity-row:active .kcc-activity-icon {
    background: #FFD700 !important;
    color: #111 !important;
}
.kcc-activity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #FFD700;
    color: #111;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(255,215,0,.16);
}
.kcc-activity-text {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.kcc-activity-text strong { color: #FFD700; }
.kcc-activity-text small { color: rgba(255,255,255,.62); font-size: 12px; }
@media (max-width: 640px) {
    .kcc-activity-row { grid-template-columns: 32px 38px 1fr; gap: 9px; padding: 11px; }
    .kcc-activity-text { font-size: 13px; }
}

/* KCC v0.7.0 varselsenter + sosial polish */
.kcc-notification-center { margin: 22px 0; }
.kcc-notification-head { align-items: flex-start; }
.kcc-notification-head > div { display: grid; gap: 2px; }
.kcc-notification-head h3 { margin: 0; }
.kcc-notification-head span {
    color: #FFD700;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .04em;
}
.kcc-mark-all-read {
    border: 1px solid rgba(255,215,0,.55) !important;
    border-radius: 999px !important;
    background: rgba(255,215,0,.12) !important;
    color: #FFD700 !important;
    padding: 8px 13px !important;
    font-weight: 900 !important;
    cursor: pointer;
}
.kcc-mark-all-read:hover,
.kcc-mark-all-read:focus {
    background: #FFD700 !important;
    color: #111 !important;
}
.kcc-notification-list { display: grid; gap: 10px; }
.kcc-notification-row {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,215,0,.22) !important;
    background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(0,0,0,.18)) !important;
    color: #fff !important;
    text-decoration: none !important;
}
.kcc-notification-row.is-unread {
    border-color: rgba(255,215,0,.72) !important;
    background: linear-gradient(135deg, rgba(255,215,0,.13), rgba(0,0,0,.24)) !important;
    box-shadow: 0 0 0 1px rgba(255,215,0,.10) inset;
}
.kcc-notification-row:hover,
.kcc-notification-row:focus {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(255,215,0,.18), rgba(15,15,15,.98)) !important;
    border-color: #FFD700 !important;
    text-decoration: none !important;
}
.kcc-notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #FFD700;
    color: #111;
    font-size: 15px;
    box-shadow: 0 8px 18px rgba(255,215,0,.16);
}
.kcc-notification-body { display: grid; gap: 3px; min-width: 0; }
.kcc-notification-body strong {
    color: #fff !important;
    font-size: 14px;
    line-height: 1.35;
}
.kcc-notification-row:hover .kcc-notification-body strong,
.kcc-notification-row:focus .kcc-notification-body strong { color: #FFD700 !important; }
.kcc-notification-body small { color: rgba(255,255,255,.62); font-size: 12px; }
.kcc-notification-row em {
    justify-self: end;
    font-style: normal;
    font-weight: 1000;
    color: #111;
    background: #FFD700;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
}
.kcc-kraaketoppen-position-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(255,215,0,.35);
    border-radius: 20px;
    padding: 15px 18px;
    margin: 18px 0;
    background: radial-gradient(circle at top left, rgba(255,215,0,.18), transparent 42%), linear-gradient(135deg, rgba(255,215,0,.08), rgba(0,0,0,.22));
}
.kcc-mini-kicker {
    display: inline-flex;
    color: #FFD700;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.kcc-kraaketoppen-position-card strong {
    display: block;
    color: #FFD700;
    font-size: 22px;
    line-height: 1.05;
}
.kcc-kraaketoppen-position-card small { color: rgba(255,255,255,.76); font-weight: 800; }
.kcc-kraaketoppen-mini-ranks {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.kcc-kraaketoppen-mini-ranks span {
    border: 1px solid rgba(255,215,0,.33);
    background: rgba(0,0,0,.22);
    border-radius: 999px;
    padding: 7px 10px;
    color: #fff;
    font-weight: 900;
    font-size: 12px;
}
body .kcc-card .kcc-activity-feed a.kcc-activity-row,
body .kcc-card a.kcc-activity-row,
body a.kcc-activity-row {
    color: #fff !important;
    background-color: transparent !important;
    text-decoration: none !important;
}
body .kcc-card .kcc-activity-feed a.kcc-activity-row:hover,
body .kcc-card .kcc-activity-feed a.kcc-activity-row:focus,
body .kcc-card a.kcc-activity-row:hover,
body .kcc-card a.kcc-activity-row:focus,
body a.kcc-activity-row:hover,
body a.kcc-activity-row:focus {
    color: #fff !important;
    background-color: #141414 !important;
    background-image: linear-gradient(135deg, rgba(255,215,0,.18), rgba(20,20,20,.98)) !important;
    text-decoration: none !important;
}
body .kcc-card a.kcc-activity-row:hover *,
body .kcc-card a.kcc-activity-row:focus * {
    color: inherit;
}
body .kcc-card a.kcc-activity-row:hover .kcc-activity-text strong,
body .kcc-card a.kcc-activity-row:focus .kcc-activity-text strong,
body .kcc-card a.kcc-activity-row:hover .kcc-activity-icon,
body .kcc-card a.kcc-activity-row:focus .kcc-activity-icon {
    color: #111 !important;
}
body .kcc-card a.kcc-activity-row:hover .kcc-activity-text strong,
body .kcc-card a.kcc-activity-row:focus .kcc-activity-text strong {
    color: #FFD700 !important;
}
@media (max-width: 640px) {
    .kcc-notification-row { grid-template-columns: 32px minmax(0,1fr); }
    .kcc-notification-row em { grid-column: 2; justify-self: start; }
    .kcc-kraaketoppen-position-card { flex-direction: column; align-items: flex-start; }
    .kcc-kraaketoppen-mini-ranks { justify-content: flex-start; }
}

/* KCC v0.7.1 - Kampregistrering Pro */
.kcc-registration-tools,
.kcc-bulk-attendance,
.kcc-futbology-import { margin-top: 24px; }
.kcc-registration-tool-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:16px; }
.kcc-registration-tool-card { display:block; padding:16px; border:1px solid rgba(255,215,0,.28); border-radius:18px; background:linear-gradient(135deg,rgba(255,215,0,.12),rgba(0,0,0,.18)); color:#fff !important; text-decoration:none !important; }
.kcc-registration-tool-card:hover,
.kcc-registration-tool-card:focus { color:#FFD700 !important; background:rgba(255,215,0,.16) !important; border-color:#FFD700; transform:translateY(-1px); }
.kcc-registration-tool-card strong { display:block; color:#FFD700; font-size:1.05rem; margin-bottom:5px; }
.kcc-registration-tool-card span { display:block; color:rgba(255,255,255,.78); font-size:.92rem; }
.kcc-bulk-filters { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin:16px 0; }
.kcc-bulk-filters label { color:#fff; font-weight:700; display:flex; flex-direction:column; gap:5px; }
.kcc-bulk-filters select,
.kcc-file-field input[type="file"] { background:#111; color:#fff; border:1px solid rgba(255,215,0,.35); border-radius:12px; padding:10px; }
.kcc-checkbox-line { flex-direction:row !important; align-items:center; gap:8px !important; padding-bottom:9px; }
.kcc-bulk-actions { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0; }
.kcc-bulk-match-list,
.kcc-import-table { display:flex; flex-direction:column; gap:8px; }
.kcc-bulk-match-row,
.kcc-import-row { display:grid; grid-template-columns:34px 90px minmax(0,1fr) 64px 110px; gap:10px; align-items:center; padding:12px; border:1px solid rgba(255,255,255,.09); border-radius:14px; background:rgba(255,255,255,.045); color:#fff; }
.kcc-bulk-match-row:hover,
.kcc-bulk-match-row:focus-within,
.kcc-import-row:hover,
.kcc-import-row:focus-within { background:rgba(255,215,0,.11) !important; color:#fff !important; border-color:rgba(255,215,0,.5); }
.kcc-bulk-match-row.is-registered { opacity:.62; }
.kcc-bulk-main strong,
.kcc-import-row strong { display:block; color:#fff; }
.kcc-bulk-main small,
.kcc-import-row small { display:block; color:rgba(255,255,255,.62); margin-top:3px; }
.kcc-bulk-date,
.kcc-bulk-result,
.kcc-bulk-status,
.kcc-import-status { color:#FFD700; font-weight:800; }
.kcc-success { border:1px solid rgba(255,215,0,.4); background:rgba(255,215,0,.13); color:#fff; border-radius:14px; padding:12px; margin:12px 0; }
.kcc-import-upload-form { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin:14px 0 18px; }
.kcc-file-field { color:#fff; font-weight:800; display:flex; flex-direction:column; gap:6px; }
.kcc-import-stats { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.kcc-import-stats span { background:rgba(255,215,0,.12); border:1px solid rgba(255,215,0,.25); color:#FFD700; border-radius:999px; padding:7px 10px; font-size:.86rem; font-weight:800; }
.kcc-import-row { grid-template-columns:34px 110px minmax(0,1fr) minmax(120px,.6fr); }
.kcc-import-row.is-registered { opacity:.65; }
.kcc-import-safe { border-color:rgba(86,210,132,.35); }
.kcc-import-possible { border-color:rgba(255,215,0,.45); }
.kcc-import-missing { border-color:rgba(255,95,95,.35); }
.kcc-activity-feed a.kcc-activity-row,
.kcc-activity-feed a.kcc-activity-row:visited { color:#fff !important; background:rgba(255,255,255,.045) !important; text-decoration:none !important; }
.kcc-activity-feed a.kcc-activity-row:hover,
.kcc-activity-feed a.kcc-activity-row:focus,
.kcc-activity-feed a.kcc-activity-row:active { color:#fff !important; background:rgba(255,215,0,.14) !important; border-color:rgba(255,215,0,.55) !important; text-decoration:none !important; }
.kcc-activity-feed a.kcc-activity-row:hover strong,
.kcc-activity-feed a.kcc-activity-row:focus strong { color:#FFD700 !important; }
@media (max-width:760px){
  .kcc-registration-tool-grid{grid-template-columns:1fr;}
  .kcc-bulk-match-row{grid-template-columns:28px 74px minmax(0,1fr);}
  .kcc-bulk-result,.kcc-bulk-status{grid-column:3;}
  .kcc-import-row{grid-template-columns:28px minmax(0,1fr);}
  .kcc-import-status{grid-column:2;}
}

/* v0.7.1.1 Futbology AJAX feedback */
.kcc-import-message{margin:10px 0 0!important;}
.kcc-info{background:rgba(255,215,0,.12)!important;border:1px solid rgba(255,215,0,.35)!important;color:#FFD700!important;border-radius:12px!important;padding:10px 12px!important;font-weight:800!important;}
.kcc-error{background:rgba(255,90,90,.12)!important;border:1px solid rgba(255,90,90,.35)!important;color:#ffb5b5!important;border-radius:12px!important;padding:10px 12px!important;font-weight:800!important;}
.kcc-import-upload-form button[disabled]{opacity:.7!important;cursor:wait!important;}

/* KCC v0.7.2 - Min side 2.0 dashboard */
.kcc-my-dashboard {
    display: grid;
    gap: 22px;
}
.kcc-dashboard-hero {
    background: radial-gradient(circle at top left, rgba(246,200,0,.20), transparent 34%), linear-gradient(135deg, #090909, #171717);
    border-color: #ffd700;
    padding: 24px;
}
.kcc-dashboard-hero-main {
    display: flex;
    align-items: center;
    gap: 18px;
}
.kcc-dashboard-hero-main .kcc-supporter-avatar,
.kcc-dashboard-hero-main img {
    flex: 0 0 auto;
}
.kcc-dashboard-hero h2 {
    margin: 2px 0 6px;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
}
.kcc-dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.kcc-dashboard-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.kcc-dashboard-hero-stats div,
.kcc-dashboard-action-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,215,0,.35);
    border-radius: 16px;
    padding: 14px;
}
.kcc-dashboard-hero-stats strong {
    display: block;
    color: #ffd700;
    font-size: 30px;
    line-height: 1;
}
.kcc-dashboard-hero-stats span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.kcc-dashboard-section {
    margin: 0;
}
.kcc-dashboard-section-profile {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
    gap: 18px;
}
.kcc-dashboard-section-profile > .kcc-card {
    margin: 0;
}
.kcc-dashboard-history .kcc-section-title-row,
.kcc-dashboard-actions .kcc-section-title-row,
.kcc-dashboard-museum .kcc-section-title-row,
.kcc-dashboard-latest-matches .kcc-section-title-row {
    margin-bottom: 12px;
}
.kcc-dashboard-stat-grid {
    margin-top: 14px;
}
.kcc-dashboard-small-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.kcc-dashboard-highlight-grid {
    margin-top: 14px;
}
.kcc-streak-explainer {
    margin: 12px 0 0;
    font-size: 13px;
}
.kcc-dashboard-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.kcc-dashboard-action-card {
    display: block;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.kcc-dashboard-action-card:hover,
.kcc-dashboard-action-card:focus {
    transform: translateY(-2px);
    background: rgba(255,215,0,.10) !important;
    border-color: #ffd700;
    color: #fff !important;
}
.kcc-dashboard-action-card strong {
    display: block;
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 5px;
}
.kcc-dashboard-action-card span {
    display: block;
    color: rgba(255,255,255,.78);
    font-weight: 600;
    line-height: 1.35;
}
.kcc-dashboard-tools {
    display: grid;
    gap: 18px;
}
.kcc-dashboard-tools > .kcc-card {
    margin: 0;
}
.kcc-dashboard-latest-matches .kcc-my-match-list {
    margin-top: 12px;
}
.kcc-activity-feed a.kcc-activity-row,
a.kcc-activity-row,
.kcc-card .kcc-activity-row {
    color: #fff !important;
    background: rgba(255,255,255,.045) !important;
}
.kcc-activity-feed a.kcc-activity-row:hover,
.kcc-activity-feed a.kcc-activity-row:focus,
a.kcc-activity-row:hover,
a.kcc-activity-row:focus {
    color: #fff !important;
    background: rgba(255,215,0,.12) !important;
    border-color: rgba(255,215,0,.75) !important;
    text-decoration: none !important;
}
.kcc-activity-feed a.kcc-activity-row:hover strong,
.kcc-activity-feed a.kcc-activity-row:focus strong,
a.kcc-activity-row:hover strong,
a.kcc-activity-row:focus strong {
    color: #ffd700 !important;
}
.kcc-activity-feed a.kcc-activity-row:hover small,
.kcc-activity-feed a.kcc-activity-row:focus small,
a.kcc-activity-row:hover small,
a.kcc-activity-row:focus small {
    color: rgba(255,255,255,.75) !important;
}
@media (max-width: 820px) {
    .kcc-dashboard-hero-main,
    .kcc-dashboard-section-profile {
        display: grid;
        grid-template-columns: 1fr;
    }
    .kcc-dashboard-hero-stats,
    .kcc-dashboard-action-grid,
    .kcc-dashboard-small-stats {
        grid-template-columns: 1fr;
    }
    .kcc-dashboard-hero {
        padding: 18px;
    }
}

/* KCC v0.7.3 - Dashboard cleanup and dedicated kampregistrering page */
.kcc-route-wrap.kcc-kampregistrering-route {
    padding: 42px 18px;
}
.kcc-route-inner {
    max-width: 980px;
    margin: 0 auto;
}
.kcc-kampregistrering-page {
    display: grid;
    gap: 22px;
}
.kcc-registration-hero {
    background: radial-gradient(circle at top left, rgba(255,215,0,.18), transparent 36%), linear-gradient(135deg, #080808, #171717) !important;
    border-color: #ffd700 !important;
}
.kcc-registration-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.kcc-registration-tool-card,
.kcc-card a.kcc-registration-tool-card {
    display: block;
    min-height: 118px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,215,0,.35);
    background: rgba(255,255,255,.055);
    color: #fff !important;
    text-decoration: none !important;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.kcc-registration-tool-card:hover,
.kcc-registration-tool-card:focus,
.kcc-card a.kcc-registration-tool-card:hover,
.kcc-card a.kcc-registration-tool-card:focus {
    transform: translateY(-2px);
    background: rgba(255,215,0,.12) !important;
    border-color: #ffd700 !important;
    color: #fff !important;
    text-decoration: none !important;
}
.kcc-registration-tool-card strong {
    display: block;
    color: #ffd700 !important;
    font-size: 18px;
    margin-bottom: 7px;
}
.kcc-registration-tool-card span {
    color: rgba(255,255,255,.78) !important;
    font-weight: 650;
    line-height: 1.35;
}
.kcc-dashboard-actions-compact .kcc-dashboard-action-card {
    min-height: 118px;
}
.kcc-dashboard-section-profile .kcc-kraaketoppen-position-card,
.kcc-kraaketoppen-position-card {
    background: radial-gradient(circle at top left, rgba(255,215,0,.18), transparent 40%), linear-gradient(135deg, #090909, #171717) !important;
    color: #fff !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.18);
}
.kcc-kraaketoppen-position-card small,
.kcc-kraaketoppen-position-card * {
    opacity: 1 !important;
}
.kcc-my-dashboard .kcc-badge-card,
.kcc-public-supporter-inner .kcc-badge-card {
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.22)) !important;
    color: #fff !important;
    opacity: 1 !important;
}
.kcc-my-dashboard .kcc-badge-card strong,
.kcc-my-dashboard .kcc-badge-card small,
.kcc-my-dashboard .kcc-badge-group-title,
.kcc-public-supporter-inner .kcc-badge-card strong,
.kcc-public-supporter-inner .kcc-badge-card small {
    color: #fff !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
.kcc-my-dashboard .kcc-badge-card small,
.kcc-public-supporter-inner .kcc-badge-card small {
    color: rgba(255,255,255,.78) !important;
}
.kcc-my-dashboard .kcc-badge-locked {
    opacity: .62 !important;
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.20)) !important;
}
.kcc-my-dashboard .kcc-badge-locked strong,
.kcc-my-dashboard .kcc-badge-locked small {
    color: rgba(255,255,255,.72) !important;
}
.kcc-activity-feed a.kcc-activity-row:hover,
.kcc-activity-feed a.kcc-activity-row:focus,
.kcc-card a.kcc-activity-row:hover,
.kcc-card a.kcc-activity-row:focus,
body .kcc-card a.kcc-activity-row:hover,
body .kcc-card a.kcc-activity-row:focus {
    background: rgba(255,215,0,.12) !important;
    color: #fff !important;
    border-color: rgba(255,215,0,.75) !important;
}
@media (max-width: 820px) {
    .kcc-registration-tool-grid {
        grid-template-columns: 1fr;
    }
    .kcc-route-wrap.kcc-kampregistrering-route {
        padding: 24px 12px;
    }
}

/* KCC v0.7.4 - Badges visual cleanup + portal registration link polish */
body .kcc-my-dashboard .kcc-badges-block,
body .kcc-public-supporter-inner .kcc-badges-block {
    background: radial-gradient(circle at top left, rgba(255,215,0,.12), transparent 34%), linear-gradient(135deg, #090909, #151515) !important;
    border: 2px solid rgba(255,215,0,.75) !important;
    border-radius: 22px !important;
    padding: 22px !important;
    box-shadow: 0 22px 44px rgba(0,0,0,.18) !important;
    color: #fff !important;
}
body .kcc-my-dashboard .kcc-badges-block .kcc-section-title-row h3,
body .kcc-my-dashboard .kcc-badges-block .kcc-section-title-row span,
body .kcc-public-supporter-inner .kcc-badges-block .kcc-section-title-row h3,
body .kcc-public-supporter-inner .kcc-badges-block .kcc-section-title-row span {
    color: #ffd700 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
body .kcc-my-dashboard .kcc-badge-group-title,
body .kcc-public-supporter-inner .kcc-badge-group-title {
    color: #fff !important;
    opacity: .9 !important;
    margin: 14px 0 10px !important;
}
body .kcc-my-dashboard .kcc-badges-grid,
body .kcc-public-supporter-inner .kcc-badges-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 12px !important;
}
body .kcc-my-dashboard .kcc-badge-card,
body .kcc-public-supporter-inner .kcc-badge-card {
    background: linear-gradient(180deg, #151515, #0b0b0b) !important;
    border: 1px solid rgba(255,215,0,.42) !important;
    color: #fff !important;
    opacity: 1 !important;
    box-shadow: none !important;
}
body .kcc-my-dashboard .kcc-badge-earned,
body .kcc-public-supporter-inner .kcc-badge-earned {
    background: radial-gradient(circle at top left, rgba(255,215,0,.16), transparent 42%), linear-gradient(180deg, #171717, #0b0b0b) !important;
}
body .kcc-my-dashboard .kcc-badge-card strong,
body .kcc-public-supporter-inner .kcc-badge-card strong {
    color: #fff !important;
    opacity: 1 !important;
    font-weight: 900 !important;
}
body .kcc-my-dashboard .kcc-badge-card small,
body .kcc-public-supporter-inner .kcc-badge-card small,
body .kcc-my-dashboard .kcc-badge-progress-label,
body .kcc-public-supporter-inner .kcc-badge-progress-label {
    color: rgba(255,255,255,.76) !important;
    opacity: 1 !important;
}
body .kcc-my-dashboard .kcc-badge-icon,
body .kcc-public-supporter-inner .kcc-badge-icon {
    background: #ffd700 !important;
    color: #050505 !important;
    border-color: rgba(255,215,0,.9) !important;
    opacity: 1 !important;
}
body .kcc-my-dashboard .kcc-badge-locked,
body .kcc-public-supporter-inner .kcc-badge-locked {
    opacity: 1 !important;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.30)) !important;
    border-color: rgba(255,215,0,.20) !important;
}
body .kcc-my-dashboard .kcc-badge-locked strong,
body .kcc-public-supporter-inner .kcc-badge-locked strong {
    color: rgba(255,255,255,.82) !important;
}
body .kcc-my-dashboard .kcc-badge-locked small,
body .kcc-public-supporter-inner .kcc-badge-locked small {
    color: rgba(255,255,255,.60) !important;
}
body .kcc-my-dashboard .kcc-badge-progress,
body .kcc-public-supporter-inner .kcc-badge-progress {
    background: rgba(255,255,255,.12) !important;
}
body .kcc-my-dashboard .kcc-badge-progress span,
body .kcc-public-supporter-inner .kcc-badge-progress span {
    background: #ffd700 !important;
}


/* KCC v0.7.5 - Force readable badges on Min side (cache-busted version) */
html body .kcc-my-dashboard section .kcc-badges-block,
html body .kcc-my-dashboard .kcc-badges-block,
html body .kcc-public-supporter-inner .kcc-badges-block {
    background: radial-gradient(circle at 8% 0%, rgba(255, 215, 0, .16), transparent 32%), linear-gradient(135deg, #070707 0%, #111 55%, #050505 100%) !important;
    border: 2px solid #ffd700 !important;
    border-radius: 22px !important;
    padding: 24px !important;
    box-shadow: 0 20px 45px rgba(0,0,0,.28) !important;
    opacity: 1 !important;
    filter: none !important;
}
html body .kcc-my-dashboard section .kcc-badges-block *,
html body .kcc-public-supporter-inner .kcc-badges-block * {
    filter: none !important;
}
html body .kcc-my-dashboard .kcc-badges-block .kcc-section-title-row h3,
html body .kcc-my-dashboard .kcc-badges-block .kcc-section-title-row span,
html body .kcc-public-supporter-inner .kcc-badges-block .kcc-section-title-row h3,
html body .kcc-public-supporter-inner .kcc-badges-block .kcc-section-title-row span {
    color: #ffd700 !important;
    opacity: 1 !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.65) !important;
}
html body .kcc-my-dashboard .kcc-badges-grid,
html body .kcc-public-supporter-inner .kcc-badges-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 12px !important;
}
html body .kcc-my-dashboard .kcc-badge-card,
html body .kcc-public-supporter-inner .kcc-badge-card {
    background: linear-gradient(180deg, #181818 0%, #0b0b0b 100%) !important;
    border: 1px solid rgba(255,215,0,.48) !important;
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;
}
html body .kcc-my-dashboard .kcc-badge-earned,
html body .kcc-public-supporter-inner .kcc-badge-earned {
    background: radial-gradient(circle at top left, rgba(255,215,0,.20), transparent 38%), linear-gradient(180deg, #1c1c1c 0%, #080808 100%) !important;
}
html body .kcc-my-dashboard .kcc-badge-card strong,
html body .kcc-public-supporter-inner .kcc-badge-card strong {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}
html body .kcc-my-dashboard .kcc-badge-card small,
html body .kcc-public-supporter-inner .kcc-badge-card small {
    color: rgba(255,255,255,.82) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
html body .kcc-my-dashboard .kcc-badge-group-title,
html body .kcc-public-supporter-inner .kcc-badge-group-title {
    color: #fff !important;
    opacity: .95 !important;
}
html body .kcc-my-dashboard .kcc-badge-icon,
html body .kcc-public-supporter-inner .kcc-badge-icon {
    background: #ffd700 !important;
    color: #070707 !important;
    opacity: 1 !important;
    filter: none !important;
}
html body .kcc-my-dashboard .kcc-badge-locked,
html body .kcc-public-supporter-inner .kcc-badge-locked {
    background: linear-gradient(180deg, #141414 0%, #080808 100%) !important;
    opacity: .92 !important;
    border-color: rgba(255,215,0,.25) !important;
}
html body .kcc-my-dashboard .kcc-badge-locked strong,
html body .kcc-public-supporter-inner .kcc-badge-locked strong {
    color: rgba(255,255,255,.82) !important;
}
html body .kcc-my-dashboard .kcc-badge-locked small,
html body .kcc-public-supporter-inner .kcc-badge-locked small {
    color: rgba(255,255,255,.62) !important;
}
html body .kcc-my-dashboard .kcc-badge-progress-label,
html body .kcc-public-supporter-inner .kcc-badge-progress-label {
    color: #ffd700 !important;
    opacity: 1 !important;
}

/* v0.7.6 Museum kreditering og varianter */
.kcc-museum-credit-split{display:grid;gap:8px;margin-top:18px;padding:14px 16px;border:1px solid rgba(255,215,0,.26);border-radius:16px;background:rgba(0,0,0,.28);color:#f5f5f5!important}.kcc-museum-credit-split strong{display:block;color:#ffd700!important;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:2px}.kcc-museum-credit-split a{color:#fff!important;text-decoration:none}.kcc-museum-credit-split a:hover{color:#ffd700!important}.kcc-museum-variant-notice{margin:14px 0;padding:12px 14px;border-radius:14px;background:rgba(255,215,0,.12);border:1px solid rgba(255,215,0,.28);color:#fff}.kcc-museum-variant-notice a{color:#ffd700!important;font-weight:800}.kcc-museum-variants{margin-top:28px;padding:22px;border-radius:22px;background:linear-gradient(135deg,rgba(0,0,0,.72),rgba(32,28,8,.88));border:1px solid rgba(255,215,0,.22)}.kcc-museum-variant-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.kcc-museum-variant-card{display:grid;grid-template-columns:70px 1fr;gap:12px;align-items:center;padding:12px;border-radius:16px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);color:#fff}.kcc-museum-variant-thumb{width:70px;height:70px;border-radius:14px;overflow:hidden;background:#111;display:flex;align-items:center;justify-content:center;color:#ffd700!important;text-decoration:none}.kcc-museum-variant-image{width:100%;height:100%;object-fit:cover}.kcc-museum-variant-card strong{display:block;color:#fff}.kcc-museum-variant-card p{margin:.2rem 0;color:rgba(255,255,255,.78);font-size:.88rem}.kcc-museum-variant-card a{color:#ffd700!important;text-decoration:none;font-weight:700}.kcc-museum-card .kcc-museum-credit span{color:rgba(255,255,255,.68);font-size:.85em}

/* v0.8.7 Museum submission */
.kcc-physical-museum-interest{border:1px solid rgba(255,215,0,.28);background:rgba(255,215,0,.06);border-radius:14px;padding:14px 16px;margin:12px 0}.kcc-physical-museum-interest strong{display:block;color:#ffd700;margin-bottom:4px}.kcc-physical-museum-interest p{margin:.25rem 0 .65rem;color:inherit;opacity:.9}
