@import "https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap";
:root{--ink:#fff;--muted:#ffffffa8;--soft:#ffffff14;--softer:#ffffff0b;--line:#ffffff29;--line-strong:#ffffff47;--glass-fill:#ffffff0a;--glass-fill-strong:#ffffff13;--glass-edge:#fff3;--glow:#7ae0ff57;--danger:#ff8aa3;--danger-bg:#9f294529;--shadow:0 30px 120px #00000080}*{box-sizing:border-box}html{background:#000;min-width:320px;min-height:100%}body{min-height:100%;color:var(--ink);background:#000;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled,textarea:disabled,input:disabled{cursor:not-allowed;opacity:.58}a{color:inherit;text-decoration:none}h1,h2,h3,p{overflow-wrap:anywhere}button:focus-visible,textarea:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:3px;outline:2px solid #ffffffb8}.cinematicShell{color:#fff;background:#000;flex-direction:column;height:100dvh;min-height:100dvh;display:flex;position:relative;overflow:hidden}.backgroundVideo{z-index:0;object-fit:cover;will-change:opacity;width:100%;height:124%;position:absolute;top:-24%;left:0;transform:translateY(17%)}.videoScrim{z-index:1;pointer-events:none;background:radial-gradient(circle at 50% 35%,#ffffff14,#0000 28%),linear-gradient(#0000005c,#000000ad 58%,#000000e0);position:absolute;inset:0}.liquid-glass{background-blend-mode:luminosity;-webkit-backdrop-filter:blur(10px)saturate(1.12);background:linear-gradient(#ffffff0b,#ffffff03),#ffffff03;border:none;position:relative;overflow:hidden;box-shadow:0 1px #ffffff14,inset 0 1px 1px #ffffff1f,inset 0 -1px #ffffff09}.liquid-glass:before{border-radius:inherit;content:"";pointer-events:none;-webkit-mask-composite:xor;background:linear-gradient(#ffffff73 0%,#ffffff26 20%,#fff0 40% 60%,#ffffff26 80%,#ffffff73 100%);padding:1.4px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;-webkit-mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.liquid-glass>*{z-index:1;position:relative}.smallGlassButton,.submitBar,.copyButton,.iconButton,.durationChip,.styleChip,.presetButton,.directionCard{color:#fff;border:0}.smallGlassButton:hover,.submitBar:hover,.copyButton:hover,.iconButton:hover,.durationChip:hover,.styleChip:hover,.presetButton:hover{background:var(--glass-fill-strong)}.heroContent{z-index:10;overscroll-behavior:contain;text-align:center;flex-direction:column;flex:1;justify-content:safe center;align-items:center;gap:20px;width:100%;height:100%;min-height:0;padding:34px 24px 38px;scroll-padding-top:24px;display:flex;position:relative;overflow:hidden auto}.heroContent>*{flex:none}.heroContent h1{color:#fff;letter-spacing:0;text-shadow:0 16px 60px #0000008f;white-space:nowrap;margin:0 0 8px;font-size:clamp(3.2rem,8vw,7rem);font-weight:400;line-height:.92}.agentCard,.resultPanel{width:min(740px,100%);box-shadow:var(--shadow), 0 0 0 1px #ffffff0b;border-radius:30px}.agentCard{text-align:left;gap:18px;padding:22px;display:grid;position:relative}.agentHeader,.fieldLabelRow,.selectedStyle,.resultHeader,.resultCardHeader,.modalHeader,.modalActions,.submitBar,.copyButton,.loadingCard{align-items:center;display:flex}.agentHeader{justify-content:space-between;gap:18px}.agentHeader span,.promptBox span,.refineField span,.fieldLabelRow span,.selectedStyle span,.resultHeader span,.modalHeader span,.exampleSection p{color:#ffffff8f;letter-spacing:0;text-transform:uppercase;align-items:center;gap:6px;margin:0 0 6px;font-size:.75rem;font-weight:780;display:flex}.agentHeader strong{color:#fff;font-size:1.06rem;line-height:1.22;display:block}.modeBar{background:#00000038;border-radius:999px;grid-template-columns:1fr 1fr;gap:5px;width:min(250px,100%);padding:5px;display:grid;box-shadow:inset 0 0 0 1px #ffffff14,inset 0 1px #ffffff14}.modeButton{color:#ffffffad;white-space:nowrap;background:0 0;border:0;border-radius:999px;min-width:0;min-height:40px;padding:9px 13px;font-size:.84rem;font-weight:780;transition:color .16s,background .16s}.modeButton.active{color:#111;background:#fff;box-shadow:0 10px 28px #ffffff24,0 0 20px #7ae0ff38}.durationField,.promptBox,.refineField{display:block}.durationField{padding:2px 2px 0}.fieldLabelRow{justify-content:space-between;gap:12px;margin-bottom:8px}.fieldLabelRow strong{color:#fff;letter-spacing:0;font-size:1.22rem}.durationSlider{accent-color:#fff;width:100%;height:30px}.durationPresetBar{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.durationChip,.styleChip{background:#ffffff0a;border-radius:999px;font-weight:760;transition:background .16s,color .16s}.durationChip{color:#ffffffb3;padding:8px 12px;font-size:.82rem}.durationChip.active{color:#111;background:#fff;box-shadow:0 9px 24px #ffffff21,0 0 18px #7ae0ff38}textarea,input:not([type=range]){color:#fff;border:1px solid var(--glass-edge);background:linear-gradient(#ffffff0f,#ffffff06),#0000002e;outline:none;width:100%;box-shadow:inset 0 1px #ffffff0f,inset 0 0 28px #ffffff05}textarea{resize:vertical;border-radius:20px;min-height:148px;padding:17px 18px;line-height:1.58}textarea::placeholder,input::placeholder{color:#ffffff61}textarea:focus,input:not([type=range]):focus{border-color:#bef3ffb8;box-shadow:0 0 0 4px #7ae0ff1a,0 0 30px #7ae0ff29,inset 0 1px #ffffff14}.selectedStyle{background:var(--glass-fill);border-radius:20px;justify-content:space-between;gap:14px;padding:15px 16px;box-shadow:inset 0 0 0 1px #ffffff14,inset 0 1px #ffffff14}.selectedStyle strong{color:#fff;font-size:1rem;display:block}.selectedStyle p{color:var(--muted);margin:4px 0 0;line-height:1.45}.smallGlassButton{white-space:nowrap;border-radius:999px;flex:none;min-height:40px;padding:10px 15px;font-size:.84rem;font-weight:780;transition:background .16s;box-shadow:inset 0 0 0 1px #ffffff14,0 12px 32px #00000029}.refineField textarea{min-height:106px}.exampleDrawer{background:var(--glass-fill);border-radius:20px;box-shadow:inset 0 0 0 1px #ffffff0f}.exampleDrawer summary{color:#ffffffd1;padding:14px 16px;font-size:.9rem;font-weight:780;list-style-position:inside}.exampleSection{padding:0 16px 16px}.chipGrid,.presetList{flex-wrap:wrap;gap:8px;display:flex}.styleChip{color:#ffffffc2;padding:9px 12px;font-size:.8rem}.presetButton{background:var(--glass-fill);color:#fffc;text-align:left;border-radius:16px;flex:240px;padding:12px 14px;font-size:.88rem;line-height:1.43;transition:background .16s}.errorText{color:var(--danger);background:var(--danger-bg);border:1px solid #ff8aa338;border-radius:18px;margin:0;padding:12px 14px;line-height:1.46}.submitBar{color:#fff;background:linear-gradient(90deg,#ffffff13,#ffffff07),#ffffff09;border-radius:999px;justify-content:space-between;gap:14px;width:100%;min-height:60px;padding:10px 10px 10px 22px;font-size:.98rem;font-weight:820;transition:background .16s,box-shadow .16s,transform .16s;box-shadow:inset 0 0 0 1px #ffffff14,0 14px 42px #0003}.submitBar svg{color:#111;background:#fff;border-radius:999px;flex:none;width:42px;height:42px;padding:11px;box-shadow:0 0 22px #ffffff38,0 0 34px #7ae0ff33}.submitBar:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 1px #ffffff1c,0 18px 52px #0000003d,0 0 34px #7ae0ff1c}.resultPanel{text-align:left;background:linear-gradient(#ffffff0d,#ffffff05),#0000001f;padding:22px}.resultHeader{border-bottom:1px solid #ffffff14;justify-content:space-between;gap:18px;margin-bottom:18px;padding-bottom:16px}.resultHeader h2,.modalHeader h2,.resultCard h3{letter-spacing:0;margin:0}.resultHeader h2,.modalHeader h2{font-size:clamp(1.35rem,2.8vw,2.2rem);line-height:1.12}.copyButton{background:var(--glass-fill);color:#ffffffdb;border-radius:999px;flex:none;gap:6px;min-height:40px;padding:9px 13px;font-size:.82rem;font-weight:780;transition:background .16s;box-shadow:inset 0 0 0 1px #ffffff14,0 10px 24px #00000029}.copyButton.compact{min-width:40px}.resultGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.resultCard{background:linear-gradient(#ffffff0d,#ffffff05),#0000003d;border:1px solid #ffffff1b;border-radius:18px;min-width:0;padding:17px;box-shadow:inset 0 1px #ffffff0b,0 16px 54px #0000002e}.resultCardHeader{color:#ffffffb3;justify-content:space-between;gap:12px;min-height:42px;margin-bottom:12px}.resultCard h3{color:#fff;font-size:.94rem;line-height:1.2}.resultCard p,.resultCard li,.metaLine{color:#ffffffbf;line-height:1.6}.resultCard p{margin:0}.wideCard{grid-column:1/-1}.titleText{color:#fff;margin:10px 0 13px;font-size:clamp(1.4rem,3vw,2.3rem);font-weight:820;line-height:1.08}.altTitleList{flex-wrap:wrap;gap:8px;display:flex}.altTitleList span{color:#ffffffc7;background:#ffffff0f;border-radius:999px;padding:8px 11px;font-size:.82rem;font-weight:760}pre{overflow-wrap:anywhere;color:#fffc;white-space:pre-wrap;margin:0;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.9rem;line-height:1.66}.promptScroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-color:#ffffff57 transparent;scrollbar-width:thin;background:linear-gradient(#ffffff09,#ffffff03),#0000002e;border:1px solid #ffffff14;border-radius:14px;width:100%;min-width:0;padding:14px;display:block;overflow:hidden auto;box-shadow:inset 0 1px #ffffff0a,inset 0 -18px 36px #00000014}.promptScroll::-webkit-scrollbar{width:8px;height:8px}.promptScroll::-webkit-scrollbar-thumb{background:#ffffff57 padding-box padding-box;border:2px solid #0000;border-radius:999px}.stylePromptText{max-height:188px}.lyricsPromptText{scrollbar-gutter:stable;height:clamp(176px,28vh,260px);max-height:clamp(176px,28vh,260px);padding-right:18px;line-height:1.72}.negativePromptText{max-height:132px}ol{margin:0;padding-left:20px}.metaLine{margin:14px 2px 0;font-size:.82rem}.modalLayer{z-index:50;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#00000094;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.styleModal{width:min(920px,100%);max-height:min(780px,100vh - 40px);box-shadow:var(--shadow);border-radius:28px;padding:24px;position:relative;overflow-y:auto}.modalHeader{justify-content:space-between;gap:18px}.iconButton{color:#ffffffd1;background:#ffffff0a;border-radius:999px;flex:none;place-items:center;width:42px;height:42px;transition:background .16s,transform .16s;display:grid}.directionHint{color:#ffffffad;margin:12px 0 0;line-height:1.55}.directionGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px;display:grid}.directionCard{background:var(--glass-fill);text-align:left;border-radius:20px;gap:9px;min-height:176px;padding:16px;transition:background .16s,box-shadow .16s,outline-color .16s,transform .16s;display:grid}.directionCard:hover{background:#ffffff13}.directionCard.selected{outline-offset:2px;background:linear-gradient(135deg,#73daff2e,#ffffff0b 42%),#ffffff13;outline:1px solid #a8edffd1;transform:translateY(-1px);box-shadow:0 0 0 1px #d2f9ff38,0 0 18px #70deff6b,0 0 54px #3e9fff52,0 18px 70px #00000042,inset 0 1px 1px #ffffff38,inset 0 0 26px #78e5ff1c}.directionCard.selected span{color:#c9f6ff;text-shadow:0 0 18px #70deffad}.directionCard.selected strong{color:#fff}.directionCard span{color:#fff;font-size:.83rem;font-weight:820}.directionCard strong{color:#ffffffe6;font-size:1rem;line-height:1.35}.directionCard small,.directionCard em{color:#ffffff9e;font-size:.84rem;font-style:normal;line-height:1.45}.modalRefine{margin-top:20px}.modalActions{justify-content:flex-end;gap:12px;margin-top:20px}.modalSubmit{width:min(330px,100%)}.loadingVeil{z-index:15;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#00000057;place-items:center;padding:18px;display:grid;position:absolute;inset:0}.loadingCard{color:#fff;border-radius:999px;gap:10px;padding:13px 18px;font-size:.9rem;font-weight:780}.loadingCard svg,.submitBar:disabled svg{animation:.85s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:860px){.heroContent{max-height:none}.heroContent h1{font-size:clamp(3rem,14vw,5.2rem)}.agentHeader,.selectedStyle,.resultHeader,.modalHeader,.modalActions{flex-direction:column;align-items:stretch}.modeBar{width:100%}.resultGrid,.directionGrid{grid-template-columns:1fr}.modalSubmit{width:100%}}@media (max-width:560px){.heroContent{justify-content:flex-start;gap:14px;max-height:none;padding:18px 12px}.heroContent h1{white-space:normal;font-size:clamp(2.55rem,13vw,3.8rem)}.agentCard,.resultPanel,.styleModal{border-radius:24px}.agentCard,.resultPanel{padding:15px}textarea{min-height:132px}.modalLayer{padding:12px}.styleModal{padding:16px}}@media (max-height:820px){.heroContent{padding-top:max(16px, env(safe-area-inset-top));justify-content:flex-start;gap:14px;padding-bottom:24px}.heroContent h1{margin-bottom:0;font-size:clamp(2.4rem,8.8vh,4.35rem);line-height:.9}.agentCard{gap:14px;padding:18px}textarea{min-height:128px}.submitBar{min-height:56px}}@media (max-height:700px){.heroContent{padding-top:max(12px, env(safe-area-inset-top));gap:11px;padding-bottom:18px}.heroContent h1{font-size:clamp(2rem,8.2vh,3.25rem)}.agentCard{gap:12px;padding:16px}.agentHeader strong{font-size:1rem}textarea{min-height:108px;padding:14px 15px}.exampleDrawer summary{padding:11px 14px}.submitBar{min-height:54px}.lyricsPromptText{height:clamp(150px,26vh,190px);max-height:clamp(150px,26vh,190px)}}
