:root{--bg:#faf7f2;--surface:#fff;--surface-2:#f2ece3;--text:#2a1e17;--muted:#7a6858;--border:#e6ddd1;--accent:#2a1e17;--accent-text:#faf7f2;--accent-soft:#f2ece3;--active:#8a5a34;--active-soft:#f5ebdf;--done:#4f5a3a;--done-soft:#ebede1;--gold:#c99b66;--danger:#a3392a;--danger-soft:#f7e3de;--radius:16px;--shadow:0 1px 2px #2a1e170d, 0 10px 24px -14px #2a1e174d;--tabbar-h:62px;--font-sans:"Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;--font-mincho:"Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;--font-latin:"Instrument Serif", "Times New Roman", serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;accent-color:var(--active);font-family:var(--font-sans);color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}body{background:var(--bg);margin:0;line-height:1.6}a{color:var(--accent)}h1,h2,p{margin:0}h1{font-family:var(--font-mincho);letter-spacing:.06em;font-size:1.6rem;font-weight:600;line-height:1.3}h2{letter-spacing:.24em;color:var(--muted);margin-bottom:8px;font-size:.72rem;font-weight:500}ul{margin:0;padding:0;list-style:none}.main{max-width:680px;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px calc(var(--tabbar-h) + env(safe-area-inset-bottom,0px) + 24px);margin:0 auto}.screen{flex-direction:column;gap:16px;display:flex}.screen-header{align-items:center;gap:10px;min-height:44px;display:flex}.screen-header h1{flex:1}.title-block{flex-direction:column;flex:1;display:flex}.back{width:44px;height:44px;color:var(--text);flex:none;place-items:center;margin-left:-12px;text-decoration:none;display:grid}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center}.prewrap{white-space:pre-wrap}.row{align-items:center;gap:8px;display:flex}.row.wrap{flex-wrap:wrap}.row.between{justify-content:space-between}.stack{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.section{flex-direction:column;gap:8px;display:flex}.section-head{justify-content:space-between;align-items:center;display:flex}.section-head h2{margin:0}.btn{appearance:none;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;letter-spacing:.04em;cursor:pointer;border-radius:14px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:10px 18px;font-weight:500;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.small{border-radius:999px;min-height:36px;padding:6px 14px;font-size:.88rem}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.btn.achieve{background:var(--gold);border-color:var(--gold);color:var(--text)}.btn.danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn.ghost{background:0 0}.btn.block{width:100%}.actions{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:8px;display:grid}.quiet-button{appearance:none;min-height:32px;color:var(--muted);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:none;padding:4px 6px;font-size:.85rem;text-decoration:underline}.pill{border:1px solid var(--border);color:var(--muted);white-space:nowrap;border-radius:999px;padding:3px 11px;font-size:.8rem}.status-line .icon{vertical-align:-3px;color:var(--active);margin-right:4px}.badge{letter-spacing:.06em;white-space:nowrap;border:1px solid #0000;border-radius:999px;padding:2px 10px;font-size:.76rem;font-weight:500}.badge.state-locked{border-color:var(--border);color:var(--muted)}.badge.state-available{border-color:var(--text);color:var(--text)}.badge.state-active{background:var(--active-soft);color:var(--active)}.badge.state-done{background:var(--done-soft);color:var(--done)}.next-action{background:var(--active-soft);border-radius:10px;flex-direction:column;padding:10px 12px;display:flex}.next-action.none{background:var(--surface-2)}.next-label{color:var(--active);font-size:.75rem;font-weight:700}.next-action.none .next-label{color:var(--muted)}.next-text{white-space:pre-wrap;font-weight:600}.next-action.none .next-text{color:var(--muted);font-weight:400}.next-action.big .next-text{font-size:1.1rem}.notice{background:var(--active-soft);border-radius:12px;align-items:center;gap:10px;padding:10px 12px;font-size:.85rem;line-height:1.5;display:flex}.notice .icon{color:var(--active);flex:none}.notice p{flex:1}.empty{border:1px dashed var(--gold);border-radius:var(--radius);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:24px 16px;display:flex}.list{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;display:flex;overflow:hidden}.list-row{border-top:1px solid var(--border);align-items:center;gap:10px;padding:10px 14px;display:flex}.list-row:first-child{border-top:none}.list-main{min-width:0;color:var(--text);flex-direction:column;flex:1;text-decoration:none;display:flex}.list-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.chips{flex-wrap:wrap;gap:6px;display:flex}.chips a{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;align-items:baseline;gap:6px;padding:4px 12px;font-size:.9rem;text-decoration:none;display:inline-flex}.sources{flex-direction:column;gap:6px;padding-left:1.1em;font-size:.9rem;list-style:outside;display:flex}.chip-state{color:var(--muted);font-size:.72rem}.skill-hero{align-items:center;gap:16px;display:flex}.skill-hero-text{flex-direction:column;gap:6px;min-width:0;display:flex}.skill-hero-text h1{line-height:1.3}.criteria-details{color:var(--muted);font-size:.9rem}.confirm{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:10px;padding:12px 14px;display:flex}.achieve-confirm{border:1px solid var(--gold);background:var(--active-soft)}.compare{grid-template-columns:1fr 1fr;gap:8px;display:grid;position:relative}.compare-title{align-items:baseline;gap:4px;min-width:0;display:flex}.compare-span{color:var(--text);white-space:nowrap;pointer-events:none;z-index:1;background:#faf7f2eb;border-radius:999px;padding:3px 10px;font-size:.78rem;position:absolute;top:10px;left:50%;transform:translate(-50%)}.compare-slot{outline-offset:3px;border-radius:14px;outline:2px solid #0000;transition:outline-color .15s}.compare-slot.editing{outline-color:var(--text)}.picker-backdrop{z-index:20;background:#1e140c59;align-items:flex-end;animation:.15s ease-out fade-in;display:flex;position:fixed;inset:0}.picker-sheet{background:var(--bg);width:100%;max-height:72vh;padding:14px 16px calc(env(safe-area-inset-bottom) + 16px);border-radius:20px 20px 0 0;flex-direction:column;animation:.2s ease-out sheet-in;display:flex}.picker-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.picker-head h2{margin:0;font-size:1rem}.picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.cup-pick{appearance:none;aspect-ratio:1;background:var(--surface-2);cursor:pointer;border:2px solid #0000;border-radius:12px;width:100%;padding:0;display:block;position:relative;overflow:hidden}.cup-pick.selected{border-color:var(--text)}.cup-pick:disabled{opacity:.35;cursor:default}.cup-pick img,.cup-pick-empty{object-fit:cover;width:100%;height:100%;display:block}.cup-pick-date{color:#fff;text-shadow:0 1px 4px #000000b3;font-size:.7rem;position:absolute;bottom:3px;left:4px}.cup-pick-check{background:var(--text);color:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:.72rem;display:grid;position:absolute;top:4px;right:4px}.tips-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;padding:4px 16px;display:flex}.tip-block{flex-direction:column;gap:6px;padding:12px 0;display:flex}.tip-block+.tip-block{border-top:1px solid var(--border)}.tip-label{color:var(--muted);font-size:.75rem}.tip-focus{margin:0;font-size:1.05rem;line-height:1.55}.stumbles{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.stumbles li{background:var(--active-soft);color:var(--active);border-radius:999px;align-items:baseline;gap:6px;padding:4px 12px;font-size:.85rem;display:inline-flex}.stumble-count{opacity:.8;font-size:.75rem}.wins{margin:0;padding:0;list-style:none}.wins a{color:var(--text);align-items:baseline;gap:10px;padding:6px 0;text-decoration:none;display:flex}.win-no{color:var(--muted);flex:none;font-size:.75rem}.win-text{flex:1;min-width:0}.wins .icon{color:var(--muted);flex:none}.about-skill summary{cursor:pointer;color:var(--muted);font-size:.9rem}.about-skill h3{color:var(--muted);margin:8px 0 0;font-size:.8rem;font-weight:500}.about-skill strong{color:var(--muted);font-size:.8rem;font-weight:500;display:block}.compare-label{appearance:none;width:100%;min-height:36px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;gap:2px;margin:0;padding:4px 6px;font-size:.8rem;display:flex}.media{aspect-ratio:1;object-fit:cover;background:#1f1712;border-radius:12px;width:100%;display:block}.outcome{font-weight:700}.outcome-good{color:var(--done)}.outcome-meh{color:var(--active)}.outcome-bad{color:var(--danger)}.record-screen{padding-bottom:80px}.capture-buttons{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.btn.capture{border-radius:var(--radius);flex-direction:column;min-height:84px;font-size:.85rem}.btn.capture .icon{color:var(--active)}.previews{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.previews li{position:relative}.previews .remove{color:#fff;cursor:pointer;background:#0009;border:none;border-radius:50%;width:28px;height:28px;font-size:1rem;position:absolute;top:4px;right:4px}.segmented{border:1px solid var(--border);background:var(--surface);border-radius:999px;grid-auto-columns:1fr;grid-auto-flow:column;display:grid;overflow:hidden}.segmented button{appearance:none;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:none;min-height:44px;padding:10px 6px;font-size:.9rem}.segmented button+button{border-left:1px solid var(--border)}.segmented button.selected{background:var(--accent-soft);font-weight:700}.segmented button.selected.outcome-good{background:var(--done-soft);color:var(--done)}.segmented button.selected.outcome-meh{background:var(--active-soft);color:var(--active)}.segmented button.selected.outcome-bad{background:var(--danger-soft);color:var(--danger)}.segmented.small button{min-height:32px;padding:4px 12px}.sticky-actions{padding:12px 16px calc(env(safe-area-inset-bottom,0px) + 12px);background:linear-gradient(to top, var(--bg) 70%, transparent);position:fixed;bottom:0;left:0;right:0}.sticky-actions .btn{max-width:648px;min-height:52px;margin:0 auto;font-size:1.05rem;display:flex}.form{flex-direction:column;gap:18px;display:flex}.field{border:none;flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;display:flex}.field>span,.field legend{margin-bottom:6px;padding:0;font-size:.9rem;font-weight:700}input:not([type=checkbox]),textarea{font:inherit;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:10px;padding:10px 12px;font-size:16px}textarea{resize:vertical}input:not([type=checkbox]):focus,textarea:focus,select:focus{border-color:var(--active);outline:none;box-shadow:0 0 0 3px #8a5a342e}:focus-visible{outline:2px solid var(--active);outline-offset:2px}.source-row{border:1px solid var(--border);border-radius:10px;grid-template-columns:1fr;gap:6px;margin-bottom:8px;padding:10px;display:grid}.source-row .btn{justify-self:end}.checks{flex-direction:column;gap:4px;display:flex}.checks label{align-items:center;gap:10px;min-height:36px;display:flex}.checks input{width:20px;height:20px}.inline-form{flex:1;align-items:center;gap:6px;display:flex}.danger-zone{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}.stepper{align-items:center;gap:16px;display:flex}.stepper .btn{width:48px;padding:0;font-size:1.3rem}.stepper-value{text-align:center;min-width:1.5em;font-size:1.6rem;font-weight:700}.domain-tabs{scrollbar-width:none;gap:6px;padding-bottom:4px;display:flex;overflow-x:auto}.domain-tabs a,.domain-tabs .add{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:999px;flex:none;padding:6px 14px;font-size:.9rem;text-decoration:none}.domain-tabs a.selected{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:700}.domain-tabs .add{color:var(--muted);border-style:dashed}.tabbar{height:calc(var(--tabbar-h) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);z-index:10;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar a{letter-spacing:.04em;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.68rem;text-decoration:none;display:flex}.tabbar a.selected{color:var(--text);font-weight:700}.toast{left:50%;bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom,0px) + 16px);background:var(--text);width:max-content;max-width:calc(100% - 32px);color:var(--bg);z-index:30;pointer-events:none;border-radius:999px;padding:10px 18px;font-size:.9rem;font-weight:600;animation:.2s ease-out toast-in;position:fixed;transform:translate(-50%)}.toast.error{background:var(--danger);color:#fff;border-radius:14px}.toast.with-action{align-items:center;gap:14px;padding:6px 6px 6px 18px;display:flex}.toast-action{pointer-events:auto;appearance:none;background:var(--gold);min-height:36px;color:var(--text);font:inherit;cursor:pointer;border:none;border-radius:999px;padding:8px 16px;font-weight:700}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}.celebration{z-index:40;background:#1e140eb3;place-items:center;padding:24px;animation:.25s ease-out fade-in;display:grid;position:fixed;inset:0}.celebration-card{background:var(--surface);text-align:center;border-radius:22px;flex-direction:column;gap:10px;width:min(100%,380px);padding:28px 22px 20px;animation:.5s cubic-bezier(.2,1.4,.4,1) pop;display:flex;position:relative}.celebration-badge{object-fit:cover;border-radius:50%;width:150px;height:150px;margin:0 auto 4px;animation:.8s cubic-bezier(.2,1.2,.4,1) spin-in;box-shadow:0 12px 26px -12px #2a1e178c}.celebration-badge.empty{background:radial-gradient(circle at 50% 45%,#d49b5d,#8a5a34 70%,#5a2e15)}.celebration-kicker{letter-spacing:.3em;color:var(--active);font-size:.78rem}.celebration h2{font-family:var(--font-mincho);letter-spacing:.06em;color:var(--text);margin:0;font-size:1.5rem;font-weight:600}.celebration-unlocked{background:var(--accent-soft);text-align:left;border-radius:12px;padding:12px}.celebration-unlocked p{letter-spacing:.1em;color:var(--muted);font-size:.76rem}.celebration-unlocked li{font-weight:700}.celebration-actions{flex-direction:column;gap:8px;margin-top:6px;display:flex}.confetti{pointer-events:none;position:fixed;inset:0;overflow:hidden}.confetti span{border-radius:2px;width:9px;height:14px;animation-name:fall;animation-timing-function:linear;animation-fill-mode:forwards;position:absolute;top:-20px}@keyframes fade-in{0%{opacity:0}}@keyframes sheet-in{0%{opacity:0;transform:translateY(24px)}}@keyframes pop{0%{opacity:0;transform:scale(.6)}}@keyframes spin-in{0%{opacity:0;transform:scale(.4)rotate(-40deg)}}@keyframes fall{to{top:110%;transform:rotate(720deg)translate(40px)}}@media (prefers-reduced-motion:reduce){.celebration,.celebration-card,.celebration-badge,.toast{animation:none}.confetti{display:none}}.media-item{flex-direction:column;gap:4px;margin:0;display:flex}.media.placeholder{text-align:center;color:var(--muted);background:var(--surface-2);flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:8px;font-size:.8rem;text-decoration:none;display:flex}a.media.placeholder{color:var(--accent);font-weight:700}.media.placeholder .icon{color:var(--muted)}.media.placeholder small{color:var(--muted);font-weight:400}.media.placeholder.with-poster{color:#faf7f2;text-shadow:0 1px 6px #0009;background-position:50%;background-size:cover;justify-content:flex-end;position:relative;box-shadow:inset 0 -60px 50px -20px #140c06b3}.media.placeholder.with-poster .icon,.media.placeholder.with-poster small{color:#faf7f2}.media-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;gap:0;overflow:hidden}.media-card>.media{border-radius:0}.media-toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:2px;padding:2px 4px;font-size:.82rem;display:flex}.media-toolbar-status{min-width:0;color:var(--muted);flex:1;align-items:center;padding-left:6px;display:flex}.media-toolbar-status .tool-button{margin-left:-6px}.tool-button{appearance:none;min-height:40px;color:var(--text);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:5px;padding:0 10px;font-weight:400;text-decoration:none;display:inline-flex}.tool-button:active{background:var(--surface-2)}.tool-button:disabled{opacity:.5}.tool-button .icon{color:var(--muted)}.tool-button.on,.tool-button.on .icon{color:var(--active)}.upload{color:var(--muted)}.upload-failed{color:var(--danger)}.references{flex-direction:column;gap:6px;display:flex}.references li{flex-direction:column;display:flex}.references.editable li{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:row;align-items:center;gap:8px;padding:8px 12px}.references.editable .confirm{padding:8px}.reference-main{flex-direction:column;flex:1;min-width:0;display:flex}.references a{overflow-wrap:anywhere;font-weight:600}.reference-note{color:var(--muted);font-size:.85rem}.toggle{align-items:flex-start;gap:10px;display:flex}.toggle input{flex:none;width:22px;height:22px;margin-top:2px}.toggle span{flex-direction:column;display:flex}.recorder{z-index:50;color:#fff;background:#000;position:fixed;inset:0}.recorder-preview{object-fit:cover;width:100%;height:100%}.recorder-top{top:calc(env(safe-area-inset-top,0px) + 12px);z-index:1;flex-direction:column;gap:10px;display:flex;position:absolute;left:16px;right:16px}.recorder-top-row{justify-content:space-between;align-items:center;display:flex}.recorder-top-row .btn{white-space:nowrap}.recorder .btn.on{color:#1d140d;background:#ffffffd9}.recorder-sub{align-items:flex-start;gap:8px;display:flex}.recorder-sub .btn{flex:none}.recorder-focus{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0000008c;border-radius:14px;align-self:flex-start;align-items:baseline;gap:8px;min-width:0;max-width:100%;margin:0;padding:8px 14px;font-size:1rem;line-height:1.45;display:flex}.recorder-focus span{opacity:.75;flex:none;font-size:.75rem}.recorder-refs{background:#000000a6;border-radius:14px;margin:0;padding:6px 14px;list-style:none}.recorder-refs li{flex-direction:column;padding:8px 0;display:flex}.recorder-refs li+li{border-top:1px solid #fff3}.recorder-refs a{color:#fff}.recorder-refs small{opacity:.75}.recorder .btn{color:#fff;background:#00000080;border-color:#fff6}.recorder .btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.recorder-time{font-variant-numeric:tabular-nums;background:#d92d20;border-radius:999px;padding:4px 12px;font-weight:700}.recorder-bottom{left:0;right:0;bottom:calc(env(safe-area-inset-bottom,0px) + 24px);flex-direction:column;align-items:center;gap:14px;display:flex;position:absolute}.recorder-native{position:absolute;right:16px}.recorder-modes{background:#00000073;border-radius:999px;gap:4px;padding:3px;display:flex}.recorder-modes.small button{white-space:nowrap;min-width:0;min-height:31px;padding:0 12px}.recorder-modes button{appearance:none;color:#fffc;min-width:64px;min-height:32px;font:inherit;cursor:pointer;background:0 0;border:none;border-radius:999px;padding:0 14px;font-size:.85rem}.recorder-modes button.selected{color:#1d140d;background:#ffffffeb}.recorder-controls{grid-template-columns:1fr auto 1fr;place-items:center;width:100%;display:grid}.recorder-side{appearance:none;color:#fff;width:52px;height:52px;font:inherit;cursor:pointer;background:#00000073;border:1px solid #fff6;border-radius:14px;place-items:center;display:grid}span.recorder-side{visibility:hidden}.recorder-side.text{border-radius:12px;width:auto;height:auto;padding:6px 10px;font-size:.7rem;line-height:1.3}.record-button{cursor:pointer;background:#d92d20;border:5px solid #fff;border-radius:50%;width:76px;height:76px;transition:border-radius .15s}.record-button.recording{border-radius:16px;width:64px;height:64px}.record-button:disabled{opacity:.4}.recorder-status{text-align:center;color:#ffffffe6;text-shadow:0 1px 6px #0009;padding:0 24px;position:absolute;top:45%;left:0;right:0}.recorder-error{border-radius:var(--radius);background:#000000bf;flex-direction:column;gap:12px;padding:16px;display:flex;position:absolute;inset:auto 16px 140px}.video-thumb{appearance:none;cursor:pointer;background-color:#111;background-position:50%;background-size:cover;border:none;place-items:center;padding:0;display:grid}.video-thumb span,.yt-play{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff;background:#28282873;border-radius:50%;place-items:center;width:60px;height:60px;font-size:1.2rem;display:grid}.yt-player{background:#111;position:relative;overflow:hidden;container-type:inline-size}@container (width<=240px){.yt-time{display:none}}.yt-frame{pointer-events:none;width:177.78%;position:absolute;top:0;bottom:0;left:-38.89%}.yt-frame iframe{border:0;width:100%;height:100%;display:block}.yt-surface{appearance:none;cursor:pointer;background:0 0;border:none;place-items:center;padding:0;display:grid;position:absolute;inset:0}.yt-surface.cover{background-color:#111;background-position:50%;background-size:cover}.yt-controls{color:#fff;background:linear-gradient(#0000,#0000008c);align-items:center;gap:2px;padding:18px 4px 2px;font-size:.75rem;display:flex;position:absolute;bottom:0;left:0;right:0}.yt-control{appearance:none;min-width:36px;height:36px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:none;place-items:center;padding:0 6px;display:grid}.yt-rate.on{background:#ffffff40}.yt-seek{accent-color:#fff;flex:1;min-width:0}.yt-time{text-align:right;font-variant-numeric:tabular-nums;flex:none;min-width:2.6em}.trimmer-error{color:#ff9b8f}.progress{background:#fff3;border-radius:999px;height:8px;overflow:hidden}.progress span{background:var(--gold);height:100%;transition:width .25s linear;display:block}.link-row{font-size:.9rem;font-weight:600}select{font:inherit;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:10px;padding:10px 12px;font-size:16px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.preview-actions{text-align:center;flex-direction:column;align-items:stretch;gap:4px;margin-top:4px;font-size:.72rem;display:flex}.preview-actions .btn.small{min-height:32px;padding:4px 8px;font-size:.8rem}.debug-overlay{left:4px;right:4px;top:calc(env(safe-area-inset-top,0px) + 4px);z-index:100;color:#7cfc9a;white-space:pre-wrap;pointer-events:none;background:#000c;border-radius:6px;max-height:40vh;margin:0;padding:6px;font:10px/1.3 ui-monospace,Menlo,monospace;position:fixed;overflow:hidden}video.media.playing{object-fit:contain}.screen.today{gap:0}.today-hero{isolation:isolate;height:min(400px,46vh);margin:calc(-1 * (env(safe-area-inset-top,0px) + 12px)) -16px 0;background:#2a1e17;position:relative;overflow:hidden}.hero-image{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.hero-shade{background:linear-gradient(#120b067a 0%,#120b0600 32% 60%,#120b066b 100%);position:absolute;inset:0}.hero-top{left:22px;right:22px;top:calc(env(safe-area-inset-top,0px) + 18px);color:#faf7f2;justify-content:space-between;align-items:baseline;display:flex;position:absolute}.wordmark{flex-direction:column;gap:5px;display:inline-flex}.wordmark-latin{font-family:var(--font-latin);font-size:31px;line-height:1}.wordmark-ja{font-family:var(--font-mincho);letter-spacing:.5em;font-size:10px;font-weight:500;line-height:1}.hero-date{letter-spacing:.18em;font-size:.72rem}.hero-caption{color:#faf7f2;text-shadow:0 1px 10px #00000073;letter-spacing:.14em;flex-direction:column;font-size:.74rem;display:flex;position:absolute;bottom:44px;left:22px}.hero-no{font-family:var(--font-latin);letter-spacing:0;font-size:26px;font-style:italic;line-height:1.1}.today-sheet{background:var(--bg);border-radius:26px 26px 0 0;flex-direction:column;gap:14px;margin:-28px -16px 0;padding:24px 22px 0;display:flex;position:relative}.sheet-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.sheet-head h2{margin:0}.sheet-empty{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.next-line{border-top:1px solid var(--border);align-items:baseline;gap:14px;padding-top:12px;display:flex}.next-line .next-label{letter-spacing:.2em;color:var(--muted);flex:none;font-size:.7rem;font-weight:500}.next-line .next-text{font-size:.95rem;font-weight:500;line-height:1.6}.btn.shoot{letter-spacing:.1em;min-height:56px;font-size:1rem}.sub-link{color:var(--muted);align-self:center;font-size:.82rem}.recent-cups{scroll-snap-type:x proximity;scrollbar-width:none;gap:12px;margin:0 -14px;padding:2px 14px 6px;scroll-padding-inline:14px;display:flex;overflow-x:auto}.recent-cups::-webkit-scrollbar{display:none}.recent-cups>li{scroll-snap-align:start;flex:0 0 64px}.section>.recent-cups{margin:0 -22px;padding:2px 22px 6px;scroll-padding-inline:22px}.recent-cup{color:#5c4c3f;flex-direction:column;align-items:center;gap:5px;text-decoration:none;display:flex}.recent-cup img,.recent-empty{object-fit:cover;border-radius:50%;width:62px;height:62px;box-shadow:0 2px 6px #2a1e172e}.recent-empty{background:radial-gradient(circle at 50% 45%,#d4b08a,#a87b55 70%,#7d5536);display:block}.recent-no{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-family:var(--font-latin);font-size:14px;overflow:hidden}a.notice{color:var(--text);text-decoration:none}.notice.quiet{color:var(--muted);background:0 0;padding:0;font-size:.8rem}.notice-close{appearance:none;color:var(--muted);cursor:pointer;background:0 0;border:none;flex:none;width:44px;height:44px;margin:-8px -10px -8px 0;font-size:1.1rem}.pattern-image{object-fit:cover;border-radius:50%;flex:none;width:56px;height:56px;display:block;box-shadow:0 2px 6px #2a1e1729}.pattern-image.large{width:104px;height:104px;box-shadow:none;border-radius:18px}.pattern-image.small{width:52px;height:52px}.pattern-image.dim{filter:grayscale(.7);opacity:.55}.pattern-image.none{background:radial-gradient(circle at 50% 45%,#d4b08a,#a87b55 70%,#7d5536)}.type-name{font-family:var(--font-mincho);letter-spacing:.04em;font-size:1.05rem;font-weight:600;line-height:1.35}.type-cards{flex-direction:column;gap:12px;display:flex}.type-card{background:var(--surface);box-shadow:var(--shadow);color:var(--text);border-radius:20px;align-items:center;gap:16px;padding:12px;text-decoration:none;display:flex}.type-card-body{flex-direction:column;gap:4px;min-width:0;display:flex}.type-card .type-name{font-size:1.3rem}.type-card-link{color:var(--muted);text-underline-offset:3px;font-size:.8rem;text-decoration:underline}.type-rows{flex-direction:column;display:flex}.type-row{align-items:center;gap:12px;padding:6px 0;display:flex}.type-row-main{min-width:0;color:var(--text);flex:1;align-items:center;gap:14px;text-decoration:none;display:flex}.type-row-text{flex-direction:column;min-width:0;display:flex}.done-section{border-top:1px solid var(--border);padding-top:14px}.done-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px;display:grid}.done-grid a{color:var(--text);text-align:center;flex-direction:column;align-items:center;gap:4px;font-size:.72rem;line-height:1.35;text-decoration:none;display:flex}.graph{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);height:min(56vh,480px);overflow:hidden}.graph-node{border:1px solid var(--border);background:var(--surface);width:196px;height:60px;color:var(--text);cursor:pointer;border-radius:999px;align-items:center;gap:8px;padding:6px 10px 6px 6px;display:flex;box-shadow:0 1px 2px #2a1e1714}.graph-node .react-flow__handle{opacity:0;pointer-events:none}.graph-node .graph-node-image{width:46px;height:46px;box-shadow:none}.graph-node-text{flex-direction:column;min-width:0;display:flex}.graph-node-label{font-family:var(--font-mincho);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.graph-node-state{letter-spacing:.08em;color:var(--muted);font-size:10px}.graph-node.state-locked{box-shadow:none;background:0 0;border-style:dashed}.graph-node.state-locked .graph-node-label{color:var(--muted)}.graph-node.state-active{border:2px solid var(--active)}.graph-node.state-active .graph-node-state{color:var(--active);font-weight:700}.graph-node.state-done .graph-node-state{color:var(--done);font-weight:700}.react-flow__edge.edge-done path{stroke:var(--gold);stroke-width:2px}.react-flow__edge.edge-todo path{stroke:var(--border);stroke-width:2px;stroke-dasharray:4 4}.react-flow__controls button{background:var(--surface);border-color:var(--border);color:var(--text)}.react-flow__attribution{background:0 0;font-size:9px}.view-switch{align-self:flex-start}.practice-block{background:var(--surface);box-shadow:var(--shadow);border-radius:20px;flex-direction:column;gap:12px;padding:14px;display:flex}.practice-head{color:var(--text);align-items:center;gap:12px;text-decoration:none;display:flex}.practice-title{flex-direction:column;flex:1;min-width:0;display:flex}.practice-name{font-family:var(--font-mincho);letter-spacing:.05em;font-size:1.35rem;font-weight:600;line-height:1.3}.practice-count{color:var(--muted);flex:none;font-size:.8rem}.practice-count strong{font-family:var(--font-latin);color:var(--text);margin-right:2px;font-size:1.6rem;font-weight:400}.practice-block .next-line{padding-top:10px}.cup-head{align-items:center;gap:14px;display:flex}.cup-media{flex-direction:column;gap:10px;display:flex}.cup-notes{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);flex-direction:column;gap:14px;padding:14px 16px;display:flex}.cup-notes p{white-space:pre-wrap;line-height:1.7}.practice-list{flex-direction:column;gap:14px;display:flex}.cause-chips{flex-wrap:wrap;gap:8px;display:flex}.cause-chips button{appearance:none;border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;padding:6px 14px;font-size:.88rem}.cause-chips button[aria-pressed=true]{background:var(--text);border-color:var(--text);color:var(--bg)}.suggest-chips{flex-wrap:wrap;gap:6px;margin-bottom:6px;display:flex}.suggest-chips button{appearance:none;border:1px dashed var(--border-strong,var(--muted));min-height:34px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border-radius:12px;padding:5px 12px;font-size:.85rem}.reflect{gap:14px}.outcome-picker button{min-height:52px;font-size:1rem}.memo-toggle{align-self:flex-start}.add-media{appearance:none;border:1px dashed var(--border);background:var(--surface);color:var(--muted);cursor:pointer;place-items:center;display:grid}.save-pair{grid-template-columns:1fr 1fr;gap:8px;max-width:648px;margin:0 auto;display:grid}.save-pair .btn{justify-content:center;width:100%;max-width:none;min-height:52px;margin:0;font-size:1rem}.suggest-prefix{color:var(--muted);margin-right:6px;font-size:.72rem}.cause-tags{flex-wrap:wrap;gap:6px;margin-bottom:6px;display:flex}.cause-tags li{background:var(--active-soft);color:var(--active);border-radius:999px;padding:2px 10px;font-size:.82rem}.cup-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.cup-tile{aspect-ratio:1;background:var(--surface-2);color:#faf7f2;border-radius:12px;text-decoration:none;display:block;position:relative;overflow:hidden}.cup-tile img{object-fit:cover;width:100%;height:100%;display:block}.cup-tile-empty{place-items:center;display:grid;position:absolute;inset:0}.cup-tile-empty .pattern-image{aspect-ratio:1;width:56%;height:auto}.cup-tile-no{font-family:var(--font-latin);text-shadow:0 1px 4px #0006;background:linear-gradient(#0000,#140c068c);padding:14px 8px 5px;font-size:15px;line-height:1;position:absolute;bottom:0;left:0;right:0}.cup-nav{justify-content:space-between;gap:12px;display:flex}.cup-nav-button{font-family:var(--font-latin);font-size:1rem;font-weight:400}.hero-track{scroll-snap-type:x mandatory;scrollbar-width:none;display:flex;position:absolute;inset:0;overflow-x:auto}.hero-track::-webkit-scrollbar{display:none}.hero-slide{scroll-snap-align:start;flex:0 0 100%;position:relative}.hero-shade,.hero-top,.hero-caption,.hero-dots{pointer-events:none}.hero-shade{z-index:1}.hero-top,.hero-dots,.hero-slide .hero-caption{z-index:2}.hero-first{color:var(--text);letter-spacing:.12em;text-shadow:none;background:#faf7f2d9;border-radius:999px;align-self:flex-start;margin-bottom:6px;padding:2px 10px;font-size:.7rem}.hero-dots{gap:6px;display:flex;position:absolute;bottom:48px;right:22px}.hero-dots span{background:#faf7f273;border-radius:50%;width:6px;height:6px}.hero-dots span.on{background:#faf7f2}.cup-tile-alert{background:var(--danger);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:6px;right:6px}.finish-guide{aspect-ratio:1;pointer-events:none;border:2px solid #ffffffd9;border-radius:18px;width:calc(100% - 24px);max-width:70vh;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #00000059}.finish-hint{top:calc(env(safe-area-inset-top,0px) + 24px);text-align:center;color:#fff;text-shadow:0 1px 6px #0009;font-weight:700;position:absolute;left:16px;right:16px}.shutter-button{cursor:pointer;background:#fff padding-box padding-box;border:5px solid #fff9;border-radius:50%;width:76px;height:76px}.form-dots{align-self:flex-start;align-items:center;gap:4px;display:inline-flex}.form-dot{background:var(--border);border-radius:50%;flex:none;width:9px;height:9px;display:block}.form-dot.is-good{background:var(--done)}.form-dot.is-meh{background:var(--gold)}.form-dot.is-bad{background:var(--danger)}.form-dot.is-unmarked{box-shadow:inset 0 0 0 1.5px var(--muted);background:0 0}.form-dot.is-slot{box-shadow:inset 0 0 0 1px var(--border);background:0 0}.form-box{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);flex-direction:column;gap:8px;padding:14px 16px;display:flex}.form-box .form-dot{width:14px;height:14px}.form-box .form-dots{gap:6px}.practice-title .form-dots{margin-top:6px}.type-card-body .form-dots{margin:2px 0}.editor{color:#fff;background:#0d0b0a;flex-direction:column;display:flex}.editor-top{padding:calc(env(safe-area-inset-top,0px) + 8px) 12px 8px;justify-content:space-between;align-items:center;display:flex}.editor-title{font-family:var(--font-latin);font-variant-numeric:tabular-nums;font-size:1.1rem}.editor-text-button{appearance:none;color:#fff;font:inherit;cursor:pointer;background:0 0;border:none;min-height:44px;padding:10px 8px;font-size:1rem}.editor-text-button.primary{color:#f5c542;font-weight:700}.editor-text-button:disabled{opacity:.4}.editor-stage{flex:1;place-items:center;min-height:0;display:grid;position:relative;overflow:hidden}.editor-video{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.editor-play{color:#fff;cursor:pointer;background:#00000073;border:none;border-radius:50%;place-items:center;width:64px;height:64px;display:grid;position:absolute}.editor-panel{padding:12px 12px calc(env(safe-area-inset-bottom,0px) + 14px);flex-direction:column;gap:10px;display:flex}.editor-status,.editor-note{text-align:center;color:#ffffffb3;margin:0;font-size:.78rem}.editor-tools{align-items:center;gap:8px;display:flex}.editor-sound,.editor-play-small{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:10px;flex:none;place-items:center;width:44px;height:44px;display:grid}.editor-sound.off{color:#f5c542}.filmstrip{touch-action:none;-webkit-user-select:none;user-select:none;flex:1;height:52px;margin:0 14px;position:relative}.filmstrip-frames{background:#2b2522;border-radius:6px;display:flex;position:absolute;inset:4px 0;overflow:hidden}.filmstrip-frames img,.filmstrip-frames span{object-fit:cover;flex:1;min-width:0;height:100%}.filmstrip-shade{pointer-events:none;background:#0009;position:absolute;top:4px;bottom:4px}.filmstrip-frame{pointer-events:none;border:3px solid #f5c542;border-width:3px 0;border-radius:6px;position:absolute;top:0;bottom:0}.filmstrip-handle{pointer-events:auto;cursor:ew-resize;touch-action:none;background:#f5c542;width:14px;position:absolute;top:-3px;bottom:-3px}.filmstrip-handle:after{content:"";background:#5a4410;border-radius:2px;width:3px;height:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.filmstrip-handle:before{content:"";position:absolute;inset:0 -12px}.filmstrip-handle.start{border-radius:6px 0 0 6px;left:-14px}.filmstrip-handle.end{border-radius:0 6px 6px 0;right:-14px}.filmstrip-head{pointer-events:none;background:#fff;border-radius:2px;width:3px;margin-left:-1.5px;position:absolute;top:-2px;bottom:-2px;box-shadow:0 0 4px #0009}.editor-progress{flex-direction:column;align-items:center;gap:8px;display:flex}.editor-progress p{margin:0}.editor-progress .progress{width:100%}.settings-list{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin:0;padding:0;list-style:none;overflow:hidden}.settings-list li+li{border-top:1px solid var(--border)}.settings-row{min-height:52px;color:var(--text);align-items:center;gap:8px;padding:10px 14px;text-decoration:none;display:flex}.settings-label{flex:1;min-width:0}.settings-value{color:var(--muted);font-size:.88rem}.settings-value.warn{color:var(--danger)}.settings-row .icon{color:var(--muted);flex:none}.settings-row.choice{appearance:none;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none}.settings-row.choice .icon{color:var(--active)}.settings-sub{color:var(--muted);margin-top:2px;font-size:.8rem;line-height:1.5;display:block}.settings-list+.settings-list{margin-top:10px}.switch{appearance:none;background:var(--border);cursor:pointer;border-radius:14px;flex:none;width:46px;height:28px;margin:0;transition:background .2s;position:relative}.switch:after{content:"";background:var(--surface);border-radius:50%;width:24px;height:24px;transition:transform .2s;position:absolute;top:2px;left:2px}.switch:checked{background:var(--active)}.switch:checked:after{transform:translate(18px)}.switch:focus-visible{outline:2px solid var(--active);outline-offset:2px}.domain-row{flex-wrap:wrap}.domain-toggle{appearance:none;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:0}.domain-actions{width:100%;padding-bottom:4px}.add-type{color:var(--muted);align-self:flex-start;align-items:center;gap:6px;padding:6px 2px;font-size:.9rem;text-decoration:none;display:inline-flex}div.notice>a{color:inherit;flex:1;text-decoration:none}.resting h3{color:var(--muted);margin:4px 0 0;font-size:.8rem;font-weight:500}
