/* ==========================================================================
   IceFighter design 2: the public changelog (changelog.php). Loaded after
   css/if2.css and css/if2-public.css by templates/sf/if2/changelog.php.
   Everything uses the ifc- prefix. Colours per kind of change:
   Neu green, Geändert ice blue, Behoben red, Entfernt grey, Sicherheit navy.
   ========================================================================== */

.ifc {
    --ifc-neu: var(--if-green);
    --ifc-geaendert: var(--if-eisblau-dark);
    --ifc-behoben: var(--if-red);
    --ifc-entfernt: #8A97AB;
    --ifc-sicherheit: var(--if-navy-3);
    --ifc-bar-top: calc(var(--ifp-top-h) + 0px);
    max-width: 1312px; padding: 22px 32px 0;
}
.ifc-main { padding-bottom: 56px; }
.ifc [hidden] { display: none !important; }

/* ---------- Hero ---------- */
.ifp-hero--changelog { --ifp-hero-h: 236px; }
.ifp-hero--changelog .ifp-hero__img { left: 30%; background-position: center 55%; }
.ifp-hero--changelog::before { background: linear-gradient(90deg, var(--if-frost) 0%, rgba(238, 244, 250, .96) 30%, rgba(238, 244, 250, .5) 42%, rgba(238, 244, 250, 0) 56%); }
.ifp-hero--changelog .ifp-hero__in { align-items: flex-start; padding-top: 50px; }
.ifp-hero--changelog .ifp-hero__title { font-size: 70px; }
.ifp-hero--changelog .ifp-hero__lead { max-width: 430px; margin-top: 24px; font-size: 17px; }

/* ---------- Preview bar (admins only, page switched off) ---------- */
.ifc-previewbar {
    display: flex; align-items: center; gap: 16px; margin: 0 0 18px; padding: 12px 16px 12px 14px;
    border-radius: 8px; border: 1.5px dashed #E8A93B; background: #FFF8EA; color: var(--if-navy); font-size: 13.5px;
}
.ifc-previewbar__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #F6D58F; }
.ifc-previewbar__icon .if-icon { width: 22px; height: 22px; }
.ifc-previewbar__text { flex: 1 1 auto; line-height: 1.45; }
.ifc-previewbar__text b { margin-right: 6px; font: 800 italic 16px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .02em; }
.ifc-previewbar__seg { flex: none; }
.ifc-previewbar__seg a { display: flex; align-items: center; padding: 0 14px; height: 32px; font: 600 14px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .03em; color: var(--if-navy); text-decoration: none !important; }

/* ---------- Update board: the arena's scoreboard ---------- */
.ifc-board {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 250px; grid-template-rows: auto 1fr; gap: 0 22px;
    padding: 16px 20px 20px; border-radius: 14px; overflow: hidden; color: #fff;
    background:
        radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px) 0 0 / 7px 7px,
        radial-gradient(120% 140% at 0% 0%, #23407A 0%, var(--if-navy) 55%, #08132B 100%);
    box-shadow: var(--if-shadow-l), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.ifc-board::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--if-red) 0 60%, var(--if-eisblau) 60% 100%); }
.ifc-board__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ifc-board__live { width: 10px; height: 10px; border-radius: 50%; background: var(--if-red); box-shadow: 0 0 0 0 rgba(225, 37, 47, .7); animation: ifc-live 1.8s infinite; }
@keyframes ifc-live { 0% { box-shadow: 0 0 0 0 rgba(225, 37, 47, .7); } 70% { box-shadow: 0 0 0 10px rgba(225, 37, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 37, 47, 0); } }
.ifc-board__label { font: 800 italic 22px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .03em; }
.ifc-board__total { margin-left: auto; font: 600 14px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .06em; color: #A9C3E6; }
.ifc-board__total b { font-size: 20px; color: #fff; }
.ifc-board__cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ifc-cell {
    --c: var(--if-eisblau);
    position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; align-items: center; column-gap: 10px;
    padding: 12px 14px 12px; border: 0; border-radius: 10px; text-align: left; cursor: pointer; color: #fff;
    background: rgba(255, 255, 255, .06); box-shadow: inset 0 3px 0 var(--c), inset 0 0 0 1px rgba(255, 255, 255, .07);
    transition: background .15s, transform .15s;
}
.ifc-cell:hover { background: rgba(255, 255, 255, .11); transform: translateY(-2px); }
.ifc-cell[aria-pressed="true"] { background: rgba(255, 255, 255, .16); box-shadow: inset 0 3px 0 var(--c), inset 0 0 0 2px var(--c); }
.ifc-cell--neu { --c: #3DDC97; }
.ifc-cell--geaendert { --c: var(--if-eisblau); }
.ifc-cell--behoben { --c: #FF4D57; }
.ifc-cell--entfernt { --c: #AFBACB; }
.ifc-cell--sicherheit { --c: #8FB4FF; }
.ifc-cell__icon { grid-row: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--c); }
.ifc-cell__icon .if-icon { width: 18px; height: 18px; }
.ifc-cell__num {
    grid-row: 1; justify-self: end;
    font: 800 italic 46px/1 var(--if-font-head); letter-spacing: .01em; font-variant-numeric: tabular-nums;
    color: #fff; text-shadow: 0 0 14px color-mix(in srgb, var(--c) 70%, transparent), 0 0 2px var(--c);
}
.ifc-cell__name { grid-column: 1 / -1; margin-top: 6px; font: 700 17px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .03em; color: var(--c); }
.ifc-cell__hint { grid-column: 1 / -1; margin-top: 4px; font-size: 12px; line-height: 1.3; color: #B9CBE4; }
.ifc-board__side { display: flex; flex-direction: column; gap: 10px; }
.ifc-board__last { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.ifc-board__last b { font: 700 21px/1.1 var(--if-font-head); letter-spacing: .01em; }
.ifc-board__small { font: 600 12px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .07em; color: #A9C3E6; }
.ifc-board__fresh {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 10px; cursor: pointer;
    text-align: left; color: var(--if-navy); background: linear-gradient(135deg, #FFFFFF 0%, #D9EEFB 100%); font: 600 14px/1.2 var(--if-font-head); text-transform: uppercase; letter-spacing: .02em;
    animation: ifc-pop .5s cubic-bezier(.3, 1.6, .5, 1) both;
}
.ifc-board__fresh:hover { background: #fff; }
.ifc-board__fresh-num { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 20px; background: var(--if-red); color: #fff; font: 800 italic 24px/1 var(--if-font-head); }
@keyframes ifc-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Filter bar (sticky under the header) ---------- */
.ifc-bar {
    position: sticky; top: var(--ifc-bar-top); z-index: 20; margin: 18px -12px 0; padding: 10px 12px 8px;
    background: rgba(238, 244, 250, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ifc-bar.is-stuck { box-shadow: 0 8px 14px -12px rgba(13, 27, 58, .45); }
.ifc-bar__in { display: flex; align-items: center; gap: 14px; }
.ifc-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.ifc-chip, .ifc-area {
    display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border: 1.5px solid var(--if-line); border-radius: 17px;
    background: #fff; cursor: pointer; white-space: nowrap;
    font: 700 15px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .03em; color: var(--if-navy);
    transition: border-color .15s, background .15s, color .15s;
}
.ifc-chip span, .ifc-area span { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--if-frost); font-size: 12.5px; color: var(--if-muted); }
.ifc-chip .if-icon, .ifc-area .if-icon { width: 16px; height: 16px; }
.ifc-chip:hover, .ifc-area:hover { border-color: var(--if-eisblau); }
.ifc-chip.is-active, .ifc-area.is-active { border-color: var(--if-navy); background: var(--if-navy); color: #fff; }
.ifc-chip.is-active span, .ifc-area.is-active span { background: rgba(255, 255, 255, .18); color: #fff; }
.ifc-chip--neu .if-icon { color: var(--ifc-neu); }
.ifc-chip--geaendert .if-icon { color: var(--ifc-geaendert); }
.ifc-chip--behoben .if-icon { color: var(--ifc-behoben); }
.ifc-chip--entfernt .if-icon { color: var(--ifc-entfernt); }
.ifc-chip--sicherheit .if-icon { color: var(--ifc-sicherheit); }
.ifc-chip.is-active .if-icon { color: #fff; }
.ifc-chip--unseen { border-color: #F3B8BB; color: var(--if-red); }
.ifc-chip--unseen .if-icon { color: var(--if-red); }
.ifc-chip--unseen.is-active { background: var(--if-red); border-color: var(--if-red); }
.ifc-search { position: relative; flex: 0 0 270px; }
.ifc-search .if-icon { position: absolute; left: 12px; top: 50%; margin-top: -9px; width: 18px; height: 18px; color: var(--if-muted); pointer-events: none; }
.ifc-search input {
    width: 100%; height: 36px; padding: 0 12px 0 38px; border: 1.5px solid var(--if-line); border-radius: 18px; background: #fff;
    font: 400 14px/1 var(--if-font-body); color: var(--if-navy);
}
.ifc-search input:focus { outline: none; border-color: var(--if-eisblau); box-shadow: 0 0 0 3px rgba(63, 169, 224, .2); }
.ifc-areas { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ifc-areas::-webkit-scrollbar { display: none; }
.ifc-area { height: 28px; padding: 0 11px; border-radius: 14px; font-size: 13.5px; font-weight: 600; }
.ifc-area span { height: 17px; min-width: 18px; font-size: 11.5px; }
.ifc-area .if-icon { width: 15px; height: 15px; color: var(--if-eisblau-dark); }
.ifc-area.is-active .if-icon { color: #fff; }

.ifc-langnote { display: flex; align-items: center; gap: 8px; margin: 12px 0 0 !important; font-size: 13px; color: var(--if-muted); }
.ifc-langnote .if-icon { width: 18px; height: 18px; color: var(--if-eisblau-dark); }
.ifc-result { margin: 14px 0 0 !important; font: 600 15px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--if-muted); }

/* ---------- Timeline: one stop per day on the red line ---------- */
.ifc-timeline { position: relative; margin-top: 22px; }
.ifc-timeline::before {
    content: ''; position: absolute; left: 47px; top: 10px; bottom: 0; width: 4px; border-radius: 2px;
    background: repeating-linear-gradient(180deg, var(--if-red) 0 22px, transparent 22px 30px);
    opacity: .55;
}
.ifc-day { position: relative; display: grid; grid-template-columns: 98px minmax(0, 1fr); column-gap: 22px; padding-bottom: 34px; }
.ifc-day__head { display: contents; }
.ifc-date {
    position: sticky; top: calc(var(--ifc-bar-top) + var(--ifc-bar-h, 96px) + 12px); align-self: start; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; width: 98px; height: 98px; border-radius: 50%;
    color: #fff; text-align: center;
    background: radial-gradient(circle at 50% 32%, #2B3E68 0%, #121F3E 60%, #070E1F 100%);
    box-shadow: 0 0 0 5px var(--if-frost), 0 0 0 7px rgba(13, 27, 58, .12), 0 10px 18px rgba(13, 27, 58, .3), inset 0 -6px 0 rgba(0, 0, 0, .25), inset 0 2px 0 rgba(255, 255, 255, .12);
}
.ifc-date__day { font: 800 italic 40px/.9 var(--if-font-head); }
.ifc-date__month { margin-top: 3px; font: 700 15px/1 var(--if-font-head); letter-spacing: .1em; color: var(--if-eisblau); }
.ifc-date__year { margin-top: 3px; font: 600 11px/1 var(--if-font-head); letter-spacing: .12em; color: #8FA6C8; }
.ifc-day__title { grid-column: 2; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 18px 0 14px; }
.ifp .ifc-day__h { position: relative; padding-bottom: 8px; font: 800 italic 30px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .005em; }
.ifc-day__h::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--if-red); transform: skewX(-24deg); transform-origin: 0 100%; }
.ifc-day__count { font: 600 14px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--if-muted); }
.ifc-day__grid { grid-column: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }

/* ---------- Entry cards ---------- */
.ifc-entry {
    --c: var(--if-eisblau-dark);
    position: relative; display: flex; gap: 18px; padding: 18px 22px 16px 24px; border-radius: 10px; background: #fff;
    box-shadow: 0 1px 3px rgba(13, 27, 58, .08), 0 6px 16px rgba(13, 27, 58, .05); overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    scroll-margin-top: calc(var(--ifc-bar-top) + var(--ifc-bar-h, 96px) + 20px);
}
.ifc-entry::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.ifc-entry:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(13, 27, 58, .08), 0 14px 28px rgba(13, 27, 58, .12); }
.ifc-entry--neu { --c: var(--ifc-neu); }
.ifc-entry--geaendert { --c: var(--ifc-geaendert); }
.ifc-entry--behoben { --c: var(--ifc-behoben); }
.ifc-entry--entfernt { --c: var(--ifc-entfernt); }
.ifc-entry--sicherheit { --c: var(--ifc-sicherheit); }
.ifc-entry__body { position: relative; flex: 1 1 auto; min-width: 0; }

/* new features: wide card on fresh ice with a big icon */
.ifc-entry.is-feature {
    grid-column: 1 / -1; padding: 22px 26px 20px 28px;
    background: linear-gradient(100deg, #FFFFFF 0%, #FFFFFF 55%, #EAF6FD 100%);
    border: 1px solid #CDEBDD;
}
.ifc-entry.is-feature::after {
    content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 169, 224, .14) 0%, rgba(63, 169, 224, 0) 70%); pointer-events: none;
}
.ifc-entry__badge {
    flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
    color: #fff; background: radial-gradient(circle at 35% 30%, #4BD69B 0%, var(--if-green) 55%, #137A4C 100%);
    box-shadow: 0 0 0 5px #E3F6EC, 0 8px 18px rgba(34, 168, 107, .35);
}
.ifc-entry__badge .if-icon { width: 38px; height: 38px; }
.ifc-entry.is-feature .ifc-entry__title { font-size: 26px; }
.ifc-entry.is-feature .ifc-entry__text { font-size: 15px; }

/* the stamp: a fixed bug gets two minutes, a removed feature is out */
.ifc-stamp {
    position: absolute; right: 14px; top: 12px; z-index: 1; padding: 4px 9px 3px; border: 2.5px solid currentColor; border-radius: 6px;
    font: 800 italic 15px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--c);
    opacity: .38; transform: rotate(8deg); pointer-events: none;
    transition: opacity .2s, transform .25s;
}
.ifc-entry:hover .ifc-stamp { opacity: .75; transform: rotate(-4deg) scale(1.08); }
.ifc-entry--behoben .ifc-entry__meta, .ifc-entry--entfernt .ifc-entry__meta { padding-right: 70px; }

.ifc-entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 9px; }
.ifc-tag {
    display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px 0 7px; border-radius: 4px;
    font: 700 13px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--c);
}
.ifc-tag .if-icon { width: 14px; height: 14px; }
.ifc-tag--neu { background: var(--ifc-neu); }
.ifc-tag--geaendert { background: var(--ifc-geaendert); }
.ifc-tag--behoben { background: var(--ifc-behoben); }
.ifc-tag--entfernt { background: var(--ifc-entfernt); }
.ifc-tag--sicherheit { background: var(--ifc-sicherheit); }
.ifc-entry__area { display: inline-flex; align-items: center; gap: 5px; font: 600 13.5px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--if-muted); }
.ifc-entry__area .if-icon { width: 16px; height: 16px; color: var(--if-eisblau-dark); }
.ifc-fresh {
    display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; background: var(--if-red); color: #fff;
    font: 700 12px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .05em; animation: ifc-pop .5s cubic-bezier(.3, 1.6, .5, 1) both;
}
.ifc-hiddentag { display: inline-flex; align-items: center; gap: 4px; font: 600 12.5px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .04em; color: #B7791F; }
.ifc-hiddentag .if-icon { width: 15px; height: 15px; }
.ifp .ifc-entry__title { margin: 0 0 7px; font: 700 21px/1.12 var(--if-font-head); letter-spacing: .005em; }
.ifc-entry__title a { color: var(--if-navy) !important; text-decoration: none !important; }
.ifc-entry__title a:hover { color: var(--if-eisblau-dark) !important; }
.ifc-entry__text { font-size: 14px; line-height: 1.55; color: #3E4E69; }
.ifc-entry__text p { margin: 0 0 .6em; }
.ifc-entry__text p:last-child { margin-bottom: 0; }
.ifc-entry__text.is-clamped { max-height: 7.75em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.ifc-more {
    display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer;
    font: 700 14px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--if-eisblau-dark);
}
.ifc-more .if-icon { width: 16px; height: 16px; transition: transform .2s; }
.ifc-more.is-open .if-icon { transform: rotate(180deg); }

.ifc-entry.is-unseen { box-shadow: 0 0 0 2px rgba(225, 37, 47, .35), 0 6px 16px rgba(13, 27, 58, .08); }
.ifc-entry.is-hidden { background: #FBFCFD; box-shadow: none; outline: 2px dashed #E3B565; outline-offset: -2px; }
.ifc-entry.is-hidden .ifc-entry__title a, .ifc-entry.is-hidden .ifc-entry__text { opacity: .8; }
.ifc-entry:target { animation: ifc-target 1.6s ease-out 1; }
@keyframes ifc-target { 0%, 30% { box-shadow: 0 0 0 4px var(--if-eisblau), 0 14px 28px rgba(13, 27, 58, .16); } 100% { box-shadow: 0 1px 3px rgba(13, 27, 58, .08), 0 6px 16px rgba(13, 27, 58, .05); } }

/* long days: the first entries, the rest behind a button (only with JS) */
.ifc.has-js .ifc-day.is-folded .ifc-entry--more { display: none; }
.ifc.is-filtering .ifc-day.is-folded .ifc-entry--more:not([hidden]) { display: flex; }
.ifc-unfold {
    grid-column: 2; justify-self: center; display: none; align-items: center; gap: 8px; margin-top: 16px; height: 40px; padding: 0 22px;
    border: 1.5px solid var(--if-navy); border-radius: 20px; background: #fff; cursor: pointer;
    font: 700 15px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--if-navy);
    box-shadow: 0 4px 10px rgba(13, 27, 58, .08); transition: background .15s, color .15s;
}
.ifc-unfold:hover { background: var(--if-navy); color: #fff; }
.ifc-unfold .if-icon { width: 18px; height: 18px; }
.ifc.has-js .ifc-day.is-folded .ifc-unfold { display: inline-flex; }
.ifc.is-filtering .ifc-day.is-folded .ifc-unfold { display: none; }

/* reveal on scroll (only with JS, see js/if2-changelog.js) */
.ifc.is-anim .ifc-entry { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease, box-shadow .2s; }
.ifc.is-anim .ifc-entry.is-in { opacity: 1; transform: none; }
.ifc.is-anim .ifc-entry.is-in:hover { transform: translateY(-2px); }

/* ---------- Empty states ---------- */
.ifc-nohit { display: flex; align-items: center; gap: 22px; margin: 20px 0 0 120px; padding: 22px 26px !important; }
.ifc-nohit__icon { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--if-eisblau-soft); color: var(--if-navy); }
.ifc-nohit__icon .if-icon { width: 40px; height: 40px; }
.ifp .ifc-nohit__title { margin: 0 0 4px; font: 800 italic 28px/1 var(--if-font-head); text-transform: uppercase; }
.ifc-nohit p { margin: 0 0 12px !important; color: var(--if-muted); }
.ifc-zero { max-width: 640px; margin: 10px auto 0; padding: 34px 30px 30px !important; text-align: center; }
.ifc-zero__icon { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; background: var(--if-eisblau-soft); color: var(--if-navy); }
.ifc-zero__icon .if-icon { width: 54px; height: 54px; animation: ifc-drive 3.5s ease-in-out infinite; }
@keyframes ifc-drive { 0%, 100% { transform: translateX(-8px); } 50% { transform: translateX(8px); } }
.ifp .ifc-zero__title { margin: 0 0 10px; font: 800 italic 32px/1 var(--if-font-head); text-transform: uppercase; }
.ifc-zero p { margin: 0 !important; font-size: 15px; color: var(--if-muted); }

/* ---------- Call to action ---------- */
.ifc-cta { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; margin-top: 18px; }
.ifc-cta__card {
    display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 12px; background: #fff; color: var(--if-navy) !important;
    text-decoration: none !important; box-shadow: var(--if-shadow); transition: transform .2s, box-shadow .2s;
}
.ifc-cta__card:hover { transform: translateY(-3px); box-shadow: var(--if-shadow-l); }
.ifc-cta__card--play {
    color: #fff !important;
    background: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.3px) 0 0 / 7px 7px, linear-gradient(110deg, var(--if-navy) 0%, #1D3B78 100%);
    box-shadow: inset 0 -4px 0 var(--if-red), var(--if-shadow);
}
.ifc-cta__icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--if-eisblau-soft); color: var(--if-navy); }
.ifc-cta__card--play .ifc-cta__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.ifc-cta__icon .if-icon { width: 32px; height: 32px; }
.ifc-cta__text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; font-size: 14px; }
.ifc-cta__text b { font: 800 italic 23px/1.05 var(--if-font-head); text-transform: uppercase; }
.ifc-cta__card--play .ifc-cta__text span { color: #C5D6EE; }
.ifc-cta__go { display: inline-flex; align-items: center; gap: 4px; flex: none; font: 700 16px/1 var(--if-font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--if-eisblau-dark); }
.ifc-cta__card--play .ifc-cta__go { height: 38px; padding: 0 14px 0 18px; border-radius: 4px; background: var(--if-red); color: #fff; }
.ifc-cta__go .if-icon { width: 18px; height: 18px; }

/* footer link (also on the game pages) */
.ifc-footlink { gap: 6px; }
.ifc-footlink .if-icon { color: #FFC94D; }

/* ---------- Narrow screens ---------- */
@media (max-width: 1180px) {
    .ifc-board { grid-template-columns: minmax(0, 1fr); }
    .ifc-board__side { flex-direction: row; flex-wrap: wrap; margin-top: 12px; }
    .ifc-board__last { flex: 1 1 220px; }
    .ifc-board__fresh { flex: 1 1 220px; }
    .ifc-bar__in { flex-wrap: wrap; }
    .ifc-search { flex: 1 1 100%; }
}
@media (max-width: 860px) {
    .ifc { padding: 16px 18px 0; }
    .ifp-hero--changelog { --ifp-hero-h: 210px; }
    .ifp-hero--changelog .ifp-hero__title { font-size: 46px; }
    .ifp-hero--changelog .ifp-hero__lead { font-size: 15px; }
    .ifc-previewbar { flex-wrap: wrap; }
    .ifc-day__grid { grid-template-columns: minmax(0, 1fr); }
    .ifc-entry.is-feature { flex-direction: column; gap: 12px; }
    .ifc-entry__badge { width: 56px; height: 56px; }
    .ifc-entry__badge .if-icon { width: 28px; height: 28px; }
    .ifc-cta { grid-template-columns: 1fr; }
    .ifc-nohit { margin-left: 0; }
    .ifc-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .ifc-chips::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
    .ifc-timeline::before { left: 27px; }
    .ifc-day { grid-template-columns: 58px minmax(0, 1fr); column-gap: 12px; }
    .ifc-date { width: 58px; height: 58px; }
    .ifc-date__day { font-size: 24px; }
    .ifc-date__month { font-size: 11px; }
    .ifc-date__year { display: none; }
    .ifc-day__title { margin-top: 8px; }
    .ifp .ifc-day__h { font-size: 22px; }
    .ifc-board { padding: 14px 14px 18px; }
    .ifc-board__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ifc-cell__num { font-size: 36px; }
    .ifc-cell__hint { display: none; }
    .ifc-entry { padding: 16px 16px 14px 18px; }
    .ifc-cta__card { flex-wrap: wrap; }
    .ifc-cta__go { margin-left: 76px; }
    .ifc-entry__text.is-clamped { max-height: 9.3em; }
    .ifc-bar { position: static; }
    .ifc-date { top: calc(var(--ifp-top-h) + 10px); }
    .ifc-entry { scroll-margin-top: calc(var(--ifp-top-h) + 16px); }
}
@media (prefers-reduced-motion: reduce) {
    .ifc *, .ifc *::before, .ifc *::after { animation: none !important; transition: none !important; }
    .ifc.is-anim .ifc-entry { opacity: 1; transform: none; }
}
