
.ts-page { max-width: 500px; margin: 0 auto; padding: 24px 16px; text-align: center; }
.ts-hero { 
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%); 
    color: #fff; 
    border-radius: 24px; 
    padding: 30px 20px; 
    margin-bottom: 30px; 
    box-shadow: 0 10px 40px rgba(30,58,95,0.3); 
}
.ts-hero h1 { margin: 0; font-size: 1.6rem; font-weight: 700; font-family: 'Amiri', serif; }

.ts-counter-wrap {
    background: #fff;
    border-radius: 30px;
    padding: 40px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
}

.ts-display {
    font-family: 'Courier New', Courier, monospace;
    background: #f1f5f9;
    padding: 20px;
    border-radius: 15px;
    font-size: 4rem;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 30px;
    border: 4px solid #e2e8f0;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.05);
}

.ts-main-btn {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #1e3a5f 0%, #3b7cb5 100%);
    border-radius: 50%;
    border: 12px solid #f1f5f9;
    box-shadow: 0 15px 35px rgba(30,58,95,0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s;
    outline: none;
}
.ts-main-btn:active {
    transform: scale(0.92);
    box-shadow: 0 5px 15px rgba(30,58,95,0.2);
}
.ts-main-btn i { font-size: 3rem; }

.ts-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.ts-btn-small {
    padding: 12px 25px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ts-btn-small:hover { background: #e2e8f0; color: #1e3a5f; }
.ts-btn-small.reset { color: #ef4444; }

.ts-targets {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.ts-target-pill {
    padding: 6px 15px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
}
.ts-target-pill.active { background: #1e3a5f; color: #fff; }

.ts-footer { margin-top: 40px; }
.ts-link { color: #3b7cb5; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
