/* ═══════════════════════════════════════════════════════════════════════════
   Valorant Draft Tool — Dark Theme
   Palette: #0f1923 (bg) | #ff4655 (accent) | #ece8e1 (text) | #1a232e (card)
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── Reset & Variables ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0f1923;
    --card: #1a232e;
    --card-hover: #1f2d3b;
    --accent: #ff4655;
    /* Valorant Red */
    --accent-cyan: #00eeff;
    /* Valorant Cyan */
    --accent-glow: rgba(255, 70, 85, 0.35);
    --team-a: #ff4655;
    --team-b: #00eeff;
    --text: #ece8e1;
    --text-dim: #9da8b5;
    --border: rgba(255, 255, 255, 0.07);
    --ban-color: rgba(255, 70, 85, 0.15);
    --final-color: rgba(255, 210, 40, 0.18);
    --radius: 8px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1,
h2,
h3,
.logo-link {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.04em;
}

.accent {
    color: var(--accent);
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
    display: flex;
    justify-content: center;
    padding: 0.85rem 2rem;
    background: rgba(15, 25, 35, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.header-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color var(--transition);
}

.logo-link:hover {
    color: var(--accent);
}

.logo-accent {
    color: var(--accent);
}

.site-header nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 1.5rem;
    transition: color var(--transition);
}

.site-header nav a:hover {
    color: var(--text);
}

.matchup-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.team-a-label {
    color: var(--team-a);
}

.team-b-label {
    color: var(--team-b);
}

.vs-sep {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
    margin-top: auto;
    padding: 1.2rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 1.6rem;
    border-radius: var(--radius);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover:not(.disabled) {
    background: var(--accent-dim);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-1px);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn-primary.disabled,
.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ece8e1;
    border: 1px solid var(--border);
    padding: 0.4rem 0.55rem;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}

.btn-open:hover {
    background: rgba(255, 70, 85, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.btn-open svg {
    display: block;
}

/* ── Alert ───────────────────────────────────────────────────────────────── */
.alert {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(255, 70, 85, 0.12);
    border: 1px solid rgba(255, 70, 85, 0.35);
    color: #ffaaae;
}

.alert-error ul {
    padding-left: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   INDEX PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 70, 85, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    font-family: 'Rajdhani', sans-serif;
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1,
.hero-main-title {
    font-size: clamp(2.6rem, 6.5vw, 4.8rem);
    /* Slightly more conservative scaling */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
    /* Modern wrapping for titles */
}

.seo-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.seo-content p {
    line-height: 1.8;
}

.hero-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 540px;
    margin: 0 auto 2.5rem;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

/* ── Large Screen Optimizations ─────────────────────────────────────────── */
@media (min-width: 1400px) {
    .hero-eyebrow {
        font-size: 1rem;
    }

    .hero h1,
    .hero-main-title {
        font-size: 6rem;
        max-width: 1100px;
        line-height: 1.0;
    }

    .hero-subtitle {
        font-size: 1.35rem;
        max-width: 750px;
    }

    .hero .btn-primary {
        padding: 1rem 2.4rem;
        font-size: 1.15rem;
    }

    .logo-link {
        font-size: 2rem;
    }

    .site-header nav a {
        font-size: 1.05rem;
    }
}

.feature-pill {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CREATE PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.create-main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.create-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 1180px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.btn-preset {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-preset:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-preset.active {
    background: rgba(255, 70, 85, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.create-title {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.create-subtitle {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 560px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ── Logo fields ─────────────────────────────────────────────────────────── */
.logo-row {
    margin-top: -1rem;
    /* tighten gap with team name row */
}

.logo-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-input-wrap input[type=url] {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

.logo-input-wrap input[type=url]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.logo-preview {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.2s;
    position: relative;
}

.logo-preview.has-logo {
    border-color: rgba(255, 255, 255, 0.25);
}

.logo-preview.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent);
    border-top-color: transparent;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin: auto;
    animation: preview-spin 0.6s linear infinite;
}

@keyframes preview-spin {
    to {
        transform: rotate(360deg);
    }
}

.logo-feedback {
    display: block;
    font-size: 0.72rem;
    margin-top: 0.35rem;
    font-weight: 500;
    min-height: 1em;
    transition: opacity 0.2s;
    opacity: 0;
}

.logo-preview-placeholder {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dim);
}

.logo-preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.label-opt {
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 400;
    opacity: 0.7;
}

/* ── Team logos in draft header ──────────────────────────────────────────── */
.team-label-with-logo {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.team-header-logo {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
    display: inline-block;
    vertical-align: middle;
}

/* ── Logos in ready overlay (draft.js) ───────────────────────────────────── */
.ready-team-logo {
    width: 22px;
    height: 22px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.3rem;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

input[type=text] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

input[type=text]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-section {
    margin-bottom: 2rem;
}

.pool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pool-header h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    flex: 1;
}

.pool-counter {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
}

.pool-hint {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.pool-warning {
    margin-top: 0.75rem;
    padding: 0.6rem 0.9rem;
    background: rgba(255, 70, 85, 0.1);
    border: 1px solid rgba(255, 70, 85, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #ffaaae;
}

/* ── Map Grid ────────────────────────────────────────────────────────────── */
.map-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

@media (max-width: 640px) {
    .map-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 420px) {
    .map-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Create-page tiles (label with checkbox) */
label.map-tile {
    cursor: pointer;
    user-select: none;
}

label.map-tile input[type=checkbox] {
    display: none;
}

/* ── Base tile (shared between label and div) ────────────────────────────── */
.map-tile {
    border: 2px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition),
        box-shadow var(--transition), opacity var(--transition);
    position: relative;
    background-color: var(--card);
    aspect-ratio: 4 / 3;
}

/* Background splash image */
.map-tile-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transition: transform 0.4s ease, filter 0.3s ease;
    will-change: transform;
    overflow: hidden;
}

/* Dark gradient overlay for text readability */
.map-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.45) 55%,
            rgba(0, 0, 0, 0.20) 100%);
    transition: background var(--transition);
}

.map-tile-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding: 0.7rem 0.5rem 0.65rem;
    gap: 0.25rem;
}

.map-icon {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: color var(--transition), background var(--transition), border-color var(--transition);
    flex-shrink: 0;
}

.map-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    line-height: 1.1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
    transition: color var(--transition);
}

.map-check {
    font-size: 0.7rem;
    color: transparent;
    transition: color var(--transition);
}

/* ── Create page: unchecked ─────────────────────────────────────────────── */
label.map-tile:not(.selected) .map-tile-bg {
    filter: saturate(0.2) brightness(0.5);
}

label.map-tile:not(.selected) .map-name {
    color: rgba(255, 255, 255, 0.45);
}

/* ── Create page: selected & hover ──────────────────────────────────────── */
label.map-tile.selected,
label.map-tile:hover {
    border-color: var(--accent);
    box-shadow: 0 0 18px var(--accent-glow);
}

label.map-tile.selected .map-tile-bg,
label.map-tile:hover .map-tile-bg {
    filter: saturate(1.1) brightness(1);
    transform: scale(1.08);
}

label.map-tile.selected .map-icon {
    color: #fff;
    background: rgba(255, 70, 85, 0.35);
    border-color: var(--accent);
}

label.map-tile.selected .map-name {
    color: #fff;
}

label.map-tile.selected .map-check {
    color: var(--accent);
}

/* Success panel */
.success-panel {
    text-align: center;
    padding: 1rem 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(70, 200, 120, 0.15);
    border: 2px solid rgba(70, 200, 120, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    color: #5de09c;
}

.success-panel h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.success-hint {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-bottom: 1.8rem;
}

.link-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.link-group label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 0.4rem;
}

.link-row {
    display: flex;
    gap: 0.5rem;
}

.link-row input {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
}

/* Format Selector */
.format-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.format-option {
    flex: 2;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.format-option:last-child {
    flex: 1;
}

.format-option input {
    display: none;
}

.format-box {
    display: block;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    transition: all var(--transition);
}

.format-rules {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-dim);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: color var(--transition), opacity var(--transition);
    line-height: 1.4;
}

.format-option input:checked~.format-rules {
    color: #fff;
    opacity: 1;
}

.format-option input:checked+.format-box {
    border-color: var(--accent);
    background: rgba(255, 70, 85, 0.1);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ═══════════════════════════════════════════════════════════════════════════
   DRAFT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
/* ── Feed & Status Logos ─────────────────────────────────────────────────── */
.feed-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-logo {
    width: 18px;
    height: 18px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2px;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.05);
    display: inline-block;
    vertical-align: middle;
}

.status-logo {
    width: 22px;
    height: 22px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 8px;
    vertical-align: middle;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
    display: inline-block;
}

.status-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.draft-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Side Selection Overlay */
.side-overlay {
    position: absolute;
    inset: 0;
    z-index: 100;
    background: rgba(15, 25, 35, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

.side-modal {
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.side-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.side-subtitle {
    color: var(--text-dim);
    margin-bottom: 2.5rem;
}

.side-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.btn-side {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
}

.btn-side .side-icon {
    font-size: 3rem;
    line-height: 1;
}

.btn-side span {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

/* Attack (Red) */
.btn-attack {
    color: #ff4655;
}

.btn-attack:hover {
    background: rgba(255, 70, 85, 0.15);
    border-color: #ff4655;
    box-shadow: 0 0 30px rgba(255, 70, 85, 0.3);
    transform: translateY(-5px);
}

/* Defense (Blue) */
.btn-defense {
    color: #4d9de0;
}

.btn-defense:hover {
    background: rgba(77, 157, 224, 0.15);
    border-color: #4d9de0;
    box-shadow: 0 0 30px rgba(77, 157, 224, 0.3);
    transform: translateY(-5px);
}

/* Status Banner */
.status-banner {
    padding: 0.8rem 2rem;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
    background: var(--card);
}

.status-banner.your-turn {
    background: rgba(255, 70, 85, 0.15);
    color: var(--accent);
}

.status-banner.their-turn {
    background: rgba(77, 157, 224, 0.10);
    color: #4d9de0;
}

.status-banner.finished {
    background: rgba(255, 210, 40, 0.12);
    color: #ffd228;
}

/* Layout */
.draft-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    flex: 1;
}

@media (max-width: 900px) {
    .draft-layout {
        grid-template-columns: 1fr;
    }
}

.section-title {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
}

/* Draft map tiles (div, not label) */
.draft-map-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 720px) {
    .draft-map-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

div.map-tile {
    cursor: default;
}

div.map-tile.tile-pickable {
    cursor: pointer;
    border-color: rgba(255, 255, 255, 0.18);
}

/* Base hover state (zoom/light) */
div.map-tile.tile-pickable:hover {
    transform: translateY(-4px) scale(1.02);
    z-index: 5;
}

div.map-tile.tile-pickable:hover .map-tile-bg {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.2);
}

/* Phase specifics: BAN */
.phase-ban div.map-tile.tile-pickable:hover {
    opacity: 0.85;
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 70, 85, 0.4);
}

.phase-ban div.map-tile.tile-pickable:hover::after {
    content: '✕';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--accent);
    z-index: 10;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(255, 70, 85, 1);
    pointer-events: none;
    animation: banStrike 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes banStrike {
    from {
        transform: scale(3);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Phase specifics: PICK */
.phase-pick div.map-tile.tile-pickable:hover {
    border-color: #ffd228;
    box-shadow: 0 0 35px rgba(255, 210, 40, 0.4);
}

.phase-pick div.map-tile.tile-pickable:hover::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: #ffd228;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(255, 210, 40, 0.6);
    animation: pickPulse 0.3s ease-out;
}

@keyframes pickPulse {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Banned tile */
div.map-tile.tile-banned {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.3;
    filter: grayscale(1);
    transform: scale(0.95);
    transition: all 0.5s ease;
}

div.map-tile.tile-banned::after {
    content: '✕';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.6;
    z-index: 5;
    font-family: 'Rajdhani', sans-serif;
}

/* Picked tile */
div.map-tile.tile-picked {
    border-color: var(--final-color);
    box-shadow: 0 0 20px var(--final-color);
}

div.map-tile.tile-picked.picked-by-a {
    border-color: var(--team-a);
    box-shadow: 0 0 20px rgba(255, 70, 85, 0.3);
}

div.map-tile.tile-picked.picked-by-b {
    border-color: var(--team-b);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.3);
}

/* Impactful update animation */
.tile-newly-banned {
    animation: impactBan 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes impactBan {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: grayscale(0);
    }

    30% {
        transform: scale(1.15);
        border-color: var(--accent);
        box-shadow: 0 0 50px var(--accent);
    }

    100% {
        transform: scale(0.95);
        opacity: 0.3;
        filter: grayscale(1);
    }
}

/* Locking system */
.map-pool-locked {
    pointer-events: none;
    position: relative;
}

.map-pool-locked::before {
    content: 'EN ATTENTE DE L\'ADVERSAIRE...';
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 35, 0.2);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.3em;
    pointer-events: none;
    backdrop-filter: saturate(0.5);
}

/* Final tile appearance enhancement */
div.map-tile.tile-final {
    border-color: #ffd228;
    box-shadow: 0 0 28px rgba(255, 210, 40, 0.45);
    animation: finalPulse 2s ease-in-out infinite;
}

div.map-tile.tile-final .map-tile-bg {
    filter: brightness(1.05) saturate(1.2);
}

div.map-tile.tile-final .map-tile-overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.80) 0%,
            rgba(40, 30, 0, 0.35) 60%,
            rgba(0, 0, 0, 0.1) 100%);
}

div.map-tile.tile-final .map-icon {
    color: #ffd228;
    background: rgba(255, 210, 40, 0.25);
    border-color: #ffd228;
}

div.map-tile.tile-final .map-name {
    color: #ffd228;
    text-shadow: 0 0 12px rgba(255, 210, 40, 0.6);
}

@keyframes finalPulse {

    0%,
    100% {
        box-shadow: 0 0 18px rgba(255, 210, 40, 0.25);
    }

    50% {
        box-shadow: 0 0 36px rgba(255, 210, 40, 0.45);
    }
}

/* Badge overlays */
.tile-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 3;
    /* above overlay layer */
    font-size: 0.6rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
}

.badge-ban {
    background: rgba(180, 0, 15, 0.55);
    color: #ffb0b5;
    border: 1px solid rgba(255, 70, 85, 0.5);
}

.badge-pick {
    background: rgba(70, 200, 120, 0.55);
    color: #b0ffce;
    border: 1px solid rgba(70, 200, 120, 0.5);
}

.badge-final {
    background: rgba(255, 210, 40, 0.3);
    color: #ffd228;
    border: 1px solid rgba(255, 210, 40, 0.5);
}

/* ── Feed (action log) ──────────────────────────────────────────────────── */
.feed-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: fit-content;
    position: sticky;
    top: 70px;
}

.action-feed {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 4px;
}

.action-feed::-webkit-scrollbar {
    width: 4px;
}

.action-feed::-webkit-scrollbar-track {
    background: transparent;
}

.action-feed::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.feed-item {
    font-size: 0.88rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-left: 4px solid transparent;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    animation: feedSlideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feed-item span {
    color: var(--text-dim);
    font-size: 0.82rem;
    white-space: nowrap;
}

.feed-item em {
    font-weight: 700;
    font-style: normal;
    font-family: 'Rajdhani', sans-serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
}

.feed-item strong {
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.feed-item small {
    margin-left: auto;
    white-space: nowrap;
}

.feed-ban {
    border-left-color: var(--accent);
}

.feed-pick {
    border-left-color: #5de09c;
}

.feed-side {
    border-left-color: #4d9de0;
    font-style: italic;
}

.feed-system {
    border-left-color: var(--text-dim);
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-dim);
    font-size: 0.8rem;
    text-align: center;
}

/* Side Selection Overlay */
.side-overlay-container {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease-out;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.side-overlay-container.leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.side-modal {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
}

.side-modal h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.side-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-side {
    flex: 1;
    padding: 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.side-icon {
    font-size: 2rem;
}

.side-attack {
    border-color: rgba(255, 70, 85, 0.3);
}

.side-attack:hover {
    background: var(--team-a);
    box-shadow: 0 0 30px rgba(255, 70, 85, 0.5);
    border-color: var(--team-a);
    transform: translateY(-5px);
}

.side-defense {
    border-color: rgba(0, 238, 255, 0.3);
}

.side-defense:hover {
    background: var(--team-b);
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.5);
    border-color: var(--team-b);
    transform: translateY(-5px);
}


/* Final Result Card */
.final-result {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 210, 40, 0.08);
    border: 1px solid rgba(255, 210, 40, 0.25);
    border-radius: 8px;
    animation: feedSlideIn 0.4s ease;
}

.final-label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.35rem;
}

.final-map-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffd228;
    line-height: 1;
}

.final-icon {
    font-size: 1.5rem;
    margin-top: 0.3rem;
}

/* ── Error Page ──────────────────────────────────────────────────────────── */
.error-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.error-card {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    max-width: 480px;
}

.error-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.error-card h1 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

/* ── Spinner & Overlay ────────────────────────────────────────────────────── */
.overlay-loading {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 35, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(4px);
    opacity: 0;
    animation: fadeIn 0.25s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 70, 85, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error Toast */
.error-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #1a232e;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    opacity: 0;
}

.error-toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ── Ready Check & Timer ─────────────────────────────────────────────────── */
.ready-team {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dim);
    transition: all 0.3s;
}

.ready-team.is-ready {
    color: #fff;
    background: rgba(0, 238, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.1);
}

.ready-team .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4655;
}

.ready-team.is-ready .dot {
    background: #00eeff;
    box-shadow: 0 0 8px #00eeff;
}

.btn-ready {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 1rem 3rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-ready:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 70, 85, 0.4);
}

/* Round Timer */
.round-timer {
    position: fixed;
    top: 100px;
    right: 40px;
    background: rgba(15, 25, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 4px solid var(--accent);
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 100;
    backdrop-filter: blur(10px);
    animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.timer-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.timer-val {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.timer-low .timer-val {
    color: var(--accent);
    animation: timerPulse 1s infinite;
}

@keyframes timerPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 10px rgba(255, 70, 85, 0.5);
    }
}

.btn-ready.disabled {
    opacity: 0.3;
    cursor: not-allowed !important;
    filter: grayscale(1);
    box-shadow: none !important;
    transform: none !important;
}

/* Ready Modal Rules & Acceptance */
.ready-modal {
    max-width: 650px !important;
}

.rules-box {
    margin-bottom: 2rem;
    text-align: center;
    padding: 0.5rem 0;
}

.rules-box h4 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
}

/* Simplified Flow (BO1) */
.rules-flow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dim);
}

.rule-step {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
}

.badge-a,
.badge-b {
    font-weight: 700;
    font-size: 0.85rem;
}

.badge-a {
    color: var(--team-a);
}

.badge-b {
    color: var(--team-b);
}

.rule-sep {
    opacity: 0.3;
    font-size: 0.7rem;
}

/* Simplified Grid (BO3) */
.rules-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 1.25rem 0;
}

.rule-item {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-dim);
}

.rule-item strong {
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
}

.rule-item small {
    opacity: 0.4;
    font-size: 0.8rem;
}

/* Rules Footer */
.rules-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    opacity: 0.8;
}

.rules-footer strong {
    color: var(--text);
    font-weight: 600;
}

.rules-acceptance {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    color: var(--text);
    min-height: 25px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.2s;
}

.checkbox-container:hover input~.checkmark {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 70, 85, 0.4);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ── Custom Builder ────────────────────────────────────────────────────────── */
.builder-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.builder-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.bh-left h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--accent);
    font-family: 'Rajdhani', sans-serif;
}

.bh-left p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.bh-right {
    display: flex;
    gap: 0.5rem;
}

.bh-right input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.4rem 0.6rem;
    font-family: monospace;
    font-size: 0.85rem;
    border-radius: 4px;
    width: 220px;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    background: var(--accent);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
}

.builder-steps-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.builder-step-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    border: 1px solid transparent;
}

.builder-step-item:hover {
    border-color: rgba(255, 70, 85, 0.2);
}

.step-num {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: var(--accent);
    width: 30px;
}

.builder-steps-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom Scrollbar for Builder */
.builder-steps-list::-webkit-scrollbar {
    width: 6px;
}

.builder-steps-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.builder-steps-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.builder-steps-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.builder-step-item select {
    background: #0f1923;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
    flex: 1;
}

.btn-remove-step {
    background: rgba(255, 70, 85, 0.1);
    color: var(--accent);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-remove-step:hover {
    background: var(--accent);
    color: #fff;
}

.btn-add-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border);
    color: var(--text-dim);
    padding: 0.75rem;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
}

.btn-add-step:hover {
    background: rgba(255, 70, 85, 0.05);
    border-color: var(--accent);
    color: var(--accent);
}

.builder-hint {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.builder-select-sm {
    background: #0f1923;
    color: var(--accent);
    border: 1px solid var(--border);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
}