/* =============================================================
   achv.me - team.css
   Team list, detail, and admin page styles
   @import common.css - loaded from PHP
   ============================================================= */

/* Table (desktop) */






/* --- Team Cover Image --- */
.achv-team-cover {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--achv-surface);
    border-radius: var(--achv-radius);
    overflow: hidden;
}

/* --- Team Detail Header --- */
.achv-team-header {
    display: flex;
    align-items: center;
    gap: var(--achv-sp-4);
    padding: var(--achv-sp-5) 0;
}

.achv-team-header--has-cover {
    position: relative;
    padding-top: var(--achv-sp-3);
}

.achv-team-header__logo {
    width: 64px;
    height: 64px;
    border-radius: var(--achv-radius);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--achv-surface);
    border: 2px solid var(--achv-bg);
}

.achv-team-header__logo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--achv-text-muted);
    border: 2px solid var(--achv-border);
}

.achv-team-header--has-cover .achv-team-header__logo {
    border: 3px solid var(--achv-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.achv-team-header__name {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--achv-text);
}

.achv-team-header__meta {
    color: var(--achv-text-secondary);
    font-size: 14px;
    margin-top: var(--achv-sp-1);
}

.achv-team-header__meta a {
    color: var(--achv-secondary);
}

/* --- Team Tabs --- */
.achv-team-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    margin-bottom: var(--achv-sp-4);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 3px;
}

.achv-team-tabs::-webkit-scrollbar {
    display: none;
}

.achv-team-tabs__item {
    padding: 10px 8px;
    text-decoration: none;
    color: var(--achv-text-secondary);
    font-size: 14px;
    white-space: nowrap;
    border-bottom: 3px solid var(--achv-border);
    transition: color 0.15s ease, border-color 0.15s ease;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-weight: 500;
}

.achv-team-tabs__item:hover {
    color: var(--achv-text);
    text-decoration: none;
}

.achv-team-tabs__item--active {
    color: var(--achv-primary);
    border-bottom-color: var(--achv-primary);
    font-weight: 600;
}

/* --- Season Select --- */
.achv-team-season-select {
    margin: var(--achv-sp-3) 0;
}

.achv-team-season-select select {
    padding: 6px 10px;
    border: 1px solid var(--achv-border);
    border-radius: var(--achv-radius-sm);
    font-size: 14px;
    color: var(--achv-text);
    background: var(--achv-bg);
}

/* --- Roster Cards --- */
.achv-roster__summary {
    font-size: 13px;
    color: var(--achv-text-muted);
    margin-bottom: var(--achv-sp-3);
}

.achv-roster__group {
    margin-bottom: var(--achv-sp-4);
}

.achv-roster__group-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--achv-text);
    margin: 0 0 var(--achv-sp-2);
    padding-bottom: 6px;
    border-bottom: 2px solid var(--achv-primary);
}

.achv-roster__group-title small {
    font-weight: 400;
    color: var(--achv-text-muted);
    font-size: 13px;
}

.achv-roster__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
}

.achv-roster__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    background: var(--achv-bg);
    border: 1px solid var(--achv-border);
    border-radius: var(--achv-radius);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
}

.achv-roster__card:hover {
    border-color: var(--achv-primary);
    box-shadow: var(--achv-shadow-sm);
    text-decoration: none;
}

/* 코칭스태프 강조 (최고관리자/감독/코치/주장/총무) — 빨간 좌측 막대 + 옅은 배경 */
.achv-roster__card--staff {
    border-left: 3px solid var(--achv-primary);
    background: linear-gradient(to right, rgba(230, 2, 0, 0.04), transparent 30%);
}

/* 역할 뱃지 영역 */
.achv-roster__role-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 2px;
}
.achv-roster__role-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: #e5e7eb;
    color: #374151;
}
.achv-roster__role-badge--owner {
    background: var(--achv-primary);
    color: #fff;
}
.achv-roster__role-badge--manager {
    background: #1d4ed8;
    color: #fff;
}
.achv-roster__role-badge--coach {
    background: #0891b2;
    color: #fff;
}
.achv-roster__role-badge--captain {
    background: #ca8a04;
    color: #fff;
}
.achv-roster__role-badge--secretary {
    background: #6b7280;
    color: #fff;
}

.achv-roster__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--achv-border);
}

.achv-roster__photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--achv-surface);
    font-size: 18px;
    font-weight: 700;
    color: var(--achv-text-muted);
}

.achv-roster__num {
    font-size: 18px;
    font-weight: 800;
    color: var(--achv-primary);
    font-variant-numeric: tabular-nums;
}

.achv-roster__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--achv-text);
}

.achv-roster__meta {
    font-size: 13px;
    color: var(--achv-text-muted);
}

/* Calendar CSS moved to common.css (achv-cal__) */

/* --- Team Stats (Batting / Pitching) --- */
.achv-team-stats {
    margin-bottom: var(--achv-sp-4);
}

.achv-team-stats__summary {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: var(--achv-sp-3);
}

.achv-team-stats__chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--achv-surface);
    border: 1px solid var(--achv-border);
    border-radius: 20px;
    font-size: 13px;
}

.achv-team-stats__chip span {
    color: var(--achv-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.achv-team-stats__chip b {
    color: var(--achv-text);
    font-variant-numeric: tabular-nums;
}

.achv-team-stats__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--achv-border);
    border-radius: var(--achv-radius);
}

.achv-team-stats__table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
    font-size: 14px;
}

.achv-team-stats__table th {
    padding: 6px 8px;
    background: var(--achv-surface);
    font-weight: 600;
    color: var(--achv-text);
    text-align: center;
    border-bottom: 1px solid var(--achv-border);
    white-space: nowrap;
    user-select: none;
    font-size: 14px;
    letter-spacing: -0.2px;
}

.achv-team-stats__table th[data-sort] {
    cursor: pointer;
}

.achv-team-stats__table th[data-sort]:hover {
    background: var(--achv-surface);
    color: var(--achv-secondary);
}

.achv-team-stats__th--asc::after { content: ' \25B2'; font-size: 13px; }
.achv-team-stats__th--desc::after { content: ' \25BC'; font-size: 13px; }

.achv-team-stats__th--group {
    border-bottom: 2px solid var(--achv-border);
    font-size: 13px;
    color: var(--achv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
}

.achv-team-stats__th--rate {
    background: #f0fdf4;
}

.achv-team-stats__th--name {
    text-align: left;
    min-width: 70px;
}

.achv-team-stats__table td {
    padding: 7px 8px;
    text-align: center;
    border-bottom: 1px solid var(--achv-border);
    color: var(--achv-text);
}

.achv-team-stats__td--name {
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}

.achv-team-stats__td--name a {
    color: var(--achv-secondary);
    text-decoration: none;
}

.achv-team-stats__td--name a:hover {
    text-decoration: underline;
}

.achv-team-stats__td--hit {
    font-weight: 700;
    color: var(--achv-text);
}

.achv-team-stats__td--hr {
    font-weight: 700;
    color: var(--achv-primary);
}

.achv-team-stats__td--w {
    font-weight: 700;
    color: var(--achv-success);
}

.achv-team-stats__td--l {
    color: var(--achv-text-muted);
}

.achv-team-stats__td--rate {
    background: var(--achv-surface-dim);
}

.achv-team-stats__table tbody tr:nth-child(even) {
    background: var(--achv-surface);
}

.achv-team-stats__table tbody tr:nth-child(even) .achv-team-stats__td--rate {
    background: var(--achv-surface-alt);
}

.achv-team-stats__table tbody tr:hover {
    background: #eef2ff;
}

.achv-team-stats__table tbody tr:hover .achv-team-stats__td--rate {
    background: #e0e7ff;
}

/* --- Admin Page --- */
.achv-admin-team {
    max-width: 960px;
    margin: var(--achv-sp-5) auto;
    padding: 0 var(--achv-sp-4);
}

.achv-admin-team__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--achv-sp-5);
    font-variant-numeric: tabular-nums;
}

.achv-admin-team__table th,
.achv-admin-team__table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--achv-border);
    text-align: left;
    font-size: 14px;
}

.achv-admin-team__table th {
    background: var(--achv-surface);
    font-weight: 600;
    color: var(--achv-text);
}

.achv-admin-team__table tbody tr:nth-child(even) {
    background: var(--achv-surface);
}

/* 표 안의 링크. button 은 빼 둔다 — .achv-btn 을 이겨서 동작 버튼이 링크처럼 보였다. */
.achv-admin-team__table a:not(.achv-btn) {
    color: var(--achv-secondary);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    text-decoration: none;
}

.achv-admin-team__table .achv-btn + .achv-btn {
    margin-left: 4px;
}

.achv-admin-team__form {
    max-width: 480px;
}

.achv-admin-team__form div {
    margin-bottom: var(--achv-sp-3);
}

.achv-admin-team__form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--achv-sp-1);
    color: var(--achv-text);
}

/* 입력·선택 규격은 common.css 의 .achv-form__input 정본이 함께 맡는다. 여기엔 폭만 적는다. */
.achv-admin-team__form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.achv-admin-team__form select,
.achv-admin-team__form textarea {
    width: 100%;
}

/* 저장 버튼 — .achv-btn--primary 와 같은 규격 */
.achv-admin-team__form button[type="submit"] {
    min-height: 40px;
    padding: 8px 24px;
    background: var(--achv-primary);
    color: #fff;
    border: 1px solid var(--achv-primary);
    border-radius: var(--achv-radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease;
}

.achv-admin-team__form button[type="submit"]:hover {
    background: var(--achv-primary-hover);
    border-color: var(--achv-primary-hover);
}

.achv-admin-team__form button[type="submit"]:focus-visible {
    outline: 2px solid var(--achv-secondary);
    outline-offset: 2px;
}

/* --- Responsive: Small Mobile --- */
@media (max-width: 480px) {
    /* Cover image: shorter on mobile */
    .achv-team-cover {
        height: 100px;
        border-radius: 0;
    }

    /* Team detail header: tighter */
    .achv-team-header {
        gap: var(--achv-sp-3);
    }

    .achv-team-header__logo {
        width: 48px;
        height: 48px;
    }

    .achv-team-header__name {
        font-size: 20px;
    }

    /* Team tabs: 7 탭이 viewport 보다 넓으므로 wrap + 줄별 가운데 균등 분배.
       리그와 동일 패턴 (overflow-x scroll 컨테이너에서 flex:1 grow 가 작동 안 해 좌측 쏠림 보정) */
    .achv-team-tabs {
        overflow-x: visible;
        flex-wrap: wrap;
        justify-content: center;
    }
    .achv-team-tabs__item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px var(--achv-sp-3);
    }

    /* Season select: prevent iOS zoom */
    .achv-team-season-select select {
        font-size: 16px;
    }

    /* Team stats: sticky name col + compact */
    .achv-team-stats__table th,
    .achv-team-stats__table td {
        padding: 5px 6px;
        font-size: 14px;
    }

    .achv-team-stats__td--name,
    .achv-team-stats__th--name {
        position: sticky;
        left: 0;
        z-index: 2;
        background: var(--achv-bg);
    }

    .achv-team-stats__table thead .achv-team-stats__th--name {
        background: var(--achv-surface);
    }

    .achv-team-stats__table tbody tr:nth-child(even) .achv-team-stats__td--name {
        background: var(--achv-surface);
    }

    .achv-team-stats__table tbody tr:hover .achv-team-stats__td--name {
        background: #eef2ff;
    }

    .achv-team-stats__chip {
        padding: 4px 10px;
        font-size: 12px;
    }

    /* Admin form: prevent iOS zoom */
    .achv-admin-team__form input[type="text"],
    .achv-admin-team__form input[type="date"],
    .achv-admin-team__form select,
    .achv-admin-team__form textarea {
        font-size: 16px;
    }

    .achv-admin-team__form button[type="submit"] {
        width: 100%;
        min-height: 44px;
    }

    /* Admin table: reduce padding */
    .achv-admin-team__table th,
    .achv-admin-team__table td {
        padding: 6px 8px;
        font-size: 14px;
    }
}

/* =============================================================
   경기 카드 actions (참석 / 라인업 / 상태별) — team page 전용
   league.css 의 동일 CSS 가 cascading 으로 적용 안 될 수도 있어 team.css 에도 명시.
   ============================================================= */
.achv-sched-card .achv-game-card__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 6px !important;
    padding: 10px 14px !important;
    border-top: 1px solid #f3f4f6 !important;
    background: #fafafa !important;
}
.achv-sched-card .achv-game-card__btn,
.achv-sched-card a.achv-game-card__btn,
.achv-sched-card button.achv-game-card__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 9px 8px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: #fff;
    color: #1e293b;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.08s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    white-space: nowrap;
    min-width: 0;
    line-height: 1;
}
.achv-sched-card .achv-game-card__btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.achv-sched-card .achv-game-card__btn:not(:disabled):active {
    transform: translateY(0);
}
.achv-sched-card .achv-game-card__btn-icon {
    flex-shrink: 0;
}
.achv-sched-card .achv-game-card__btn-label {
    overflow: hidden;
    text-overflow: ellipsis;
}
.achv-sched-card .achv-game-card__btn--att {
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%) !important;
    border-color: #7dd3fc !important;
    color: #0369a1 !important;
}
.achv-sched-card .achv-game-card__btn--att:hover {
    background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%) !important;
}
.achv-sched-card .achv-game-card__btn--att[aria-expanded="true"] {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 2px #bae6fd inset !important;
}
.achv-sched-card .achv-game-card__btn--att-attending {
    background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 100%) !important;
    border-color: #16a34a !important;
    color: #166534 !important;
}
.achv-sched-card .achv-game-card__btn--att-absent {
    background: linear-gradient(180deg, #fee2e2 0%, #fecaca 100%) !important;
    border-color: #dc2626 !important;
    color: #991b1b !important;
}
.achv-sched-card .achv-game-card__btn--att-late {
    background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%) !important;
    border-color: #d97706 !important;
    color: #92400e !important;
}
.achv-sched-card .achv-game-card__btn--lineup {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%) !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
}
.achv-sched-card .achv-game-card__btn--lineup:hover {
    background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%) !important;
}
.achv-sched-card .achv-game-card__btn--primary {
    background: linear-gradient(180deg, #e60200 0%, #b91c1c 100%) !important;
    color: #fff !important;
    border-color: #b91c1c !important;
}
.achv-sched-card .achv-game-card__btn--primary:hover {
    background: linear-gradient(180deg, #b91c1c 0%, #991b1b 100%) !important;
}
.achv-sched-card .achv-game-card__btn-icon--live {
    animation: achv-pulse-icon 1.5s infinite;
    color: #fff;
}
@keyframes achv-pulse-icon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.achv-sched-card .achv-game-card__btn:disabled,
.achv-sched-card .achv-game-card__btn--disabled {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}
.achv-sched-card .achv-game-card__btn:disabled:hover,
.achv-sched-card .achv-game-card__btn--disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}
@media (max-width: 480px) {
    .achv-sched-card .achv-game-card__actions {
        padding: 8px 10px !important;
        gap: 4px !important;
    }
    .achv-sched-card .achv-game-card__btn {
        padding: 8px 4px !important;
        font-size: 14px !important;
        gap: 3px !important;
    }
}

/* =============================================================
   Attendance Voting
   ============================================================= */
/* 참불투표 toggle 버튼 + 펼침 panel */
/* 참불투표 toggle 시각 — panel 펼침 시 카드 버튼에 살짝 ring 추가 (toggle 상태 시각화) */
.achv-game-card__btn--att-open {
    box-shadow: 0 0 0 2px rgba(14,165,233,0.45) !important;
}
.achv-att__vote-panel {
    margin-top: 0;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid var(--achv-border, #e5e7eb);
    border-radius: 0;
}
.achv-att__vote-panel[hidden] {
    display: none;
}
.achv-att__vote-panel .achv-att__summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}
.achv-att__sum-attending { color: #16a34a; font-weight: 600; }
.achv-att__sum-absent { color: #dc2626; font-weight: 600; }
.achv-att__sum-late { color: #d97706; font-weight: 600; }
.achv-att__sum-novote { color: #6b7280; }
.achv-att__sum-closed { color: #9ca3af; font-style: italic; }
.achv-att__vote-panel .achv-att__list {
    font-size: 13px;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px dashed var(--achv-border, #e5e7eb);
    line-height: 1.6;
}
.achv-att__list-label--attending { color: #16a34a; font-weight: 600; }
.achv-att__list-label--absent { color: #dc2626; font-weight: 600; }
.achv-att__list-label--late { color: #d97706; font-weight: 600; }
.achv-att__list-label--novote { color: #9ca3af; }
.achv-att__buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.achv-att__btn {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border: 1px solid var(--achv-border, #d1d5db);
    border-radius: 4px;
    background: var(--achv-bg, #fff);
    color: var(--achv-text-muted, #6b7280);
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1.4;
}

.achv-att__btn:hover {
    border-color: var(--achv-text-muted, #9ca3af);
}

.achv-att__btn--active-ok {
    background: #dcfce7;
    border-color: var(--achv-success);
    color: #15803d;
}

.achv-att__btn--active-no {
    background: var(--achv-danger-light);
    border-color: var(--achv-danger);
    color: #b91c1c;
}

.achv-att__btn--active-late {
    background: var(--achv-warning-light);
    border-color: #d97706;
    color: #b45309;
}

.achv-att__btn--cancel {
    border-color: transparent;
    background: transparent;
    color: var(--achv-text-muted, #9ca3af);
    font-size: 14px;
    padding: 4px 6px;
}

.achv-att__btn--cancel:hover {
    color: var(--achv-danger);
}

.achv-att__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =============================================================
   팀 기록 표 — 숫자 칸 오른쪽 정렬 (2026-09-18 UI 통일)
   선수 이름 칸과 묶음 머리(타석·안타·지표)는 그대로 둔다.
   ============================================================= */
.achv-team-stats__table td {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.achv-team-stats__table thead th {
    text-align: right;
}

.achv-team-stats__table td.achv-team-stats__td--name,
.achv-team-stats__table th.achv-team-stats__th--name {
    text-align: left;
}

.achv-team-stats__table th.achv-team-stats__th--group {
    text-align: center;
}

/* =============================================================
   경기 일정 카드 (팀 페이지) — 2026-09-21 인라인 style 을 옮겼다.
   리그 일정 카드(.achv-game-card)와 같은 눈금을 쓴다.
   ============================================================= */
.achv-sched-card {
    border: 1px solid var(--achv-border);
    border-radius: var(--achv-radius);
    overflow: hidden;
    transition: border-color 0.15s;
}

.achv-sched-card--live {
    border-width: 2px;
    border-color: var(--achv-danger);
}

.achv-sched-card__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 14px;
    color: inherit;
    text-decoration: none;
}

a.achv-sched-card__row:hover {
    background: var(--achv-surface-dim);
    text-decoration: none;
}

.achv-sched-card__when {
    min-width: 92px;
}

.achv-sched-card__date {
    font-size: 14px;
    font-weight: 700;
    color: var(--achv-text);
}

.achv-sched-card__meta {
    font-size: 13px;
    color: var(--achv-text-secondary);
}

.achv-sched-card__match {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 200px;
}

.achv-sched-card__team {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.achv-sched-card__team--away { text-align: right; }
.achv-sched-card__team--home { text-align: left; }

.achv-sched-card__score {
    min-width: 58px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--achv-border-hover);
}

.achv-sched-card--done .achv-sched-card__score { color: var(--achv-primary); }
.achv-sched-card--live .achv-sched-card__score { color: var(--achv-danger); }

.achv-sched-card__status {
    min-width: 58px;
    text-align: right;
}

.achv-sched-card__live {
    display: inline-block;
    padding: 1px 6px;
    border-radius: var(--achv-radius-sm);
    background: var(--achv-danger);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    animation: achv-pulse 1.5s infinite;
}

.achv-sched-card__type {
    margin-top: 2px;
    font-size: 13px;
    color: var(--achv-text-secondary);
}

@media (prefers-reduced-motion: reduce) {
    .achv-sched-card__live { animation: none; }
}
