:root{color-scheme:dark;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#081525;color:#eef5fc;line-height:1.6}*{box-sizing:border-box}body{margin:0}a{color:#80e4d5;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,.button{background:#80e4d5;color:#062a2b;border:1px solid #80e4d5;border-radius:9px;padding:11px 16px;font-weight:650;cursor:pointer;text-decoration:none;display:inline-block}button:disabled{opacity:.5;cursor:not-allowed}.secondary{background:#142c43;color:#edf6ff;border-color:#506a82}header,footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px max(24px,calc((100% - 1200px)/2));border-bottom:1px solid #30465c}nav,footer{display:flex;gap:22px;flex-wrap:wrap}nav a,footer a{font-size:.95rem}.brand{display:flex;align-items:center;gap:12px;color:#fff;font-weight:750;font-size:1.25rem;text-decoration:none}main{max-width:1200px;margin:auto;padding:0 24px}.hero{padding:65px 0 48px;max-width:850px}.hero h1{font-size:clamp(2.6rem,6vw,4.8rem);line-height:1.1;letter-spacing:-.045em;margin:18px 0 24px}.hero h1 span{color:#80e4d5}.hero>p:not(.eyebrow){max-width:660px}.hero-links,.actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px}.eyebrow{color:#80e4d5;font-size:.875rem;font-weight:700;letter-spacing:.1em}.note{color:#b4c7d9;font-size:.9rem}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:28px}form,.output{background:#102237;border:1px solid #3a5068;border-radius:18px;padding:24px;min-width:0}h2{font-size:1.6rem;line-height:1.25}fieldset{border:0;border-top:1px solid #3a5068;padding:20px 0 12px;margin:24px 0}legend{font-size:1.1rem;font-weight:750;padding-right:12px}label{display:block;margin:16px 0 6px}input:not([type=checkbox]),select,textarea{width:100%;background:#091727;color:#f1f7ff;border:1px solid #60758b;border-radius:8px;padding:11px;min-height:46px;max-width:100%}textarea{resize:vertical}#prompt{font-family:ui-monospace,monospace;font-size:.95rem;min-height:480px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.checks{display:flex;gap:12px;flex-wrap:wrap}.checks label{margin:0;padding:8px}.checks input{width:18px;height:18px;vertical-align:middle}#error{color:#ffb5b5}#error:empty{display:none}#status{min-height:1.6em;color:#80e4d5}.output{position:sticky;top:20px}.actions{margin-top:16px}#styles{padding:64px 0 20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.style-card{border:1px solid #3a5068;border-radius:14px;padding:18px;background:#102237;display:flex;flex-direction:column}.style-card h3{font-size:1.1rem;margin:18px 0 4px}.style-card p{margin:8px 0}.style-card button{margin-top:auto;text-align:left}.concept{height:120px;background:#091727;border-radius:8px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px}.concept i{display:block;width:32px;height:48px;background:#80e4d5;transform:skewY(-15deg);animation:rise 3s ease-in-out infinite alternate;animation-play-state:paused}.concept i:nth-child(2){animation-delay:-.7s;height:70px}.concept i:nth-child(3){animation-delay:-1.4s;height:55px}.concept i:nth-child(4){animation-delay:-2s;height:35px}.family-1 i{border-radius:50%;background:#c7a7ff;transform:rotate(-20deg)}.family-2 i{background:transparent;border:2px solid #8cc5ff;transform:rotate(30deg)}.family-3 i{width:15px;height:15px!important;border-radius:50%;background:#f4c56d;box-shadow:12px 25px 0 #f4c56d55,-10px -25px 0 #f4c56d55}.playing .concept i{animation-play-state:running}.about{padding:28px 0 48px;max-width:850px}footer{border-top:1px solid #30465c;border-bottom:0}.skip{position:absolute;top:-100px;background:#fff;color:#081525;padding:12px;z-index:20}.skip:focus{top:8px}:focus-visible{outline:3px solid #ffd487;outline-offset:4px}@keyframes rise{to{translate:0 -18px;rotate:12deg}}@media(max-width:850px){.layout{grid-template-columns:1fr}.output{position:static}.gallery{grid-template-columns:1fr 1fr}header{align-items:flex-start;flex-direction:column}.hero{padding-top:36px}}@media(max-width:520px){main{padding:0 16px}header,footer{padding:20px 16px}nav{gap:10px 18px}.gallery,.pair{grid-template-columns:1fr}form,.output{padding:18px}.section-head{align-items:flex-start;flex-direction:column}#prompt{min-height:360px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}

/* Individually rendered technique previews; videos load only after Play. */
.rendered-preview{position:relative;aspect-ratio:16/9;border-radius:9px;overflow:hidden;background:#091727;margin:-18px -18px 0}.rendered-preview img,.rendered-preview video{display:block;width:100%;height:100%;object-fit:cover}.rendered-preview img[hidden]{display:none}.style-card .preview-play{position:absolute;left:12px;bottom:12px;background:#071727ed;color:#fff;border-color:#a2dacf;font-size:.875rem;padding:8px 12px}.style-card .preview-play:hover{background:#23534f}.preview-error{padding:12px;font-size:.875rem;color:#fff}.style-card{overflow:hidden}.style-card>button{margin-top:auto}
