:root{--font-sans: "Zen Kaku Gothic New", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", system-ui, -apple-system, sans-serif;--radius-card: 16px;--radius-btn: 14px;--nav-height: 4.4rem}:root[data-theme=aurora]{color-scheme:light;--bg: #e8f3f0;--surface: rgb(255 255 255 / 76%);--sunken: rgb(222 237 232 / 82%);--text: #17322e;--muted: #49645f;--border: rgb(36 102 92 / 24%);--accent: #08766d;--accent-hover: #075f59;--on-accent: #ffffff;--accent-tint: #d5f0ea;--danger: #ad352d;--danger-hover: #8e2923;--danger-tint: #fbe8e5;--focus-ring: #075f59;--live: #14804a;--switch-off: #71827f;--cap-bg: #071917;--cap-fg: #ffffff;--cap-interim: #ffe16b;--cap-placeholder: #b3c5c0;--surface-shadow: 0 16px 34px rgb(25 79 70 / 10%)}:root[data-theme=light]{color-scheme:light;--bg: #f7faf8;--surface: #ffffff;--sunken: #eaf1ef;--text: #17322e;--muted: #526962;--border: #cddbd6;--accent: #08766d;--accent-hover: #075f59;--on-accent: #ffffff;--accent-tint: #d8eee9;--danger: #ad352d;--danger-hover: #8e2923;--danger-tint: #fbe8e5;--focus-ring: #075f59;--live: #15803d;--switch-off: #71827f;--cap-bg: #101216;--cap-fg: #ffffff;--cap-interim: #ffd54d;--cap-placeholder: #9aa3b2;--surface-shadow: none}:root[data-theme=dark]{color-scheme:dark;--bg: #111214;--surface: #1b1d20;--sunken: #090a0b;--text: #f4f5f6;--muted: #b8bdc3;--border: #3a3d42;--accent: #d4d7db;--accent-hover: #f2f3f5;--on-accent: #17181a;--accent-tint: #2b2e32;--danger: #ff8a80;--danger-hover: #ffa49c;--danger-tint: #42201d;--focus-ring: #f2f3f5;--live: #57cf88;--switch-off: #51545a;--cap-bg: #000000;--cap-fg: #ffffff;--cap-interim: #ffd54d;--cap-placeholder: #90949a;--surface-shadow: none}:root[data-theme=green]{color-scheme:dark;--bg: #102522;--surface: #17322e;--sunken: #0c1c19;--text: #effaf6;--muted: #b2c9c2;--border: #3a5a54;--accent: #76d8ca;--accent-hover: #a0e7db;--on-accent: #073a35;--accent-tint: #164943;--danger: #ff8a80;--danger-hover: #ffa49c;--danger-tint: #43201d;--focus-ring: #a0e7db;--live: #4ade80;--switch-off: #4b515c;--cap-bg: #000000;--cap-fg: #ffffff;--cap-interim: #ffd54d;--cap-placeholder: #8a93a3;--surface-shadow: none}.cat-chime,[data-category=chime]{--cat-fg: #1e40af;--cat-tint: #dbeafe}.cat-siren,[data-category=siren]{--cat-fg: #991b1b;--cat-tint: #fee2e2}.cat-baby,[data-category=baby]{--cat-fg: #9d174d;--cat-tint: #fce7f3}.cat-phone,[data-category=phone]{--cat-fg: #5b21b6;--cat-tint: #ede9fe}.cat-beep,[data-category=beep]{--cat-fg: #92400e;--cat-tint: #fef3c7}.cat-knock,[data-category=knock]{--cat-fg: #44403c;--cat-tint: #e7e5e4}.cat-dog,[data-category=dog]{--cat-fg: #166534;--cat-tint: #dcfce7}.cat-shout,[data-category=shout]{--cat-fg: #9a3412;--cat-tint: #ffedd5}.cat-horn,[data-category=horn]{--cat-fg: #854d0e;--cat-tint: #fef9c3}.cat-loud,[data-category=loud]{--cat-fg: #334155;--cat-tint: #e2e8f0}:is(:root[data-theme=dark],:root[data-theme=green]) .cat-chime,:is(:root[data-theme=dark],:root[data-theme=green]) [data-category=chime]{--cat-fg: #a5c0fc;--cat-tint: #1c2f63}:is(:root[data-theme=dark],:root[data-theme=green]) .cat-siren,:is(:root[data-theme=dark],:root[data-theme=green]) [data-category=siren]{--cat-fg: #fda4a4;--cat-tint: #4f1414}:is(:root[data-theme=dark],:root[data-theme=green]) .cat-baby,:is(:root[data-theme=dark],:root[data-theme=green]) [data-category=baby]{--cat-fg: #f9a8d4;--cat-tint: #4a1230}:is(:root[data-theme=dark],:root[data-theme=green]) .cat-phone,:is(:root[data-theme=dark],:root[data-theme=green]) [data-category=phone]{--cat-fg: #c4b5fd;--cat-tint: #322053}:is(:root[data-theme=dark],:root[data-theme=green]) .cat-beep,:is(:root[data-theme=dark],:root[data-theme=green]) [data-category=beep]{--cat-fg: #fcd34d;--cat-tint: #453306}:is(:root[data-theme=dark],:root[data-theme=green]) .cat-knock,:is(:root[data-theme=dark],:root[data-theme=green]) [data-category=knock]{--cat-fg: #d6d3d1;--cat-tint: #33302e}:is(:root[data-theme=dark],:root[data-theme=green]) .cat-dog,:is(:root[data-theme=dark],:root[data-theme=green]) [data-category=dog]{--cat-fg: #86efac;--cat-tint: #10381f}:is(:root[data-theme=dark],:root[data-theme=green]) .cat-shout,:is(:root[data-theme=dark],:root[data-theme=green]) [data-category=shout]{--cat-fg: #fdba74;--cat-tint: #48220a}:is(:root[data-theme=dark],:root[data-theme=green]) .cat-horn,:is(:root[data-theme=dark],:root[data-theme=green]) [data-category=horn]{--cat-fg: #fde047;--cat-tint: #3f3305}:is(:root[data-theme=dark],:root[data-theme=green]) .cat-loud,:is(:root[data-theme=dark],:root[data-theme=green]) [data-category=loud]{--cat-fg: #cbd5e1;--cat-tint: #2b3646}.tool-card[data-tone=sound]{--tool-color: #1e40af;--tool-tint: #dbeafe}.tool-card[data-tone=captions]{--tool-color: #0f766e;--tool-tint: #ccfbf1}.tool-card[data-tone=board]{--tool-color: #9a3412;--tool-tint: #ffedd5}:is(:root[data-theme=dark],:root[data-theme=green]) .tool-card[data-tone=sound]{--tool-color: #a5c0fc;--tool-tint: #1c2f63}:is(:root[data-theme=dark],:root[data-theme=green]) .tool-card[data-tone=captions]{--tool-color: #5eead4;--tool-tint: #0d3833}:is(:root[data-theme=dark],:root[data-theme=green]) .tool-card[data-tone=board]{--tool-color: #fdba74;--tool-tint: #48220a}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;font-family:var(--font-sans);background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased}:root[data-theme=aurora] body{background:linear-gradient(145deg,#d8eee8,#edf6f3 48%,#dbe9f0);background-attachment:fixed}button{font-family:inherit}a{color:var(--accent)}h1,h2,h3,p{overflow-wrap:anywhere}:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px;border-radius:4px}.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.skip-link{position:fixed;top:.5rem;left:.5rem;z-index:300;padding:.75rem 1.25rem;background:var(--accent);color:var(--on-accent);font-weight:700;border-radius:12px;text-decoration:none;transform:translateY(-300%)}.skip-link:focus-visible{transform:none}.product-header{max-width:760px;margin-inline:auto;padding:max(.75rem,env(safe-area-inset-top)) 1rem 0;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.product-header-kicker,.product-header-name{margin:0}.product-header-kicker{color:var(--muted);font-size:.76rem;font-weight:700;letter-spacing:0}.product-header-name{color:var(--accent);font-size:.95rem;font-weight:800}.product-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;margin-left:auto;flex-wrap:wrap}.product-header-language{background:var(--surface);box-shadow:0 4px 12px #194f4614}.product-header-language .lang-option{min-width:88px;justify-content:center;gap:.3rem;padding-inline:.7rem}.product-header-language-code{font-size:.7rem;font-weight:900}.product-header-back{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;margin-left:auto;padding:.55rem .8rem;border:1px solid var(--accent);border-radius:var(--radius-btn);background:var(--accent-tint);color:var(--accent);text-align:left;font-size:.88rem;font-weight:700;text-decoration:none}.product-header-actions .product-header-back{margin-left:0}.product-header-back:hover{background:var(--surface);color:var(--accent-hover)}.app-main{max-width:760px;margin-inline:auto;padding:max(.75rem,env(safe-area-inset-top)) 1rem calc(var(--nav-height) + env(safe-area-inset-bottom) + 2.5rem);outline:none}.page-header h1{font-size:1.6rem;margin:.5rem 0 .2rem}.page-header p{margin:0;color:var(--muted)}.bottom-nav{position:fixed;inset:auto 0 0;z-index:50;background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -8px 24px #12443c0f}.bottom-nav ul{display:flex;margin:0 auto;padding:0;list-style:none;max-width:760px;min-height:var(--nav-height)}.bottom-nav li{flex:1;min-width:0}.nav-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 2px 12px;min-height:44px;text-decoration:none;color:var(--muted);font-size:.72rem;font-weight:700}.nav-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-item[aria-current=page]{color:var(--accent)}@media(max-width:420px){.nav-item{padding:7px 0 8px;font-size:.625rem}.nav-item span{display:flex;align-items:flex-start;justify-content:center;min-height:2.2em;overflow:visible;line-height:1.1;text-align:center;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}}.nav-item[aria-current=page]:before{content:"";position:absolute;top:0;left:20%;right:20%;height:3px;border-radius:0 0 3px 3px;background:var(--accent)}.card{display:flex;flex-direction:column;align-items:stretch;gap:.9rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:1.1rem;margin-top:1rem;box-shadow:var(--surface-shadow)}:root[data-theme=aurora] .card,:root[data-theme=aurora] .bottom-nav,:root[data-theme=aurora] .tool-card,:root[data-theme=aurora] .btn-ghost,:root[data-theme=aurora] .radio-option,:root[data-theme=aurora] .board-input{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.card-heading{font-size:1.05rem;margin:0}.card-subheading{font-size:.95rem;margin:0}.card p{margin:0}.card-heading-row{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap}.card-heading-actions{display:flex;gap:.5rem;flex-wrap:wrap}.btn{appearance:none;border:2px solid transparent;border-radius:var(--radius-btn);min-height:48px;padding:.6rem 1.1rem;font-size:1.05rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;background:var(--sunken);color:var(--text);text-decoration:none;transition:background-color .15s ease,border-color .15s ease}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:var(--accent);color:var(--on-accent)}.btn-primary:not(:disabled):hover{background:var(--accent-hover)}.btn-ghost{background:var(--surface);border-color:var(--border)}.btn-ghost:not(:disabled):hover{border-color:var(--accent)}.btn-danger,.btn-stop{background:var(--danger);color:var(--on-accent, #fff)}:is(:root[data-theme=dark],:root[data-theme=green]) .btn-danger,:is(:root[data-theme=dark],:root[data-theme=green]) .btn-stop{color:#2b0a07}.btn-danger:not(:disabled):hover,.btn-stop:not(:disabled):hover{background:var(--danger-hover)}.btn-xl{width:100%;min-height:64px;font-size:1.3rem}.btn-sm{min-height:44px;font-size:.92rem;padding:.35rem .8rem;align-self:flex-start}.card-heading-actions .btn-sm{align-self:auto}.hint{color:var(--muted);font-size:.88rem;margin:0}.empty-note{color:var(--muted);margin:0}.error-note{background:var(--danger-tint);color:var(--danger);font-weight:700;padding:.75rem 1rem;border-radius:12px;margin:0}.privacy-note{color:var(--muted);font-size:.85rem;text-align:center;margin:1.25rem 0 0}.sound-status{display:flex;align-items:center;gap:.5rem;font-weight:700;margin:0;flex-wrap:wrap}.sound-ai-status{font-weight:500;color:var(--muted);font-size:.88rem;width:100%}.live-dot{width:12px;height:12px;border-radius:50%;background:var(--live);animation:live-pulse 2s ease-in-out infinite;flex:none}@keyframes live-pulse{0%,to{opacity:1}50%{opacity:.35}}.meter-wrap{display:flex;flex-direction:column;gap:.35rem}.meter-label{font-size:.88rem;color:var(--muted);font-weight:700}.meter{height:26px;background:var(--sunken);border:1px solid var(--border);border-radius:999px;overflow:hidden}.meter-fill{height:100%;width:100%;clip-path:inset(0 100% 0 0);background:linear-gradient(90deg,#2f9e44,#f59f00 70%,#e03131 95%);border-radius:inherit;will-change:clip-path}.chip-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.6rem}.chip{display:flex;align-items:center;gap:.5rem;min-height:48px;padding:.5rem .75rem;border-radius:12px;border:2px solid var(--border);background:var(--surface);color:var(--muted);font-weight:700;font-size:.92rem;text-align:left;cursor:pointer}.chip svg{flex:none}.chip span{flex:1;min-width:0}.chip:after{content:"";flex:none;width:1.1em;text-align:center;font-weight:900}.chip[aria-pressed=true]{border-color:var(--cat-fg);background:var(--cat-tint);color:var(--cat-fg)}.chip[aria-pressed=true]:after{content:"✓"}.sensitivity-row{display:flex;flex-direction:column;gap:.4rem}.sensitivity-row>label{font-weight:700}.sensitivity-slider{display:flex;align-items:center;gap:.75rem}.sensitivity-slider span{color:var(--muted);font-size:.88rem;flex:none}.sensitivity-slider input[type=range]{flex:1;accent-color:var(--accent);height:2.75rem;margin:0}.event-list{list-style:none;margin:0;padding:0}.event-item{display:flex;align-items:center;gap:.75rem;padding:.6rem .25rem;border-top:1px solid var(--border)}.event-item:first-child{border-top:none}.event-icon{color:var(--cat-fg);background:var(--cat-tint);padding:.45rem;border-radius:10px;display:inline-flex;flex:none}.event-name{font-weight:700;flex:1;min-width:0}.event-time{color:var(--muted);font-variant-numeric:tabular-nums;flex:none}.alert-overlay{position:fixed;inset:0;z-index:100;border:none;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.9rem;padding:2rem;background:var(--cat-tint);color:var(--cat-fg);cursor:pointer;font-family:inherit;animation:alert-pulse 1s ease-in-out infinite}@keyframes alert-pulse{0%,to{filter:brightness(1)}50%{filter:brightness(1.18)}}.alert-label{font-size:clamp(2.2rem,9vw,3.6rem);font-weight:900;line-height:1.15}.alert-time{font-size:1.4rem;font-weight:700;font-variant-numeric:tabular-nums}.alert-class{font-size:.95rem;opacity:.85}.alert-dismiss{margin-top:1rem;border:2px solid currentColor;border-radius:999px;padding:.6rem 1.6rem;font-weight:700;font-size:1.05rem}.board-input{width:100%;font-size:1.5rem;font-family:inherit;line-height:1.5;padding:.9rem;border:2px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);resize:vertical;min-height:8rem}.phrase-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}.phrase-chip{display:inline-flex;align-items:center;gap:.5rem;border:2px solid var(--border);background:var(--sunken);color:var(--text);border-radius:999px;padding:.55rem 1rem;font-size:1rem;font-weight:600;min-height:44px;max-width:100%}button.phrase-chip{cursor:pointer}button.phrase-chip:hover{border-color:var(--accent)}.phrase-text{overflow-wrap:anywhere}.phrase-remove{position:relative;display:inline-flex;align-items:center;justify-content:center;border:none;background:var(--danger);color:#fff;border-radius:50%;width:28px;height:28px;flex:none;cursor:pointer}.phrase-remove:before{content:"";position:absolute;inset:-8px}:is(:root[data-theme=dark],:root[data-theme=green]) .phrase-remove{color:#2b0a07}.board-show{position:fixed;inset:0;z-index:90;background:var(--bg);display:flex;flex-direction:column;padding:1rem;padding-bottom:max(1rem,env(safe-area-inset-bottom))}.board-show-stage{flex:1;min-height:0;display:flex}.board-show-stage.flipped{transform:rotate(180deg)}.autofit-box{flex:1;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center}.autofit-text{font-weight:800;line-height:1.3;white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;max-width:100%}.board-show-controls{display:flex;gap:.75rem;justify-content:center;padding-top:1rem}.board-show-controls .btn{flex:1;max-width:220px}.cap-toolbar{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.lang-toggle{display:flex;border:2px solid var(--border);border-radius:999px;padding:3px;margin:0}.lang-option{display:inline-flex;align-items:center;min-height:44px;padding:.3rem 1rem;border-radius:999px;font-weight:700;cursor:pointer;color:var(--muted)}.lang-option.selected{background:var(--accent);color:var(--on-accent)}.lang-option input,.radio-option input{position:absolute;opacity:0;width:1px;height:1px}.lang-option:has(input:focus-visible),.radio-option:has(input:focus-visible){outline:3px solid var(--focus-ring);outline-offset:2px}.font-stepper{display:flex;gap:.5rem}.font-stepper .btn{min-width:56px;font-weight:800}.cap-area-wrap{position:relative;margin-top:1rem}.cap-area{background:var(--cap-bg);color:var(--cap-fg);border-radius:var(--radius-card);padding:1.25rem;min-height:40vh;max-height:52vh;overflow-y:auto;font-weight:800;line-height:1.45;overscroll-behavior:contain}.cap-line{margin:0 0 .6em}.cap-interim{color:var(--cap-interim)}.cap-placeholder{color:var(--cap-placeholder);font-weight:600;font-size:1.25rem}.cap-jump{position:absolute;bottom:1rem;right:1rem}.cap-actions{display:flex;gap:.75rem;margin-top:.9rem}.cap-actions .btn{flex:1}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}.setting-row-text{display:flex;flex-direction:column;gap:.2rem}.setting-label{font-weight:700}.setting-note{color:var(--muted);font-size:.85rem}.setting-fieldset{border:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}.setting-fieldset legend{padding:0;margin-bottom:.4rem}.radio-row{display:flex;gap:.6rem;flex-wrap:wrap}.radio-option{display:inline-flex;align-items:center;min-height:48px;padding:.55rem 1.1rem;border:2px solid var(--border);border-radius:12px;background:var(--surface);color:var(--muted);font-weight:700;cursor:pointer}.radio-option.selected{border-color:var(--accent);background:var(--accent-tint);color:var(--accent)}.theme-swatch{width:20px;height:20px;flex:none;border:1px solid rgb(23 50 46 / 28%);border-radius:50%;box-shadow:inset 0 0 0 2px #ffffff85}.theme-swatch[data-theme-preview=aurora]{background:linear-gradient(135deg,#7fd9c7 0 50%,#9ecae4 50% 100%)}.theme-swatch[data-theme-preview=dark]{background:#1b1d20}.theme-swatch[data-theme-preview=light]{background:#fff}.theme-swatch[data-theme-preview=green]{background:#17322e}.switch{position:relative;width:56px;height:32px;flex:none;border:none;border-radius:999px;background:var(--switch-off);cursor:pointer;padding:0}.switch:before{content:"";position:absolute;inset:-8px}.switch[aria-checked=true]{background:var(--accent)}.switch-knob{position:absolute;top:3px;left:3px;width:26px;height:26px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0006;transition:left .15s ease}.switch[aria-checked=true] .switch-knob{left:27px}.hero{text-align:center;padding:1.5rem 0 .5rem;display:flex;flex-direction:column;align-items:center;gap:.35rem}.hero-mark{width:72px;height:72px;display:flex;align-items:center;justify-content:center;background:var(--accent);color:var(--on-accent);border-radius:22px;margin-bottom:.4rem}.hero-title{font-family:var(--font-sans);font-size:2rem;margin:0;letter-spacing:0}.hero-tagline{margin:0;color:var(--accent);font-weight:700}.hero-lead{margin:.4rem 0 0;color:var(--muted);max-width:34em}.tool-list{display:flex;flex-direction:column;gap:.9rem;margin-top:1.25rem}.tool-card{display:flex;align-items:center;gap:1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:1.1rem;text-decoration:none;color:var(--text);transition:border-color .12s ease,transform .12s ease;box-shadow:var(--surface-shadow)}.tool-card:hover{border-color:var(--tool-color);transform:translateY(-1px)}.tool-card-icon{width:60px;height:60px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:16px;background:var(--tool-tint);color:var(--tool-color)}.tool-card-body{min-width:0}.tool-card-title{display:block;font-size:1.2rem;font-weight:800}.tool-card-desc{display:block;color:var(--muted);font-size:.92rem;margin-top:.2rem}.home-privacy{margin-top:1.5rem}.home-install{color:var(--muted);font-size:.88rem;text-align:center;margin-top:1.25rem}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.alert-overlay,.live-dot{animation:none}}@media(min-width:700px){.chip-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.hero-title{font-size:2.4rem}}
