.rest-timer-mini{position:fixed;z-index:800;left:16px;right:16px;bottom:calc(14px + env(safe-area-inset-bottom,0px));max-width:680px;margin-inline:auto;padding:12px 14px;border:1px solid #8d79bf;border-radius:16px;background:#15152ef5;color:#f6f5ff;box-shadow:0 8px 30px #0006;display:flex;gap:14px;align-items:center;justify-content:space-between;box-sizing:border-box}
.rest-timer-mini-link{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px;border-radius:inherit;color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
.rest-timer-mini-link::after{content:"";position:absolute;inset:0;border-radius:inherit}
.rest-timer-mini-link:focus-visible{outline:none}
.rest-timer-mini-link:focus-visible::after{outline:2px solid #d8c7ff;outline-offset:3px}
.rest-timer-mini-link:active::after{background:#ffffff08}
.rest-timer-mini span{font:500 12px/1.3 system-ui,sans-serif;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rest-timer-mini strong{font:750 18px/1.3 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.rest-timer-mini button{position:relative;z-index:1;flex-shrink:0;padding:10px 14px;min-height:44px;border:1px solid #8c83be;border-radius:11px;background:#292447;color:white;font:700 14px/1.2 system-ui,sans-serif}
.rest-timer-mini[hidden],.rest-timer-notice[hidden]{display:none}
.has-rest-timer-mini .container{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}
.rest-timer-notice{position:fixed;z-index:1250;left:16px;right:16px;bottom:calc(20px + env(safe-area-inset-bottom,0px));width:fit-content;max-width:calc(100% - 32px);margin-inline:auto;padding:14px 18px;background:#17392f;color:#e6fff2;border:1px solid #7ac5a0;border-radius:14px;font:700 14px/1.4 system-ui,sans-serif;box-sizing:border-box;pointer-events:none}
.has-rest-timer-mini .aurora-toast,.has-rest-timer-mini .rest-timer-notice{bottom:calc(105px + env(safe-area-inset-bottom,0px))}
.rest-timer-value .rest-timer-digits,.rest-timer-mini .timer-flip-display{display:inline-flex;align-items:center;font-variant-numeric:tabular-nums}
.rest-timer-value .rest-timer-digits span,.rest-timer-mini .timer-flip-display span{display:block;font:inherit;line-height:1.2;margin:0;padding:0;white-space:pre;overflow:visible}
.rest-timer-value .rest-timer-digits .timer-flip-digit,.rest-timer-mini .timer-flip-display .timer-flip-digit{position:relative;display:inline-block;width:1ch;height:1.2em;perspective:160px;isolation:isolate}
.rest-timer-value .rest-timer-digits .timer-flip-half,.rest-timer-mini .timer-flip-display .timer-flip-half{position:absolute;left:0;right:0;height:50%;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:#080d22}
.rest-timer-mini .timer-flip-display .timer-flip-half{background:#15152e}
.timer-flip-digit .timer-flip-top{top:0;transform-origin:center bottom}
.timer-flip-digit .timer-flip-bottom{bottom:0;transform-origin:center top}
.rest-timer-value .rest-timer-digits .timer-flip-glyph,.rest-timer-mini .timer-flip-display .timer-flip-glyph{position:absolute;left:0;right:0;height:1.2em;text-align:center}
.timer-flip-top .timer-flip-glyph{top:0}
.timer-flip-bottom .timer-flip-glyph{bottom:0}
.rest-timer-mini strong>span{font:inherit}
.timer-flip-digit .timer-flip-top{box-shadow:inset 0 -1px 0 #0002}
