:root {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

:root {
    --primary: #9B1C31;       /* Deep red / burgundy accent */
    --primary-dark: #7D1627;
    --bg-color: #F7F6F2;       /* Warm/off-white background */
    --card-bg: #F7F6F2;
    --text-color: #171717;     /* Near-black text */
    --text-secondary: #4A4A4A; /* Charcoal text */
    --border-color: #171717;   /* Thin black border */
    --btn-view-bg: #171717;
    --btn-down-bg: #9B1C31;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
    background: var(--card-bg);
    width: 100%;
    max-width: 680px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

header h1 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.background-year {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36vw;
    font-weight: 900;
    color: rgba(155, 28, 49, 0.025);
    z-index: -1;
    user-select: none;
    pointer-events: none;
    text-align: center;
    line-height: 1;
    width: 100%;
}

.file-drop-area {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    border: 1px dashed var(--border-color);
    cursor: pointer;
    background: transparent;
    transition: all 0.2s ease;
}

.file-drop-area:hover {
    border-color: var(--primary);
    background-color: rgba(155, 28, 49, 0.02);
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

.icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.file-msg {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.primary-btn {
    background-color: var(--border-color);
    color: var(--bg-color);
    border: 1px solid var(--border-color);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 1.5rem;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 54px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.primary-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.primary-btn:disabled {
    background-color: #E5E5E5;
    border-color: #D4D4D4;
    color: #A3A3A3;
    cursor: not-allowed;
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.secondary-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.result-btn {
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    background: transparent;
    transition: all 0.2s ease;
    height: 54px;
    padding: 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-view {
    background-color: transparent;
    color: var(--text-color);
}

.btn-view:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-download {
    background-color: var(--primary);
    color: var(--bg-color);
    border-color: var(--primary);
}

.btn-download:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

#status-area {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-height: 20px;
}

.status-loading {
    font-weight: 700;
    color: var(--primary);
}

.spinner {
    border: 2px solid rgba(23, 23, 23, 0.1);
    border-radius: 50%;
    border-top: 2px solid var(--text-color);
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-bottom: 5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dark-spinner {
    border: 3px solid rgba(23, 23, 23, 0.1);
    border-top: 3px solid var(--primary);
    width: 36px;
    height: 36px;
    margin: 0 auto 15px auto;
}

.drop-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.loading-text {
    font-weight: 500;
    color: var(--text-secondary);
}

.user-list-container {
    max-height: 280px;
    overflow-y: auto;
    margin-top: 15px;
    border: 1px solid var(--border-color);
    padding: 1rem;
    background: transparent;
}

.user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}

.user-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.user-item label {
    flex: 1;
    font-weight: 600;
    color: var(--text-color);
    margin-right: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    text-align: left;
}

.user-item input {
    flex: 1.2;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-color);
    background: transparent;
    transition: all 0.2s ease;
}

.user-item input:focus {
    outline: none;
    border-color: var(--primary);
}

.small-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-align: left;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none !important;
}

/* Stepper Styles */
#stepper-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    animation: fadeIn 0.4s ease;
}

.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    flex: 1;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.step-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-line {
    height: 1px;
    background-color: var(--border-color);
    flex-grow: 1;
    margin-top: -16px;
    z-index: 1;
}

/* Active State */
.step.active .step-icon {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-color);
}

.step.active .step-label {
    color: var(--primary);
}

/* Completed State */
.step.completed .step-icon {
    background-color: var(--text-color);
    border-color: var(--text-color);
    color: var(--bg-color);
}

.step.completed .step-label {
    color: var(--text-color);
}

.stepper-detail-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
    min-height: 20px;
    margin-top: 0.5rem;
}

/* Slide Deck & Presentation Layout */
.dashboard-title {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.deck-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    background: transparent;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
}

.deck-btn {
    background-color: var(--text-color);
    color: var(--bg-color);
    border: 1px solid var(--text-color);
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.deck-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

#deck-progress {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.slide-viewport {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.slide-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    padding: 2.2rem 3rem;
    color: var(--text-color);
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-align: left;
}

.slide-header {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    z-index: 2;
}

.slide-content-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.slide-title-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
    position: relative;
}

.year-watermark {
    position: absolute;
    font-size: 14vw;
    font-weight: 900;
    color: rgba(155, 28, 49, 0.02);
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.slide-main-title {
    font-size: 2.4rem;
    font-weight: 800;
    z-index: 2;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slide-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0.25rem 0;
    z-index: 2;
}

.slide-split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    height: 100%;
    align-items: center;
}

.slide-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-right {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-winner-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.4rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.slide-winner-name {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
    line-height: 1.15;
    word-break: break-word;
}

.slide-winner-detail {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0.2rem 0;
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
}

.rank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    background: transparent;
    border-bottom: 1px solid rgba(23, 23, 23, 0.1);
    font-size: 0.9rem;
    color: var(--text-color);
    gap: 0.75rem;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-item span {
    font-weight: 600;
}

.rank-item strong {
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.slide-methodology-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    font-size: 0.85rem;
    text-align: left;
}

.methodology-card {
    background: transparent;
    border-left: 2px solid var(--primary);
    padding-left: 0.75rem;
    border-radius: 0px;
}

.methodology-card h4 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.methodology-card p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.slide-hint {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

.chart-wrapper {
    position: relative;
    height: 220px;
    width: 100%;
}

.slide-full-chart-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

/* Minimal stacked progress bar for DM balance */
.editorial-stacked-bar {
    display: flex;
    width: 100%;
    height: 36px;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.editorial-bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bg-color);
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.segment-left {
    background-color: var(--primary);
}

.segment-right {
    background-color: var(--text-color);
}

.editorial-bar-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.legend-left {
    color: var(--primary);
}

.legend-right {
    color: var(--text-color);
}

@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }
    .container {
        padding: 1.5rem 1rem;
        border: none;
    }
    .slide-card {
        aspect-ratio: auto;
        min-height: 400px;
        padding: 1.5rem;
    }
    .slide-header {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }
    .slide-split-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .slide-winner-name {
        font-size: 1.8rem;
    }
    .slide-main-title {
        font-size: 1.8rem;
    }
    .slide-subtitle {
        font-size: 1rem;
    }
    .slide-methodology-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .chart-wrapper {
        height: 180px;
    }
}

.deck-btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.deck-btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Title slide: full member list, wraps instead of being cut to 6 names */
.slide-members {
    margin-top: 1rem;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Closing slide: same calm type as the rest of the deck */
.slide-closing-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.01em;
}

/* Analysis period selector (All Time / 2026) */
.period-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
}

.period-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.period-options {
    display: flex;
    border: 1px solid var(--border-color);
}

.period-option {
    position: relative;
    cursor: pointer;
}

.period-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.period-option span {
    display: block;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.period-option + .period-option span {
    border-left: 1px solid var(--border-color);
}

.period-option input:checked + span {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.period-option input:focus-visible + span {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Fullscreen Mode Style Rules (deck opens in this mode after analysis) */
#dashboard-area.fullscreen-active {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: var(--bg-color) !important;
    z-index: 99999 !important;
    padding: 1rem 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    overflow-y: auto !important;
}

#dashboard-area.fullscreen-active .dashboard-title {
    display: none !important;
}

#dashboard-area.fullscreen-active .deck-controls {
    width: 100% !important;
    max-width: min(1400px, calc((100vh - 120px) * 16 / 9)) !important;
    margin-bottom: 1rem !important;
    background: var(--bg-color) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color) !important;
    box-sizing: border-box;
}

#dashboard-area.fullscreen-active #deck-progress {
    color: var(--text-color) !important;
}

#dashboard-area.fullscreen-active .slide-viewport {
    width: 100% !important;
    /* Largest 16:9 slide that fits under the controls */
    max-width: min(1400px, calc((100vh - 120px) * 16 / 9)) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#dashboard-area.fullscreen-active .slide-card {
    width: 100% !important;
    aspect-ratio: 16/9 !important;
    border: 1px solid var(--border-color) !important;
}

#dashboard-area.fullscreen-active .chart-wrapper {
    height: min(45vh, 520px) !important;
}

#dashboard-area.fullscreen-active .slide-hint {
    color: var(--text-secondary) !important;
    margin-top: 0.75rem !important;
}

#user-mapping-area {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .deck-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .deck-action-buttons {
        width: 100%;
        margin-left: 0 !important;
        justify-content: center;
        flex-wrap: wrap;
    }

    #dashboard-area.fullscreen-active {
        justify-content: flex-start !important;
        padding: 0.75rem !important;
    }

    #dashboard-area.fullscreen-active .deck-controls,
    #dashboard-area.fullscreen-active .slide-viewport {
        max-width: 100% !important;
    }

    /* Portrait phones: let the slide grow taller instead of squeezing into 16:9 */
    #dashboard-area.fullscreen-active .slide-card {
        aspect-ratio: auto !important;
        min-height: 400px;
    }

    #dashboard-area.fullscreen-active .chart-wrapper {
        height: 240px !important;
    }

    #dashboard-area.fullscreen-active .slide-hint {
        display: none;
    }
}

/* "Örnek sunum oluştur" demo button */
.sample-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    width: 100%;
}

.sample-or {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.sample-btn {
    width: 100%;
}

.sample-hint {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
}

/* Methodology slide: two columns, one on phones */
.methodology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
    max-height: 230px;
    overflow-y: auto;
    padding-right: 0.5rem;
    text-align: left;
}

@media (max-width: 768px) {
    .methodology-grid {
        grid-template-columns: 1fr;
        max-height: none;
    }

    /* Streaks slide: stacked columns don't need the vertical divider */
    .slide-split-layout > .slide-left {
        border-right: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 16px inputs: iOS Safari zooms the page in on focus for anything smaller */
    .user-item input {
        font-size: 16px;
    }

    .user-item label {
        margin-right: 10px;
    }
}

/* Phones in landscape: little height, so let the slide scroll instead of clipping it into 16:9 */
@media (max-height: 520px) and (orientation: landscape) {
    #dashboard-area.fullscreen-active {
        justify-content: flex-start !important;
        padding: 0.5rem 1rem !important;
    }

    #dashboard-area.fullscreen-active .deck-controls,
    #dashboard-area.fullscreen-active .slide-viewport {
        max-width: 100% !important;
    }

    #dashboard-area.fullscreen-active .deck-controls {
        padding: 0.4rem 0.75rem;
        margin-bottom: 0.5rem !important;
    }

    #dashboard-area.fullscreen-active .slide-card {
        aspect-ratio: auto !important;
        overflow: visible;
        padding: 1.25rem 1.75rem;
    }

    #dashboard-area.fullscreen-active .chart-wrapper {
        height: 200px !important;
    }

    #dashboard-area.fullscreen-active .slide-hint {
        display: none;
    }
}

/* PDF export renders 1024x576 slides: always the desktop layout, even when exported from a phone */
.pdf-slide .slide-split-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
}

.pdf-slide .slide-header {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.pdf-slide .slide-winner-name,
.pdf-slide .slide-main-title {
    font-size: 2.4rem;
}

.pdf-slide .slide-subtitle {
    font-size: 1.2rem;
}

.pdf-slide .slide-methodology-layout {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

/* A PDF page can't scroll: every explanation on the page, in three columns */
.pdf-slide .methodology-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 1.5rem;
    max-height: none;
    overflow: visible;
}

.pdf-slide .methodology-grid > div {
    padding: 0.25rem 0 !important;
}

.pdf-slide .methodology-grid strong {
    font-size: 0.72rem !important;
}

.pdf-slide .methodology-grid p {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
}

.pdf-slide .chart-wrapper {
    height: 220px;
}

.pdf-slide .slide-split-layout > .slide-left[style*="border-right"] {
    border-right: 1px solid rgba(23, 23, 23, 0.1) !important;
    padding-right: 1.5rem !important;
}

.pdf-slide .slide-split-layout > .slide-left[style*="padding-left"] {
    padding-left: 1.5rem !important;
}

/* Hover colors only on real pointers: on touch screens they stick after a tap */
@media (hover: none) {
    .secondary-btn:hover,
    .deck-btn-secondary:hover {
        background-color: transparent;
        color: var(--text-color);
    }

    .deck-btn:hover {
        background-color: var(--text-color);
        border-color: var(--text-color);
    }
}

/* Phones: deck controls in two compact rows (Geri · progress · İleri, then the action buttons) */
@media (max-width: 768px) {
    .deck-controls {
        justify-content: space-between;
        row-gap: 0.5rem;
    }

    .deck-btn {
        padding: 0.45rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    #deck-progress {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .deck-action-buttons {
        gap: 6px !important;
        flex-wrap: nowrap;
    }

    .deck-btn-secondary {
        flex: 1;
        padding: 0.45rem 0.4rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }
}
