@import url("/image-converter/styles.css?v=1");
/* voice recorder */
.rec-stage { text-align: center; padding: 28px 20px; }
.rec-timer { font-size: clamp(48px, 12vw, 88px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1; }
#wave { display: block; width: 100%; height: 84px; margin: 18px 0 12px; }
.rec-level { position: relative; height: 10px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 999px; max-width: 560px; margin: 0 auto; }
.rec-fill { height: 100%; width: 0; background: #9147ff; border-radius: 999px; transition: width 60ms linear; }
.rec-mark { position: absolute; top: -5px; width: 2px; height: 18px; background: var(--muted); transform: translateX(-1px); }
.rec-mark.voice { background: #95d600; }
.rec-mark::after { position: absolute; top: 19px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--muted); white-space: nowrap; }
.rec-mark.room::after { content: "room"; }
.rec-mark.voice::after { content: "voice"; color: #95d600; }
#roomLine { margin: 26px 0 0; color: var(--muted); min-height: 1.5em; }
#chip { max-width: 560px; margin: 10px auto 0; color: var(--warn); }
.rec-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 22px 0 6px; }
.rec-btn { flex: none; width: 132px; height: 132px; padding: 0; border-radius: 50%; border: 3px solid #95d600; background: rgba(149,214,0,.1); color: #95d600; font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.rec-btn:hover { background: rgba(149,214,0,.18); }
.rec-btn:disabled { opacity: .4; cursor: not-allowed; }
[data-state="recording"] .rec-btn, [data-state="paused"] .rec-btn { background: #95d600; color: #10130a; }
[data-state="recording"] .rec-timer { color: #95d600; }
[data-state="paused"] .rec-timer { color: var(--muted); }
.rec-after { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
.rec-after select { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; font: inherit; font-size: 14px; min-height: 40px; }
.rec-after select:disabled { opacity: .5; }
#player { display: block; width: 100%; max-width: 560px; margin: 16px auto 0; }
#sizes, #status, #space { margin: 10px 0 0; }
#status { color: var(--text); min-height: 1.4em; }
.rec-opts label { display: flex; gap: 8px; align-items: baseline; margin: 8px 0; font-size: 14px; }
.rec-opts select { width: 100%; max-width: 420px; background: var(--panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; font: inherit; font-size: 14px; }
#takes { list-style: none; margin: 0; padding: 0; }
.take { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: transparent; border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: 12px 14px; margin-bottom: 8px; font: inherit; font-size: 14px; cursor: pointer; }
.take span { color: var(--muted); white-space: nowrap; }
.take.on { border-color: #95d600; background: rgba(149,214,0,.06); }
@media (prefers-reduced-motion: reduce) { .rec-fill { transition: none; } }
