:root{--bg:#F5F4F1;--ink:#1F1F26;--accent:#E8447A;--card:#E8E6E1;--muted:#66626A;--nav-height:114px;--dock-height:0px;color-scheme:light;font-family:'Noto Sans JP',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:#fff;border-radius:10px;min-height:44px;padding:10px 15px;font-weight:700;font-size:14px}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{opacity:.5;cursor:default}button:hover{filter:brightness(.97)}[hidden]{display:none!important}.wrap{width:min(1120px,calc(100% - 40px));margin-inline:auto}.skip{position:fixed;top:-100px;left:20px;background:white;padding:12px;z-index:50}.skip:focus{top:10px}.hero{padding:44px 0 24px}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:700;margin:0 0 18px;color:var(--accent)}.eyebrow span{color:var(--muted);letter-spacing:.04em;margin-left:14px}h1{font-size:clamp(28px,5.2vw,56px);font-weight:900;letter-spacing:-.055em;line-height:1.4;margin:0 0 20px;overflow-wrap:anywhere}.pink{color:var(--accent)}.intro{font-size:15px;line-height:1.9;margin:0;color:var(--muted)}.hero-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:26px;font-size:12px;font-weight:500}.hero-bottom p{margin:0}.hero-bottom span{color:var(--accent);font-size:11px}.hero-bottom b{padding:0 8px;font-weight:400;color:var(--muted)}.hero-bottom a{padding:8px 0}.navigation{position:sticky;top:0;z-index:10;background:var(--bg);box-shadow:0 5px 10px #1f1f2605}.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:10px 0}.tabs a{font-size:11px;text-decoration:none;min-height:40px;display:flex;align-items:center;justify-content:center;text-align:center;border-radius:8px;font-weight:700;padding:7px 3px;line-height:1.4}.tabs a[aria-current=true]{background:var(--ink);color:white}.tabs a:hover{background:var(--card)}.tabs a[aria-current=true]:hover{background:var(--ink)}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:22px 0 0}.list-toolbar p{font-size:11px;color:var(--muted);line-height:1.7;margin:0;max-width:58%}.list-toolbar button{font-size:11px;background:transparent;padding:8px 0 8px 8px;white-space:nowrap}.category{padding-top:30px;scroll-margin-top:calc(var(--nav-height) + 20px)}.category+.category{padding-top:66px}.section-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:22px}.section-heading h2{font-size:20px;line-height:1.5;margin:0;letter-spacing:-.035em}.section-heading .category-index{font-size:12px;color:var(--accent);font-weight:700}.section-heading small{font-size:12px;color:var(--muted);margin-left:auto;white-space:nowrap}.grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}.effect-card{background:var(--card);border-radius:18px;padding:10px;display:flex;flex-direction:column;min-width:0;position:relative}.effect-card.is-selected{box-shadow:0 0 0 2px var(--accent)}.preview{overflow:hidden;border-radius:11px;background:var(--bg);position:relative}.preview canvas{display:block;width:100%;height:auto}.preview .preview-error{position:absolute;inset:0;display:grid;place-content:center;background:var(--card);padding:20px;font-size:14px}.card-body{padding:18px 10px 12px;display:flex;flex-direction:column;flex:1}.card-title{display:flex;gap:10px;align-items:baseline}.card-title .number{font-size:18px;color:var(--accent);font-weight:500;flex-shrink:0}.card-title h3{font-size:20px;line-height:1.5;font-weight:700;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}.english{font-size:12px;color:var(--muted);margin:3px 0 18px;padding-left:33px;overflow-wrap:anywhere}.effect{font-size:15px;line-height:1.9;margin:0}.usage{font-size:14px;line-height:1.85;margin:12px 0 0;color:#57545D}.usage span{display:block;font-size:10px;letter-spacing:.05em;font-weight:700;color:#706B76;margin-bottom:3px}.card-actions{margin-top:auto;display:flex;gap:8px;padding-top:22px}.copy-button{flex:1;background:var(--ink);color:white}.select-button{flex:1;background:#f8f7f4}.select-button[aria-pressed=true]{color:#a81d4a;background:#fce3eb}.card-status{font-size:12px;min-height:20px;margin:8px 0 -5px;color:#a81d4a}.tip{font-weight:700;font-size:19px;line-height:1.9;margin:60px 0 70px;max-width:700px}.examples{scroll-margin-top:calc(var(--nav-height) + 24px)}.examples h2{font-size:25px;margin:0 0 24px;letter-spacing:-.04em}.example{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:25px 0}.example+.example{border-top:1px solid #dedbd5}.example .number{color:var(--accent);font-size:13px;padding-top:4px}.example p{font-size:15px;line-height:2;margin:0 0 15px}.example button{background:var(--card)}footer{padding:60px 0 calc(38px + var(--dock-height));font-size:11px;color:var(--muted);line-height:1.9}footer p{margin:0 0 10px}.selection-bar{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fff;box-shadow:0 -4px 30px #1f1f2610;padding:12px 0 calc(12px + env(safe-area-inset-bottom))}.selection-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.selection-label{font-size:11px;margin:0}.selection-label strong{color:var(--accent);font-size:18px;padding-left:5px}#selected-names{font-size:10px;line-height:1.8;max-height:38px;overflow:auto;margin:2px 0 0;overflow-wrap:anywhere}.primary{background:var(--accent);color:white}.selection-inner .primary{font-size:12px}dialog{color:var(--ink);border:0;background:var(--bg);padding:0;border-radius:22px 22px 0 0;width:min(720px,100%);max-width:100%;max-height:88vh;max-height:88dvh;margin:auto auto 0;box-shadow:0 -10px 80px #0002}dialog::backdrop{background:#1f1f2666}#builder[open]{display:flex;flex-direction:column}.sheet-head{padding:24px 22px 16px;display:flex;justify-content:space-between;gap:10px;align-items:center;flex-shrink:0}.sheet-head .eyebrow{font-size:10px;margin-bottom:8px}.sheet-head h2{font-size:22px;letter-spacing:-.04em;margin:0}.close{font-size:27px;background:transparent;padding:0;width:44px}.sheet-body{padding:0 22px 12px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.sheet-intro{font-size:12px;color:var(--muted);margin:0 0 24px}.target{border:0;margin:0 0 24px;padding:0;display:flex;gap:8px;flex-wrap:wrap}.target legend{font-size:12px;font-weight:700;margin-bottom:10px}.target label{background:var(--card);border-radius:10px;display:flex;align-items:center;gap:6px;padding:11px 10px;font-size:13px;cursor:pointer}.target input{accent-color:var(--accent);width:17px;height:17px;margin:0}.selected-field{margin:0 0 24px}.selected-field-head{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-bottom:8px}.selected-field h3{font-size:15px;line-height:1.6;margin:0;overflow-wrap:anywhere}.remove{font-size:12px;background:transparent;padding:8px;white-space:nowrap;color:var(--muted)}.selected-field label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}textarea{display:block;width:100%;min-height:90px;font-size:16px;line-height:1.7;resize:vertical;padding:12px;border:1px solid #d2cec8;background:white;border-radius:10px;color:var(--ink)}textarea::placeholder{color:#88828b}.output summary{font-size:13px;cursor:pointer;padding:12px 0}.output pre{font:400 13px/1.9 'Noto Sans JP',sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.sheet-foot{padding:14px 22px calc(14px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:4px;flex-shrink:0;background:var(--bg)}.sheet-foot .primary{min-height:48px;font-size:15px}.quiet{background:transparent;font-size:12px;font-weight:400}.copy-status{font-size:12px;color:#a81d4a;min-height:18px;margin:8px 0 0}.toast{position:fixed;left:50%;bottom:calc(var(--dock-height) + 20px);transform:translateX(-50%);z-index:40;pointer-events:none;background:var(--ink);color:white;border-radius:10px;padding:12px 20px;font-size:13px;max-width:calc(100% - 32px);width:max-content;opacity:0}.toast.show{opacity:1}#manual-copy{padding:25px;max-height:85dvh}#manual-copy h2{font-size:20px}#manual-copy p{font-size:14px;line-height:1.8}#manual-copy textarea{min-height:230px;margin-bottom:16px}
@media(min-width:680px){:root{--nav-height:76px}.hero{padding-top:64px}.tabs{grid-template-columns:repeat(6,minmax(0,1fr));padding:14px 0;gap:6px}.tabs a{font-size:12px;min-height:42px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.section-heading h2{font-size:26px}.category{padding-top:40px}.hero-bottom{font-size:13px}.intro{font-size:16px}.list-toolbar p,.list-toolbar button{font-size:12px}.example{grid-template-columns:40px minmax(0,1fr)}.selection-inner .primary{font-size:14px}.selection-label{font-size:13px}#selected-names{font-size:12px}.sheet-head,.sheet-body,.sheet-foot{padding-left:32px;padding-right:32px}}
@media(min-width:1024px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{padding-top:72px}.hero-bottom{margin-top:35px}.category+.category{padding-top:80px}.tip{font-size:24px}.card-title h3{font-size:19px}.examples{max-width:820px}}
.category-subtitle{display:block;font-size:14px;font-weight:500;letter-spacing:0;margin-top:4px}.tabs a{font-size:12px;padding-inline:0}.english{font-size:13px}.usage span{font-size:11px}.selection-label{font-size:12px}#selected-names{font-size:12px;max-height:43px}
@media(min-width:680px){.category-subtitle{display:inline;font-size:18px;margin-top:0}.mobile-break{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
