.pomo-tool-wrapper { --p-bg: #ffffff; --p-border: #e2e8f0; --p-primary: #ef4444; --p-text: #0f172a; width: 100%; max-width: 800px; margin: 0 auto; background: var(--p-bg); border-radius: 24px; padding: 32px; border: 1px solid var(--p-border); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); transition: background-color 0.3s, border-color 0.3s; }
.pomo-header { font-size: 1.5rem; font-weight: 600; color: var(--p-text); margin-bottom: 8px; display: flex; align-items: center; gap: 12px; transition: color 0.3s; }
.pomo-badge { background: #fee2e2; color: #b91c1c; padding: 4px 12px; border-radius: 30px; font-size: 0.8rem; font-weight: 500; transition: 0.3s; }
.pomo-subtitle { color: #64748b; font-size: 0.95rem; padding-bottom: 16px; border-bottom: 1px solid var(--p-border); margin-bottom: 24px; transition: border-color 0.3s; }

@media(max-width: 768px) { .pomo-tool-wrapper { padding: 20px; border-radius: 16px; } }

.theme-focus { --p-primary: #ef4444; --bg-light: #fef2f2; }
.theme-shortBreak { --p-primary: #10b981; --bg-light: #ecfdf5; }
.theme-longBreak { --p-primary: #3b82f6; --bg-light: #eff6ff; }

.pomo-nav { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.pomo-nav-btn { padding: 8px 16px; border-radius: 20px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; background: transparent; color: #64748b; transition: 0.2s; }
.pomo-nav-btn.active { background: var(--p-primary); color: white; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.pomo-timer-display { font-size: 7rem; font-weight: 700; font-family: monospace; color: var(--p-text); text-align: center; line-height: 1; margin-bottom: 32px; letter-spacing: -2px; transition: color 0.3s; }
@media(max-width: 480px) { .pomo-timer-display { font-size: 5rem; } }

.pomo-controls { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; }
.btn-main { padding: 16px 40px; border-radius: 12px; font-weight: 700; font-size: 1.2rem; cursor: pointer; border: none; background: var(--p-primary); color: white; transition: 0.2s; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.btn-main:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-icon { width: 56px; height: 56px; border-radius: 12px; border: 2px solid var(--p-border); background: var(--p-bg); color: var(--p-text); font-size: 1.5rem; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.btn-icon:hover { border-color: var(--p-primary); color: var(--p-primary); }

.audio-panel { background: var(--bg-light); border-radius: 16px; padding: 24px; border: 1px solid var(--p-border); transition: 0.3s; }
.audio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-bottom: 16px; }
.audio-btn { padding: 12px; border-radius: 12px; border: 1px solid #cbd5e1; background: #ffffff; color: #334155; font-weight: 500; cursor: pointer; transition: 0.2s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.audio-btn:hover { border-color: var(--p-primary); }
.audio-btn.active { border-color: var(--p-primary); background: var(--p-primary); color: white; }
.audio-btn i { font-size: 1.5rem; font-style: normal; }

.volume-control { display: flex; align-items: center; gap: 12px; color: var(--p-text); font-weight: 500; }
input[type="range"] { flex: 1; accent-color: var(--p-primary); }

[data-theme="dark"] .pomo-tool-wrapper { --p-bg: #1e293b; --p-border: #334155; --p-text: #f8fafc; }
[data-theme="dark"] .audio-btn { background: #0f172a; border-color: #475569; color: #cbd5e1; }
[data-theme="dark"] .theme-focus { --bg-light: #450a0a; }
[data-theme="dark"] .theme-shortBreak { --bg-light: #064e3b; }
[data-theme="dark"] .theme-longBreak { --bg-light: #1e3a8a; }
[data-theme="dark"] .btn-icon { background: #0f172a; border-color: #475569; }