:root{font-family:var(--study-font);color:#e4e2dc;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;--surface:#101010;--gallery-background:var(--surface);--sword-background:#000;--panel:#181818;--text:#e4e2dc;--muted:#a29f99;--line:#30302e;--study-font:Arial, Helvetica, sans-serif;--nav-inset:24px;--nav-height:56px;--gallery-gutter:var(--nav-inset);background:#101010}*{box-sizing:border-box}html,body,#root{width:100%;height:100dvh;margin:0}html,body{overscroll-behavior:none;overflow:hidden}body{position:fixed;inset:0}#root{overflow:hidden}main{height:100%;min-height:0;position:relative;overflow:hidden}.session-page{height:100%;min-height:0}.session-page[hidden]{display:none}button,input,select{font:inherit;border-radius:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button{min-height:44px;color:inherit;cursor:pointer;background:0 0;border:0}button:disabled,input:disabled{opacity:.4;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--text);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--study-font);font-weight:400}canvas{touch-action:none;display:block}.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}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:.75rem}.wordmark{min-height:44px;color:var(--text);flex:none;align-items:center;display:inline-flex}.wordmark-lettering{letter-spacing:.075em;font-kerning:normal;text-shadow:none;font-family:Avenir Next,Avenir,Segoe UI,Helvetica Neue,sans-serif;font-size:24px;font-weight:300;line-height:1;display:block}.text-link{min-height:44px;color:var(--muted);align-items:center;padding:0;font-size:.8125rem;display:inline-flex}.text-link:hover{color:var(--text)}.collection-header,.experience-header{height:calc(var(--nav-height) + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(var(--nav-inset),env(safe-area-inset-right)) 0 max(var(--nav-inset),env(safe-area-inset-left));align-items:center;display:flex}.gallery-page{padding:0 var(--gallery-gutter) max(24px,env(safe-area-inset-bottom));touch-action:pan-y;overscroll-behavior:contain;background:var(--gallery-background);flex-direction:column;display:flex;overflow-y:auto}.collection-header{margin-inline:calc(-1 * var(--gallery-gutter));flex-shrink:0;margin-bottom:12px}.collection-github{gap:6px;margin-left:auto}.live-sword-grid{gap:var(--nav-inset);flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.live-sword-grid:has(>:only-child){margin-block:auto}@media (width>=701px){.live-sword-grid:not(:has(>:nth-child(4))){margin-block:auto}}.live-sword-card{min-width:0}.live-sword-card>a{background:var(--sword-background);display:block}.live-sword-card>a:focus-visible{outline-offset:-2px}.live-sword-art{background:var(--sword-background);pointer-events:none;height:clamp(370px,74dvh,900px);position:relative;overflow:hidden}.live-sword-stage{pointer-events:none;position:absolute;inset:0}.live-sword-stage canvas{touch-action:pan-y;pointer-events:none;width:100%;height:100%}.preview-status{text-align:center;color:var(--muted);justify-content:center;align-items:center;padding:24px;font-size:.8125rem;display:flex;position:absolute;inset:0}.live-sword-caption{padding:18px var(--nav-inset) 24px;color:var(--text)}.live-sword-caption h2{overflow-wrap:anywhere;width:fit-content;max-width:100%;position:relative}.live-sword-caption h2:after{content:"";transform-origin:0;background:#fff;height:1px;transition:transform .8s cubic-bezier(.65,0,.25,1);position:absolute;bottom:-6px;left:0;right:0;transform:scaleX(0)}.live-sword-card>a:is(:hover,:focus-visible) h2{color:#fff}.live-sword-card>a:is(:hover,:focus-visible) h2:after{transform:scaleX(1)}@media (prefers-reduced-motion:reduce){.live-sword-caption h2:after{transition:none}}.sword-experience{background:var(--surface)}.experience-header{z-index:5;pointer-events:none;text-shadow:0 1px 5px #000;background:linear-gradient(#000b,#0000);border:0;justify-content:space-between;gap:24px;position:absolute;top:0;left:0;right:0}.experience-header nav{align-items:center;gap:24px;display:flex}.experience-header nav button{color:var(--muted);padding:0;font-size:.8125rem}.experience-header nav button:hover{color:var(--text)}.experience-body{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);height:100%;display:grid;position:absolute;inset:0}.sword-canvas{background:var(--sword-background);grid-area:1/1;min-width:0;min-height:0;position:relative;overflow:hidden}#stage{position:absolute;inset:0}#stage,#stage canvas{touch-action:none;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.study-info{padding:12px 24px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);grid-area:2/1;grid-template-columns:minmax(160px,1fr) minmax(0,3fr);align-items:center;gap:12px 32px;display:grid}.study-title{letter-spacing:-.025em;overflow-wrap:anywhere;font-size:1.65rem;line-height:1.2}.replay-controls{grid-template-columns:auto auto minmax(100px,1fr);align-items:center;gap:24px;min-width:0;display:grid}.replay-controls.simple-controls{justify-content:flex-end;display:flex}.form-selector,.replay-actions{align-items:center;gap:16px;display:flex}.form-selector button{color:var(--muted);padding:0;font-size:.8125rem;position:relative}.form-selector button[aria-pressed=true]{color:var(--text)}.form-selector button[aria-pressed=true]:after{content:"";background:currentColor;height:1px;position:absolute;bottom:4px;left:0;right:0}.primary-action{min-height:44px;color:var(--text);white-space:nowrap;border:1px solid #595955;justify-content:center;align-items:center;padding:0 16px;font-size:.8125rem;display:inline-flex}.primary-action:hover{background:#242423}.replay-progress{min-width:0;display:block}.replay-progress input[type=range]{width:100%;min-height:32px;margin:0}.replay-caption,.share-notice{color:var(--muted);grid-column:1/-1;font-size:.8125rem;line-height:1.5}.is-replay .study-info{z-index:3;pointer-events:none;text-shadow:0 1px 5px #000;background:linear-gradient(#0000,#0007 35%,#000c);border:0;grid-area:auto;padding-top:32px;position:absolute;bottom:0;left:0;right:0}.experience-header a,.experience-header button,.is-replay .study-info :is(button,a,input,select,textarea,label),.is-replay .replay-progress{pointer-events:auto}.experience-header nav button,.is-replay .text-link,.is-replay .form-selector button{color:#c4c1ba}.experience-header nav button:hover,.is-replay .text-link:hover,.is-replay .form-selector button[aria-pressed=true]{color:#fff}.is-replay .primary-action{background:#10101066;border-color:#88877f}.is-replay .primary-action:hover{background:#242423cc}.settings-toggle{z-index:4;top:calc(72px + env(safe-area-inset-top));border:1px solid var(--line);background:var(--surface);color:var(--text);align-items:center;gap:9px;padding:0 13px;font-size:.8125rem;display:flex;position:absolute;right:24px}.settings-toggle svg{width:15px;height:15px}.settings-toggle:hover{background:var(--panel)}.settings-panel{z-index:3;top:calc(128px + env(safe-area-inset-top));bottom:calc(20px + env(safe-area-inset-bottom));background:var(--panel);border:1px solid var(--line);scrollbar-width:thin;touch-action:pan-y pinch-zoom;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;width:min(350px,100% - 48px);padding:24px;position:absolute;right:24px;overflow-y:auto}.settings-heading{letter-spacing:-.025em;margin-bottom:22px;font-size:1.8rem}.lighting-controls,.motion-panel{border-bottom:1px solid var(--line);margin-bottom:22px;padding-bottom:22px}.range-label{justify-content:space-between;align-items:baseline;gap:12px;font-size:.8125rem;line-height:1.5;display:flex}.range-label output{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.75rem}input[type=range]{accent-color:#b5b2ab;cursor:pointer;touch-action:pan-x;width:100%;min-height:32px;margin:7px 0 18px}.reflection-toggle{align-items:center;gap:10px;min-height:44px;font-size:.8125rem;line-height:1.5;display:flex}.reflection-toggle input{accent-color:#b5b2ab;width:17px;height:17px}.settings-panel select{background:var(--surface);width:100%;min-height:44px;color:var(--text);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border:1px solid #535350;margin:8px 0 18px;padding:10px 9px;font-size:.8125rem;display:block}.motion-status{color:var(--muted);margin:8px 0 16px;font-size:.75rem;line-height:1.6}.actions{gap:10px;margin:18px 0;display:flex}.actions button,.restore,.effects-controls>button,.lighting-controls>button,.timeline-actions button{color:var(--text);border:1px solid #535350;padding:9px 11px;font-size:.8125rem;line-height:1.35}.actions button:hover,.restore:hover,.effects-controls>button:hover,.lighting-controls>button:hover,.timeline-actions button:hover{background:#292927}.effects-controls>button{width:100%;margin-bottom:10px;display:block}.effects-controls>button[aria-pressed=true]{background:#30302d;border-color:#b5b2ab}.timeline-actions{grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0;display:grid}.floor-color-control{justify-content:space-between;align-items:center;gap:10px;min-height:48px;margin-bottom:12px;font-size:.8125rem;display:flex}input[type=color]{border:1px solid var(--line);cursor:pointer;background:0 0;width:40px;height:30px;padding:0}.sword-info{color:var(--muted);padding-top:12px;font-size:.8125rem;line-height:1.7}.sword-info summary{cursor:pointer;color:var(--text);min-height:44px}.sword-info h3{margin:10px 0;font-size:1.5rem}.sword-info p{margin:10px 0}.study-credit{letter-spacing:.08em;font-size:.75rem}.share-popover{top:calc(55px + env(safe-area-inset-top));z-index:8;background:var(--panel);border:1px solid #535350;width:min(420px,100% - 48px);padding:16px 20px;position:absolute;right:24px}.share-popover>div{justify-content:space-between;align-items:center;gap:20px;margin-bottom:8px;display:flex}.share-popover p{font-size:.8125rem}.share-popover button{width:44px;font-size:1.5rem}.share-popover input{background:var(--surface);width:100%;min-height:44px;color:var(--text);border:1px solid #535350;padding:10px;font-size:.8125rem;display:block}#error{z-index:2;width:max-content;max-width:calc(100% - 40px);color:var(--text);background:var(--surface);text-align:center;padding:14px 20px;font-size:.8125rem;line-height:1.6;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.missing-sword,.opening-page{background:var(--surface);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:24px;padding:30px;display:flex}.missing-sword h1{letter-spacing:-.035em;font-size:clamp(2rem,5vw,4rem)}@media (width<=1050px){.study-info{padding-top:12px;padding-bottom:calc(8px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr);gap:4px}.study-title{font-size:1.35rem}.replay-controls.simple-controls{justify-content:flex-start}}@media (width<=700px){:root{--nav-inset:18px}.collection-header{margin-bottom:4px}.live-sword-grid{grid-template-columns:minmax(0,1fr);gap:14px}.live-sword-art{height:65dvh;min-height:300px}.experience-header nav{gap:20px}.wordmark-lettering{font-size:22px}.study-info{padding-left:18px;padding-right:18px}.replay-controls{grid-template-columns:auto auto minmax(60px,1fr);gap:12px}.form-selector,.replay-actions{gap:12px}.primary-action{padding:0 12px}.settings-toggle{right:18px}.settings-panel,.share-popover{width:min(350px,100% - 36px);right:18px}}@media (width<=540px){.replay-controls{grid-template-columns:auto minmax(0,1fr);gap:0 18px}.replay-controls>.form-selector{grid-column:1/-1}.replay-controls>.replay-progress{grid-column:2}}@media (height<=500px) and (width>=701px){.study-info{grid-template-columns:minmax(120px,1fr) minmax(0,4fr);gap:16px;padding-top:6px;padding-bottom:6px}.study-title{font-size:1.2rem}.replay-controls{gap:12px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.bankai-title{z-index:2;text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;color:#e8dfe7cc;text-shadow:0 0 5px #edb6d93d,0 0 14px #d98fb51a;mix-blend-mode:screen;place-items:center;width:min(92%,1100px);display:grid;position:absolute;top:43%;left:50%;transform:translate(-50%,-50%)}.bankai-title-label,.bankai-title-name{grid-area:1/1;font-size:clamp(.6875rem,1vw,.875rem);line-height:1.3}.bankai-title-label{opacity:0;letter-spacing:.45em;text-indent:.45em;text-transform:uppercase;margin:0}.bankai-title-name{font-family:var(--study-font);letter-spacing:.075em;text-indent:.075em;text-transform:uppercase;font-weight:400;line-height:1.3;display:grid}.bankai-title-word{white-space:nowrap;opacity:0;grid-area:1/1;display:block}.bankai-title-word.is-subtitle{font-size:inherit;letter-spacing:.25em;text-indent:.25em}@media (width<=540px){.experience-header nav{gap:14px}.experience-header nav button{font-size:.75rem}}.sharingan-study{background:#050507;width:100%;height:100dvh;position:relative;overflow:hidden}.sharingan-stage{position:absolute;inset:0}.sharingan-stage canvas{touch-action:none;width:100%;height:100%;display:block}body{letter-spacing:.035em}h1,h2,h3,.study-title,.live-sword-caption h2,.missing-sword h1{letter-spacing:.12em}button,summary,.text-link{letter-spacing:.08em}.is-replay .study-info{left:clamp(24px,5vw,80px);right:auto;bottom:calc(clamp(24px,5vh,64px) + env(safe-area-inset-bottom));background:0 0;flex-direction:column;align-items:flex-start;gap:10px;width:min(440px,100% - 48px);padding:0;display:flex}.is-replay .study-title,.live-sword-caption h2{letter-spacing:.035em;font-size:clamp(16px,1.6vw,20px);font-weight:400;line-height:1.4}.is-replay .replay-controls{grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;width:100%;display:grid}.is-replay .replay-controls.simple-controls{justify-content:flex-start;gap:20px;display:flex}.is-replay .form-selector{grid-column:auto;gap:20px}.is-replay .form-selector button{color:var(--muted);font-size:.75rem;font-weight:400}.is-replay .form-selector button[aria-pressed=true]{color:var(--text);font-weight:500}.is-replay .replay-actions{gap:2px}.is-replay .replay-progress{opacity:.65;grid-column:1/-1;width:100%}.is-replay .replay-progress:hover,.is-replay .replay-progress:focus-within{opacity:1}.study-icon-button{width:44px;min-width:44px;height:44px;color:var(--text);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.study-icon-button:hover{background:#ffffff0b}@media (width<=540px){.is-replay .study-title,.live-sword-caption h2{font-size:16px}.is-replay .form-selector{gap:14px}.is-replay .replay-controls{gap:4px 8px}}@media (height<=500px){.is-replay .study-info{gap:4px;bottom:16px}.is-replay .study-title,.live-sword-caption h2{font-size:16px}}.replay-progress input[type=range]{appearance:none;accent-color:auto;background:0 0;border:0;height:44px;min-height:44px;margin:0;padding:0;display:block}.replay-progress input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right,#dedbd4 0 var(--progress,0%),#ffffff26 var(--progress,0%) 100%);border:0;height:1.5px}.replay-progress input[type=range]::-moz-range-track{background:#ffffff26;border:0;height:1.5px}.replay-progress input[type=range]::-moz-range-progress{background:#dedbd4;height:1.5px}.replay-progress input[type=range]::-webkit-slider-thumb{appearance:none;background:#dedbd4;border:0;border-radius:0;width:1.5px;height:12px;margin-top:-5.25px;transition:transform .15s}.replay-progress input[type=range]::-moz-range-thumb{background:#dedbd4;border:0;border-radius:0;width:1.5px;height:12px;transition:transform .15s}.replay-progress input[type=range]:hover::-webkit-slider-thumb{transform:scaleY(1.25)}.replay-progress input[type=range]:focus-visible::-webkit-slider-thumb{transform:scaleY(1.25)}.replay-progress input[type=range]:hover::-moz-range-thumb{transform:scaleY(1.25)}.replay-progress input[type=range]:focus-visible::-moz-range-thumb{transform:scaleY(1.25)}.replay-progress input[type=range]:disabled{cursor:default;opacity:.3}@media (pointer:coarse){.replay-progress input[type=range]{touch-action:pan-y;height:48px;min-height:48px}.replay-progress input[type=range]::-webkit-slider-thumb{background:linear-gradient(#dedbd4,#dedbd4) 50%/1.5px 12px no-repeat;width:44px;height:44px;margin-top:-21.25px;transform:none}.replay-progress input[type=range]::-moz-range-thumb{background:linear-gradient(#dedbd4,#dedbd4) 50%/1.5px 12px no-repeat;width:44px;height:44px;transform:none}.replay-progress input[type=range]:hover::-webkit-slider-thumb{transform:none}.replay-progress input[type=range]:focus-visible::-webkit-slider-thumb{transform:none}.replay-progress input[type=range]:hover::-moz-range-thumb{transform:none}.replay-progress input[type=range]:focus-visible::-moz-range-thumb{transform:none}}.scene-loading{z-index:2;pointer-events:none;color:var(--text);place-items:center;display:grid;position:absolute;inset:0}.scene-loading-spinner{place-items:center;width:44px;height:44px;display:grid}.scene-loading-spinner svg{will-change:transform;animation:1.2s linear infinite scene-loading-spin;display:block}@keyframes scene-loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.scene-loading-spinner svg{animation:none}}.scene-subtitle{color:var(--muted);letter-spacing:.16em;font-size:.75rem}.scene-control-hint{color:var(--muted);font-size:.6875rem;line-height:1.5}.replay-tools{align-items:center;gap:2px;display:flex}.scene-options{pointer-events:auto;flex:none;position:relative}.scene-options>button[aria-expanded=true]{background:#ffffff0b}.scene-options-panel{width:220px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 180px);color:var(--text);text-shadow:none;pointer-events:auto;background:#171717;border:1px solid #ffffff24;padding:8px;position:absolute;bottom:calc(100% + 10px);left:0;overflow-y:auto;box-shadow:0 12px 32px #0008}.replay-tools .scene-options-panel{left:auto;right:0}.scene-option-effects{border:0;border-bottom:1px solid #ffffff18;min-width:0;margin:0 0 6px;padding:0 0 6px}.scene-option-effects legend{letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding:8px 10px;font-size:.625rem}.scene-option-choice,.scene-option-toggle,.scene-option-action{letter-spacing:.035em;color:#c4c1ba;cursor:pointer;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:44px;padding:0 10px;font-size:.75rem;display:flex;position:relative}.scene-option-choice input{opacity:0;width:1px;height:1px;position:absolute}.scene-option-choice:hover,.scene-option-toggle:hover,.scene-option-action:hover{color:var(--text);background:#ffffff08}.scene-option-choice:has(input:checked){color:var(--text)}.scene-option-choice:has(input:focus-visible){outline:1px solid var(--text);outline-offset:-1px}.scene-option-mark{background:0 0;border-radius:50%;width:5px;height:5px}.scene-option-choice input:checked~.scene-option-mark{background:currentColor}.scene-option-state{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:.625rem}.scene-option-toggle[aria-pressed=true] .scene-option-state{color:var(--text)}@media (width<=380px){.is-replay .form-selector{gap:9px}.is-replay .replay-controls{column-gap:4px}.replay-tools{gap:0}}.scene-option-draw{border-top:1px solid #ffffff18;padding:8px 10px 0}.scene-option-draw .range-label{color:#c4c1ba;font-size:.6875rem}.scene-option-draw:has(input:disabled) .range-label{opacity:.4}.scene-option-action{border-top:1px solid #ffffff18;justify-content:flex-start;gap:10px;margin-top:6px}.scene-option-effects+.scene-option-action{border-top:0;margin-top:0}.scene-option-action svg{flex:none}.editor-settings-section{background:#141414;border:1px solid #ffffff20;margin:0 0 16px}.editor-settings-section>summary{z-index:1;cursor:pointer;background:#242424;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:13px 12px;list-style:none;display:flex;position:sticky;top:0}.editor-settings-section[open]>summary{border-bottom:1px solid #ffffff24;box-shadow:inset 2px 0 #b5b2ab}.editor-settings-section>summary:focus-visible{outline-offset:-3px}.editor-settings-section>summary::-webkit-details-marker{display:none}.editor-settings-section>summary:after{content:"";width:6px;height:6px;color:var(--muted);border-bottom:1.5px solid;border-right:1.5px solid;flex:none;margin-right:3px;transform:rotate(45deg)}.editor-settings-section[open]>summary:after{transform:rotate(225deg)}.editor-settings-title{color:var(--text);letter-spacing:.06em;font-size:.8125rem;font-weight:600;display:block}.editor-settings-description{color:var(--muted);letter-spacing:.02em;margin-top:5px;font-size:.6875rem;line-height:1.5;display:block}.editor-settings-section>summary:hover .editor-settings-title{color:#fff}.editor-settings-content{padding:18px 12px 20px}.settings-block+.settings-block{margin-top:18px}.settings-block>button{color:var(--text);border:1px solid #535350;padding:9px 11px;font-size:.8125rem}.settings-block>button:hover{background:#292927}.settings-subheading{border-top:1px solid var(--line);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:10px 0 16px;padding-top:16px;font-size:.6875rem;font-weight:500}.editor-settings-content>.actions:last-child,.editor-settings-content .settings-block>:last-child{margin-bottom:0}.settings-panel .actions{flex-wrap:wrap}.settings-panel,.scene-options-panel,.gallery-page{scrollbar-gutter:stable;overflow-x:hidden}.precision-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.precision-heading>label{font-size:.8125rem;line-height:1.4}.precision-value{color:var(--muted);flex:none;align-items:center;gap:4px;font-size:.6875rem;display:flex}.precision-value input{background:var(--surface);border:1px solid var(--line);width:76px;min-height:36px;color:var(--text);font-variant-numeric:tabular-nums;text-align:right;padding:6px 4px 6px 6px;font-size:.75rem}.precision-control>input[type=range]{margin:4px 0 16px}
