/* Fonts, design tokens and the site header live in header.css, shared with the admin. */
:root {
    /* Legacy names still used by admin-styled grids and side boxes. */
    --link-color: var(--link);
    --grid-header-bg: var(--navy);
    --grid-header-fg: #fff;
    --grid-alt-bg: #f3f6f9;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    font-feature-settings: "kern";
    text-rendering: optimizeLegibility;
}

::selection { background: var(--yellow); color: var(--navy-ink); }

a {
    color: var(--link);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 { color: var(--navy-ink); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
h3 { font-size: 1.25rem; }
img { max-width: 100%; height: auto; }
iframe, video { max-width: 100%; }
time, .num, table { font-variant-numeric: tabular-nums; }

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 10;
    padding: .6rem 1rem; background: var(--yellow); color: var(--navy-ink); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Header: see header.css. The tabs are public only. */
.nav-login { display: none; }

.tabs { background: var(--navy-deep); }
.tabs ul { list-style: none; margin-block: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.tabs a {
    display: flex; align-items: center; min-height: 3rem; padding: 0 .9rem;
    color: rgba(255, 255, 255, .88); font-weight: 600; font-size: 1.05rem; text-decoration: none;
    box-shadow: inset 0 -3px 0 transparent;
}
.tabs li:first-child a { margin-left: -.9rem; }
.tabs a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.tabs a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--yellow); }

/* Columns: main first in source order, so mobile shows the content first. */
.columns {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr) 14rem;
    grid-template-areas: "left main right";
    gap: 2rem;
    padding-block: 2rem 3rem;
}
.columns.no-left { grid-template-columns: minmax(0, 1fr) 14rem; grid-template-areas: "main right"; }
.columns.no-right { grid-template-columns: 15rem minmax(0, 1fr); grid-template-areas: "left main"; }
.columns.single { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
/* News, articles and pages: the text column is exactly --measure wide and the left boxes get the room that frees up. */
@media (min-width: 961px) {
    .columns.reading.no-right { grid-template-columns: 20rem minmax(0, var(--measure)); }
    .columns.reading.no-left { grid-template-columns: minmax(0, var(--measure)) 14rem; }
    .columns.reading:not(.no-left, .no-right, .single) { grid-template-columns: 15rem minmax(0, var(--measure)) 14rem; }
}
.col-main { grid-area: main; min-width: 0; }
.col-main:focus { outline: none; }
.col-left { grid-area: left; min-width: 0; }
.col-right { grid-area: right; min-width: 0; }

/* Side boxes */
.box { margin-bottom: 1.25rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; font-size: 1rem; }
.box-header { margin: 0; padding: .7rem 1rem .2rem; font-size: 1.05rem; color: var(--navy-ink); }
.box-body { padding: .5rem 1rem 1rem; overflow-wrap: anywhere; }
.box-body > :first-child { margin-top: 0; }
.box-body > :last-child { margin-bottom: 0; }

.linklist, .menu { list-style: none; margin: 0; padding: .25rem 0 .5rem; }
.linklist a, .menu a { display: block; padding: .45rem 1rem; text-decoration: none; }
.linklist a:hover, .menu a:hover { background: var(--sky); }
.menu ul { list-style: none; margin: 0; padding-left: .9rem; }
.menu a.current, .linklist a.current { font-weight: 700; color: var(--navy-ink); background: var(--sky); }

/* Content */
.content { max-width: var(--measure); overflow-wrap: anywhere; }
/* Editor content: paragraphs without spacing, as on the old site. */
.content p, .box-body p { margin: 0; }
.content img { border-radius: 4px; }
/* Set by the layout script on images the old site scaled down to 460 px (no originals were kept). */
.content img.fill { width: 100%; }
.byline { margin: 0 0 1rem; color: var(--muted); font-size: 1rem; }
.page-heading { margin-bottom: 1.5rem; }

/* Home: intro */
.home-intro { padding: .5rem 0 .25rem; }
.home-intro h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .6rem; overflow-wrap: anywhere; }
.home-intro p { margin: 0; max-width: 46rem; font-size: 1.25rem; color: var(--muted); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 2.5rem 0 1rem; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; white-space: nowrap; }

/* Home: upcoming events */
.event-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; }
.event-card {
    position: relative; display: flex; flex-direction: column;
    padding: 1.15rem 1.25rem 1.25rem; background: var(--surface);
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    transition: box-shadow .2s ease, transform .2s ease;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-card:focus-within { box-shadow: var(--shadow-md); }
.event-when { margin: 0 0 .35rem; color: var(--navy); font-weight: 700; font-size: 1.15rem; }
.event-name { margin: 0 0 .35rem; font-size: 1.2rem; line-height: 1.3; overflow-wrap: anywhere; }
.event-name a { color: var(--navy-ink); text-decoration: none; }
.event-name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.event-name a:hover { text-decoration: underline; }
.event-name a:focus-visible { outline: none; }
.event-name a:focus-visible::after { outline: 3px solid var(--link); outline-offset: 2px; }
.event-class { margin: 0 0 1rem; color: var(--muted); font-size: 1rem; }
.event-status {
    align-self: flex-start; margin: auto 0 0; padding: .2rem .65rem;
    border-radius: 999px; font-size: .95rem; font-weight: 600;
}
.status-open { color: var(--ok-fg); background: var(--ok-bg); }
.status-closed { color: var(--closed-fg); background: var(--closed-bg); }
.status-registered { color: var(--me-fg); background: var(--me-bg); }
.status-none { color: var(--muted); background: var(--bg); }
.more-link { margin: 1rem 0 0; font-weight: 600; }

.empty-state { padding: 1.5rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: var(--measure); }
.empty-state p { margin: 0 0 .35rem; }
.empty-state p:last-child { margin: 0; }

/* News */
.news { max-width: var(--measure); }
.news-heading { margin: 3rem 0 1.25rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.news-item { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item h2, .news-item h3 { margin: 0 0 .2rem; font-size: 1.45rem; line-height: 1.25; }
.news-item h2 a, .news-item h3 a { color: var(--navy-ink); text-decoration: none; }
.news-item h2 a:hover, .news-item h3 a:hover { color: var(--link); text-decoration: underline; }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 1rem 0 0; max-width: var(--measure); }
.pager a, .pager span[aria-current] {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.75rem; min-height: 2.75rem; padding: 0 .8rem;
    border-radius: 8px; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums;
}
.pager a { background: var(--surface); box-shadow: var(--shadow-sm); }
.pager a:hover { background: var(--sky); }
.pager span[aria-current] { background: var(--navy); color: #fff; }
.pager span.gap { color: var(--muted); padding: 0 .2rem; }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; list-style: none; padding: 0; }
.thumbs a { display: block; text-align: center; font-size: .95rem; text-decoration: none; }
.thumbs img { display: block; margin: 0 auto .25rem; border-radius: 4px; }
.large-image { text-align: center; }
.large-image nav { display: flex; justify-content: space-between; gap: 1rem; margin: .75rem 0; }

/* Tables */
.table-wrap { position: relative; overflow-x: auto; }
table.grid { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 1rem; background: var(--surface); }
table.grid th { background: var(--grid-header-bg); color: var(--grid-header-fg); text-align: left; font-weight: 600; }
table.grid th, table.grid td { padding: .5rem .7rem; }
table.grid tbody tr:nth-child(even) { background: var(--grid-alt-bg); }
table.grid td.num, table.grid td.date { text-align: right; white-space: nowrap; }
table.grid td.date { text-align: left; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; }
dl.facts dt { font-weight: 600; }
dl.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.muted { color: var(--muted); font-weight: normal; }
.tag { display: inline-block; margin-left: .4rem; padding: 0 .5rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--me-fg); background: var(--me-bg); white-space: nowrap; }

/* Calendar */
.page-lead { margin: -.25rem 0 1rem; max-width: var(--measure); font-size: 1.15rem; color: var(--muted); }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 .5rem; }
.page-actions .button { gap: .45rem; min-height: 3rem; padding-inline: 1.3rem 1.5rem; font-size: 1.1rem; box-shadow: var(--shadow-sm); }
.page-actions .muted { flex: 1 1 18rem; max-width: 34rem; font-size: 1rem; }
.page-actions .button-outline { background: #fff; color: var(--navy-ink); box-shadow: inset 0 0 0 2px var(--navy-ink), var(--shadow-sm); }
h1 + .page-actions { margin-bottom: 1.25rem; }
.cal-section { margin: 2.25rem 0 0; }
.cal-section > h2 { margin: 0 0 .35rem; }
.section-note { margin: 0 0 1rem; max-width: var(--measure); color: var(--muted); }
details.year { margin: 0 0 .75rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
details.year > summary {
    display: flex; align-items: baseline; gap: .75rem; min-height: 3rem; padding: .7rem 1.1rem;
    cursor: pointer; list-style: none; border-radius: var(--radius);
}
details.year > summary::-webkit-details-marker { display: none; }
details.year > summary::before {
    content: ""; flex: none; width: .55rem; height: .55rem; align-self: center;
    border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
    transform: rotate(-45deg); transition: transform .15s ease;
}
details.year[open] > summary::before { transform: rotate(45deg); }
details.year > summary:hover { background: var(--sky); }
details.year > summary:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.year-label { font-size: 1.25rem; font-weight: 700; color: var(--navy-ink); }
.year-count { color: var(--muted); }
.table-card { overflow-x: auto; margin: 0 0 1.5rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.table-card table.grid { margin: 0; background: none; }
.table-card table.grid th { background: var(--sky); color: var(--navy-ink); border-bottom: 1px solid var(--line); }
.table-card table.grid th, .table-card table.grid td { padding: .65rem 1rem; }
details.year .table-card { margin: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: none; border-top: 1px solid var(--line); }
table.events td { vertical-align: top; }
table.events .ev-status .event-status { display: inline-block; padding: .1rem .6rem; font-size: .9rem; white-space: nowrap; }
.table-card .status-none { background: #e6ebf1; }
table.events .ev-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
table.events .ev-name a { font-weight: 600; }
table.events th.num, table.events .ev-count { text-align: right; font-variant-numeric: tabular-nums; }
table.events .ev-unit { display: none; }
table.grid tr.me { background: var(--me-bg) !important; }

.back-link { margin: 0 0 .5rem; }
.back-link a { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.75rem; font-weight: 600; }
.notice-ok { background: var(--ok-bg); color: var(--ok-fg); font-weight: 600; max-width: var(--measure); }
.event-summary {
    display: grid; gap: 1rem; margin: 0 0 2rem; padding: 1.25rem 1.4rem; max-width: var(--measure);
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.event-summary .event-status { margin: 0; justify-self: start; }
.event-summary dl.facts { margin: 0; }
.summary-action, .summary-note { margin: 0; }
.summary-note { color: var(--muted); }
.field-hint { margin: 0; color: var(--muted); }
details.confirm { margin-top: 1rem; }
details.confirm > summary { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--link); cursor: pointer; text-decoration: underline; }
details.confirm form { display: grid; gap: .6rem; margin-top: .5rem; }
details.confirm form p { margin: 0; }
details.confirm .button-quiet { width: auto; justify-self: start; }

/* Event editor (on /kalender/ansok and /kalender/{id}/{tab}) and the admin share the form, button and message styles below. */
.event-editor { max-width: 52rem; }
.event-editor h2 { margin: 1.75rem 0 .5rem; }
.editor-tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 .75rem; border-bottom: 1px solid var(--line); }
.editor-tabs a {
    display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem;
    font-weight: 600; text-decoration: none; color: var(--link); border-radius: 6px 6px 0 0;
}
.editor-tabs a:hover { background: var(--sky); }
.editor-tabs a[aria-current="page"] { color: var(--navy-ink); box-shadow: inset 0 -3px 0 var(--navy); }
:is(.event-editor, .admin-main) .form {
    display: grid; gap: 1rem; margin: 0 0 1rem; padding: 1.25rem 1.4rem;
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
:is(.event-editor, .admin-main) .form label { display: grid; gap: .3rem; font-weight: 600; }
:is(.event-editor, .admin-main) .form label .small { font-weight: normal; color: var(--muted); }
:is(.event-editor, .admin-main) .form label.check { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
:is(.event-editor, .admin-main) input[type=checkbox] { width: 1.25rem; height: 1.25rem; }
:is(.event-editor, .admin-main) .inline, :is(.event-editor, .admin-main) form.form.inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; }
:is(.event-editor, .admin-main) input.narrow { width: 8rem; }
:is(.event-editor, .admin-main) input[type=file] { font: inherit; font-weight: normal; }
:is(.event-editor, .admin-main) .date-input { max-width: 12rem; }
:is(.event-editor, .admin-main) select { max-width: 24rem; }
:is(.event-editor, .admin-main) .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1rem 0; }
:is(.event-editor, .admin-main) button:not(.primary):not(.link):not(.danger) { background: var(--bg); color: var(--navy-ink); box-shadow: inset 0 0 0 1px var(--line); }
:is(.event-editor, .admin-main) button:not(.primary):not(.link):not(.danger):hover { background: var(--sky); }
:is(.event-editor, .admin-main) button.link { min-height: 2.75rem; padding: 0 .4rem; background: none; color: var(--link); font-weight: normal; text-decoration: underline; }
:is(.event-editor, .admin-main) button.link:hover { color: var(--link-hover); }
:is(.event-editor, .admin-main) button.danger { background: #a3001b; }
:is(.event-editor, .admin-main) button.danger:hover { background: #7d0015; }
:is(.event-editor, .admin-main) button:disabled { opacity: .55; cursor: default; }
:is(.event-editor, .admin-main) .actions .button { background: var(--bg); color: var(--navy-ink); box-shadow: inset 0 0 0 1px var(--line); }
:is(.event-editor, .admin-main) .actions .button:hover { background: var(--sky); }
:is(.event-editor, .admin-main) .message { max-width: var(--measure); padding: .9rem 1.1rem; border-radius: 8px; }
:is(.event-editor, .admin-main) .message.ok { background: var(--ok-bg); color: var(--ok-fg); }
:is(.event-editor, .admin-main) .message.error { background: #fde8e8; color: #a3001b; }
:is(.event-editor, .admin-main) .nowrap { white-space: nowrap; }
:is(.event-editor, .admin-main) td .narrow { min-height: 2.25rem; }
/* Captions of an uploaded album (/galleri/ladda-upp/{id}). */
ul.album-images { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .8rem; }
ul.album-images li { display: flex; flex-direction: column; gap: .3rem; padding: .5rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); font-size: 1rem; }
ul.album-images img { max-height: 120px; object-fit: contain; align-self: center; }
/* The editing area is as wide as the published text column (--measure plus padding and border). */
.editor-wrap { max-width: calc(var(--measure) + 2rem + 2px); margin: 0 0 1rem; }
.editor-label { display: block; margin-bottom: .3rem; font-weight: 600; }
.editor-wrap .ck-editor__editable { min-height: 260px; padding-inline: 1rem; }
/* Holds the editor's space until CKEditor has loaded, so the page doesn't jump (it hides this div and adds its UI after it). */
.editor-wrap > div:empty { min-height: 301px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ck-content p { margin: 0; }
.reconnect { border: 0; border-radius: var(--radius); padding: 1.2rem 1.6rem; box-shadow: var(--shadow-md); }
.reconnect::backdrop { background: rgba(20, 38, 61, .35); }
.reconnect p { margin: 0; }
.reconnect .reconnect-failed, .reconnect[data-state="failed"] .reconnect-show { display: none; }
.reconnect[data-state="failed"] .reconnect-failed { display: block; }

/* Footer */
.site-footer { padding: 2rem 0; font-size: 1rem; background: var(--navy-ink); color: rgba(255, 255, 255, .85); }
.site-footer a { color: #fff; }
.site-footer :focus-visible { outline-color: var(--yellow); }

/* Forms */
form.stacked { display: grid; gap: .9rem; max-width: 28rem; }
form.stacked label { display: grid; gap: .3rem; font-weight: 600; }
form.stacked label.checkbox { display: flex; align-items: center; gap: .5rem; font-weight: normal; }
input[type=text], input[type=password], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=date], input[type=url], textarea, select {
    width: 100%; min-height: 2.75rem; padding: .5rem .7rem; font: inherit;
    border: 1px solid #aeb7c2; border-radius: 6px; background: var(--surface); color: var(--text);
}
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--link); outline-offset: 1px; border-color: var(--link); }
button, .button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 2.75rem; padding: .5rem 1.2rem; font: inherit; font-weight: 600;
    border: 0; border-radius: 6px; background: var(--navy); color: #fff; cursor: pointer;
    justify-self: start; text-decoration: none;
}
button:hover, .button:hover { background: var(--navy-ink); color: #fff; }
.button-quiet { width: 100%; background: var(--bg); color: var(--navy-ink); }
.button-quiet:hover { background: var(--sky); color: var(--navy-ink); }
.field-validation-error, .validation-summary-errors { color: #a3001b; font-size: 1rem; }
.notice { padding: .9rem 1.1rem; border-radius: 8px; background: var(--me-bg); }
.notice.error { background: #fde8e8; }
.small { font-size: .95rem; }
form.inline { display: inline; }
.link-button { background: none; border: 0; padding: 0; min-height: 0; color: var(--link); font: inherit; cursor: pointer; text-decoration: underline; }
.link-button:hover { background: none; color: var(--link-hover); }
.content-box { background: var(--surface); padding: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.admin-link { margin: .3em 0 .8em; font-size: 1rem; }

@media (max-width: 960px) {
    .columns, .columns.no-left, .columns.no-right {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "main" "left" "right";
        gap: 1.5rem;
    }
}

@media (max-width: 860px) {
    .tabs { display: none; }
    .menu-open .tabs { display: block; }
    .tabs ul { flex-direction: column; gap: 0; padding-block: .25rem .75rem; }
    .tabs li:first-child a { margin-left: 0; }
    .tabs a { min-height: 3rem; padding: 0 .25rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .tabs a[aria-current="page"] { box-shadow: none; color: var(--yellow); }
    .columns { padding-block: 1.25rem 2rem; }
    .event-cards { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
    .event-card { padding: 1rem 1.1rem; }
    .event-class { margin-bottom: .75rem; }
}

@media (max-width: 480px) {
    .nav-login { display: block; }
    .section-head { flex-direction: column; gap: .25rem; }
    dl.facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
    dl.facts dd { margin-bottom: .6rem; }
    .event-summary { padding: 1.1rem; }
}

@media (max-width: 640px) {
    table.events, table.events tbody { display: block; background: none; }
    table.events thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    table.events tr {
        display: grid; grid-template-columns: auto 1fr; gap: .15rem .75rem;
        padding: .75rem 1rem; border-top: 1px solid var(--line); background: var(--surface) !important;
    }
    table.events td, table.grid.events td.num, .table-card table.events td { display: block; padding: 0; min-width: 0; white-space: normal; }
    table.events .ev-name { grid-column: 1 / -1; order: -1; overflow-wrap: anywhere; }
    table.events .ev-date, table.events .ev-class, table.grid.events td.ev-count { color: var(--muted); font-size: .95rem; text-align: left; }
    table.events .ev-count { grid-column: 1 / -1; }
    table.grid.events td.ev-count:has(.visually-hidden) { display: none; }
    table.events .ev-unit { display: inline; }
    table.events .ev-status { grid-column: 1 / -1; margin-top: .3rem; }
    .table-card table.events tr:first-child { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
