/* --- base.css --- */
/* ============================================
   TIMER DETAIL v3.0 — iPHONE CARTOON PRETO & BRANCO
   Squircle iOS + traço cartoon + halftone + mola
   100% monocromático (mesma linguagem da Home)
   © 2026 LITE STUDIO
   ============================================ */

/* ---------- CONTAINER ---------- */
.st-t2-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #000000;
    /* pontinhos halftone (cartoon) */
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1.6px);
    background-size: 16px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Rajdhani', sans-serif;
}
@media (min-width: 600px) {
    .st-t2-container {
        left: 50%;
        transform: translateX(-50%);
        max-width: 480px;
        border-left: 2px solid rgba(255,255,255,0.35);
        border-right: 2px solid rgba(255,255,255,0.35);
    }
}
/* ícones brancos (override do dourado global) */
.st-t2-container .st-icon { color: #ffffff !important; }
.st-t2-container::before { content: none; }
.st-t2-container > * { position: relative; z-index: 1; }

/* ---------- SCROLL ---------- */
.st-t2-scroll {
    flex: 1;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px 40px;
    padding-top: calc(16px + env(safe-area-inset-top, 16px));
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    min-height: 0;
}
.st-t2-scroll::-webkit-scrollbar { width: 3px; }
.st-t2-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.4); border-radius: 2px; }

/* ---------- TOPBAR ---------- */
.st-t2-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.st-t2-back {
    width: 44px; height: 44px;
    background: #101010;
    border: 2px solid rgba(255,255,255,0.7);
    color: #ffffff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
    flex-shrink: 0;
    border-radius: 999px;
    box-shadow: 0 3px 0 rgba(255,255,255,0.12);
}
.st-t2-back:hover {
    background: #ffffff;
    color: #000000;
    transform: translateX(-3px);
    box-shadow: 0 5px 0 rgba(255,255,255,0.2), 0 0 16px rgba(255,255,255,0.25);
}
.st-t2-back:hover .st-icon { color: #000000 !important; }
.st-t2-back:active { transform: translateX(-3px) scale(0.95); box-shadow: 0 1px 0 rgba(255,255,255,0.12); }

.st-t2-vice-badge {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    background: #101010;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: inherit;
    font-size: 1.05rem; font-weight: 800;
    letter-spacing: 0.1em; text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 4px 0 rgba(255,255,255,0.18);
    position: relative; overflow: hidden;
}
.st-t2-vice-badge::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    animation: t2Shimmer 3s ease-in-out infinite;
}
@keyframes t2Shimmer { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
.st-t2-vice-icon { display: flex; color: #ffffff; filter: drop-shadow(0 0 6px rgba(255,255,255,0.5)); }
.st-t2-vice-badge span { text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* ---------- HERO TIMER (anel B&W) ---------- */
.st-t2-hero {
    text-align: center;
    padding: 10px 0 24px;
    position: relative;
}
.st-t2-ring-wrap {
    position: relative;
    width: min(270px, 70vw);
    height: min(270px, 70vw);
    margin: 0 auto 16px;
}
.st-t2-ring-glow {
    position: absolute; inset: -24px;
    background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 70%);
    opacity: 0.35; pointer-events: none;
    border-radius: 50%;
    animation: t2GlowPulse 3.5s ease-in-out infinite;
}
@keyframes t2GlowPulse {
    0%,100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.06); }
}
.st-t2-ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.st-t2-ring-bg { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 10; }
/* força o anel a ser branco (vence o gradiente dourado do SVG) */
.st-t2-ring-progress {
    fill: none;
    stroke: #ffffff !important;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s cubic-bezier(0.16,1,0.3,1);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
}
.st-t2-ring-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 20px;
}
.st-t2-ring-percent {
    font-family: var(--font-mono);
    font-size: 0.7rem; font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.2em;
    margin-bottom: 4px;
}
.st-t2-time {
    font-family: inherit;
    font-size: clamp(2.6rem, 11vw, 3.4rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em; line-height: 1;
    text-shadow: 0 0 24px rgba(255,255,255,0.4);
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}
.st-t2-ring-label {
    font-size: 0.65rem; font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 0.25em;
}
/* contador de dias grande */
.st-t2-days-counter {
    display: flex; align-items: baseline; justify-content: center;
    gap: 8px;
    animation: t2DaysIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes t2DaysIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.st-t2-days-value {
    font-family: inherit;
    font-size: clamp(2.4rem, 9vw, 3rem);
    font-weight: 800; color: #ffffff;
    line-height: 1; letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}
.st-t2-days-label {
    font-size: 0.7rem; font-weight: 800;
    color: rgba(255,255,255,0.7); letter-spacing: 0.2em; text-transform: uppercase;
}
.st-t2-record-badge {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 8px; padding: 5px 14px;
    background: #ffffff;
    border: 2px solid #ffffff;
    color: #000000;
    font-size: 0.62rem; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 3px 0 rgba(255,255,255,0.35);
    animation: t2RecordPulse 2s ease-in-out infinite;
}
@keyframes t2RecordPulse {
    0%,100% { box-shadow: 0 3px 0 rgba(255,255,255,0.35), 0 0 0 0 rgba(255,255,255,0.3); }
    50% { box-shadow: 0 3px 0 rgba(255,255,255,0.35), 0 0 0 6px rgba(255,255,255,0.08); }
}

/* ---------- BREAKDOWN (widget iOS) ---------- */
.st-t2-breakdown {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    background: #101010;
    border: 2px solid #ffffff;
    position: relative;
    border-radius: 24px;
    box-shadow: 0 5px 0 rgba(255,255,255,0.15);
    overflow: hidden;
    margin-bottom: 24px;
}
.st-t2-breakdown::before, .st-t2-breakdown::after {
    content: ''; position: absolute; top: 18%; bottom: 18%; width: 2px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}
.st-t2-breakdown::before { left: 25%; }
.st-t2-breakdown::after { left: 75%; }
.st-t2-unit { text-align: center; padding: 16px 6px; }
.st-t2-unit-value {
    font-family: inherit;
    font-size: 1.7rem; font-weight: 800; color: #ffffff;
    line-height: 1; margin-bottom: 4px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.st-t2-unit-label {
    font-size: 0.58rem; font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 0.12em;
}

/* ---------- SECTION TITLE (bolinha branca) ---------- */
.st-t2-section-title {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem; font-weight: 600;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.2em; text-transform: uppercase;
    margin: 24px 0 14px;
}
.st-t2-section-title::before {
    content: '';
    width: 7px; height: 7px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255,255,255,0.8);
}
.st-t2-section-title::after {
    content: ''; flex: 1; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.35), transparent);
}

/* ---------- MARCOS (milestones) ---------- */
.st-t2-milestones {
    background: #101010;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 20px 18px 16px;
    border-radius: 24px;
    box-shadow: 0 5px 0 rgba(255,255,255,0.1);
    margin-bottom: 8px;
}
.st-t2-ms-track {
    position: relative;
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px;
}
.st-t2-ms-line {
    position: absolute; left: 8px; right: 8px; top: 50%;
    height: 3px; transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border-radius: 2px; overflow: hidden;
}
.st-t2-ms-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #6b6b6b, #ffffff);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
    transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}
.st-t2-ms-dot {
    position: relative; z-index: 2;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 2px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.st-t2-ms-dot.reached {
    background: #ffffff; border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255,255,255,0.7);
}
.st-t2-ms-dot.reached::after {
    content: '✓'; font-size: 0.55rem; font-weight: 800; color: #000000;
}
.st-t2-ms-dot.next {
    border-color: #ffffff; background: #1a1a1a;
    animation: t2NextPulse 2s ease-in-out infinite;
}
@keyframes t2NextPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(255,255,255,0.1); }
}
.st-t2-ms-labels {
    display: flex; justify-content: space-between;
    font-family: var(--font-mono); font-size: 0.52rem;
    color: rgba(255,255,255,0.3); letter-spacing: 0.03em;
}
.st-t2-ms-labels span.reached { color: #ffffff; }
.st-t2-ms-next {
    margin-top: 12px; padding-top: 12px;
    border-top: 2px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-mono); font-size: 0.68rem;
}
.st-t2-ms-next-label { color: rgba(255,255,255,0.4); letter-spacing: 0.08em; text-transform: uppercase; }
.st-t2-ms-next-value { color: #ffffff; font-weight: 700; letter-spacing: 0.05em; }

/* ---------- STATS GRID ---------- */
.st-t2-stats-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
    margin-bottom: 8px;
}
.st-t2-stat-card {
    background: #101010;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 14px 14px 12px;
    border-radius: 20px;
    transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
    display: flex; flex-direction: column; gap: 6px;
    box-shadow: 0 4px 0 rgba(255,255,255,0.08);
}
.st-t2-stat-card:hover {
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(255,255,255,0.12), 0 0 16px rgba(255,255,255,0.12);
}
.st-t2-stat-head {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.58rem; font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 0.1em;
}
.st-t2-stat-head .st-icon { color: #ffffff; filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); }
.st-t2-stat-value {
    font-family: inherit;
    font-size: 1.35rem; font-weight: 800; color: #ffffff;
    line-height: 1.1; letter-spacing: -0.02em;
}
.st-t2-stat-value.gold {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255,255,255,0.5);
}

/* ---------- CONQUISTA ---------- */
.st-t2-achievement {
    display: flex; align-items: center; gap: 16px;
    padding: 18px;
    background: #101010;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 24px;
    position: relative; overflow: hidden;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 5px 0 rgba(255,255,255,0.1);
}
.st-t2-achievement:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(255,255,255,0.14), 0 0 20px rgba(255,255,255,0.12); }
.st-t2-achievement::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: #ffffff; box-shadow: 0 0 20px rgba(255,255,255,0.6);
}
.st-t2-ach-icon {
    width: 58px; height: 58px;
    background: #141414;
    border: 2px solid #ffffff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; border-radius: 50%; overflow: hidden;
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}
.st-t2-ach-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: grayscale(1) contrast(1.05); }
.st-t2-ach-info { flex: 1; min-width: 0; }
.st-t2-ach-level {
    font-family: var(--font-mono); font-size: 0.58rem; font-weight: 700;
    color: rgba(255,255,255,0.7); letter-spacing: 0.2em; text-transform: uppercase;
    margin-bottom: 2px;
}
.st-t2-ach-title {
    font-family: inherit;
    font-size: 1.25rem; font-weight: 800; color: #ffffff;
    letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.1;
    margin-bottom: 2px;
}
.st-t2-ach-next {
    font-family: var(--font-mono); font-size: 0.62rem;
    color: rgba(255,255,255,0.4); letter-spacing: 0.05em;
}
.st-t2-ach-next b { color: #ffffff; font-weight: 700; }

/* ---------- DICA ---------- */
.st-t2-tip {
    padding: 18px;
    background: #101010;
    border: 2px solid rgba(255,255,255,0.3);
    border-left: 4px solid #ffffff;
    border-radius: 20px;
    position: relative;
    margin-bottom: 8px;
    box-shadow: 0 4px 0 rgba(255,255,255,0.08);
}
.st-t2-tip::before {
    content: '"';
    position: absolute; top: 6px; left: 14px;
    font-family: inherit; font-size: 2.6rem; font-weight: 800;
    color: #ffffff; opacity: 0.15; line-height: 1;
}
.st-t2-tip-label {
    display: flex; align-items: center; gap: 10px;
    font-family: inherit; font-size: 0.85rem; font-weight: 800;
    color: #ffffff; text-transform: uppercase; letter-spacing: 0.15em;
    margin-bottom: 10px;
}
.st-t2-tip-label .st-icon { filter: drop-shadow(0 0 6px rgba(255,255,255,0.5)); }
.st-t2-tip-text {
    font-family: var(--font-main);
    font-size: 0.95rem; color: rgba(255,255,255,0.7);
    line-height: 1.6; font-style: italic;
    padding-left: 8px; border-left: 2px solid rgba(255,255,255,0.12);
    transition: opacity 0.3s ease;
}

/* ---------- ANOTAÇÕES ---------- */
.st-t2-notes {
    padding: 16px 18px;
    background: rgba(255,255,255,0.04);
    border: 2px dashed rgba(255,255,255,0.45);
    border-radius: 20px;
    margin-bottom: 8px;
}
.st-t2-notes-label {
    font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
    color: rgba(255,255,255,0.7); letter-spacing: 0.15em; text-transform: uppercase;
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px;
}
.st-t2-notes-text {
    font-family: var(--font-main);
    font-size: 0.92rem; color: rgba(255,255,255,0.65);
    line-height: 1.6; white-space: pre-wrap; word-break: break-word;
}

/* ---------- RESET (zona de perigo, B&W) ---------- */
.st-t2-actions { margin-top: 24px; padding-top: 20px; border-top: 2px solid rgba(255,255,255,0.12); }
.st-t2-reset-btn {
    width: 100%; padding: 18px;
    background: #1c1c1c;
    border: 2px dashed rgba(255,255,255,0.6);
    color: #ffffff;
    font-family: inherit;
    font-size: 1.05rem; font-weight: 800;
    letter-spacing: 0.1em; text-transform: uppercase;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
    border-radius: 999px;
    position: relative; overflow: hidden;
}
.st-t2-reset-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%); transition: transform 0.5s ease;
}
.st-t2-reset-btn:hover::before { transform: translateX(100%); }
.st-t2-reset-btn:hover {
    background: #ffffff;
    border-style: solid;
    border-color: #ffffff;
    color: #000000;
    box-shadow: 0 5px 0 rgba(255,255,255,0.3), 0 0 24px rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
.st-t2-reset-btn:hover .st-icon { color: #000000 !important; }
.st-t2-reset-btn:active { transform: translateY(2px) scale(0.97); box-shadow: 0 1px 0 rgba(255,255,255,0.3); }
.st-t2-reset-btn .st-icon { transition: transform 0.3s ease; }
.st-t2-reset-btn:hover .st-icon { transform: rotate(180deg); }
.st-t2-reset-hint {
    text-align: center; margin-top: 10px;
    font-family: var(--font-mono); font-size: 0.6rem;
    color: rgba(255,255,255,0.3); letter-spacing: 0.08em;
}

/* ---------- LOADING ---------- */
.st-t2-loading {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 60vh; gap: 18px;
}
.st-t2-spinner {
    width: 48px; height: 48px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: #ffffff; border-right-color: #ffffff;
    border-radius: 50%;
    animation: t2Spin 0.9s linear infinite;
}
@keyframes t2Spin { to { transform: rotate(360deg); } }
.st-t2-loading-text {
    font-family: var(--font-mono); font-size: 0.75rem;
    color: rgba(255,255,255,0.5); letter-spacing: 0.18em; text-transform: uppercase;
}

/* ---------- ANIMAÇÕES DE ENTRADA ---------- */
.st-t2-fade-up {
    opacity: 0; transform: translateY(20px);
    animation: t2FadeUp 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes t2FadeUp { to { opacity: 1; transform: translateY(0); } }
.st-t2-delay-1 { animation-delay: 0.05s; }
.st-t2-delay-2 { animation-delay: 0.12s; }
.st-t2-delay-3 { animation-delay: 0.2s; }
.st-t2-delay-4 { animation-delay: 0.28s; }
.st-t2-delay-5 { animation-delay: 0.36s; }
.st-t2-delay-6 { animation-delay: 0.44s; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 380px) {
    .st-t2-scroll { padding: 0 14px 30px; }
    .st-t2-time { font-size: 2.4rem; }
    .st-t2-unit-value { font-size: 1.4rem; }
    .st-t2-achievement { padding: 14px; gap: 12px; }
    .st-t2-ach-icon { width: 48px; height: 48px; }
    .st-t2-ach-title { font-size: 1.05rem; }
    .st-t2-ms-labels { font-size: 0.48rem; }
}
@media (min-width: 600px) {
    .st-t2-scroll { padding: 0 28px 40px; }
    .st-t2-time { font-size: 3.6rem; }
    .st-t2-unit-value { font-size: 2rem; }
    .st-t2-stat-value { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .st-t2-ring-glow, .st-t2-vice-badge::before, .st-t2-ms-dot.next,
    .st-t2-record-badge, .st-t2-fade-up { animation: none !important; }
    .st-t2-fade-up { opacity: 1; transform: none; }
}

/* --- ui.css --- */
/* ============================================
   TIMER DETAIL v3.0 — UI
   Modal de reset + micro-interações — B&W
   © 2026 LITE STUDIO
   ============================================ */

/* ---------- MODAL DE RESET ---------- */
.st-t2-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000; padding: 20px;
    animation: t2OverlayIn 0.3s ease;
}
@keyframes t2OverlayIn { from { opacity: 0; } to { opacity: 1; } }
.st-t2-modal-overlay .st-icon { color: #ffffff !important; }
.st-t2-modal {
    width: 100%; max-width: 360px;
    background: #101010;
    border: 2px solid #ffffff;
    padding: 28px 24px;
    text-align: center;
    border-radius: 28px;
    box-shadow: 0 8px 0 rgba(255,255,255,0.1), 0 24px 70px rgba(0,0,0,0.85);
    animation: t2ModalIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes t2ModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.st-t2-modal-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    background: rgba(255,255,255,0.06);
    border: 2px dashed rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #ffffff;
    animation: t2ModalIconPulse 2s ease-in-out infinite;
}
@keyframes t2ModalIconPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.25); }
    50% { box-shadow: 0 0 0 8px rgba(255,255,255,0.06); }
}
.st-t2-modal-title {
    font-family: inherit;
    font-size: 1.5rem; font-weight: 800; color: #ffffff;
    letter-spacing: 0.05em; text-transform: uppercase;
    margin-bottom: 12px;
}
.st-t2-modal-text {
    font-family: var(--font-main);
    font-size: 0.9rem; color: rgba(255,255,255,0.6);
    line-height: 1.6; margin-bottom: 8px;
}
.st-t2-modal-streak {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; margin: 8px 0 20px;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 999px;
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
    color: #ffffff; letter-spacing: 0.1em;
}
.st-t2-modal-actions { display: flex; gap: 10px; }
.st-t2-modal-btn {
    flex: 1; padding: 14px;
    border: 2px solid rgba(255,255,255,0.3); background: #1c1c1c;
    color: rgba(255,255,255,0.8);
    font-family: inherit; font-size: 0.9rem; font-weight: 800;
    letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
    border-radius: 999px;
    box-shadow: 0 3px 0 rgba(255,255,255,0.08);
}
.st-t2-modal-btn:active { transform: translateY(2px) scale(0.97); box-shadow: 0 1px 0 rgba(255,255,255,0.08); }
.st-t2-modal-btn-cancel:hover { background: rgba(255,255,255,0.1); color: #ffffff; border-color: rgba(255,255,255,0.5); }
.st-t2-modal-btn-danger {
    background: #1c1c1c;
    border: 2px dashed rgba(255,255,255,0.6);
    color: #ffffff;
}
.st-t2-modal-btn-danger:hover {
    background: #ffffff;
    border-style: solid;
    border-color: #ffffff;
    color: #000000;
    box-shadow: 0 4px 0 rgba(255,255,255,0.3);
}
.st-t2-modal-btn-danger:hover .st-icon { color: #000000 !important; }

/* ---------- TICK ANIMATION (segundos) ---------- */
.st-t2-unit-value.tick { animation: t2Tick 0.3s ease; }
@keyframes t2Tick {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2px); color: #ffffff; }
    100% { transform: translateY(0); }
}

/* ---------- NOVO RECORDE (flash branco) ---------- */
.st-t2-days-value.record-flash { animation: t2RecordFlash 1s ease; }
@keyframes t2RecordFlash {
    0% { transform: scale(1); }
    40% { transform: scale(1.25); text-shadow: 0 0 40px rgba(255,255,255,0.9); }
    100% { transform: scale(1); }
}

/* ---------- OVERRIDES PRETO-NO-BRANCO ---------- */
/* Botão reset e botão danger do modal viram brancos no hover */
.st-t2-container .st-t2-reset-btn:hover { color: #000000 !important; }
.st-t2-modal .st-t2-modal-btn-danger:hover { color: #000000 !important; }
/* Badge de recorde (fundo branco) */
.st-t2-container .st-t2-record-badge { color: #000000 !important; }
/* Check dos marcos alcançados (fundo branco) */
.st-t2-container .st-t2-ms-dot.reached::after { color: #000000 !important; }
/* Tons de cinza que o global tentava branquear */
.st-t2-container .st-t2-ring-percent { color: rgba(255,255,255,0.7) !important; }
.st-t2-container .st-t2-ring-label { color: rgba(255,255,255,0.5) !important; }
.st-t2-container .st-t2-unit-label { color: rgba(255,255,255,0.5) !important; }
.st-t2-container .st-t2-ms-labels { color: rgba(255,255,255,0.3) !important; }
.st-t2-container .st-t2-ms-next-label { color: rgba(255,255,255,0.4) !important; }
.st-t2-container .st-t2-stat-head { color: rgba(255,255,255,0.4) !important; }
.st-t2-container .st-t2-ach-level { color: rgba(255,255,255,0.7) !important; }
.st-t2-container .st-t2-ach-next { color: rgba(255,255,255,0.4) !important; }
.st-t2-container .st-t2-reset-hint { color: rgba(255,255,255,0.3) !important; }
.st-t2-container .st-t2-loading-text { color: rgba(255,255,255,0.5) !important; }
.st-t2-modal .st-t2-modal-text { color: rgba(255,255,255,0.6) !important; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 380px) {
    .st-t2-modal { padding: 24px 18px; }
    .st-t2-modal-title { font-size: 1.3rem; }
    .st-t2-modal-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .st-t2-modal, .st-t2-modal-icon, .st-t2-unit-value.tick,
    .st-t2-days-value.record-flash { animation: none !important; }
}