/* 학습타이머 디자인 표준화: board-standard.css 토큰 위의 타이머·배경음 카드 */
.timer-page .timer-body{display:flex;flex-direction:column;align-items:center;gap:20px;padding:28px 20px 30px}
.timer-state{font-size:.76rem;color:var(--text-3);font-weight:500}
.timer-circle{position:relative;width:min(100%,280px);aspect-ratio:1}
.timer-circle svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.ring-bg{stroke:var(--border)}
.ring-fg{stroke:var(--accent);transition:stroke-dashoffset .9s linear}
.timer-text{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:'Space Mono',monospace;font-size:clamp(2.2rem,9vw,3rem);font-weight:700;letter-spacing:-.02em;color:var(--text)}
.preset-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.preset-chip{padding:7px 16px;border:1px solid var(--border);border-radius:999px;background:var(--surface2);color:var(--text-2);font:inherit;font-size:.85rem;font-weight:700;cursor:pointer;transition:border-color .15s,color .15s,background .15s}
.preset-chip:hover,.preset-chip.sel{border-color:var(--accent);color:var(--accent);background:var(--surface)}
.preset-chip.sel{background:var(--accent);color:#fff}
.timer-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.timer-select{min-height:44px;padding:0 14px;border:1.5px solid var(--border);border-radius:var(--r-s);background:var(--surface);color:var(--text);font:inherit;font-size:.9rem}
.timer-select:focus-visible,.ctl:focus-visible,.preset-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ctl{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 18px;border:1.5px solid var(--border);border-radius:var(--r-s);background:var(--surface);color:var(--text-2);font:inherit;font-size:.88rem;font-weight:700;cursor:pointer;transition:border-color .15s,color .15s,background .15s}
.ctl:hover{border-color:var(--accent);color:var(--accent)}
.ctl.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.ctl.primary:hover{background:var(--accent-d);border-color:var(--accent-d);color:#fff}
.sound-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;padding:22px 24px 26px}
.sound-slider:last-child:nth-child(odd){grid-column:1/-1}
.sound-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:.86rem;font-weight:700;color:var(--text-2)}
.sound-label i{width:1.3em;color:var(--accent);text-align:center}
.volume-value{font-family:'Space Mono',monospace;font-size:.72rem;color:var(--text-3)}
.sound-slider input[type=range]{width:100%;height:6px;border-radius:99px;appearance:none;-webkit-appearance:none;background:var(--border);cursor:pointer;outline:none}
.sound-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:var(--accent);border:2px solid var(--surface);box-shadow:0 1px 4px rgba(0,0,0,.25)}
.sound-slider input[type=range]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--accent);border:2px solid var(--surface)}
@media(max-width:600px){.sound-grid{grid-template-columns:minmax(0,1fr);padding:18px 18px 22px}.ctl span{display:none}.ctl{padding:0 16px}}
