/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.start{inset-inline-start:var(--spacing)}.table{display:table}}:root{--ink:#070707;--panel:#0c0b0a;--panel-raised:#12100e;--line:#2b251f;--muted:#8e8377;--paper:#f6eee2;--amber:#ffb23f;--orange:#ef6b2f;--signal:#b92f24}*{box-sizing:border-box}html{background:var(--ink)}body{background:var(--ink);min-width:320px;color:var(--paper);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible{outline:2px solid var(--paper);outline-offset:3px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.timer-shell{background:linear-gradient(#ffb23f06 1px, transparent 1px), linear-gradient(90deg, #ffb23f06 1px, transparent 1px), var(--ink);background-size:52px 52px;grid-template-rows:auto minmax(560px,1fr) auto;min-height:100svh;display:grid;overflow:hidden}.site-header{z-index:10;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#070707db;align-items:center;min-height:88px;padding:18px clamp(22px,4vw,64px);display:flex}.brand-wordmark,.status-label,.deck-label,.key-guide{letter-spacing:.16em;text-transform:uppercase}.brand-wordmark{color:var(--paper);letter-spacing:-.075em;text-transform:none;text-shadow:0 0 24px #ffb23f1f;margin:0;font-size:clamp(29px,2.5vw,38px);font-style:italic;font-weight:900;line-height:1}.brand-wordmark-initial{color:var(--amber);font-size:1.08em}.status-lamp{background:var(--amber);border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 14px #ffb23fb8}.timer-stage{isolation:isolate;place-items:center;min-height:560px;display:grid;position:relative;overflow:hidden}.timer-stage:after{content:"";background:linear-gradient(90deg,#0000,#4b3a27,#0000);height:1px;position:absolute;inset:auto 7% 0}.light-beam{z-index:-2;filter:blur(18px);opacity:.44;background:linear-gradient(#ffb23f1a,#0000 72%);width:24%;height:130%;position:absolute;top:-20%}.light-beam-left{left:5%;transform:rotate(22deg)}.light-beam-right{right:5%;transform:rotate(-22deg)}.gong{z-index:-1;aspect-ratio:1;opacity:.68;filter:drop-shadow(0 0 48px #ffb23f0f);border-radius:50%;place-items:center;width:min(54vw,650px);display:grid;position:absolute}.gong-ring,.gong-core{border-radius:50%;position:absolute}.gong-ring{border:1px solid #ffb23f2b;box-shadow:inset 0 0 30px #ffb23f06}.gong-ring-1{inset:0}.gong-ring-2{border-color:#ffb23f1f;inset:9%}.gong-ring-3{border-color:#ffb23f38;inset:21%}.gong-ring-4{border-color:#ffb23f1c;inset:34%}.gong-core{aspect-ratio:1;background:radial-gradient(circle at 40% 36%,#ffb23f29,#0707070a 64%);border:1px solid #ffb23f42;width:15%}.gong-struck .gong-ring-1{animation:1.25s ease-out both gong-wave}.gong-struck .gong-ring-2{animation:1.25s ease-out .1s both gong-wave}.gong-struck .gong-ring-3{animation:1.25s ease-out .2s both gong-wave}.gong-struck .gong-ring-4{animation:1.25s ease-out .3s both gong-wave}.gong-struck .gong-core{animation:.8s ease-out both gong-core-impact}.timer-shell[data-phase=ended] .timer-stage:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(circle,#ffb23f47,#0000 58%);animation:1.15s ease-out both stage-impact;position:absolute;inset:0}@keyframes gong-wave{0%{opacity:.35;transform:scale(.86)}35%{opacity:1}to{opacity:.08;transform:scale(1.22)}}@keyframes gong-core-impact{0%{filter:brightness(3.2);transform:scale(.55)}45%{filter:brightness(1.8);transform:scale(1.18)}to{filter:brightness();transform:scale(1)}}@keyframes stage-impact{0%{opacity:1;transform:scale(.72)}to{opacity:0;transform:scale(1.18)}}.timer-content{flex-direction:column;align-items:center;width:min(1080px,100% - 44px);padding:40px 0 44px;display:flex}.preset-row{justify-content:center;gap:9px;margin-bottom:33px;display:flex}.preset-button{color:#9e9184;font-variant-numeric:tabular-nums;letter-spacing:.1em;cursor:pointer;background:#0a0908b8;border:1px solid #40382f;border-radius:999px;min-width:82px;padding:9px 17px;font-size:11px;font-weight:800;transition:all .16s}.preset-button:hover{color:var(--paper);border-color:#74624e}.preset-button[data-selected=true]{color:var(--amber);background:#ffb23f1a;border-color:#ffb23fb8;box-shadow:0 0 24px #ffb23f0f}.status-label{color:var(--amber);align-items:center;gap:11px;margin:0 0 2px;font-size:10px;font-weight:850;display:flex}.timer-shell[data-phase=urgent] .status-label,.timer-shell[data-phase=ended] .status-label{color:#ff725e}.timer-shell[data-phase=urgent] .status-lamp,.timer-shell[data-phase=ended] .status-lamp{background:#ff725e;box-shadow:0 0 18px #ff4834d6}.timer-shell[data-phase=urgent] .status-lamp{animation:.8s ease-in-out infinite alternate signal-pulse}@keyframes signal-pulse{to{opacity:.38}}.time-display{letter-spacing:-.075em;font-variant-numeric:tabular-nums;text-shadow:0 0 65px #ffb23f12;margin:0;font-size:clamp(104px,18vw,250px);font-weight:860;line-height:.96}.timer-shell[data-phase=urgent] .time-display,.timer-shell[data-phase=ended] .time-display{color:#ffded5;text-shadow:0 0 70px #b92f2447}.progress-track{background:#302a24;width:min(710px,76%);height:2px;margin:28px 0 40px;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--orange), var(--amber));height:100%;margin-left:auto;transition:width .18s linear;display:block;box-shadow:0 0 12px #ffb23f61}.main-controls{justify-content:center;align-items:center;gap:12px;display:flex}.primary-button,.secondary-button{letter-spacing:.2em;cursor:pointer;border-radius:2px;height:62px;font-size:12px;font-weight:900;transition:transform .12s,border-color .16s,filter .16s}.primary-button{background:linear-gradient(115deg, var(--amber), var(--orange));color:#160d05;border:1px solid #ffc467;width:278px;box-shadow:0 12px 40px #ef6b2f1f}.primary-button:hover{filter:brightness(1.08)}.primary-button:disabled{cursor:not-allowed;opacity:.32;filter:grayscale()}.secondary-button{color:#b1a394;background:#0f0d0be6;border:1px solid #443a30;width:160px}.secondary-button:hover{color:var(--paper);border-color:#776654}.primary-button:active,.secondary-button:active,.sound-check:active,.preset-button:active{transform:translateY(1px)}.control-deck{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#0c0b0af5;grid-template-columns:minmax(370px,1fr) auto minmax(330px,1fr);align-items:stretch;display:grid}.custom-time-group{border-right:1px solid var(--line);justify-content:flex-start;align-items:center;gap:13px;min-height:112px;padding:20px clamp(22px,4vw,64px);display:flex}.deck-label{color:#c5b7a7;flex-direction:column;gap:5px;min-width:82px;font-size:9px;font-weight:850;display:flex}.deck-label-jp{color:#695f55;letter-spacing:.08em;font-size:8px}.time-input-label{color:#70665b;letter-spacing:.12em;align-items:baseline;gap:7px;font-size:8px;font-weight:800;display:flex}.time-input-label input{width:66px;color:var(--paper);font-variant-numeric:tabular-nums;text-align:right;appearance:textfield;background:0 0;border:0;border-bottom:1px solid #4b4035;border-radius:0;padding:8px 5px 6px;font-size:29px;font-weight:760}.time-input-label input::-webkit-inner-spin-button{appearance:none;margin:0}.time-input-label input::-webkit-outer-spin-button{appearance:none;margin:0}.input-colon{color:#65584a;font-size:24px}.sound-check{border:0;border-right:1px solid var(--line);background:var(--panel-raised);text-align:left;cursor:pointer;align-items:center;gap:14px;min-width:220px;padding:22px 30px;transition:background .16s;display:flex}.sound-check:hover{background:#181410}.sound-check strong,.sound-check small{display:block}.sound-check strong{letter-spacing:.13em;font-size:10px}.sound-check small{color:#766b60;margin-top:4px;font-size:9px}.sound-icon{color:var(--amber);letter-spacing:-.34em;font-family:ui-monospace,monospace;font-size:14px}.key-guide{color:#62594f;white-space:nowrap;justify-content:flex-end;align-items:center;gap:24px;padding:20px clamp(22px,4vw,64px);font-size:8px;font-weight:750;display:flex}kbd{color:#b7aa9b;border:1px solid #42382f;border-radius:2px;margin-right:6px;padding:5px 7px;font-family:inherit;font-size:8px;display:inline-block}@media (width<=960px){.timer-shell{grid-template-rows:auto minmax(500px,1fr) auto}.timer-stage{min-height:500px}.control-deck{grid-template-columns:1fr 220px}.custom-time-group{border-bottom:1px solid var(--line)}.sound-check{border-right:0;border-bottom:1px solid var(--line)}.key-guide{grid-column:1/-1;justify-content:center;min-height:64px}.gong{width:min(76vw,590px)}}@media (width<=680px){.site-header{min-height:72px;padding:14px 18px}.timer-stage{min-height:460px}.timer-content{width:calc(100% - 28px);padding:28px 0 36px}.gong{opacity:.54;width:104vw}.preset-row{margin-bottom:40px}.preset-button{min-width:70px;padding:8px 11px}.time-display{font-size:clamp(84px,27vw,150px)}.progress-track{width:88%;margin:24px 0 35px}.main-controls{width:100%}.primary-button{flex:1;width:auto}.secondary-button{width:116px}.control-deck{grid-template-columns:1fr}.custom-time-group{border-right:0;justify-content:center;min-height:102px;padding:18px}.sound-check{border-right:0;justify-content:center;min-height:76px}.key-guide{display:none}}@media (width<=430px){.preset-row{gap:6px}.preset-button{min-width:64px;font-size:10px}.time-display{font-size:26vw}.primary-button,.secondary-button{height:58px}.custom-time-group{gap:8px}.deck-label{min-width:66px}.time-input-label{gap:4px}.time-input-label input{width:54px;font-size:25px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
