/* A self-contained, viewport-sized browsing surface. */
body:has(.aoi-stream){margin:0;background:#111b19;color:#edf1e8;overflow:hidden}
body:has(.aoi-stream) .wp-site-blocks{padding:0!important;margin:0!important}
.aoi-stream{--ink:#edf1e8;--dim:#aebfb4;--line:#34443d;--accent:#d5ef94;--paper:#15211d;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#111b19;height:100dvh;min-height:420px;display:flex;flex-direction:column;margin:0!important;max-width:none!important;isolation:isolate}
body.admin-bar .aoi-stream{height:calc(100dvh - 32px)}
.aoi-stream *{box-sizing:border-box}.aoi-stream [hidden]{display:none!important}.aoi-stream button,.aoi-stream select,.aoi-stream input{font:inherit}.aoi-stream button,.aoi-stream select{color:var(--ink);background:#23332b;border:1px solid #526153;border-radius:8px;min-height:38px;padding:7px 12px;cursor:pointer}.aoi-stream button:hover{background:#354b39}.aoi-stream a{color:inherit;text-decoration:none}.aoi-stream a:hover{text-decoration:underline}.aoi-stream :focus-visible{outline:3px solid var(--accent);outline-offset:3px}.aoi-stream p,.aoi-stream h1,.aoi-stream h2{margin:0}.aoi-stream button[aria-pressed=true]{background:var(--accent);color:#15211d}
.stream-header{display:flex;align-items:center;gap:16px;padding:9px 20px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,#111b19 30%,#111b19e8 62%,#111b19c9),url("https://art-of-ai.com/wp-content/uploads/aoi-art-stream-banner-20261004-768x256.png") right center/auto 210px no-repeat;flex-shrink:0}.stream-brand{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800;letter-spacing:.08em;color:var(--accent)!important}.stream-brand img{width:36px;height:36px;object-fit:cover;border-radius:7px;border:1px solid #8c9c70}.stream-heading{border-left:1px solid #4a594c;padding-left:16px;white-space:nowrap}.stream-eyebrow{font-size:9px;letter-spacing:.2em;font-weight:750;color:var(--dim)}.stream-heading h1{font:500 27px/1.1 Georgia,serif;letter-spacing:-.7px}.stream-heading h1 span{color:var(--accent)}.stream-intro{font:italic 14px/1.5 Georgia,serif;color:#c5d0c4}.stream-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.stream-actions button{font-size:12px;white-space:nowrap;min-height:36px;padding:6px 10px}.stream-favorites-toggle span{display:inline-block;margin-left:4px;border-radius:50%;background:#142019;min-width:20px;color:var(--accent)}
.stream-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:9px 20px;background:#17241f;border-bottom:1px solid var(--line)}.stream-controls label{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--dim);font-size:12px}.stream-play{min-width:120px;background:var(--accent)!important;color:#17211a!important;font-weight:700!important}.stream-search{flex:1;min-width:180px}.stream-search input{width:100%;min-width:120px;background:#0e1914;color:var(--ink);border:1px solid #425246;border-radius:8px;padding:8px 12px;min-height:38px}.stream-search input::placeholder{color:#a9b7ad}.stream-speed input{width:76px;accent-color:var(--accent)}.stream-speed span{font-size:10px;min-width:33px}
.stream-workspace{display:flex;flex:1;min-height:0}.stream-stage{position:relative;flex:1;min-width:0}.stream-viewport{height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#6d7b64 #111b19;overflow-anchor:none;overscroll-behavior-y:contain;touch-action:pan-y;position:relative}.stream-canvas{position:relative;width:100%;overflow:hidden}.stream-tile{position:absolute;padding:0 4px 8px;will-change:auto}.stream-tile-inner{height:100%;position:relative;border-radius:6px;overflow:hidden;background:#23352e}.stream-open{display:block;width:100%;height:100%;padding:0!important;border:0!important;border-radius:0!important;position:relative;overflow:hidden;text-align:left;background:#263b30!important}.stream-open img{width:100%;height:100%;object-fit:cover;display:block;opacity:.92;transition:transform .35s,opacity .35s}.stream-open:hover img,.stream-open:focus-visible img{transform:scale(1.06);opacity:1}.stream-title{position:absolute;bottom:0;left:0;right:0;padding:36px 12px 11px;background:linear-gradient(transparent,rgba(4,14,9,.85));font:550 13px/1.2 system-ui;color:#fff;text-shadow:0 1px 3px #000;pointer-events:none}.stream-star{position:absolute;top:8px;right:8px;z-index:1;min-width:32px;min-height:32px!important;padding:3px 6px!important;background:#0e1a13d9!important;border:1px solid #b7c5b866!important;font-size:20px!important;line-height:1!important}.stream-star[aria-pressed=true]{color:#dbf3a6!important}.stream-initial{display:grid;place-items:center;height:100%;font:70px Georgia,serif;color:#779e85;background:radial-gradient(at top left,#335940,#182d25)}
.stream-edge{position:absolute;left:0;right:12px;height:46px;pointer-events:none;z-index:2}.stream-edge-top{top:0;background:linear-gradient(#111b19,transparent)}.stream-edge-bottom{bottom:0;background:linear-gradient(transparent,#111b19)}.stream-empty{position:absolute;inset:35% 20px auto;text-align:center;color:var(--dim)}
.stream-favorites{width:280px;flex-shrink:0;border-left:1px solid var(--line);padding:22px 18px;background:#1b2a22;overflow-y:auto}.stream-favorites-heading{display:flex;align-items:center;justify-content:space-between}.stream-favorites-heading h2{font:28px Georgia,serif}.stream-favorites-heading button{font-size:22px;padding:0 10px}.stream-save-note{display:block;color:var(--dim);font-size:11px;margin:12px 0!important}.stream-favorite{display:grid;grid-template-columns:64px 1fr 30px;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line)}.stream-favorite img{width:64px;height:56px;object-fit:cover;border-radius:4px}.stream-favorite a{font-size:12px;line-height:1.3}.stream-favorite button{padding:0;min-height:30px;font-size:19px}.stream-favorite-empty{color:var(--dim);font:italic 17px/1.6 Georgia,serif;padding:30px 0}.stream-footer{display:flex;justify-content:space-between;gap:12px;padding:10px 30px;border-top:1px solid var(--line);font-size:10px;color:var(--dim)}.stream-footer a{color:var(--accent)}
.stream-inspector{position:fixed;inset:auto;margin:0;width:380px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:0;overflow:auto;color:var(--ink);border:1px solid #92a180;border-radius:12px;background:#1b2b23;box-shadow:0 18px 70px #000b;z-index:100001}.stream-inspector::backdrop{background:#07110bc9;backdrop-filter:blur(5px)}.stream-inspector[data-modal=true]{inset:0;margin:auto;width:650px}.stream-inspector>img{display:block;width:100%;max-height:42dvh;object-fit:contain;background:#0c1510;min-height:150px}.stream-preview-close{position:absolute;right:10px;top:10px;border-radius:50%!important;background:#0c1814e8!important;min-width:36px;font-size:22px!important;z-index:1}.stream-preview-copy{padding:22px}.stream-preview-copy h2{font:28px/1.15 Georgia,serif;margin:7px 0 13px}.stream-preview-copy>p:not(.stream-eyebrow){font-size:13px;color:#ccd7cd;max-height:115px;overflow-y:auto}.stream-preview-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:18px}.stream-preview-actions a{font-size:12px;color:var(--accent);font-weight:650}.stream-fallback{padding:30px;overflow:auto}.stream-sr{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.stream-header,.stream-controls{padding-left:28px;padding-right:28px}.stream-favorites{width:320px}}
@media(max-width:1000px){.stream-intro{display:none}.stream-controls{gap:9px}.stream-speed span{display:none}.stream-speed input{width:58px}.stream-favorites{width:240px}}
@media(max-width:700px){.aoi-stream{min-height:360px}.stream-header{padding:8px 12px;gap:10px;flex-wrap:wrap}.stream-brand{font-size:11px}.stream-brand img{width:28px;height:28px}.stream-heading{padding-left:10px}.stream-heading h1{font-size:24px}.stream-eyebrow{font-size:8px;letter-spacing:.13em}.stream-actions{width:100%;justify-content:flex-end;gap:6px}.stream-actions button{font-size:11px;min-height:32px;padding:5px 8px}.stream-play{min-width:110px;margin-right:auto}.stream-controls{flex-wrap:wrap;padding:8px 12px;gap:8px}.stream-search{flex-basis:100%}.stream-controls label{font-size:11px}.stream-controls select{min-height:30px;padding:3px 8px}.stream-controls>button:last-child{margin-left:auto;min-height:30px;padding:3px 9px;font-size:11px}.stream-speed input{width:60px}.stream-hint{display:none}.stream-footer{padding:9px 12px;font-size:9px}.stream-favorites{position:absolute;right:0;top:0;bottom:0;z-index:4;width:min(300px,86vw);box-shadow:-20px 0 60px #0008}.stream-workspace{position:relative}.stream-title{font-size:11px;padding:32px 9px 10px}.stream-star{top:6px;right:6px}}
@media(max-width:782px){body.admin-bar .aoi-stream{height:calc(100dvh - 46px)}}
@media(prefers-reduced-motion:reduce){.stream-open img{transition:none}.stream-edge{display:none}}

/* Compact navigation, help and a once-dismissed favorites cue. */
.stream-home{display:flex;flex-shrink:0;border-radius:50%;border:1px solid #81916b;padding:2px;background:#edf1e8;box-shadow:0 0 12px #a4bf7c22}.stream-home img{display:block;width:32px;height:32px;border-radius:50%;object-fit:contain}.stream-help-toggle{border-radius:50%!important;min-width:34px;padding:4px!important;font-weight:750!important;color:var(--accent)!important}.stream-favorites-notice{border-color:var(--accent)!important;box-shadow:0 0 13px #d5ef9466;animation:stream-favorite-glow 2.8s ease-in-out infinite}@keyframes stream-favorite-glow{50%{box-shadow:0 0 20px #d5ef94a0;background:#3b5034}}
.stream-help{inset:0;margin:auto;width:600px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:1px solid #82956e;border-radius:16px;background:#19291f;color:var(--ink);box-shadow:0 24px 90px #000a}.stream-help::backdrop{background:#07110bc9;backdrop-filter:blur(5px)}.stream-help-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.stream-help-heading h2{font:30px/1.15 Georgia,serif;margin:6px 0 18px}.stream-help-heading button{font-size:22px;min-width:38px}.stream-help>p,.stream-help dd{color:#c7d3c7;font-size:13px}.stream-help dt{color:var(--accent);font-weight:700;margin-top:17px}.stream-help dd{margin:4px 0 0;line-height:1.6}.stream-help-links{display:flex;gap:20px;border-top:1px solid var(--line);padding-top:16px;margin-top:20px!important}.stream-help-links a{color:var(--accent)}
@media(max-width:1100px){.stream-intro{display:none}.stream-controls{gap:9px}.stream-sort select{max-width:140px}}
@media(max-width:700px){.stream-home img{width:26px;height:26px}.stream-brand img{display:none}.stream-header{gap:8px}.stream-help-toggle{margin-left:auto;order:0;min-height:30px!important;min-width:30px}.stream-actions{order:1}.stream-sort{margin-right:auto}.stream-help{padding:20px}.stream-help-heading h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){.stream-favorites-notice{animation:none}}

/* Four image-motion directions and an image-only viewing mode. */
.stream-max input{width:72px;background:#0e1914;color:var(--ink);border:1px solid #425246;border-radius:7px;padding:6px;min-height:34px}
.stream-horizontal .stream-viewport{overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior:contain;direction:ltr}
.stream-horizontal .stream-edge{top:0;bottom:12px;width:46px;height:auto;right:auto}
.stream-horizontal .stream-edge-top{left:0;background:linear-gradient(90deg,#111b19,transparent)}
.stream-horizontal .stream-edge-bottom{left:auto;right:0;background:linear-gradient(90deg,transparent,#111b19)}
.aoi-stream.stream-immersive{position:fixed;inset:0;z-index:999999;height:100dvh!important;min-height:0;width:100vw}
.stream-immersive .stream-header{display:contents}
.stream-immersive .stream-header>:not(.stream-home),.stream-immersive .stream-controls,.stream-immersive .stream-footer,.stream-immersive .stream-favorites{display:none!important}
.stream-immersive .stream-home{position:absolute;left:max(12px,env(safe-area-inset-left));top:max(12px,env(safe-area-inset-top));z-index:6;box-shadow:0 2px 16px #0009}
.stream-menu-restore{position:absolute;right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));z-index:6;font-size:12px!important;background:#142019b8!important;backdrop-filter:blur(8px);opacity:.7;min-height:40px!important}
.stream-menu-restore:hover,.stream-menu-restore:focus-visible{opacity:1}
@media(max-width:700px){.stream-actions{flex-wrap:wrap}.stream-controls{max-height:42dvh;overflow:auto}.stream-max input{width:66px}.stream-immersive .stream-home img{width:32px;height:32px}}

.stream-immersive .stream-title,.stream-immersive .stream-star{display:none!important}

/* Quiet icon toolbar and an independent image-only presentation preference. */
.stream-heading{flex:1;min-width:0;white-space:normal}.stream-heading h1{font-size:clamp(17px,1.8vw,25px);line-height:1.25;letter-spacing:-.35px;text-wrap:balance}
.stream-actions{flex-shrink:0}.aoi-stream [data-play],.aoi-stream [data-immersive],.aoi-stream [data-controls-toggle],.aoi-stream [data-reverse],.aoi-stream [data-shuffle],.aoi-stream [data-menu-restore]{width:40px;min-width:40px;height:40px;min-height:40px;padding:0;font-size:21px;line-height:1;margin:0;display:inline-grid;place-items:center}
.aoi-stream [data-controls-toggle][aria-expanded=true]{border-color:var(--accent);color:var(--accent)}
.stream-simple .stream-title,.stream-simple .stream-star{display:none!important}
.stream-controls{gap:9px}.stream-speed input{width:90px}.stream-controls select{min-height:38px}
@media(max-width:700px){.stream-heading h1{font-size:17px}.stream-header{gap:8px}.stream-brand{display:none}.stream-actions{width:auto;flex:1;justify-content:flex-end;order:1}.stream-help-toggle{order:2}.stream-controls>button:last-child{margin:0}.stream-speed input{width:75px}.stream-sort{margin:0}}
@media(max-width:700px){.stream-heading{flex-basis:calc(100% - 48px)}.stream-actions{justify-content:flex-start}.stream-heading h1{text-wrap:pretty}}
