:root {
    color-scheme: dark;
    --bg: #020513;
    --panel: #071126;
    --panel-soft: #111b3f;
    --text: #f5f7fb;
    --muted: #adc7ff;
    --line: #245bd6;
    --cyan: #28d8ff;
    --blue: #086cff;
    --ice: #f7fbff;
    --steel: #83a9ef;
    --lime: #9f35ff;
    --danger: #ff4f8b;
    --shadow: 0 20px 76px rgba(3, 20, 86, .62);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(40, 216, 255, .20), transparent 31rem),
        radial-gradient(circle at top right, rgba(159, 53, 255, .24), transparent 30rem),
        radial-gradient(circle at 56% 0, rgba(8, 108, 255, .18), transparent 34rem),
        linear-gradient(135deg, rgba(1, 7, 26, .95), rgba(9, 4, 33, .97)),
        var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.global-banner {
    width: 100%;
    min-height: clamp(86px, 28vw, 250px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(40, 216, 255, .42);
    background: #000;
    box-shadow: 0 18px 78px rgba(8, 108, 255, .28), 0 0 42px rgba(159, 53, 255, .14);
}

.global-banner img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(40, 216, 255, .30);
    background: rgba(2, 5, 19, .94);
    backdrop-filter: blur(18px);
}

.brand {
    color: var(--ice);
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 0 24px rgba(40, 216, 255, .48), 0 0 36px rgba(159, 53, 255, .28);
}

.nav,
.actions,
.metric-row {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    color: var(--muted);
}

.nav a:hover {
    color: var(--ice);
}

.language-switch {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid rgba(43, 216, 255, .28);
    border-radius: 8px;
    background: rgba(5, 11, 25, .88);
}

.language-switch a {
    padding: .28rem .5rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
}

.language-switch a.is-active {
    color: #061018;
    background: linear-gradient(135deg, var(--cyan), var(--ice));
}

.shell {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: clamp(1.25rem, 4vw, 3rem);
}

.hero {
    display: grid;
    min-height: auto;
    align-items: start;
    padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 .5rem;
    color: var(--cyan);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--heading-color, var(--text));
}

h1 {
    margin-bottom: 1rem;
    font-size: var(--heading-font-size, clamp(2.35rem, 8vw, 5.4rem));
    line-height: .95;
}

h2 {
    font-size: var(--heading-font-size, clamp(1.35rem, 4vw, 2rem));
}

h3 {
    font-size: var(--heading-font-size, 1.1rem);
}

p {
    color: var(--muted);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .75rem 1rem;
    border: 0;
    border-radius: 8px;
    font: inherit;
    line-height: 1;
    text-align: center;
    color: #061018;
    background: linear-gradient(135deg, var(--cyan), var(--ice));
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(43, 216, 255, .22);
}

.help-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-left: .35rem;
    border: 1px solid rgba(40, 216, 255, .68);
    border-radius: 999px;
    color: #28d8ff;
    background: rgba(40, 216, 255, .08);
    font-size: .82rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    vertical-align: middle;
}

.help-badge:hover {
    color: #071225;
    background: #28d8ff;
}

.help-list {
    display: grid;
    gap: .65rem;
    margin: 1rem 0 0;
    padding-left: 1.25rem;
    color: var(--text);
}

.button:disabled,
.button.is-disabled {
    opacity: .48;
    cursor: not-allowed;
    filter: saturate(.65);
}

.button-secondary {
    color: var(--text);
    background: linear-gradient(135deg, #101d3a, #060b19);
    border: 1px solid rgba(43, 216, 255, .28);
    box-shadow: none;
}

.button-danger {
    color: #fff;
    background: var(--danger);
    box-shadow: none;
}

.button-small {
    min-height: 2.45rem;
    padding: .5rem .75rem;
    font-size: .9rem;
}

.auth-card,
.panel,
.set-card,
.stat-card,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(8, 18, 37, .96), rgba(3, 7, 20, .97));
    box-shadow: var(--shadow);
}

.auth-card {
    max-width: 460px;
    margin: 2rem auto;
    padding: clamp(1.25rem, 4vw, 2rem);
}

.auth-separator {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .75rem;
    margin: 1.25rem 0;
    color: var(--muted);
    font-weight: 800;
}

.auth-separator::before,
.auth-separator::after {
    content: "";
    height: 1px;
    background: var(--line);
}

.form-hint {
    margin: .75rem 0 0;
    font-size: .9rem;
}

.form {
    display: grid;
    gap: 1rem;
}

.grid-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: .45rem;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 700;
}

.checkline {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.checkline input {
    width: auto;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.checkbox-line input {
    width: auto;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .75rem;
}

.section-head.inline {
    margin-bottom: 1rem;
}

.overlay-preview {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin: 1rem 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(45deg, rgba(255, 255, 255, .04) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, .04) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .04) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .04) 75%),
        #020613;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    background-size: 20px 20px;
}

.overlay-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.overlay-media-settings {
    display: grid;
    gap: .85rem;
    margin-top: .75rem;
}

.overlay-media-setting {
    padding: .9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 11, 25, .72);
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .65rem;
    margin-top: .75rem;
}

.compact-grid input {
    padding: .55rem .65rem;
}

.color-field {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: .5rem;
    align-items: center;
}

.color-field input[type="color"] {
    width: 3.25rem;
    min-width: 3.25rem;
    height: 2.65rem;
    min-height: 2.65rem;
    padding: .2rem;
    cursor: pointer;
}

.color-field input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-field input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 6px;
}

.color-field input[type="color"]::-moz-color-swatch {
    border: 0;
    border-radius: 6px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .8rem .9rem;
    color: var(--text);
    background: #050b19;
    font: inherit;
}

button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

textarea {
    resize: vertical;
}

.flash {
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.flash-success,
.flash-ok {
    border-color: rgba(43, 216, 255, .55);
}

.flash-error,
.flash-warn {
    border-color: rgba(255, 97, 97, .6);
}

.flash-info {
    border-color: rgba(43, 216, 255, .55);
}

.page-head,
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stats-grid,
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.request-box-grid {
    grid-template-columns: minmax(0, 1fr);
}

.request-box-card {
    width: min(100%, 980px);
}

.stat-card,
.set-card,
.panel,
.empty-state {
    padding: 1.25rem;
}

.stat-card span,
.card-meta {
    color: var(--muted);
    font-size: .84rem;
    text-transform: uppercase;
}

.stat-card strong {
    display: block;
    margin-top: .4rem;
    font-size: clamp(1.7rem, 5vw, 2.7rem);
}

.set-card h2,
.set-card h3 {
    margin-bottom: .4rem;
    overflow-wrap: anywhere;
}

.metric-row {
    justify-content: space-between;
    margin-top: .75rem;
    color: var(--muted);
}

.wrap {
    flex-wrap: wrap;
}

.compact {
    justify-content: flex-end;
}

.panel {
    margin-bottom: 1.5rem;
}

.admin-jumpbar {
    position: sticky;
    top: 4.75rem;
    z-index: 8;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: -.25rem 0 1.25rem;
    padding: .75rem;
    border: 1px solid rgba(40, 216, 255, .22);
    border-radius: 8px;
    background: rgba(2, 5, 19, .86);
    backdrop-filter: blur(14px);
}

.admin-jumpbar a {
    padding: .4rem .65rem;
    border: 1px solid rgba(40, 216, 255, .22);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(7, 17, 38, .74);
    font-size: .84rem;
    font-weight: 800;
}

.admin-jumpbar a:hover,
.admin-jumpbar a.is-active {
    color: var(--ice);
    border-color: rgba(40, 216, 255, .48);
}

.admin-jumpbar a.is-active {
    background: linear-gradient(135deg, rgba(40, 216, 255, .2), rgba(159, 53, 255, .18));
    box-shadow: inset 0 0 0 1px rgba(247, 251, 255, .08);
}

.admin-accordion {
    padding: 0;
    scroll-margin-top: 7rem;
}

.admin-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
}

.admin-accordion summary::-webkit-details-marker {
    display: none;
}

.admin-accordion summary::after {
    content: "+";
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(40, 216, 255, .32);
    border-radius: 8px;
    color: var(--cyan);
    background: rgba(40, 216, 255, .08);
    font-weight: 900;
}

.admin-accordion[open] summary::after {
    content: "-";
}

.admin-accordion summary span {
    color: var(--heading-color, var(--text));
    font-size: 1.05rem;
    font-weight: 900;
}

.admin-accordion summary small {
    margin-left: auto;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-accordion-body {
    padding: 0 1.25rem 1.25rem;
}

.admin-accordion-body .form > .button:last-child,
.admin-accordion-body .form > .actions:last-child {
    position: sticky;
    bottom: .75rem;
    z-index: 4;
    width: fit-content;
    box-shadow: 0 16px 48px rgba(2, 5, 19, .45);
}

.admin-accordion-body .form > .actions:last-child {
    padding: .5rem;
    border: 1px solid rgba(40, 216, 255, .18);
    border-radius: 8px;
    background: rgba(2, 5, 19, .88);
    backdrop-filter: blur(14px);
}

.status-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 17, 38, .72);
}

.status-summary strong {
    color: var(--heading-color, var(--text));
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1rem;
}

.filter-tabs a {
    padding: .45rem .7rem;
    border: 1px solid rgba(40, 216, 255, .22);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(7, 17, 38, .74);
    font-size: .86rem;
    font-weight: 800;
}

.filter-tabs a.is-active {
    color: var(--ice);
    border-color: rgba(40, 216, 255, .55);
    background: rgba(40, 216, 255, .13);
}

.empty-state .button {
    margin-top: .85rem;
}

.home-content {
    display: grid;
    gap: .8rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(40, 216, 255, .22);
}

.home-content h2,
.home-content h3,
.home-content p,
.home-content ul,
.home-content ol {
    margin-bottom: 0;
}

.home-content a {
    color: var(--cyan);
    font-weight: 800;
    text-decoration: underline;
}

.home-content ul,
.home-content ol {
    color: var(--muted);
    padding-left: 1.35rem;
}

.rich-editor {
    display: grid;
    gap: .65rem;
}

.rich-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.rich-toolbar .button {
    width: auto;
}

.rich-toolbar input[type="color"] {
    width: 3rem;
    min-height: 2.2rem;
    padding: .15rem;
    cursor: pointer;
}

.rich-editable {
    min-height: 13rem;
    padding: .9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: #050b19;
    overflow-wrap: anywhere;
}

.rich-editable:focus {
    outline: 2px solid rgba(40, 216, 255, .45);
    outline-offset: 2px;
}

.rich-editable p,
.rich-editable ul,
.rich-editable ol {
    color: var(--muted);
}

.rich-editable a {
    color: var(--cyan);
    text-decoration: underline;
}

.rich-hidden {
    display: none;
}

.track-list {
    display: grid;
    gap: .75rem;
}

.track-row {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: .9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #050b19;
}

.track-row.is-checked {
    border-color: rgba(139, 55, 255, .55);
    opacity: .82;
}

.track-order {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 8px;
    color: #061018;
    background: linear-gradient(135deg, var(--cyan), var(--ice));
    font-weight: 900;
}

.track-row span,
.track-row small {
    display: block;
    color: var(--muted);
}

.track-row strong,
.track-row small {
    overflow-wrap: anywhere;
}

.request-box-card .track-row {
    grid-template-columns: 3.25rem minmax(16rem, 1fr) minmax(15rem, auto);
}

.request-row-actions {
    justify-content: flex-end;
}

.request-box-actions {
    align-items: center;
}

.request-row-actions .button,
.request-box-actions .button {
    min-width: 6.25rem;
    white-space: nowrap;
}

.request-box-actions form {
    display: flex;
}

.status-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    margin-right: .35rem;
    padding: .12rem .45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, .05);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.status-accepted,
.status-played,
.status-done,
.status-ok {
    border-color: rgba(43, 216, 255, .58);
    background: rgba(43, 216, 255, .12);
}

.status-rejected,
.status-bug,
.status-blocked,
.status-fail {
    border-color: rgba(255, 73, 108, .7);
    background: rgba(255, 73, 108, .12);
}

.status-pending,
.status-new,
.status-whitelisted,
.status-warn {
    border-color: rgba(139, 55, 255, .58);
    background: rgba(139, 55, 255, .12);
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: .8rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.data-table th {
    color: var(--muted);
    font-size: .8rem;
    text-transform: uppercase;
}

.data-table small {
    color: var(--muted);
}

.changelog-box {
    max-height: 28rem;
    overflow: auto;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: #050b19;
    font: 0.9rem/1.55 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    white-space: pre-wrap;
}

.audit-table {
    min-width: 1040px;
}

.security-checklist-table {
    min-width: 820px;
}

.audit-meta {
    max-width: 24rem;
    margin: 0 0 .35rem;
    color: var(--text);
    font: .78rem/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.mini-results {
    display: grid;
    gap: .35rem;
    margin: 1rem 0;
}

.qr-share {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin: 1rem 0;
}

.share-fields {
    display: grid;
    gap: .75rem;
    min-width: 0;
}

.share-fields label,
.share-fields input {
    min-width: 0;
}

.qr-share img,
.qr-public img {
    width: 112px;
    height: 112px;
    padding: .45rem;
    border-radius: 8px;
    background: #fff;
}

.qr-public {
    flex: 0 0 auto;
}

.qr-public img {
    width: clamp(168px, 24vw, 240px);
    height: clamp(168px, 24vw, 240px);
}

.tabs {
    display: inline-flex;
    gap: .35rem;
    margin-bottom: 1rem;
    padding: .25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #050b19;
}

.tab-button {
    border: 0;
    border-radius: 6px;
    padding: .65rem .9rem;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.tab-button.is-active {
    color: #061018;
    background: linear-gradient(135deg, var(--cyan), var(--ice));
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
}

.dynamic-list {
    display: grid;
    gap: .75rem;
}

.dynamic-list label {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.dropzone {
    place-items: center;
    min-height: 9rem;
    padding: 1.25rem;
    border: 1px dashed rgba(43, 216, 255, .62);
    border-radius: 8px;
    background: rgba(43, 216, 255, .08);
    text-align: center;
    cursor: pointer;
}

.dropzone.is-dragover {
    border-color: var(--ice);
    background: rgba(139, 55, 255, .18);
    box-shadow: 0 0 34px rgba(43, 216, 255, .22);
}

.dropzone-title {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 900;
}

.dropzone-text {
    color: var(--muted);
}

.dropzone input[type="file"] {
    max-width: 28rem;
}

form {
    margin: 0;
}

.inline-form {
    min-width: 10rem;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem .85rem;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem) 1.5rem;
    text-align: center;
}

.site-footer a,
.footer-link {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.site-footer small,
.site-footer span {
    display: inline;
}

.legal-content {
    white-space: normal;
}

.cookie-banner {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    width: min(680px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid rgba(43, 216, 255, .42);
    border-radius: 8px;
    background: rgba(5, 11, 25, .96);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
    backdrop-filter: blur(14px);
}

.cookie-banner p {
    margin: .25rem 0 0;
    color: var(--muted);
}

.cookie-banner details {
    margin-top: .5rem;
    color: var(--muted);
}

.cookie-banner summary {
    cursor: pointer;
    color: var(--cyan);
    font-weight: 800;
}

.public-clean {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(43, 216, 255, .14), transparent 24rem),
        radial-gradient(circle at bottom right, rgba(139, 55, 255, .16), transparent 26rem),
        linear-gradient(135deg, rgba(2, 8, 24, .96), rgba(8, 5, 29, .98)),
        var(--bg);
}

.clean-shell {
    width: min(960px, 100%);
    min-height: 100vh;
    padding: clamp(1rem, 4vw, 2rem);
}

.public-clean .page-head {
    align-items: flex-start;
    margin-bottom: 1rem;
}

.public-clean .page-head h1 {
    margin-bottom: .5rem;
    font-size: var(--heading-font-size, clamp(2rem, 7vw, 4rem));
}

.public-clean .qr-public {
    display: none;
}

.public-clean .panel {
    margin-bottom: 1rem;
    box-shadow: 0 18px 56px rgba(3, 24, 72, .38);
}

.public-clean .track-row {
    padding: 1rem;
}

.public-overlay .clean-shell {
    width: min(1120px, 100%);
    padding: clamp(.75rem, 3vw, 1.5rem);
}

.public-overlay .panel,
.public-overlay .track-row {
    background: rgba(5, 11, 25, .86);
    backdrop-filter: blur(10px);
}

.public-overlay .page-head h1 {
    font-size: var(--heading-font-size, clamp(2.4rem, 8vw, 5rem));
}

.public-overlay .track-row {
    font-size: clamp(1rem, 2.4vw, 1.45rem);
}

.public-overlay .button-small {
    min-height: 2.75rem;
    font-size: 1rem;
}

@media (max-width: 820px) {
    .topbar,
    .page-head,
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats-grid,
    .cards-grid,
    .grid-form,
    .check-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .track-row {
        grid-template-columns: 2.75rem minmax(0, 1fr);
    }

    .request-box-card .track-row {
        grid-template-columns: 2.75rem minmax(0, 1fr);
    }

    .track-row .actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .request-row-actions {
        justify-content: flex-start;
    }

    .qr-share {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
    }

    .admin-jumpbar {
        position: static;
    }

    .admin-accordion summary {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .admin-accordion summary small {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .nav,
    .actions {
        width: 100%;
    }

    .button,
    .actions .button {
        width: 100%;
    }

}
