/* Page4's story owns only its outlet; the shared community frame stays intact. */
.tc-site-shell .tc-shell-anime:has(.tc-story){height:100%;min-height:0!important;padding:0!important;background:#11151f!important}
.tc-story{--st-ink:#f3effb;--st-muted:#b1a8c5;--st-accent:#d6bcf0;--st-line:rgba(221,207,249,.16);box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:560px;padding:24px 28px 13px;color:var(--st-ink);font-family:Pretendard,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(ellipse at 65% 30%,#26203988,transparent 65%),#11151f;isolation:isolate}
.tc-story *,.tc-story *:before,.tc-story *:after{box-sizing:border-box}
.tc-story [hidden]{display:none!important}
.tc-story button,.tc-story input{font:inherit}
.tc-story button,.tc-story a{-webkit-tap-highlight-color:transparent}
.tc-story button{cursor:pointer;color:inherit;border:0}
.tc-story button:disabled{opacity:.5;cursor:wait}
.tc-story button:focus-visible,.tc-story a:focus-visible,.tc-story input:focus-visible{outline:2px solid #e8d2ff;outline-offset:4px}
.story-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:19px;flex:none}
.tc-story .story-kicker{margin:0 0 8px;font-size:9px;font-weight:650;letter-spacing:3px;color:#b7a6ce;line-height:1.2}
.story-kicker>span{padding-left:10px;color:#756c88}
.tc-story h1{margin:0;color:#f6f1ff;font-size:25px;line-height:1.3;font-weight:500;letter-spacing:-1px}
.story-title-star{font-size:17px;margin-left:14px;vertical-align:middle;color:#c5a3e2}
.story-wallet{display:flex;align-items:center;gap:11px;border:1px solid var(--st-line);border-radius:13px;padding:11px 15px;min-width:171px;background:#211f2b80}
.story-coin{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:13px;font-weight:600;color:#e3c799;background:#4f3e29;border:1px solid #a7865159}
.story-wallet small{display:block;color:#b7aec7;font-size:9px;margin-bottom:3px}
.story-wallet strong{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.story-wallet-unit{font-size:11px;color:#b3a9c5;font-weight:400}
.story-wallet a{color:#a79ab9;text-decoration:none;margin-left:auto;font-size:19px}
.story-playground{display:flex;min-height:0;flex:1;gap:12px}
.story-stage{position:relative;min-width:0;flex:1;min-height:410px;overflow:hidden;border:1px solid #76618c66;border-radius:17px;background:#2a2338;box-shadow:0 14px 35px #0003,inset 0 0 80px #0002}
.story-scenery{position:absolute;inset:0;overflow:hidden;background:radial-gradient(ellipse at 56% 50%,#a887af3b,transparent 60%),linear-gradient(95deg,#272536,#3b3049 49%,#282239);transition:background 900ms}
.story-window{position:absolute;left:17%;top:-8%;width:56%;height:78%;overflow:hidden;border:11px solid #2c2336;border-top:0;border-radius:0 0 5px 5px;background:radial-gradient(circle at 62% 28%,#9a8ead66,transparent 25%),linear-gradient(#30344e,#55435e 67%,#ae768b);box-shadow:0 0 0 1px #75617d66,0 12px 80px #c9a8da18}
.story-window:before{position:absolute;content:"";inset:0;background-image:radial-gradient(1px 1px at 12% 26%,#dfd0ef 90%,transparent),radial-gradient(1px 1px at 30% 19%,#dfd0ef 90%,transparent),radial-gradient(2px 2px at 72% 23%,#dfd0ef 80%,transparent),radial-gradient(1px 1px at 84% 42%,#dfd0ef 90%,transparent),radial-gradient(1px 1px at 42% 46%,#dfd0ef 90%,transparent),radial-gradient(1px 1px at 19% 53%,#dfd0ef 90%,transparent);opacity:.8}
.story-window:after{position:absolute;content:"";width:7px;top:0;bottom:0;left:49%;background:#2c2336;box-shadow:0 0 1px #b89cc166}
.story-window>i:first-child{position:absolute;inset:47% 0 auto;height:6px;background:#2c2336;z-index:2}
.story-window>i:nth-child(2){position:absolute;inset:0 0 0 61%;background:linear-gradient(120deg,transparent,#dbbed319,transparent)}
.story-moon{position:absolute;top:22%;right:19%;width:52px;height:52px;border-radius:50%;background:#e6d6df;box-shadow:0 0 38px #e9cfe748,0 0 90px #e9cfe732}
.story-moon:after{position:absolute;content:"";inset:-4px 7px 7px -5px;background:#444058;border-radius:50%}
.story-buildings{position:absolute;bottom:-10%;left:0;width:100%;height:32%;background:#222335;clip-path:polygon(0 31%,13% 31%,13% 53%,20% 53%,20% 22%,32% 22%,32% 41%,42% 41%,42% 9%,53% 9%,53% 49%,65% 49%,65% 24%,78% 24%,78% 45%,88% 45%,88% 13%,100% 13%,100% 100%,0 100%);opacity:.8}
.story-curtain{position:absolute;top:0;bottom:12%;width:21%;background:repeating-linear-gradient(90deg,#2b2238 0,#3b2c46 19%,#30253c 32%,#4a3650 52%,#2b2238 74%);box-shadow:0 0 30px #0003;opacity:.91}
.story-curtain-left{left:2%;clip-path:polygon(0 0,100% 0,75% 61%,49% 77%,42% 100%,0 100%)}
.story-curtain-right{right:7%;width:23%;clip-path:polygon(0 0,100% 0,100% 100%,58% 100%,53% 77%,27% 61%)}
.story-floor{position:absolute;inset:72% 0 0;background:linear-gradient(#332839, #211e2b);box-shadow:0 -1px #d5afcb1a}
.story-ambient{position:absolute;inset:0;background:linear-gradient(90deg,#19192888,transparent 50%,#18172366),linear-gradient(0deg,#15152188,transparent 60%)}
.story-spark{position:absolute;color:#e4c7e59c;animation:story-glimmer 5s ease-in-out infinite}
.story-spark-one{top:25%;left:31%;font-size:14px}.story-spark-two{top:45%;right:16%;font-size:19px;animation-delay:-2s}.story-spark-three{top:19%;right:31%;font-size:30px;animation-delay:-3s}
.story-scene-info{position:absolute;z-index:3;left:22px;top:20px;display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:.5px;color:#e2d7edc7;flex-wrap:wrap}
.story-live-dot{width:5px;height:5px;border-radius:50%;background:#cbb3db;box-shadow:0 0 8px #ddc1f6}
.story-scene-divider{padding:0 3px;color:#a294b1}
.story-affection{position:absolute;right:22px;top:18px;z-index:3;min-width:164px;padding:10px 12px;background:#2520327d;border:1px solid #d6bce81f;border-radius:9px;backdrop-filter:blur(9px)}
.story-affection>div:first-child{display:flex;align-items:center;gap:6px;font-size:9px;color:#d7c7df}
.story-heart{color:#d7adcc;font-size:15px;line-height:1}
.story-affection strong{margin-left:auto;padding-left:7px;font-size:10px;font-weight:500;color:#efe1f4}
.story-affection strong small{font-size:8px;color:#a598b0;font-weight:400}
.story-affection-track{height:3px;margin-top:7px;background:#d0b8e324;border-radius:5px;overflow:hidden}
.story-affection-track>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#a88cc6,#d7b3d5);border-radius:5px;transition:width 800ms}
.story-scene-copy{position:absolute;top:33%;left:30px;z-index:2;display:flex;flex-direction:column;gap:7px;font-size:9px;letter-spacing:2px;line-height:1.6;color:#c5b6d15e}
.story-character{position:absolute;z-index:2;left:49%;bottom:144px;max-width:53%;width:auto;height:72%;max-height:470px;object-fit:contain;object-position:bottom;transform:translateX(-50%);filter:drop-shadow(0 8px 24px #0005);animation:story-breathe 6s ease-in-out infinite;transform-origin:50% 100%;user-select:none}
.story-character-label{position:absolute;right:30px;bottom:211px;z-index:2;display:flex;flex-direction:column;gap:6px;text-align:right}
.story-character-label>span{font-size:20px;font-weight:300;letter-spacing:8px;color:#ddc8e977}.story-character-label small{font-size:9px;letter-spacing:1px;color:#c1acc581}
.story-dialogue{position:absolute;z-index:5;left:18px;right:18px;bottom:17px;padding:15px 20px 12px;border:1px solid #b39ac065;border-top-color:#e7c5f19c;border-radius:11px;background:linear-gradient(125deg,#292437ee,#242032f5);box-shadow:0 5px 30px #0004;backdrop-filter:blur(18px)}
.story-dialogue:before{position:absolute;content:"";left:20px;right:20px;top:-1px;height:1px;background:linear-gradient(90deg,transparent,#eed7ef8c,transparent)}
.story-dialogue-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.story-name{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#efddf2;line-height:1.4}
.story-name>span{font-size:11px;color:#ca9dd8}.story-name small{font-size:8px;letter-spacing:2px;color:#a392b3;font-weight:400;margin-left:2px}
.story-dialogue-tools{display:flex;align-items:center;gap:11px}
.story-dialogue-tools button{padding:3px 0;background:none;color:#aa9ebc;font-size:9px;letter-spacing:.5px}.story-dialogue-tools button:hover{color:#f1dcff}.story-dialogue-tools button span{font-size:8px;color:#82768f;margin-left:3px}.story-dialogue-tools button[aria-pressed="true"] span{color:#e1bee9}
.tc-story .story-line{min-height:35px;margin:12px 0 15px;font-size:15px;line-height:1.65;color:#f2e8f9;font-weight:400;letter-spacing:-.3px}
.story-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.story-choices button{display:flex;align-items:center;gap:8px;min-height:37px;padding:9px 11px;text-align:left;background:#c1a1dc0b;border:1px solid #a990be4a;border-radius:5px;font-size:10px;line-height:1.45;color:#ddd1e9;transition:background .2s,border-color .2s,transform .2s}
.story-choices button>span{font-size:8px;letter-spacing:.5px;color:#b09ac3}.story-choices button>i{font-size:12px;font-style:normal;margin-left:auto;color:#ad91bd}.story-choices button:hover{background:#a787c529;border-color:#c0a1d6;transform:translateY(-1px)}
.story-dialogue-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:11px}
.story-dialogue-bottom>small{font-size:8px;color:#a99bb9;line-height:1.4}
.story-next{padding:0;background:none;font-size:9px;color:#d9bfeb!important;letter-spacing:.3px}.story-next>span{margin-left:8px;color:#e1c5ef}
.story-rail{display:flex;flex-direction:column;gap:7px;flex:0 0 60px;padding:10px 6px;border:1px solid var(--st-line);border-radius:15px;background:#24202e7d}
.story-rail button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:64px;width:100%;border-radius:8px;background:none;color:#a99bb8;transition:background .2s,color .2s}
.story-rail button>span{font-family:Georgia,serif;font-size:25px;line-height:1;font-weight:400}.story-rail button>small{font-size:9px;line-height:1.2;letter-spacing:1px}.story-rail button:hover{background:#b594cf13;color:#f0dffd}.story-rail button[aria-pressed="true"]{background:#59416b77;color:#e7c6f6;box-shadow:inset 0 0 0 1px #c9a0de40}.story-rail-spacer{flex:1}
.story-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:32px;flex:none;color:#95869f;font-size:9px;line-height:1.4}
.tc-story .story-footer p{margin:0;display:flex;align-items:center;gap:6px;font-size:9px;color:#a69ab4;max-width:72%}.story-status-dot{width:4px;height:4px;flex:none;border-radius:50%;background:#9a88ad}.story-footer a{font-size:9px;color:#d3b6e8;text-decoration:none;white-space:nowrap}.story-footer-note{color:#86768e;font-size:8px;letter-spacing:.6px;white-space:nowrap}
.story-pane{position:absolute;z-index:8;right:18px;top:78px;bottom:18px;width:min(390px,calc(100% - 36px));padding:22px;background:linear-gradient(145deg,#282234f7,#1c1b2afc);border:1px solid #bca1d84a;box-shadow:0 15px 50px #0007;border-radius:12px;backdrop-filter:blur(24px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#695674 transparent;animation:story-pane-in .2s ease-out}
.story-pane>header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:16px}.story-pane header p{margin:0 0 8px;color:#b29ac8;font-size:8px;line-height:1.5;letter-spacing:2px}.tc-story .story-pane h2{margin:0;font-size:18px;letter-spacing:-.5px;line-height:1.4;font-weight:500;color:#f1e6f7}.story-pane header>button{width:25px;height:25px;flex:none;border:1px solid #bca1d833;border-radius:50%;font-size:19px;line-height:20px;background:#a990c011;color:#c9b8d6}
.tc-story .story-pane-intro{margin:0 0 20px;font-size:10px;line-height:1.8;color:#b9aac7}.tc-story .story-pane-note{margin:18px 0 0;padding-top:13px;border-top:1px solid #c6a6d51a;font-size:9px;line-height:1.8;color:#9f8eaf}
.story-gift-list,.story-scene-list{display:flex;flex-direction:column;gap:11px}.story-gift-list article,.story-scene-list article{display:flex;gap:12px;align-items:center;padding:13px 10px;background:#b99bce08;border:1px solid #b99bce21;border-radius:8px;min-width:0}.story-gift-icon{display:grid;place-items:center;flex:none;width:40px;height:43px;font-size:25px;background:#b99bce0d;border-radius:7px}.tc-story .story-pane h3{margin:0 0 5px;font-size:12px;font-weight:500;color:#e8dbf0;line-height:1.3}.tc-story .story-gift-list p,.tc-story .story-scene-list p{margin:0;font-size:8px;line-height:1.6;color:#aa99ba}.story-gift-list article>div,.story-scene-list article>div:nth-child(2){min-width:0;flex:1}.story-pane article button{flex:none;padding:7px 9px;background:#7253814d;border:1px solid #be9cd54d;border-radius:5px;font-size:9px;color:#e6c9f4;white-space:nowrap}.story-pane article button:hover{background:#8d65a174}.story-pane article button[aria-pressed="true"]{background:#66526c33;color:#c5adcf;border-color:#a48db333}
.story-scene-thumb{width:65px;height:45px;border-radius:5px;flex:none;overflow:hidden;display:grid;place-items:center;font-size:26px;border:1px solid #c6a1d236}.story-thumb-room{background:linear-gradient(105deg,#252438 15%,#65516c 52%,#332a44);color:#ddceda}.story-thumb-sunset{background:linear-gradient(#7c648c,#ec9a8b 56%,#3c344f)}.story-thumb-night{background:radial-gradient(1px 1px at 20% 23%,white,transparent),radial-gradient(1px 1px at 80% 65%,white,transparent),linear-gradient(#18233f,#4c4269);color:#b5bfe8}.story-scene-actions{flex:none!important}
.story-memories{display:grid;gap:10px}.story-memories article{padding:18px;border:1px solid #baa0cf33;border-radius:8px;background:radial-gradient(ellipse at 70% 0,#a78bc61c,transparent),#c4a3d908}.story-memories article>span{display:block;font-size:25px;line-height:1;margin-bottom:13px;color:#d4b6e1}.tc-story .story-memories p{margin:0;font-size:10px;line-height:1.8;color:#af9cbf}.story-memories .locked{opacity:.5}.story-memories article[data-locked="true"]{opacity:.45}
.story-memories .ts-memory{display:block;width:100%;padding:16px 18px;border:1px solid #baa0cf38;border-radius:8px;background:radial-gradient(ellipse at 85% 0,#a78bc629,transparent),#c4a3d90b;color:#dfc9ee;font-size:12px;line-height:1.65;text-align:left;transition:border-color .2s,background .2s}.story-memories .ts-memory:hover{border-color:#c5a2dd8c;background-color:#bd96d51b}.story-memories .ts-memory:disabled,.story-memories .ts-memory[aria-disabled="true"]{opacity:.5;cursor:default}.story-memories .ts-memory strong{display:block;font-size:12px;font-weight:500;color:#ecdef4}.story-memories .ts-memory span,.story-memories .ts-memory small{font-size:10px;color:#b9a4c9}.story-memories .ts-memory+p{padding:0 12px 8px;border-bottom:1px solid #bca0d024}.story-memories>p{padding:9px 12px;border-left:2px solid #aa84c24a;background:#b18fcd0b}
.story-settings{margin-top:28px}.story-settings>label{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid #b599ce21;font-size:12px;color:#ded0e8;line-height:1.4}.story-settings>label small{display:block;margin-top:8px;font-size:9px;color:#a696b4}.story-settings input[type="range"]{width:110px;accent-color:#c0a0d5}.story-settings input[type="checkbox"]{width:16px;height:16px;accent-color:#b58bce;flex:none}
.story-history{display:flex;flex-direction:column;gap:13px}.tc-story .story-history p{margin:0;padding:12px 13px;border-left:2px solid #9b79b05e;background:#ac8ac710;color:#cfbedb;font-size:11px;line-height:1.85}.story-history strong,.story-history small{display:block;color:#b99acb;font-size:9px;margin-bottom:5px}
.story-confirm{width:min(420px,calc(100vw - 32px));padding:31px;border:1px solid #ae8dc38c;border-radius:17px;background:linear-gradient(135deg,#30263c,#1d1c2d);color:#f2e7f8;text-align:center;box-shadow:0 25px 100px #0009}.story-confirm::backdrop{background:#0d0b16b8;backdrop-filter:blur(6px)}.story-confirm-star{display:block;margin-bottom:15px;font-size:27px;color:#d1aee4}.story-confirm .story-kicker{font-size:8px;letter-spacing:2px;color:#b19ac5}.story-confirm h2{font-size:22px;font-weight:500;line-height:1.4;margin:12px 0;color:#f2e7f8}.story-confirm>p[data-story-confirm-copy]{font-size:12px;line-height:1.85;color:#c6b4d5;margin:15px 0 25px;white-space:pre-line}.story-confirm>div{display:flex;gap:9px}.story-confirm button{flex:1;min-height:40px;padding:10px 12px;border:1px solid #ba9bce4d;border-radius:6px;background:#3e304b;color:#dfc9eb;font-size:11px}.story-confirm button[data-story-confirm-yes]{background:#c4a3d8;color:#282032;border-color:#c4a3d8;font-weight:600}
.story-native-content{position:relative;padding:10px 28px;background:#171722;color:#baadca;font-size:10px}.story-native-content summary{cursor:pointer}.story-native-content[open]{padding-bottom:24px}
.tc-story[data-scene="sunset"] .story-scenery{background:radial-gradient(ellipse at 55% 35%,#ffc98f66,transparent 60%),linear-gradient(100deg,#473449,#9b6c76 55%,#5c405b)}
.tc-story[data-scene="sunset"] .story-window{background:radial-gradient(circle at 65% 55%,#ffd89c,transparent 35%),linear-gradient(#a77ca1,#f3a788 55%,#cc7a7e)}
.tc-story[data-scene="sunset"] .story-moon{background:#ffe1ac;box-shadow:0 0 40px #fddf9a77;top:44%;width:60px;height:60px}.tc-story[data-scene="sunset"] .story-moon:after{display:none}.tc-story[data-scene="sunset"] .story-floor{background:linear-gradient(#5b3e4b,#2c2433)}.tc-story[data-scene="sunset"] .story-window:before{opacity:0}
.tc-story[data-scene="night"] .story-scenery{background:radial-gradient(ellipse at 51% 30%,#6887c33b,transparent 60%),linear-gradient(95deg,#192438,#2e3c5a 50%,#252641)}.tc-story[data-scene="night"] .story-window{background:radial-gradient(ellipse at 50% 80%,#a2a7dc33,transparent),linear-gradient(#101d3c,#353d64)}.tc-story[data-scene="night"] .story-moon{background:#e1e8fe;box-shadow:0 0 50px #b4d1ff88}.tc-story[data-scene="night"] .story-moon:after{background:#172240}.tc-story[data-scene="night"] .story-window:before{background-size:130px 150px}
.tc-story[data-reduced-motion="true"] *{animation:none!important;transition:none!important}
@keyframes story-breathe{0%,100%{transform:translateX(-50%) scale(1)}50%{transform:translateX(-50%) scale(1.012)}}
@keyframes story-glimmer{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:.8;transform:translateY(-6px)}}
@keyframes story-pane-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
@media(min-width:1600px){.tc-story{padding:28px 40px 18px}.story-heading{margin-bottom:22px}.tc-story h1{font-size:30px}.story-stage{max-height:850px}.story-character{bottom:158px;height:78%;max-height:650px}.story-dialogue{padding:18px 26px 15px;left:24px;right:24px;bottom:23px}.tc-story .story-line{font-size:18px;margin:16px 0 20px}.story-choices button{font-size:12px;padding:12px}.story-scene-copy{font-size:11px;left:45px}.story-character-label{bottom:240px;right:45px}.story-affection{min-width:190px}.story-affection>div:first-child{font-size:10px}.story-pane{width:430px;padding:27px}.story-pane h2{font-size:21px}.story-gift-list article,.story-scene-list article{padding:17px 12px}}
@media(max-height:760px) and (min-width:761px){.tc-story{padding-top:17px;min-height:530px}.story-heading{margin-bottom:13px}.tc-story h1{font-size:23px}.story-wallet{padding:8px 12px}.story-stage{min-height:390px}.story-dialogue{padding:12px 17px 10px;bottom:14px;left:15px;right:15px}.tc-story .story-line{margin:10px 0 12px;font-size:14px;min-height:29px}.story-choices button{min-height:34px;padding:8px 9px}.story-character{bottom:130px;height:77%}.story-dialogue-bottom{margin-top:9px}.story-pane{top:71px;padding:18px}.story-pane-intro{margin-bottom:13px}.story-gift-list article,.story-scene-list article{padding:10px 8px}.story-gift-list,.story-scene-list{gap:8px}.story-pane-note{margin-top:14px}.story-rail button{min-height:57px}}
@media(max-width:1050px) and (min-width:761px){.tc-story{padding-left:18px;padding-right:18px}.story-playground{gap:8px}.story-rail{flex-basis:51px;padding:8px 4px}.story-scene-info{top:18px;left:17px;max-width:46%;line-height:1.5;gap:5px}.story-affection{right:17px;min-width:144px}.story-scene-copy{left:20px;font-size:8px;letter-spacing:1px}.story-choices{gap:5px}.story-choices button{font-size:9px;gap:5px;padding-left:7px;padding-right:7px}.story-character-label{right:20px}.story-character{left:50%;max-width:65%}.story-footer-note{display:none}}
@media(max-width:760px){.tc-site-shell .tc-shell-anime:has(.tc-story){height:auto;min-height:100%!important}.tc-story{height:calc(100dvh - 196px);min-height:610px;padding:17px 13px 10px}.story-heading{margin-bottom:15px;gap:10px}.tc-story .story-kicker{font-size:8px;letter-spacing:2px;margin-bottom:7px}.tc-story h1{font-size:21px;letter-spacing:-.8px}.story-title-star{font-size:13px;margin-left:7px}.story-wallet{min-width:119px;padding:8px 10px;gap:8px;border-radius:10px}.story-wallet .story-coin{width:25px;height:25px;font-size:11px}.story-wallet small{font-size:8px}.story-wallet strong{font-size:14px}.story-wallet a{display:none}.story-playground{flex-direction:column;gap:9px}.story-stage{min-height:430px;flex:1;border-radius:13px}.story-rail{flex:0 0 51px;flex-direction:row;padding:4px 7px;gap:6px;border-radius:10px}.story-rail button{min-height:42px;flex:1;flex-direction:row;gap:7px}.story-rail button>span{font-size:20px}.story-rail button>small{font-size:9px}.story-rail-spacer{display:none}.story-scene-info{left:16px;top:16px;max-width:48%;font-size:8px;gap:5px;line-height:1.6}.story-scene-divider{display:none}.story-scene-info>[data-story-episode]{width:100%;padding-left:10px;font-size:8px;color:#c5b3d1}.story-affection{right:13px;top:13px;min-width:142px;padding:9px 10px}.story-affection>div:first-child{font-size:8px}.story-affection strong{font-size:9px}.story-scene-copy{top:31%;left:18px;font-size:7px;letter-spacing:1px}.story-character{left:54%;bottom:184px;height:62%;max-width:75%;max-height:370px}.story-character-label{right:18px;bottom:250px}.story-character-label>span{font-size:15px;letter-spacing:5px}.story-character-label small{font-size:8px;letter-spacing:0}.story-dialogue{left:10px;right:10px;bottom:10px;padding:13px 14px 10px;border-radius:9px}.story-name{font-size:12px}.story-dialogue-tools{gap:10px}.tc-story .story-line{min-height:37px;margin:11px 0;font-size:13px;line-height:1.7}.story-choices{grid-template-columns:1fr;gap:5px}.story-choices button{min-height:30px;padding:6px 10px;font-size:10px}.story-choices button>span{font-size:8px}.story-dialogue-bottom{margin-top:9px}.story-dialogue-bottom>small{font-size:7px}.story-next{font-size:8px}.story-footer{min-height:31px;gap:7px}.tc-story .story-footer p{font-size:8px;max-width:100%;line-height:1.5}.story-footer-note{display:none}.story-footer a{font-size:8px}.story-pane{top:72px;left:10px;right:10px;bottom:10px;width:auto;padding:19px}.story-pane>header{margin-bottom:13px}.tc-story .story-pane h2{font-size:18px}.tc-story .story-pane-intro{font-size:10px;margin-bottom:17px}.story-window{left:11%;width:72%;height:67%}.story-curtain-left{left:-3%;width:24%}.story-curtain-right{right:-3%;width:27%}.story-floor{top:63%}.story-moon{width:43px;height:43px}.story-native-content{padding-left:14px;padding-right:14px}}
@media(max-width:380px){.tc-story{padding-left:9px;padding-right:9px}.tc-story h1{font-size:18px}.story-title-star{display:none}.story-wallet{min-width:110px}.story-affection{min-width:130px;right:10px;padding:8px}.story-affection strong small{font-size:7px}.story-character-label{display:none}.story-scene-copy{font-size:6px}.story-rail button{gap:5px}.story-pane{padding:16px}.story-gift-list article,.story-scene-list article{gap:8px;padding:10px 7px}.story-gift-icon{width:33px;height:38px;font-size:22px}.story-scene-thumb{width:54px;height:41px}.tc-story .story-pane h3{font-size:11px}.tc-story .story-gift-list p,.tc-story .story-scene-list p{font-size:7px}.story-pane article button{padding:7px;font-size:8px}}
@media(prefers-reduced-motion:reduce){.tc-story *,.tc-story *:before,.tc-story *:after{animation:none!important;transition:none!important}}

/* Direct conversation shares the stage with the original choice-based story. */
.story-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.story-name .story-chat-mode{margin-left:3px;padding-left:9px;border-left:1px solid #b497c347;font-family:inherit;font-size:8px;font-weight:400;letter-spacing:0;color:#ad98bd;line-height:1.2}
.story-dialogue-tools .story-free-toggle{padding:5px 8px;background:#a580bc13;border:1px solid #b99bce33;border-radius:5px;color:#d2b7e1;font-size:9px;line-height:1.2;letter-spacing:0}
.story-dialogue-tools .story-free-toggle:hover{background:#b28fcd26;border-color:#bd99d573}
.story-dialogue-tools .story-free-toggle[aria-pressed="true"]{background:#c5a2db;color:#30223a;border-color:#c5a2db}
.story-free-form{margin:0;padding:0;min-width:0}
.story-free-log{margin:0 0 9px;padding:0;border:0;border-radius:5px}.story-free-log>summary{width:fit-content;cursor:pointer;padding:3px 1px;color:#b59bc8;font-size:8px;line-height:1.6;letter-spacing:.2px}.story-free-log>summary::marker{color:#b591ce}.story-free-log>summary:hover{color:#e1c7f0}.story-free-log[open]>summary{margin-bottom:5px}.story-free-log>summary:focus-visible{outline:2px solid #d6bce9;outline-offset:2px}
.story-free-history{max-height:91px;min-height:29px;margin:0 0 10px;padding:2px 9px 2px 2px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#745a85 transparent;border-radius:5px;overflow-wrap:anywhere}
.tc-story .story-free-empty{margin:0;padding:7px 9px;color:#a591b5;font-size:10px;line-height:1.5;background:#a88ac60a;border-radius:5px}
.story-free-history .story-free-message{display:flex;flex-direction:column;gap:3px;width:fit-content;max-width:87%;margin:0 0 7px;padding:8px 11px;border:1px solid #b99bce25;border-radius:8px 8px 8px 2px;background:#c1a0d50c;color:#d7c6e4;font-size:10px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.story-free-history .story-free-message:last-child{margin-bottom:0}
.story-free-history .story-free-message[data-speaker="user"]{margin-left:auto;background:#9a6db42b;border-color:#bd9bd73b;border-radius:8px 8px 2px 8px;color:#ead9f5}
.story-free-history .story-free-message strong,.story-free-history .story-free-message small{display:block;font-size:8px;line-height:1.3;color:#bca1cf;font-weight:500}
.tc-story .story-free-history .story-free-message p{margin:0;color:inherit;font-size:inherit;line-height:inherit;white-space:pre-wrap;overflow-wrap:anywhere}
.story-free-history .story-free-message[data-speaker="user"] strong,.story-free-history .story-free-message[data-speaker="user"] small{color:#d0acdf}
.story-free-input-row{display:flex;gap:8px;align-items:stretch;min-width:0}
.tc-site-shell .tc-story .story-free-input-row textarea{display:block;flex:1;min-width:0;width:100%;min-height:53px;max-height:100px;resize:vertical;margin:0;padding:10px 12px;border:1px solid #b59ac34d;border-radius:6px;background:#17152199;color:#f0e5f7;font-family:inherit;font-size:11px;line-height:1.6;box-shadow:inset 0 2px 8px #0002;scrollbar-width:thin;scrollbar-color:#745a85 transparent;overflow-wrap:anywhere}
.tc-site-shell .tc-story .story-free-input-row textarea::placeholder{color:#9883aa;opacity:1}
.tc-site-shell .tc-story .story-free-input-row textarea:focus{border-color:#c3a0da}
.story-free-input-row .story-free-send{display:flex;flex:none;align-items:center;justify-content:center;gap:9px;min-width:74px;padding:10px 14px;border:1px solid #d6b2e779;border-radius:6px;background:#b594cd;color:#211c2b;font-size:11px;font-weight:600;line-height:1.4}
.story-free-input-row .story-free-send:hover{background:#d1b1e5}
.story-free-input-row .story-free-send:disabled{opacity:.45;cursor:wait}
.story-free-input-row .story-free-send>span{font-size:14px;font-weight:400}
.story-free-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:7px;font-size:8px;line-height:1.6;color:#a48db6}
.story-free-meta small{font-size:8px;color:#a998b8;line-height:1.6}
.story-free-meta>span{flex:none;white-space:nowrap;color:#b49bc5;font-variant-numeric:tabular-nums}
.story-dialogue:has([data-story-free-form]:not([hidden])) .story-next{display:none}
.story-dialogue:has([data-story-free-form]:not([hidden])){max-height:calc(100% - 80px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#745a85 transparent}
.story-dialogue:has([data-story-free-form]:not([hidden])) .story-dialogue-bottom{display:none}
.story-dialogue:has([data-story-free-form]:not([hidden])) .story-line{max-height:77px;min-height:30px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#745a85 transparent;padding-right:5px;overflow-wrap:anywhere}
.story-stage:has([data-story-free-form]:not([hidden])) .story-character{bottom:210px;height:calc(100% - 235px);max-height:420px}
.story-stage:has([data-story-free-form]:not([hidden])) .story-character-label{bottom:293px}
@media(min-width:1600px){.story-free-history{max-height:115px}.tc-site-shell .tc-story .story-free-input-row textarea{font-size:13px;min-height:64px}.story-free-input-row .story-free-send{font-size:12px;min-width:88px}.story-free-history .story-free-message{font-size:12px}.story-free-history .story-free-message strong,.story-free-history .story-free-message small{font-size:9px}.story-stage:has([data-story-free-form]:not([hidden])) .story-character{bottom:250px;height:calc(100% - 280px);max-height:570px}.story-stage:has([data-story-free-form]:not([hidden])) .story-character-label{bottom:329px}}
@media(max-height:760px) and (min-width:761px){.story-free-history{max-height:60px;margin-bottom:7px}.story-free-history .story-free-message{padding:6px 9px;margin-bottom:5px}.tc-site-shell .tc-story .story-free-input-row textarea{min-height:49px;padding:8px 11px;max-height:70px;resize:none}.story-free-meta{margin-top:5px}.story-dialogue:has([data-story-free-form]:not([hidden])) .story-line{max-height:50px;margin:8px 0 10px}.story-stage:has([data-story-free-form]:not([hidden])) .story-character{bottom:205px;height:calc(100% - 230px);max-height:370px}.story-stage:has([data-story-free-form]:not([hidden])) .story-character-label{bottom:273px}}
@media(max-width:1050px) and (min-width:761px){.story-name .story-chat-mode{font-size:7px;padding-left:6px;margin-left:0}.story-dialogue-tools{gap:8px}.story-dialogue-tools .story-free-toggle{font-size:8px;padding:5px 6px}.story-free-meta small{font-size:7px}.story-free-input-row .story-free-send{min-width:65px;padding:8px 11px}}
@media(max-width:760px){.story-name .story-chat-mode{font-size:7px;padding-left:7px;margin-left:0}.story-name{gap:6px}.story-dialogue-tools{gap:8px}.story-dialogue-tools .story-free-toggle{font-size:8px;padding:5px 6px}.story-free-history{max-height:65px;min-height:26px;margin-bottom:8px}.story-free-history .story-free-message{max-width:93%;font-size:10px;padding:7px 9px;line-height:1.6}.tc-site-shell .tc-story .story-free-input-row textarea{min-height:56px;max-height:80px;padding:9px 10px;font-size:12px;line-height:1.5;resize:none}.story-free-input-row{gap:6px}.story-free-input-row .story-free-send{min-width:58px;padding:8px 10px;font-size:10px;gap:4px}.story-free-input-row .story-free-send>span{font-size:11px}.story-free-meta{font-size:7px;gap:10px;margin-top:6px}.story-free-meta small{font-size:7px;max-width:225px}.story-dialogue:has([data-story-free-form]:not([hidden])) .story-line{min-height:33px;max-height:62px;font-size:12px;margin:10px 0}.story-stage:has([data-story-free-form]:not([hidden])) .story-character{bottom:215px;height:calc(100% - 240px);max-height:320px}.story-stage:has([data-story-free-form]:not([hidden])) .story-character-label{bottom:300px}}
@media(max-width:380px){.story-name .story-chat-mode{display:none}.story-dialogue-tools{gap:7px}.story-free-meta small{max-width:205px}.story-free-input-row .story-free-send{min-width:54px;padding:8px}.story-free-history{max-height:70px}}

@media(min-width:761px){.tc-site-shell .tc-shell-anime:has(.tc-story){display:flex;flex-direction:column}.tc-site-shell .tc-shell-anime>.tc-story{flex:1 1 0;height:auto;min-height:0}.tc-site-shell .tc-shell-anime>.story-native-content{flex:none}}

.story-name,.story-dialogue-tools button{white-space:nowrap}
@media(max-width:480px){.story-name .story-chat-mode{display:none}.story-name{flex:none}.story-dialogue-tools{margin-left:auto}}
