:root {
    color-scheme: dark;
    --bg: #0b1020;
    --bg-soft: #111830;
    --panel: #151d38;
    --panel-2: #1a2342;
    --text: #f4f7ff;
    --text-secondary: #e1e5f0;
    --muted: #aeb8d7;
    --muted-dark: #8a91b8;
    --accent: #7c8cff;
    --accent-2: #4dd6b5;
    --danger: #ff6b8a;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 200ms ease;
}
a:hover {
    color: var(--accent-2);
}
button,
input,
select {
    font: inherit;
}
button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--text-secondary);
}
h1 {
    font-weight: 700;
    letter-spacing: -0.01em;
}
h2 {
    font-weight: 600;
}
h3 {
    font-weight: 600;
}

:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.shell {
    width: min(1400px, calc(100% - 24px));
    margin: 0 auto;
    padding: 32px 0 48px;
}

.hero {
    display: grid;
    gap: 24px;
    margin-bottom: 48px;
}
.hero-single {
    max-width: 720px;
}
.hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 700;
}
.muted {
    color: var(--muted);
}
.text-secondary {
    color: var(--text-secondary);
}
.home-content {
    display: grid;
    gap: 24px;
}
@media (min-width: 1100px) {
    .home-content {
        grid-template-columns: 1.3fr 1fr;
        align-items: start;
    }
}
.home-forms {
    min-width: 0;
}
.home-sidebar {
    display: grid;
    gap: 32px;
    grid-template-rows: auto auto;
}
.lobby-panels-desktop {
    display: grid;
    gap: 0;
}
.divider-or {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    color: var(--muted-dark);
    font-size: 0.9rem;
    font-weight: 500;
}
.divider-or::before,
.divider-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.lobby-form {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    margin: 0;
}
.lobby-form:first-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0;
}
.lobby-form:last-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.lobby-form h3 {
    margin: 0 0 16px;
    font-size: 1.1rem;
    font-weight: 600;
}
@media (min-width: 1100px) {
    .lobby-panels-desktop {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .divider-or {
        display: none;
    }
    .lobby-form {
        padding: 20px;
        border-radius: 16px;
        border: 1px solid var(--border);
    }
    .lobby-form:first-child {
        border-radius: 16px 0 0 16px;
        border-right: 0;
    }
    .lobby-form:last-child {
        border-radius: 0 16px 16px 0;
        border-left: 0;
    }
}
.catalog-info {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.catalog-info h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}
.catalog-info p {
    margin: 0;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}
.hero-actions .primary {
    margin-right: 4px;
}
button.primary.full-width,
.secondary.full-width {
    width: 100%;
    justify-content: center;
}
.home-intro {
    margin: 0 0 8px;
    font-size: 0.95rem;
}
.login-content {
    display: grid;
    gap: 24px;
}
@media (min-width: 1100px) {
    .login-content {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}
.login-form {
    min-width: 0;
}
.login-info {
    display: grid;
    gap: 24px;
    grid-template-rows: auto;
}
.login-info h3 {
    margin-top: 0;
}
.full-width {
    width: 100%;
}
.centered-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.feature-list {
    display: grid;
    gap: 14px;
}
.feature-list div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}
.feature-list strong {
    color: var(--accent-2);
    font-weight: 600;
}
.admin-page {
    display: grid;
    gap: 20px;
}
.admin-section-accordion {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
}
.admin-section-accordion:hover {
    box-shadow: none;
}
.admin-section-summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    background: var(--panel);
    border-radius: 14px;
}
.admin-section-summary::-webkit-details-marker {
    display: none;
}
.admin-section-summary::after {
    content: "▸";
    float: right;
    color: var(--muted-dark);
    transition:
        transform 160ms ease,
        color 160ms ease;
}
.admin-section-summary:hover::after {
    color: var(--accent);
}
.admin-section-accordion[open] .admin-section-summary::after {
    transform: rotate(90deg);
}
.admin-section-summary-main {
    display: grid;
    gap: 4px;
    margin-right: 28px;
}
.admin-section-summary-main h2 {
    font-size: 1.16rem;
    margin: 0;
}
.admin-section-summary-main p {
    margin: 0;
    font-size: 0.9rem;
}
.admin-section-accordion[open] > .admin-section-summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.admin-section-body {
    padding: 10px 12px 12px;
    background: var(--panel);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}
.admin-section-accordion:not([open]) > .admin-section-summary {
    padding: 10px 12px;
}
.admin-section-accordion:not([open]) .admin-section-summary-main {
    gap: 0;
}
.admin-section-accordion:not([open]) .admin-section-summary-main h2 {
    font-size: 1.16rem;
}
.admin-section-accordion:not([open]) .admin-section-summary-main p {
    display: none;
}
.admin-section-body > .form:last-child,
.admin-section-body > .catalog-mobile:last-child,
.admin-section-body > .catalog-desktop:last-child {
    margin-bottom: 0;
}
.catalog-mobile {
    display: block;
}
.catalog-desktop {
    display: none;
}
.catalog-grid {
    display: grid;
    gap: 16px;
}
@media (min-width: 900px) {
    .catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        align-items: start;
    }
}
@media (min-width: 960px) {
    .catalog-mobile {
        display: none;
    }
    .catalog-desktop {
        display: block;
    }
}
.catalog-table {
    width: 100%;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0 10px;
}
.catalog-table thead th {
    text-align: left;
    padding: 0 12px 8px;
    color: var(--muted-dark);
    font-size: 0.82rem;
    font-weight: 500;
}
.catalog-row {
    cursor: pointer;
}
.catalog-row td {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 12px;
    transition:
        background-color 160ms ease,
        border-color 160ms ease;
}
.catalog-row:hover td {
    background: rgba(255, 255, 255, 0.06);
}
.catalog-row.is-open td {
    background: rgba(255, 255, 255, 0.08);
}
.catalog-row td:first-child {
    border-left: 1px solid var(--border);
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    width: 48px;
}
.catalog-row td:last-child {
    border-right: 1px solid var(--border);
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}
.catalog-table th:nth-child(2),
.catalog-table td:nth-child(2) {
    width: 1%;
    white-space: nowrap;
}
.catalog-source {
    max-width: 360px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--muted);
}
.catalog-filters .row.three {
    align-items: end;
}
.filter-actions {
    display: grid;
    gap: 10px;
    align-content: end;
}
.filter-actions .secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
}
.catalog-toggle-cell {
    text-align: center;
}
.catalog-toggle {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.catalog-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}
.catalog-details-row td {
    background: transparent;
    border: 0;
    padding: 0 0 10px;
}
.catalog-details-panel {
    margin: 0 0 0 0;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.import-payload {
    min-height: 180px;
}
.import-payload-large {
    min-height: 240px;
}
.sticky-desktop {
    align-self: start;
}
.card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
        var(--panel);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 20px;
    min-width: 0;
    width: 100%;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
    transition:
        border-color 200ms ease,
        box-shadow 200ms ease;
}
.card:hover {
    border-color: var(--border-light);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
}
.card h2,
.card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}
.card h2 {
    font-size: 1.3rem;
}
.card h3 {
    font-size: 1.1rem;
}
.card summary {
    cursor: pointer;
    color: var(--muted-dark);
    font-weight: 500;
    transition: color 200ms ease;
}
.card summary:hover {
    color: var(--accent);
}
.card summary::marker {
    color: var(--accent);
}
.form {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}
.row {
    display: grid;
    gap: 12px;
}
@media (min-width: 640px) {
    .row.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 900px) {
    .row.three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
label {
    display: grid;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}
label span.info {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 400;
}
input,
select,
textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(17, 24, 48, 0.6);
    color: var(--text);
    padding: 12px 14px;
    transition:
        border-color 200ms ease,
        background-color 200ms ease;
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(17, 24, 48, 0.8);
}
textarea {
    resize: vertical;
    min-height: 200px;
}
button.primary,
.pill,
.secondary {
    border-radius: 999px;
    padding: 12px 20px;
    color: white;
    background: linear-gradient(135deg, var(--accent), #8f6eff);
    border: 0;
    font-weight: 500;
    transition:
        transform 120ms ease,
        box-shadow 120ms ease,
        border-color 120ms ease;
}
button.primary,
button.secondary,
a.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(124, 140, 255, 0.3);
}
button.secondary,
a.secondary {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text);
    transition:
        background-color 200ms ease,
        border-color 200ms ease;
}
button.secondary:hover,
a.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-light);
    color: var(--text);
}
button:hover:not(:disabled),
.pill:hover {
    transform: translateY(-2px);
}
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.stack {
    display: grid;
    gap: 16px;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition:
        background-color 200ms ease,
        border-color 200ms ease;
}
.pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-light);
}
.status {
    color: var(--accent-2);
    background: rgba(77, 214, 181, 0.08);
    border-color: rgba(77, 214, 181, 0.3);
}
.turn-status {
    width: fit-content;
    align-self: start;
    justify-self: start;
    padding-block: 6px;
    line-height: 1.1;
}
.danger {
    color: var(--danger);
    background: rgba(255, 107, 138, 0.08);
    border-color: rgba(255, 107, 138, 0.3);
}
.status,
.danger {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.timeline-track {
    display: grid;
    gap: 12px;
}
@media (min-width: 720px) {
    .timeline-track {
        grid-template-columns: repeat(auto-fit, minmax(160px, 190px));
        justify-content: start;
    }
}
.timeline-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel-2);
    max-width: 190px;
    width: 190px;
    flex-shrink: 0;
    transition:
        transform 120ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease;
}
.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
    border-color: var(--border-light);
}
.timeline-card img,
.art {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: #0f1530;
}
.timeline-card .body {
    padding: 12px;
    display: grid;
    gap: 4px;
}
.timeline-card strong {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.timeline-card .mini {
    font-size: 0.8rem;
}
.match-main .timeline-card img {
    max-width: 100%;
    max-height: 360px;
}
.slot-grid {
    display: grid;
    gap: 8px;
}
@media (min-width: 720px) {
    .slot-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}
.slot {
    min-height: 48px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    padding: 12px 14px;
    font-weight: 500;
    transition:
        border-color 200ms ease,
        background-color 200ms ease;
    cursor: pointer;
}
.slot:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}
.slot:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.players,
.scores {
    display: grid;
    gap: 8px;
}
.mini {
    font-size: 0.85rem;
    color: var(--muted-dark);
}
.admin-entry {
    padding: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    border-radius: 16px;
    border: 1px solid var(--border);
}
.admin-accordion {
    padding: 0;
    overflow: hidden;
}
.admin-accordion > summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
}
.admin-accordion > summary::-webkit-details-marker {
    display: none;
}
.admin-accordion[open] > summary {
    border-bottom: 1px solid var(--border);
}
.admin-accordion-summary-main {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.admin-accordion-summary-main strong {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.admin-accordion-summary-meta {
    display: grid;
    justify-items: end;
    gap: 6px;
    flex-shrink: 0;
}
.admin-accordion-url {
    max-width: 18ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-accordion-body {
    padding: 16px 18px 18px;
    gap: 14px;
}
.admin-card-grid {
    display: grid;
    gap: 14px;
}
@media (min-width: 960px) {
    .admin-card-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: start;
    }
}
.admin-entry-grid {
    display: grid;
    gap: 16px;
    margin-top: 12px;
}
@media (min-width: 920px) {
    .admin-entry-grid {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }
}
.admin-advanced {
    padding-top: 8px;
    margin-top: 12px;
    border-top: 1px solid var(--border);
}
.admin-advanced-summary {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.asset-panel {
    padding-top: 8px;
    margin-top: 12px;
    border-top: 1px solid var(--border);
}
.asset-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
}
.full-width {
    width: 100%;
}
.top-gap-sm {
    margin-top: 12px;
}
.top-gap-xs {
    margin: 4px 0 0;
}
.no-margin {
    margin: 0;
}
.centered-card {
    text-align: center;
}
.text-area-compact {
    min-height: 80px;
}
.text-area-medium {
    min-height: 120px;
}
.visually-hidden-label {
    opacity: 0;
}
.asset-meta {
    display: grid;
    gap: 8px;
}
.asset-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.asset-chip {
    padding: 6px 10px;
    font-size: 0.82rem;
}
.asset-add-form {
    margin-top: 4px;
}
.inline-check {
    align-content: start;
}
.inline-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    padding: 0;
}
.inline-check > span:first-child {
    font-weight: 500;
}
.media-preview {
    /* existing rule */
    width: auto;
    max-width: 150px;

    max-height: 210px;
    object-fit: contain;
    background: #0f1530;
    display: block;
    transition: border-color 200ms ease;
}
.asset-preview {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: contain;
    max-height: 220px;
    border-radius: 12px;
    background: #0f1530;
    display: block;
    margin: 0 auto;
}
.asset-preview-empty {
    display: grid;
    place-items: center;
    color: var(--muted-dark);
    border: 1px dashed var(--border);
}
.asset-gallery {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}
@media (min-width: 860px) {
    .asset-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1200px) {
    .asset-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.asset-gallery .asset-card {
    margin: 0;
    overflow: hidden;
}
.asset-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.asset-card.is-primary {
    border-color: rgba(77, 214, 181, 0.3);
}

.media-preview-frame {
    width: fit-content;
    max-width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-media-release {
    display: grid;
    gap: 12px;
    align-items: stretch;
}
.admin-release-row {
    margin: 0;
}
.admin-release-row label {
    max-width: 140px;
}
.admin-release-row input {
    max-width: 140px;
}
@media (min-width: 1100px) {
    .admin-media-release {
        grid-template-columns: auto minmax(0, 1fr);
    }
}
.media-preview:hover {
    border-color: var(--border-light);
}
.error-page {
    max-width: 560px;
    margin: 0 auto;
}
.match-layout,
.room-layout {
    display: grid;
    gap: 16px;
    min-width: 0;
}
.match-side {
    display: grid;
    gap: 16px;
    min-width: 0;
    width: 100%;
}
@media (min-width: 1100px) {
    .sticky-desktop {
        position: sticky;
        top: 20px;
    }
    .room-layout,
    .match-layout {
        align-items: stretch;
        gap: 20px;
    }
    .match-layout {
        grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    }
    .match-side {
        display: grid;
        gap: 20px;
        align-content: start;
    }
    .match-main {
        min-height: 100%;
        padding: 12px;
        gap: 10px;
        align-self: stretch;
        align-content: start;
        grid-auto-rows: max-content;
    }
    .round-info {
        display: grid;
        gap: 6px;
        margin-bottom: 0 !important;
    }
    .round-info h2 {
        margin-bottom: 0;
        font-size: 1.1rem;
    }
    .round-info .bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px !important;
    }
    .round-info .pill {
        padding: 5px 8px !important;
        font-size: 0.82rem;
    }
    .round-info .bar .pill {
        width: fit-content;
    }
    .room-layout {
        grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    }
}


/* Interactive Timeline - flex wrap for stable horizontal layout */
.interactive-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
}

.timeline-empty-state {
    min-width: 100%;
    min-height: 96px;
    border: 1px dashed rgba(124, 140, 255, 0.25);
    border-radius: 16px;
    background: rgba(124, 140, 255, 0.02);
}

.timeline-empty-state.drag-over-empty {
    border-color: var(--accent);
    background: rgba(124, 140, 255, 0.1);
    box-shadow: inset 0 0 0 2px var(--accent);
}

/* Drop zone (invisible but droppable) */
.timeline-empty-zone {
    min-width: 24px;
    min-height: 200px;
    flex: 0 0 24px;
    flex-shrink: 0;
    border-radius: 8px;
    transition: all 200ms ease;
}

.timeline-empty-zone.drag-over-empty {
    background: rgba(124, 140, 255, 0.15);
    box-shadow: inset 0 0 0 2px var(--accent);
    min-width: 48px;
}

/* Drop side indicator (visual feedback for left/right) */
.drop-side-indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.8;
}

.drop-side-indicator.left {
    left: 0;
}

.drop-side-indicator.right {
    right: 0;
}

/* Placed droppable card */
.timeline-card-wrapper {
    flex: 0 0 190px;
    width: 190px;
    min-width: 190px;
}

.timeline-card-wrapper.droppable {
    position: relative;
    cursor: grab;
    transition:
        transform 120ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.timeline-card-wrapper.droppable:hover {
    transform: translateY(-4px);
}

.timeline-card-wrapper.droppable.drag-over {
    box-shadow: 0 0 0 2px var(--accent), 0 20px 40px rgba(124, 140, 255, 0.3);
    transform: scale(1.05) translateY(-4px);
}

.timeline-card-wrapper.droppable.drag-over .timeline-card {
    border-color: var(--accent);
}

/* Current card draggable styles */
.current-card-draggable {
    transition: opacity 200ms ease;
}

.current-card-draggable.dragging {
    opacity: 0.5;
}

.drag-source {
    cursor: grab;
    transition: all 200ms ease;
}

.drag-source:active {
    cursor: grabbing;
}

.drag-source:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
    border-color: var(--border-light);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
     }
     50% {
        transform: scale(1.1);
     }
}

