/* ══════════════════════════════════════════════════════════
   BGW Styles — boardgamewatch/strategispil.dk
   Genereret 2026-05-22
   ══════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────── */
:root {
    --bgw-color-primary:        #3730a3;
    --bgw-color-primary-hover:  #312e81;
    --bgw-color-primary-light:  #e0e7ff;
    --bgw-color-bg:             #ffffff;
    --bgw-color-bg-subtle:      #f8fafc;
    --bgw-color-border:         #e2e8f0;
    --bgw-color-text:           #1e293b;
    --bgw-color-text-muted:     #64748b;
    --bgw-color-danger:         #b91c1c;
    --bgw-color-danger-bg:      #fef2f2;
    --bgw-color-danger-border:  #fecaca;
    --bgw-color-rated:          #7c3aed;
    --bgw-color-owned:          #166534;
    --bgw-shadow-md:            0 4px 12px rgba(0, 0, 0, .08);
    --bgw-space-xs:   .25rem;
    --bgw-space-sm:   .5rem;
    --bgw-space-md:   1rem;
    --bgw-space-lg:   1.5rem;
    --bgw-radius-sm:  4px;
    --bgw-radius-md:  8px;
    --bgw-radius-lg:  12px;
    --bgw-font-ui:    'Inter', system-ui, -apple-system, sans-serif;
    --bgw-font-head:  'Fraunces', Georgia, serif;
}

/* ── Reset og base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ── BGW Fullwidth layout ────────────────────────────────── */
.bgw-fullwidth-wrap {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

/* ── Nav (BGW custom nav) ────────────────────────────────── */
.bgw-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #1a1a2e;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-family: var(--bgw-font-ui);
}
.bgw-nav__inner {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 46px;
}
.bgw-nav__search {
    flex: 1;
    max-width: 380px;
}
.bgw-nav__search input {
/* Overskriver GP's globale input-styling i nav */
.bgw-nav input[type="text"],
.bgw-nav input,
.bgw-nav__input {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 99px !important;
    padding: .3rem .85rem !important;
    font-size: .82rem !important;
    color: #fff !important;
    font-family: var(--bgw-font-ui) !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
}
.bgw-nav input[type="text"]::placeholder,
.bgw-nav__input::placeholder {
    color: rgba(255,255,255,.4) !important;
}
.bgw-nav input[type="text"]:focus,
.bgw-nav__input:focus {
    background: rgba(255,255,255,.14) !important;
    border-color: rgba(255,255,255,.3) !important;
}

    width: 100%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 99px;
    padding: .3rem .85rem;
    font-size: .82rem;
    color: #fff;
    font-family: var(--bgw-font-ui);
    outline: none;
}
.bgw-nav__search input::placeholder { color: rgba(255,255,255,.4); }
.bgw-nav__search input:focus { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.bgw-nav__links {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: .5rem;
}
.bgw-nav__link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .3rem .65rem;
    border-radius: var(--bgw-radius-sm);
    font-size: .82rem;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s, background .15s;
}
.bgw-nav__link:hover { color: #fff; background: rgba(255,255,255,.08); }
.bgw-nav__link--active { color: #fff; background: var(--bgw-color-primary); }
.bgw-nav__sep {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,.15);
    margin: 0 .35rem;
    flex-shrink: 0;
}
.bgw-nav__langs {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: 0 .5rem;
    border-left: 0.5px solid rgba(255,255,255,.15);
    margin-left: .25rem;
}
.bgw-nav__lang {
    display: inline-flex;
    align-items: center;
    opacity: .5;
    transition: opacity .15s;
    border-radius: 2px;
    overflow: hidden;
}
.bgw-nav__lang:hover { opacity: .85; }
.bgw-nav__lang--active { opacity: 1; outline: 2px solid var(--bgw-color-primary); outline-offset: 1px; }

/* ── Sort bar ────────────────────────────────────────────── */
.bgw-sort-bar {
    padding: .6rem 0 .4rem;
    border-bottom: 0.5px solid var(--bgw-color-border);
    margin-bottom: .75rem;
    font-family: var(--bgw-font-ui);
}
.bgw-sort-bar__row {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    margin-bottom: .3rem;
}
.bgw-sort-bar__row:last-child { margin-bottom: 0; }
.bgw-sort-bar__label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--bgw-color-text-muted);
    min-width: 52px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.bgw-sort-bar__pills { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; flex: 1; }
.bgw-sort-bar__pill {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .18rem .65rem;
    border-radius: 99px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--bgw-color-text-muted);
    background: var(--bgw-color-bg-subtle);
    border: 0.5px solid var(--bgw-color-border);
    cursor: pointer;
    text-decoration: none;
    transition: all .12s;
    white-space: nowrap;
    user-select: none;
}
.bgw-sort-bar__pill:hover { color: var(--bgw-color-primary); border-color: var(--bgw-color-primary); background: var(--bgw-color-primary-light); }
.bgw-sort-bar__pill--active { color: #fff; background: var(--bgw-color-primary); border-color: var(--bgw-color-primary); }
.bgw-sort-bar__pill--user {
    background: var(--bgw-color-bg);
    border: 0.5px solid var(--bgw-color-border);
    padding: .15rem .35rem .15rem .65rem;
    min-width: 160px;
    cursor: text;
}
.bgw-sort-bar__pill--user input {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--bgw-font-ui);
    font-size: .78rem;
    color: var(--bgw-color-text);
    flex: 1;
    min-width: 80px;
}
.bgw-sort-bar__toggle { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.bgw-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--bgw-radius-sm);
    border: 0.5px solid var(--bgw-color-border);
    background: var(--bgw-color-bg-subtle);
    color: var(--bgw-color-text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: all .12s;
}
.bgw-view-btn:hover, .bgw-view-btn--active {
    background: var(--bgw-color-primary);
    color: #fff;
    border-color: var(--bgw-color-primary);
}

/* ── Spilgrid og kort ────────────────────────────────────── */
.bgw-view-container { width: 100%; }
.bgw-lijst {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .75rem;
    padding: .5rem 0;
}
.bgw-game-card {
    display: flex;
    flex-direction: column;
    background: var(--bgw-color-bg);
    border: 0.5px solid var(--bgw-color-border);
    border-radius: var(--bgw-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .15s, transform .15s;
    text-decoration: none;
    color: inherit;
    font-family: var(--bgw-font-ui);
    position: relative;
}
.bgw-game-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    transform: translateY(-1px);
}
.bgw-card-thumb {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bgw-color-bg-subtle);
    position: relative;
}
.bgw-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bgw-card-body {
    padding: .5rem .6rem .4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.bgw-card-title {
    font-size: .82rem;
    font-weight: 600;
    color: var(--bgw-color-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bgw-card-year {
    font-size: .72rem;
    color: var(--bgw-color-text-muted);
}
.bgw-card-icons {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: .25rem;
}
.bgw-card-icon {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    font-size: .72rem;
    color: var(--bgw-color-text-muted);
}
.bgw-card-icon i { font-size: 11px; }
.bgw-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .2rem;
    padding: .4rem .5rem;
    border-top: 0.5px solid var(--bgw-color-border);
    min-height: 28px;
}
.bgw-card-arrow {
    position: absolute;
    bottom: .35rem;
    right: .4rem;
    font-size: 12px;
    color: var(--bgw-color-border);
}

/* ── Liste-visning ───────────────────────────────────────── */
/* Struktur: bgw-game-card > bgw-card-inner (thumb+body) + bgw-card-badges */

.bgw-view-list .bgw-lijst {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 0.5px solid var(--bgw-color-border);
    border-radius: var(--bgw-radius-md);
    overflow: hidden;
}

.bgw-view-list .bgw-game-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 50px;
    border-radius: 0;
    border: none;
    border-bottom: 0.5px solid var(--bgw-color-border);
    transform: none;
    overflow: hidden;
}
.bgw-view-list .bgw-game-card:last-child { border-bottom: none; }
.bgw-view-list .bgw-game-card:hover { box-shadow: none; background: var(--bgw-color-bg-subtle); transform: none; }

/* Inner: thumb + body — tager al plads undtagen badges */
.bgw-view-list .bgw-card-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Thumbnail */
.bgw-view-list .bgw-card-thumb {
    width: 38px;
    height: 38px;
    min-width: 38px;
    aspect-ratio: 1;
    border-radius: 4px;
    margin: .4rem .5rem;
    overflow: hidden;
    flex-shrink: 0;
}
.bgw-view-list .bgw-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Body: titel + år + ikoner på én linje */
.bgw-view-list .bgw-card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    padding: .35rem .5rem .35rem 0;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: hidden;
}
.bgw-view-list .bgw-card-title {
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    flex-shrink: 1;
    min-width: 0;
    -webkit-line-clamp: unset;
}
.bgw-view-list .bgw-card-year {
    display: inline;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: .75rem;
    color: var(--bgw-color-text-muted);
}
.bgw-view-list .bgw-card-icons {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 0;
}
.bgw-view-list .bgw-card-icon { white-space: nowrap; }

/* Badges-kolonne — fast bredde til højre */
.bgw-view-list .bgw-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: .2rem;
    padding: .35rem .65rem;
    border-top: none;
    border-left: 0.5px solid var(--bgw-color-border);
    min-width: 120px;
    max-width: 190px;
    flex-shrink: 0;
    overflow: hidden;
}
.bgw-view-list .bgw-card-arrow { display: none; }

/* Badges kompakt */
.bgw-view-list .bgw-preorder-badge,
.bgw-view-list .bgw-user-badge,
.bgw-view-list [class*="badge"] {
    font-size: .7rem !important;
    padding: .1rem .4rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ── Preorder badges ─────────────────────────────────────── */
.bgw-preorder-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .12rem .45rem;
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ── Sektion-headere ─────────────────────────────────────── */
.bgw-section-hd {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bgw-color-text-muted);
    margin-bottom: .5rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid var(--bgw-color-border);
}

/* ── Badges ──────────────────────────────────────────────── */
.bgw-komm-badge {
    display: none;
    align-items: center;
    gap: .2rem;
    font-size: .7rem;
    padding: .1rem .3rem;
    border-radius: 99px;
    background: var(--bgw-color-primary-light);
    color: var(--bgw-color-primary);
    border: 0.5px solid var(--bgw-color-primary);
}

/* ── Ikonforklaring ──────────────────────────────────────── */
.bgw-legend {
    font-family: var(--bgw-font-ui);
    font-size: .78rem;
    color: var(--bgw-color-text-muted);
    padding: .4rem 0;
    cursor: pointer;
    user-select: none;
}
.bgw-legend-body {
    display: none;
    gap: .75rem;
    flex-wrap: wrap;
    padding: .5rem 0;
}
.bgw-legend-body.open { display: flex; }
.bgw-legend-item {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    color: var(--bgw-color-text-muted);
}

/* ── Tabs (preorder venter/ankommet) ─────────────────────── */
.bgw-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--bgw-color-border);
    margin-bottom: .75rem;
    font-family: var(--bgw-font-ui);
}
.bgw-tab {
    padding: .45rem 1rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--bgw-color-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: color .12s;
}
.bgw-tab:hover { color: var(--bgw-color-text); }
.bgw-tab--active {
    color: var(--bgw-color-primary);
    border-bottom-color: var(--bgw-color-primary);
    font-weight: 600;
}

/* ── Bruger-badges ───────────────────────────────────────── */
.bgw-user-badge {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    font-size: .72rem;
    padding: .12rem .4rem;
    border-radius: 99px;
    background: var(--bgw-color-bg-subtle);
    border: 0.5px solid var(--bgw-color-border);
    color: var(--bgw-color-text-muted);
    white-space: nowrap;
}

/* ── Spilsøgefelt (spilvisning) ──────────────────────────── */
.bgw-spilsearch {
    width: 100%;
    max-width: 480px;
    padding: .6rem .85rem;
    border: 1px solid var(--bgw-color-border);
    border-radius: var(--bgw-radius-md);
    font-family: var(--bgw-font-ui);
    font-size: .9rem;
    outline: none;
    transition: border-color .15s;
}
.bgw-spilsearch:focus { border-color: var(--bgw-color-primary); }

/* ── Admin styles ────────────────────────────────────────── */
.bgw-admin-sortlist label[draggable="true"] { cursor: grab; }
.bgw-admin-sortlist label[draggable="true"]:active { cursor: grabbing; }

/* ── Offentlige sider (Om KBK, ASL osv.) ────────────────── */
.bgw-public-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: var(--bgw-font-ui);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bgw-color-text);
}
.bgw-public-page h1, .bgw-public-page h2 {
    font-family: var(--bgw-font-head);
    color: var(--bgw-color-text);
}
.bgw-public-page h1 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.bgw-public-page h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: .5rem; }

/* ── Utility ─────────────────────────────────────────────── */
.bgw-count { font-size: .78rem; color: var(--bgw-color-text-muted); font-family: var(--bgw-font-ui); }
/* Footer — fjern GP-attribution */
.site-info a[href*="generatepress"] { display: none !important; }
.site-info .sep { display: none !important; }

/* ── Tiles-visning (c) ───────────────────────────────────── */
/* Bred tile: thumbnail venstre, info højre */

.bgw-view-tiles .bgw-lijst {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: .6rem;
    padding: .5rem 0;
}

.bgw-view-tiles .bgw-game-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 80px;
    border-radius: var(--bgw-radius-md);
    border: 0.5px solid var(--bgw-color-border);
    overflow: hidden;
    transform: none;
}
.bgw-view-tiles .bgw-game-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transform: none;
    background: var(--bgw-color-bg-subtle);
}

/* Thumbnail — fast bredde til venstre */
.bgw-view-tiles .bgw-card-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.bgw-view-tiles .bgw-card-thumb {
    width: 80px;
    min-width: 80px;
    height: 80px;
    aspect-ratio: 1;
    border-radius: 0;
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;
}
.bgw-view-tiles .bgw-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Body: titel, år, ikoner */
.bgw-view-tiles .bgw-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .2rem;
    padding: .5rem .6rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.bgw-view-tiles .bgw-card-title {
    font-size: .85rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--bgw-color-text);
    line-height: 1.3;
    white-space: normal;
}
.bgw-view-tiles .bgw-card-year {
    font-size: .72rem;
    color: var(--bgw-color-text-muted);
}
.bgw-view-tiles .bgw-card-icons {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: nowrap;
    margin-top: .1rem;
    padding-top: 0;
    overflow: hidden;
}
.bgw-view-tiles .bgw-card-icon {
    white-space: nowrap;
    font-size: .72rem;
}

/* Badges — kolonne til højre */
.bgw-view-tiles .bgw-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: .2rem;
    padding: .4rem .5rem;
    border-top: none;
    border-left: 0.5px solid var(--bgw-color-border);
    min-width: 110px;
    max-width: 160px;
    flex-shrink: 0;
    overflow: hidden;
}
.bgw-view-tiles .bgw-card-arrow { display: none; }
.bgw-view-tiles .bgw-preorder-badge,
.bgw-view-tiles .bgw-user-badge,
.bgw-view-tiles [class*="badge"] {
    font-size: .68rem !important;
    padding: .1rem .35rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* View toggle knap aktiv-state for bgw-view-toggle__btn */
.bgw-view-toggle__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--bgw-radius-sm);
    border: 0.5px solid var(--bgw-color-border);
    background: var(--bgw-color-bg-subtle);
    color: var(--bgw-color-text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: all .12s;
}
.bgw-view-toggle__btn:hover,
.bgw-view-toggle__btn.bgw-view-btn--active {
    background: var(--bgw-color-primary);
    color: #fff;
    border-color: var(--bgw-color-primary);
}

/* ──────────────────────────────────────────────────────────
   STAT-KORT (tilføjet 2026-05-24)
   Klikbare nøgletal-kort på brugerside og andre sider.
   ────────────────────────────────────────────────────────── */
.bgw-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: .6rem;
}

.bgw-stat {
    padding: .9rem .75rem;
    background: var(--bgw-color-bg-subtle);
    border: 1px solid var(--bgw-color-border);
    border-radius: var(--bgw-radius-md);
    text-align: center;
    transition: transform .12s, border-color .12s, box-shadow .12s;
}

.bgw-stat[style*="cursor:pointer"]:hover,
.bgw-stat[onclick]:hover {
    border-color: var(--bgw-color-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(55, 48, 163, 0.08);
}

.bgw-stat__val {
    font-family: var(--bgw-font-head);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--bgw-color-text);
    margin-bottom: .25rem;
}

.bgw-stat__lbl {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bgw-color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .2rem;
}

@media (max-width: 480px) {
    .bgw-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .bgw-stat__val {
        font-size: 1.4rem;
    }
}


/* Udvidelse-visning: pastel-orange border + puzzle-ikon-overlay paa thumbnail.
   Bevidst diskret — ingen "UDV"-tekst over billedet. */
.bgw-game-card.bgw-game-card--exp {
    border-color: #fdba74;
}
.bgw-card-exp-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c2410c;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
    z-index: 2;
}
.bgw-card-exp-icon .ti {
    font-size: 13px;
}
/* Mindre ikon i tiles-mode */
.bgw-view-tiles .bgw-card-exp-icon {
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
}
.bgw-view-tiles .bgw-card-exp-icon .ti {
    font-size: 10px;
}
/* Skjul ikon helt i liste-mode (thumbnail er 38x38 — ikonet vil dominere) — vis i stedet via title */
.bgw-view-list .bgw-card-exp-icon {
    display: none;
}
.bgw-view-list .bgw-card-title--exp::before {
    content: "\eaf3"; /* ti-puzzle Unicode private use */
    font-family: "tabler-icons";
    margin-right: 4px;
    color: #c2410c;
    font-weight: normal;
    font-size: .85em;
}

/* Drop muted-grey for udvidelse-title — border+ikon er nok signal */
.bgw-card-title--exp {
    /* Lader title bevare normal farve; tag-class beholdes for fremtidig styling-hook */
}

/* ── Mobilvisning: genindfør vandret side-padding ─────────────────────
   bgw-fullwidth fjerner GP's container-padding (.inside-article{padding:0!important}),
   så indhold rører skærmkanten på mobil. Re-tilføj på små skærme.
   (top/bund forbliver 0; nav + attribution-footer ligger udenfor og rammes ikke) */
@media (max-width: 768px) {
    #content .inside-article {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

