/* === Fonts === */
@font-face {
    font-family: 'Bebas';
    src: url('../fonts/BEBAS.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 100 700;
    font-stretch: 75% 100%;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-Italic-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 100 700;
    font-stretch: 75% 100%;
    font-style: italic;
    font-display: swap;
}

/* === Base === */
* {
    box-sizing: border-box;
}

/* === Admin panel === */
body.admin {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, sans-serif;
    background: #0f172a;
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

body.admin .panel {
    width: 100%;
    max-width: 420px;
    background: #1e293b;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

body.admin h1 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

body.admin .subtitle {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

body.admin .active-game {
    margin: 0 0 1.5rem;
    font-size: 0.875rem;
    color: #cbd5e1;
}

body.admin .buttons {
    display: grid;
    gap: 0.75rem;
}

body.admin .buttons button {
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: #0f172a;
    background: #38bdf8;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

body.admin .buttons button:nth-child(2) { background: #4ade80; }
body.admin .buttons button:nth-child(3) { background: #fbbf24; }
body.admin .buttons button:nth-child(4) { background: #f472b6; }

body.admin .buttons button:active {
    transform: scale(0.98);
}

body.admin .buttons button:disabled {
    opacity: 0.6;
    cursor: wait;
}

body.admin #status {
    min-height: 1.25rem;
    margin: 1rem 0 0;
    font-size: 0.875rem;
    color: #cbd5e1;
}

body.admin #status.success { color: #4ade80; }
body.admin #status.error { color: #f87171; }

/* === Fan app === */
body.fan {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, sans-serif;
    color: #f8fafc;
    transition: background 0.4s ease;
}

body.fan.mode-waiting { background: #0f172a; }
body.fan.mode-team { background: #0f172a; }
body.fan.mode-fireworks { background: linear-gradient(160deg, #1e1b4b, #312e81); }
body.fan.mode-ball { background: linear-gradient(160deg, #064e3b, #14532d); }
body.fan.mode-questionnaire { background: linear-gradient(160deg, #78350f, #92400e); }
body.fan.mode-flashLights { background: #000; }

body.fan .app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

body.fan .header {
    text-align: center;
    padding: 0.5rem 0 1rem;
}

body.fan .header h1 {
    margin: 0;
    font-size: 1.25rem;
}

body.fan .header p {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

body.fan .screen {
    flex: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

body.fan .screen.active { display: flex; }

body.fan .icon {
    font-size: 3rem;
    line-height: 1;
}

body.fan .hint {
    max-width: 280px;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

body.fan .status {
    min-height: 1.25rem;
    font-size: 0.8rem;
    opacity: 0.75;
}

body.fan .btn {
    border: none;
    border-radius: 14px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    color: #0f172a;
    min-width: 140px;
}

body.fan .btn:active { transform: scale(0.98); }

body.fan .btn-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

body.fan .btn-left { background: #fca5a5; }
body.fan .btn-right { background: #86efac; }

body.fan .shake-indicator {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: transform 0.1s, box-shadow 0.1s;
}

body.fan .shake-indicator.active {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.8);
    border-color: #fbbf24;
}

body.fan .torch-btn {
    width: min(70vw, 260px);
    height: min(70vw, 260px);
    border-radius: 50%;
    border: 6px solid #fef08a;
    background: radial-gradient(circle at 30% 30%, #fef9c3, #eab308);
    color: #422006;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(234, 179, 8, 0);
    transition: box-shadow 0.2s, transform 0.15s;
}

body.fan .torch-btn.on {
    box-shadow: 0 0 60px rgba(250, 204, 21, 0.9);
    transform: scale(1.03);
}

body.fan .player-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    width: 100%;
    max-width: 320px;
}

body.fan .player-btn {
    border: none;
    border-radius: 12px;
    padding: 0.65rem 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    background: #fde68a;
    color: #422006;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.2;
    min-height: 4.5rem;
}

body.fan .player-btn .player-number {
    font-size: 1.15rem;
}

body.fan .player-btn .player-name {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.9;
}

body.fan .player-btn.selected {
    outline: 3px solid #fff;
    background: #fbbf24;
}

body.fan .team-setup {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
}

body.fan .team-setup.visible { display: flex; }

body.fan .team-setup input {
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
}

body.fan .team-setup button {
    border: none;
    border-radius: 12px;
    padding: 0.9rem;
    font-weight: 700;
    background: #38bdf8;
    color: #0f172a;
    cursor: pointer;
}

/* === Mapping (murawa) + Control board pitch === */
body.mapping,
body.control {
    margin: 0;
    min-height: 100vh;
    background: #020617;
    color: #f8fafc;
    font-family: 'Bebas', system-ui, -apple-system, sans-serif;
    letter-spacing: 0.04em;
}

body.control {
    background: #000;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.control .control-viewport {
    --design-w: 3840;
    --design-h: 2160;
    --scale: min(calc(100vw / var(--design-w)), calc(100vh / var(--design-h)));
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.control .control-scaler {
    width: calc(3840px * var(--scale));
    height: calc(2160px * var(--scale));
    position: relative;
    flex-shrink: 0;
}

body.control .control-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 3840px;
    height: 2160px;
    box-sizing: border-box;
    transform: scale(var(--scale));
    transform-origin: top left;
    display: flex;
    align-items: stretch;
    gap: 70px;
    padding: 80px 60px 80px 80px;
}

body.mapping .mapping-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

body.mapping .mapping-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.mapping .mapping-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: normal;
    text-transform: uppercase;
}

body.mapping .mapping-back {
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.9rem;
}

body.mapping .mapping-hint {
    text-align: center;
    opacity: 0.75;
    margin-top: 1rem;
}

body.mapping .pitch {
    position: relative;
    flex: 1;
    min-height: 60vh;
    aspect-ratio: 16 / 10;
    max-height: calc(100vh - 8rem);
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    border-radius: 8px;
    overflow: hidden;
    background: #000 url('../img/_FIELD.png') center center / cover no-repeat;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

body.control .control-pitch-wrap {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

body.control .control-pitch-wrap .pitch {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    max-height: none;
    max-width: none;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    /* background: #000 url('../img/_FIELD.png') center center / cover no-repeat; */
    background: #000 url(../img/_FIELD.png) left top / cover no-repeat;
    background-size: 99.8% 99.9%;
}

body.control .mapping-layer {
    display: none;
    position: absolute;
    inset: 0;
}

body.control .mapping-layer.is-active {
    display: block;
}

body.control .qr-codes-layer {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 10;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.control .qr-codes-layer.is-active {
    display: flex;
}

body.control .qr-code-panel {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2.25rem;
    padding: 5rem;
    width: 50%;
}

body.control .qr-code-panel img {
    display: block;
    width: min(100%, 760px);
    height: auto;
    max-height: calc(100% - 2rem);
    object-fit: contain;
    image-rendering: auto;
    background: #fff;
}

body.control .qr-code-label {
    margin: 0;
    color: #fff;
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
}

body.control #layer-questionnaire.is-active {
    display: block;
}

body.control #layer-questionnaire .countdown-panel,
body.control #layer-questionnaire .results-panel {
    display: none;
}

body.control .questionnaire-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
    background: #000;
}

body.control .control-sidebar {
    position: relative;
    flex-shrink: 0;
    width: 540px;
    height: auto;
    padding: 0;
    background: #000;
    border-left: none;
    opacity: 0.7;
}

body.control .control-nav {
    position: absolute;
    inset: 0 0 8.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}

body.control .control-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    width: 540px;
    padding: 1.75rem 1.25rem;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.95), rgba(10, 10, 10, 0.95));
    color: #fff;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

body.control .control-btn:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

body.control .control-btn.is-active {
    border-color: rgba(255, 255, 255, 0.45);
    background: linear-gradient(180deg, rgba(45, 45, 45, 0.95), rgba(20, 20, 20, 0.95));
}

body.control .control-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

body.control .control-btn-icon {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    object-fit: contain;
}

body.control .control-btn[data-game="ball"] .control-btn-icon {
    width: 90px;
    height: 90px;
}

body.control .control-btn-label {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 54px;
    font-weight: 600;
    font-stretch: 85%;
    font-style: normal;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 0.9;
    font-style: italic;
}

body.control .control-clubs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 540px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #000;
    box-sizing: border-box;
}

body.control .control-club-title {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    opacity: 0.55;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-style: italic;
}

body.control .control-club-stat {
    margin: 0 0 0.15rem;
    font-size: 1.15rem;
    opacity: 0.35;
    line-height: 1.35;
    font-family: system-ui, -apple-system, sans-serif;
    letter-spacing: normal;
    text-transform: none;
    font-style: italic;
}

body.mapping .pitch-side {
    position: absolute;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.55);
    font-size: 1rem;
    text-transform: uppercase;
    z-index: 2;
}

body.mapping .pitch-side strong {
    font-size: 2.25rem;
    font-weight: normal;
    line-height: 1;
}

body.mapping .pitch-left { left: 1rem; }
body.mapping .pitch-right { right: 1rem; text-align: right; }

body.mapping .fireworks-layer,
body.control .fireworks-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

body.mapping .fireworks-zone,
body.control .fireworks-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
}

body.mapping .fireworks-zone-left,
body.control .fireworks-zone-left {
    left: 0;
}

body.mapping .fireworks-zone-right,
body.control .fireworks-zone-right {
    right: 0;
}

body.mapping .firework,
body.control .firework {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: firework-burst 1.7s ease-out forwards;
}

body.mapping .firework-left,
body.control .firework-left {
    background: radial-gradient(circle, #fde047 0, #f97316 45%, transparent 70%);
    box-shadow: 0 0 50px #fbbf24;
}

body.mapping .firework-right,
body.control .firework-right {
    background: radial-gradient(circle, #bfdbfe 0, #60a5fa 45%, transparent 70%);
    box-shadow: 0 0 50px #93c5fd;
}

@keyframes firework-burst {
    0% { transform: scale(0.2); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: scale(12); opacity: 0; }
}

body.mapping .ball,
body.control .ball {
    position: absolute;
    top: 50%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #e5e7eb 35%, #111827 100%);
    border: 3px solid #fff;
    transform: translate(-50%, -50%);
    transition: left 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    z-index: 3;
    left: 50%;
    will-change: left;
}

body.control .ball {
    width: 72px;
    height: 72px;
    transition: left 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.control #layer-ball {
    overflow: hidden;
}

body.control .ball-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
    background: #000;
}

body.control .ball-video.is-hidden {
    visibility: hidden;
    z-index: 1;
}

body.mapping .pitch-questionnaire {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    background-image: url('../img/_FIELD.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

body.mapping .countdown-panel,
body.mapping .results-panel,
body.control .countdown-panel,
body.control .results-panel {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.75);
    min-width: min(90vw, 520px);
    position: relative;
    z-index: 2;
}

body.mapping .results-panel,
body.control .results-panel {
    min-width: 1664px;
    width: min(94%, 1664px);
    padding: 4rem 4.8rem;
}

body.mapping .countdown-label,
body.control .countdown-label {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    opacity: 0.85;
}

body.mapping .countdown-value,
body.control .countdown-value {
    margin: 0;
    font-size: 6rem;
    font-weight: normal;
    line-height: 1;
}

body.mapping .results-panel h2,
body.control .results-panel h2 {
    margin: 0 0 2.4rem;
    font-size: 3.2rem;
}

body.mapping .results-board,
body.control .results-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.8rem;
    text-align: center;
}

body.mapping .results-team-name,
body.control .results-team-name {
    margin: 0 0 2rem;
    font-size: 3.2rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.mapping .results-team-players,
body.control .results-team-players {
    display: flex;
    justify-content: center;
}

body.mapping .results-player-card,
body.control .results-player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: min(100%, 448px);
}

body.mapping .results-player-photo,
body.control .results-player-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 19px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body.mapping .results-player-photo img,
body.control .results-player-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.mapping .results-player-photo-placeholder,
body.control .results-player-photo-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.18), transparent 55%);
}

body.mapping .results-player-name,
body.control .results-player-name {
    margin: 0;
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 2.16rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    text-transform: none;
}

body.mapping .results-player-votes,
body.control .results-player-votes {
    margin: 0;
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 1.76rem;
    font-weight: 600;
    color: #fde68a;
    letter-spacing: normal;
}

body.mapping .results-empty,
body.control .results-empty {
    margin: 0;
    grid-column: 1 / -1;
    opacity: 0.75;
}

body.mapping .results-list,
body.control .results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    text-align: left;
}

body.mapping .results-list li,
body.control .results-list li {
    display: grid;
    grid-template-columns: 2rem 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
}

body.mapping .results-votes,
body.control .results-votes {
    font-weight: 700;
    color: #fde68a;
}

body.mapping .hidden,
body.control .hidden {
    display: none !important;
}

body.mapping .lights-overlay,
body.control .lights-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

body.mapping .lights-left,
body.control .lights-left {
    left: 0;
    background: radial-gradient(circle at 30% 50%, rgba(250, 204, 21, 0.9), transparent 70%);
}

body.mapping .lights-right,
body.control .lights-right {
    right: 0;
    background: radial-gradient(circle at 70% 50%, rgba(147, 197, 253, 0.9), transparent 70%);
}

/* === API doc === */
body.api-doc {
    margin: 0;
    min-height: 100vh;
    background: #0f172a;
    color: #e2e8f0;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}

body.api-doc .api-doc-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

body.api-doc .api-doc-header h1 {
    margin: 0 0 0.75rem;
    font-size: 2rem;
}

body.api-doc .api-doc-lead {
    margin: 0 0 0.5rem;
    opacity: 0.9;
}

body.api-doc .api-doc-meta {
    margin: 0 0 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

body.api-doc .api-doc-meta a {
    color: #93c5fd;
}

body.api-doc .api-doc-section {
    margin-bottom: 2.5rem;
}

body.api-doc .api-doc-section h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

body.api-doc .api-doc-endpoint {
    background: #1e293b;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

body.api-doc .api-doc-endpoint h3 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1rem;
}

body.api-doc .api-doc-endpoint h3:first-of-type {
    margin-top: 0.75rem;
}

body.api-doc .api-doc-method {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-right: 0.5rem;
}

body.api-doc .api-doc-method-get {
    background: #166534;
    color: #bbf7d0;
}

body.api-doc .api-doc-method-post {
    background: #1e40af;
    color: #bfdbfe;
}

body.api-doc .api-doc-path {
    font-size: 1rem;
    color: #fde68a;
}

body.api-doc .api-doc-code {
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    background: #0f172a;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.45;
}

body.api-doc .api-doc-note {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

body.api-doc .api-doc-list {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
}

body.api-doc .api-doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

body.api-doc .api-doc-table th,
body.api-doc .api-doc-table td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.65rem 0.85rem;
    text-align: left;
    vertical-align: top;
}

body.api-doc .api-doc-table th {
    background: #1e293b;
}

body.api-doc code {
    font-family: ui-monospace, 'Cascadia Code', monospace;
    font-size: 0.88em;
}
