/* Tsuki Create v2 — The Moonlit Atelier. Scoped: never restyle the host site. */
#tc-app{--tc-night:#100b1b;--tc-deep:#191026;--tc-card:#211630;--tc-border:#65466e;--tc-text:#fff3fa;--tc-muted:#d5bdd4;--tc-rose:#f2a5c9;--tc-gold:#f3dbab;--tc-lilac:#c6b0ff;color:var(--tc-text);background:var(--tc-night);font-family:Inter,'Segoe UI',system-ui,sans-serif;line-height:1.5;isolation:isolate;position:relative;overflow:hidden;min-height:700px}
#tc-app *{box-sizing:border-box}#tc-app button,#tc-app input,#tc-app select,#tc-app textarea{font:inherit}#tc-app a{color:inherit}#tc-app button{cursor:pointer}#tc-app button:disabled{cursor:not-allowed;opacity:.58}#tc-app [hidden]{display:none!important}
#tc-app .tc-background{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 66% 490px at 87% 1%,#75436570,transparent 80%),radial-gradient(ellipse 50% 660px at 0 19%,#39244b90,transparent 75%),radial-gradient(ellipse 65% 550px at 85% 65%,#39223f50,transparent 85%),linear-gradient(180deg,#181022 0%,#0f0b17 50%,#15101d 100%)}#tc-app .tc-background:before{content:'';position:absolute;inset:0;opacity:.4;background-image:radial-gradient(#fee5b8 1px,transparent 1.3px),radial-gradient(#efd2ff .9px,transparent 1px);background-position:23px 7px,130px 100px;background-size:173px 176px,283px 280px;mask-image:linear-gradient(to bottom,#000,transparent 75%)}
#tc-app .tc-shell{width:min(1220px,calc(100% - 44px));margin:0 auto}#tc-app .tc-announcement{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:18px 0 14px;font-size:10px;letter-spacing:.19em;font-weight:700;color:#e3b4d0}#tc-app .tc-announcement-mark{font-size:19px;color:var(--tc-gold)}#tc-app .tc-announcement-right{margin-left:auto;color:#b494bd;font-size:9px;letter-spacing:.17em}
#tc-app .tc-hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:35px;align-items:center;padding:34px 0 46px;min-height:430px}#tc-app .tc-hero-copy{position:relative;padding:10px 0}#tc-app .tc-overline{font-size:11px;letter-spacing:.22em;font-weight:750;color:var(--tc-gold);display:inline-block;text-transform:uppercase}#tc-app .tc-twinkle{font-size:23px;vertical-align:middle;margin-right:6px}#tc-app h1,#tc-app h2,#tc-app h3,#tc-app p{margin:0}#tc-app h1,#tc-app h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.035em}#tc-app h1{font-size:clamp(48px,5.5vw,79px);line-height:1.08;margin:22px 0 20px;max-width:580px}#tc-app h1 em,#tc-app h2 em{font-weight:400;color:var(--tc-rose)}#tc-app .tc-hero-copy>p{font-size:16px;line-height:1.85;color:#d6c1d5;max-width:520px}#tc-app .tc-hero-actions,#tc-app .tc-action-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}#tc-app .tc-hero-actions{margin-top:27px}#tc-app .tc-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;min-height:45px;padding:11px 19px;border:1px solid #93688a;text-decoration:none;font-size:13px;font-weight:750;transition:transform .16s,background .16s,border-color .16s;color:#fff1f9;background:#35253d}#tc-app .tc-button:hover:not(:disabled){transform:translateY(-2px);border-color:#efbed5}#tc-app .tc-button:focus-visible,#tc-app button:focus-visible,#tc-app textarea:focus-visible,#tc-app input:focus-visible,#tc-app select:focus-visible,#tc-app a:focus-visible{outline:2px solid #f4cfaa;outline-offset:3px}#tc-app .tc-button-primary{background:linear-gradient(135deg,#f6bacd,#e58cc0);color:#2d1332;border-color:#fac9d7;box-shadow:0 7px 26px #d77ba73d}#tc-app .tc-button-outline{background:#38243d65;color:#f8dfe9}#tc-app .tc-hero-trust{display:flex;flex-wrap:wrap;gap:18px;color:#c9afc7;font-size:11px;margin-top:30px}#tc-app .tc-hero-art{margin:0;position:relative;border:1px solid #be86b6;background:linear-gradient(130deg,#ad70976b,#5d406c);border-radius:25px;padding:8px;box-shadow:0 24px 70px #0300078f,0 0 0 7px #b7789940;transform:rotate(1deg)}#tc-app .tc-hero-art img{display:block;width:100%;height:auto;aspect-ratio:770/560;object-fit:cover;border-radius:18px}#tc-app .tc-hero-art figcaption{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#130b20c9;border:1px solid #aa7298;color:#f4cbdd;border-radius:99px;padding:8px 18px;font-size:11px;letter-spacing:.05em;backdrop-filter:blur(9px)}
#tc-app .tc-subnav{border-block:1px solid #614662;display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 5px;margin-bottom:42px}#tc-app .tc-subnav a{font-size:12px;text-decoration:none;color:#dbc7db;padding:10px 13px;border-radius:10px}#tc-app .tc-subnav a:hover{background:#6b43614a;color:white}#tc-app .tc-subnav-state{display:flex;align-items:center;gap:8px;color:var(--tc-gold);letter-spacing:.15em;font-size:10px;font-weight:750;margin-left:auto}#tc-app .tc-subnav-state i{height:7px;width:7px;display:block;background:#a6d8ba;border-radius:50%;box-shadow:0 0 10px #8ccfaf}
#tc-app .tc-section{padding:10px 0 60px;scroll-margin-top:30px}#tc-app .tc-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:27px}#tc-app h2{font-size:clamp(35px,4vw,51px);line-height:1.12;margin:9px 0}#tc-app .tc-heading p{color:var(--tc-muted);font-size:13px;margin-top:4px}#tc-app .tc-quota{display:flex;align-items:center;gap:12px;padding:11px 19px;border:1px solid #84648c;background:#2b1d3dba;border-radius:15px;min-width:230px}#tc-app .tc-quota>span{font-size:25px;color:var(--tc-gold)}#tc-app .tc-quota strong{display:block;font-size:12px;color:#fff0f3}#tc-app .tc-quota small{display:block;font-size:10px;color:#bba6c6;margin-top:3px}#tc-app .tc-studio-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:start;gap:22px}#tc-app .tc-panel{border:1px solid #65476b;background:linear-gradient(155deg,#281b39fa,#1a1328 70%);border-radius:23px;padding:28px;box-shadow:0 20px 56px #04020a53;min-width:0}#tc-app .tc-panel-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:20px}#tc-app .tc-panel-number{color:#b89fbe;font-size:10px;letter-spacing:.19em;font-weight:800}#tc-app .tc-tag{font-size:10px;letter-spacing:.14em;color:var(--tc-gold);background:#65435445;padding:7px 12px;border:1px solid #77607178;border-radius:99px;font-weight:700}#tc-app .tc-editor-heading{margin:10px 0 19px}#tc-app h3{font-family:Georgia,'Times New Roman',serif;font-size:26px;font-weight:500}#tc-app .tc-editor-heading p{color:#c8b4ce;font-size:12px;margin-top:5px}#tc-app .tc-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:23px}#tc-app .tc-preset{min-width:0;border:1px solid #634769;border-radius:13px;background:#35243d;color:#e6d2e2;padding:10px 5px;font-size:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;line-height:1.25;min-height:71px}#tc-app .tc-preset b{font-weight:650}#tc-app .tc-preset>span{font-size:21px;line-height:1.2}#tc-app .tc-preset:hover,#tc-app .tc-preset.is-active{border-color:#f0a7cd;background:#6d3b66a8;color:white;box-shadow:inset 0 0 0 1px #bf6caa8a}#tc-app label,#tc-app .tc-label-line>strong{color:#f1dae8;font-size:12px;font-weight:760;display:block}#tc-app .tc-label-line{display:flex;justify-content:space-between;gap:12px;margin:14px 0 8px;align-items:center}#tc-app .tc-label-line>span{font-size:10px;color:#ad99b7}#tc-app textarea,#tc-app select,#tc-app input[type=search]{width:100%;background:#170f22;color:#f7eaf3;border:1px solid #68536e;border-radius:12px;padding:12px 13px;resize:vertical;outline:0;font-size:13px;transition:border-color .16s,box-shadow .16s}#tc-app textarea:focus,#tc-app select:focus,#tc-app input[type=search]:focus{border-color:#e3a2c6;box-shadow:0 0 0 3px #d582bc33}#tc-app textarea::placeholder,#tc-app input::placeholder{color:#9a839f}#tc-app select{padding-right:18px;cursor:pointer;min-height:45px}#tc-app .tc-advanced{margin:13px 0;border:1px solid #5c465d;border-radius:12px;padding:0 12px;background:#271c2f}#tc-app .tc-advanced summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:13px 0;color:#efc9dd;font-size:12px;font-weight:750}#tc-app .tc-advanced summary::-webkit-details-marker{display:none}#tc-app .tc-advanced summary small{font-size:10px;font-weight:450;color:#aa91ac}#tc-app .tc-advanced label{margin:0 0 7px}#tc-app .tc-advanced textarea{margin-bottom:12px}#tc-app .tc-rule{text-align:center;color:#9b718e;position:relative;margin:18px 0 6px}#tc-app .tc-rule:before{content:'';height:1px;background:#5b435c;position:absolute;inset:50% 0 auto}#tc-app .tc-rule span{position:relative;padding:0 12px;background:#251934}#tc-app .tc-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 20px}#tc-app .tc-settings label{font-size:11px;margin-bottom:6px}#tc-app .tc-settings select{font-size:12px;padding:10px 8px}#tc-app .tc-model-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}#tc-app .tc-link-button{border:0;background:transparent;color:#eeb3d2;font-size:11px;font-weight:700;padding:6px}#tc-app .tc-link-button:hover{text-decoration:underline}#tc-app .tc-model-picker{border-color:#bb819d!important}#tc-app .tc-model-foot{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;margin:8px 0 11px}#tc-app .tc-model-foot p{font-size:11px;color:#bfaac6;line-height:1.5}#tc-app .tc-model-foot button{flex:none;white-space:nowrap;background:#563653;border:1px solid #8e5c83;color:#f0c6db;border-radius:9px;padding:6px 9px;font-size:10px}#tc-app .tc-health{margin:3px 0 13px;padding:3px 0}#tc-app .tc-consent{display:flex;gap:10px;align-items:flex-start;font-size:11px;font-weight:400;line-height:1.55;color:#ceb7cf;background:#21152d;border:1px solid #56415a;border-radius:11px;padding:12px;margin:18px 0}#tc-app .tc-consent input{accent-color:#d68bb9;width:15px;height:15px;margin-top:2px;flex:none}#tc-app .tc-consent span{flex:1}#tc-app .tc-consent a{text-decoration:underline;text-underline-offset:2px}#tc-app .tc-message{background:#392943;border:1px solid #745374;border-radius:12px;padding:12px 14px;margin:13px 0 15px;color:#f3dce9;font-size:12px;line-height:1.5;min-height:43px}#tc-app .tc-message.is-error{border-color:#b97090;background:#4e2a3c}#tc-app .tc-message.is-success{border-color:#76a990;background:#254539}#tc-app .tc-generate{flex:1;min-width:160px;min-height:51px}#tc-app .tc-action-row .tc-button-outline{min-height:51px}#tc-app .tc-editor-footnote{font-size:10px;color:#ae9bb7;line-height:1.65;margin-top:18px}
#tc-app .tc-preview{position:sticky;top:20px}#tc-app .tc-preview-head{margin-bottom:18px}#tc-app .tc-preview-head p{font-size:11px;color:#c4a9c6;margin-top:6px;overflow-wrap:anywhere}#tc-app .tc-canvas{position:relative;display:grid;place-items:center;min-height:350px;aspect-ratio:1;border:1px solid #86638c;background:radial-gradient(circle at 48% 31%,#44335b,#261b37 46%,#130f23 100%);border-radius:17px;padding:14px;overflow:hidden}#tc-app .tc-canvas:before{content:'';position:absolute;inset:10px;pointer-events:none;border:1px solid #98668f46;border-radius:12px}#tc-app .tc-canvas img{position:relative;display:block;max-width:100%;max-height:640px;width:100%;height:100%;object-fit:contain;z-index:1;border-radius:10px}#tc-app .tc-canvas-empty{text-align:center;padding:20px;max-width:300px;z-index:1;display:flex;flex-direction:column;align-items:center}#tc-app .tc-canvas-moon{height:114px;width:114px;border:1px solid #a575b0;background:radial-gradient(circle at 36% 35%,#b788bb,#704875 38%,#412c55 68%);border-radius:50%;display:grid;place-items:center;margin-bottom:29px;box-shadow:0 0 0 10px #b884a91b,0 0 66px #c184ba43;color:#f5dcae;font-size:43px}#tc-app .tc-canvas-empty strong{font-family:Georgia,serif;font-size:23px;font-weight:500}#tc-app .tc-canvas-empty p{font-size:12px;color:#c4adcd;margin-top:10px;line-height:1.7}#tc-app .tc-progress{border:1px solid #835d80;background:#32233d;border-radius:14px;margin-top:15px;padding:13px 15px}#tc-app .tc-progress-top{display:flex;align-items:center;gap:10px;font-size:12px}#tc-app .tc-loading-symbol{display:inline-block;animation:tc-spin 2.8s linear infinite;color:#ffcfda;font-size:25px}#tc-app .tc-progress-line{height:5px;background:#69506f;margin:12px 0;border-radius:99px;overflow:hidden}#tc-app .tc-progress-line span{display:block;height:100%;width:40%;background:linear-gradient(90deg,#cc89cf,#ffc4d2);animation:tc-move 2.4s ease-in-out infinite alternate;border-radius:99px}#tc-app .tc-progress p,#tc-app .tc-progress small{color:#d4bdd7;font-size:11px;display:block;line-height:1.65}#tc-app .tc-preview-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}#tc-app .tc-preview-actions .tc-button{flex:1}#tc-app .tc-preview-footer{display:flex;justify-content:space-between;gap:6px;color:#bda6c3;font-size:10px;border-top:1px solid #624c62;padding-top:18px;margin-top:16px}
#tc-app .tc-gallery-tools{display:flex;gap:9px;align-items:center}#tc-app .tc-gallery-tools input{min-width:200px}#tc-app .tc-gallery-tools button{white-space:nowrap}#tc-app .tc-gallery-tools button.is-active{border-color:#f8baca;color:#ffe0ed;background:#8a4f79}#tc-app .tc-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}#tc-app .tc-gallery-empty{border:1px dashed #886587;border-radius:22px;background:#21172f78;min-height:170px;display:grid;place-items:center;text-align:center;padding:25px;color:#cbb0c9;font-size:13px;grid-column:1/-1}#tc-app .tc-gallery-card{min-width:0;background:linear-gradient(145deg,#30213f,#1d1528);border:1px solid #634665;border-radius:17px;overflow:hidden;box-shadow:0 8px 23px #00000038}#tc-app .tc-gallery-card img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block;background:#2b1d3b}#tc-app .tc-gallery-body{padding:13px}#tc-app .tc-gallery-prompt{font-size:12px;color:#f4d8e8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden;min-height:36px}#tc-app .tc-gallery-meta{margin:8px 0;font-size:10px;color:#af97b1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#tc-app .tc-gallery-actions{display:flex;gap:5px;flex-wrap:wrap}#tc-app .tc-gallery-actions button,#tc-app .tc-gallery-actions a{border:1px solid #76547b;background:#43304d;color:#f4ddeb;border-radius:9px;padding:7px 9px;text-decoration:none;font-size:11px;flex:1;min-width:26px;text-align:center}#tc-app .tc-gallery-actions button:hover,#tc-app .tc-gallery-actions a:hover{background:#754e74}#tc-app .tc-how{padding-top:12px}#tc-app .tc-how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}#tc-app .tc-how-grid article{background:#281b35a6;border:1px solid #604862;border-radius:18px;padding:24px}#tc-app .tc-how-icon{font-size:27px;color:#f3ceab;margin-bottom:8px}#tc-app .tc-how-grid h3{font-size:22px;margin:8px 0}#tc-app .tc-how-grid p{font-size:12px;color:#c5adc7;line-height:1.75}#tc-app .tc-gate{text-align:center;border:1px solid #745774;background:#281c37;border-radius:22px;padding:58px 20px;margin-bottom:15px}#tc-app .tc-gate-icon{font-size:45px;color:#efc3da;margin-bottom:15px}#tc-app .tc-gate h3{font-size:31px}#tc-app .tc-gate p{font-size:13px;max-width:550px;margin:16px auto 24px;color:#d4bed4;line-height:1.8}#tc-app .tc-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid #5a4259;color:#bca1b9;padding:24px 0 45px;font-size:10px;letter-spacing:.11em}
@keyframes tc-spin{to{transform:rotate(360deg)}}@keyframes tc-move{to{transform:translateX(135%)}}@media(max-width:1000px){#tc-app .tc-hero{gap:22px}#tc-app .tc-studio-layout{grid-template-columns:1fr 1fr}#tc-app .tc-panel{padding:20px}#tc-app .tc-presets{grid-template-columns:repeat(3,minmax(0,1fr))}#tc-app .tc-settings{grid-template-columns:1fr}#tc-app .tc-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:740px){#tc-app .tc-shell{width:min(100% - 28px,580px)}#tc-app .tc-announcement-right{display:none}#tc-app .tc-hero{display:flex;flex-direction:column;padding:19px 0 35px;gap:33px}#tc-app h1{font-size:52px}#tc-app .tc-hero-copy>p{font-size:14px}#tc-app .tc-hero-art{width:96%;transform:rotate(.5deg)}#tc-app .tc-studio-layout{grid-template-columns:1fr}#tc-app .tc-preview{position:relative;top:auto}#tc-app .tc-settings{grid-template-columns:repeat(2,minmax(0,1fr))}#tc-app .tc-section{padding-bottom:42px}#tc-app .tc-subnav{margin-bottom:26px}#tc-app .tc-subnav-state{width:100%;margin-left:8px;margin-top:5px}#tc-app .tc-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}#tc-app .tc-how-grid{grid-template-columns:1fr}#tc-app .tc-preview-footer{flex-wrap:wrap}#tc-app .tc-gallery-tools{width:100%}#tc-app .tc-gallery-tools input{flex:1;min-width:0}#tc-app .tc-heading{align-items:start}}@media(max-width:450px){#tc-app h1{font-size:44px}#tc-app h2{font-size:39px}#tc-app .tc-panel{padding:16px}#tc-app .tc-presets{grid-template-columns:repeat(3,minmax(0,1fr))}#tc-app .tc-settings{grid-template-columns:1fr}#tc-app .tc-canvas{min-height:295px}#tc-app .tc-gallery{gap:9px}#tc-app .tc-gallery-body{padding:8px}#tc-app .tc-gallery-actions{gap:3px}#tc-app .tc-gallery-actions button,#tc-app .tc-gallery-actions a{font-size:10px;padding:6px}#tc-app .tc-hero-trust{gap:8px 15px}#tc-app .tc-hero-actions .tc-button{flex:1}#tc-app .tc-hero-art figcaption{font-size:8px}#tc-app .tc-quota{min-width:0;width:100%}}@media(prefers-reduced-motion:reduce){#tc-app *,#tc-app *:before,#tc-app *:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
