/*
 * Four more themes: "Kosmos" (space), "Retro 8-bit" (retro), "Dżungla" (jungle) and "Wysoki kontrast" (contrast).
 * Like the themes in themes.css they define the --app-* variables; the rules below add what makes each of them itself.
 * Boards of the games keep their white cells in every theme (--game-panel is mixed from the page colour).
 */

/* ================================================================ Kosmos */
[data-theme="space"] {
    --app-bg: #070b1f;
    --app-surface: #111735;
    --app-surface-2: #182046;
    --app-border: rgba(125, 211, 252, .22);
    --app-nav-bg: linear-gradient(90deg, rgba(10, 14, 40, .92), rgba(40, 20, 90, .92));
    --app-logo: #67e8f9;
    --app-primary: #22d3ee;
    --app-primary-hover: #67e8f9;
    --app-primary-fg: #06122b;
    --app-primary-text: #7dd3fc;
    --app-primary-rgb: 34, 211, 238;
    --app-selected-row: rgba(34, 211, 238, .12);
    --app-correct: #6ee7b7;
    --app-line: rgba(186, 198, 255, .45);
    --app-overlay: rgba(5, 8, 25, .72);
    --app-row-error: rgba(248, 113, 113, .16);
    --app-row-warning: rgba(250, 204, 21, .12);
    --app-hero-1: #1e1b4b;
    --app-hero-2: #0b1030;
    --app-hero-glow: #7c3aed;
    --app-happy-bg: rgba(110, 231, 183, .1);
    --app-happy-border: rgba(110, 231, 183, .35);
    --app-scared-bg: rgba(248, 113, 113, .1);
    --app-scared-border: rgba(248, 113, 113, .35);
    --app-heading-font: 'Nunito', system-ui, sans-serif;
    --bs-body-color: #e6e9ff;
    --bs-secondary-color: rgba(214, 220, 255, .74);
    --bs-emphasis-color: #ffffff;
    --bs-border-color: rgba(125, 211, 252, .25);
    --bs-link-color-rgb: 125, 211, 252;
    --bs-link-hover-color-rgb: 186, 230, 253;
    --bs-border-radius: .8rem;
    --bs-border-radius-sm: .55rem;
    --bs-border-radius-lg: 1.1rem;
}

/* The sky: three sizes of stars and two nebulae; it stays in place while the page scrolls. */
[data-theme="space"] body {
    background-color: #070b1f;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 31% 62%, rgba(255, 255, 255, .85) 50%, transparent 51%),
        radial-gradient(2px 2px at 58% 12%, #bae6fd 50%, transparent 51%),
        radial-gradient(1px 1px at 72% 44%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 88% 78%, #ddd6fe 50%, transparent 51%),
        radial-gradient(1px 1px at 44% 88%, rgba(255, 255, 255, .8) 50%, transparent 51%),
        radial-gradient(1px 1px at 6% 72%, #fff 50%, transparent 51%),
        radial-gradient(2px 2px at 94% 26%, #fff 50%, transparent 51%),
        radial-gradient(ellipse 60% 45% at 85% 0%, rgba(124, 58, 237, .38), transparent 70%),
        radial-gradient(ellipse 55% 40% at 0% 100%, rgba(34, 211, 238, .22), transparent 70%);
    background-size: 340px 340px, 260px 260px, 420px 420px, 300px 300px, 380px 380px, 230px 230px, 290px 290px, 460px 460px, 100% 100%, 100% 100%;
    background-attachment: fixed;
}

/* A second layer of stars that twinkles slowly. */
[data-theme="space"] body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20% 40%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 66% 70%, #a5f3fc 50%, transparent 51%),
        radial-gradient(2px 2px at 80% 20%, #f5d0fe 50%, transparent 51%);
    background-size: 370px 370px, 510px 510px, 430px 430px;
    animation: space-twinkle 4s ease-in-out infinite alternate;
}
@keyframes space-twinkle { from { opacity: .25; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { [data-theme="space"] body::before { animation: none; opacity: .7; } }

[data-theme="space"] .app-navbar {
    /* The blur makes the bar a layer of its own; without a level the glass tiles below (layers too) cover its menus. */
    position: relative;
    z-index: 1030;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(103, 232, 249, .45);
    box-shadow: 0 0 24px rgba(34, 211, 238, .25);
    --bs-navbar-color: rgba(255, 255, 255, .9);
}

[data-theme="space"] h1,
[data-theme="space"] h2 {
    font-weight: 800;
    text-shadow: 0 0 18px rgba(103, 232, 249, .45);
}

/* Glass panels with a thin glowing frame. */
[data-theme="space"] .card,
[data-theme="space"] .learn-subject,
[data-theme="space"] .learn-settings,
[data-theme="space"] .learn-summary,
[data-theme="space"] .dropdown-menu,
[data-theme="space"] .team-chat {
    background: linear-gradient(160deg, rgba(30, 38, 84, .82), rgba(15, 20, 50, .82));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(125, 211, 252, .28);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}

[data-theme="space"] .learn-subject { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
[data-theme="space"] .learn-subject:hover,
[data-theme="space"] .learn-subject:focus-visible,
[data-theme="space"] a.card:hover {
    transform: translateY(-4px);
    border-color: #67e8f9;
    box-shadow: 0 0 0 1px rgba(103, 232, 249, .5), 0 0 28px rgba(34, 211, 238, .45), 0 10px 30px rgba(0, 0, 0, .4);
}

[data-theme="space"] .btn { --bs-btn-border-radius: 2rem; }
[data-theme="space"] .btn-sm { --bs-btn-border-radius: 2rem; }
[data-theme="space"] .btn-lg { --bs-btn-border-radius: 2rem; }
[data-theme="space"] .btn-primary {
    background-image: linear-gradient(90deg, #22d3ee, #818cf8 55%, #c084fc);
    border-color: transparent;
    color: #06122b;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(129, 140, 248, .55);
}
[data-theme="space"] .btn-primary:hover:not(:disabled) { box-shadow: 0 0 28px rgba(103, 232, 249, .8); filter: brightness(1.08); color: #06122b; }
[data-theme="space"] .btn-outline-secondary {
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-border-color: rgba(186, 198, 255, .5);
    --bs-btn-hover-color: #06122b;
    --bs-btn-hover-bg: #c7d2fe;
    --bs-btn-hover-border-color: #c7d2fe;
}
[data-theme="space"] .text-bg-primary { color: #06122b !important; }
[data-theme="space"] .form-control,
[data-theme="space"] .form-select { background-color: rgba(8, 12, 34, .7); border-color: rgba(125, 211, 252, .35); color: var(--bs-body-color); }
[data-theme="space"] .team-status.mine { box-shadow: 0 0 18px rgba(110, 231, 183, .35); }

/* ================================================================ Retro 8-bit */
[data-theme="retro"] {
    --app-bg: #12121f;
    --app-surface: #1d1d33;
    --app-surface-2: #26264a;
    --app-border: #f1f1ff;
    --app-nav-bg: #2b1055;
    --app-logo: #ffd400;
    --app-primary: #ffd400;
    --app-primary-hover: #fff06a;
    --app-primary-fg: #12121f;
    --app-primary-text: #ffd400;
    --app-primary-rgb: 255, 212, 0;
    --app-selected-row: rgba(255, 212, 0, .14);
    --app-correct: #5dff8f;
    --app-line: #8f8fc0;
    --app-overlay: rgba(10, 10, 20, .8);
    --app-row-error: rgba(255, 46, 136, .2);
    --app-row-warning: rgba(255, 212, 0, .14);
    --app-hero-1: #2b1055;
    --app-hero-2: #12121f;
    --app-hero-glow: #ff2e88;
    --app-happy-bg: rgba(93, 255, 143, .1);
    --app-happy-border: #5dff8f;
    --app-scared-bg: rgba(255, 46, 136, .12);
    --app-scared-border: #ff2e88;
    --app-heading-font: 'Press Start 2P', 'Courier New', monospace;
    --bs-body-font-family: 'Nunito', system-ui, sans-serif;
    --bs-body-color: #f1f1ff;
    --bs-secondary-color: rgba(225, 225, 255, .78);
    --bs-emphasis-color: #ffffff;
    --bs-border-color: #8f8fc0;
    --bs-link-color-rgb: 0, 229, 255;
    --bs-link-hover-color-rgb: 140, 245, 255;
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --retro-pink: #ff2e88;
    --retro-cyan: #00e5ff;
}

/* A screen of an old console: thin scan lines over a dark page. */
[data-theme="retro"] body {
    font-family: var(--bs-body-font-family);
    background-color: #12121f;
    background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0, rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 4px);
}

/* The pixel font is wide: headings are smaller and get room between the lines. */
[data-theme="retro"] h1,
[data-theme="retro"] .h1 { font-size: 1.25rem; line-height: 1.7; color: #ffd400; text-shadow: 3px 3px 0 var(--retro-pink); }
[data-theme="retro"] h2,
[data-theme="retro"] .h2 { font-size: 1rem; line-height: 1.7; }
[data-theme="retro"] h3,
[data-theme="retro"] .h3 { font-size: .85rem; line-height: 1.7; }
[data-theme="retro"] h2.h4,
[data-theme="retro"] h2.h5,
[data-theme="retro"] h2.h6,
[data-theme="retro"] h3.h5,
[data-theme="retro"] h3.h6 { font-size: .8rem; line-height: 1.7; }
[data-theme="retro"] .navbar-brand { font-size: .8rem; }
@media (min-width: 768px) { [data-theme="retro"] h1, [data-theme="retro"] .h1 { font-size: 1.6rem; } }

[data-theme="retro"] .app-navbar { border-bottom: 4px solid #ffd400; box-shadow: 0 4px 0 var(--retro-pink); }

[data-theme="retro"] .card,
[data-theme="retro"] .learn-subject,
[data-theme="retro"] .learn-settings,
[data-theme="retro"] .learn-summary,
[data-theme="retro"] .dropdown-menu,
[data-theme="retro"] .team-chat,
[data-theme="retro"] .team-invite {
    border: 3px solid #f1f1ff;
    border-radius: 0 !important;
    box-shadow: 6px 6px 0 var(--retro-pink) !important;
}
[data-theme="retro"] .learn-subject { transition: transform .08s steps(2), box-shadow .08s steps(2); }
[data-theme="retro"] .learn-subject:hover,
[data-theme="retro"] .learn-subject:focus-visible {
    border-color: #ffd400;
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--retro-cyan) !important;
}

[data-theme="retro"] .btn {
    --bs-btn-border-radius: 0;
    --bs-btn-font-weight: 800;
    border-width: 3px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: .03em;
    box-shadow: 4px 4px 0 var(--retro-cyan);
    transition: none;
}
[data-theme="retro"] .btn:hover:not(:disabled):not(.disabled) { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--retro-cyan); }
[data-theme="retro"] .btn:active:not(:disabled):not(.disabled) { transform: translate(4px, 4px); box-shadow: none; }
[data-theme="retro"] .btn-primary { border-color: #12121f; box-shadow: 4px 4px 0 var(--retro-pink); }
[data-theme="retro"] .btn-primary:hover:not(:disabled) { box-shadow: 5px 5px 0 var(--retro-pink); }
[data-theme="retro"] .btn-outline-secondary {
    --bs-btn-color: #f1f1ff;
    --bs-btn-border-color: #f1f1ff;
    --bs-btn-hover-color: #12121f;
    --bs-btn-hover-bg: #f1f1ff;
    --bs-btn-hover-border-color: #f1f1ff;
}
[data-theme="retro"] .btn-close { box-shadow: none; }
[data-theme="retro"] .text-bg-primary { color: #12121f !important; }
[data-theme="retro"] .form-control,
[data-theme="retro"] .form-select { border: 3px solid #8f8fc0; border-radius: 0; background-color: #0c0c18; color: #f1f1ff; }
[data-theme="retro"] .form-control:focus,
[data-theme="retro"] .form-select:focus { border-color: #ffd400; box-shadow: 4px 4px 0 var(--retro-pink); }
[data-theme="retro"] .badge { border-radius: 0; }
[data-theme="retro"] .team-chat-toggle { border-radius: 0; border: 3px solid #12121f; box-shadow: 4px 4px 0 var(--retro-pink); }

/* ================================================================ Dżungla */
[data-theme="jungle"] {
    --app-bg: #f4ecd6;
    --app-surface: #fffaf0;
    --app-surface-2: #f8f0dc;
    --app-border: #dccba0;
    --app-nav-bg: linear-gradient(90deg, #1e5631 0%, #2f7d3c 55%, #4c9a2a 100%);
    --app-logo: #ffd166;
    --app-primary: #2e7d32;
    --app-primary-hover: #1b5e20;
    --app-primary-fg: #ffffff;
    --app-primary-text: #256b2a;
    --app-primary-rgb: 46, 125, 50;
    --app-selected-row: #e6f2d9;
    --app-correct: #1b6e2a;
    --app-line: #b8a878;
    --app-overlay: rgba(255, 250, 240, .78);
    --app-row-error: #fdeae4;
    --app-row-warning: #fff3cf;
    --app-hero-1: #1e5631;
    --app-hero-2: #3d8b37;
    --app-hero-glow: #a4de02;
    --app-happy-bg: #eaf6df;
    --app-happy-border: #c0dea6;
    --app-scared-bg: #fdeee8;
    --app-scared-border: #f3c9b9;
    --app-heading-font: 'Nunito', system-ui, sans-serif;
    --bs-body-font-family: 'Nunito', system-ui, sans-serif;
    --bs-body-color: #2b2a1f;
    --bs-secondary-color: rgba(43, 42, 31, .72);
    --bs-border-color: #dccba0;
    --bs-link-color-rgb: 37, 107, 42;
    --bs-link-hover-color-rgb: 20, 70, 24;
    --bs-border-radius: .9rem;
    --bs-border-radius-sm: .6rem;
    --bs-border-radius-lg: 1.25rem;
    --jungle-wood: #a9743a;
    --jungle-wood-dark: #7a4f22;
}

/* Sand with big leaves growing in from the corners. */
[data-theme="jungle"] body {
    font-family: var(--bs-body-font-family);
    background-color: #f4ecd6;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%232e7d32' stroke-opacity='.22' stroke-width='3'%3E%3Cpath d='M0 200C40 150 60 90 50 10C110 60 120 140 0 200Z' fill='%234c9a2a' fill-opacity='.2'/%3E%3Cpath d='M0 200C30 140 45 90 50 10'/%3E%3Cpath d='M0 200C70 190 150 160 195 90C120 80 40 120 0 200Z' fill='%232f7d3c' fill-opacity='.18'/%3E%3Cpath d='M0 200C70 170 140 130 195 90'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%232e7d32' stroke-opacity='.2' stroke-width='3'%3E%3Cpath d='M200 0C160 50 140 110 150 190C90 140 80 60 200 0Z' fill='%234c9a2a' fill-opacity='.18'/%3E%3Cpath d='M200 0C170 60 155 110 150 190'/%3E%3Cpath d='M200 0C130 10 50 40 5 110C80 120 160 80 200 0Z' fill='%232f7d3c' fill-opacity='.16'/%3E%3Cpath d='M200 0C130 30 60 70 5 110'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 209, 102, .28), transparent 70%);
    background-repeat: no-repeat;
    background-position: left bottom, right top, center top;
    background-size: min(42vw, 22rem), min(42vw, 22rem), 100% 100%;
    background-attachment: fixed;
}

[data-theme="jungle"] h1,
[data-theme="jungle"] h2,
[data-theme="jungle"] h3 { font-weight: 900; color: #1e5631; }
[data-theme="jungle"] .app-navbar { border-bottom: 4px solid var(--jungle-wood-dark); --bs-navbar-color: rgba(255, 255, 255, .92); }

[data-theme="jungle"] .card,
[data-theme="jungle"] .learn-subject,
[data-theme="jungle"] .learn-settings,
[data-theme="jungle"] .learn-summary {
    border: 2px solid #dccba0;
    box-shadow: 0 5px 0 #cdb987 !important;
}
[data-theme="jungle"] .learn-subject { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
[data-theme="jungle"] .learn-subject:hover,
[data-theme="jungle"] .learn-subject:focus-visible {
    transform: translateY(-3px) rotate(-.4deg);
    border-color: #4c9a2a;
    box-shadow: 0 8px 0 #8fbf5f !important;
}

/* Buttons like blocks of wood and leaf: a darker edge underneath that is pressed in. */
[data-theme="jungle"] .btn { --bs-btn-border-radius: 1rem; --bs-btn-font-weight: 800; border-width: 2px; }
[data-theme="jungle"] .btn-sm { --bs-btn-border-radius: .8rem; }
[data-theme="jungle"] .btn-lg { --bs-btn-border-radius: 1.2rem; }
[data-theme="jungle"] .btn-primary { background-image: linear-gradient(180deg, #4c9a2a, #2e7d32); border-color: #1b5e20; box-shadow: 0 4px 0 #1b5e20; }
[data-theme="jungle"] .btn.btn-secondary,
[data-theme="jungle"] .btn.btn-outline-secondary:not(.btn-outline-light) {
    --bs-btn-color: #fff8e7;
    --bs-btn-bg: var(--jungle-wood);
    --bs-btn-border-color: var(--jungle-wood-dark);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #b9833f;
    --bs-btn-hover-border-color: var(--jungle-wood-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #96652f;
    --bs-btn-active-border-color: var(--jungle-wood-dark);
    --bs-btn-disabled-color: #fff8e7;
    --bs-btn-disabled-bg: var(--jungle-wood);
    --bs-btn-disabled-border-color: var(--jungle-wood-dark);
    background-image: repeating-linear-gradient(92deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 9px);
    box-shadow: 0 4px 0 var(--jungle-wood-dark);
}
[data-theme="jungle"] .btn-primary:active:not(:disabled),
[data-theme="jungle"] .btn-secondary:active:not(:disabled),
[data-theme="jungle"] .btn-outline-secondary:active:not(:disabled) { transform: translateY(4px); box-shadow: none; }
[data-theme="jungle"] .btn-close { box-shadow: none; }
[data-theme="jungle"] .team-chat-toggle { background: #2e7d32; box-shadow: 0 4px 0 #1b5e20, 0 6px 14px rgba(0, 0, 0, .25); }

/* ================================================================ Wysoki kontrast */
[data-theme="contrast"] {
    --app-bg: #000000;
    --app-surface: #000000;
    --app-surface-2: #141414;
    --app-border: #ffffff;
    --app-nav-bg: #000000;
    --app-logo: #ffe600;
    --app-primary: #ffe600;
    --app-primary-hover: #fff36b;
    --app-primary-fg: #000000;
    --app-primary-text: #ffe600;
    --app-primary-rgb: 255, 230, 0;
    --app-selected-row: #2a2600;
    --app-correct: #7cff7c;
    --app-line: #ffffff;
    --app-overlay: rgba(0, 0, 0, .88);
    --app-row-error: #3a0000;
    --app-row-warning: #2a2600;
    --app-hero-1: #000000;
    --app-hero-2: #000000;
    --app-hero-glow: #000000;
    --app-happy-bg: #002a00;
    --app-happy-border: #7cff7c;
    --app-scared-bg: #3a0000;
    --app-scared-border: #ff8a8a;
    --app-heading-font: inherit;
    --bs-body-color: #ffffff;
    --bs-secondary-color: #ffffff;
    --bs-tertiary-color: #ffffff;
    --bs-emphasis-color: #ffffff;
    --bs-border-color: #ffffff;
    --bs-link-color-rgb: 255, 230, 0;
    --bs-link-hover-color-rgb: 255, 243, 107;
    --bs-border-radius: .35rem;
    --bs-border-radius-sm: .3rem;
    --bs-border-radius-lg: .45rem;
}

[data-theme="contrast"] body { font-size: 1.05rem; }
[data-theme="contrast"] a:not(.btn):not(.nav-link):not(.dropdown-item):not(.navbar-brand):not(.learn-subject) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
[data-theme="contrast"] .app-navbar { border-bottom: 3px solid #ffe600; --bs-navbar-color: #fff; --bs-navbar-hover-color: #ffe600; --bs-navbar-active-color: #ffe600; }
[data-theme="contrast"] .card,
[data-theme="contrast"] .learn-subject,
[data-theme="contrast"] .learn-settings,
[data-theme="contrast"] .learn-summary,
[data-theme="contrast"] .dropdown-menu,
[data-theme="contrast"] .team-chat,
[data-theme="contrast"] .form-control,
[data-theme="contrast"] .form-select { border: 2px solid #ffffff; box-shadow: none !important; }
[data-theme="contrast"] .form-control,
[data-theme="contrast"] .form-select { background-color: #000; color: #fff; }
[data-theme="contrast"] .form-control::placeholder { color: #d0d0d0; opacity: 1; }
[data-theme="contrast"] .learn-subject:hover,
[data-theme="contrast"] .learn-subject:focus-visible { border-color: #ffe600; background: #1f1c00; }
[data-theme="contrast"] .btn { border-width: 2px; --bs-btn-font-weight: 700; box-shadow: none; }
[data-theme="contrast"] .btn-outline-secondary,
[data-theme="contrast"] .btn-outline-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #000000;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-color: #000000;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-active-color: #000000;
    --bs-btn-active-bg: #ffe600;
    --bs-btn-active-border-color: #ffe600;
}
[data-theme="contrast"] .btn:disabled,
[data-theme="contrast"] .btn.disabled { opacity: 1; border-style: dashed; --bs-btn-disabled-color: #bdbdbd; --bs-btn-disabled-bg: #000; --bs-btn-disabled-border-color: #bdbdbd; }
[data-theme="contrast"] .text-bg-primary { color: #000 !important; }
[data-theme="contrast"] .text-muted,
[data-theme="contrast"] .text-body-secondary { color: #ffffff !important; }
/* The place of the keyboard on the page is always easy to find. */
[data-theme="contrast"] :focus-visible { outline: 3px solid #00e5ff !important; outline-offset: 2px; box-shadow: none !important; }
[data-theme="contrast"] .team-chat-toggle { border: 2px solid #000; outline: 2px solid #fff; color: #000; }
[data-theme="contrast"] .team-chat-toggle.open { background: #fff; }
[data-theme="contrast"] .team-status { background: #141414; color: #fff; border: 2px solid #fff; }
[data-theme="contrast"] .team-status.mine { background: #002a00; color: #fff; border-color: #7cff7c; }
[data-theme="contrast"] .team-players li { border: 2px solid #fff; }
[data-theme="contrast"] .team-players li.turn { border-color: #7cff7c; }
