@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-BoldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 700;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --bg: #101c18;
    --panel: #192b22;
    --ink: #e5e9db;
    --muted: #9caf9e;
    --sage: #c4d6a0;
    --line: #35483b;
    --input: #17271f;
    --pine: #90a878;
    font-family: 'Lato', sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    padding: 32px 24px;
    background: radial-gradient(ellipse at 50% 0%, #213b2d 0%, transparent 65%), #0c1712;
}

button,
input,
select {
    font: inherit;
}

button,
a,
input,
summary {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
    border: 0;
    transition:
        background 0.15s,
        color 0.15s,
        border-color 0.15s;
}

button:disabled {
    cursor: default;
    opacity: 0.42;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
.scene-canvas:focus-visible {
    outline: 2px solid var(--sage);
    outline-offset: 3px;
}

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

[hidden] {
    display: none !important;
}

.shell {
    width: 100%;
    max-width: 1220px;
    min-width: 0;
    margin: auto;
    border: 1px solid #405546;
    border-radius: 18px;
    background: #15261e;
    box-shadow:
        0 24px 70px #0005,
        inset 0 1px #c4d6a00d;
}

.topbar {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 30px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font:
        italic bold 36px Georgia,
        'Times New Roman',
        serif;
    letter-spacing: -1.8px;
}

.brand svg {
    width: 27px;
    height: 27px;
    color: #a8bf88;
    margin-bottom: -8px;
}

.logout {
    margin: 0;
}

.logout-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 0 8px 12px;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
}

.logout-button:hover {
    color: var(--sage);
}

.logout-button svg {
    width: 18px;
    height: 18px;
}

.intro {
    margin: 0 -28px 28px;
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
    background: #101e1770;
}

h1 {
    margin: 0;
    padding: 19px 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.4px;
}

h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.muted {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.section-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.workspace {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 28px;
    align-items: start;
}

.panel {
    min-width: 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.small-pill {
    color: var(--muted);
    font:
        11px/1.5 'Lato',
        sans-serif;
    white-space: nowrap;
}

.now-playing {
    padding: 20px;
    border: 1px solid #46624d;
    border-radius: 12px;
    background: linear-gradient(155deg, #2b4937, #1d3528 70%);
    color: #f1f3e8;
    --ink: #f1f3e8;
    --muted: #b2c3ac;
    --line: #456252;
    --input: #152d23;
}

.now-playing h2 {
    font-weight: 700;
}

.now-playing .quiet,
.now-playing .round {
    color: var(--ink);
}

.now-playing .quiet:hover:not(:disabled),
.now-playing .round:hover:not(:disabled) {
    background: #365a43;
}

.artwork {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 7px;
    background: var(--input);
}

.artwork img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#emptyArtwork {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--muted);
    font-size: 12px;
}

.play-art {
    font-size: 42px;
    color: var(--sage);
    line-height: 1;
}

.playback-chip {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 7px 12px;
    background: #102d23ed;
    color: #f1f3e8;
    font:
        11px/1.4 'Lato',
        sans-serif;
}

.video-info {
    padding-top: 21px;
}

.video-info h3 {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.6px;
    overflow-wrap: anywhere;
}

.video-info p {
    margin: 8px 0 20px;
    font-size: 12px;
}

.video-info p:empty {
    margin: 0 0 22px;
}

.timeline progress {
    display: block;
    width: 100%;
    height: 3px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--line);
    accent-color: var(--sage);
}

progress::-webkit-progress-bar {
    background: var(--line);
}

progress::-webkit-progress-value {
    background: var(--sage);
}

progress::-moz-progress-bar {
    background: var(--sage);
}

.timeline > div {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    color: var(--muted);
    font:
        12px/1.5 'Lato',
        sans-serif;
}

.transport {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 21px;
}

.round {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.round span {
    font-size: 10px;
}

.now-playing .play-toggle {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    background: var(--sage);
    border-color: var(--sage);
    color: #173c30;
    font-size: 20px;
}

.now-playing .play-toggle:hover:not(:disabled) {
    background: #d5e5b3;
}

.next span {
    margin-left: 8px;
}

.seek-form {
    margin-top: 23px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.seek-form .input-row {
    max-width: 260px;
}

.seek-form input {
    font-family: 'Lato', sans-serif;
}

.seek-form p {
    font-size: 11px;
    margin: 9px 0 0;
}

.retry {
    display: block;
    margin: 16px auto 0;
}

.primary,
.quiet,
.remove {
    min-height: 40px;
    padding: 10px 15px;
    border: 1px solid var(--pine);
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.primary {
    background: var(--sage);
    border-color: var(--sage);
    color: #172c21;
    font-weight: 700;
    white-space: nowrap;
}

.primary:hover:not(:disabled) {
    background: #d5e4b7;
    border-color: #d5e4b7;
}

.primary span {
    margin-left: 12px;
}

.quiet {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.quiet:hover:not(:disabled),
.remove:hover:not(:disabled) {
    background: #2a3d2e;
    border-color: #819373;
}

.text-button {
    min-height: 36px;
    padding: 8px 0;
    background: transparent;
    color: var(--ink);
    font-size: 12px;
}

.text-button:hover:not(:disabled) {
    text-decoration: underline;
    text-underline-offset: 4px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

input,
select {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--input);
    color: var(--ink);
    font-size: 13px;
}

input:focus,
select:focus {
    border-color: #9bb481;
}

input::placeholder {
    color: var(--muted);
    opacity: 0.85;
}

input[type='checkbox'] {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
    accent-color: var(--sage);
    flex-shrink: 0;
}

.count {
    display: inline-block;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid var(--line);
    color: var(--muted);
    font:
        12px/1.3 'Lato',
        sans-serif;
}

.queue-panel {
    padding: 5px 0 0;
}

.queue-panel > .section-heading {
    padding: 0 0 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.add-form {
    padding-bottom: 15px;
}

.input-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.input-row input {
    flex: 1;
}

.add-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
}

.add-options > span {
    color: var(--muted);
    font-size: 11px;
}

.queue-list {
    max-height: 470px;
    margin: 0;
    padding: 0;
    overflow: auto;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #95a78c transparent;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.queue-item:focus-within {
    background: #203126;
}

.queue-number {
    flex: 0 0 20px;
    color: var(--muted);
    font:
        11px/1.5 'Lato',
        sans-serif;
}

.queue-thumb {
    width: 86px;
    height: 50px;
    flex: 0 0 86px;
    object-fit: cover;
    border-radius: 5px;
    background: #21372b;
}

.queue-copy {
    min-width: 0;
    flex: 1;
}

.queue-copy strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    white-space: normal;
    text-overflow: ellipsis;
}

.queue-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.queue-channel {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.queue-runtime {
    flex-shrink: 0;
    color: var(--sage);
    font-family: 'Lato', sans-serif;
}

.queue-copy a {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font:
        10px/1.5 'Lato',
        sans-serif;
}

.queue-copy a:hover {
    text-decoration: underline;
}

.queue-moves {
    display: flex;
    flex-direction: column;
    flex: 0 0 30px;
    gap: 2px;
}

.queue-move {
    min-height: 28px;
    padding: 3px 7px;
    font-size: 17px;
    line-height: 1.1;
}

.remove {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 9px;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
}

.empty-queue {
    padding: 64px 0;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
}

.queue-empty-icon {
    display: block;
    margin-bottom: 12px;
    color: #8b9d7d;
    font-size: 24px;
}

.empty-queue h3 {
    font:
        italic 22px 'Lato',
        sans-serif;
}

.queue-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 9px;
    border-top: 1px solid var(--line);
}

.admin-workspace {
    display: contents;
}

.admin-workspace > .panel {
    min-width: 0;
    scroll-margin-top: 24px;
}

.admin-workspace h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.4px;
}

.admin-workspace .section-heading {
    margin-bottom: 24px;
}

.scene-toolbar,
.scene-selection {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.scene-upload {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.scene-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0c1913;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    outline-offset: 3px;
}

.scene-canvas-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #acbea0;
    font:
        12px 'Lato',
        sans-serif;
    pointer-events: none;
}

#sceneLayers {
    position: absolute;
    inset: 0;
}

.scene-item {
    position: absolute;
    border: 1px solid transparent;
    padding: 0;
    background: transparent;
    border-radius: 0;
    cursor: move;
    touch-action: none;
}

.scene-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    display: block;
}

.scene-item.selected {
    border-color: var(--sage);
    outline: 1px solid #0a1812;
}

.scene-handle {
    display: none;
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 15px;
    height: 15px;
    border: 2px solid #173329;
    background: var(--sage);
    cursor: nwse-resize;
}

.scene-item.selected .scene-handle {
    display: block;
}

.scene-selection {
    padding-top: 15px;
}

.scene-selection label {
    margin: 0;
}

.scene-selection input {
    width: 76px;
    padding: 8px;
}

.scene-selection .quiet {
    padding: 8px 11px;
}

.scene-library {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.scene-library article {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.scene-library img {
    width: 100%;
    height: 90px;
    object-fit: contain;
    background: repeating-conic-gradient(#354536 0 25%, #202e23 0 50%) 0 / 16px 16px;
}

.scene-library button {
    padding: 8px;
}

.preset-controls {
    margin: 20px 0;
    padding: 16px;
    border-left: 2px solid #7e9662;
    background: #1c2d23;
}

.preset-controls label:not(:first-child) {
    margin-top: 14px;
}

.preset-controls select {
    flex: 1;
    min-width: 0;
}

.preset-controls .input-row {
    flex-wrap: wrap;
}

.preset-controls input {
    min-width: 120px;
}

.notification-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.notification-options > div {
    min-width: 0;
}

.notification-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.notification-active {
    grid-column: 1;
    margin-top: 22px;
    padding: 16px;
    border-radius: 6px;
    background: #263d2e;
}

.notification-active p {
    margin: 6px 0 0;
    overflow-wrap: anywhere;
}

.schedule-form {
    grid-column: 2;
    grid-row: 2 / span 2;
    padding-left: 30px;
    border-left: 1px solid var(--line);
}

.schedule-form h3 {
    font-size: 15px;
}

.schedule-form label {
    margin-top: 16px;
}

.schedule-form button {
    margin-top: 16px;
}

.extras-panel form {
    margin-top: 22px;
}

.check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--ink);
}

.admin-list {
    margin-top: 20px;
    max-height: 320px;
    overflow: auto;
    color: var(--muted);
    font-size: 12px;
    scrollbar-width: thin;
}

.admin-list article {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.admin-list article > div {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-list strong {
    color: var(--ink);
    font-weight: 700;
}

.admin-list p {
    margin: 6px 0 0;
    font-size: 11px;
}

.admin-list button {
    flex-shrink: 0;
    padding: 8px 10px;
}

.account {
    grid-column: 1 / -1;
    border-top: 1px solid var(--pine);
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    scroll-margin-top: 24px;
}

.account summary {
    padding: 20px 0;
    cursor: pointer;
    font-size: 13px;
}

.account summary::marker {
    color: #607b47;
}

.account summary > span {
    float: right;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
}

.account[open] summary {
    border-bottom: 1px solid var(--line);
}

.account-content {
    padding: 24px 0;
}

.account-management {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
}

.create-account {
    max-width: 400px;
}

.create-account p {
    margin: 8px 0 20px;
}

.create-account input {
    margin-bottom: 16px;
}

.account-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.account-row span {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.account-row .quiet {
    color: #e4b4a5;
}

.connection-tools {
    padding: 0 0 22px;
}

.connection-tools pre {
    margin: 16px 0 0;
    padding: 16px;
    background: #1c2d23;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--ink);
    font:
        12px/1.6 'Lato',
        sans-serif;
}

.notice {
    margin: 18px 0;
    padding: 14px 18px;
    border-left: 3px solid #9bb481;
    background: #203126;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.notice.error {
    color: #efb4a2;
    border-color: #b77861;
    background: #32251f;
}

#retryConnection {
    margin-bottom: 20px;
}

.login-card {
    padding: 30px 36px 36px;
}

.login-card h1 {
    margin-top: 12px;
    padding: 0;
    font-size: 30px;
}

.login-card > p {
    margin: 14px 0 30px;
}

.login-mark {
    color: #a8bf88;
}

.login-mark svg {
    width: 28px;
    height: 28px;
}

.login-form input {
    margin-bottom: 20px;
}

.login-form .primary {
    width: 100%;
    margin-top: 6px;
    text-align: left;
}

.login-form .primary span {
    float: right;
}

#playback {
    padding: 0 28px 28px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.section-nav button {
    position: relative;
    flex-shrink: 0;
    min-height: 58px;
    padding: 0 18px;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    border-radius: 0;
}

.section-nav button:hover {
    color: var(--ink);
    background: #c4d6a009;
}

.section-nav button[aria-selected='true'] {
    color: var(--sage);
    background: #c4d6a00a;
}

.section-nav button[aria-selected='true']::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--sage);
}

.section-nav button:focus-visible {
    outline-offset: -5px;
}

[role='tabpanel']:focus-visible {
    outline: 2px solid var(--sage);
    outline-offset: 7px;
}

.queue-item:hover {
    background: #c4d6a005;
}

.settings-panel {
    display: grid;
    gap: 30px;
}

#adminExtras {
    max-width: 640px;
}

.scene-panel {
    max-width: 960px;
    margin: 0 auto;
}

.notification-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 36px;
    align-items: start;
}

.notification-panel > .section-heading {
    grid-column: 1 / -1;
}

#notificationForm {
    grid-column: 1;
    grid-row: 2;
}

#scheduleList {
    grid-column: 2;
    padding-left: 30px;
}

.login-page .shell {
    max-width: 490px;
}

.shell > .notice {
    margin: 20px 28px;
}

.timeline,
.count,
.queue-runtime,
.queue-number,
#seekInput {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1000px) {
    body {
        padding: 24px 18px;
    }
    .workspace {
        gap: 22px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .queue-thumb {
        width: 64px;
        height: 40px;
        flex-basis: 64px;
    }
    .queue-item {
        gap: 8px;
    }
    .queue-number {
        flex-basis: 15px;
    }
    .transport {
        gap: 6px;
    }
    .transport .quiet {
        padding: 8px 10px;
    }
}

@media (max-width: 760px) {
    .workspace,
    .notification-panel {
        grid-template-columns: minmax(0, 1fr);
    }
    .workspace {
        gap: 30px;
    }
    .notification-panel > * {
        grid-column: 1;
        grid-row: auto;
    }
    .schedule-form {
        grid-column: 1;
        grid-row: auto;
        padding: 24px 0 0;
        margin-top: 24px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    #scheduleList {
        grid-column: 1;
        padding-left: 0;
    }
    .artwork {
        max-height: 390px;
    }
    .queue-list {
        max-height: none;
    }
    .queue-thumb {
        width: 86px;
        height: 50px;
        flex-basis: 86px;
    }
    .account-management {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }
    .section-nav {
        gap: 0;
    }
    .section-nav button {
        padding: 0 14px;
    }
}

@media (max-width: 440px) {
    body {
        padding: 12px 8px;
    }
    .shell {
        border-radius: 12px;
    }
    .topbar {
        min-height: 72px;
        padding: 10px 18px;
    }
    .brand {
        font-size: 32px;
    }
    #playback {
        padding: 0 14px 20px;
    }
    .intro {
        margin: 0 -14px 20px;
        padding: 0 8px;
    }
    .intro > h1 {
        padding-left: 6px;
    }
    .section-nav button {
        flex: 1 0 auto;
        min-height: 44px;
        padding: 0 10px;
        font-size: 13px;
    }
    .section-nav {
        flex-wrap: wrap;
    }
    .now-playing {
        padding: 14px;
    }
    .video-info h3 {
        font-size: 20px;
    }
    .transport {
        gap: 6px;
    }
    .transport .quiet {
        padding: 8px;
    }
    .round {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    .now-playing .play-toggle {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }
    .queue-thumb {
        width: 58px;
        height: 36px;
        flex-basis: 58px;
    }
    .queue-number {
        display: none;
    }
    .queue-copy strong {
        font-size: 13px;
    }
    .queue-copy a {
        font-size: 11px;
    }
    .queue-moves {
        flex-basis: 32px;
    }
    .queue-move {
        min-height: 36px;
    }
    .remove {
        min-height: 44px;
        padding: 7px 4px;
    }
    .input-row {
        flex-wrap: wrap;
    }
    .input-row input {
        flex-basis: 140px;
    }
    .input-row select {
        flex: 1 1 100%;
    }
    .login-card {
        padding: 24px;
    }
    .shell > .notice {
        margin: 16px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    button {
        transition: none;
    }
}
