:root {
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-stage: #f1f5f9;
    --bg-elevated: #f1f5f9;
    --text-main: #0f172a;
    --text-sub: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --primary: #0f172a;
    --accent-rose: #e63946;
    --accent-indigo: #4f46e5;
    --accent-amber: #d97706;
    --emerald: #10b981;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] {
    --bg-body: #090d16;
    --bg-card: #111726;
    --bg-stage: #161f33;
    --bg-elevated: #1a2438;
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.16);
    --primary: #f8fafc;
    --accent-indigo: #818cf8;
    --accent-amber: #fbbf24;
    --emerald: #34d399;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow-sm: 0 8px 20px -4px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 38px -8px rgba(0, 0, 0, 0.65);
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.hidden {
    display: none !important;
}

/* ==========================================
   NAVIGATION & THEME TOGGLE
   ========================================== */
.nav-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-sub);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.nav-tab:hover {
    color: var(--text-main);
    background: rgba(148, 163, 184, 0.1);
}

.nav-tab.active {
    color: var(--text-main);
    background: var(--bg-elevated);
    font-weight: 600;
}

html[data-theme="dark"] .icon-moon {
    display: none;
}

html:not([data-theme="dark"]) .icon-sun {
    display: none;
}

.sync-indicator.syncing .sync-dot {
    background: #f59e0b;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.share-pill-btn.is-public {
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--emerald);
}

.auth-btn.logged-in {
    background: var(--bg-elevated);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.visibility-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.visibility-dot.private {
    background: var(--text-muted);
}

.visibility-dot.public {
    background: var(--emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ==========================================
   FILTER PILLS & SEGMENTED CONTROLS
   ========================================== */
.pill {
    padding: 5px 11px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-sub);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.pill:hover {
    color: var(--text-main);
}

.pill.active {
    background: var(--bg-card);
    color: var(--text-main);
    border-color: var(--border-color);
    box-shadow: var(--shadow-xs);
    font-weight: 600;
}

#card-subset-pills .pill {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

#card-subset-pills .pill.active {
    background: var(--text-main);
    color: var(--bg-card);
    border-color: var(--text-main);
}

.seg-btn {
    border: none;
    background: transparent;
    color: var(--text-sub);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.seg-btn:hover {
    color: var(--text-main);
}

.seg-btn.active {
    background: var(--bg-card);
    color: var(--text-main);
    font-weight: 600;
    box-shadow: var(--shadow-xs);
}

/* ==========================================
   EXPANSION CARDS (MODERN EDITORIAL DESIGN)
   ========================================== */
.set-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.set-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.set-card-stage {
    position: relative;
    height: 136px;
    background: var(--bg-stage);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px 18px;
    overflow: hidden;
}

.set-card-top-meta {
    position: absolute;
    top: 10px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.set-code-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.set-year-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
}

.set-stage-logo {
    max-width: 82%;
    max-height: 76px;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.set-card:hover .set-stage-logo {
    transform: scale(1.06);
}

.set-card-body {
    padding: 14px 16px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.set-series-micro {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.set-card-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.set-progress-row {
    margin-top: auto;
    margin-bottom: 10px;
}

.set-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-stage);
    border-radius: 99px;
    overflow: hidden;
}

.set-progress-fill {
    height: 100%;
    background: var(--text-main);
    border-radius: 99px;
    transition: width 0.3s ease;
}

.set-progress-fill.is-complete {
    background: var(--emerald);
}

.set-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
}

.set-count-text {
    color: var(--text-sub);
}

.set-badges-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.micro-tag {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 4px;
}

.micro-tag.trade {
    background: rgba(79, 70, 229, 0.12);
    color: var(--accent-indigo);
}

.micro-tag.wanted {
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent-amber);
}

.set-pct-badge {
    color: var(--text-muted);
    font-weight: 500;
}

.set-pct-badge.active {
    color: var(--text-main);
    font-weight: 600;
}

.set-pct-badge.complete {
    color: var(--emerald);
    font-weight: 700;
}

/* ==========================================
   BINDER CARD CHECKLIST GRID
   ========================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 16px;
}

.tcg-card-item {
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 10px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.tcg-card-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.tcg-card-item.owned {
    border-color: rgba(16, 185, 129, 0.45);
}

.tcg-card-item.unowned .tcg-card-img-wrap img {
    opacity: 0.72;
    filter: saturate(0.65);
}

.tcg-card-item.unowned:hover .tcg-card-img-wrap img {
    opacity: 1;
    filter: none;
}

.tcg-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 245 / 342;
    border-radius: 7px;
    overflow: hidden;
    background: var(--bg-stage);
    cursor: zoom-in;
    margin-bottom: 8px;
}

.tcg-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
}

.tcg-card-item:hover .tcg-card-img-wrap img {
    transform: scale(1.025);
}

.card-badges-stack {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    pointer-events: none;
}

.owned-count-badge,
.trade-count-badge,
.wanted-count-badge {
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.owned-count-badge { background: #10b981; }
.trade-count-badge { background: #4f46e5; }
.wanted-count-badge { background: #d97706; }

.tcg-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 7px;
}

.tcg-card-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-main);
}

.tcg-card-tag {
    font-size: 0.64rem;
    font-weight: 500;
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--bg-stage);
    color: var(--text-sub);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 105px;
}

/* 3 Stacked Full-Width Stepper Bars under each card (Owned, Trade, Wanted) */
.card-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
    width: 100%;
}

.owned-stepper-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    background: var(--bg-stage);
    border: 1px solid var(--border-color);
    border-radius: 7px;
    padding: 3px 4px 3px 8px;
    min-width: 0;
    width: 100%;
    transition: var(--transition);
}

.owned-stepper-row.owned.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.4);
}

.owned-stepper-row.trade.active {
    background: rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.42);
}

.owned-stepper-row.wanted.active {
    background: rgba(217, 119, 6, 0.12);
    border-color: rgba(217, 119, 6, 0.42);
}

.row-mini-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.owned-stepper-row.owned.active .row-mini-lbl {
    color: var(--emerald);
}

.owned-stepper-row.trade.active .row-mini-lbl {
    color: var(--accent-indigo);
}

.owned-stepper-row.wanted.active .row-mini-lbl {
    color: var(--accent-amber);
}

.owned-stepper {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.step-btn {
    width: 26px;
    height: 26px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: var(--transition);
    flex-shrink: 0;
    touch-action: manipulation;
}

.step-btn:hover:not(:disabled) {
    background: var(--text-main);
    color: var(--bg-card);
    border-color: var(--text-main);
}

.step-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.step-input {
    width: 26px;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    font-weight: 700;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
    padding: 0;
}

.step-input::-webkit-outer-spin-button,
.step-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ==========================================
   BUTTONS, FORMS & SWITCHES
   ========================================== */
.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: var(--transition);
    gap: 6px;
    cursor: pointer;
    border: 1px solid transparent;
}

.button {
    background-color: var(--text-main);
    color: var(--bg-card);
}

.button:hover {
    opacity: 0.9;
}

.button-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.button-secondary:hover {
    background-color: var(--bg-stage);
}

.btn-sm {
    padding: 6px 11px;
    font-size: 0.75rem;
}

.danger-hover:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 8px 11px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.8125rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--border-hover);
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #64748b;
    transition: 0.2s;
    border-radius: 99px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: var(--emerald);
}

.switch input:checked + .slider::before {
    transform: translateX(20px);
}

.directory-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.directory-item:hover {
    border-color: var(--border-hover);
}

.directory-trainer-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.directory-trainer-meta {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-top: 2px;
}

/* ==========================================
   MODALS (LIGHTBOX & AUTH)
   ========================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 22, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    position: relative;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-sub);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--text-main);
    border-color: var(--border-hover);
}

.lightbox-modal-content {
    max-width: 640px;
    padding: 24px;
}

.lightbox-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: center;
}

.lightbox-img-wrap {
    width: 100%;
    aspect-ratio: 245 / 342;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg-stage);
}

.lightbox-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-qty-panel {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lightbox-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lightbox-qty-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.lightbox-qty-label.trade-label { color: var(--accent-indigo); }
.lightbox-qty-label.wanted-label { color: var(--accent-amber); }

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-card);
    padding: 2px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: none;
    background: var(--bg-stage);
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.qty-btn:hover:not(:disabled) {
    background: var(--text-main);
    color: var(--bg-card);
}

.qty-input {
    width: 36px;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
    padding: 0;
}

.quick-qty-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 6px;
}

.preset-btn {
    padding: 5px 4px;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-sub);
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.preset-btn:hover {
    color: var(--text-main);
    border-color: var(--border-hover);
}

.auth-modal-content {
    max-width: 400px;
    padding: 24px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--bg-body);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.auth-tab {
    padding: 6px;
    border: none;
    background: transparent;
    color: var(--text-sub);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
}

.auth-tab.active {
    background: var(--bg-card);
    color: var(--text-main);
    font-weight: 600;
    box-shadow: var(--shadow-xs);
}

.auth-alert {
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 0.78rem;
    margin-bottom: 14px;
}

.auth-alert.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.auth-alert.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.profile-summary-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 10px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--text-main);
    color: var(--bg-card);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.profile-email {
    font-size: 0.75rem;
    color: var(--text-sub);
}

.profile-mode-badge {
    display: inline-block;
    margin-top: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald);
}

/* ==========================================
   TOAST & LOADING
   ========================================== */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: var(--text-main);
    color: var(--bg-card);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.2s ease;
    pointer-events: auto;
    max-width: 100%;
}

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

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px;
    color: var(--text-sub);
    font-size: 0.85rem;
}

.spinner {
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-left-color: var(--text-main);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

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

@media (max-width: 768px) {
    .lightbox-body {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lightbox-img-wrap {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .tcg-card-item {
        padding: 8px;
        min-width: 0;
    }

    .tcg-card-tag {
        max-width: 72px;
        font-size: 0.6rem;
    }

    .owned-stepper-row {
        padding: 3px 4px 3px 6px;
    }

    .row-mini-lbl {
        font-size: 0.62rem;
    }

    .step-btn {
        width: 26px;
        height: 26px;
        font-size: 0.95rem;
    }

    .step-input {
        width: 22px;
        font-size: 0.72rem;
    }

    .pill,
    .seg-btn {
        padding: 5px 9px;
        font-size: 0.72rem;
    }

    .modal-backdrop {
        padding: 12px;
    }

    .lightbox-modal-content,
    .auth-modal-content {
        padding: 18px;
    }
}
