/* The experiment browser shares a single source selection in both modes. */
.demo-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.trial-mode-row{display:flex;justify-content:center;margin:0 0 28px}
.trial-mode-switch{display:inline-flex;padding:4px;border:1px solid #d4d9e5;border-radius:30px;gap:3px;background:#ffffff70}
.trial-mode-switch button{font:inherit;font-size:14px;padding:9px 20px;border:0;border-radius:24px;background:transparent;color:#657087;cursor:pointer}
.trial-mode-switch button[aria-pressed=true]{background:#28292f;color:#fff;font-weight:600}
#real-experiments[data-trial-mode=multiple] .task-view>.task-photo,
#real-experiments[data-trial-mode=multiple] .task-view>.task-caption,
#real-experiments[data-trial-mode=multiple] .agent-log{display:none!important}
#multiple-trials[hidden]{display:none!important}
#multiple-trials{margin-top:24px}
.multiple-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px}
#real-experiments .multiple-heading h3{font-size:21px;line-height:1.35;font-weight:600;margin:0;letter-spacing:-.3px}
.multiple-count{font-size:13px;color:#788297;white-space:nowrap}
.multiple-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.multiple-controls button,.multiple-controls select{font:inherit;font-size:13px;border:1px solid #d4dbe7;border-radius:20px;background:#ffffff90;color:#4d5f79;padding:7px 13px;cursor:pointer;min-height:36px}
.multiple-controls [data-multi-play]{background:#6788ba;color:#fff;border-color:#6788ba;min-width:90px}
.multiple-controls label{font-size:13px;color:#6e7a90;margin-left:auto}
.multiple-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:22px 16px}
.multiple-tile{margin:0;flex:0 0 calc((100% - 32px)/3);min-width:0}
.multiple-media{position:relative;width:100%;background:#101114;overflow:hidden;border-radius:10px;aspect-ratio:16/9}
.multiple-media video{display:block;width:100%;height:100%;object-fit:contain}
.multiple-focus{position:absolute;right:8px;bottom:8px;width:28px;height:28px;border:1px solid #ffffff55;border-radius:50%;background:#11182765;color:#fff;display:grid;place-items:center;font-size:20px;padding:0;cursor:pointer}
.multiple-toggle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffffc0;border-radius:50%;background:#fffffff0;color:#3f4d68;box-shadow:0 2px 12px #0002;padding:0;cursor:pointer;transition:opacity .18s,background .18s}
.multiple-toggle svg{width:18px;height:18px;fill:currentColor}
.multiple-tile[data-playing=true] .multiple-toggle{opacity:0}
.multiple-tile[data-playing=true]:hover .multiple-toggle,.multiple-toggle:focus-visible{opacity:1}
.multiple-toggle:hover{background:#fff}
.multiple-tile figcaption{display:flex;justify-content:space-between;gap:8px;font-size:13px;line-height:1.5;color:#4f5d74;margin-top:8px}
.multiple-state{font-size:12px;color:#7c899c}
.multiple-status{font-size:13px;line-height:1.5;color:#6f7b8e;margin:14px 0 0;min-height:0}
.multiple-status:empty{display:none}
#trial-focus-dialog{border:1px solid #d9dfea;border-radius:18px;padding:22px;background:#fafbfe;width:min(1000px,calc(100vw - 40px));max-width:calc(100vw - 24px);max-height:90dvh;box-sizing:border-box;color:#303744}
#trial-focus-dialog::backdrop{background:#151d2b85;backdrop-filter:blur(5px)}
.trial-focus-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
#trial-focus-dialog h3{font-size:18px;line-height:1.4;font-weight:600;margin:0}
#trial-focus-dialog button{border:1px solid #d4dbe7;background:transparent;font:inherit;font-size:13px;border-radius:20px;padding:7px 14px;color:#4d5f79;cursor:pointer}
#trial-focus-dialog video{display:block;width:100%;max-height:70dvh;aspect-ratio:16/9;background:#101114;border-radius:8px}
@media(max-width:600px){
 .demo-actions{justify-content:flex-start;width:100%}
 .trial-mode-row{margin-bottom:20px}
 .trial-mode-switch button{font-size:13px;padding:9px 14px}
 .multiple-heading{flex-wrap:wrap;gap:4px}
 #real-experiments .multiple-heading h3{font-size:18px}
 .multiple-grid{gap:18px 10px}
 .multiple-tile{flex-basis:calc((100% - 10px)/2)}
 .multiple-focus{font-size:16px;width:24px;height:24px;right:5px;bottom:5px}
 .multiple-toggle{width:36px;height:36px}
 .multiple-toggle svg{width:15px;height:15px}
 .multiple-controls{gap:6px}
 .multiple-controls button,.multiple-controls select{padding:7px 10px}
 .multiple-tile figcaption{font-size:12px;flex-wrap:wrap;gap:0 4px}
 #trial-focus-dialog{padding:14px}
 #trial-focus-dialog h3{font-size:16px}
}
/* Translucent-looking bevel and a slow left-to-right reflection in our palette. */
body.edition-two .hero h1.hero-title-depth{position:relative;isolation:isolate;background:none;color:#6889bf}
body.edition-two .hero-title-depth .hero-title-face{position:relative;z-index:1;display:block;background:linear-gradient(180deg,#ffffff55 0%,#ffffff08 42%,#ffffff20 55%,#ffffff00 85%),linear-gradient(100deg,#649bdd 0%,#909ce0 52%,#b18bd9 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;-webkit-text-stroke:.35px #ffffff66}
body.edition-two .hero-title-depth .hero-title-edge{position:absolute;inset:0;z-index:0;display:block;background:linear-gradient(100deg,#7198ce77,#a58ac177);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;pointer-events:none;transform:translateY(1.4px);text-shadow:none;filter:drop-shadow(0 3px 5px #7291c012)}
body.edition-two .hero-title-depth .hero-title-sheen{position:absolute;inset:0;z-index:2;display:block;pointer-events:none;background:linear-gradient(105deg,transparent 42%,#ffffff0d 46%,#ffffff47 49%,#ffffff73 50%,#ffffff3d 51%,#ffffff07 55%,transparent 59%) 110% 0/260% 100% no-repeat;background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;opacity:0;animation:title-light-pass 14s ease-in-out infinite}
body.edition-two .hero-title-depth.title-light-paused .hero-title-sheen{animation-play-state:paused}
@keyframes title-light-pass{0%,10%{background-position:110% 0;opacity:0}16%{opacity:1}72%{background-position:-10% 0;opacity:1}80%,100%{background-position:-10% 0;opacity:0}}
@media(prefers-reduced-motion:reduce){body.edition-two .hero-title-depth .hero-title-sheen{animation:none;display:none}}
