/*///////// HEADER LANDING /////////*/
.landing_header {
    height: 56px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    border-bottom: 2px solid black;
    background-color: var(--background);
}

/* left */
.landing_header-logo {
    display: flex;
    align-items: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.04em;
    gap: 8px;
}

.landing_header-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-500);
    border-radius: 50%;
    border: 2px solid black;
}

/* right */
.header-options {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-themes-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
    transition: box-shadow 0.15s;
    border: 2px solid black;
    border-radius: 8px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.header-themes-btn:hover,
.header-user-btn:hover {
    box-shadow: 3px 3px 0 black;
}

.header-themes-btn.active {
    background: var(--accent);
    box-shadow: 3px 3px 0 black;
}

.header-themes-dropdown {
    position: absolute;
    top: 54px;
    right: 10px;
    background: white;
    border: 2px solid black;
    border-radius: 12px;
    box-shadow: 4px 4px 0 black;
    min-width: 200px;
    overflow: hidden;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.15s, transform 0.15s;
}

.header-themes-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.td-header {
    padding: 9px 14px;
    background: var(--background-soft);
    border-bottom: 2px solid black;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: grey;
}

.td-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    border-bottom: 1px solid #F5F5F5;
    transition: background 0.1s;
}

.td-item:last-child {
    border-bottom: none;
}

.td-item:hover {
    background: var(--background-soft);
}

.td-item.selected {
    background: #FFFBEE;
}

.td-swatch {
    width: 24px;
    height: 24px;
    border: 2px solid black;
    border-radius: 5px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.td-swatch svg {
    width: 100%;
    height: 100%;
    display: block;
}

.td-name {
    font-size: 12px;
    font-weight: 700;
    flex: 1;
}

.td-check {
    font-size: 12px;
    color: var(--primary-500);
    font-weight: 800;
}


/* solo landing */
.header-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 6px;
    cursor: pointer;
    transition: box-shadow 0.15s;
    border: 2px solid black;
    border-radius: 8px;
    background: white;
}

.header-user-avatar {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 5px;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.header-user-name {
    font-size: 12px;
    font-weight: 600;
}

.header-user-name a {
    text-decoration: none;
    color: var(--black);
}

/*///////// HEADER /////////*/
.header {
    flex: 1;
    height: 52px;
    min-height: 52px;
    background: var(--background);
    border-bottom: 2px solid var(--black);
    display: flex;
    align-items: center;
    padding: 0 20px 0 0;
    z-index: 50;
    position: sticky;
}

.header-title {
    flex: 1;
    border-right: 2px solid var(--black);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    height: 100%;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.header-sub {
    font-size: 11px;
    color: var(--gray-mid);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 16px;
}


/* header setup */
.header-setup {
    height: 52px;
    min-height: 52px;
    background: var(--background);
    border-bottom: 2px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 50;
    position: sticky;
}

.header-setup .header-info {
    gap: 10px;
}

.header-setup .header-name {
    font-size: 20px;
}

.header-setup .header-options {
    gap: 10px;
}

.btn-white {
    padding: 5px 12px;
    font-size: 11px;
    box-shadow: none;
}

.btn-white:hover {
    box-shadow: 3px 3px 0 var(--black);
    transform: unset;
}

/* header public scenario */
.header.scenario {
    height: 52px;
    background: var(--background);
    border-bottom: 2px solid var(--black);
    display: flex;
    align-items: center;
    padding: 0 32px;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header.scenario .header-title {
    border: 0;
}

.header.scenario .icon-logo {
    font-size: 11px;
}

.header.scenario .header-name {
    font-size: 20px;
}

.header.scenario .btn-accent {
    border-radius: 7px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: none;
}

.header.scenario .btn-accent:hover {
    box-shadow: 3px 3px 0 var(--black);
}

/* detail scenario */

.header.scenario-detail {
    height: 52px;
    background: var(--background);
    border-bottom: 2px solid var(--black);
    display: flex;
    align-items: center;
    padding: 0 32px;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header.scenario-detail .header-title {
    flex: unset;
    border: 0;
    justify-content: center;
    gap: 10px;
}

.header.scenario-detail .header-name {
    font-size: 20px;
    font-weight: 900;
}

.header.scenario-detail .btn-white {
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 7px;
    padding: 5px 12px;
}

.header.scenario-detail .btn-white:hover {
    box-shadow: 3px 3px 0 var(--black);
    transform: unset;
}


/* header draft */
.header.draft {
    height: 52px;
    min-height: 52px;
    background: var(--background);
    border-bottom: 2px solid var(--black);
    display: flex;
    align-items: center;
    padding: 0 24px;
    justify-content: space-between;
    z-index: 50;
    flex-shrink: 0;
}
.header.draft .header-left{
    display: flex; align-items: center; gap: 10px;
}
.header.draft .header-center{
    display: flex; align-items: center; gap: 14px;
}

.draft-round {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.draft-pick {
    font-size: 11px;
    color: var(--gray-mid);
    font-weight: 600;
}

.draft-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    border: 2px solid var(--black);
}

.draft-badge.myturn {
    background: var(--accent);
}

.draft-badge.waiting {
    background: #F0F0F0;
    color: var(--gray-mid);
    border-color: var(--gray-light);
}